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
/* Created with YouScript Bookmarklet Editor | |
* http://netj.github.com/youscript | |
*/ | |
var s = document.createElement("script"); | |
s.src = "http://code.jquery.com/jquery-latest.min.js"; | |
document.body.appendChild(s); |
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
/* Created with YouScript Bookmarklet Editor | |
* http://netj.github.com/youscript | |
*/ | |
if (m=location.href.match(/http:\/\/((.*\.)?ietf\.org\/(rfc|html)|(.*\.)?faqs\.org\/rfcs)\/(rfc[0-9]*)/i)) { | |
location="http://tools.ietf.org/html/"+m[m.length-1]; | |
} else { | |
alert("Unrecognized RFC URL: "+location.href); | |
} |
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
/* Created with YouScript Bookmarklet Editor | |
* http://netj.github.com/youscript/ | |
*/ | |
/* | |
Checking task logs from Hadoop MapReduce web UI is a pain. This bookmarklet saves a lot of clicks! Simply run this once from any page showing a table of tasks, and you'll see every task log on the same page. You can specify the amount of log to tail, and this will refresh every 30s. To circumvent web security, you need to run node-jsonp-proxy on your machine, available at: https://github.com/clintandrewhall/node-jsonp-proxy | |
*/ | |
var topRowsToExpand = localStorage.expandTaskLogs_topRowsToExpand || 100; | |
var tasklogFilter = localStorage.expandTaskLogs_tasklogFilter || "syslog"; |
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
/* Created with YouScript Bookmarklet Editor | |
* http://netj.github.com/youscript/ | |
*/ | |
var minWidth = 300; var minHeight = 200; | |
function getVideoElement(w) { | |
// find the HTML5 video, or other likely video containers | |
if (!w || !w.document || !w.document.getElementsByTagName) return null; | |
function findVideoElementFrom(vs) { | |
for (var i=0; i<vs.length; i++) { |
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
#!/usr/bin/env python | |
# A very primitive JSON-P proxy in Python | |
# Derived from Patric Fornasier's Blog: http://patforna.blogspot.com/2009/03/jsonp-proxy-server.html | |
# Made compatible with node-jsonp-proxy: https://github.com/clintandrewhall/node-jsonp-proxy | |
import urllib,re | |
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer | |
class RequestHandler(BaseHTTPRequestHandler): |
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
/* Created with YouScript Bookmarklet Editor | |
* http://netj.github.com/youscript/ | |
*/ | |
location="http://scholar.google.com/scholar"+location.search; |
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
joyent/node | |
v8/v8 | |
greasemonkey/greasemonkey | |
jquery/jquery | |
sstephenson/prototype | |
twitter/bootstrap | |
mbostock/d3 | |
DmitryBaranovskiy/raphael |
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
tree e6819163e76264f778efe7fcb480d0f108d3aaf5 | |
parent d2771a2c3e23bedf2018df1519b560873a0b35eb | |
author Jaeho Shin <netj@sparcs.org> Thu Dec 13 22:57:44 2012 -0800 | |
committer Jaeho Shin <netj@sparcs.org> Thu Dec 13 22:57:44 2012 -0800 | |
Fixed backslash handling in environment Change | |
diff --git a/ftplugin/latex-suite/envmacros.vim b/ftplugin/latex-suite/envmacros.vim | |
index edf97f7..3e1db37 100644 |
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
#!/bin/sh | |
Self=`readlink -f "$0"` | |
Here=`dirname "$Self"` | |
# | |
# Add extra JVM options here | |
# | |
OPTS="-Xms64m -Xmx256m" |
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
#!/usr/bin/env phantomjs | |
# wordcloud.coffee -- A phantomjs script for creating wordcloud images from | |
# command-line using Jason Davies' d3-cloud | |
# Usage: keyword=wordle ./wordcloud.coffee [OUTPUTPATH] | |
# Creates a wordcloud image at the given path OUTPUTPATH. | |
# OUTPUTPATH can be either a .png or .pdf. | |
# | |
# See: Jason Davies' d3-cloud demo <http://www.jasondavies.com/wordcloud/> | |
# | |
# Author: Jaeho Shin <netj@cs.stanford.edu> |