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:
I hereby claim:
To claim this, I am signing this object:
--============================== | |
-- Send Keynote Presenter Notes to Evernote | |
-- Version 1.0.1 | |
-- Written By: Ben Waldie <[email protected]> | |
-- http://www.automatedworkflows.com | |
-- Version 1.0.0 - Initial release | |
-- Version 1.0.1 - Updated for Keynote 6.2 compatibility | |
--============================== |
# 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 |
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)) { |
#!/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); |
# 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/') | |
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> ~/.ssh/authorized_keys' |
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); |