This file contains hidden or 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
jQuery(function($){ | |
if(!/job/.test(location.href)){ | |
return; | |
} | |
var favicon = $('<link />').attr({ | |
rel: 'shortcut icon', | |
type: 'image/gif' | |
}).appendTo('head'); | |
var _src = null; |
This file contains hidden or 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 'fileutils' | |
require 'digest/md5' | |
def main | |
file = "/Users/po/Dropbox/Public/g/#{Digest::MD5.hexdigest(Time.now.to_f.to_s)}.png" | |
url = 'https://dl.dropboxusercontent.com/u/275354/g/' + File.basename(file) | |
FileUtils.mkdir_p File.dirname(file) |
This file contains hidden or 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.host == 'bodybrowser.googlelabs.com') && req.path =~ %r{/r3/assets/textures/} | |
res.body.gsub!(/0/m, rand(10).to_s) | |
res['cache-control'] = 'no-cache' | |
end |
This file contains hidden or 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 Yet Another Do Sleep | |
// @namespace http://gist.github.com/saneyuki | |
// @include about:blank | |
// @developper saneyuki | |
// ==/UserScript== | |
// original : http://gist.github.com/319600 | |
(function(){ | |
const data = 'data:audio/mpeg;base64,'+ |