This file contains 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
import time | |
import cv2 | |
import numpy as np | |
def webcam(): | |
video_capture = cv2.VideoCapture(0) | |
time_keep = time.time() | |
while True: |
This file contains 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
[user] | |
name = your_name | |
email = your_email | |
[alias] | |
a = add | |
b = branch | |
ch = checkout | |
st = status | |
one = log --oneline -10 |
This file contains 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
#change directory | |
alias mamp='cd /Applications/MAMP/htdocs' | |
alias facevent='cd /Applications/MAMP/htdocs/facevent_dev/app' | |
alias railsfolder='cd /Users/seishin/ruby' | |
alias pyfolder='cd /Users/seishin/python' | |
#mysql | |
alias mysqlmamp='/Applications/MAMP/Library/bin/mysql' | |
alias mysqldumpmamp='/Applications/MAMP/Library/bin/mysqldump' | |
#git | |
alias g='git' |
This file contains 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
#=================================================================== | |
# ./.zshrc_mac | |
# zsh設定ファイル | |
#=================================================================== | |
#------------------------------------------------------------------- | |
# 補完 | |
#------------------------------------------------------------------- | |
autoload -U compinit | |
compinit |
This file contains 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
syntax on | |
nnoremap ZZ <Nop> | |
filetype on | |
filetype indent on | |
filetype plugin on | |
set nocompatible | |
"------------------------------------------------------------------ |
This file contains 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
echo '[.zshrc was loaded!]' | |
cd ${HOME} | |
[ -e .zshrc_mac ] && source .zshrc_mac | |
[ -e .bash_profile ] && source .bash_profile | |
### Added by the Heroku Toolbelt | |
export PATH="/usr/local/heroku/bin:$PATH" | |
### Add for nginx | |
export PATH=$PATH:/usr/local/sbin |