Posted by & filed under Linux.

After moving to my new apartment, it was time to dust off the old Linksys router I had lying around. This thing has been hacked to run the latest DD-WRT that it could handle. My network address changes occasionally, and I didn’t want to setup any dyndns accounts to keep track of the IP and… Read more »

Posted by & filed under PHP.

<?php /** * This class will safely parse complex objects or arrays with possible missing keys * * Usage: obj::query($obj, ‘dot.separated.syntax’); */ class obj { /** * Parse the provided object * * @param $object mixed The complex object you’re going to parse * @param $path string The dot separated path you would like to… Read more »

Posted by & filed under NoSQL.

These are my notes for the talk I’m giving today on PHP and MongoDB. Example PHP script for communicating with MongoDB: #!/usr/bin/env php <?php // Instantiate the Mongo client $m = new MongoClient(); // Connect to a database. If it doesn’t exist, it will be created $db = $m->example; // Point to a collection within… Read more »

Posted by & filed under Personal.

If you know me, you know that I’m not a big fan of recruiters. Particularly, recruiters who take the shotgun approach to finding candidates by sending the same copied-and-pasted email to hundreds of potential applicants. I know that these are copied-and-pasted, because my various email accounts will get the exact same email sent minutes apart…. Read more »

Posted by & filed under Personal.

Growing up I had a slight case of Synesthesia and would strongly associate colors with numbers. Sevens were Yellow, Fours were Orange, and Eights were Black. Other numbers had colors too, but the association wasn’t as strong. I also only had colors for the different digits, I didn’t see big numbers as their own colors, but… Read more »