Skip to content

Instantly share code, notes, and snippets.

siyo siyo

Block or report user

Report or block siyo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hisaichi_tweet.rb
Earthquake.init do
command %r|^:hisaichi\s+(.+)$|, :as => :hisaichi do |m|
str = URI.escape(m[1])
response = Net::HTTP.get('www11268ue.sakura.ne.jp','/generator?text=' + str, 5001)
strings = JSON.parse(response)["text"]
input(strings)
end
end
# http://hisaichi5518.hatenablog.jp/entry/2013/07/09/111503
View teiji.rb
# -*- coding: utf-8 -*-
# teiji tweet / earthquake plugin
#
# src: http://shindanmaker.com/311937
#
require 'httpclient'
require 'nokogiri'
Earthquake.init do
command %r|^:teiji\s*(.+)?|, :as => :teiji do |m|
@siyo
siyo / favstar.rb
Last active Oct 11, 2015 — forked from morygonzalez/favstar.rb
favstar ふぁぼったりRTしたユーザ名も見るやつ(色つき + 発見) / earthquakge.gem plugin
View favstar.rb
# -*- coding: utf-8 -*-
# favstar / earthquakge.gem plugin
#
# option:
# -d : discovered
#
# e.g. :favstar #=> your favstar
# :favstar who #=> who's favstar
# :favstar -d #=> your discovered favstar
# :favstar -d who #=> who's dicovered favstar
@siyo
siyo / favstar.rb
Created Apr 8, 2012 — forked from hecomi/favstar.rb
favstar ふぁぼったりRTしたユーザ名も見るやつ(色つき) / earthquakge.gem plugin
View favstar.rb
# -*- coding: utf-8 -*-
# favstar / earthquakge.gem plugin
#
# e.g. :favstar #=> your favstar
# :favstar who #=> who's favstar
#
require 'open-uri'
require 'nokogiri'
Earthquake.init do
@siyo
siyo / ii.user.js
Created Feb 11, 2012 — forked from cxx/ii.user.js
いい…
View ii.user.js
// ==UserScript==
// @name いい…
// @namespace http://twitter.com/cxx
// @include http://www.facebook.com/plugins/like.php?*
// @version 1.2.1
// ==/UserScript==
var texts = document.evaluate('.//text()', document.body, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0, len = texts.snapshotLength; i < len; i++) {
var t = texts.snapshotItem(i);
@siyo
siyo / reverse.rb
Created Jan 22, 2012 — forked from hagiyaki/gyaku.rb
ひっくり返してtweetするしパクってひっくり返すやつ/ earthquake.gem plugin
View reverse.rb
# -*- coding: utf-8 -*-
# reverse tweet
#
# e.g. :reverse hoge #=> egoh
# or
# :reverse $aa #=> reverse RT
#
Earthquake.init do
command %r|^:reverse\s(.+)$|, :as => :reverse do |m|
txt = if /^\d+$/ =~ m[1]
@siyo
siyo / favstar.rb
Created Nov 27, 2011 — forked from morygonzalez/favstar.rb
favstar 見るやつ(色つき) / earthquakge.gem plugin
View favstar.rb
# -*- coding: utf-8 -*-
# favstar / earthquakge.gem plugin
#
# e.g. :favstar #=> your favstar
# :favstar who #=> who's favstar
#
require 'rss'
Earthquake.init do
View growl-all.rb
# -- coding: utf-8
require "fileutils"
require "digest/md5"
Earthquake.init do
dir = File.join(File.dirname(__FILE__), "userimage")
output do |item|
next if item.nil? || item["user"].nil?
begin
You can’t perform that action at this time.