Monday, April 25, 2011

How to collapse or expand notification bar in Android programatically

final StatusBarManager statusBar = (StatusBarManager)mContext.getSystemService(Context.STATUS_BAR_SERVICE);
statusBar.collapse();
statusBar.expand();



Monday, April 04, 2011

Time machine issue solved

I had issues with Time Machine backups. After some time while backing up Time Machine gave me a finger: ". . . an error occurred while copying files to the backup volume" and a suggestion to repair disk. Nothing the error message suggested worked. I repaired disk, verified it and even formatted. Until I tried this tip.



Sunday, April 03, 2011

I like this command

find . -type f -name "file_to_remove" -exec rm -f {} \;



finds a file by name or mask in current directory and recursively and deletes it :) From here.






Saturday, April 02, 2011