Skip to content

Instantly share code, notes, and snippets.


Johannes johtso

View GitHub Profile
whiteinge / Makefile
Last active Dec 12, 2015
A Makefile to help with Salt development
View Makefile
# Easily install, maintain, and cleanly reset (!) a Salt development
# installation inside a virtualenv (no need to "activate" the venv)
SRC := /home/shouse/src/salt/salt
VENV := /home/shouse/tmp/venvs/salt
BIN := $(VENV)/bin
ETC := $(VENV)/etc/salt
PKI := $(ETC)/pki
VAR := $(VENV)/var
TMP := $(VENV)/tmp
WyseNynja / building armory-qt
Last active Oct 31, 2016
Building BitcoinArmory on OSX up to 10.8
View building armory-qt
Instructions for 10.9 are in the works.
Install and configure brew
$ ruby -e "$(curl -fsSkL"
$ touch ~/.bashrc
$ echo "export CFLAGS=\"-arch x86_64\"" >> ~/.bashrc
$ echo "export ARCHFLAGS=\"-arch x86_64\"" >> ~/.bashrc
$ source ~/.bashrc
$ brew update
$ brew doctor
FiloSottile /
Created Sep 5, 2012
Building the Armory Bitcoin client for the Raspberry Pi

Armory on the RPi

Building the Armory Bitcoin client for the Raspberry Pi

This is how I got Armory (etotheipi/BitcoinArmory; cross-compiled for the Raspberry Pi.

This is a great way to keep an air-gapped offline wallet for only $30 dollars for the RPi (that you can also use for other things; experiment, it's awesome) and $7 for a Class 10 4GB SD card, really easy to keep in a safe and secret place.


masak /
Created Apr 18, 2012
How is git commit sha1 formed

Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry.

Locally, I'm at this commit:

$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <>
Date:   Sun Apr 15 16:35:03 2012 +0200

    When I added FIRST/NEXT/LAST, it was idiomatic but not quite so fast. This makes it faster. Another little bit of masak++'s program.
danro /
Created Dec 15, 2011
Fix for the ST2 build system exec command
import sublime, sublime_plugin
import os, sys
import thread
import subprocess
import functools
class ProcessListener(object):
def on_data(self, proc, data):