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
# 試験 | |
terraform plan | |
# 指定したtfファイルだけ試験 | |
terraform plan [ファイル名] | |
# 適用 | |
terraform apply |
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
#install | |
brew install terraformer | |
#versionでればおっけー | |
$ terraformer -v | |
#help | |
% terraformer help (git)-[feature/vpc_network] - (m1) | |
Usage: | |
[command] |
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
## ------------- | |
## macOS | |
## ------------- | |
brew install [email protected] # [email protected] / default mysql8 | |
## ~/.bash_profile or ~/.zshrc | |
export PATH="/usr/local/opt/[email protected]/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/[email protected]/lib" | |
export CPPFLAGS="-I/usr/local/opt/[email protected]/include" | |
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig" |
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
## atom |
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
set number "行番号を表示する | |
set cursorline "カーソル行のハイライト | |
set title "編集中のファイル名を表示 | |
set showmatch "括弧入力時の対応する括弧を表示 | |
syntax on "コードの色分け | |
set shell=/usr/local/bin/zsh | |
set tabstop=2 | |
set autoindent | |
set expandtab | |
set shiftwidth=2 |
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
"git | |
"deniteじゃないものもあるけど | |
nnoremap gl :Glog<CR> | |
nnoremap gd :Gdiff<CR> | |
nnoremap gb :Denite gitbranch<CR> | |
nnoremap gs :Denite gitstatus<CR> | |
nnoremap gadd :Gwrite<CR> | |
nnoremap gcommit :Gcommit<CR> |
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
"----------------------------------- | |
" インデント設定 | |
"----------------------------------- | |
augroup fileTypeIndent | |
" 言語ごと | |
autocmd! | |
" Python | |
autocmd BufNewFile,BufRead *.py setlocal tabstop=4 softtabstop=4 shiftwidth=4 | |
" PHP | |
autocmd BufNewFile,BufRead *.php setlocal tabstop=4 softtabstop=4 shiftwidth=4 |
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
brew reinstall vim --with-python3 --with-lua |
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
# とりあえずインストールスクリプトもってくる | |
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh | |
# ディレクトリの指定は必須 | |
sh ./installer.sh .vim/dein/ |
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
Plugin 'Shougo/vimshell' -> Vimからシェルを使う。開発停止。Deol.nvimにした | |
Plugin 'Shougo/unite.vim' -> Vimをいい感じにするインターフェイス。開発停止。 Denite.nvimにした。 | |
Plugin 'Shougo/neomru.vim' -> ファイルリスト。Denite.nvimに統合されて開発停止。 | |
Plugin 'basyura/unite-rails' -> uniteからRailsをいい感じに使う。なぜか僕オーナー権限もってる。使えるのかな。Denite対応します…… | |
Plugin 'Shougo/neocomplcache' -> コード補完。開発停止。neocomplete.vimにした' | |
Plugin 'NigoroJr/rsense' -> Ruby補完。開発停止してるかわからんがneocomplete.vim未対応。 |
NewerOlder