Skip to content

Instantly share code, notes, and snippets.

View abraham's full-sized avatar
thanks a latte

Abraham Williams abraham

thanks a latte
View GitHub Profile
@abraham
abraham / app.py
Created June 30, 2012 21:50
Simple bottlepy app to server an index.html file and static assets
from bottle import get, run, template, static_file, debug
@get('/')
def index(name='World'):
# return "I/O I/O it's off to hack we go"
return template('index.html')
@get('/static/<filename:path>')
def get_static(filename):
return static_file(filename, root='static')
$ curl https://www.coursera.org/course/crypto?_escaped_fragment=
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#" itemtype="http://schema.org">
<head>
<meta charset="utf-8"/>
<meta name="fragment" content="!"/>
<meta property="og:title" content="Coursera"/>
<meta property="og:type" content="website"/>
<meta property="og:image" content="http://s3.amazonaws.com/coursera/media/AllBooks.png"/>
@abraham
abraham / dart.txt
Created November 16, 2011 00:40 — forked from paulmillr/dart.md
Leaked internal google dart email
---------- Forwarded message ----------
From: Mark S. Miller <erights@google.com>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: javascript-standard@google.com
On November 10th and 11th, a number of Google teams representing a variety
of viewpoints on client-side languages met to agree on a common vision for
the future of Javascript.
@abraham
abraham / privacy.txt
Created October 14, 2011 22:11
Search+ for Google Chrome
Search+ for Google Chrome Privacy Policy
========================================
No personally identifiable information is collected, stored, or used by Search+.
--
If you have any questions or comments please contact privacy@abrah.am.
@abraham
abraham / dart.txt
Created October 10, 2011 19:54 — forked from paulmillr/dart.md
Leaked internal google dart email
---------- Forwarded message ----------
From: Mark S. Miller <erights@google.com>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: javascript-standard@google.com
On November 10th and 11th, a number of Google teams representing a variety
of viewpoints on client-side languages met to agree on a common vision for
the future of Javascript.
export PS1="\n$ "
alias ls="ls -la"
GET http://intersect.api.abrah.am/v1/intersect.json?screen_name=abraham,therealcaro
{
"common_friends": [ ],
"common_followers": [ ],
"abraham_friends_following_therealcaro": [ ],
"therealcaro_friends_following_abraham": [{
"follow_request_sent": false,
"following": false,
"friends_count": 22,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML5 boilerplate—all you really need…</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE]>
<!--<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>-->T
<![endif]-->
</head>
// ==UserScript==
// @match http://*/*
// @match http://*.google.com/*
// @match http://www.google.com/*
// ==/UserScript==
console.log('test');