Category: Programming

  • OS X Mavericks and PyLibMC

    https://gist.github.com/tekton/9943256 brew install libmemcached easy_install pip pip install virtualenv virtualenv VENV source VENV/bin/activate export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments pip install pylibmc

  • VirtualBox Note To Self

    I make new VM’s all the time, and keep forgetting the commands to install guest addition: sudo apt-get install virtualbox-guest-additions sudo apt-get install virtualbox-guest-dkms

  • Sublime Text: Purchased!

    Previously I talked about how I was going to experiment with moving all of my text editing to Sublime Text; this has been completed. While I still have TextMate installed I only use it to keep a “pristine” copy opened when checking changes/versions, or copy-pasting information. The ease of having one editing platform on every…

  • TextMate (and several others) to Sublime

    Working on seeing if I can switch to Sublime Text on all platforms to make my life a little easier. So far on Linux and Windows is has held up well; OSX is a bit tricker as I still like TextMate and I’m just used to it visually for everything, which is more important than…

  • Django – Insensitive Case

    When using Django in Python there’s these awesome things called QuerySets that are a full blown ORM to make it so I don’t have to think in SQL to get things in and out of a database! One of the things I didn’t find documented very well was case sensitivity vs insensitivity. If you’re using…

  • Django: Basic Template Tags

    One of things I had the hardest time finding was a good example of Template Tags in Django; so here is my basic template tags file I add to every new project (GPLv2). A lot of people have their own, and I’m sure in the future I’ll add on to my basics; but for now…