新シンタックスはとりあえずどうでもよいので考えない。
2009年の changeset なので、今とオプションが異なる場合があるので注意。
(「This will make the code alignment insensitive to an editor's tabwidth.」の訳は自信ない。)
$ hg clone -u release https://code.google.com/p/go
$ cd go/
新シンタックスはとりあえずどうでもよいので考えない。
2009年の changeset なので、今とオプションが異なる場合があるので注意。
(「This will make the code alignment insensitive to an editor's tabwidth.」の訳は自信ない。)
$ hg clone -u release https://code.google.com/p/go
$ cd go/
C:\Users\USERNAME\AppData\Local\Packages\Microsoft.WindowsTerminal_rnd\LocalState\profiles.json
"profiles": {
"defaults": {
"fontFace": "Migu 1M",
"fontSize": 11
},
"list": [
...
Option Explicit | |
' ================================================================================== | |
' UTF-8 のファイルのBOMを削除するVBScript | |
' ファイルをドラッグ&ドロップして利用する。 | |
' 2012/01/14 Nakamura, Tomohiro | |
' This Software is under CC0 | |
' ADODB の為、要Excel | |
' ================================================================================== | |
Dim adTypeBinary, adTypeText, adSaveCreateOverWrite |
或るファイルが修正された或るリビジョンの次のリビジョン:
hg log --rev "min(modifies('</target/file/path>') and <target_change_set>: and ! <target_change_set>)"
或るファイルが修正された或るリビジョンの前のリビジョン:
hg log --rev "max(modifies('</target/file/path>') and :$<target_change_set>~1)"
docker_killall() { | |
# 処理が進んでいる container の id を取得 | |
_get_ids() { docker ps | awk 'NR != 1 { print $1 }' ; } | |
# 処理中の conatainer の数を取得 | |
_ps_count=$(_get_ids | wc -l) | |
# 処理中の container が有れば、全て落とす | |
if [[ $_ps_count != 0 ]] ; then | |
_get_ids | xargs docker kill |
mysql> STATUS | |
-------------- | |
mysql Ver 14.14 Distrib 5.5.27, for Linux (x86_64) using readline 5.1 | |
Connection id: 1 | |
Current database: hogefugapiyo | |
Current user: spamspamspam@localhost | |
SSL: Not in use | |
Current pager: /usr/bin/less | |
Using outfile: '' |
<!doctype html> | |
<html lang="en" ng-app="front"> | |
<head> | |
<meta charset="utf-8"> | |
<title>angular simple example</title> | |
</head> | |
<body> | |
<!-- update this div --> | |
<div ng-view></div> |
> function Some() { this.say = say; return this; function say(msg) { console.log(msg); } } | |
undefined | |
> Some().say('あいうえお'); | |
あいうえお | |
undefined |