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 ruby | |
require 'ubygems' | |
require 'grope' | |
require 'RMagick' | |
class Grope::WSOWrapper | |
def undefined? | |
@wso.class.to_s == 'OSX::WebUndefined' | |
end | |
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
// ==UserScript== | |
// @name tweets_filter | |
// @namespace http://www.relucks.org/ | |
// @include http://twitter.com/ | |
// ==/UserScript== | |
var re = /./ | |
// var re = /(4sq.com|#example)/ | |
filter(document) |
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 DegradeTwitterIcons | |
// @namespace http://polog.org/ | |
// @include http://twitter.com/* | |
// @require http://gist.github.com/3242.txt | |
// @require http://www.bytestrom.eu/data/media/experiments/jpegencoder/examples/jpeg_encoder_basic.js | |
// ==/UserScript== | |
// using $X http://gist.github.com/3242 by os0x | |
function init(doc){ |
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 gist: replace title with filename | |
// @namespace http://d.hatena.ne.jp/youpy/ | |
// @include http://gist.github.com/* | |
// @exclude http://gist.github.com/gists | |
// @require http://gist.github.com/3242.txt | |
// ==/UserScript== | |
(function() { | |
var username = $X('id("owner")//a')[0].textContent; |
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 Streetview Thumbnail | |
// @namespace http://userscripts.org/users/ucnv | |
// @include http://maps.google.tld/maps* | |
// @include http://www.google.tld/maps* | |
// ==/UserScript== | |
var zoom = 1; // 0-3 | |
function makeLink(panoid) { | |
var mx = [[1, 1], [2, 1], [4, 2], [6, 4]]; |
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 ruby | |
require 'webrick' | |
require 'webrick/httpproxy' | |
handler = Proc.new() do |req,res| | |
if (req.path == '/glm/mmap' and res['content-type'] =~ /binary/) || | |
(req.host =~ /^cbk\d+\.google/ and res['content-type'] =~ /jpeg/) | |
#res.body.gsub!(/0/m, rand(10).to_s) | |
sos = res.body.index("\xFF\xDA") |
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 GlitchMonkey | |
// @namespace http://d.hatena.ne.jp/youpy/ | |
// @include * | |
// @require http://www.onicos.com/staff/iz/amuse/javascript/expert/inflate.txt | |
// ==/UserScript== | |
var Corruptions = { | |
'image/jpeg': function() { | |
return this.replace(/0/g, Math.floor(Math.random() * 10)); |