Skip to content

Instantly share code, notes, and snippets.

View ewollesen's full-sized avatar

Eric Wollesen ewollesen

  • Salt Lake City, UT
View GitHub Profile
@ewollesen
ewollesen / extract-addon.bat
Created February 25, 2014 03:18
World of Warcraft Add-on Installing Batch File
@echo off
c:
cd "\Users\Public\World of Warcraft\interface\addons"
"C:\Program Files\7-zip\bin\7za.exe" x -y "%1"

Keybase proof

I hereby claim:

  • I am ewollesen on github.
  • I am ewollesen (https://keybase.io/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:

# OLD run_test
def run_test
if @headless
headless = Headless.new
headless.start
end
if @browser == :safari
b = Watir::Safari.new
Verifying that +ewollesen is my blockchain ID. https://onename.com/ewollesen
@ewollesen
ewollesen / decorator_and_strategy.md
Created March 20, 2013 22:35
Talking points for an informal talk given at work.

Decorator

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).
@ewollesen
ewollesen / EAC_Setup.txt
Created March 25, 2013 19:46
My recommended setup for ripping music for insertion into [Mildred](http://mildred.xmtp.net).
EAC setup 2008-04-14
Notes:
Entries beginning with a * represent prompts answered on the
screen. Entries beginning with a ! represent actions taken
outside of the software world.
Wizard:
@ewollesen
ewollesen / iterator_and_visitor.md
Created March 27, 2013 23:40
Talking points for an informal talk given at work.

Iterator

What is it?

What's good about it?

What's bad about it?

@ewollesen
ewollesen / dnsimple-update-ip
Created December 22, 2015 16:56
Script for updating IP and IPv6 addresses with dnsimple.com.
#!/bin/bash
# Pass RECORD_ID_IP or RECORD_ID_IP6 on the command line
# EMAIL and TOKEN can come from ~/.auth/dnsimple.sh or the command line
set -e
#set -x
[ -r ~/.auth/dnsimple.sh ] && . ~/.auth/dnsimple.sh
@ewollesen
ewollesen / dotfiles-setup
Last active April 5, 2018 15:14
Clone my 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 git@pain.xmtp.net:df.git "$HOME/.dotfiles"
@ewollesen
ewollesen / display-names.go
Created October 1, 2018 20:17
Parses the EDID info reported by xrandr to print names for monitors
// 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
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,