Skip to content

Instantly share code, notes, and snippets.

View ujuc's full-sized avatar
๐ŸŽ—๏ธ
doing!

sungjin ujuc

๐ŸŽ—๏ธ
doing!
View GitHub Profile
@ujuc
ujuc / Dream.md
Last active September 17, 2015 09:21
ํ•˜๊ณ  ์‹ถ์€ ๊ฒƒ, ํ•˜๊ธฐ ์‹ซ์€ ๊ฒƒ

ํ•˜๊ณ  ์‹ถ์€๊ฒƒ

  1. ์ž„๋ฒ ๋””๋“œ
  • Todo
    1. ARM ์„œ๋ฒ„ ๋ชจ๋“ˆ ์„ค๊ณ„ ๋ฐ ๋“œ๋ผ์ด๋ฒ„ ๊ฐœ๋ฐœ
    2. CPU ๋ชจ๋“ˆ๋กœ ์žฅ๋‚œ๊ฐ ์ œ์ž‘
  • Doing?
    • ์ทจ๋ฏธ... ํ™œ๋™์œผ๋กœ ๋นผ์ž...
  1. OpenStack
  • Todo
  1. Python ๊ฐœ๋ฐœ
@ujuc
ujuc / bridge.conf
Created August 29, 2015 05:33
Zabbix bridge discovery.
UserParameter=bridge.discovery, /etc/zabbix/bridge_discovery.py
UserParameter=brdige.status[*], /etc/zabbix/bridge_status.py $1
@ujuc
ujuc / ping_check.conf
Created August 25, 2015 14:33
Zabbix Ping check
UserParameter=ping_check[*], /etc/zabbix/ping_check.py $1
@ujuc
ujuc / fchost.conf
Last active August 29, 2015 14:28
zabbix FC host check
UserParameter=fchost.discovery, /etc/zabbix/fchost_discovery.py
UserParameter=fchost.status[*], /etc/zabbix/fchost_status.py $1
@ujuc
ujuc / log_compress.py
Last active September 30, 2015 09:34
logfile ์••์ถ•
#!/usr/bin/env python
# coding: utf-8-
import os
import re
import sys
import tarfile as tar
LOG_PATH = sys.argv[1]
@ujuc
ujuc / wsgi.py
Last active August 29, 2015 14:06
wsgi
import os
import sys
BASE_DIR = os.path.dirname((os.path.dirname(__file__)))
sys.path.append(BASE_DIR)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()