Add nostromo filesz
j3s j3s@cyberia.club
Sun, 01 Dec 2019 16:00:19 -0600
3 files changed,
24 insertions(+),
0 deletions(-)
A
bin/nostromo/pastesrv
@@ -0,0 +1,4 @@
+#!/bin/sh + +ssh c3f.net "cat > /usr/share/nginx/paste/$1" +echo "https://p.c3f.net/$1"
A
bin/nostromo/scr
@@ -0,0 +1,7 @@
+#!/bin/sh + +if [ "$1" = "" ]; then + grim -g "$(slurp)" "$HOME/pix/ss/$(date +%s).png" +elif [ "$1" = "stdout" ]; then + grim -g "$(slurp)" -t png - +fi
A
bin/nostromo/taste
@@ -0,0 +1,13 @@
+for fgbg in $(seq 38 48) ; do # Foreground / Background + for color in $(seq 238 255) ; do # Colors + # Display the color + printf "\e[${fgbg};5;%sm %3s \e[0m" $color $color + # Display 6 colors per lines + if [ $((($color + 1) % 6)) == 4 ] ; then + echo # New line + fi + done + echo # New line +done + +exit 0