Skip to content

Instantly share code, notes, and snippets.

🐾
step by step

Seungho Kim raccoonyy

🐾
step by step
Block or report user

Report or block raccoonyy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View postgres-docker.sh
$ docker run -d \
--name db \
-p 5432:5432 \
-e POSTGRES_DB=djangodb \
-e POSTGRES_USER=django \
-e POSTGRES_PASSWORD=djangopassword \
-v $(pwd)/data:/var/lib/postgresql/data \
postgres
View rfcs-template-korean.md

제안 제목

  • 제안자 : <주요 제안자 이름>[, <공동 제안자 이름> ...]
  • 제안일 : <제안한 날짜 YYYY-mm-dd>
  • 수정일 : <수정한 날짜 YYYY-mm-dd>
  • 상태 : <제안됨|진행중|반영됨|반려됨|폐기됨>
  • PR: <PR 번호>
  • Issue: <관련 이슈 번호, 저장소/이슈 포맷 사용>

요약

@raccoonyy
raccoonyy / redis.yml
Created Mar 6, 2018
redis settings for docker compose
View redis.yml
version: '3.3'
services:
redis:
image: library/redis
ports:
- "6379:6379"
command: [
"sh", "-c",
"exec redis-server --requirepass rediswithodk"
@raccoonyy
raccoonyy / mailhog.yml
Created Mar 6, 2018
docker compose settings for mailhog
View mailhog.yml
version: '3.3'
services:
mailhog:
image: mailhog/mailhog
ports:
- "8025:8025"
healthcheck:
test: ["CMD", "echo | telnet 127.0.0.1 8025"]
interval: 1m30s
View keybase.md

Keybase proof

I hereby claim:

  • I am raccoonyy on github.
  • I am raccoony (https://keybase.io/raccoony) on keybase.
  • I have a public key ASCSAK1D3MKUAjcZmmfkpXkJ-BmxbOH5-sl_tBRblciyjwo

To claim this, I am signing this object:

@raccoonyy
raccoonyy / code_for_initial_data.py
Created May 20, 2016
실습용 데이터 생성
View code_for_initial_data.py
from product.models import Product, OrderLog
animal = Product.objects.create(name='동물동요', price=8200)
pack = Product.objects.create(name='사운드북 패키지', price=38400)
abc = Product.objects.create(name='ABC Activity', price=9900)
import datetime
may1 = datetime.datetime(2016, 4, 1)
may2 = datetime.datetime(2016, 4, 2)
may3 = datetime.datetime(2016, 4, 3)
You can’t perform that action at this time.