I hereby claim:
- I am mgingras on github.
- I am mpg (https://keybase.io/mpg) on keybase.
- I have a public key ASDAxrlLh0ir9cdOC5EVUB_hAXiajRFHdMkI3vcip2VLzQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import re | |
import gevent | |
from gevent import socket, ssl | |
def verify_ssl(url): | |
if url.find('https://') == -1: | |
raise Exception('Expects https url for ssl connection') | |
def split_url_into_host_and_path(url): |
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |