Skip to content

Instantly share code, notes, and snippets.

View jovandeginste's full-sized avatar

Jo Vandeginste jovandeginste

View GitHub Profile
@jovandeginste
jovandeginste / openpgp.txt
Created June 29, 2016 20:58
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a4e25eb0c823c1d1b197bde1e349b1ad928b72fb]
@jovandeginste
jovandeginste / openpgp.txt
Created June 29, 2016 20:58
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a4e25eb0c823c1d1b197bde1e349b1ad928b72fb]
#!/usr/bin/env ruby
require 'vault'
require 'yaml'
def usage
me = File.basename($0)
puts <<-EOF.gsub(/\t/, ' ')
Usage: #{me} tree|read|add|write|delete path/to/key [key1:value1 [key2:value2 ...]]
#!/usr/bin/env ruby
require 'getoptlong'
require 'net/http'
require 'json'
server = 'localhost:8500'
format = 'yaml'
opts = GetoptLong.new(
@jovandeginste
jovandeginste / openpgp.txt
Created January 12, 2016 07:03
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:1b2e5df093c6e20ab4463bf0e40adc64193e10fd]
#!/bin/bash
: ${REMOTE:=origin}
set -x
git remote update $REMOTE --prune
set +x
TO_DELETE=$(diff <(git branch | cut -c 3-) <(git branch -r | cut -c 3- | grep $REMOTE | sed "s%^$REMOTE/%%") | grep '<' | awk '{print $2}')
#!/bin/bash -eu
function usage()
{
cat <<- EOF
Usage: $0 <name of fork owner> [local name of remote]
name of fork owner: name of the github user having the fork
local name of remote: how to locally call the fork (defaults to name of fork owner)

Keybase proof

I hereby claim:

  • I am jovandeginste on github.
  • I am jovandeginste (https://keybase.io/jovandeginste) on keybase.
  • I have a public key whose fingerprint is A4E2 5EB0 C823 C1D1 B197 BDE1 E349 B1AD 928B 72FB

To claim this, I am signing this object: