Skip to content

Instantly share code, notes, and snippets.

@eunjae-lee
eunjae-lee / netlify.txt
Created May 12, 2020 21:55
Deploy time comparison
11:43:30 PM: Build ready to start
11:43:32 PM: build-image version: 6dfe19d15f524c85d6f9bf7df9fb30b0a9f0a61a
11:43:32 PM: build-image tag: v3.3.10
11:43:32 PM: buildbot version: 6bb3f784302b4ad90de13035b247a363a8bee34a
11:43:32 PM: Fetching cached dependencies
11:43:33 PM: Starting to download cache of 305.6MB
11:43:44 PM: Finished downloading cache in 11.554511126s
11:43:44 PM: Starting to extract cache
11:43:58 PM: Finished extracting cache in 14.378192778s
11:43:58 PM: Finished fetching cache in 26.017023135s
@eunjae-lee
eunjae-lee / script.js
Created May 8, 2020 13:51
attestation
function fill(selector, value) {
document.querySelector(selector).value = value;
}
function fillForm({
firstName,
lastName,
birthDate,
birthPlace,
address,
@eunjae-lee
eunjae-lee / README.md
Created April 8, 2020 15:17
vue ssr testing with serverPrefetch

renderToString in serverPrefetch

// Search.vue

<template>
  <div>
    <h1>Search</h1>
    <search-main :index-name="indexName" />
 
@eunjae-lee
eunjae-lee / .rubocop.yml
Created May 5, 2018 09:59
Default Rubocop configuration
AllCops:
Exclude:
- "db/schema.rb"
- "node_modules/**/*"
- "tmp/**/*"
- "vendor/**/*"
Documentation:
Enabled: false
Metrics/LineLength:
Max: 100
@eunjae-lee
eunjae-lee / 0_reuse_code.js
Created July 13, 2017 14:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@eunjae-lee
eunjae-lee / guide.md
Last active December 3, 2015 11:31
밸류포션 엔딩 인터스티셜 연동 가이드

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

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

1. SDK 업데이트 (필수)

최신 SDK (v1.0.34) 로 업데이트를 해주세요 : https://github.com/valuepotion/valuepotion-android-sdk/blob/master/SDK/valuepotion.jar

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

@eunjae-lee
eunjae-lee / timer.py
Last active August 29, 2015 14:16
Timer
#!/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 : ./timer.py -t "5s" -m "This is an alarm"
@eunjae-lee
eunjae-lee / gist:9922beeafe26a4b57b7d
Created February 26, 2015 02:59
Slate Configuration File
// https://github.com/jigish/slate
// https://github.com/jigish/slate/wiki/JavaScript-Configs
// https://github.com/jigish/dotfiles/blob/master/slate.js
S.cfga({
"defaultToCurrentScreen" : true,
"secondsBetweenRepeat" : 0.1,
"checkDefaultsOnLoad" : true,
"focusCheckWidthMax" : 3440,
"orderScreensLeftToRight" : true
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover