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
rhenium ~/mikutter ./mikutter.rb develop | |
/home/rhenium/mikutter/core/mui/cairo_cell_renderer_message.rb: line 10 | |
GLib-GObject-WARNING **:Attempt to add property GtkCellRendererMessage::message-id after class was initialised | |
gui_pane_join_window :default, :default | |
gui_pane_join_window :"__Plugin::GUI::Pane_24895_52c0c5a0_ef50e873", :default | |
/home/rhenium/mikutter/core/mui/gtk_extension.rb: line 162 | |
Gtk-CRITICAL **:gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed | |
/home/rhenium/.rbenv/versions/2.1.0/lib/ruby/2.1.0/pstore.rb:475: [BUG] Segmentation fault at 0x00000001000018 | |
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] |
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
diff --git a/core/plugin/profile/profile.rb b/core/plugin/profile/profile.rb | |
index a56d87e..3a7daa4 100644 | |
--- a/core/plugin/profile/profile.rb | |
+++ b/core/plugin/profile/profile.rb | |
@@ -112,9 +112,9 @@ Plugin.create :profile do | |
on_gui_destroy do |widget| | |
notice "on_gui_destroy: #{widget}" | |
- if widget.is_a? Plugin::GUI::Timeline | |
- timeline_storage.delete(widget.slug) |
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
diff --git a/gtk2/ext/gtk2/rbgdkevent.c b/gtk2/ext/gtk2/rbgdkevent.c | |
index 6a5d068..08b437a 100644 | |
--- a/gtk2/ext/gtk2/rbgdkevent.c | |
+++ b/gtk2/ext/gtk2/rbgdkevent.c | |
@@ -32,6 +32,12 @@ static VALUE gdkevents[35]; | |
static VALUE gdkevents[34]; | |
#endif | |
+struct RBasicRaw { | |
+ VALUE flags; |
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
[ 30.182] | |
X.Org X Server 1.14.5 | |
Release Date: 2013-12-12 | |
[ 30.183] X Protocol Version 11, Revision 0 | |
[ 30.183] Build Operating System: Linux 3.12.5-1-ARCH x86_64 | |
[ 30.183] Current Operating System: Linux chikuwa 3.12.5-1-ARCH #1 SMP PREEMPT Thu Dec 12 12:57:31 CET 2013 x86_64 | |
[ 30.183] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw initrd=../initramfs-linux.img | |
[ 30.183] Build Date: 13 December 2013 03:11:42PM | |
[ 30.183] | |
[ 30.183] Current version of pixman: 0.32.4 |
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
package jp.rhe.test.twitterauth; | |
import android.app.Activity; | |
import android.content.ComponentName; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.view.Menu; | |
import android.view.View; | |
import android.view.View.OnClickListener; | |
import android.widget.TextView; |
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
require "cgi" | |
Plugin.create(:mikutter_update_name) do | |
on_mention do |s, msgs| | |
msgs.each do |m| | |
if CGI.unescapeHTML(m.message.to_s) =~ /\A@#{Service.primary.user} update_name (.+)\z/ | |
n = $1 | |
(Service.primary/"account/update_profile").message(name: n) | |
Service.primary.post(message: ".@#{m.message.user} さんにより名前が #{n.inspect} に変更されました") | |
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
r,s="おちんぽ","";s<<r[rand 4]until s.match r;puts s,"\nおぉぉお゙お゙~っ!!イグゥウ!!イッグゥウウ!!\n\n#{s.size}回目で果てました…" |
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
<?php | |
$st = microtime(true); | |
for($i = 0; $i < 100000000; $i++) | |
echo 'testabcdeftestabcdeftestabcdeftestabcdeftestabcdeftest'; | |
$sm = microtime(true); | |
fwrite(STDERR, "single quote" . "\t" . ($sm - $st) . "\n"); | |
$st = microtime(true); | |
for($i = 0; $i < 100000000; $i++) |
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
require "base64" | |
def encode_utf7(str) | |
str.gsub("+", "+-").gsub(/[^+A-Za-z0-9'(),-.\/:? \t\r\n]+/) {|m| "+" + [[m.each_codepoint.to_a.map{|m| "%04x" % m }.join].pack("H*")].pack("m0").delete("=") + "-" } | |
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
require "net/http" | |
require "uri" | |
require "cgi" | |
Plugin.create :loopsuruyatu do | |
@main_window = nil | |
@loop_num_of = {} | |
Gtk::TimeLine.addopenway(/^http:\/\/loop\.suruyatu\.com\/\d+/) do |shrinked_url, cancel| | |
begin |