Skip to content

Instantly share code, notes, and snippets.

View jessefulton's full-sized avatar

Jesse Fulton jessefulton

View GitHub Profile
@jessefulton
jessefulton / speaker-notes.applescript
Created August 26, 2015 17:04
Export Keynote Speaker Notes
# via http://apple.stackexchange.com/questions/136118/how-to-print-full-presenter-notes-without-slides-in-keynote
global presenterNotes
tell application "Keynote"
activate
open (choose file)
tell front document
set presenterNotes to presenter notes of every slide as text
set the clipboard to presenterNotes
do shell script "pbpaste > ~/keynote-notes.txt"
end tell

Keybase proof

I hereby claim:

  • I am jessefulton on github.
  • I am jessefulton (https://keybase.io/jessefulton) on keybase.
  • I have a public key ASDDc071dEGfZyxupCVCRQcc4GSZrOj2HNiYq-oDgj--igo

To claim this, I am signing this object:

@jessefulton
jessefulton / config.js
Created January 15, 2012 17:54
Node.js - merge environment variables + config file + command line args
/**
* Merges environment variables + config file + command line args
*
* To use, from app.js:
* var conf = require('./config').init();
*/
var argv = require('optimist').argv;
function init() {
//1. check process.env
var errors = require('protocol').errors;
var MemJS = require('memjs');
exports.testGetSuccessful = function(beforeExit, assert) {
var n = 0;
var callbn = 0;
var dummyServer = new MemJS.Server();
dummyServer.write = function(requestBuf) {
request = MemJS.Utils.parseMessage(requestBuf);
assert.equal('hello', request.key);
@jessefulton
jessefulton / 2014-04-03 Send Keynote Presenter Notes to Evernote.applescript
Created October 15, 2015 00:10 — forked from benwaldie/2014-04-03 Send Keynote Presenter Notes to Evernote.applescript
This script sends presenter notes from a Keynote 6.2 presentation to Evernote.
--==============================
-- Send Keynote Presenter Notes to Evernote
-- Version 1.0.1
-- Written By: Ben Waldie <ben@automatedworkflows.com>
-- http://www.automatedworkflows.com
-- Version 1.0.0 - Initial release
-- Version 1.0.1 - Updated for Keynote 6.2 compatibility
--==============================
@jessefulton
jessefulton / install_rvm.sh
Created August 22, 2012 04:23 — forked from janjongboom/gist:3116835
RVM Install on Cloud9 IDE
# this script expects to be run from your home dir
# TOTALLY STILL UNDER DEVELOPMENT!
# automated version of https://gist.github.com/3116835
# this will get your ID...
GUID=$(pwd | sed -e 's/\/var\/lib\/stickshift\/\([^\/]*\)\/.*/\1/')
@jessefulton
jessefulton / runme.txt
Created August 16, 2012 21:07
Upload ssh keys
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> ~/.ssh/authorized_keys'
@jessefulton
jessefulton / cron.js
Created March 20, 2012 04:03
Problem reading casperjs output into nodejs
var spawn = require('child_process').spawn;
var bin = "casperjs"
//googlelinks.js is the example given at http://casperjs.org/#quickstart
var args = ['scripts/googlelinks.js'];
var cspr = spawn(bin, args);
//cspr.stdout.setEncoding('utf8');
cspr.stdout.on('data', function (data) {
var buff = new Buffer(data);
@jessefulton
jessefulton / error log
Created March 10, 2012 23:28
Building ProCamToolkit - mapamok
Ld bin/mapamokDebug.app/Contents/MacOS/mapamokDebug normal i386
cd /Users/applemacbookpro/Documents/Projects/LIBRARIES/of_preRelease_v007_osx/apps/ProCamToolkit/mapamok
/Developer/usr/bin/clang++ -arch i386 -L/Users/applemacbookpro/Documents/Projects/LIBRARIES/of_preRelease_v007_osx/apps/ProCamToolkit/mapamok/bin -L/Users/applemacbookpro/Documents/Projects/LIBRARIES/of_preRelease_v007_osx/apps/ProCamToolkit/mapamok/../../ofxOpenCv/libs/opencv/lib/android/armeabi -L/Users/applemacbookpro/Documents/Projects/LIBRARIES/of_preRelease_v007_osx/apps/ProCamToolkit/mapamok/../../ofxOpenCv/libs/opencv/lib/android/armeabi-v7a -L/Users/applemacbookpro/Documents/Projects/LIBRARIES/of_preRelease_v007_osx/apps/ProCamToolkit/mapamok/../../ofxOpenCv/libs/opencv/lib/iphone -L/Users/applemacbookpro/Documents/Projects/LIBRARIES/of_preRelease_v007_osx/apps/ProCamToolkit/mapamok/../../ofxOpenCv/libs/opencv/lib/linux -L/Users/applemacbookpro/Documents/Projects/LIBRARIES/of_preRelease_v007_osx/apps/ProCamToolkit/mapamok/../.
@jessefulton
jessefulton / main.js
Created March 6, 2012 04:28
Kapi Text Transform (current)
(function () {
if (!(document.getElementsByTagName("canvas").length)) {
return;
}
(function () {
var myKapi,
myText;
myKapi = kapi(document.getElementById('demo1'), {