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
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
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
| mkcd() { | |
| mkdir $1 && cd $1 | |
| } | |
| phpstorm() { | |
| nohup $(which phpstorm | tail -1) $@ >& /dev/null & | |
| } | |
| git() { | |
| if [[ $@ == "branch -a" ]] |
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
| if [ "$(which sudo 2>/dev/null)" != "" ] | |
| then | |
| alias sudo='sudo -E' | |
| else | |
| alias sudo='' | |
| fi | |
| alias grep='grep --color=auto' | |
| alias ul=less_with_unbuffer | |
| alias netstat='netstat -anptu' | |
| alias rsync='rsync -tlrhv --delete' |
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
| # prefixキーをC-qに変更する | |
| set -g prefix C-q | |
| # C-bのキーバインドを解除する | |
| unbind C-b | |
| # C-q*2でtmux内のプログラムにC-qを送る | |
| bind C-q send-prefix | |
| # キーストロークのディレイを減らす | |
| set -sg escape-time 1 | |
| # 設定ファイルをリロードする |
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
| if &encoding !=# 'utf-8' | |
| set encoding=japan | |
| set fileencoding=japan | |
| endif | |
| if has('iconv') | |
| let s:enc_euc = 'euc-jp' | |
| let s:enc_jis = 'iso-2022-jp' | |
| if iconv("\x87\x64\x87\x6a", 'cp932', 'eucjp-ms') ==# "\xad\xc5\xad\xcb" | |
| let s:enc_euc = 'eucjp-ms' |
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
| " Common ------------------------------- | |
| set nocompatible " vim | |
| set background=dark " 背景色の傾向(カラースキームがそれに併せて色の明暗を変えてくれる) | |
| " 色 | |
| hi Normal ctermfg=LightGray ctermbg=DarkGray " 通常 | |
| hi NonText ctermfg=DarkBlue " EOF以降の~など | |
| hi Comment cterm=Italic ctermfg=LightGreen " コメント | |
| hi Statement ctermfg=Magenta " 命令、分岐 | |
| hi Identifier ctermfg=Green " 関数、識別子 |