Instantly share code, notes, and snippets.

View display-names.go
// Copyright (C) 2018 Eric Wollesen <ericw at xmtp dot net>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
View dotfiles-setup
set -e
[ -d ~/.dotfiles ] && mv ~/.dotfiles{,-pre-git}
function config {
/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME" "$@"
alias config='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree=$HOME'
git clone --bare "$HOME/.dotfiles"
View i3status-mpd.go
// Copyright (C) 2018 Eric Wollesen <ericw at xmtp dot net>
// $ git checkout $GOPATH/src/$(hostname -s)/i3status-mpd
// $ go install $(hostname -s)/i3status-mpd
package main
import (
View dnsimple-update-ip
# Pass RECORD_ID_IP or RECORD_ID_IP6 on the command line
# EMAIL and TOKEN can come from ~/.auth/ or the command line
set -e
#set -x
[ -r ~/.auth/ ] && . ~/.auth/
View gist:65a5a561b9610a6de04a
Verifying that +ewollesen is my blockchain ID.

Keybase proof

I hereby claim:

  • I am ewollesen on github.
  • I am ewollesen ( on keybase.
  • I have a public key whose fingerprint is 378D F017 5D64 F25F 86D7 F270 9FE4 DADB 02AB 949F

To claim this, I am signing this object:

View extract-addon.bat
@echo off
cd "\Users\Public\World of Warcraft\interface\addons"
"C:\Program Files\7-zip\bin\7za.exe" x -y "%1"


What is it?

What's good about it?

What's bad about it?

View EAC_Setup.txt
EAC setup 2008-04-14
Entries beginning with a * represent prompts answered on the
screen. Entries beginning with a ! represent actions taken
outside of the software world.


What is it?

Decorator allows you to alter the behavior of a specific object instance. Behavior can be added, changed, or removed.

What's good about it?

  • Doesn't require inheritance (a bonus when working with ActiveRecord).