Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
url=$1
cookie=$2
while ! `wget -c -t 0 --load-cookies=$cookie $url -O $fileName --no-check-certificate`
do
sleep 300
echo `date` " try to download..."
done
@santiago26
santiago26 / 0_reuse_code.js
Created November 14, 2013 18:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/usr/bin/env ruby
# Jabber-SH — SH console via XMPP/Jabber (GTalk)
#
# Jabber-SH allows you to administrate a remote computer via a command line
# through a Jabber client. It’s like SSH via GoogleTalk! :)
# This is just a hack but it might be usefull sometime to run basic commands
# on a machine that is not accessible via ssh.
#
# Philippe Creux. pcreux/AT/gmail/DOT/com