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 Open 2ch in 2chbbsreader | |
// @namespace http://swdyh.yu.to/ | |
// @description loading next page and inserting into current page. | |
// @include http://www.google.co.jp/search* | |
// ==/UserScript== | |
// | |
// auther: masaakif | |
// version: 0.0.1 2009-01-14T09:52:07+09:00 | |
// |
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 Amazon Calil, MediaMarker and Yodobashi.com | |
// @namespace http://gist.github.com/xxxxx | |
// @description Add calil link, MediaMarker and Yodobashi.com link into Amazon book listing | |
// @include http://*.amazon.* | |
// @grant none | |
// ==/UserScript== | |
var DEBUG=true; | |
showLinksOnAmazon(); |
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 Media Maker | |
// @namespace http://gist.github.com/2156093 | |
// @description Add item to Media Maker | |
// @include http://*.amazon.* | |
// ==/UserScript== | |
// Version 20100312 | |
var DEBUG=true; |
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 MediaMarker Improvements | |
// @namespace http://gist.github.com/484213 | |
// @include http://mediamarker.net/* | |
// ==/UserScript== | |
// | |
if (0 < location.href.indexOf("reg?cat=")) clickRegisterBtn(); | |
libsearch(); |
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 YouTube HD Suite | |
// @namespace http://creazy.net/ | |
// @description Perfect package to enjoy HD videos in YouTube. Always watching or downloading the highest quality format ( 4K / HD 1080p / HD 720p / HQ FLV / MP4 iPod ). Add download icons in video list page. | |
// @include http://*.youtube.com/* | |
// @include https://*.youtube.com/* | |
// @include http://youtube.com/* | |
// @include https://youtube.com/* | |
// @exclude http://www.youtube.com/embed/* | |
// @exclude https://www.youtube.com/embed/* |
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 Add favicon for bbs2chreader | |
// @namespace http://gist.github.com/43714 | |
// @include http://127.0.0.1:8823/thread/http* | |
// ==/UserScript== | |
var AddFavicon = { | |
execute: function() { | |
var header = document.evaluate("//head/link", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
if (header) { |
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/local/rbenv/shims/ruby | |
require "open3" | |
def gen_export_dbus | |
pid = %x[ pgrep -u `whoami` gnome-panel ].chomp | |
dbus_address = "" | |
File.read("/proc/#{pid}/environ").split("\0").each do |line| | |
if /DBUS_SESSION_BUS_ADDRESS/ =~ line | |
dbus_address = line.split("=")[1..-1].join("=") |
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/bash | |
function export_variables | |
{ | |
pid=$(pgrep -u `whoami` gnome-panel ) | |
for dbusenv in $pid; do | |
DBUS_SESSION_BUS_ADDRESS=$( grep -z DBUS_SESSION_BUS_ADDRESS /proc/$pid/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//' ) | |
data="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" |
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
require "rubygems" | |
require "zipruby" | |
require "win32ole" | |
class ExcelUtil | |
def initialize | |
@xl = nil | |
@filename = nil | |
end |