Skip to content

Instantly share code, notes, and snippets.

@hare85
hare85 / setupEslint.md
Last active December 4, 2017 02:34
setup eslint

setup eslint

vscode & eslint

airbnb js style 가이드

  • package 설치

    (
@hare85
hare85 / nginx.conf
Last active August 29, 2015 14:17 — forked from asiegman/nginx.conf
# Output json-esque output for logstash to parse easily.
http {
# ...
log_format logstash_json '{"@timestamp": "$time_iso8601", '
'"remote_addr": "$remote_addr", '
'"remote_user": "$remote_user", '
'"body_bytes_sent": "$body_bytes_sent", '
'"request_time": "$request_time", '
// db 쿼리와 그에 걸리는 시간을 로깅하기 위해 간단한 기술검증을 해본 코드이다.
//
// sql/driver 가 interface 를 잘 활용한 형태라서 간단히 내가 중간에
// 코드를 끼워넣는게 가능하더라. 감동적임!!
//
// 아래 코드는 드라이버 코드를 후킹하는게 가능한지 검증정도의 구현만
// 되어있고 실제로는 이런 구현을 추가 해야 할것이다.
//
// 1. 설정에 따라 쿼리 로깅 켜고 끈다
// 2. 설정에 따라 지정시간보다 느린 쿼리만 찍는다

Mac OS X 10.9 Mavericks

Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.

Install Software

The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

Install from App Store