Skip to content

Instantly share code, notes, and snippets.

View davelester's full-sized avatar
:octocat:

Dave Lester davelester

:octocat:
View GitHub Profile
@davelester
davelester / gist:2939766
Created June 16, 2012 03:14
Year 2009 Syllabus Finder urls
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
http://www.ivcc.edu/flm2009/Syllabus_Spring2003.html
@davelester
davelester / gist:98a57c363bb1306e32e008fa1b85edf8
Created November 13, 2020 01:11
Non-Alcoholic (NA) Beer Recommendations
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 June 16, 2012 03:07
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
http://www.bus.utexas.edu/dept/msis/courses/Syllabi_Spg2001/mis/grad/MIS382N.5%20Managing%20Complexity%20(McDaniel)%2003920.pdf
@davelester
davelester / gist:2939765
Created June 16, 2012 03:13
Year 2008 Syllabus Finder urls
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
http://www.columbia.edu/~sam2008/cc22002syl.html
@davelester
davelester / gist:5211115
Last active December 15, 2015 05:39
Notes / cheat sheet to direct people to for browsing Common Crawl data
// 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
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() {
+
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
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';
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 October 6, 2012 23:40
generating a single file of ofl fonts and their font categories
#!/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