Skip to content

Instantly share code, notes, and snippets.

View jarlah's full-sized avatar

Jarl André Hübenthal jarlah

View GitHub Profile
@jarlah
jarlah / watcher.sh
Created November 16, 2023 15:20 — forked from josevalim/watcher.sh
A 1LOC bash script for re-running tests whenever a lib/ or test/ file changes keeping the same VM instance
# You will need fswatch installed (available in homebrew and friends)
# The command below will run tests and wait until fswatch writes something.
# The --stale flag will only run stale entries, it requires Elixir v1.3.
fswatch lib/ test/ | mix test --stale --listen-on-stdin
@jarlah
jarlah / echelon.zsh
Created May 5, 2017 21:00 — forked from kpmeen/echelon.zsh
My custom ZSH themes...
# echelon
function virtualenv_info {
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
}
function box_name {
hostname -s
}