summary refs log tree commit diff
path: root/home/.local/bin/up
blob: 4f832a3c08d2c25131f9bf7d4f051e688031c83f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e -u

ts=$(date +%s)
rand=$(openssl rand -hex 4)
ext=${1##*.}
url=$(printf 'temp.causal.agency/%x%s.%s' "$ts" "$rand" "$ext")

scp -q "$1" "temp.causal.agency:/usr/local/www/$url"

echo "https://$url"
type pbcopy > /dev/null && printf "https://$url" | pbcopy
184917040f360aced5995856eea838f&follow=1'>Move bin man pages to bin/manJune McEnroe 2018-09-11Rewrite gfx.7 and render plaintext READMEJune McEnroe 2018-09-11Remove GAMES from BINSJune McEnroe 2018-09-11Rewrite bin.7 and render to plaintext READMEJune McEnroe 2018-09-11Add "blank" lines to man pagesJune McEnroe 2018-09-10Add mdoc syntax fileJune McEnroe 2018-09-08Fix Nm usage in multi-name man pagesJune McEnroe 2018-09-08Put real dates on man pagesJune McEnroe 2018-09-08Replace gfx README with REAMDE.7June McEnroe 2018-09-08Link gfx man pages in ~/.localJune McEnroe