Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@reesd
reesd / gist:1771573
Created February 8, 2012 17:45
UserScripts - Gmail Quick Filter - 0.3.5
// ==UserScript==
// @name Gmail Quick Filter
// @description A filter assistant for Gmail.
// @author 1nfected
// @version 0.3.5
// @namespace 1nfected
// @license CC by-nc-sa http://creativecommons.org/licenses/by-nc-sa/3.0/
// @include http://mail.google.com/*
// @include https://mail.google.com/*
@reesd
reesd / gist:989885
Created May 24, 2011 22:21 — forked from cowboy/gist:360138
setInterval and setTimeout patterns
// =========================
// SetInterval
// =========================
// While not truly accurate, setInterval is still fairly good, time-wise.
// Better for things like a "one second tick" but not great for expensive
// code executed at small intervals as iterations can "stack".
// (ECMAScript 5 strict mode compatible)