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
javascript:(function(){ var pageTITLE = encodeURIComponent(window.document.title); var pageURL = encodeURIComponent(window.location.href); var tweetURL = "https://twitter.com/share?text=" + pageTITLE + "&url=" + pageURL; window.open(tweetURL); })() |
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
$('.icon_favo').click(); | |
$('.primary').click(); |
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
#!/system/bin/sh | |
# Public Domain | |
for b in $(/system/xbin/busybox --list); do | |
ln -s /system/xbin/busybox "/system/xbin/${b}" | |
done |
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
#!/bin/sh | |
ntpdate 0.jp.pool.ntp.org | |
hwclock --systohc --localtime |
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/lib/mikutwitter/api_call_support.rb b/core/lib/mikutwitter/api_call_support.rb | |
index f40f200..15c9c31 100644 | |
--- a/core/lib/mikutwitter/api_call_support.rb | |
+++ b/core/lib/mikutwitter/api_call_support.rb | |
@@ -104,7 +104,8 @@ module MikuTwitter::ApiCallSupport | |
cnv = msg.convert_key(:text => :message, | |
:in_reply_to_user_id => :receiver, | |
:in_reply_to_status_id => :replyto) | |
- cnv[:source] = $1 if cnv[:source].is_a?(String) and cnv[:source].match(/^<a\s+.*>(.*?)<\/a>$/) | |
+ cnv[:source] = $2 if cnv[:source].is_a?(String) and cnv[:source].match(/^<a\s+href="(.*?)".*>(.*?)<\/a>$/) |
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
Section "InputClass" | |
Identifier "Trackpoint Wheel Emulation" | |
MatchProduct "Lite-On Technology Corp. ThinkPad USB Keyboard with TrackPoint" | |
MatchDevicePath "/dev/input/event*" | |
Option "EmulateWheel" "true" | |
Option "EmulateWheelButton" "2" | |
Option "Emulate3Buttons" "false" | |
Option "XAxisMapping" "6 7" | |
Option "YAxisMapping" "4 5" | |
EndSection |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias> | |
<family>serif</family> | |
<prefer> | |
<family>Ricty</family> | |
</prefer> | |
</alias> | |
<alias> |
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
notice: /opt/mikutter/core/plugin/command/command.rb:264:in `focus_move_to_nearest_postbox': called: given widget #<Plugin::GUI::Tab(role=tab,slug=activity)> | |
notice: /opt/mikutter/core/plugin/command/command.rb:267:in `focus_move_to_nearest_postbox': found postbox: nil |
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
# にゃーんっぽい正規表現 | |
/^([にみ][ゃゅょ][あぁ]*[ーっ]*ん?っ?)+$/ |
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
p STDIN.reject{|x| x =~ /^"/ or x =~ /^\s*\n/ or x =~ /^\s*\\/}.size |
OlderNewer