Skip to content

Instantly share code, notes, and snippets.


Huei Tan hueitan

View GitHub Profile
ourmaninamsterdam / LICENSE
Last active Dec 3, 2020
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
ImJasonH / markdown.css
Last active Oct 19, 2020
Render Markdown as unrendered Markdown (see
View markdown.css
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
staltz /
Last active Dec 5, 2020
The introduction to Reactive Programming you've been missing
pedronauck / gulpfile.js
Created Jan 13, 2014
A sample gulp file to using in many projects
View gulpfile.js
var gulp = require('gulp'),
pkg = require('./package.json'),
path = require('path'),
connect = require('connect'),
http = require('http'),
open = require('open'),
compass = require('gulp-compass'),
adamcbrewer / interval.js
Created Nov 21, 2013
JS: A better interval handler
View interval.js
* setInterval has some issues:
* 1. Doesn't care whether the callback is still running or not
* 2. Ignores errors
* @source
* @param func The function to call
* @param wait The interval to wait
* @param times The total number of repititions, instead of infinite
# coding=UTF-8
import nltk
from nltk.corpus import brown
# This is a fast and simple noun phrase extractor (based on NLTK)
# Feel free to use it, just keep a link back to this post
# Create by Shlomi Babluki
# May, 2013
ritou /
Last active Oct 20, 2019
Cookie Syncについてのメモ

Cookie Syncの調査メモ

RTB周りで使われているというCookie Syncについて興味がわいたので調べてみる。



jlong / uri.js
Created Apr 20, 2012
URI Parsing with Javascript
View uri.js
var parser = document.createElement('a');
parser.href = "";
parser.protocol; // => "http:"
parser.hostname; // => ""
parser.port; // => "3000"
parser.pathname; // => "/pathname/"; // => "?search=test"
parser.hash; // => "#hash"; // => ""
View .jshintrc.js
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
eligrey / object-watch.js
Created Apr 30, 2010 polyfill in ES5
View object-watch.js
* polyfill
* 2012-04-03
* By Eli Grey,
* Public Domain.
You can’t perform that action at this time.