Skip to content

Instantly share code, notes, and snippets.

View tiglek's full-sized avatar
:octocat:

PeterHS Kang tiglek

:octocat:
View GitHub Profile
@tiglek
tiglek / enable-copy-chrome.js
Last active August 29, 2020 06:39
Re-enable the COPY from a copy-protected web page on a chrome browser
//
// See https://github.com/FallenMax/chrome-extension-allow-copy/blob/master/extension/content_scripts/unlocker.js
//
((frame) => {
[
'copy', 'cut', 'contextmenu', 'selectstart', 'mousedown', 'mouseup', 'mousemove', 'keydown', 'keypress', 'keyup'
].forEach(evt => {
frame.document.documentElement.addEventListener(evt, e => {
e.stopPropagation();
@tiglek
tiglek / .emacs
Created August 29, 2020 06:48
Ubuntu Emacs 한글 설정 (깨짐 방지): ~/.emacs
(custom-set-variables
;;; Language settings
;;; UTF-8 | English | Korean
'(current-language-environment "UTF-8")
;;; Input method (2벌식, 3벌식)
;;; korean-hangul | korean-hangul3f | korean-hangul390
'(default-input-method "korean-hangul")
;;; Other settings
@tiglek
tiglek / install-nanum-fonts-on-ubuntu.md
Last active August 15, 2023 08:56
Ubuntu 한글 글꼴 설치
@tiglek
tiglek / .vscode.launch.json
Created August 29, 2020 18:53
vscode debug configuration for debugging the current(selected) typescript file with jest
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Jest",
"type": "node",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],