Ask HN: What's the funniest thing you've done with code?
Well, I've been quite free in the last 24 hrs, and will be for the next 24. So, I'm thinking of pranks through programs [mmmmuuuuuuuaaahhhhhaahha...].
Give me some pranks!
Give me some pranks!
Simple and chuckleful... :p I like it...
Some of them I can remember
- Randomly eject CD drive. This was done in various formats like a background script running, aliased commands, etc.
- Alias 2 commands to each other (e.g. switch ls and cd)
- Switch key bindings
- Wallpaper switching
- Screensaver switching
You sir, deserve the Nobel prize...
So naturally I wrote a twitter bot that finds all normal smileys and adds the nose.
it is here if you want to see it in action
http://brislink.github.io/specter/
Go all the way down on the page.