Skip to content

Instantly share code, notes, and snippets.

Avatar

Sangkon, Han sigmadream

View GitHub Profile
@sebmarkbage
sebmarkbage / Enhance.js
Last active Sep 11, 2021
Higher-order Components
View Enhance.js
import { Component } from "React";
export var Enhance = ComposedComponent => class extends Component {
constructor() {
this.state = { data: null };
}
componentDidMount() {
this.setState({ data: 'Hello' });
}
render() {
@taehwanno
taehwanno / nginx-simple-spa-setup
Last active Jan 18, 2017
nginx simple spa setup (no proxy setup)
View nginx-simple-spa-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;
@CheeseStick
CheeseStick / how-to.md
Last active Jul 31, 2018
Mac OS X에서 OpenCV 설치 및 Xcode Project 설정방법
View how-to.md

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

1. Homebrew를 통해 openCV 설치

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

brew update
brew install opencv