Skip to content

Instantly share code, notes, and snippets.

View noestreich's full-sized avatar

noestreich

  • Berlin
View GitHub Profile
#!/bin/sh
# Some things taken 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'
green='\033[0;32m'
#!/bin/sh
# Some things taken 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'
green='\033[0;32m'
@noestreich
noestreich / itunes_festival.py
Created August 4, 2011 15:07 — forked from jrave/itunes_festival.py
Quick and Dirty script to automate some stuff for the itunes festival streams
import urllib2
import re
url = ''
host='http://streaming.itunesfestival.com'
def get_token():
sub = url.find('?token=')
return url[sub:]