Monday, January 28, 2008

Auto-starting services on debian

Sometimes you have a need to have certain services on your machine start when your machine starts up. Here's an easy way to do it on Debian-based systems:
1. Create your startup script
2. Copy your startup script to /etc/init.d
3. Execute the following command to install the startup script:
sudo update-rc.d start-script-name defaults

That's it! Your startup script gets run every time your machine boots up.

Monday, January 21, 2008

Higher-order functions in ActionScript

I am a total newbie to ActionScript with a bit of background in Erlang. So guess my excitement when I found out about higher-order functions in ActionScript. Digging in!