Skip to content

Instantly share code, notes, and snippets.

View nujabes's full-sized avatar

Yeongho Kim nujabes

View GitHub Profile
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
//
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)
//
// Permission is hereby granted, free of charge, to any person
@nujabes
nujabes / index.html
Created February 4, 2015 05:19
filter multi-directional array with an array value. // source http://jsbin.com/xeziki
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="filter multi-directional array with an array value." />
<script src="http://jashkenas.github.io/underscore/underscore-min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
# 스타벅스 wifiap "olleh-starbucks" 로그인 쉽게 하기
#
on run {input, parameters}
tell application "Google Chrome" to activate
tell application "System Events"
keystroke "Kanegi"
delay 0.2
keystroke tab
@nujabes
nujabes / prism-glsl.js
Last active February 6, 2022 14:58
prism.js syntax hightlighter for glsl syntex language. It extended from c-like syntex.
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+php+coffeescript+scss+bash+c+markdown&plugins=show-invisibles+show-language */
self = (typeof window !== 'undefined')
? window // if in browser
: (
(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)
? self // if in worker
: {} // if in node js
);
/**
// Coffee & Tablet - @P_Malin
#ifdef GL_ES
precision highp float;
#endif
uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;