tag:qiita.com,2005:/massat/feed
massatの記事 - Qiita
Qiitaでユーザーmassatによる最近の記事
2016-03-22T13:52:08+09:00
https://qiita.com/massat
tag:qiita.com,2005:PublicArticle/379471
2016-03-22T13:52:08+09:00
2016-03-22T13:52:08+09:00
https://qiita.com/massat/items/4961adfb2d9537bbcb02
Pythonのデフォルト引数の挙動には気をつけようと思った
元エントリからの単なる転載
pythonのデフォルト引数の挙動は勘違いしそうで怖いので気をつけたい。
➜ ~ python
Python 2.7.11 (default, Feb 2 2016, 2…
massat
tag:qiita.com,2005:PublicArticle/356349
2015-12-24T15:31:15+09:00
2015-12-24T15:31:15+09:00
https://qiita.com/massat/items/29e98b5ba847d50c213d
ブランチを切り替えた時に submodule の commit がずれて苛つくのを post-checkout hook で解消する
git submodule を使っていて、 branch間で submodule で指し示してる commit がずれてたりすると、手元で branch を切り替えた時に submodule を充て…
massat
tag:qiita.com,2005:PublicArticle/352225
2015-12-14T09:59:09+09:00
2015-12-14T09:59:09+09:00
https://qiita.com/massat/items/cf8fe5881776a6507462
stash の内容を patch form で見る
git stash show -p [<stash>] する
補足
man git-stash すると
how [<stash>]
Show the changes recorded in the …
massat
tag:qiita.com,2005:PublicArticle/95217
2014-07-17T23:41:29+09:00
2014-07-17T23:41:29+09:00
https://qiita.com/massat/items/b20c052f5f4c89a944f9
`when` で `register` が skip されなくてつらい
したのような playbook を書いて実行した時、
- name: debug
hosts: all
connection: local
gather_facts: false
tasks:
- …
massat