Skip to content

Instantly share code, notes, and snippets.

Avatar
🧀
Cheese

Jun JUNG CheeseStick

🧀
Cheese
View GitHub Profile
@CheeseStick
CheeseStick / run.py
Last active Aug 28, 2020
Launch LoL client with different locale on Mac OS X (Default: Korean, Oceania Server)
View run.py
#!/usr/bin/env python
import yaml
import subprocess
from os import path, system
##
# Settings
@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
@CheeseStick
CheeseStick / nginxproxy.md
Created Apr 24, 2017 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?
View nginxproxy.md

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

View xcode8-build-error-solutions.md

Xcode 8 및 Sierra에서 프로젝트 빌드시 Code Sign 오류가 날 경우

1. 증상

Xcode 8에서 프로젝트를 빌드 할 때 /usr/bin/codesign failed with exit code 1 오류가 나며, resource fork finder information or similar detritus not allowed 와 같은 메시지가 뜨며 빌드가 정상적으로 되지 않는다.

2. 원인

그림 파일들이 가지고 있는 속성에 개발자 및 기타 생성자의 개인정보가 포함되어 있어서 빌드가 정상적으로 되지 않는다.

3. 해결방법

View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View countries.sql
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;