The Important Stuff ...
-
2012 27" iMac with 32GB Kingston HyperX
After nearly 4 years of using a MacbookPro for all things internet, I’ve finally upgraded my home with a shiny new 27” iMac.
The new design is amazing, and …
-
.rvmrc and binstubs
A while ago I wrote a script to help manage gemsets and PATH settings when switching between Ruby projects. It has worked very well, but I’ve recently learned about …
-
HTML5 Navigation in Django
Creating a snappy user experience can be easily obtained by implementing HTML5 navigation. Not only does it take less time to render only the needed Django templates, the browser has …
-
Using Google to Send Mail in Django
If you have a Gmail account (or a Google Apps account), you can use it to send mail on your behalf just like any other email client. Remember to use …
-
Decorating Django Tests
Just a quick note: when decorating Django tests you have to take care to name your return function using the same “test_” format otherwise an unmodified TestRunner will not discover …
-
"subject" Decorator for Django Tests
The Python elite will probably turn their noses up at me, but I just conjured an even better looking way to write my tests.
Using my utilities.py file I …
-
Django: A New Way to Write Tests
Taking a lot of inspiration from Ruby’s RSpec, I’ve established a new way to write my tests when doing TDD in Django. Using django-nose, factoryboy, and a few …
-
Setting up a Django Server with Gentoo
This is part 3 in a 3 part series I’ve written on setting up a Django production site on Gentoo. In the first 2 parts I went over basic …
-
RESTful Django
I’ve been taking a lot of time lately to determine a best practice way of incorporating a RESTful approach to Django views. My goal is to come up with …
-
Installing MongoDB with MacPorts on MountainLion
Technically this should be as simple as:
sudo port install mongodb
Unfortunately, the mongodb port depends (for now) on devel/boost <= 1.49. The boost port was recently upgraded to …