Tuesday, July 29, 2008

Change OS X 10.5 Leopard Dock from 3D to 2D

a quick reminder for myself (because i'd rather like the two lines than downloading a software...)
defaults write com.apple.dock no-glass -boolean YES
killall Dock

references:

Monday, July 28, 2008

Flushing DNS Cache

mac os x:
lookupd -flushcache


win:
ipconfig /flushdns


linux:
/etc/init.d/ncsd restart

Thursday, July 17, 2008

flashplugin-nonfree on Debian GNU/Linux amd64

installation of flashplugin-nonfree resulted in:
*** NSPlugin Viewer *** preloader not found
nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-nonfree/libflashplayer.so
debugging went along the lines of
ldd /usr/lib/nspluginwrapper/i386/linux/npviewer.bin
and finding that some libs were missing...
(in between i also found that linux32 should be installed - but wasn't. strace -f was helpful...)
...what helped in the end:
aptitude install -t testing linux32 ia32-libs ia32-libs-gtk flashplugin-nonfree/unstable

references:
  1. https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/235946
  2. https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/182013

Monday, July 14, 2008

svn-finder integration for (very) basic use cases

was about to write some tiny scripts to get some basic svn commands integrated into Finder.app - luckily, came first across: http://svn-finder.sourceforge.net/

Tuesday, July 8, 2008

backup: notification instead of polling

realized that my machine needs an awful lot amount of time to walk through a directory to check whether anything has changed and, hence, need to go into a backup. instead, i thought, it would be neat to use e.g. inotify. 

current idea: use iwatch to monitor for file system events, record the files, feed the list to the backup...

- will keep you posted...

change language in "grammar and spelling" on OS X

in case you want to change the language in the "grammar and spelling" dialog box the short cut 
CMD+SHIFT+: comes very handy...

well, but then you are stuck with a floating windows - grab the mouse and change the setting. now,
CTRL+F6 comes handy - this should focus the floating window.

after the first switch the 
SHIFT+TAB comes handy to switch to the language field. when leaving the dialog box open, now, the language is pre selected...