Skip to content

Instantly share code, notes, and snippets.

View adothompson's full-sized avatar

Adam Thompson adothompson

View GitHub Profile
@tobiasmcnulty
tobiasmcnulty / kannel.conf
Created January 31, 2012 12:31
Sample Kannel configuration for talking to RapidSMS server
#
# CONFIGURATION FOR USING SMS KANNEL WITH RAPIDSMS
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, see Kannel web page (http://www.kannel.org) and
# various online help and mailing list archives
#
# Notes on those who base their configuration on this:
# 1) check security issues! (allowed IPs, passwords and ports)
# 2) groups cannot have empty rows inside them!
@rolo
rolo / gist:1481128
Created December 15, 2011 13:44
Install Postgres 9.1, PostGIS and create PostGIS template on Ubuntu 11.10 Oneiric Ocelot
#!/bin/bash
#
# Install Postgres 9.1, PostGIS and create PostGIS template on a clean Ubuntu 11.10 Oneiric Ocelot box
# http://wildfish.com
# add the ubuntu gis ppa
sudo apt-get -y install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
@takinbo
takinbo / post.py
Created July 21, 2010 18:05
Scraping script for Nigeriapostcodes.com
#!/usr/bin/env python
import sys
import re
from datetime import datetime
import csv
from BeautifulSoup import BeautifulSoup
import urllib2
from urllib import urlencode
from time import sleep
@ukanga
ukanga / install.ini
Created November 10, 2009 18:12 — forked from rgaudin/install.ini
# Example setup configuration file
[main]
url=git://github.com/mvpdev/rapidsms.git
name=sms
rev=HEAD
[rapidsms]
url=git://github.com/rapidsms/rapidsms.git
name=rapidsms-git