commit 80a5d4516f6a011a8df9a6b43a765d42b7743b5b Author: Aoi K Date: Fri Nov 11 20:29:24 2022 -0300 Initial payload Signed-off-by: Aoi K diff --git a/DPL-2.3 b/DPL-2.3 new file mode 100644 index 0000000..fea1963 --- /dev/null +++ b/DPL-2.3 @@ -0,0 +1,15 @@ +Discordian Public License 2.3 (DPL-2.3) + +All Rites Reversed (ΔΈ) 3188 Aoi Koizumi [Champagne Supernova the 1st Magician of Chaotic Confusion] + +Permission is hereby granted, to any person obtaining a copy of this +material without restriction, including but not limited the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the material, subject to the following conditions: + +YOU AGREE THAT THERE IS NO GODDESS BUT GODDESS AND SHE IS YOUR GODDESS & +THAT THERE IS NO ERISIAN MOVEMENT BUT THE ERISIAN MOVEMENT AND IT IS THE +ERISIAN MOVEMENT. + +HAIL ERIS! +FIVE TONS OF FLAX diff --git a/README b/README new file mode 100644 index 0000000..dcbc78e --- /dev/null +++ b/README @@ -0,0 +1,4 @@ +git-crap +======== +Let's git some free crap! +These scripts are sort of inspired by git-send-email & co. diff --git a/git-send-paste b/git-send-paste new file mode 100644 index 0000000..1e0ccf6 --- /dev/null +++ b/git-send-paste @@ -0,0 +1,24 @@ +#!/bin/sh + +usage() { + printf "Usage: %s --diff= --paste=\n" "${0##/*}" +} + +for arg; do + case $arg in + -h) usage ;; + --diff=*) diff=${arg#*=} ;; + --paste=*) paste=${arg#*=} ;; + *-*) printf "Unknown option: %s\n" "$arg" ;; + *=*) export "${arg:?}" ;; + *) printf "Unknown argument: %s\n" "$arg" ;; + esac +done + +if [ -z $diff && -z $paste ]; then + usage + exit 1 +else + printf "Sending patch file %s to endpoint %s\n" "${diff}" "${paste}" + cat $diff | nc $paste 9999 +fi diff --git a/mkfile b/mkfile new file mode 100644 index 0000000..2762342 --- /dev/null +++ b/mkfile @@ -0,0 +1,6 @@ +PREFIX=/usr/local + +install: + install -m0755 git-send-paste $PREFIX/bin/git-send-paste +uninstall: + rm -f $PREFIX/bin/git-send-paste