Skip to content

Instantly share code, notes, and snippets.

View chwnam's full-sized avatar

Changwoo Nam chwnam

View GitHub Profile
@chwnam
chwnam / google_calendar_sample.py
Created February 28, 2015 20:54
Google Calendar API Example
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import argparse
import httplib2
import json
from apiclient.discovery import build
from oauth2client import tools
from oauth2client.file import Storage
from oauth2client.client import flow_from_clientsecrets
@chwnam
chwnam / drobox-clash-cleaner.py
Created November 23, 2014 14:37
Dropbox Clash Cleaner (korean ver.)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# 드롭박스 동기화 중 파일 충돌로 인해 중복된 파일이 엄청나게 쌓이는 경우, 쌓이는 파일들을 별도로 추려내는 스크립트
import os
import re
class ClashItem:
def __init__(self, original_file_name, location, clash_file_name, date, dir_path):
self.original_file_name = original_file_name
@chwnam
chwnam / opener.py
Created September 16, 2014 00:02
batch_opener
# -*- coding: utf-8 -*-
# copyright: K. H. Nam ([email protected]) / Licensed under GPLv3 or higher version.
import wx
import os
import sys
import os.path
reload(sys)
sys.setdefaultencoding('cp949')