Skip to content

Instantly share code, notes, and snippets.

View drewtempelmeyer's full-sized avatar
👋

Drew Tempelmeyer drewtempelmeyer

👋
View GitHub Profile
@drewtempelmeyer
drewtempelmeyer / Preferences.sublime-settings
Created October 17, 2012 20:15
Sublime Text 2 Configuration
{
// General Editing Configuration
"trim_trailing_white_space": true,
"trim_trailing_white_space_on_save": true,
"ensure_newline_at_eof": true,
"ensure_newline_at_eof_on_save": true,
"scroll_past_end": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
SELECT AddGeometryColumn('users_userprofile', 'point', 4326, 'POINT', 2);
CREATE INDEX "users_userprofile_point_id" ON "users_userprofile" USING GIST ( "point" GIST_GEOMETRY_OPS );
@drewtempelmeyer
drewtempelmeyer / wedding.py
Created October 19, 2010 01:57
Barebones wedding site in web.py
import web
from web import form
urls = (
'/', 'index',
'/contact', 'contact',
)
app = web.application(urls, globals())