Skip to content

Instantly share code, notes, and snippets.

View vreon's full-sized avatar

Jesse Dubay vreon

View GitHub Profile
@vreon
vreon / oneoff.sh
Last active May 18, 2021 00:42
oneoff: a utility for managing exploratory project dirs
#!/bin/bash
#
# oneoff: a utility for managing exploratory project dirs
#
# This exists because I needed something to fill the gap between `mkdir
# ~/Projects/some-project` and `mktemp -d`.
#
# I got tired of having to think of a name as the very first step every time I
# wanted to kick some code around, and as `~/tmp` began to fill up with `foo`
# and `asdf` dirs I realized something had to change or I'd lose it.