Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Dave Lester davelester

:octocat:
View GitHub Profile
@davelester
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.
http://ksghome.harvard.edu/~.nmiller.Academic.KSG/API%20109i%20Syllabus%20F2001%20090101.doc
http://info-center.ccit.arizona.edu/~curric/Cb20/Cb2009/2009h.htm
http://www.personal.psu.edu/faculty/j/j/jjk10/SYLLABUS20099.htm
http://www.ivcc.edu/flm2009/Syllabus.html
http://www.mcc.cccoes.edu/ABM/ABM%20111%20Master%20Syllabus%2009-05-02.pdf
http://www.mcc.cccoes.edu/abm/ABM%20136%20Master%20Syllabus%2009-05-02.pdf
http://www.mcc.cccoes.edu/abm/ABM%20135%20Master%20Syllabus%2009-05-02.pdf
http://www.mcc.cccoes.edu/ABM/ABM%20112%20Master%20Syllabus%2009-05-02.pdf
http://www.tamuk.edu/edu/Files/Online%20Academy%2009-24-2001/PBS/a203/support/a203b0_10100.html
@davelester
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) https://athleticbrewing.com
- Wellbeing Brewing (Victory Wheat, Intentional IPA, Heavenly Body) https://wellbeingbrewing.com
⭐️⭐️⭐️
- Hoplark HopTea https://hoptea.com
- Heineken 0.0 https://www.heineken.com/global/en/our-products/heineken-0-0/
- Surreal Brewing https://www.surrealbrewing.com
@davelester
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.
http://www.pvamu.edu/2002-03pvamucatalog/2002-2003%20GRADUATE%20CATALOG%20(Print).pdf
http://vlc.atu.edu/mus2003/2002-summer/MUS2003-syllabus.doc
http://ccc.atu.edu/mus2003/2002-summer/MUS2003-syllabus.doc
http://www.montreat.edu/academics/catalogPDF/2002-2003%20Catalog.pdf
http://www.hanover.edu/soc/Winter%202003.htm
http://www.history.msu.edu/coursedesc/uspring2003.pdf
http://lfa.atu.edu/ssphil/ssjlm/HISTORY%202003.01F01.htm
http://lfa.atu.edu/ssphil/ssjlm/HISTORY%202003.03F01.htm
http://www.bus.utexas.edu/dept/msis/courses/syllabi_spg2002/mis/MIS325%20Mote%2003695,03705.htm
@davelester
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.
http://www.columbia.edu/~sam2008/HrSyl.html
http://www.columbia.edu/~sam2008/CC12001SYL.html
http://www.columbia.edu/~sam2008/IhSyl.html
http://www.columbia.edu/~sam2008/STS12001.html
http://www.columbia.edu/~sam2008/law.html
http://www.columbia.edu/~sam2008/IhSyl2.html
http://www.phys.tcu.edu/~dingram/phys20083/su02_syll.html
http://www.phys.tcu.edu/~dingram/phys20083/su02_syll_lab.html
http://www.zoo.ufl.edu/bouchard/BSC_2008/BSC_2008_Syllabus.htm
@davelester
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.takeoff();
client.after(2000, function() {
this.up(0.4);
client.after(3000, function() {
this.animate('wave',3000);
console.log('flip', client);
@davelester
davelester / gist:3846526
Created Oct 6, 2012
generating a single file of ofl fonts and their font categories
View gist:3846526
#!/bin/bash
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(sys.stdin.read());print "Category: " + ob$
cd ../
done