初登場するコマンド: init, add, commit, log, config, status, diff
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
| MSG="hello gist" | |
| echo ${MSG} |
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
| Sub 条件付き書式で指定行とdiff() | |
| Dim rowNum As Integer | |
| rowNum = InputBox("比較対象は何行上?", "", "") | |
| setFormatConditions rowNum | |
| End Sub |
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
| class Input < String | |
| def exit? | |
| self =~ /^(exit|quit|q)$/ | |
| end | |
| def gu? | |
| self =~ /^(gu|g)$/ | |
| end | |
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
| Editor.SelectWord(0); | |
| Editor.SearchClearMark(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
| 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); |
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
| (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 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
| rem recursively remove .svn folders within current folder. | |
| for /r %%d in (.svn) do rmdir /s /q "%%d" | |
| pause |
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
| Function.prototype.heredoc = function() { | |
| return this.toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1].replace(/^\n/, ""); | |
| }; | |
| var doc = (function() {/* | |
| hoge hoge | |
| fuga fuga | |
| piyo piyo | |
| */}).heredoc(); |
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
| source 'https://rubygems.org' | |
| gem 'octokit' |
OlderNewer