Skip to content

Instantly share code, notes, and snippets.

View biafra's full-sized avatar

Paulo Ferreira biafra

  • Porto
View GitHub Profile
@laroo
laroo / .wacomcplrc.sh
Created December 3, 2015 09:53
Configuration for Wacom Graphire4 on Ubuntu 14.04
#!/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
#!/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;
@rjbs
rjbs / gitconfig.ini
Created July 19, 2012 21:43
my git aliases
[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'