Skip to content

Instantly share code, notes, and snippets.

@youpy
youpy / echoHttpRequest.js
Last active August 29, 2015 14:08 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
http://itpro.nikkeibp.co.jp/word/
http://ceron.jp/
http://tweetbuzz.jp/
http://wadaino.jp/
http://eimg.jp/
http://d.hatena.ne.jp/keyword/
http://clip.livedoor.com/site/
http://b.hatena.ne.jp/entry/
http://friendfeed.com/
http://e-words.jp/
@youpy
youpy / google-plus.js
Created July 18, 2011 17:28 — forked from teramako/google-plus-imageuploader.js
[Vimperator-plugin]Google+ Poster
let INFO = <>
<plugin name="GooglePlusPoster" version="0.1"
summary="Post to Google+"
lang="en-US"
xmlns="http://vimperator.org/namespaces/liberator">
<author email="teramako@gmail.com">teramako</author>
<license>MPL 1.1</license>
<project name="Vimperator" minVersion="3.0"/>
<item>
<tags>:googleplus-setup</tags>
// ==UserScript==
// @name Kill Ustream Socialstream
// @namespace http://aspietribe.com/
// @include http://www.ustream.tv/channel/*
// ==/UserScript==
var $ = unsafeWindow.jQuery, f = ($('iframe.socialstream').length ? $('iframe.socialstream')[0] : $('#twitter iframe').length ? $('#twitter iframe')[0] : {});
f.src = '';
@youpy
youpy / banner.rb
Created May 24, 2010 19:40 — forked from ucnv/rt.rb
# http://github.com/youpy/pimento/blob/master/examples/banner.rb
// ==UserScript==
// @name tweets_filter
// @namespace http://www.relucks.org/
// @include http://twitter.com/
// ==/UserScript==
var re = /(4sq.com|htn.to|tou.ch|shindanmaker.com)/
// var re = /(4sq.com|#example)/
filter(document)
#!/usr/bin/env ruby
# Usage: ./translator.rb -t yi あれ、今日日食?
require 'ubygems'
require 'grope'
require 'optparse'
@env = Grope::Env.new
@env.load 'http://translate.google.com/'
@youpy
youpy / spam.rb
Created December 15, 2009 19:09 — forked from ucnv/spam.rb
require 'rubygems'
require 'mechanize'
def main
# e.g. http://youpy.jottit.com/dajare
url = ARGV.shift
a = WWW::Mechanize.new { |agent|
agent.user_agent_alias = 'Mac FireFox'
}
// ==UserScript==
// @name wescript show twitter icon
// @namespace http://taizooo.tumblr.com/
// @description show twitter icon on wescript
// @include http://wescript.net/*
// @require http://gist.github.com/raw/3242/9dc0cdee5e975d275c7ab71f581d272eb316674f/dollarX.js
// ==/UserScript==
// respect http://beta.wescript.net/scripts/3124
// thx!!! mattn (http://mattn.kaoriya.net/)
// icon from http://usericons.relucks.org/
@youpy
youpy / gist_link_user_js.user.js
Created November 19, 2008 10:52 — forked from hotchpotch/gist_link_user_js.user.js
gist.user.js with fixed script URL