Skip to content

Instantly share code, notes, and snippets.

Avatar

Johannes johtso

View GitHub Profile
@whiteinge
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
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 raw.github.com/mxcl/homebrew/go)"
$ touch ~/.bashrc
$ echo "export CFLAGS=\"-arch x86_64\"" >> ~/.bashrc
$ echo "export ARCHFLAGS=\"-arch x86_64\"" >> ~/.bashrc
$ source ~/.bashrc
$ brew update
$ brew doctor
@FiloSottile
FiloSottile / .ArmoryRPi.md
Created Sep 5, 2012
Building the Armory Bitcoin client for the Raspberry Pi
View .ArmoryRPi.md

Armory on the RPi

Building the Armory Bitcoin client for the Raspberry Pi

This is how I got Armory (etotheipi/BitcoinArmory; http://bitcoinarmory.com/) 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.

Dependencies

@masak
masak / explanation.md
Created Apr 18, 2012
How is git commit sha1 formed
View explanation.md

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 <jnthn@jnthn.net>
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
danro / exec.py
Created Dec 15, 2011
Fix for the ST2 build system exec command
View exec.py
import sublime, sublime_plugin
import os, sys
import thread
import subprocess
import functools
class ProcessListener(object):
def on_data(self, proc, data):
pass
You can’t perform that action at this time.