Skip to content

Instantly share code, notes, and snippets.

Eunjae Lee eunjae-lee

Block or report user

Report or block eunjae-lee

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
eunjae-lee / .rubocop.yml
Created May 5, 2018
Default Rubocop configuration
View .rubocop.yml
- "db/schema.rb"
- "node_modules/**/*"
- "tmp/**/*"
- "vendor/**/*"
Enabled: false
Max: 100
eunjae-lee / 0_reuse_code.js
Created Jul 13, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
eunjae-lee /
Last active Dec 3, 2015
밸류포션 엔딩 인터스티셜 연동 가이드

엔딩 인터스티셜 연동 가이드

이 문서에서는 안드로이드에서 Back Key 를 눌러 앱을 종료하려는 시점에, '엔딩 인터스티셜' 광고가 뜨도록 하는 방법을 안내합니다.

1. SDK 업데이트 (필수)

최신 SDK (v1.0.34) 로 업데이트를 해주세요 :

2. 엔딩 인터스티셜 광고 호출 (필수)

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from Foundation import NSUserNotification
from Foundation import NSUserNotificationCenter
from Foundation import NSUserNotificationDefaultSoundName
from optparse import OptionParser
import time
# usage : ./ -t "5s" -m "This is an alarm"
View gist:9922beeafe26a4b57b7d
"defaultToCurrentScreen" : true,
"secondsBetweenRepeat" : 0.1,
"checkDefaultsOnLoad" : true,
"focusCheckWidthMax" : 3440,
"orderScreensLeftToRight" : true
View gist:6effe6f80291083415fa
# Icon must end with two \r
# Thumbnails
View gist:a542e563cc6d0eb13c19
# Logs
# Runtime data
# Directory for instrumented libs generated by jscoverage/JSCover
eunjae-lee / parcelable.html
Created Jun 4, 2014
Android - parcelable model class generator
View parcelable.html
<script type="text/javascript" src=""></script>
<input type="text" id="className" placeholder="className" value="" />
<textarea id="textarea" style="width:600px; height:400px;"></textarea>
<input type="button" id="button" value="generate!" />
View gist:9105693
"name": "Eunjae Lee",
"noshow": false,
"albuminfo": {
"count": 10
View Android - Generating device unique id for
public static String generateDeviceUniqueId() {
Context context = WithApplication.getInstance().getApplicationContext();
final TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
final String tmDevice, tmSerial, androidId;
tmDevice = "" + tm.getDeviceId();
tmSerial = "" + tm.getSimSerialNumber();
androidId = "" + android.provider.Settings.Secure.getString(context.getContentResolver(),
You can’t perform that action at this time.