Skip to content

Instantly share code, notes, and snippets.

Minyoung Jeong kkung

Block or report user

Report or block kkung

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 keybase.md

Keybase proof

I hereby claim:

  • I am kkung on github.
  • I am kkung (https://keybase.io/kkung) on keybase.
  • I have a public key ASA6LVvEkVOPndMQuD5BhNun2HK5HVa1pruV037BAtBVAQo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am kkung on github.
  • I am kkung (https://keybase.io/kkung) on keybase.
  • I have a public key whose fingerprint is 4F8D 1EE2 8D1A 7D45 1F49 60D1 C49E 9CEB 50D6 B105

To claim this, I am signing this object:

@kkung
kkung / duzon.py
Last active Aug 29, 2015
더존 급여명세서 복호화
View duzon.py
#!/usr/bin/env python
import sys
import re
import urllib
ENC_BODY_PATTERN = re.compile(r'value=\'([^\'].*)\'')
def decrypt(name, key):
if len(key) != 6:
@kkung
kkung / result.md
Created Aug 14, 2014
RSA library benchmark
View result.md
  • RMBP 15" / Early 2013(2.4GHz i7, 16GB RAM), CPython 2.7.6
  • rsa==3.1.4
  • pycrypto==2.6.1
  • cryptography==0.5.3
Cryptography PyCrypto RSA
1.0222690105438232 1.453489065170288 4.905964136123657
1.0008471012115479 1.3903019428253174 4.860486030578613
0.9761111736297607 1.3885319232940674 5.226905107498169
@kkung
kkung / example.md
Last active Sep 22, 2017
Getting AWS RDS Log files
View example.md
$ python get_logs.py rds-db-instance-name rds.log aws-access-key aws-secret-key
$ ./pgbadger -p '%t:%r:%u@%d:[%p]:' ./rds.log
$ open out.html
View kakao.css
/*
Manifest
*/
ManifestStyle
{
-kakaotalk-theme-name: url('Travel Theme');
-kakaotalk-theme-version: url('1.0.0');
-kakaotalk-theme-url: url('http://www.kakao.com');
-kakaotalk-author-name: url('Kakao Corp.');
View hello_wand_drawing.py
from wand.api import *
from wand.color import Color
import ctypes
res = libmagick.NewMagickWand()
libmagick.MagickReadImage(
res,
'test/img/387062_352291954856564_1975342188_n.jpeg')
draw = libmagick.NewDrawingWand()
libmagick.DrawSetFont(
View gist:3376923
Downloading https://github.com/downloads/dahlia/libsass-python/libsass-0.1.0preview.tar.gz
Processing libsass-0.1.0preview.tar.gz
Running libsass-0.1.0preview/setup.py -q bdist_egg --dist-dir /var/folders/jf/vqynd_t5705211nzjlfllvnw0000gn/T/easy_install-xxymQM/libsass-0.1.0preview/egg-dist-tmp-57FSXq
clang: warning: argument unused during compilation: '-mno-fused-madd'
sass.c:54:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (string != NULL && !(filename == NULL && dirname == NULL) ||
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
sass.c:54:24: note: place parentheses around the '&&' expression to silence this warning
if (string != NULL && !(filename == NULL && dirname == NULL) ||
^
View gist:2406555
Traceback (most recent call last):
File "runserver.py", line 4, in <module>
app = create_app()
File "/Users/kkung/private/jothief/jothief/jothief/__init__.py", line 28, in create_app
admin_blueprint = admin.create_admin_blueprint(datastore)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask_admin/__init__.py", line 87, in create_admin_blueprint
return create_admin_blueprint_new(*args, **kwargs)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask_admin/__init__.py", line 116, in create_admin_blueprint_new
**kwargs)
File "/Users/kkung/private/jothief/env/lib/python2.7/site-packages/flask/blueprints.py", line 95, in __init__
View 0001-fix-invalid-test-spec-changes.patch
From 9edc0bd92e7e6075b269b05ba3b6ef8a485e4f53 Mon Sep 17 00:00:00 2001
From: kkung <kkungkkung@gmail.com>
Date: Sat, 10 Mar 2012 13:23:20 +0900
Subject: [PATCH] fix invalid test(spec changes?)
---
build.xml | 2 +-
test/veeju/tests/forms/SymbolTest.java | 10 ++++++----
test/veeju/tests/runtime/StringTest.java | 10 ++++++----
3 files changed, 13 insertions(+), 9 deletions(-)
You can’t perform that action at this time.