diff options
Diffstat (limited to 'home/.local/bin')
-rwxr-xr-x | home/.local/bin/hup | 7 | ||||
-rwxr-xr-x | home/.local/bin/sup | 8 | ||||
-rwxr-xr-x | home/.local/bin/tup | 7 | ||||
-rwxr-xr-x | home/.local/bin/up | 12 |
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 |