Skip to content

Instantly share code, notes, and snippets.

@another-quang
another-quang / TransformationShader.js
Created December 1, 2018 05:46 — forked from jeanlescure/TransformationShader.js
ThreeJS: Vertex shader for translating, scaling, and rotating. Fragment shader for adding texture and controlling opacity.
THREE.TransformationShader = {
defines: {},
uniforms: {
"tDiffuse": { type: "t", value: texture },
"opacity": { type: "f", value: 1.0 },
"translationX": { type: "f", value: 1.0 },
"translationY": { type: "f", value: 1.0 },
"translationZ": { type: "f", value: 1.0 },
"scaleX": { type: "f", value: 1.0 },
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@another-quang
another-quang / gist:5044789
Created February 27, 2013 03:31
Gist auto syntax highlight for markdown
http://tinker.kotaweaver.com/blog/?p=152
https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
@another-quang
another-quang / wp-query-ref.php
Last active December 10, 2015 19:28 — forked from luetkemj/wp-query-ref.php
wp: query comprehensive reference
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/
$args = array(
@another-quang
another-quang / gist:4480231
Last active December 10, 2015 19:18 — forked from lucasfais/gist:1207002
st2: shortcuts
h1. Sublime Text 2 - Useful Shortcuts (Mac OS X)
h2. General
| *⌘T* | go to file |
| *⌘⌃P* | go to project |
| *⌘R* | go to methods |
| *⌃G* | go to line |
| *⌘KB* | toggle side bar |
| *⌘⇧P* | command prompt |