煩悩の数だけアプリを作れば悟りが開ける
no | name | tags | desc | note |
---|---|---|---|---|
1 | xcode-launch | sh | Xcodeをターミナルから一発起動 | wiki |
2 | goya | ruby, automation | 海の中からこんにちは! | wiki |
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
var KEYWORD = "yask"; | |
var PREFIX = "[" + KEYWORD + "] "; | |
var Commands = { all: "?", del: "-", push: "!", full: "@" }; | |
var sequence = 0; | |
var tasks = []; | |
function Task(nick, channel, text) { | |
this.id = ++sequence; | |
this.nick = nick; |
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
source 'https://rubygems.org' | |
gem 'octokit' |
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.prototype.heredoc = function() { | |
return this.toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1].replace(/^\n/, ""); | |
}; | |
var doc = (function() {/* | |
hoge hoge | |
fuga fuga | |
piyo piyo | |
*/}).heredoc(); |
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
rem recursively remove .svn folders within current folder. | |
for /r %%d in (.svn) do rmdir /s /q "%%d" | |
pause |
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(rows, cols) { | |
function group(rows, cols, i) { | |
function xValue(i) { | |
if (i % cols == 0) { | |
return Math.min(3, cols); | |
} else if (i % cols == 1) { | |
return 1; | |
} |
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:src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js";sc = document.createElement("script");sc.type="text/javascript";sc.src=src;document.body.appendChild(sc);void(false); |
NewerOlder