What I'm Thinking

Git
1 June 2013

At my new job we use Git exclusively, while previously I had been using Mecurial. Even though I’d used Git for my projects hosted on Github.com, those are mainly personal projects, which did not require much collaboration with other developers. So the Git add/commit/push commands pretty much sufficed most of the time. But after a few weeks of using Git extensively at WFP where we make use of the Git Flow process, I must say I am really enjoying Git and grasping the branching aspect of things a lot better. ... Read More
This is how I setup my web servers on Rackspace. I make use of nginx and uWSGI where the websites make use of a few different frameworks, mainly Django, Flask, and plain static HTML sites. My preferred Linux distro is Arch Linux, so when setting up the server on Rackspace that is the distro I select and the rest of the instructions are applicable to that distro. Once the server has been created and is up and running, I update the system. ... Read More
This is how I setup my database servers on Rackspace. I make use of PostgreSQL. My preferred Linux distro is Arch Linux, so when setting up the server on Rackspace that is the distro I select and the rest of the instructions are applicable to that distro. Once the server has been created and is up and running, I update the system. See previous article on the steps I take to do that. ... Read More
This is how I setup my servers on Rackspace. My preferred Linux distro is Arch Linux, so when setting up the server on Rackspace that is the distro I select and the rest of the instructions are applicable to that distro. Once the server has been created and is up and running. These are the steps I go through to get the base system in place. update system pacman -Syu convert to systemd Currently Arch Linux still makes use of rc. ... Read More
Lately I have been setting up a number of servers running Arch Linux and have wanted to monitor them from a central Nagios/Icinga server and these are the steps I take to set these servers up as remote servers that Nagios/Icinga can check via NRPE. Thankfully things have gotten a lot simpler overtime and there are decent AUR packages that one can make use of. I’ve already converted these servers to be making use of systemd. ... Read More
I have resigned from CashStar and I am now contracting with World Food Programme (wfp.org). This is my attempt to do good in the world, for my work to have meaning and to be a positive effect on society or the world. All that feel good stuff. Granted I am not doing anything specifically that is having a profound effect on the world, or that I am not tackling some huge coding problem personally. ... Read More
I upgraded my rackspace server to the new generation version and made some slight changes to the nginx and uwsgi setup. The websites now make use of a slightly different nginx and uWSGI configuration setup. The main change is with the uWSGI files and I am making use of the Emperor configuration rather. This is the suggested method if one has a number of apps on a single server. ... Read More

Pycon Us 2013
20 March 2013

PyCon US 2013 was my first python conference and the experience was very interesting on a number of levels. The conference was in Santa Clara, CA this year, which is pretty much the epicenter of the start up world for programmers and software engineers. I had never been to the Santa Clara area before so it was nice to get a limited view of the area. Sadly I did not get to travel around the area much. ... Read More
These are the steps I went through to lock down a cPanel instance running on CentOS for PCI Compliance. Lately I have been setting up a number of cPanel instances for a client and that is a pretty straightforward process. cPanel have decent installation instructions on how to do this and their script pretty much does most of the work. One of the cPanel instances required to be PCI compliant and that wasn’t as clear compared to the installation instructions. ... Read More

Django Rest Framework
5 March 2013

A look at Django REST Framework for developing nice RESTful Web APIs. We are very much a Django shop at the company I work at and have moved to a Service Orientated Architecture (SOA). Well there are some legacy applications that are in the process of being moved into this sort of artchiture. A number of libraries have been used to help with the various APIs developed, these have mainly been Piston and [TastyPie](). ... Read More