- コードとドキュメントを同時に整備する。
- 可能なら同コミットにまとめるのが良い。
- ドキュメントを書くべき場所は:
- 一般の利用者にとって有用な情報はヘルプや該当ページの説明欄に書く。
- アーキテクチャーや操作方法などまとまった説明はリポジトリーの doc/*.txt に書 く。
- その他はコードの該当箇所にコメントとして書く。
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
| { | |
| "success": true, | |
| "result": { | |
| }, | |
| "type": "packref", | |
| "source": { | |
| "type": "ckan", | |
| "url": "https://data.gsj.jp/gkan/dataset/gsj_map_1233" | |
| } | |
| } |
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
| async function _capture (e) { | |
| const stream = await navigator.mediaDevices.getDisplayMedia ({ | |
| video: { | |
| cursor: "never", | |
| }, | |
| audio: false, | |
| displaySurface: "browser", | |
| preferCurrentTab: true, | |
| selfBrowserSurface: "include", | |
| }); |
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
| You are granted a license to use, reproduce, and create derivative | |
| works of these files. |
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
| #!/usr/bin/perl | |
| open $file, '>', '.travis-merge'; | |
| print $file q{#!/bin/sh | |
| if [ "$TRAVIS_BRANCH" = "staging" ] || [ "$TRAVIS_BRANCH" = "nightly" ] || [ "$TRAVIS_BRANCH" = "nightlywp" ]; then | |
| echo "Merge $TRAVIS_BRANCH ($TRAVIS_COMMIT) into master..." | |
| git config --global user.email "merger@travis.test" | |
| git config --global user.name "Travis Merger" | |
| git config --global url.https://$TRAVISMERGER_GH_TOKEN:@github.com/.pushInsteadOf https://github.com/ | |
| if [ -s "$(git rev-parse --git-dir)/shallow" ]; 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
| javascript:var s=document.createElement('script');s.src="https://gist.githack.com/wakaba/b90f120b2617afe5c2fc4d08d84e801f/raw/script.js";document.body.appendChild(s);void(0) |
😃 :haha:
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
| ... | |
| { | |
| "volumesFrom": [], | |
| "portMappings": [], | |
| "command": [], | |
| "environment": [ | |
| { | |
| "name": "apikey", | |
| "value": "XXX" | |
| } |
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
| - "../../modules/json-functions-xs" tests | |
| - "../../modules/json-ps" tests | |
| - "../../modules/web-encodings" tests build | |
| - "../../modules/web-url" tests build | |
| - "../../modules/web-dom" tests build | |
| - "../../modules/web-css" tests build | |
| - "../../modules/web-markup" tests build | |
| - "../../modules/web-useragent-functions" tests lwp anyeventsocks oauth wsse cli testws curl | |
| - "../../modules/wanage" tests build datetime mp | |
| - "../../modules/temma" tests |
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
| use strict; | |
| use warnings; | |
| $ENV{LANG} = 'C'; | |
| my @host = qw( | |
| www.google.com | |
| mail.google.com | |
| github.com | |
| gist.github.com | |
| gist.githubusercontent.com |
NewerOlder