Skip to content

Instantly share code, notes, and snippets.


Dave Lester davelester

View GitHub Profile
davelester / gist:2939766
Created Jun 16, 2012
Year 2009 Syllabus Finder urls
View gist:2939766
This file has been truncated, but you can view the full file.
davelester / gist:98a57c363bb1306e32e008fa1b85edf8
Created Nov 13, 2020
Non-Alcoholic (NA) Beer Recommendations
View gist:98a57c363bb1306e32e008fa1b85edf8
All beers with 0.5 percent or less ABV. Informal star rating based on personal preference.
- Athletic Brewing (Run Wild and Upside Dawn)
- Wellbeing Brewing (Victory Wheat, Intentional IPA, Heavenly Body)
- Hoplark HopTea
- Heineken 0.0
- Surreal Brewing
davelester / Year 2003 Syllabus Finder urls
Created Jun 16, 2012
Year 2003 Syllabus Finder URLS
View Year 2003 Syllabus Finder urls
This file has been truncated, but you can view the full file.,03705.htm
davelester / gist:2939765
Created Jun 16, 2012
Year 2008 Syllabus Finder urls
View gist:2939765
This file has been truncated, but you can view the full file.
davelester / gist:5211115
Last active Dec 15, 2015
Notes / cheat sheet to direct people to for browsing Common Crawl data
View gist:5211115
// Install s3cmd if you don't already have it installed
pip install s3cmd
// configure your keys before using s3cmd
s3cmd --configure
// once you have s3cmd on your machine, list first 3 files in the current crawl folder
s3cmd ls s3://aws-publicdatasets/common-crawl/parse-output/ | head -n3
View gist:5140329
diff --git a/models/badge.js b/models/badge.js
index 01c2eeb..8b9e4ff 100644
--- a/models/badge.js
+++ b/models/badge.js
@@ -21,6 +21,10 @@ Badge.prototype.presave = function () {
+Badge.prototype.postsave = function() {
View gist:5135470
ubuntu@ip-10-157-50-160:~/openbadges$ npm start
> openbadges@0.5.0 start /home/ubuntu/openbadges
> ./bin/db-migrate up && ./node_modules/.bin/up -w -n 1 -p 8888 app.js
[INFO] No migrations to run
[INFO] Done
up-cli starting cluster with 1 workers on port 8888
up-cli `kill -s SIGUSR2 14209` or ctrl + r to load new code
up spawning 1 workers from master 14209
View gist:5106146
const test = require('tap').test;
const fb = require('../lib/facebook');
const utils = require('../lib/utils');
const querystring = require('querystring');
test('fb#publishBadge', function (t) {
var accessToken = 'AAAD0ensvZAb8BAFdRG6w1ZBeIgWCINxkrAZAd1ZCSZBZC65dU2qZACYcyYyMlJRMp0CX94jr8r7aaZBal3xrVqScUZCo0aNZALXEiaEObkEEVomAZDZD';
var badgeBodyHash = 'sillybadgehash';
var userId = 'me';
View gist:4571089
var arDrone = require('ar-drone');
var client = arDrone.createClient();
client.after(2000, function() {
client.after(3000, function() {
console.log('flip', client);
davelester / gist:3846526
Created Oct 6, 2012
generating a single file of ofl fonts and their font categories
View gist:3846526
cd /Users/davelester/Code/googlefontdirectory/ofl/
for i in $( ls ); do
cd $i
echo 'Font:' $i
cat "METADATA.json" | python -c 'import json,sys;obj=json.loads(;print "Category: " + ob$
cd ../