Skip to content

Instantly share code, notes, and snippets.

The Science of Hitting

Daegwon Nacyot Kim nacyot

The Science of Hitting
View GitHub Profile
View gist:1005b62e8a6b6a0e3fe2265e169d5346
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 Nov 25, 2019
Shell Commands & Docker Image tutorial
View Dockerfile1
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y git
View tutorial00.md

Docker commit

$ docker run -it ubuntu:16.04 bash
# apt-get update
# apt-get install -y git
# git version
$ docker ps
View images.txt
네트워크가 느릴 수 있으니, 미리 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
View gist:5fda52dc94464ef5989902ba49e12d5d
### 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:
View template.json
{
"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 Aug 13, 2016 — forked from wkpark/saenaru.js
자바스크립트 새나루 한글 입력기
View saenaru.js
/**
* Saenaru Javascript Hangul Input Method by wkpark at gmail.com
* 2013/03/25
* License: GPLv2
*/
var Saenaru = function() {};
Saenaru.prototype = {
_q: [],
View split-hangul.js
function splitHangul(words){
if (!words){ return []; }
return _.chain(Hangul.disassemble(words, true)).map((char) => {
return splitChoJungJong(char);
}).value();
}
function splitChoJungJong(jamos){
let endCho = false;
let cho = [];
You can’t perform that action at this time.