Quick and dirty ix.io alternative for when ix is down or something - Completely backend free (requires ssh/cat and a webserver) - Assumes keyless auth

Sign up for a GitHub account Sign in All Gists Hamcha / ppio Created August 16, 2014 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav Quick and dirty ix.io alternative for when ix is down or something - Completely backend free (requires ssh/cat and a webserver) - Assumes keyless auth View ppio ppio Raw File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 #!/bin/sh SERVER_USER=<<your ssh user>> SERVER_HOST=<<your ssh server address>> PUBLIC_PATH="<<public url (ie https://myhost/pastes/)>>" SERVER_PATH="<<server path (ie /var/www/pastes/)>>" SERVER_FLAGS="<<additional flags (ex. custom ssh port)>>" HASH=$(date +%s%N | shasum | head -c7) ssh...

Linked on 2014-08-17 03:54:13 | Similar Links