Scott Swezey The more I learn, the less I know.

14Jul/101

Dear Jonathan Burdon (AKA J.BURDawg)

I decided it would be cool to steal some of Robin Williams content by linking you to it.

Update: The US government seems to think that they can arrest people for linking to copyrighted content, as if it were copyright infringement. Demand Progress is working hard to fight against this atrocity and could use your help to fight back. Please check out this link if you agree with myself and Demand Progress that linking to another website is not copyright infringement and is NOT an arrestable offense.

24Mar/100

Kickstarting mongrel with 503 errors.

So, I'm a total sucker for punishment, and thus I run a very small rails (mongrel) app on my website (shared host). Every once in a while, the mongrel app dies for some reason (server was rebooted, power loss, etc), and the PID file isn't removed. So I tried an experiment. I told apache to use a PHP file for 503 errors (Service Unavailable -- or what my users see when apache tries to rewrite to a mongrel that isn't there). Then I wrote setup the PHP file to try and start rails, and email me if it fails. Read below for all of the PHP code and shell files used.