Archive for the 'Web Hacks' Category

Blog Comment Autofill Is Back (Greasemonkey Script)

My Blog Comment Autofill Greasemonkey script is back. (direct greasemonkey link)
In its first incarnation, you’d be on Digg, reddit, etc and the script would actually fill in your blog’s URL into the submission field!
Now, I check the meta generator tag, i.e. if you view source on this page you’ll see something like this in the […]

How to Upgrade WordPress across Multiple Blogs

First off, I keep my main WordPress installation in Subversion.
This does have the added drawback that all of my WP blogs will be out of date until I update my main WP Subversion trunk and svn up on the server(s). At the same time, updating X number of WordPress blogs by hand would be […]

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 […]