Skip to content

Instantly share code, notes, and snippets.

View sigmadream's full-sized avatar
😆

Sangkon, Han sigmadream

😆
View GitHub Profile
@CheeseStick
CheeseStick / how-to.md
Last active July 31, 2018 08:42
Mac OS X에서 OpenCV 설치 및 Xcode Project 설정방법

Mac OS X에서 Open CV 설치 및 Xcode에서 사용하기

1. Homebrew를 통해 openCV 설치

(홈브루가 설치되어 있지 않다면 https://brew.sh/index_ko.html 참고)

brew update
brew install opencv
@taehwanno
taehwanno / nginx-simple-spa-setup
Last active January 18, 2017 01:46
nginx simple spa setup (no proxy setup)
server {
listen 80 default_server;
server_name example.co.kr;
if ($http_x_forwarded_proto = 'http') {
return 301 https://example.co.kr$request_uri;
}
location / {
root /home/ubuntu/project/public;
@sebmarkbage
sebmarkbage / Enhance.js
Last active January 31, 2024 18:33
Higher-order Components
import { Component } from "React";
export var Enhance = ComposedComponent => class extends Component {
constructor() {
this.state = { data: null };
}
componentDidMount() {
this.setState({ data: 'Hello' });
}
render() {