Skip to content

Instantly share code, notes, and snippets.

View nacyot's full-sized avatar
🧶
The Science of Hitting

Daegwon Nacyot Kim nacyot

🧶
The Science of Hitting
View GitHub Profile
@nacyot
nacyot / settings.json
Created July 18, 2020 12:14
VS Code Go LangaugeServer settings.json
{
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
"editor.snippetSuggestions": "none",
},
curl -s https://get.docker.com/ | sudo sh
sudo wget -O /usr/local/bin/docker-compose https://github.com/docker/compose/releases/download/1.23.2/docker-compose-Linux-x86_64
sudo chmod +x /usr/local/bin/docker-compose
sudo gpasswd -a ubuntu docker
@nacyot
nacyot / Dockerfile1
Last active November 25, 2019 23:47
Shell Commands & Docker Image tutorial
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y git

Docker commit

$ docker run -it ubuntu:16.04 bash
# apt-get update
# apt-get install -y git
# git version
$ docker ps
네트워크가 느릴 수 있으니, 미리 Pull 받아주세요!
docker pull ubuntu:14.04
docker pull ubuntu:16.04
docker pull centos:7
docker pull byrnedo/alpine-curl
docker pull subicura/docker-workshop-app:1
docker pull subicura/docker-workshop-app:2
docker pull subicura/docker-workshop-app:3
docker pull redis
### Keybase proof
I hereby claim:
* I am nacyot on github.
* I am nacyot (https://keybase.io/nacyot) on keybase.
* I have a public key ASDVt06xmzb-gfJKse8Y2lMDeCbCzxoQEZoMNUTYc1IYdgo
To claim this, I am signing this object:
@nacyot
nacyot / template.json
Created September 10, 2016 02:52
packer example
{
"builders": [{
"type": "docker",
"image": "ubuntu:14.04",
"export_path": "nacyot-ubuntu-wget.tar"
}],
"provisioners": [{
"type": "shell",
"inline": [
"apt-get update",
@nacyot
nacyot / saenaru.js
Created August 13, 2016 05:53 — forked from wkpark/saenaru.js
자바스크립트 새나루 한글 입력기
/**
* Saenaru Javascript Hangul Input Method by wkpark at gmail.com
* 2013/03/25
* License: GPLv2
*/
var Saenaru = function() {};
Saenaru.prototype = {
_q: [],