Skip to content

Instantly share code, notes, and snippets.

View negipo's full-sized avatar
😇
corpse

Yoshiteru Negishi negipo

😇
corpse
  • Tokyo
View GitHub Profile
jQuery(function($){
if(!/job/.test(location.href)){
return;
}
var favicon = $('<link />').attr({
rel: 'shortcut icon',
type: 'image/gif'
}).appendTo('head');
var _src = null;
@negipo
negipo / script
Last active September 26, 2015 05:27 — forked from youpy/script
/Applications/Gyazo.app/Contents/Resources/script
#!/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)
#!/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
// ==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,'+