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

##Introduction Basicly a step by step plan to install OpenHAB 1.7.1 on a Intel NUC using the following bindings. The content is mostly copy&paste from the OpenHAB wiki:

Operating System

I used to run OpenHAB 1.x on Windows, because of other services, but Ubuntu should work fine. I've picked the LTS version for stability.

@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}"
#