Skip to content

Instantly share code, notes, and snippets.

View nujabes's full-sized avatar

Yeongho Kim nujabes

View GitHub Profile
// Coffee & Tablet - @P_Malin
#ifdef GL_ES
precision highp float;
#endif
uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;
@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
);
/**
# 스타벅스 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 / 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>
//
// 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nujabes
nujabes / iPythonLoader.scpt
Last active August 29, 2015 14:15
start iPython easily on osx
on run
set startPath to "/Users/Document/iPython" --change to your prefered path.
tell application "Terminal"
activate
do script with command "cd " & startPath & " && ipython notebook"
end tell
end run
on open the_files
repeat with i from 1 to the count of the_files
@nujabes
nujabes / gist:a15f8c445cb4a4938c71
Last active August 29, 2015 14:20
Wordpress recommanded plugins from roots

Roots Theme homepage | Documentation table of contents

Recommended Plugins

Plugin Name Plugin Description
Gravity Forms With Gravity Forms you can build complex, interactive contact forms in minutes.
WPML WPML makes it easy to build multilingual sites and run them. Roots already includes translations for:
English, Spanish, French, Italian, Dutch, Brazilian Portuguese, Macedonian, Finnish, Danish, Turkish, Swedish, Bulgarian, Norwegian, Catalan, Polish, Hungarian, Russian.
WordPress SEO Yoast's all in one SEO solution: titles, meta descriptions, XML sitemaps, breadcrumbs & more.
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php
*/
$args = array(