This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
css for basic tilt-to-sort | |
works on wikipedia & other sites that use "tablesorter" jquery plugin | |
use https://stylebot.dev/ (or something like that) to apply it automatically | |
*/ | |
th.headerSort { | |
background-image: none !important; | |
padding-right: 0.4em !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Latest Tweets Only | |
// @description Automatically switches from "Top Tweets" to "Lastest Tweets" (whenever Twitter switches you back). | |
// @match https://twitter.com/home | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
setTimeout(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"objects":{"id1vxdlmiexykvdd1":{"editingElement":{"__ref":"idhytis7iexym1l44p"},"selectedParticularElement":null,"createPanelElements":[{"__ref":"Rectangle"},{"__ref":"Circle"},{"__ref":"Text"},{"__ref":"idghkzfsiexykvcl0"},{"__ref":"idhytis7iexym1l44p"}],"id":"id1vxdlmiexykvdd1","__proto":{"__ref":"Project"}},"idhytis7iexym1l44p":{"_master":{"__ref":"Group"},"_variants":[{"__ref":"idl0u3jxiexynxfo9"}],"_parent":null,"_children":[{"__ref":"idn602z4iexym1lb4q"},{"__ref":"idmd7ufmiexymbbl4w"},{"__ref":"id49wvvoiexymjfe5c"},{"__ref":"idmv4rh0iexyn2ce0"},{"__ref":"idl0u3jxiexynxfo9"},{"__ref":"idainn28iexyo5pbdt"},{"__ref":"idudy1bkiexyokw2dw"}],"_head":{"__ref":"idhytis7iexym1l44p"},"_isHatched":true,"expanded":true,"id":"idhytis7iexym1l44p","label":"Bouncer","viewMatrix":{"__ref":"idg6cm9uiexz5rdo1"},"__proto":{"__ref":"Group"}},"idl0u3jxiexynxfo9":{"_master":{"__ref":"idhytis7iexym1l44p"},"_variants":[{"__ref":"idaedo1hiexyny8di"}],"_parent":{"__ref":"idhytis7iexym1l44p"},"_children":[{"__ref":"id02zmxwiexynx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib, Image, ImageDraw, ImageFont, cStringIO, time | |
def im_from_url(url): | |
data = urllib.urlopen(url).read() | |
return Image.open(cStringIO.StringIO(data)) | |
url_template = ("http://mt1.google.com/vt?hl=en&lyrs=m,traffic|" + | |
"seconds_into_week:%i&x=%i&y=%i&z=10&style=15") | |
# used to have "h@163315395" instead of "m" |