Skip to content

Instantly share code, notes, and snippets.

View defims's full-sized avatar

Long, Wei defims

View GitHub Profile
@defims
defims / PACKAGE.json
Last active June 13, 2016 08:01 — forked from jed/LICENSE.txt
generate random UUIDs
{
"name": "UUID",
"description": "Generates random UUIDs",
"keywords": [ "UUID", "ID", "random" ],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 08:02 — forked from 3rd-Eden/LICENSE.txt
JSON date parser
{
"name": "jsondate",
"description": "Parses a JSON.stringify'd date back to a regular Date object",
"keywords": [ "date", "json", "parse", "stringify" ],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 08:03 — forked from jed/LICENSE.txt
convert RGB to HEX
{
"name": "rgb2hex",
"description": "Converts RGB colors to a hexadecimal string.",
"keywords": [ "color", "css", "hex", "rgb" ],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 08:07 — forked from isaacs/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
{
"name": "physics-updater",
"description": "Update an entity based on d/dt values and elapsed time",
"keywords": [ "physics", "calculus"],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Created June 13, 2016 08:09 — forked from atesgoral/LICENSE.txt
Parse UTC date string in ISO 8601 format
{
"name": "parseIsoDate",
"keywords": [ "date", "parse", "iso8601" ],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 08:13 — forked from binarymax/LICENSE.txt
Powerset from array
{
"name": "Powerset",
"description": "P(a) returns the powerset for array a.",
"keywords": [ "Powerset", "set", "P" ],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 08:18 — forked from binarymax/LICENSE.txt
Statistical variance
{
"name": "Variance",
"description": "Returns the floating point statistical variance for a non-empty numeric array.",
"keywords": [ "variance", "statistics" ],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 09:04 — forked from atesgoral/LICENSE.txt
XML-escape given string
{
"name": "xmlEscape",
"description": "Escape basic XML characters",
"keywords": [ "string", "escaping", "xml" ],
"version": "0.1.0"
}
@defims
defims / PACKAGE.json
Last active June 13, 2016 09:20 — forked from jed/LICENSE.txt
select DOM elements by ID, tag name, or class name
{
"name": "cssSelect",
"description": "select DOM elements by ID, tag name, or class name",
"keywords": [ "dom", "css", "id", "class", "tag" ],
"version": "0.1.0"
}
{
"name": "type",
"keywords": ["typeof", "type", "isArray"],
"version": "0.1.0"
}