Skip to content

Instantly share code, notes, and snippets.

View skt-t1-byungi's full-sized avatar

BYUNGI skt-t1-byungi

View GitHub Profile
_.mixin({
deparam: function(querystring) {
querystring = querystring.substring(querystring.indexOf('?') + 1).split('&');
var params = {},
pair, d = decodeURIComponent,
i;
for (i = querystring.length; i > 0;) {
pair = querystring[--i].split('=');
params[d(pair[0])] = d(pair[1]);
}
@skt-t1-byungi
skt-t1-byungi / OpenWithSublimeText3.bat
Created October 6, 2016 06:36 — forked from cstewart90/OpenWithSublimeText3.bat
Open folders and files with Sublime Text 3 from windows explorer context menu (tested in Windows 10)
@echo off
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Directory\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f
@skt-t1-byungi
skt-t1-byungi / inno.js
Last active January 21, 2017 09:56
simple factory
(function(win, $) {
'use strict';
var NAMESPACE = 'innorix';
var modules = {};
var fetched = { $: $ };
var define = win[NAMESPACE] = function(name, fn) {
modules[name] = fn;
@skt-t1-byungi
skt-t1-byungi / ie.gif
Last active August 17, 2017 02:07 — forked from nolanlawson/LICENSE
Scroll jank demo - wheel (passive true)
ie.gif
@skt-t1-byungi
skt-t1-byungi / ie.gif
Last active August 17, 2017 02:07 — forked from nolanlawson/ie.gif
Scroll jank demo - touch (passive false)
ie.gif
@skt-t1-byungi
skt-t1-byungi / hyper-nitty-gritty.js
Created January 29, 2018 13:50 — forked from WebReflection/hyper-nitty-gritty.js
hyperHTML, the nitty gritty
// used to retrieve template content
const templates = new Map;
// used to retrieve node updates
const updates = new WeakMap;
// hyperHTML, the nitty gritty
function hyperHTML(chunks, ...interpolations) {
// if the static chunks are unknown
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
@skt-t1-byungi
skt-t1-byungi / test.html
Created August 3, 2018 07:42
eventemitter
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
hello
@skt-t1-byungi
skt-t1-byungi / style.css
Last active April 17, 2019 00:53
vscode font style
.mtk4,.mtk6,.mtk8,.mtk10,.mtki{
font-family: "Operator Mono Lig";
}
.mtk6{
font-style: italic;
}
.mtk11 {
font-weight: bold;
}
@skt-t1-byungi
skt-t1-byungi / abbr.txt
Last active July 11, 2024 02:25
내가 코딩때 쓰는 약어 모음
app => application
acc => accumulate
arr => array
abs => absolute
addr => address
arg => argument
args => arguments
attr => attribute
attrs => attributes
auth => authenticate