Skip to content

Instantly share code, notes, and snippets.

View toastdriven's full-sized avatar

Daniel Lindsley toastdriven

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@toastdriven
toastdriven / requiredreading.txt
Created December 5, 2012 20:59 — forked from adamfast/requiredreading.txt
Preserved for #lawrence history, this was the "required reading" list of totally-non-work-related inside jokes of the World Online crew.
DJ Ango, yo!
http://railsenvy.com/2007/9/10/ruby-on-rails-vs-django-commercial-7
The Whistles
[now broken] http://www.youtube.com/watch?v=ccgXjA2BLEY
http://www.youtube.com/watch?gl=US&hl=en&client=mv-google&v=Nnzw_i4YmKk
Do it live!
http://www.youtube.com/watch?v=2tJjNVVwRCY
REMIX: http://www.youtube.com/watch?v=5j2YDq6FkVE&NR=1
r = ListResource(api_name='v1')
lists = r.obj_get_list(request)
lists_json = []
for list in lists:
bundle = r.build_bundle(obj=list, request=request)
lists_json.append(r.serialize(None, r.full_dehydrate(bundle), 'application/json'))
@toastdriven
toastdriven / mytwilight.tmTheme
Created July 29, 2011 16:04 — forked from epicserve/sublime_text_2_notes.md
My Sublime Text 2 Setup
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Daniel Lindsley</string>
<key>name</key>
<string>My Twilight</string>
<key>settings</key>
<array>
@toastdriven
toastdriven / #oldjobs
Created June 28, 2011 20:23 — forked from gregnewman/#oldjobs
Old Jobs I've had...
* Lawnmower
* Walmart clerk
* Webmaster
* Data entry
* IT Helpdesk
* IT Technician
* Pizza maker
* Random Intern
* Athletics Dept Webmaster
* Perl programmer
import os
import sys
import subprocess
def simplify_pg_index_line(line):
"""
Given a postgres index file line returns it's simplified form.
Returns None for comments
"""
=============================================================
Installing Multicore Solr 1.3.0 / Tomcat 6.0.X on Ubuntu 8.10
=============================================================
Install OpenJDK (comes from universe)::
aptitude install openjdk-6-jre
Download Tomcat 6.X and move it in place::
- simple
- public over private
- personal vanity
- internet is global
- permalinks
- don't break browser rules
- don't re-invent the wheel
- break convention for your users
- no useless widgets
- minimize user decision making
from itty import *
@get('/')
def index(foo):
return 'Hello World!'
run_itty(server='appengine')