Skip to content

Instantly share code, notes, and snippets.

View zzerjae's full-sized avatar
๐Ÿค–
fun coding

Marco Jaeho Cho zzerjae

๐Ÿค–
fun coding
View GitHub Profile
@deopard
deopard / nginx
Created June 22, 2018 13:51
nginx service script
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemin
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
# proxy and IMAP/POP3 proxy server
# processname: nginx
# config: /opt/nginx/conf/nginx.conf
# pidfile: /opt/nginx/logs/nginx.pid
@perhapsspy
perhapsspy / django-test-easy-and-fast.md
Last active May 20, 2022 05:06
Django์—์„œ Test ์‰ฝ๊ณ  ๋น ๋ฅด๊ฒŒ ํ•˜๊ธฐ

Django์—์„œ Test ์‰ฝ๊ณ  ๋น ๋ฅด๊ฒŒ ํ•˜๊ธฐ

django ๊ธฐ๋ณธ ํ…Œ์ŠคํŠธ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋•์— ๋А๋ฆฌ๊ณ  ๋ฒˆ๊ฑฐ๋กญ๊ธฐ ๋•Œ๋ฌธ์— py.test์™€ model_mommy๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๋น ๋ฅด๊ฒŒ ํ…Œ์ŠคํŠธ๋ฅผ ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์†Œ๊ฐœํ•จ.

ํ…Œ์ŠคํŠธ ํŒŒ์ผ ๋ ˆ์ด์•„์›ƒ

@nacyot
nacyot / 2013-03-04-ruby-trivias-you-should-know-4.md
Last active April 23, 2025 00:36
์•Œ์•„๋‘๋ฉด ๋„์›€์ด ๋˜๋Š” 55๊ฐ€์ง€ ๋ฃจ๋น„ ๊ธฐ๋ฒ•

์•Œ์•„๋‘๋ฉด ๋„์›€์ด ๋˜๋Š” 55๊ฐ€์ง€ ๋ฃจ๋น„ ๊ธฐ๋ฒ•

Ruby๋Š” ์ฆ๊ฑฐ์šด ์–ธ์–ด์ž…๋‹ˆ๋‹ค. Ruby๋ฅผ ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด ๋งค๋‰ด์–ผ์—๋„ ๋‚˜์™€์žˆ์ง€ ์•Š์€ '์ž‘์€ ๋ฐœ๊ฒฌ'์„ ๋งŒ๋‚˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ '๋ฐœ๊ฒฌ'์€ ํ”„๋กœ๊ทธ๋žจ์˜ ์งˆ์ด๋‚˜