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
# -*- coding: utf-8 | |
miquire :addon, 'addon' | |
miquire :core, 'environment' | |
miquire :addon, 'settings' | |
require 'net/http' | |
module Net | |
class <<HTTP | |
alias new_org new |
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 favstarfix | |
// @version 1.0 | |
// @namespace http://toshia.dip.jp/gm/favstarfix | |
// @description favstar display issue fix | |
// @include http://favstar.fm/* | |
// ==/UserScript | |
window.addEventListener('DOMContentLoaded', function(e){ | |
if( !document.body ) { return; } |
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 favstarfix | |
// @version 1.1 | |
// @namespace http://toshia.dip.jp/gm/favstarfix | |
// @description favstar display issue fix | |
// @include http://favstar.fm/* | |
// ==/UserScript | |
window.addEventListener('DOMContentLoaded', function(e){ | |
if( !document.body ) { return; } |
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
#name : ルイズコピペ | |
#ここからもらってきた http://azunyan.sitemix.jp/kunkakunka/kunkakunka.php | |
# -- | |
${1:ルイズ}!$1!$1!$1ぅぅうううわぁああああああああああああああああああああああん!!! | |
あぁああああ…ああ…あっあっー!あぁああああああ!!!$1$1$1ぅううぁわぁああああ!!! | |
あぁクンカクンカ!クンカクンカ!スーハースーハー!スーハースーハー!いい匂いだなぁ…くんくん | |
んはぁっ!${2:ルイズ・フランソワーズ}たんの${3:桃色ブロンド}の髪をクンカクンカしたいお!クンカクンカ!あぁあ!! | |
間違えた!モフモフしたいお!モフモフ!モフモフ!髪髪モフモフ!カリカリモフモフ…きゅんきゅんきゅい!! | |
${5:小説}${6:11巻}の$1たんかわいかったよぅ!!あぁぁああ…あああ…あっあぁああああ!!ふぁぁあああんんっ!! | |
${7:アニメ}${8:2期}決まって良かったね$1たん!あぁあああああ!かわいい!$1たん!かわいい!あっああぁああ! |
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
# -*- coding: utf-8 -*- | |
# say "よるほー" | |
# よるほーの例です。あくまでReserverのデモンストレーション用に作りました。 | |
# なので実戦投入はしないこと。よるほーは自分でタイミングを合わせることにこそ意義があるのです。 | |
Plugin.create(:yoruho) do | |
class << self | |
def main | |
Reserver.new(nextyrhtime){ | |
say_yoruho() |
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
# -*- coding: utf-8 -*- | |
miquire :addon, 'addon' | |
miquire :core, 'environment' | |
miquire :addon, 'settings' | |
Plugin::create(:set_view) do | |
settings("表示") do | |
settings('フォント') do | |
fontcolor 'デフォルトのフォント', :mumble_basic_font, :mumble_basic_color | |
fontcolor'リプライ元のフォント', :mumble_reply_font, :mumble_reply_color |
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
# -*- coding: utf-8 -*- | |
miquire :addon, 'addon' | |
miquire :core, 'environment' | |
miquire :addon, 'settings' | |
Module.new do | |
container = Gtk::VBox.new(false, 8). | |
closeup(Mtk.group('フォント', | |
Mtk.fontcolorselect(:mumble_basic_font, :mumble_basic_color, 'デフォルトのフォント'), |
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
{ | |
"twitpic": { | |
"url": "^http://twitpic\\.com/[a-zA-Z0-9]+", | |
"attribute": { | |
"id": "photo-display" | |
} | |
}, | |
"yfrog": { | |
"url": "^http://yfrog\\.com/[a-zA-Z0-9]+", | |
"attribute": { |
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
# ある整数aを整数倍して別の整数b (a<b) に近づけるとき何倍すれば最もbに近い整数になるかがわかるアルゴリズムとは | |
def expect(expect, result) | |
expect == result end | |
def are(a, b) | |
c = b / a # => 3, 7, 2 | |
(a*c - b).abs > (a*(c+1) - b).abs ? c+1 : c # => 3, 7, 3 | |
end |
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
Plugin.create(:mark_user) do | |
filter_message_font_color do |mp, color| | |
if("toshi_a" == mp.to_message.user[:idname]) | |
[mp, [65535, 0, 0]] end end | |
end |
OlderNewer