summary refs log tree commit diff
path: root/home/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'home/.local/bin')
-rwxr-xr-xhome/.local/bin/hup7
-rwxr-xr-xhome/.local/bin/sup8
-rwxr-xr-xhome/.local/bin/tup7
-rwxr-xr-xhome/.local/bin/up12
4 files changed, 0 insertions, 34 deletions
diff --git a/home/.local/bin/hup b/home/.local/bin/hup
deleted file mode 100755
index 4fc5d7ae..00000000
--- a/home/.local/bin/hup
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-set -eu
-
-dir=$(mktemp -d)
-hi -f html -o document,tab=4 "$@" > "$dir/hi.html"
-up "$dir/hi.html"
-rm -r "$dir"
diff --git a/home/.local/bin/sup b/home/.local/bin/sup
deleted file mode 100755
index 33b268c8..00000000
--- a/home/.local/bin/sup
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e -u
-
-dir=$(mktemp -d)
-screencapture -i "$dir/capture.png"
-type pngo > /dev/null && pngo "$dir/capture.png"
-up "$dir/capture.png"
-rm -r "$dir"
diff --git a/home/.local/bin/tup b/home/.local/bin/tup
deleted file mode 100755
index 543038da..00000000
--- a/home/.local/bin/tup
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-set -e -u
-
-dir=$(mktemp -d)
-cat > "$dir/input.txt"
-up "$dir/input.txt"
-rm -r "$dir"
diff --git a/home/.local/bin/up b/home/.local/bin/up
deleted file mode 100755
index 4f832a3c..00000000
--- a/home/.local/bin/up
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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