Skip to content

Instantly share code, notes, and snippets.

View nattybear's full-sized avatar

Joonkyu Park nattybear

View GitHub Profile

Hello

목차

  1. 영어에 대한 자세
  2. 파이썬
  3. 리눅스 기초
  4. AWS EC2
  5. HTML
  6. SQLITE
  7. BOTTLE
  8. Micro Web Service Project
  9. GitHubGist
import threading
import time
def say(msg):
while True:
time.sleep(1)
print(msg)
for msg in ['you', 'need', 'python']:
t = threading.Thread(target=say, args=(msg,))
@nattybear
nattybear / 16A-cannon.py
Last active May 18, 2017 05:45
거북이 대포 게임 만들기
import turtle as t
import random
def turn_up():
t.left(2)
def turn_down():
t.right(2)
def fire():
import turtle as t
def turn_right():
t.seth(0)
t.fd(10)
def turn_up():
t.seth(90)
t.fd(10)
@nattybear
nattybear / thread1.py
Created May 18, 2017 10:30
Python Multithreaded Programming
import thread
import time
# Define a function for the thread
def print_time(threadName, delay):
count = 0
while count < 5:
time.sleep(delay)
count += 1
print "%s: %s" % (threadName, time.ctime(time.time()))
@nattybear
nattybear / ado.vba
Created May 18, 2017 13:24
vba excel ADO programming
Sub sbADOExample()
Dim sSQLQry As String
Dim Conn As New ADODB.Connection
Dim mrs As New ADODB.Recordset
dim DBPath As String, sconnect As String
DBPath = ThisWorkbook.FullName
sconnect = "Provider=MSDASQL.1;DSN=Excel Files;DBQ=" & DBPath & ";HDR=Yes';"
@nattybear
nattybear / pickle1.py
Last active May 21, 2017 01:59
GIST 사용 예제 - 여기에 간략한 설명을 적을 수 있다!
import pickle
f = open("test.txt", "wb")
data = {1: 'python', 2: 'you need'}
pickle.dump(data, f)
f.close()
@nattybear
nattybear / meta.md
Last active May 22, 2017 06:38
자주 사용하는 넷위트니스 SA 메타키

.

@nattybear
nattybear / mail.md
Created May 26, 2017 02:05
[email protected]님 질문에 대한 답변입니다.

.