brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| def show_images(images, cols = 1, titles = None): | |
| """Display a list of images in a single figure with matplotlib. | |
| Parameters | |
| --------- | |
| images: List of np.arrays compatible with plt.imshow. | |
| from SimpleCV import Camera, VideoStream, Color, Display, Image, VirtualCamera | |
| import cv2 | |
| import numpy as np | |
| import time | |
| # build the mapping | |
| def buildMap(Ws,Hs,Wd,Hd,R1,R2,Cx,Cy): | |
| map_x = np.zeros((Hd,Wd),np.float32) | |
| map_y = np.zeros((Hd,Wd),np.float32) | |
| for y in range(0,int(Hd-1)): |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| ### Instructions source http://tumblr.intranation.com/post/766290743/using-dropbox-git-repository #### | |
| -- make empty repo on dropbox: | |
| cd ~/Dropbox/RipeApps/Git | |
| mkdir -p newname.git | |
| cd !$ | |
| git --bare init | |
| -- push your junk into it | |
| cd ~/Projects/myrepo |