This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Configuration for Wacom Graphire4 on Ubuntu 14.04 | |
# | |
# Add this script to your '~/.bashrc' | |
# (based on http://burner.com/autodesk-stuff/remapping-wacom-buttons-linux/) | |
# $ xsetwacom list dev | |
# Wacom Graphire4 4x5 stylus id: 12 type: STYLUS | |
# Wacom Graphire4 4x5 eraser id: 13 type: ERASER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use LWP::Simple; | |
sub pick { $_[rand @_] } | |
my $text = get "https://gist.github.com/shanselman/5422230/raw/9863d88bde2f9dcf6b2e7a284dd4a428afdc8c8b/gistfile1.txt"; | |
my @samples = split /\|\n/, $text; | |
my $template = pick @samples; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
ci = commit -a | |
cl = clean -dfx | |
cc = cherry-pick | |
ff = merge --ff-only | |
fx = commit -a --amend -C HEAD | |
ix = diff --cached | |
st = status -sb | |
fap = fetch --all --prune | |
hist = log --all --graph --color=always --pretty='[%C(cyan)%h%Creset]%C(bold cyan)%d%Creset %s' |