Skip to content

Instantly share code, notes, and snippets.

View jovandeginste's full-sized avatar

Jo Vandeginste jovandeginste

View GitHub Profile

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:

#!/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)
#!/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}')
@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]
#!/usr/bin/env ruby
require 'getoptlong'
require 'net/http'
require 'json'
server = 'localhost:8500'
format = 'yaml'
opts = GetoptLong.new(
#!/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 ...]]
@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]
@jovandeginste
jovandeginste / tstomp4
Last active November 23, 2016 12:45
converts a playlist.m3u8 webstream (containing chunks) to an mp4
#!/bin/bash -eu
url="$1"
output="$2"
base=$(dirname "$url")
chunklist=$(curl -s "$url" | grep "^chunklist")
if [[ -f "$output" ]]
then
@jovandeginste
jovandeginste / build.sh
Created June 7, 2018 11:55
Build shibboleth from sources
#!/bin/bash
set -e
yum -y install boost-devel zlib-devel openssl-devel libcurl-devel xml-security-c-devel gcc gcc-c++ make file wget httpd-devel unzip tar sed grep patch
(
if ! test -d log4shib-1.0.9; then
wget -c https://shibboleth.net/downloads/log4shib/latest/log4shib-1.0.9.tar.gz -O log4shib-1.0.9.tar.gz
tar xfz log4shib-1.0.9.tar.gz
fi