Skip to content

Instantly share code, notes, and snippets.

@opklnm102
opklnm102 / aws-study-resource.md
Created July 5, 2022 05:24 — forked from serithemage/aws-study-resource.md
AWS ํ•™์Šต ์ž๋ฃŒ์ง‘

AWS ํ•™์Šต ๋งํฌ์ง‘ ์‹œ๋ฆฌ์ฆˆ

  • AWS ํŠธ๋ ˆ์ด๋‹ ๋ฐ ์ž๊ฒฉ์ฆ ์†Œ๊ฐœ http://bit.ly/aws-tnc-intro
  • AWS ํ•™์Šต ์ž๋ฃŒ์ง‘ http://bit.ly/aws-study-resource
  • AWS ๊ณต์ธ ์†”๋ฃจ์…˜์Šค ์•„ํ‚คํ…ํŠธ - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ http://bit.ly/sacertguide
  • AWS ๊ณต์ธ ๊ฐœ๋ฐœ์ž - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ http://bit.ly/devcertguide
  • AWS ๋ณด์•ˆ ๊ด€๋ จ ์ปจํ…์ธ  ๋ชจ์Œ์ง‘ http://bit.ly/secontents
  • AWS ๊ธฐ๋ฐ˜ ๋น…๋ฐ์ดํ„ฐ ํ•™์Šต์ž๋ฃŒ์ง‘ http://bit.ly/bdonaws
  • AWS ๋”ฅ๋Ÿฌ๋‹ ํ•™์Šต ์ž๋ฃŒ ๋ชจ์Œ์ง‘ http://bit.ly/dlonaws
  • 2019๋…„ re:Invent ์—์„œ ๊ณต๊ฐœ๋œ AI/ML๊ด€๋ จ ์„œ๋น„์Šค ์†Œ๊ฐœ http://bit.ly/2019-ml-recap

HOWTO: Installing Vault On AWS Linux

This is quick howto for installing vault on AWS Linux, mostly to remind myself. At the end of this tutorial, you'll have a working vault server, using s3 for the backend, self signed certificates for tls, and supervisord to ensure that the vault server is always running, and starts on reboot.

Setting up S3

First things first, let's set up an s3 bucket to use as the storage backend for our s3 instance.

  1. From the AWS Mangement Console, go to the S3 console.

  2. Click on the Create Bucket button

์Šค์นผ๋ผ FP ๊ด€๋ จ ์ฑ…๋“ค

Scala Cookbook ์ €์ž๊ฐ€ ์”€, ๊ฐœ๋ฐœ ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ FP์˜ ์—ญ์‚ฌ์™€ ๊ฐ™์€ ๋‚ด์šฉ๋„ ํฌํ•จ๋˜์–ด ์žˆ์Œ

ENSIME ๋ฉ”์ธ ๋ฉ”์ธํ…Œ์ด๋„ˆ๊ฐ€ ์”€ - scalaz๋ฅผ ํ™œ์šฉํ•˜์—ฌ FP๋กœ ํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ ํ• ์ˆ˜ ์žˆ๋Š”๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด์„œ ์•Œ๋ ค์คŒ

์ผ๋ช… ๋นจ๊ฐ„ ์ฑ…์ด๋ผ ๋ถˆ๋ฆฌ๋ฉฐ, scala + FP์˜ ๋ฐ”์ด๋ธ” ๊ฐ™์€ ์กด์žฌ, ํ•˜์ง€๋งŒ ์–ด๋ ค์›€

@opklnm102
opklnm102 / swift_api_guideline.md
Created February 12, 2018 17:15 — forked from godrm/swift_api_guideline.md
์Šค์œ„ํ”„ํŠธ API ๊ฐ€์ด๋“œ๋ผ์ธ

1. ์Šคํƒ€์ผ/๋ฌธ๋ฒ• ๋ฆฌ๋ทฐ

1-1 ์Šค์œ„ํ”„ํŠธ API ๋””์ž์ธ ๊ฐ€์ด๋“œ๋ผ์ธ

https://swift.org/documentation/api-design-guidelines/

  • ์‚ฌ์šฉํ•  ๋•Œ ๊ธฐ์ค€์œผ๋กœ ๋ช…ํ™•ํ•˜๊ฒŒ ์ž‘์„ฑํ•˜๋Š” ๊ฒŒ ๊ฐ€์žฅ ์ค‘์š”ํ•œ ์ง€ํ–ฅ์ ์ด๋‹ค. ๋ฉ”์†Œ๋“œ๋‚˜ ํ”„๋กœํผํ‹ฐ ๊ฐ™์€ ๊ฐœ๋ฐœ ์š”์†Œ๋Š” ํ•œ ๋ฒˆ๋งŒ ์„ ์–ธํ•˜๊ณ  ๋ฐ˜๋ณต์ ์œผ๋กœ ์‚ฌ์šฉํ•œ๋‹ค. API๋ฅผ ๋งŒ๋“ค ๋•Œ๋Š” ์‚ฌ์šฉํ•˜๊ธฐ ๋ช…ํ™•ํ•˜๊ณ  ํŽธํ•˜๊ฒŒ ๋งŒ๋“ค์–ด์•ผ ํ•œ๋‹ค. ์„ค๊ณ„๋ฅผ ๊ฒ€์ฆํ•  ๋•Œ ์„ ์–ธ ๋ถ€๋ถ„์„ ์ฝ๋Š” ๊ฒƒ๋งŒ์œผ๋กœ๋Š” ๋ถ€์กฑํ•˜๋‹ค. ๊ทธ ๋Œ€์‹  ์‚ฌ์šฉํ•˜๋Š” ์ƒํ™ฉ์—์„œ ๋งฅ๋ฝ์— ๋งž๊ณ  ๋ช…ํ™•ํ•œ ์ง€ ๋Š˜ ๊ณ ๋ คํ•ด์•ผ ํ•œ๋‹ค.

  • ๋ช…ํ™•ํ•œ ํ‘œํ˜„์ด ์••์ถ•ํ•œ ๊ฐ„๊ฒฐ์„ฑ๋ณด๋‹ค ๋” ์ค‘์š”ํ•˜๋‹ค. ์Šค์œ„ํ”„ํŠธ ์ฝ”๋“œ๋Š” ์••์ถ•ํ•ด์„œ ๊ฐ„๊ฒฐํ•˜๊ฒŒ ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ์ง€๋งŒ, ๋‹จ์ง€ ๊ธ€์ž์ˆ˜๋ฅผ ์ค„์—ฌ์„œ ๊ฐ€์žฅ ์งง์€ ์ฝ”๋“œ๋ฅผ ๋งŒ๋“œ๋Š” ๊ฒŒ ๋ชฉํ‘œ๋Š” ์•„๋‹ˆ๋‹ค. ์Šค์œ„ํ”„ํŠธ ์ฝ”๋“œ์˜ ๊ฐ„๊ฒฐ์„ฑ์€ ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ๋ฐ˜๋ณต์ ์œผ๋กœ ์žฌ์‚ฌ์šฉํ•˜๋Š” ์ฝ”๋“œ(boilerplate)๋ฅผ ์ค„์ด๋Š” ๊ธฐ๋Šฅ๊ณผ ๊ฐ•ํ•œ ํƒ€์ž… ์‹œ์Šคํ…œ์˜ ๋ถ€์ˆ˜ํšจ๊ณผ๋กœ ๋“œ๋Ÿฌ๋‚  ๋ฟ์ด๋‹ค.

@opklnm102
opklnm102 / .bash_profile
Created December 1, 2017 10:40 — forked from KennethanCeyer/.bash_profile
bash_profile for MAC users
#.bash_profile
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
#============================================================
#
# ALIASES AND FUNCTIONS
# Arguably, some functions defined here are quite big.
# If you want to make this file smaller, these functions can
@opklnm102
opklnm102 / latency.markdown
Created October 29, 2017 13:13 — forked from hellerbarde/latency.markdown
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 ยตs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 ยตs
SSD random read ........................ 150,000 ns  = 150 ยตs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 ยตs

@opklnm102
opklnm102 / docker_cheat.md
Created October 21, 2017 05:30 — forked from nacyot/docker_cheat.md
๋„์ปค(Docker) ์น˜ํŠธ ์‹œํŠธ

Docker ์น˜ํŠธ ์‹œํŠธ

ํ•œ๊ตญ์–ด ๋ฒˆ์—ญ(์ดˆ๋ฒŒ) : nacyot

์™œ Docker๋ฅผ ์‚ฌ์šฉํ•ด์•ผํ•˜๋Š”๊ฐ€?

Why Should I Care (For Developers)

"๋‚˜์—๊ฒŒ Docker์˜ ๋งค๋ ฅ์€ ๊ฐ„๋‹จํžˆ ๊ฒฉ๋ฆฌ๋œ ํ™˜๊ฒฝ์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋‹ค๋Š” ๊ฒƒ๊ณผ, ๊ทธ๋Ÿฌํ•œ ํ™˜๊ฒฝ์„ ์žฌ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค๋Š” ์ ์ด๋‹ค."๋Ÿฐํƒ€์ž„ ํ™˜๊ฒฝ์„ ํ•œ ๋ฒˆ ๋งŒ๋“ค์–ด ํŒจํ‚ค์ง€๋กœ ๋งŒ๋“ค๋ฉด, ์ด ํŒจํ‚ค์ง€๋ฅผ ๋‹ค๋ฅธ ์–ด๋–ค ๋จธ์‹ ์—์„œ๋„ ๋‹ค์‹œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ๋˜ํ•œ ์—ฌ๊ธฐ์„œ ์‹คํ–‰๋˜๋Š” ๋ชจ๋“  ๊ฒƒ์€ ๋งˆ์น˜ ๊ฐ€์ƒ๋จธ์‹ ๊ณผ ๊ฐ™์ด ํ˜ธ์ŠคํŠธ๋กœ๋ถ€ํ„ฐ ๊ฒฉ๋ฆฌ๋˜์–ด์žˆ๋‹ค. ๋ฌด์—‡๋ณด๋‹ค๋„ ์ด๋Ÿฐ ๋ชจ๋“  ์ผ๋“ค์ด ๋น ๋ฅด๊ณ  ๊ฐ„๋‹จํžˆ ๊ฐ€๋Šฅํ•˜๋‹ค.

@opklnm102
opklnm102 / gist:14596d267a242d05703be5e51af4a915
Created October 6, 2017 09:11 — forked from asabaylus/gist:3071099
Github Markdown Heading Anchors

Anchors in Markdown

To create an anchor to a heading in github flavored markdown. Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:

[create an anchor](#anchors-in-markdown)