- reflog(参照ログ)とは HEAD やブランチ先端の動きの履歴
- 各個人のローカルリポジトリに存在
- ブランチの切り替え、新たに加えられた変更のプル、履歴の書き換え、あるいは単なる新規コミットの実行などを記録
git reflog
で HEAD の移動履歴を、git reflog <ブランチ名>
でそのブランチ先端が指していたコミットの一覧を確認可能HEAD@{5}
: HEAD の五つ前の状態を示す
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
worker_processes 1; | |
error_log logs/error.log; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} |
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 checkUrl = "取得したいURL"; | |
function getTitle(url,callback){ | |
var xhr=new XMLHttpRequest() | |
xhr.onload = function() { | |
var title=this.responseXML.title||"no title" | |
callback(url,title) | |
} | |
xhr.open("GET", url ,true); | |
xhr.responseType="document"; |
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
#!/bin/bash | |
PECO_CMD="peco" | |
KUBECTL_CMD="kubectl" | |
if ! hash "${PECO_CMD}" 2> /dev/null; then | |
>&2 echo "error: ${PECO_CMD} is not installed" | |
>&2 echo "see https://github.com/peco/peco" | |
exit 1 | |
fi |
https://ja.wikipedia.org/wiki/JavaScript_Object_Notation
- Python標準に含まれている
- 仕様が厳格に決まっている
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit