Posted by & filed under JavaScript.

A friend linked to this game the other day: Cookie Clicker It’s really simple. You click something over and over, and you buy upgrades, and then some automated processes happen in the background. Open your console, and paste in the following commands. They will allow you to play the game automatically. Notice the $$; this… Read more »

Posted by & filed under OS X.

I’m trying to make use of the latest version of ApacheBench (2.4.3) to perform some benchmarking against my local server. Unfortunately, it seems to be broke as hell. $ ab -n 100000 http://localhost:3000/analytics This is ApacheBench, Version 2.3 <$Revision: 1373084 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, Licensed to The Apache Software Foundation,… Read more »

Posted by & filed under Personal.

It would be illegal to tell the users of your web service that you have been subpoena’d by the NSA and forced to give access to private customer data. However, would it be illegal to create a blog post every single day saying that the service has never received a subpoena, then stop creating new… Read more »

Posted by & filed under Linux, OS X.

I use the following command to recursively download a bunch of files from a website to my local machine. It is great for working with open directories of files, e.g. those made available from the Apache web server. The following can be added to your .bash_profile or .bashrc script, depending on which your OS/distro recommends:… Read more »

Posted by & filed under Personal.

So, yeah, I wrote this book: Amazon: Instant Backbone.js Application Development Packt: Instant Backbone.js Application Development The process took a couple months, despite the relatively short length of the book. You wouldn’t believe how many times the book has to go back and forth between the publisher and the writer! I’ll have to write about… Read more »

Posted by & filed under Uncategorized.

Back in the day, The Oatmeal released their Tumblebeasts free to use for the world! And, after spending enough time on Google trying to find them and coming up with nothing, I figure I might as well make them available here! Download The Oatmeal Tumblebeasts

Posted by & filed under NoSQL, PHP, Redis.

Here’s the code and notes for a presentation I’m giving this Saturday on PHP and Redis: Even if you’re not going to presentation, feel free to check it out and give it a try. Redis is pretty simple to use and quite powerful once you get the hang of it.