Skip to content

Instantly share code, notes, and snippets.

View SeonHyungJo's full-sized avatar
🎯
Focusing

snyung SeonHyungJo

🎯
Focusing
View GitHub Profile
@SeonHyungJo
SeonHyungJo / notion2blog.js
Last active February 22, 2021 15:22 — forked from mayneyao/notion2blog.js
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "agodrich.com"
const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2"
const DISQUS_SHORTNAME = "agodrich"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
@SeonHyungJo
SeonHyungJo / ID.js
Created May 17, 2019 15:03
ID - a unique ID/name generator for JavaScript
// Generate unique IDs for use as pseudo-private/protected names.
// Similar in concept to
// <http://wiki.ecmascript.org/doku.php?id=strawman:names>.
//
// The goals of this function are twofold:
//
// * Provide a way to generate a string guaranteed to be unique when compared
// to other strings generated by this function.
// * Make the string complex enough that it is highly unlikely to be
// accidentally duplicated by hand (this is key if you're using `ID`
@SeonHyungJo
SeonHyungJo / selenium-grid-howto.txt
Created February 8, 2019 02:20 — forked from hannic/selenium-grid-howto.txt
selenium grid setup (mac os - ubuntu - windows)
Supports up to 5 concurrent tests from:
1. On hub machine (Mac OS)
java -jar selenium-server-standalone-2.21.0.jar -role hub
2. On node machine (Ubuntu)
java -jar selenium-server-standalone-2.21.0.jar
-role webdriver
@SeonHyungJo
SeonHyungJo / _notepad.nsi
Created January 15, 2019 05:06
NSIS 예제 파일
#############################################################################################################
##
## 2004-01-09 새로운 구조로 최초 작성
## 01-29 템플릿 구성 시작
## 10-05 NOTEPAD 샘플 작성
##
## NSIS 예제 파일 작성 : [email protected] ( www.kipple.pe.kr )
##
#############################################################################################################
@SeonHyungJo
SeonHyungJo / sublime-mac.textile
Created April 24, 2018 09:06 — forked from paulovera/sublime-mac.textile
SUBLIME TEXT MAC- Keyboard's Shortcuts Cheat Sheet

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt