ロジスティック関数(またはシグモイド関数)は以下の式で表される:
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
# go | |
set -x GOPATH $HOME/.go | |
set -x PATH $HOME/.go/bin $PATH | |
# direnv | |
direnv hook fish | source | |
set -x EDITOR vim | |
# terraform | |
alias tp="terraform plan" |
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
" | |
" Plug でインストールするプラグインの指定 | |
" | |
call plug#begin('~/.vim/plugged') | |
Plug 'leafgarland/typescript-vim' | |
call plug#end() | |
" |
以下のプラグインをインストールする
https://github.com/leafgarland/typescript-vim
~/.vimrc
" typescript
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
#!/bin/sh | |
TABOO_WORD=aws_iam_policy_attachment | |
# 最新のコミットとの差分を比較し、タブー語を追加差分に含む場合は reject する | |
git diff HEAD -U0 "*.tf" | grep '^+' | grep -v '^++' | grep "$TABOO_WORD" 1>/dev/null 2>/dev/null | |
if [ $? -eq 0 ]; then | |
echo "[pre-commit FAILED..] 🔥 $TABOO_WORD は見つけ次第撲滅します!!!🔥" | |
exit 1 | |
fi |
NewerOlder