Skip to content

Instantly share code, notes, and snippets.

@johncant
johncant / comcast.js
Created November 19, 2015 12:24 — forked from Jarred-Sumner/comcast.js
Comcast injects this into webpages to show copyright notices
// Comcast Cable Communications, LLC Proprietary. Copyright 2014.
// Intended use is to display browser notifications for critical and time sensitive events.
var _ComcastAlert = (function(){
return {
SYS_URL: '/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'
, dragObj: {zIndex: 999999}
, browser: null
, comcastCheck: 1
, comcastTimer: null
, xmlhttp: null
##!/usr/bin/env python3
#
#import urllib.request
#
## Read XML from TFL website
#
#url = 'http://cloud.tfl.gov.uk/TrackerNet/LineStatus'
#response = urllib.request.urlopen(url)
#xml = response.read().decode('utf-8')
#
@johncant
johncant / picasso
Created October 23, 2013 17:43 — forked from lalaalaaa/picasso
"If you know exactly what you're going to do, what's the good of doing it? Since you know, the exercise is pointless. It is better to do something else."
-- Picasso