scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit cdb18efbc6d8238f115e8d68a36edafabca3fcd4
parent f34e080b12ae1d5f8abd20dec412fd236744ecc8
Author: sin <sin@2f30.org>
Date:   Thu, 12 Apr 2018 13:13:24 +0100

sprunge is dead, use ix

Diffstat:
Aix | 13+++++++++++++
Dsprunge | 13-------------
2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/ix b/ix @@ -0,0 +1,13 @@ +#!/bin/sh + +# upload text to ix.io + +PASTE() { + curl -F 'f:1=<-' ix.io +} + +if test -z "$1"; then + cat - | PASTE +else + cat "$1" | PASTE +fi diff --git a/sprunge b/sprunge @@ -1,13 +0,0 @@ -#!/bin/sh - -# upload text to sprunge.us - -SPRUNGE() { - curl -F 'sprunge=<-' http://sprunge.us -} - -if test -z "$1"; then - cat - | SPRUNGE -else - cat "$1" | SPRUNGE -fi