Skip to content

Instantly share code, notes, and snippets.

Erik Steigler esteigler

Block or report user

Report or block esteigler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c7672275e029cf797f6718b4335ea4dd
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
esteigler /
Last active Jan 27, 2016
How to make Amazon Music work on OS X Yosemite

How to make Amazon Music work on OS X Yosemite (10.10)

The Amazon Music installer improperly sets the permissions for it's data directory on install.

The fix is simple, just change the ownership to the current user.


  1. Install Amazon Music
  2. Open terminal (cmd-space, type in terminal)
View gist:9902236
# Author: Aleksey Korzun
# Made Awesome By: Erik
echo "=========================================================================="
echo " Replicator Man v1.0.0 "

Keybase proof

I hereby claim:

  • I am esteigler on github.
  • I am es ( on keybase.
  • I have a public key whose fingerprint is 42CB 92C2 76BC 2D0F 0A48 062C 6717 5C4D FD90 1EF1

To claim this, I am signing this object:

View mypipe-<pid>
if [ ! $1 ]; then
echo "need port number"
exit 1
mkfifo mypipe-$$
nc -kl $1 0<mypipe-$$ | /home/jae/cs3157-pub/bin/mdb-lookup-cs3157 1>mypipe-$$
rm mypipe-$$
esteigler / gist:3136772
Created Jul 18, 2012 — forked from anonymous/gist:3136741
Sort out your SSH Agent sockets
View gist:3136772
function agentstatus {
echo -n "Agent status: ";
if ssh-add -l &>/dev/null; then
echo "WORKING"
return 0
echo "BROKEN";
return 1
View gist:2581200
real 18m43.520s
user 18m37.840s
sys 0m4.020s
real 1m52.749s
user 1m42.180s
sys 0m3.260s
View gist:1359068
startup_message off
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
## detach on hangup
autodetach on
bindkey ^[[1;3D prev
bindkey ^[[1;3C next
View gist:1323445
require "fog"
require "nokogiri"
def name
@name ||= + "."
def value
@value ||= new_resource.value
You can’t perform that action at this time.