I hereby claim:
- I am vreon on github.
- I am vreon (https://keybase.io/vreon) on keybase.
- I have a public key ASDdxiEPB1HT6MmKsI1s2Rp-r3nttQnUDXCg9-2x9QuLKAo
To claim this, I am signing this object:
#!/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. |
apiVersion: argoproj.io/v1alpha1 | |
kind: Workflow | |
metadata: | |
name: test | |
spec: | |
entrypoint: main | |
templates: | |
- name: main | |
inputs: | |
artifacts: |
apiVersion: argoproj.io/v1alpha1 | |
kind: Workflow | |
metadata: | |
name: test | |
spec: | |
entrypoint: main | |
templates: | |
- name: main | |
inputs: | |
artifacts: |
#!/bin/bash | |
# Sync currently-playing mpd track to Slack | |
# Requires mpc, jq, curl | |
# Contains SLACK_TOKEN | |
source ~/.zshrc_secrets | |
prev_playing='' | |
while true; do |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# k8s-status.sh: get a birds-eye view of a Kubernetes cluster | |
# For best results: watch -cn1 ./k8s-status.sh | |
green='\e[0;32m' | |
yellow='\e[0;33m' | |
purple='\e[0;35m' | |
cyan='\e[0;36m' | |
white='\e[0;37m' | |
reset='\e[0m' |
$ ./trimet.sh routes=100 | |
signMessage routeNumber lastLocID nextLocID delay latitude longitude | |
Blue to SW 185th 100 10117 10121 -147 45.5109047 -122.7142741 | |
Blue to Gresham 100 9758 8333 -1194 45.519884 -122.6844158 | |
Blue to E 197th 100 8349 8350 -136 45.5224024 -122.5284551 | |
Blue to Gresham 100 8350 8351 -117 45.5222426 -122.5068932 | |
Blue to Gresham 100 9758 8333 -1205 45.5192354 -122.6819898 | |
Blue to Gresham 100 9828 9822 58 45.5034006 -122.8389054 | |
Blue to SW 185th 100 8371 8372 -123 45.535821 -122.5859749 | |
Blue to SW 185th 100 8377 8378 -167 45.525233 -122.6714482 |
> look | |
Example Room | |
This room is for demonstration purposes only. | |
Things nearby: | |
Thingy C | |
Thingy A | |
Thingy B | |
Thingy D | |
Thingy E | |
> get thingy |
todo () { | |
if [ "$1" = "-g" ]; then | |
path=$HOME | |
else | |
path=$(pwd) | |
while [[ "$path" != "" && ! -e "$path/TODO" ]]; do | |
path=${path%/*} | |
done | |
[ -z "$path" ] && path=$HOME | |
fi |
#!/bin/bash | |
function usage { | |
echo "Usage: distractions [on/off]" | |
exit | |
} | |
if [ $# -eq 0 ]; then | |
usage | |
fi |