Skip to content

Instantly share code, notes, and snippets.

Avatar

Jean-Bernard Jansen duckie

View GitHub Profile
@shodanshok
shodanshok / blocksync.py
Last active Aug 1, 2020 — forked from rcoup/blocksync.py
Block device sync between remote hosts. Based off http://www.bouncybouncy.net/programs/blocksync.py
View blocksync.py
#!/usr/bin/env python
"""
Synchronise block devices over the network
Copyright 2006-2008 Justin Azoff <justin@bouncybouncy.net>
Copyright 2011 Robert Coup <robert@coup.net.nz>
License: GPL
Getting started:
@bcomnes
bcomnes / .screenrc
Last active May 13, 2020
ssh agent forwarding in tmux and gnu screen
View .screenrc
# Fix agent forwarding
# https://gist.github.com/martijnvermaat/8070533
# http://techblog.appnexus.com/2011/managing-ssh-sockets-in-gnu-screen/
# See .ssh/rc for socket linking
unsetenv SSH_AUTH_SOCK
setenv SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock.$HOSTNAME
@staltz
staltz / introrx.md
Last active Oct 19, 2020
The introduction to Reactive Programming you've been missing
View introrx.md
@michaljemala
michaljemala / tls-client.go
Last active Oct 19, 2020
SSL Client Authentication Golang sample
View tls-client.go
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io/ioutil"
"log"
"net/http"
)
@gdvalle
gdvalle / putty-monokai.reg
Created Dec 2, 2012
Monokai style theme for PuTTY; colors copied from ST2's theme
View putty-monokai.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\monokai]
"Colour21"="255,255,255"
"Colour20"="245,222,179"
"Colour19"="200,240,240"
"Colour18"="0,217,217"
"Colour17"="179,146,239"
"Colour16"="174,129,255"
"Colour15"="122,204,218"
@zaius
zaius / git-submodule-rm.sh
Created May 9, 2012 — forked from barraponto/git-submodule-rm.sh
Add rm command to git submodule
View git-submodule-rm.sh
#!/bin/zsh
function actual_path() {
if [ [ -z "$1" ] -a [ -d $1 ] ]; then
echo $(cd $1 && test `pwd` = `pwd -P`)
return 0
else
return 1
fi
}
View .Xdefaults.XTerm
XTerm*background: black
XTerm*Foreground: Grey
XTerm*faceName: Liberation Mono
XTerm*faceSize: 10
XTerm*on2Clicks: regex [^ \n]+
XTerm*bellIsUrgent: true
You can’t perform that action at this time.