all repos — dotfiles @ 930f74852db1f3b0507c500d0f0abf31b5013a93

my *nix dotfiles

del icyup.py
icyphox icyph0x@protonmail.com
Tue, 30 Jan 2018 18:01:42 +0530
commit

930f74852db1f3b0507c500d0f0abf31b5013a93

parent

16b6ecca894c494bf693fc826996f2f84f8278f8

1 files changed, 0 insertions(+), 21 deletions(-)

jump to
D scripts/icyup.py

@@ -1,21 +0,0 @@

-#!/usr/bin/python - -import string -import sys -import os -from random import * -import subprocess - -# generate random string -st = string.ascii_letters + string.digits -rand_st = ''.join(choice(st) for x in range(6)) - -local_file = sys.argv[1] -ext = os.path.splitext(local_file)[1] -remote_file = '/home/icy/upload/' + rand_st + ext - -#scp_cmd = 'scp ' + local_file + ' boop:' + remote_file -p = subprocess.Popen(['scp', '-r', local_file, '%s' % ('boop: ') , remote_file], bufsize=2048) -p.wait() - -print('https://xix.ph0x.me/' + rand_st + ext)