This file contains hidden or 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
./sphinx-quickstart.expect hoge_dir project_hoge |
This file contains hidden or 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
# ヘッダ右側に日付、フッタ中央にページ番号、マージンを調整 | |
/usr/local/bin/wkhtmltopdf \ | |
--print-media-type \ | |
--header-right [date] \ | |
--header-spacing 2 \ | |
--footer-center [page]/[topage] \ | |
--footer-spacing 2 \ | |
--margin-top 12 \ | |
--margin-right 5 \ |
This file contains hidden or 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
/usr/sbin/logrotate -fd /etc/logrotate.d/nginx |
This file contains hidden or 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
__author__ = 'Takahiro Ikeuchi' | |
import sys | |
import re | |
from collections import defaultdict | |
This file contains hidden or 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
__author__ = 'Takahiro Ikeuchi' | |
import sys | |
import re | |
def main(): |
This file contains hidden or 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
# 当然あるだろうと思いきや実はなかったのでメモ | |
# historyからコマンド履歴のコピペ再利用がし易くなる | |
history |cut -f6- -d " " |
NewerOlder