Skip to content

Instantly share code, notes, and snippets.

@retlet
retlet / endless_summer_on_dsbd.user.js
Created March 31, 2011 05:26
リダイレクトで転けてたのでgist.github.comをhttpsに修正
// ==UserScript==
// @name Endless Summer on dsbd
// @namespace http://www.tumblr.com/
// @description random next link on tumblr dashboard
// @include http://www.tumblr.com/dashboard/1*
// @include http://www.tumblr.com/show/*/1*
// @require https://gist.github.com/3242.txt
// @require https://gist.github.com/198443.txt
// @require https://gist.github.com/34615.txt
// @version 0.0.4.0.2
// ==UserScript==
// @name amazon_short_url
// @namespace http://cherenkov.vox.com
// @include http://www.amazon.co.jp/*
// ==/UserScript==
(function(){
var asin = document.getElementById('ASIN');
// ==UserScript==
// @name LDR with Social Bookmark Count Images
// @namespace http://shinten.info/
// @include http://reader.livedoor.com/reader/*
// @include http://fastladder.com/reader/*
// ==/UserScript==
// based on http://la.ma.la/blog/diary_200610182325.htm
// based on http://d.hatena.ne.jp/tnx/20060716/1152998347
// based on http://tokyoenvious.xrea.jp/b/web/livedoor_reader_meets_hatebu.html
@retlet
retlet / ldrtombloo.user.js
Created March 31, 2011 08:29
toStringパッチ入れた
// ==UserScript==
// @name LDR + Tombloo
// @namespace http://userscripts.org/users/7010
// @updateURL http://userscripts.org/scripts/source/23537.user.js
// @include http://reader.livedoor.com/reader/*
// @include http://fastladder.com/reader/*
// ==/UserScript==
GM_addStyle(<><![CDATA[
@retlet
retlet / pixiv_staccfeed_illust_larger.user.js
Created April 22, 2011 11:31
ぴくしぶすたっくふぃーどのいらすとをおおきくするよ
// ==UserScript==
// @name pixiv staccfeed illust larger
// @version 0.2
// @author retlet
// @namespace http://retlet.net/
// @description nya-n.
// @include http://www.pixiv.net/stacc/*
// ==/UserScript==
(function(){
$ sudo gem install sqlite3-ruby
audit_log_user_command(): Connection refused
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... no
# bundle exec ruby fig.rb
/home/retlet/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-1.6.0/lib/active_record/support/clean_logger.rb:5:in `remove_const': constant Logger::Format not defined (NameError)
from /home/retlet/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-1.6.0/lib/active_record/support/clean_logger.rb:5
from /home/retlet/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-1.6.0/lib/active_record.rb:28:in `require'
from /home/retlet/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-1.6.0/lib/active_record.rb:28
from ./lib/facebook_irc_gateway/server.rb:10:in `require'
from ./lib/facebook_irc_gateway/server.rb:10
from ./lib/facebook_irc_gateway.rb:1:in `require'
from ./lib/facebook_irc_gateway.rb:1
from fig.rb:13:in `require'
# bundle exec ruby fig.rb
/home/retlet/fig/lib/facebook_irc_gateway/server.rb:19: warning: already initialized constant VERIFY_PEER
(in /home/retlet/fig)
== CreateSettings: migrating =================================================
-- create_table(:settings)
-> 0.0016s
== CreateSettings: migrated (0.0017s) ========================================
== CreateDuplications: migrating =============================================
-- create_table(:duplications)
@retlet
retlet / QB.js
Created June 22, 2011 13:37 — forked from anekos/QB.js
( ◕ ‿‿ ◕ )
/* NEW BSD LICENSE {{{
Copyright (c) 2011, anekos.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,