sispmctl on macos (aka tale of a ikea lamp)

Nikolaus Gradwohl2009-04-19T10:32:00+00:00

i just installed a little ikea lamp on my wife's desk. no problem so far, the only thing that's really wierd is that the switch of the lamp is next to the power supply. to use it she would have to crawl under the desk and use the switch :-( - NSF

hopen-lamp

therefore i installed a sis-pm silvershield from gembird (which has 4 sockets that are switchabel via usb) and sispmctl and wrote a simple applescript program. now she can simply click on the script in the menu to turn the litght on/off :-)

read more ...

dns cache flushing on a mac

Nikolaus Gradwohl2008-11-05T21:06:00+00:00

If you ever have to change a dns-entry and wonder for hours and hours why the changes don't appear on your mac (as you may have noticed, this article has a little autobiographic touch) - try flushing your dns cache

sudo dscacheutil -flushcache

should do the trick on leopard

read more ...