Archive for November, 2007

One Line Mr. Splashy Pants Script (Ruby)

Someone commented how the Splashy Pants script could really be just one line. I take it he’s a Code Golfer.
Since I am adept at Ruby (not bash), here’s a Ruby one-liner to vote for Mr. Splashy Pants:

while true do; `curl -v -d “item_id=65&commit=SUBMIT+MY+VOTE” -e “http://www.greenpeace.org/international/campaigns/oceans/whaling/great-whale-trail/gwt-vote?MM_URL=linkfromsplashblog” -A “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET […]

13-Line Shell Script Votes for Mr. Splashy Pants 100s of Times

Sorry, Greenpeace, but apparently you may not have gotten the memo.
Apparently the weblog.greenpeace.org site is written in Rails?!? (Via curl: “Server: Mongrel 1.1″) Surely the method described below does not _actually_ submit 100s of counted votes!?!
Using my super 3r33t h@x0r skills, I spent 2 minutes writing a shell script that votes for our beloved […]

The Hopefully, Somewhat Definitive Article on How to Store User Password Hashes

This topic has already been beaten to death. But reading articles like this reminds me that still, there will always be people who are not aware of the implications of storing unsalted password hashes in a database.
I put this out there as my cumulative wisdom from over the years. If you have encountered […]

How the World of Startups is like the Boardgame Risk

TechCrunch just broke the news that MySpace is joining the OpenSocial coalition, allying itself with Google against Facebook.

How does this relate to Risk, you ask?
Well, it really relates to any Prisoner’s Dilemma situation, wherein parties have more to gain by collaborating than they do by attacking one another (at least at first). The boardgame […]