Thanks to my associate Tonu Vanatalu for this. He wrote it in response to some brainstorming we did in my larger team about common code patterns in Windows Store apps. It’s written in C#, but …
Artifactory - Unused artifacts cleanup client
Artifactory is a great Repository Manager. However over time a lit of unused artifacts can get cluttered and the opensource edition does not offer a plugin to clear these. The Pro version offers these and for those who can they should upgrade.
For those with the opensource edition, the solution is to fire up a few groovy scripts to use the REST API to delete.
I have instead published a .Net client that provides a minimal UI to search for artifacts, select and delete them and also clear out the Empty folders in a repository. Pick it up from Git here: https://github.com/ssrini/artifactory-cleanup-client
OS X Mavericks is very good at handling multiple displays. Any active display can have a Menu Bar now. But how do you get the dock to actually appear on the active display? John Martellaro has the answer.
Simple tip lucidly explained. Solved a pain for me in seconds!
The best Finder enhancement!
Finder replacements are a common hunt especially for people who convert from Windows to Mac. Compared to Windows Explorer, Finder misses some real basic features. The biggest grouse is of course searching for that elusive Finder window to copy the document to. And where is Cut/Paste? Its hidden under copy and paste with Alt modifier!
But this can all be a thing of the past with Total Finder, a Finder plugin. The best part of TF is of course that it does not “replace” finder but “enhances” it. Notable additions are:
1. Tabbed (No need to search for that window again :)
2. Folders appear first in sort (bless you)
3. Straight forward Cut/Copy/Paste options.
4. System Wide Visor hot key to open a Finder window from wherever you are.
Best of all its FAST wihtou adding any appreciable overhead to Finder. And since its part of Finder all “Show in finder” menu clicks from any app will still give you access to the enhanced Finder.
In my view enhancing Finder with TF is way better then paying for a Finder replacement. Don’t know why Apple can’t just integrate TF into Finder.
Head out to http://totalfinder.binaryage.com/ to get your copy now.
How to include a network folder into a Windows 8 Library (not indexed)
When you try to include a network folder into a Windows 8 library, the system fails with the error that a Network folder which is not indexed cannot be added.
Here is a simple workaround:
1. Create a dummy folder to share (for eg. c:\documents\share)
2. Create a library Share and include the folder above
3. Now open an elevated command prompt and switch to the c:\documents folder
4. rmdir share (remember share is an empty folder)
5. Now create a symlink to the network folder and call it the same name. For eg:
mklink /d c:\documents\share \psf\Home\Documents\SharedFiles
6. Now open Explorer and click on the library called Share and your network folder will be shown!
PS: I use the above to access my folders on the Mac in a Parallels Windows 8 VM to keep the files used by the VM also on the Mac to make it easier to backup.
Mountain Lion complains about missing Java although Java 7 is installed
Mountain Lion does not have Java installed. You can download and install it from the Oracle site: http://www.oracle.com/technetwork/java/javase/downloads/index.html
After installing the Java runtime, open a terminal window and type java -version. In all probability you will see the following:
java version “1.7.0_10”
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
Try running some Java programs like Eclipse and you may find a message popping up “To open “Program Name,” you need a Java SE 6 runtime. Would you like to install one now?”. This is strange since Java was just successfully installed.
This is due to the fact that Mountain Lion still “thinks” Java is not installed as it looks for 1.6. Its easy to “trick” the system: Depending on the update of Java installed a Symlink for that folder needs to be created. Execute the following command:
sudo mkdir /System/Library/Java/JavaVirtualMachines
sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
This establishes a symlink from 1.6 to 1.7 and tricks the OS into thinking that Java is installed. All java programs should now execute.
Note: The problem I had was specifically to do with SAP GUI for Mac OS not running after installation.
iTools - Remote display your iPad on your laptop for sharing
iTools is a real nifty tool to display the live screen of your iPad (and other iOS devices) on to your Windows PC/Laptop or your Mac. This will set you free in displaying the iPad screen on projectors, Web meetings etc.
Download here: http://itools.hk/cms/webpage30.htm
Version for both Windows and Mac available. No installation required, just download and run! Additionally the application also allows to browse application storage, retrieve crash logs etc.
Real neat tool!
This post is for you if after install, your Windows 8 tiles do nothing
As described in a different post my Windows 8 upgrade itself was flawless. After spending quite some time in the desktop to make sure all my programs worked, I got down to customizing the Tiles.
Unfortunately every click on a tile just opened it up and after a few seconds the tile just closed. Googling got me the answer that I was looking for!
Avast (in mine and many other cases) was the problem. Unfortunately neither the Windows 8 upgrade checker nor the actual upgrade reported any incompatibility between Avast 2012 and Windows 8.
I uninstalled Avast and the tiles started doing their magic! Sweet.
Windows 8 upgrade from Windows 7 flawless
With great skepticism I started the upgrade of a spare HP laptop running Windows 7.
1. The initial start took a few minutes and I was asked for a product key followed by a lengthy “Making sure you are ready to install” step.
2. I was then asked if I wanted to keep my settings and apps to which I answered Yes.
3. For a fairly long time the installer ran (within Windows 7) and finally restarted the laptop.
4. Then multiple restarts happened with different status messages. Each step lasted 10 to 15 minutes.
5. Finally there was a moving settings step that ran for a few minutes again.
6. I was then asked to select a color for Windows 8 and a couple of other customization’s was then logged in.
Believe it or not all my programs and data was intact and I was in Windows 8!!!
The upgrade was smooth and unattended. Towards the end minimal questions and the system was smooth. Well done MS!
Scalr running out of disk space if sendmail not running!
Recently had another quirky issue with Scalr.
Scalr generates a lot of email notifications via the Cron jobs. On my instance I have sendmail turned off so that these email notifications don’t go out.
After running continuously for about 4 months, the Scalr instance started failing with an “Out of diskspace” error. This was very strange since there was still about 25GB free on the disk.
After checking all kinds of configurations and permissions, a google search yielded lack of inodes as a possible error!
A quick “df -i” confirmed the error, IUse% was 99 and there were a handful of inodes free! Tracing this back to find out where all the inodes had been consumed took longer. After a lot of hunting I ended up with the /var/spool/clientmqueue directory. An “ls” in this folder ended up with my terminal “hanging” as there were so many files created in that folder. Even an “rm -rf *” at the clientmqueue folder will not work and you will see the “Argument list too long” after some time.
Instead use the “find . -type f -print0 | xargs -0 rm” command in the /var/spool/clientmqueue folder. On my instance this command ran for a few hours due to the large number of files. (You may want to execute the command in the background in a screen command).
Once done the inode utilization fell to 7% and the system is again fine. In order to avoid future issues, I added a cron job to delete the files in the clientmqueue folder periodically.
Note: Scalr is a fantastic software that works great. This blog post only addresses one of the issues faced in running Scalr and has nothing to do with the Scalr software itself.