Skip to content

Instantly share code, notes, and snippets.

View marksharrison's full-sized avatar

Mark Harrison marksharrison

View GitHub Profile
#!/bin/bash
echo "Start Export Process"
echo "Log into Keybase..."
keybase login
echo "Exporting your PGP keys..."
keybase pgp export -o keybase.public.key
keybase pgp export -s -o keybase.private.key
@SierraNL
SierraNL / NUC_OpenHAB.md
Last active November 14, 2016 09:57
Running OpenHAB on a NUC
@stephen
stephen / unwrapUrl.js
Last active August 29, 2015 14:08
unwraps a url from shorteners. assumes request is available.
var unwrapUrl = function(input, callback) {
var options = {};
if (typeof(input) === 'string') {
options.url = input;
} else if (typeof(input) === 'object') {
options = input;
}
options._attempts = options._attempts || 0;
options.maxAttempts = options.maxAttempts || 5;
@phatblat
phatblat / heroku-node-init.sh
Created January 31, 2012 22:28
Bash script to initialize an OS X box for local development of node app on heroku
#!/bin/bash
NODE_VERSION=0.4.7
NPM_VERSION=1.0.94
# Save script's current directory
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#cd "${DIR}"
#