Skip to content

Instantly share code, notes, and snippets.

Keewon Seo keewon

Block or report user

Report or block keewon

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
@keewon
keewon / gist:8971592
Last active Aug 29, 2015
Capturing NAVER Map with CasperJS
View gist:8971592
// install casperjs, phantomjs
var casper = require('casper').create();
casper.start('http://map.naver.com/?menu=location&mapMode=0&lat=37.3659794&lng=127.1152764&dlevel=14&enc=b64', function() {
this.viewport(5000, 5000);
this.wait(2000, function() {
this.capture('map.png', {
top: 0,
left: 0,
width: 5000,
@keewon
keewon / 1_description
Last active Aug 29, 2015
윈도우폰에서 카드사 문자 복사하기
View 1_description
1. 윈도우폰에서 SMS 를 서버랑 연동시킨 상태여야 한다.
2. 아래 북마클릿을 등록한다.
3. Chrome 이나 기타 북마클릿 사용 가능한 브라우저로 http://outlook.com 으로 가서 본인의 계정으로 접속
4. '메시지 기록' 을 누른다
5. URL 에서 'fid=b' 를 삭제한 후 Enter 를 누른다.
6. 이제 메시지 목록에 SMS 가 나온다.
7. 북마클릿을 누르면 카드사 문자만 복사할 수 있도록 팝업이 뜬다.
8. 복사한 문자를 메모장 등에 붙여 넣는다.
9. 페이지를 넘겨 가면서 계속해서 문자를 복사하면 된다.
@keewon
keewon / graph.py
Last active Aug 29, 2015
Graph with Python
View graph.py
import matplotlib.pyplot as plt
# load data
qos0 = open('qos0.txt').readlines()
qos1 = open('qos1.txt').readlines()
qos2 = open('qos2.txt').readlines()
qos0 = qos0[1:]
qos1 = qos1[1:]
qos2 = qos2[1:]
@keewon
keewon / gist:588fb09d9df9ca6b17db
Created Nov 20, 2014
AION 하우징 스크립트 - 경마 게임
View gist:588fb09d9df9ca6b17db
-- 아이온 하우징 스크립트 경마 게임
-- 최종수정일: 2011-12-17
-- 자유롭게 수정 배포 가능함
-- 한번에 이동할 거리
STEP = 0.18;
-- 최대 20회 움직임
RUN = 20;
@keewon
keewon / gist:82bc02f2dafcf5fc811f
Created Nov 20, 2014
AION 하우징 스크립트 - 어그린트
View gist:82bc02f2dafcf5fc811f
------------------------- 여기부터
-- 작성일: 2011-12-01 02:27
-- 참고한 게시물: http://aion.plaync.co.kr/board/server/view?articleID=4064053
-- 계산은 틀릴 수도 있습니다. 점검 시간에 따라 약간 달라질 수 있습니다.
DT20111125 = 1322226000;
DTBASE = DT20111125;
FREQ = 223200;
FREQ_SEASON = FREQ * 3;
@keewon
keewon / gist:9920785f5cfcb2c82f88
Last active Aug 29, 2015
Fixing crash of Crema app on Android 5.0
View gist:9920785f5cfcb2c82f88

In short, open the source, change Security.addProvider(something); to Security.insertProviderAt(something, 1);

Background

Android 5.0 (and 5.0.1) has a problem with SpongyCastle (https://code.google.com/p/android/issues/detail?id=68562)

Crema Android App also has this problem, but it can be avoided by following instruction on the Spongy Castle home.

I already fixed mine, but can't share it due to legal issue. Instead, I share DIY fix instruction.

View gist:4196bd0c73bbcaabf3e5
$ mongo --quiet --eval 'rs.isMaster()["primary"]'
air.local:27017
@keewon
keewon / gist:2f5668a0954b46dfb126
Created Aug 24, 2015
Bookmarklet for Clearing Tapjoy Developer Console
View gist:2f5668a0954b46dfb126
javascript:(function(){$('#consoleContainer')[0].innerHTML="";}());
@keewon
keewon / gist:7637512
Created Nov 25, 2013
My vim settings
View gist:7637512
call pathogen#infect()
syntax on
set nocompatible
set bg=light
set ts=8 sts=4 sw=4 expandtab
set showmatch matchtime=2
set ic nobackup incsearch
"set guifont=Lucida_Console:h14:cANSI
set guifont=Monaco:h13
@keewon
keewon / MyUnityAppController.h
Last active Feb 25, 2016
Subclassing UnityAppController
View MyUnityAppController.h
//
// MyUnityAppController.h
//
#import "UnityAppController.h"
@interface MyUnityAppController : UnityAppController
@end
You can’t perform that action at this time.