Instantly share code, notes, and snippets.

# yokota kenjiyokotak0527

• Sort options
Last active Feb 6, 2017
Algorithm List
View gist:69b5b41d6be2c1d06ace8889f0a8eef0
 - Backtraking - Knight's tour problem - N Queens Problem - Cryptography - Affine Cipher - Caesar Cipher - Dynamic Programming - Catalan Number - Fibonacci Sequence - Integer Partition
Created Feb 14, 2016

View js
 !function(app){ let instance = null; let listener = {}; let callback = {}; let nonameListener = 'event'; let nonameListenerNum = 0; class Event{ constructor(){
Last active Feb 12, 2016
View php path
 class Path{ private static function encode_special_text(\$path){ \$path = str_replace(':/','{{ptcl_sep}}',\$path); return \$path; } private static function decode_special_text(\$path){ \$path = str_replace('{{ptcl_sep}}',':/',\$path); return \$path; } // =========================================================================
Created Dec 14, 2013
jsdokusho typescript & three.js sample
View gist:7955970
 /// /// class Sample{ camera : THREE.PerspectiveCamera; scene : THREE.Scene; renderer : THREE.CanvasRenderer; geometry : THREE.CubeGeometry; material : THREE.MeshBasicMaterial; mesh : THREE.Mesh;
Last active Dec 25, 2015
ベンダープレフィックスを付ける即席のあれ。
View gist:7020366
 @mixin keyframes(\$name){ @-webkit-keyframes #{\$name}{@content;} @-moz-keyframes #{\$name}{@content;} @-ms-keyframes #{\$name}{@content;} @keyframes #{\$name}{@content;} } @mixin apply-vendor(\$type,\$val...){ @each \$prefix in \$vendors{ #{\$prefix}#{\$type} : \$val; } }
Last active Dec 21, 2015

View gist:6274466
``````     bx + by + c
u = -------------
gx + yh + 1

dx + ey + f
v = -------------
gx + hy + 1
``````

## 平面射影変換

Created Aug 5, 2013
TypeScript 関数の書き方メモ
View gist:6157009
 // function 文の型注訳 function func0(str:string):string{ return str; } // ------------------------------------------------ // function 式の型注訳 var func1:(str:string) => string = function(str){ return str;
Created Jul 9, 2013
gold fish
View gist:5956263