How to install Redis on OS X

This is my setup of redis with OS X 10.9.2 Mavericks and requires brew.

brew install redis
Read More
Apr 4, 2014 1 min read

Working with JavaScript templates using jQuery

I picked up this nifty way of templating HTML code for JavaScript while working at Monkey Quest and haven’t looked back. The idea here is to separate your design from your code. This is particularly useful when you are adding content to your site after the initial rendering. Data can be fed in from a number of sources and added to a page using a template.

Read More
Apr 1, 2014 2 min read

First day at TMZ

Today marks day 1 of my journey at TMZ. There is an exciting energy in this environment. The first thing you notice is an open workspace where there is action going on every minute. (You probably already know that if you’ve watched the show before.) The technology is also very impressive. The team no doubt consists of nothing but A+ players. How else would TMZ have gotten to be so big in a short amount of time?
Read More
Apr 1, 2014 1 min read

How to upgrade to PHP 5.4 on Ubuntu 12.10

PHP 5.4 is not in the standard Ubuntu 12.10 repositories. We will use a backported version of PHP 5.4 by configuring a 3rd party PPA. Open a terminal and run the following commands:

Read More
Mar 31, 2014 1 min read

How to create a MongoDB ObjectID from a timestamp using PHP

This is a useful tidbit of code to have until PHP adds this feature into their MongoDB extension. I stumbled on an example on Stack Overflow illustration showing how to do this and rewrote it in what I think is a slightly more modern way that does the same thing.

Read More
Mar 31, 2014 2 min read

Just one of those days

I couldn’t help but notice how beautiful the weather was today while returning home from brunch. The sky was a perfect blue, the winds were fresh but warm, and the sun was casting amazing shadows from the trees. One of those perfect weather day’s that you would kick yourself for staying in. As soon as I got home I pulled my bike out from the garage, wiped the spiders off, pumped up the wheels, and rode away. I always forget how happy it makes me to go out for a bike ride until I’m actually riding. So glad I did. :D

Read More
Mar 30, 2014 1 min read

Hello world! ... Again.

I’ve decided to bring back my blog in order to share  technical notes and observations. I may carry over some content - particularly timeless posts - from my previous blog.  I’m hoping to begin a discussion on this blog, so don’t hesitate to comment on the posts.

Without further adieu, welcome to my blog and don’t let the door hit you on the way out. ;)

Sincerely, Me.

Read More
Mar 29, 2014 1 min read