Let this long package float,
Goto private class if short.
While protected with debugger case,
Continue volatile interface.
Instanceof super synchronized throw,
Extends final export throws.
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
| turtle.forward() |
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
| tenkiのpref番号 | |
| 1,2,3,4 hokkaido | |
| 5 aomori | |
| 6 iwate | |
| 7 miyagi | |
| 8 akita | |
| 9 yamagata | |
| 10 fukusgima | |
| 11 ibaraki | |
| 12 tochigi |
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
| module.exports = (robot) -> | |
| robot.respond /yukkuri (\S+)/i, (msg) -> | |
| url = "http://xxxx.t.proxylocal.com/#{encodeURIComponent(msg.match[1])}" | |
| getResult(msg, url) | |
| getResult = (msg, url) -> | |
| msg.http(url).get() (err, res, body) -> | |
| if err | |
| msg.send "something went wrong." | |
| else |
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
| #!/bin/sh | |
| TARGET=boot2docker | |
| if [ ! -e $TARGET ]; then | |
| rm $TARGET | |
| fi | |
| curl https://raw.github.com/boot2docker/boot2docker/master/boot2docker > $TARGET | |
| chmod +x $TARGET |
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
| public class DryRunner extends RunnerBase { | |
| public DryRunner(String file) { | |
| super(file); | |
| } | |
| public Boolean delete() | |
| { | |
| log("dry:delete."); | |
| return true; | |
| } |
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
| #!/bin/bash | |
| WHITELIST=./whitelist | |
| WHITEUSER_FILES=$(cat $WHITELIST) | |
| for USER_FILE in `ls *.*.*` | |
| do | |
| PATTERN='' | |
| for ITEM in $WHITEUSER_FILES | |
| do | |
| if [ ${#PATTERN} -gt 0 ] ; then |
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
| #!/bin/sh | |
| SCRIPT_PATH="/your/hubot/node_modules/hubot-scripts" | |
| PASSPHRASE="hoo" | |
| cd $SCRIPT_PATH | |
| expect -c " | |
| spawn git pull origin master | |
| expect Enter ; send \"$PASSPHRASE\n\" | |
| interact |
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
| #!/bin/bash | |
| HUBOT_DIR="/your/hubot/home" | |
| HUBOT_BIN="bin/hubot" | |
| HUBOT_RC=".hubotrc" | |
| HUBOT_OPTION="-n / -a hubot-adapter" | |
| HUBOT_LOG="hubot.log" | |
| cd $HUBOT_DIR | |
| TEXT=`ps a | grep $HUBOT_BIN | head -n 1|` |
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
| // ==UserScript== | |
| // @name sort_as | |
| // @namespace 3100 | |
| // @description ASのルームを更新順序順に変更する | |
| // @include http://as.iplwiki.info/ | |
| // @version 1.0.2 | |
| // ==/UserScript== | |
| (function (){ | |
| var changeTextForSort = function(text) { | |
| var date_str_arr = text.split(' '); //cf. ["2013-01-28","12:58","pm"] |