Skip to content

Instantly share code, notes, and snippets.

Aaron Kaufman aaronky

View GitHub Profile
bishboria /
Last active Jul 4, 2020
Springer made a bunch of books available for free, these were the direct links
mtigas / gpg.conf
Last active Apr 7, 2016
hide your PGP version & other info
View gpg.conf
# Hide your PGP version & other PGP version metadata with these two config lines.
# This line hides the "Version: GnuPG vX.XX.XX" line
# This line hides the "Comment: XXXXX" lines
# NOTE if you are using Thunderbird+Enigmail you probably need to set this again in
# the Enigmail->Preference settings:
grugq / gist:03167bed45e774551155
Last active Jul 6, 2020
operational pgp - draft
View gist:03167bed45e774551155

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

pascalpoitras /
Last active Jul 9, 2020
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

You need at least WeeChat 2.9-dev

Enable mouse

/mouse enable
tomster / gist:7585211
Last active Jul 5, 2018
bootstrap a freebsd 9.2 host with ansible. it requires a password for the root user to be set for which it will prompt you (-k). you must use the paramiko transport to allow password based login. based on
View gist:7585211
# run this with ansible-playbook -i ansible_hosts bootstrap.yml -k -c paramiko
- hosts: jails_host
gather_facts: false
remote_user: root
- name: install pkgng
raw: "pkg_info | grep -v 'pkg-' > /dev/null ; if $? pkg_add -r pkg; rehash ; pkg2ng; echo 'WITH_PKGNG=yes' >> /etc/make.conf; echo 'packagesite:' >> /usr/local/etc/pkg.conf; pkg update ; pkg upgrade -y"
- name: install python27
raw: "pkg install -y python27"
nukeador / DNS tunneling with
Last active Jun 28, 2020
How to install and use iodine for DNS tunneling.
View DNS tunneling with


We need some records on our domain ( DNS for connections. Add these records:

t1              IN      NS ; note final the dot!
t1ns            IN      A       OUR_SERVER_IP


jbenet /
Last active Jul 9, 2020
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.


Setup Mac OS X

I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.

I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...

stephenc / gist:3053561
Created Jul 5, 2012
Continuous Deployment with Jenkins and Puppet
View gist:3053561

Puppet with Jenkins

Setup Jenkins

With Puppet:

puppet module install rtyler-jenkins
puppet apply -v -e "include jenkins"
omerhasan /
Created Jun 27, 2012 — forked from kamermans/
HAProxy log analyzer to show response latency distribution from the console
# HAProxy Performance Statistics
# by Steve Kamerman
# To use, pipe your HAProxy log with timing information (like "0/0/1/1/3 200") to
# this script. It will output min, max, med, avg and a latency distribution graph.
# Info on timing logging in HAProxy:
You can’t perform that action at this time.