Dit is geen leuke blog als je geen nerd bent.
Lachen op het werk. Via ssh inloggen bij gebruikers (80% van mijn collegae werkt met apple) en dan via wacaw foto’s maken met hun webcam zonder dat ze het door hebben
Dit terwijl je via het say commando dramatische melodien over hun luidsprekers laat klinken.
Bijvoorbeeld:
sleep 60; osascript -e ‘say “oh This is a silly song silly song silly song this is the silliest song ive ever ever heard So why keep you listening listening listening while you are supposed to work to work to work to work its because i hate my job hate my job hate my job its because i hate my job more than anything else No its because youve no life youve no life youve no life and you better go get one after forwarding this crap” using “cellos”‘
Bovenstaande is gevonden op: macfidelity
Nu nog altijd op zoek naar het commando om via de commandline het geluid even op hard te zetten.
Gevonden! Inclusief een hele lijst met nog meer fun
sudo osascript -e “set Volume 9″
Deze bijvoorbeeld: sudo open /Applications/iTunes.app; sudo osascript -e ‘say “Play some music.
Go on. I dare you.” using “Zarvox”‘
Of deze:
sudo osascript -e ‘tell app “iTunes” to stop’ -e ‘say “Please stop playing
your annoying music” using “Zarvox”‘
Tot slot, misschien iTunes gewoon maar killen?
sudo osascript -e ‘tell app “iTunes” to quit’ -e ‘say “Please stop playing
your annoying music” using “Zarvox”‘
sudo open /Applications/*
sudo osascript -e ‘tell app “Finder” to sleep’
sudo open /tmp/bla.jpg
Note: niet dat ik dit in praktijk gebruik, maar het is wel leuk ter demonstratie van de linux cursus die ik ga geven op het werk.