Skip to content

Instantly share code, notes, and snippets.

oh bother

Don Smith theraccoonbear

oh bother
  • Madison, WI
Block or report user

Report or block theraccoonbear

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
theraccoonbear /
Created Sep 15, 2019
Generate a slideshow of images for cover art trivia
# Generate a slideshow of images for cover art trivia.
# Files should be named like {SORT-NUMBER} blah blah blah.jpg
for f in *.jpg; do
num=$(echo $f | sed -En "s/^([0-9]+).+?/\1/p")
formatNum="$((10#$num + 1 - 1))"
echo "Processing $f file...";
theraccoonbear / gist:e8a2c127b306745bf7e4
Created Oct 21, 2015
Composer Installation on HostMonster
View gist:e8a2c127b306745bf7e4
/usr/bin/php56s -d register_argc_argv=1 "./composer.phar" install
theraccoonbear /
Last active Aug 29, 2015 — forked from camsaul/
Make a SSH Tunnel to a Postgres DB hosted in Vagrant VM
#! /bin/bash
ssh -L 5555:localhost:5432 vagrant@localhost -p 2222 -i ~/.vagrant.d/insecure_private_key -fNg # local port 5555 <-> Vagrant port 5432
You can’t perform that action at this time.