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
# Prerequisites | |
# brew install Schniz/tap/fnm fzf | |
# $(brew --prefix)/opt/fzf/install | |
USER=$(whoami) | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/$USER/.oh-my-zsh | |
alias vi=vim |
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
#!/bin/sh | |
NAME=${1} | |
OLDEMAIL=${2} | |
EMAIL=${3} | |
curl --silent -X GET https://api.github.com/users/${NAME}/repos > repos.json | |
REPOS=$(cat ./repos.json | grep "\"html_url\": \"https://github.com/${NAME}/" | cut -d'"' -f4) | |
# Modified example https://help.github.com/articles/changing-author-info/ |
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 cv2 | |
import sys | |
from matplotlib import pyplot as plt | |
#Path to image containing fragment | |
img = cv2.imread(sys.argv[1], 0) | |
#Path to fragment | |
template = cv2.imread(sys.argv[2], 0) | |
method = 'cv2.TM_CCOEFF' |