Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jessefulton's full-sized avatar

Jesse Fulton jessefulton

View GitHub Profile

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 / 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 / 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
@jessefulton
jessefulton / snsToSlack.js
Created August 21, 2015 00:43 — forked from terranware/snsToSlack.js
AWS Lambda function to Slack Channel hookup
var https = require('https');
var util = require('util');
//via http://stackoverflow.com/questions/19098797/fastest-way-to-flatten-un-flatten-nested-json-objects
function flatten(data) {
var result = {};
function recurse (cur, prop) {
if (Object(cur) !== cur) {
result[prop] = cur;
} else if (Array.isArray(cur)) {
@jessefulton
jessefulton / remarkise.md
Created April 30, 2015 05:18
Remark.js remarkise sample file

name: inverse layout: true class: center, middle, inverse

#remark [ri-mahrk] .footnote[Go to directly to project site]

What is it and why should I be using it?


@jessefulton
jessefulton / create-test-facebook-users.js
Last active August 29, 2015 14:19
Create test users for a Facebook application
#!/usr/bin/env node
//
// usage:
// FACEBOOK_APP_ID=<APPID> FACEBOOK_APP_SECRET=<SECRET> ./test/load-test/scripts/facebook/create-test-users.js > output.csv
//
var userCount = process.env.USER_COUNT || 10;
var restify = require("restify")
async = require("async");
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 / 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);