From 214c3ed2f7a0c86492c624abb42c5229c7e645aa Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Fri, 14 Apr 2023 07:54:42 +0200 Subject: [PATCH] Update 2023-04-14 07:54 OpenBSD/amd64 --- .bin/lspaste | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.bin/lspaste b/.bin/lspaste index 1cf20d3..35c6270 100755 --- a/.bin/lspaste +++ b/.bin/lspaste @@ -1,6 +1,2 @@ #!/bin/sh -. $HOME/.bin/_config - -ssh $USER@$DOMAIN "cd $RPATH/p && ls -tr1 | xargs file --mime-type" \ - | awk -F'[ :]*' -v url="https://$DOMAIN" \ - '{if ($2 ~ /^image/) { print url"/I/p/"$1 } else { print url"/0/p/"$1 }}' +curl -s https://codevoid.de/1/p/all.dcgi | cut -d'"' -f2 | grep '^/' | xargs -n1 -I{} echo "https://codevoid.de{}" | less