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
| var foo = ""; | |
| foo ||= "hogehoge";//hogehoge | |
| foo ||= "ababa";//hogehoge |
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
| var count:uint = 10; | |
| while (count --> 0) { | |
| trace(count); | |
| } |
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
| :nnoremap <Space><Space> :so hoge.vim<Enter> |
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
| node.*.(name().localName.match(/regex/)); |
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
| var foo = [0, 1, 2, 3, 4, 5]; | |
| function reverse(array) { | |
| var length = array.length; | |
| var result = []; | |
| (function () { | |
| if (result.length < length) { | |
| result.unshift(array.shift()); | |
| arguments.callee.call(); | |
| } | |
| })(); |
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
| "aiueo".split("").reverse().join(""); |
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
| " Name: AutomaticallySetIndentStyle | |
| " Version: 0.1 | |
| " Author: tanabe | |
| " NOTE: this is experimental script | |
| function! AutomaticallySetIndentStyle() | |
| let l:max_lines = 100 | |
| let l:total_lines = line("$") | |
| let l:tab_indented_lines = 0 | |
| let l:space_indented_lines = 0 | |
| let l:index = 0 |
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
| cd /d %~dp0 | |
| start uninstall_flash_player.exe /clean |
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
| svn st | grep '^!' | awk '{print $2}' | xargs svn del |
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
| #from ustream.tv badwords | |
| ass | |
| 14 words | |
| 5 words | |
| anal | |
| anal sex | |
| arse | |
| arsehole | |
| asses | |
| asshole |