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 |
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
eval s="a = 1; def fac(n);n == 1 ? 1 : n*fac(n-1);end; $>.tty? ? puts(fac(a)) : puts('eval s='+s.inspect.sub(/([0-9]+)/){($1.to_i + 1).to_s})" |
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
function auto_poke(){var sel = document.getElementsByClassName('selected'); for(var i = 0; i < sel.length; i++){var item = sel[i]; if(item.text == 'Pokeを返す'){item.click();} } setTimeout(auto_poke, 100); }; auto_poke(); |
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
```markdown | |
hoge | |
``` |
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
puts send def | |
def x = | |
def end x | |
x end | |
x 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
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
NeoBundle 'haya14busa/incsearch.vim' | |
call neobundle#end() | |
filetype plugin indent on " Required! |
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 'benchmark' | |
require 'set' | |
profile_init = false | |
def search_array(array, target) | |
array.include?(target) | |
end | |
def search_sorted_array(array, target) |
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
(function () { | |
var url = window.location.href; | |
var regexp = /docs\.ruby-lang\.org\/ja\/([0-9.]+)/; | |
var latest_version = '2.1.0'; | |
if (url.match(regexp) && RegExp.$1 != latest_version) { | |
var new_url= url.replace(RegExp.$1, latest_version); | |
window.location.href = new_url; | |
} | |
})(); |
OlderNewer