- 1月
- 2月
- 3月のライオン
- 4月は君の嘘
- 5月
- 6月
- 7月4日に生まれて
- 8月
- 9月
- 10月
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
#!sh -eu | |
threshold=$1 | |
threshold=$(echo $threshold | sed -e s/-//g) # 2018-06-28 -> 20180628 | |
for b in $(git branch -r | grep -v HEAD); | |
do | |
date=$(git show --date=short --pretty=format:"%ad" $b | head -1 | sed -e s/-//g) | |
if [ $date -lt $threshold ]; then | |
echo $b $date |
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
package main | |
// dateコマンド代わりのgoスクリプト。 | |
// dateコマンドで何日前という操作はGNU版/BSD版で挙動が変わって面倒なので。 | |
import ( | |
"fmt" | |
"os" | |
"time" | |
) |
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
# ブランチの先頭のみチェックアウトするコマンド ref http://engineer.crowdworks.jp/entry/2017/04/04/202719 | |
shallow-checkout: &shallow-checkout | |
name: Shallow Checkout | |
command: | | |
echo "machine github.com login $GITHUB_TOKEN" > ~/.netrc # プライベートリポジトリ用 | |
REPO_HTTPS_URL=$(echo $CIRCLE_REPOSITORY_URL | sed -e "s|[email protected]:|https://github.com/|") | |
git clone -b $CIRCLE_BRANCH --single-branch --depth=1 $REPO_HTTPS_URL $CIRCLE_WORKING_DIRECTORY | |
# このジョブのコミットが既にブランチの先頭でない場合はリポジトリ全体を改めて取得して指定コミットにリセットする | |
git reset --hard $CIRCLE_SHA1 || (git fetch --unshallow && git reset --hard $CIRCLE_SHA1) |
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
body:after { | |
pointer-events: none; | |
content: ""; | |
width: 100vw; | |
height: 200px; | |
position: fixed; | |
right: 10px; | |
bottom: 10px; | |
background: no-repeat bottom right; | |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAADICAMAAAB7yBzUAAAAUVBMVEUAAADbViLbVSLbVCL+/f39/f3cViPidUvhbUDbVCLbVCTroIXaVSLhaz7cVSLbVSLdWyr10cTbVSHbVSLcViPbVSLbViLbViPbVSLcVSL//f0bnWrRAAAAG3RSTlMAgP+I/4j/2v9/QK/K4t/Q8v+/51+vd6run39MyhqbAAAHvUlEQVR4Ae3d2XLjOA/FcQs+39L7vr7/g87dlKNC+U/xgGHkEDcz3ZJK1C8gTIpM+7JixYoVK1asWLHiwWOLp3FdJIkMIC0eMFpAYLRMyGgBsdISYqPlw0ZLRhIbvVYh3QYjvcbk2ccrMNocH86jB6MxMkhg9JhATLQ/GrexbdsrkVEeUn7eTumBhUSRXZIc+c+j15wAH86j//7v8YQyjTahyA//7xFweFzYRhTp4f8/Ks/uiGN0bh/uJmyERCcX0rFnz08Co+tLYdk6uxYTcY6B0dl7VjtRcORGU1V8FjAy7jC9p/ndqpIIjM7dsQYSaSLR5uMUE0EaXU/2BmNCT3tzqim6z8PBWTRPyMGpDP5Mm9OxpvIAUUzD8YFiTADRlKo8Q4ebU0/09l10hqlTHyOI3n/4+OnzkSbMzx3/M21+VfZ5Zs1BDCGdASjERCU4DMRoc4zSez67UFdiPT+QTbS5OqVEBkjLS+4hQJIUyn1mEEF3go0RlUJ8t0oiQycpy/KJPCGXSKVCSv7/zl2vNUBfpPuPfQRzYBolmcONLhASxOFVwNF |
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
/* style for https://twitter.com/ */ | |
.TwitterCard [data-poll-state=opened] .PollXChoice-optionContainer .PollXChoice-progress { | |
max-width: 100% !important; | |
margin-left: .64286em !important; | |
margin-right: .64286em !important; | |
} |
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
git show --pretty=format:'%cd %H.pdf' --date=iso | head -n1 |
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 | |
conf=`defaults read com.apple.finder AppleShowAllFiles` | |
if [ $conf = 'true' ] | |
then | |
newConf='false' | |
else | |
newConf='true' | |
fi |
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
rect[fill="#d6e685"] { fill: #9fc1ea; } | |
rect[fill="#8cc665"] { fill: #60b7d8; } | |
rect[fill="#44a340"] { fill: #0592d0; } | |
rect[fill="#1e6823"] { fill: #252775; } | |
.legend li:nth-child(2) { background-color: #9fc1ea !important; } | |
.legend li:nth-child(3) { background-color: #60b7d8 !important; } | |
.legend li:nth-child(4) { background-color: #0592d0 !important; } | |
.legend li:nth-child(5) { background-color: #252775 !important; } |