Copyright @ Kai Kang ([email protected]) 2016
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
Homebrew build logs for homebrew/science/opencv on macOS 10.12 | |
Build date: 2016-09-28 14:20:18 |
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
Homebrew build logs for gnuplot on macOS 10.12 | |
Build date: 2016-09-27 10:49:58 |
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
numpy>=1.7.1 | |
scipy>=0.13.2 | |
scikit-image>=0.9.3 | |
matplotlib>=1.3.1 | |
ipython>=3.0.0 | |
h5py>=2.2.0 | |
leveldb>=0.191 | |
networkx>=1.8.1 | |
nose>=1.3.0 | |
pandas>=0.12.0 |
#Generate Logistic Distribution random numbers on GPU in Matlab
GPU implementation of random('Logistic', mu, sigma, shape)
in Matlab
.
Copyright @ Kai Kang ([email protected]) 2016
##Time profiling with built-in random
function
gpuLogistic
has similar interface with random
, but is suitable for generating large number of random numbers thanks to GPU.
#Extract dense optical flow and save as grayscale or RGB images Copyright @ Kai Kang ([email protected]) 2016
##Dependencies
- OpenCV 2 with
Python
interface glob
,numpy
,siopy
##Usages
# help messages
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
#!/usr/bin/env bash | |
# referer url is public share links | |
# file url can be found via browser downloading | |
referer_url=$1 | |
file_url=$2 | |
save_name=$3 | |
wget --referer=$referer_url -O $save_name "$file_url" |
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 update | |
brew versions FORMULA | |
cd `brew --prefix` | |
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
brew install FORMULA | |
brew switch FORMULA VERSION | |
git checkout -- Library/Formula/FORMULA.rb # reset formula | |
## Example: Using Subversion 1.6.17 | |
# |
#Git: Common Routines
Syncing a fork (https://help.github.com/articles/syncing-a-fork/)
- Fetch the branches and their respective commits from the upstream repository.
$ git fetch upstream
- Check out your fork's local
master
branch.
NewerOlder