Skip to content

Instantly share code, notes, and snippets.

View Peggy535's full-sized avatar

Peggy Peggy535

  • 18:48 (UTC)
View GitHub Profile
@stevekinney
stevekinney / web-performance.md
Last active March 1, 2026 16:52
Web Performance Workshop

Web Performance

Requirements

Repositories

@LKS90
LKS90 / cheatsheet.md
Last active March 16, 2026 19:44
Cheatsheet for LaTex, using Markdown for markup. I use this with atom.io and markdown-preview-plus to write math stuff

Description

Cheatsheet for LaTex, using Markdown for markup. I use this with atom.io and 📦markdown-preview-plus to write math stuff. 📦keyboard-localization is necessary when using an international layout (like [swiss] german).

Further Reference and source: ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf

Example expressions / functions

@xhinking
xhinking / print_filter.js
Created March 4, 2014 07:25
Crossfilter & dc filter printer source: codeproject
function print_filter(filter) {
var f=eval(filter);
if (typeof(f.length) != "undefined") {}else{}
if (typeof(f.top) != "undefined") {f=f.top(Infinity);}else{}
if (typeof(f.dimension) != "undefined") {f=f.dimension(function(d) { return "";}).top(Infinity);}else{}
console.log(filter+"("+f.length+") = "+JSON.stringify(f).replace("[","[\n\t").replace(/}\,/g,"},\n\t").replace("]","\n]"));
}