Installing MySQL-Python on OS X Yosemite

Installing the MySQL-Python package requires a few steps. In an effort to aid future Internet travellers, this post will document how to install the MySQL-Python package on OS X Yosemite. First, install MariaDB, the drop-in replacement for MySQL. I chose MacPorts for this task, though Homebrew would work just fine. Second, update your PATH to include the mariadb executables. Third, install the Python MySQL connector. sudo port install mariadb PATH=/opt/local/lib/mariadb/bin:$PATH pip install MySQL-Python That’s it!...

November 18, 2014 · 1 min · Kevin Sookocheff

Downloading directories of code from Github using the Github API

At VendAsta we frequently share libraries of code between projects. To make it easier to share this code I’ve developed a small package manager that downloads code within a directory from Github to be copied in to your current project. It’s a quick and dirty alternative to cloning an entire repository, grabbing the set of files you want and placing them in your project. ...

June 17, 2014 · 4 min · Kevin Sookocheff

Safely remove the header from the WordPress TwentyTen theme

WordPress’ new TwentyTen theme is terrific. Well supported, highly modifiable, and with tons of widgets to get the exact layout you desire right out of the box. However, one thing I didn’t like too much was having a big header image on the page. I’m a bit of a minimalist so I wanted to trim down the theme by removing the banner image and the navigation bar. ...

January 18, 2011 · 3 min · Kevin Sookocheff

Readability by Arc90

According to Wikipedia, readability is defined as reading ease, especially as it results from a writing style. Only experience, practice, and hard work can improve a person’s writing style. Let’s increase readability in a different manner: with typography. ...

September 4, 2010 · 1 min · Kevin Sookocheff