Skip to content

Instantly share code, notes, and snippets.

Matthew 480

  • PLAYAUTO INC
  • south korea
Block or report user

Report or block 480

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@480
480 / kr_won_to_backquote.sh
Created Dec 27, 2018 — forked from redism/kr_won_to_backquote.sh
macOS Sierra에서 원화(₩) 대신 백 쿼트(`) 입력하기
View kr_won_to_backquote.sh
#!/bin/bash
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then
echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists"
exit -1
fi
mkdir -p ~/Library/KeyBindings
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict
{
"₩" = ("insertText:", "\`");
@480
480 / gist:4681b67d2a906db8c6c1321cc678f05f
Last active Jan 23, 2020
github 리모트 리포지토리 변경하기
View gist:4681b67d2a906db8c6c1321cc678f05f

깃 리모트 변경 하기

기존 리포지토리 깔끔하게 pull / push

git pull
git add .
git commit -m "clean push"
git push
View api4.yml
swagger: "2.0"
info:
description: "여러 마켓을 하나의 API로 통합 연동 할 수 있습니다. `RESTful API`로 제공되며, `snake_case`를 사용 합니다."
version: 4.0.0
title: PLAYAPI ENGINES API V4
termsOfService: "http://www.playauto.co.kr/"
contact:
email: "beat@playauto.co.kr"
license:
name: PLAYAUTO INC (ISC)
@480
480 / 00_nginx.config
Created Oct 17, 2017
자주 쓰는 ebextensions 설정
View 00_nginx.config
# 장시간 http 연결로 인한 끊어짐을 방지키 위해 long idle time out 허용 하기
# nginx proxy 에 셋팅 + ELB 의 idle timeout 수정
#
# https://medium.com/tomincode/extending-gateway-timeouts-with-node-js-elastic-beanstalk-applications-5cb256f08f4b
# https://cloudavail.com/2015/10/18/allowing-long-idle-timeouts-when-using-aws-elasticbeanstalk-and-docker/
# https://github.com/metabase/metabase/tree/b9533d43881090a72d97562fb112a6133cd94127/bin/aws-eb-docker
files:
"/etc/nginx/conf.d/proxy.conf":
mode: "000644"
@480
480 / gist:3b41f449686a089f34edb45d00672f28
Last active Feb 14, 2020
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings
View gist:3b41f449686a089f34edb45d00672f28

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@480
480 / yml
Last active Sep 20, 2017
test_swagger
View yml
swagger: "2.0"
info:
description: "PLAYAPI Engines API"
version: 4.0.1
title: PLAYAPI ENGINES
termsOfService: "http://www.playauto.co.kr/"
contact:
email: "beat@playauto.co.kr"
license:
name: PLAYAUTO INC (ISC)
You can’t perform that action at this time.