Skip to content

Instantly share code, notes, and snippets.

View jonnung's full-sized avatar
๐Ÿƒ
๋‹ฌ๋ฆฌ๋Š” ์ค‘

Eunwoo Cho jonnung

๐Ÿƒ
๋‹ฌ๋ฆฌ๋Š” ์ค‘
View GitHub Profile
@jonnung
jonnung / webpack.config.js
Created April 27, 2016 08:08
[DalkStudy] webpack.config.js
module.exports = {
entry: {
app: './src/app.js'
},
output: {
path: __dirname + '/dist',
publicPath: "/assets/",
filename: '[name].bundle.js'
},
devServer: {
@jonnung
jonnung / example.js
Last active April 27, 2016 09:28
[DalkStudy] react-webpack-starter-example.js
var React = require('react');
var ReactDOM = require('react-dom');
var RandomMessage = React.createClass({
getInitialState: function () {
return { message: "Hello, React!" };
},
onClick: function () {
var messages = ['Hello, DalkStudy', 'Hello, Jonnung', 'Hello, Gaerae'];
var randomMessage = messages[Math.floor(Math.random() * 3)];
@jonnung
jonnung / # python - 2018-04-09_11-15-24.txt
Created August 7, 2018 01:33
python on macOS 10.12.5 - Homebrew build logs
Homebrew build logs for python on macOS 10.12.5
Build date: 2018-04-09 11:15:24
@jonnung
jonnung / barapp_with_loadbalancer_service.yaml
Last active April 5, 2021 15:53
MacOS ํ™˜๊ฒฝ์—์„œ Kind๋กœ ์„ค์น˜ํ•œ Kubernetes ํด๋Ÿฌ์Šคํ„ฐ์— Istio ์„ค์น˜ ๋ฐ BookInfo ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹ค์Šต
# Metallb ์„ค์น˜ ํ›„ Loadbalancer ํƒ€์ž…์˜ Service ์ ‘๊ทผ์ด ๊ฐ€๋Šฅํ•œ ์ง€ ํ…Œ์ŠคํŠธํ•˜๊ธฐ ์œ„ํ•œ ์ƒ˜ํ”Œ POD์™€ Service
kind: Pod
apiVersion: v1
metadata:
name: bar-app
labels:
app: http-echo
spec:
containers:
- name: bar-app
@jonnung
jonnung / Dockerfile_mongodb_replset
Last active July 1, 2022 03:14
๋„์ปค๋กœ ์Šคํƒ ๋“œ์–ผ๋ก  MongoDB ์ปจํ…Œ์ด๋„ˆ๋ฅผ ReplSet์œผ๋กœ ์„ค์ •ํ•˜๊ธฐ
From mongo:4.4
WORKDIR .
COPY initiateReplSet.js ./docker-entrypoint-initdb.d/
CMD ["-replSet", "rs0"]