Skip to content

Instantly share code, notes, and snippets.

View west0706's full-sized avatar
๐Ÿ˜
Thankyou!

Junyeop, Jang west0706

๐Ÿ˜
Thankyou!
  • NCSOFT
  • Seoul, Korea
View GitHub Profile
@ninanung
ninanung / forMe5.md
Last active November 5, 2022 07:35
์‚ฌ์‹ค์€ ๋‚ด๊ฐ€ ๋ณด๊ธฐ์œ„ํ•œ ๋งˆํฌ๋‹ค์šด ๋ฌธ๋ฒ•์„ค๋ช…์„œ - 5. ๋ธ”๋Ÿญ๊ณผ ํ…Œ์ด๋ธ”

5.๋ธ”๋Ÿญ๊ณผ ํ…Œ์ด๋ธ”

5-1.๋ธ”๋Ÿญ

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

๋จผ์ € ๊ฐ€์žฅ ์‰ฌ์šด ๋ฐฉ๋ฒ•์€ ์ŠคํŽ˜์ด์Šค๋ฐ”๋ฅผ 4๋ฒˆ ๋ˆ„๋ฅด๋Š” ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค.

    for(i=0; i<10; i++) {
    	cout << โ€œ๊ฒŒ์ž„ํ•˜๊ณ ์‹ถ๋‹คโ€ << endl;
@wpscholar
wpscholar / vagrant-cheat-sheet.md
Last active April 30, 2025 06:55
Vagrant Cheat Sheet

Typing vagrant from the command line will display a list of all available commands.

Be sure that you are in the same directory as the Vagrantfile when running these commands!

Creating a VM

  • vagrant init -- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.
  • vagrant init <boxpath> -- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64.

Starting a VM

  • vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active April 28, 2025 04:15
๋งˆํฌ๋‹ค์šด(Markdown) ์‚ฌ์šฉ๋ฒ•

[๊ณตํ†ต] ๋งˆํฌ๋‹ค์šด markdown ์ž‘์„ฑ๋ฒ•

์˜์–ด์ง€๋งŒ, ์กฐ๊ธˆ ๋” ์ƒ์„ธํ•˜๊ฒŒ ๋งˆํฌ๋‹ค์šด ์‚ฌ์šฉ๋ฒ•์„ ์•ˆ๋‚ดํ•˜๊ณ  ์žˆ๋Š”
"Markdown Guide (https://www.markdownguide.org/)" ๋ฅผ ๋ณด์‹œ๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค. ^^

์•„, ๊ทธ๋ฆฌ๊ณ  ๋งˆํฌ๋‹ค์šด๋งŒ์œผ๋กœ ํ‘œํ˜„์ด ๋ถ€์กฑํ•˜๋‹ค๊ณ  ๋А๋ผ์‹ ๋‹ค๋ฉด, HTML ํƒœ๊ทธ๋ฅผ ํ™œ์šฉํ•˜์‹œ๋Š” ๊ฒƒ๋„ ์ข‹์Šต๋‹ˆ๋‹ค.

1. ๋งˆํฌ๋‹ค์šด์— ๊ด€ํ•˜์—ฌ

@jniltinho
jniltinho / myip.go
Created March 26, 2014 16:55
Get My IP Golang
package main
/*
URL: https://github.com/mccoyst/myip/blob/master/myip.go
URL: http://changsijay.com/2013/07/28/golang-get-ip-address/
*/
import (
"net"
"os"