Skip to content

Instantly share code, notes, and snippets.


Eric Wollesen ewollesen

  • Salt Lake City, UT
View GitHub Profile
ewollesen / display-names.go
Created Oct 1, 2018
Parses the EDID info reported by xrandr to print names for monitors
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,
ewollesen / dotfiles-setup
Last active Apr 5, 2018
Clone my dotfiles setup
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"
ewollesen / i3status-mpd.go
Last active Aug 14, 2021
A small go binary for putting MPD status in your i3 statusbar
View i3status-mpd.go
// Copyright (C) 2018 Eric Wollesen <ericw at xmtp dot net>
// $ git clone $GOPATH/src/$(hostname -s)/i3status-mpd
// $ go install $(hostname -s)/i3status-mpd
package main
import (
ewollesen / dnsimple-update-ip
Created Dec 22, 2015
Script for updating IP and IPv6 addresses with
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:

ewollesen / extract-addon.bat
Created Feb 25, 2014
World of Warcraft Add-on Installing Batch File
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"
ewollesen /
Created Mar 27, 2013
Talking points for an informal talk given at work.


What is it?

What's good about it?

What's bad about it?

ewollesen / EAC_Setup.txt
Created Mar 25, 2013
My recommended setup for ripping music for insertion into [Mildred](
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.
ewollesen /
Created Mar 20, 2013
Talking points for an informal talk given at work.


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).