Skip to content

Instantly share code, notes, and snippets.

View chipsenkbeil's full-sized avatar
🏠
Working from home

Chip Senkbeil chipsenkbeil

🏠
Working from home
View GitHub Profile
@chipsenkbeil
chipsenkbeil / music.sh
Created October 20, 2016 18:51
Script to mount/unmount a directory containing music; run cmus against that directory
#!/bin/sh
# Local dir: Place to mount remote dir
# Remote dir: Place to connect to when mounting fs
LOCAL_DIR=/mnt/music
REMOTE_DIR=senkwich@senkbeil.org:/datadrive/music
# Internal program settings
MUSIC_PLAYER=cmus
SSHFS=sshfs

Keybase proof

I hereby claim:

  • I am chipsenkbeil on github.
  • I am senkwich (https://keybase.io/senkwich) on keybase.
  • I have a public key whose fingerprint is B063 F4E6 023E 4CB6 7372 45AB 4282 790F 8E3B 4BBA

To claim this, I am signing this object:

@chipsenkbeil
chipsenkbeil / gist:d664d810c20bf79aa38d
Created October 6, 2015 15:24
Some common Docker lines
# Delete all containers including those that have completed
docker rm -f `docker ps -aq`
# Delete all images with <none> as the label
docker rmi `docker images | grep "<none>" | awk '{print $3}'`