Archives by date
You are browsing the site archives by date.
By Steve on November 5, 2012
I find that I’m increasingly disturbed each time I log in to Facebook. It’s not that I don’t like keeping in touch with my friends, because I do, but because the veneer of staying up to date slips with each update that I read. Tragically enough, I find myself missing the days when my closest […]
By Steve on August 8, 2012
I’m running through a bunch of examples and exercises in C++ Primer Plus and I needed a way to remove my compiled scripts from my folder. Attached is a python script which will recursively remove all compiled files from a folder tree. import os count = 0; for (path, dirs, files) in os.walk(os.getcwd()): for file […]
By Steve on June 2, 2012
Here’s a quick process for adding ON DELETE CASCADE to your foreign key constraints in mySQL. You will need to drop the foreign key constraint and re-institute it. use SHOW CREATE TABLE [table_name];, where table_name is your table identify the name of the foreign key(s). They usually end with _ibfk_ plus a number Drop the […]
By Steve on April 4, 2012
Funny story – I was approached to be in this web series because the actor who was slated to play Phil quit. As it turns out, my friends needed someone to play a total jerk and “everyone thought of me.” Brilliant.
By Steve on March 21, 2012
Before it become apparent that google+ was a veritable ghost town, I thought that the concept of circles was a pretty neat idea. Rather than take the Facebook approach and make your post visible to everyone, you were encouraged to kind of whitelist your post to relevant circles (though you could still scream out into […]