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
--- | |
event: retweeted_retweet | |
created_at: Thu Aug 27 23:43:20 +0000 2015 | |
source: | |
id: 275974446 | |
id_str: '275974446' | |
name: "全てが友利奈緒になるいしたん" | |
screen_name: ishitanhuman | |
location: | |
url: https://www.amazon.co.jp/gp/registry/ref=cm_reg_rd-upd?ie=UTF8&id=13HFH6UZUHEDC&type=wishlist |
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 -*- | |
Plugin.create(:jin115) do | |
exclude_url = /jin115\.com/ | |
filter_show_filter do |msgs| | |
msgs = msgs.reject{ |m| m.entity.any?{ |entity| exclude_url === entity[:url] } } | |
[msgs] | |
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
# あっきぃの最近のツイートが見えない不具合の次善策です。 | |
# 現象: https://dev.twitter.com/discussions/25939 | |
# 祭会場: http://togetter.com/li/629097 | |
Plugin.create(:avoid_25939) do | |
profiletab :avoid_25939, "avoid 25939" do | |
set_icon Skin.get("search.png") | |
uid = user.id | |
i_timeline = timeline nil do | |
order do |message| |
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 -*- | |
Plugin.create(:mikutter_iconbyebye) do | |
ALTERNATIVE_IMAGE = "http://pbs.twimg.com/profile_images/434359790551068673/JTrPZYsz_normal.png".freeze | |
filter_show_filter do |messages| | |
replaced = messages.map do |message| | |
if UserConfig[:iconbyebye_sn].include? message.user[:idname] | |
message[:user] = Message::MessageUser.new(message.user, profile_image_url: ALTERNATIVE_IMAGE) | |
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
=begin | |
絶対に使用してはいけません(後述)。 | |
ファイルのタイムスタンプが 2010/12/31 のふぁぼ爆対策プラグインがでてきたので、記録目的で公開します。 | |
== 仕様 | |
ふぁぼられた相手ごとにふぁぼ数をカウントし、3ふぁぼ以上されると、それ以降ふぁぼられる毎に相手に | |
いい加減にしろとリプライを送ります。 | |
ふぁぼカウントは、ふぁぼが3分途切れたらリセットされます。 | |
== mikutter 3.0で動かした場合の不具合 |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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(:mikutter_profile_media) do | |
profiletab :usermediatimeline, _("最近の画像つきツイート") do | |
set_icon Skin.get("aclog.png") | |
uid = user.id | |
i_timeline = timeline nil do | |
order do |message| | |
retweet = message.retweeted_statuses.find{ |r| uid == r.user.id } | |
(retweet || message)[:created].to_i end end | |
Service.primary.search(q: "from:#{user[:idname]} filter:images", |
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(?<院号>[一-龠]+院)(?<道号>[一-龠]+)(?<戒名>[一-龠]+)(?<位号>居士|信士|信女|童子|童女|水子|禅尼)\Z |
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 | |
#require 'bundler/setup' | |
require 'gtk2' | |
window = Gtk::Window.new | |
w_text = Gtk::Label.new("...") | |
w_btn = Gtk::Button.new("click") | |
counter = 0 |
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
--- | |
event: favorited_retweet | |
created_at: Wed Nov 12 00:36:58 +0000 2014 | |
source: | |
id: 949438177 | |
id_str: '949438177' | |
name: "ちょまど@11/16ホモ執筆中@文フリ" | |
screen_name: chomado | |
location: "(((o(*゚▽゚*)o)))" | |
profile_location: |
OlderNewer