Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am yongxu on github.
* I am renyongxu (https://keybase.io/renyongxu) on keybase.
* I have a public key ASD2FZRW74P6V6ZcHIAWbq4gYUoeRZytyz7zir6L0Lj5Fwo
To claim this, I am signing this object:
@yongxu
yongxu / linting_vote.js
Last active May 6, 2016 18:36
lets talk about this on friday
{
"parser": "babel-eslint",
"plugins": ["react"],
"env": {
"es6": true,
"browser": true,
"node": true,
"mocha": true
},
"rules": {
@yongxu
yongxu / Standard ML and Objective Caml, Side by Side
Created February 8, 2015 03:04
Standard ML and Objective Caml, Side by Side
http://www.mpi-sws.org/~rossberg/sml-vs-ocaml.html
(function(){
var attachEvent = document.attachEvent;
var isIE = navigator.userAgent.match(/Trident/);
console.log(isIE);
var requestFrame = (function(){
var raf = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame ||
function(fn){ return window.setTimeout(fn, 20); };
return function(fn){ return raf(fn); };
})();