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
/* | |
* Prompts for the URL of a script, then creates a bookmarklet to load and run the script. | |
* | |
* javascript:(function(u) {u=prompt('Script URL');u&&prompt('Bookmarklet', 'javascript:(function(d,s){s=d.createElement("script");s.src="'+u.replace(/^https?:/,'')+'?cb="+Math.random();d.body.appendChild(s)})(document)') })() | |
*/ | |
(function(u) { | |
u = prompt('Script URL'); | |
u && prompt('Bookmarklet', | |
'javascript:(function(d,s){s=d.createElement("script");s.src="' + | |
u.replace(/^https?:/,'') + |
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 Github - package.json/bower.json dependency linker | |
// @version 0.0.2 | |
// @namespace http://spiralx.org/github-npm-autolink | |
// @author James Skinner <spiralx@gmail.com> http://userscripts.org/users/55684 | |
// @description When viewing a package.json file, automatically links dependencies to their NPM page | |
// @include https://github.com/*/package.json | |
// @include https://github.com/*/bower.json | |
// @run-at document-end | |
// @grant unsafeWindow GM_xmlhttpRequest |
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== | |
// @id facebook-so-what@spiralx.org | |
// @name Facebook So Hwæt | |
// @version 0.0.1 | |
// @namespace http://spiralx.org/facebook-what | |
// @author James Skinner <spiralx@gmail.com> http://github.com/spiralx | |
// @match https://*.facebook.com/* | |
// @match https://facebook.com/* | |
// @exclude */ai.php* | |
// @run-at document-end |
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
/*! | |
* @license jquery-mutation-summary | |
* Copyright © 2012, 2013, 2014, Joel Purra <http://joelpurra.com/> | |
* Released under MIT, BSD and GPL license. Comply with at least one. | |
* | |
* A jQuery wrapper/plugin for mutation-summary, the DOM mutation-observers wrapper. | |
* http://joelpurra.github.com/jquery-mutation-summary | |
* | |
* "Mutation Summary is a JavaScript library that makes observing changes to the DOM fast, easy and safe." | |
* http://code.google.com/p/mutation-summary/ |
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
body { | |
font: 12px/1.5 Consolas,monospace; | |
} | |
h3 a { | |
font-size: 1.2em; | |
color: #000; | |
} | |
a { | |
display: inline-block; |
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
;(function(name, definition) { | |
var moduleObj = definition(); | |
// AMD Module | |
if (typeof define === 'function') { | |
define(moduleObj); | |
} | |
// CommonJS Module | |
else if (typeof module !== 'undefined' && module.exports) { | |
module.exports = moduleObj; |
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
code[class*=language-],pre[class*=language-]{color:#fff;direction:ltr;font-family:Consolas,Monaco,'Andale Mono',monospace;text-align:left;text-shadow:0 -.1em .2em #000;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none} | |
:not(pre)>code[class*=language-],pre[class*=language-]{background:#141414} | |
pre[class*=language-]{border-radius:.5em;border:.3em solid #545454;box-shadow:1px 1px .5em #000 inset;margin:.5em 0;overflow:auto;padding:1em} | |
code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:hsla(0,0%,93%,.15)} | |
code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:hsla(0,0%,93%,.15)} | |
:not(pre)>code[class*=language-]{border-radius:.3em;border:.13em soli |
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 argparse | |
import re | |
from multiprocessing.pool import ThreadPool as Pool | |
import requests | |
import bs4 | |
root_url = 'http://pyvideo.org' | |
index_url = root_url + '/category/50/pycon-us-2014' | |
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
/* | |
* Facebox (for jQuery) | |
* version: 1.3 | |
* @requires jQuery v1.2 or later | |
* @homepage https://github.com/defunkt/facebox | |
* | |
* Licensed under the MIT: | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
* Copyright Forever Chris Wanstrath, Kyle Neath |
OlderNewer