Skip to content

Instantly share code, notes, and snippets.

https://www.dropbox.com/sh/dw5hpid9lx00thv/AADqyLQwtAZXa09DKzIHbtpGa?dl=0
@youngwoon
youngwoon / about.md
Created June 28, 2017 21:15 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@youngwoon
youngwoon / opencv_mac.sh
Created December 29, 2016 14:46
Install OpenCV
#!/bin/bash
brew tap homebrew/science
brew install opencv
# add symlink for a virtualenv `venv`
cd venv/lib/python2.7/site-packages/
ln -s /usr/local/Cellar/opencv/2.4.13_3/lib/python2.7/site-packages/cv.py cv.py
ln -s /usr/local/Cellar/opencv/2.4.13_3/lib/python2.7/site-packages/cv2.so cv2.so
#include <direct.h>
#include <stdio.h>
char currentPath[100];
if (!GetCurrentDir(currentPath, sizeof(currentPath))) {
printf("Get working directory failed.\n");
} else {
printf("The current working directory is %s", currentPath);
}