This file contains hidden or 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 -*- | |
# toppo tweet / earthquake plugin | |
# | |
# e.g. :toppo てすと => てすと。その点... | |
# | |
Earthquake.init do | |
command :toppo do |m| | |
input("#{m[1]}。その点トッポってすげぇよな、最後までチョコたっぷりだもん。") | |
end | |
end |
This file contains hidden or 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 -*- | |
# omikuji tweet / earthquake plugin | |
# 浅草寺(東京) | |
# e.g. :omikuji #=> おみくじ:[運勢] | |
# | |
Earthquake.init do | |
command :omikuji do | |
s = "おみくじ:" | |
case rand(101) | |
when 0 .. 17 |
This file contains hidden or 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 -*- | |
# gohan tweet / earthquake plugin | |
# e.g. :gohan #=> 神は言っている。今日は[料理名]を食えと。。。 | |
# | |
Earthquake.init do | |
command :gohan do | |
s = "神は言っている。今日は" | |
food= ["ラーメン","うどん","カレー","牛丼","モス","あまから","焼き飯"] | |
i = rand(food.size) | |
s << food[i] << "を食えと。。。" |
This file contains hidden or 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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("http://apps.facebook.com/cityville/"){ | |
#rightCol,#contentCurve,#footerContainer { | |
display:none !important; | |
} | |
} | |
@-moz-document url-prefix("http://fb-0.cityville.zynga.com/"){ | |
#zbar,.like_box,#ad,#zap-banner { |
This file contains hidden or 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 -*- | |
# superdry tweet / earthquake plugin | |
# | |
# superdry: http://shindanmaker.com/43570 | |
# | |
require 'httpclient' | |
Earthquake.init do | |
command :asahi do | |
url = "http://shindanmaker.com/43570" |
This file contains hidden or 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 -*- | |
# ogyohee tweet / earthquake plugin | |
# | |
# ogyohee: http://shindanmaker.com/152454 | |
# | |
require 'httpclient' | |
Earthquake.init do | |
command :byunogyo do | |
url = "http://shindanmaker.com/152454" |
This file contains hidden or 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 -*- | |
# superdry tweet / earthquake plugin | |
# | |
# superdry: http://shindanmaker.com/43570 | |
# | |
require 'httpclient' | |
Earthquake.init do | |
command :byunasahi do | |
url = "http://shindanmaker.com/43570" |
This file contains hidden or 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 -*- | |
# gyaku tweet | |
# | |
# e.g. :gyaku hoge => egoh | |
# reverseと一緒にしたいけどスキルなくて無理だったおversion | |
Earthquake.init do | |
command %r|^:gyaku\s*(\d+)*\s+(.+)$|, :as => :gyaku do |m| | |
text = m[2] | |
input text.split(//).reverse.join | |
end |
This file contains hidden or 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 -*- | |
# cola tweet / earthquake plugin | |
# | |
# e.g. :cola うまい #=> コうまいーラ | |
# | |
Earthquake.init do | |
command :cola do |m| | |
input(":update コ#{m[1]}ーラ") | |
end | |
end |
This file contains hidden or 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 -*- | |
# trans tweet / earthquake plugin | |
# e.g. :trans おはよう => Good morning | |
# :trans fr おはよう => Bonjour | |
# 使えるらしい言語 | |
# ar bg zh-CHS zh-CHT cs da nl en et fi fr de el ht he | |
# hu id it ja ko lv lt no pl pt ro ru sk sl es sv th tr uk vi | |
# | |
# appid取得 http://www.bing.com/developers/appids.aspx | |
# |
OlderNewer