Skip to content

Instantly share code, notes, and snippets.

(zotonic001@kite)6> fprof:analyse().
Processing data...
Creating output...
%% Analysis results:
{ analysis_options,
[{callers, true},
{sort, acc},
{totals, false},
{details, true}]}.
@mmzeeman
mmzeeman / ubfa.js
Created November 4, 2012 22:37
Javascript ubf(a) encoder/decoder
/* ubf(a) decoder */
;(function(window) {
var ubf = {};
// ubf(a) encode javascript to ubf.
//
function encode(value, buffer) {
buf = buffer || [];