Skip to content

Instantly share code, notes, and snippets.

Heechan Bak channprj

Block or report user

Report or block channprj

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
channprj / setup github issues
Created Jul 22, 2019 — forked from rentzsch/setup github issues
Shell script to set up a GitHub Project's Issues' Labels as described in <>. WARNING: script assumes a newish project that hasn't really used labels yet. It deletes all default labels, which means DATA LOSS if you've used them for anything.
View setup github issues
# Delete default labels
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/bug"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/duplicate"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/enhancement"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/invalid"
curl --user "$USER:$PASS" --include --request DELETE "$USER/$REPO/labels/question"
View gist:fa6a42568872a777515eb666faaae2a9
/Applications/Google\\ Chrome --app=""
channprj / attributes.rb
Created Apr 22, 2019 — forked from lizthegrey/attributes.rb
Hardening SSH with 2fa
View attributes.rb
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
# Local
curl -L | bash
# Remote server
sudo curl -o /usr/local/bin/imgcat -O && sudo chmod +x /usr/local/bin/imgcat
# Enjoy it now! :-)
imgcat /tmp/sample.png
docker rm $(docker ps -a --format '{{.ID}}:{{.Image}}' | grep $(docker images --format '{{.Repository}}:{{.Tag}}:{{.ID}}' | grep gitlab-runner-helper | cut -d':' -f3) | cut -d':' -f1)
channprj /
Last active Feb 8, 2019
Very simple and naive systemd daemon for simple api.


# create systemd service
vim /lib/systemd/system/simple-api.service

# install systemd service unit and enable it so it will be executed at the boot time
systemctl enable simple-api.service
channprj /
Created Jan 23, 2019
신한카드랑 마크애니 둘 중 누구를 욕해야 하는가

신한카드랑 마크애니 둘 중 누구를 욕해야 하는가

연말정산 때문에 신용카드 사용내역서를 뽑으려는데 신한카드가 나에게 MarkAny 라는 똥을 줬다.

똥을 피하려고 VMWare 를 켰지만, 가상머신 환경ㄴㄴ 라면서 자꾸 빠꾸를 당해서 그냥 맥으로 시도를 해봤다.

그러자 물소똥 같은 pkg 파일을 주면서 root 권한으로 설치를 강요했다. 망할놈들...

하지만 root 권한까지 다 줘 가면서 까라는 대로 깠으나 내 손에 소득공제 증빙자료를 쥘 수는 없었다.

매우 열받는 일이지만 어쨌건 더러운 마크애니 놈들 때문에 설치(당)한 패키지들을 색출해서 조져야 했다.

channprj /
Created Jan 22, 2019 — forked from asukakenji/
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.8.3 darwin/amd64.

A list of valid GOOS values

(Bold = supported by go out of the box, ie. without the help of a C compiler, etc.)

  • android
  • darwin
channprj /
Created Jan 16, 2019 — forked from tehpeh/
Dynamic DNS for Mac OS X with CloudFlare and ddclient


Dyn's free dynamic DNS service will be ending on Wednesday, May 7th, 2014.

CloudFlare, however, has a little known feature that will allow you to update your DNS records via API or a command line script called ddclient. This will give you the same result, and it's also free.

Unfortunately, ddclient does not work with CloudFlare out of the box. There is a patch available

channprj / labels.json
Created Dec 26, 2018
Labels for Dev Team
View labels.json
"name": "Problem: Bug",
"color": "f5222d"
"name": "Problem: Security",
"color": "f5222d"
You can’t perform that action at this time.