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 -*- | |
| require 'uri' | |
| miquire :addon, 'bitly/bitly' | |
| Module.new do | |
| args = { | |
| :slug => :shrink_url_im, | |
| :name => 'URL短縮', | |
| :condition => lambda{ |postbox| postbox.post.editable? }, | |
| :description => 'テキストボックス内のURLを短縮', |
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 -*- | |
| miquire :plugin, 'plugin' | |
| miquire :addon, 'addon' | |
| miquire :core, 'environment' | |
| #miquire :core, 'utils' | |
| miquire :core, 'post' | |
| require 'fileutils' | |
| # |
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
| Index: tco.rb | |
| =================================================================== | |
| --- tco.rb (リビジョン 478) | |
| +++ tco.rb (作業コピー) | |
| @@ -24,7 +24,7 @@ | |
| end | |
| def expand_url(url) | |
| hash = Hash.new | |
| - res = Net::HTTP.get_response(URI.parse(url)) | |
| + res = Net::HTTP.get_response(URI.parse(url)) rescue nil |
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
| Index: directmessage.rb | |
| =================================================================== | |
| --- directmessage.rb (リビジョン 497) | |
| +++ directmessage.rb (作業コピー) | |
| @@ -60,7 +60,7 @@ | |
| if @dm_store.has_key?(user[:id]) | |
| @dm_store[user[:id]].each { |dm| | |
| iter = model.append | |
| - iter[DirectMessage::C_ID] = dm[:id].to_i | |
| + iter[DirectMessage::C_ID] = dm[:id].to_s |
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
| /home/osa/app/mikutter/trunk/core/addon/directmessage/dmlistview.rb: line 37 | |
| Gtk-CRITICAL **:IA__gtk_tree_view_get_cell_area: assertion `gtk_widget_get_realized (GTK_WIDGET (tree_view))' failed | |
| /home/osa/app/mikutter/trunk/core/addon/directmessage/dmlistview.rb: line 38 | |
| GLib-GObject-WARNING **:value "-1238915440" of type `gint' is invalid or out of range for property `wrap-width' of type `gint' |
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
| Index: core/test/test_message.rb | |
| =================================================================== | |
| --- core/test/test_message.rb (revision 601) | |
| +++ core/test/test_message.rb (working copy) | |
| @@ -15,19 +15,26 @@ | |
| args[1, args.size] end | |
| end | |
| +IDGen = Class.new do | |
| + def self.id_gen |
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
| Index: twitter_api.rb | |
| =================================================================== | |
| --- twitter_api.rb (revision 623) | |
| +++ twitter_api.rb (working copy) | |
| @@ -569,6 +569,18 @@ | |
| post_with_auth("/friendships/destroy/#{user[:id]}.#{FORMAT}") | |
| end | |
| + def report_spam(user) | |
| + post_with_auth("/report_spam.#{FORMAT}", :user_id => user[:id]) |
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
| Index: core/addon/openimg/pattern_file.json | |
| =================================================================== | |
| --- core/addon/openimg/pattern_file.json (revision 642) | |
| +++ core/addon/openimg/pattern_file.json (working copy) | |
| @@ -2,7 +2,11 @@ | |
| "twitpic": { | |
| "url": "^http://twitpic\\.com/[a-zA-Z0-9]+", | |
| "attribute": { | |
| - "id": "photo-display" | |
| + "tag": "img", |
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
| Index: dmlistview.rb | |
| =================================================================== | |
| --- dmlistview.rb (リビジョン 714) | |
| +++ dmlistview.rb (作業コピー) | |
| @@ -34,8 +34,7 @@ | |
| renderer = Gtk::CellRendererText.new | |
| Delayer.new{ | |
| if not destroyed? | |
| - width = get_cell_area(nil, get_column(C_TEXT)).width | |
| - renderer.set_property "wrap-width", width |
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
| たにたに!たにたに!たにたに!たにたにうううわぁああああああああああああああああああああああん!!! | |
| あぁああああ…ああ…あっあっー!あぁああああああ!!!たにたにたにたにたにたにぅううぁわぁああああ!!! | |
| あぁクンカクンカ!クンカクンカ!スーハースーハー!スーハースーハー!いい匂いだなぁ…くんくん | |
| んはぁっ!たにたにたんの黒色ブラックの髪をクンカクンカしたいお!クンカクンカ!あぁあ!! | |
| 間違えた!モフモフしたいお!モフモフ!モフモフ!髪髪モフモフ!カリカリモフモフ…きゅんきゅんきゅい!! | |
| 2011年本打ちのたにたにたんかわいかったよぅ!!あぁぁああ…あああ…あっあぁああああ!!ふぁぁあああんんっ!! | |
| 研究室決まって良かったねたにたにたん!あぁあああああ!かわいい!たにたにたん!かわいい!あっああぁああ! | |
| たんいたんいたんも作成されて嬉し…いやぁああああああ!!!にゃああああああああん!!ぎゃああああああああ!! | |
| ぐあああああああああああ!!!Twitterなんて現実じゃない!!!!あ…Facebookもtanitanin.netもよく考えたら… | |
| た に た に ち ゃ ん は 現実 じ ゃ な い?にゃあああああああああああああん!!うぁああああああああああ!! |