或るファイルが修正された或るリビジョンの次のリビジョン:
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 |
或るファイルが修正された或るリビジョンの次のリビジョン:
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)"
Redmine からデータを JSON で取得する。
issue_number, url, username, password は適宜
新シンタックスはとりあえずどうでもよいので考えない。
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/
[spam@ham ~]$ mysql -u egg Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3029885 Server version: 5.5.27-log MySQL Community Server (GPL) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its
| $_path = $(Get-Location).Path | |
| if ($_path.IndexOf($ENV:HOME) -eq 0) { | |
| $_path = Join-Path '~' ($PWD.ProviderPath.Remove(0, ($ENV:HOME).Length)) | |
| } |
| STARTTLS=client, relay=smtp.gmail.com, version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128 |
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project | |
| DefaultTargets="run" | |
| xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup> | |
| <ProjectName>MsBuild Sample01</ProjectName> | |
| <!-- load MSBuild.ExtensionPack --> | |
| <RootDir>$(MSBuildProjectDirectory)</RootDir> |
| OS: Windows 7 Home Premium x64 | |
| Perl (perl -V): | |
| Summary of my perl5 (revision 5 version 18 subversion 2) configuration: | |
| Platform: | |
| osname=MSWin32, osvers=6.1, archname=MSWin32-x64-multi-thread | |
| uname='' | |
| config_args='undef' | |
| hint=recommended, useposix=true, d_sigaction=undef |
| $ /Users/tomo/Applications/MacVim.app/Contents/MacOS/Vim --version | |
| VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 4 2014 19:05:45) | |
| MacOS X (unix) version | |
| Included patches: 1-527 | |
| Compiled by sakamoto@macbook.local | |
| Huge version with MacVim GUI. Features included (+) or not (-): | |
| +acl +find_in_path +mouse_netterm +syntax | |
| +arabic +float +mouse_sgr +tag_binary | |
| +autocmd +folding -mouse_sysmouse +tag_old_static | |
| +balloon_eval -footer +mouse_urxvt -tag_any_white |