Category: Code Recipes

Page:  
May
8

How to get SASS going on Ubuntu 10.04

I found that “Ruby 1.8″, packaged with Ubuntu 10.04, does not seem to run SASS out of the box. This is my recipe, cobbled together. . .

May
3

How to Delete a Remote Branch on Github

Sometimes git is hard. An example is deleting a remote branch. Its hard to understand and remember so that’s why this blogpost. It literary means. . .

Apr
30

Exploring DocNPI.com’s API

DocNPI is a website and webervice for searching information in the National Provider Index (NPI) Registry. The NPI Registry is maintained by HHS and is. . .

Jul
20

Django Production Deployment: How to Make Apache2 mod_wsgi and virtualenv for Python Play Nice

Problem: You are a good little Python developer and you use virtualenv in your Python development.  If you aren’t using virtualenv you’re doing it wrong.. . .

Jul
1

HTTPS / SSL Configuration Checklist

This blog entry describes how to configure mod_ssl on Ubuntu. This is designed as a quick reference for configuration. Make sure the “Common Name” is. . .

Jun
15

How to Encrypt an EBS Volume (Disk) on Amazon EC2

Problem: You are using Amazon EC2 cloud computer and you want to create an encrypted EBS volume to store sensitive data.For example, you may have. . .

Mar
29

How to Create a Geospatial Query with maxDistance in MongoDB using Python

My company (Videntity) has been providing support to the Earth Institute (Columbia University). One of the tasks is to build a geospatial web service for. . .

Mar
13

Postgresql Setup on Ubuntu 10.10

Here is a little cheat sheet for getting Postgress setup on Ubuntu and creating an initial database and dtabase user.  this will work if you. . .

Nov
23

Serving Django Admin Static Media Files with Apache WSGI on Ubuntu

Here is a quick and simple configuration code recipe to serve the admin static files in a production environment using modWSGI and Apache 2. Modify. . .

Nov
14

Turn Your Wii Balance Board into an Internet Device for Weight Upload

So if anyone is looking for a fun, geek-out project on a Sunday afternoon, this one will do nicely. You do not need to know. . .

Page: