Skip to content

Instantly share code, notes, and snippets.

View test.html
i like it
View WorkflowyStylableTags_big_old_version.js
// ==UserScript==
// @name WorkflowyStylableTags
// @description Gives each tag it's own css style, so you can style them with Stylish. I use Blank Canvas to manage my userscripts in Chrome.
// @author Nigel Thorne
// @include http*://**
// @version 1.0
// ==/UserScript==
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
View workflowy-with-image.js
// ==UserScript==
// @name New Userscript
// @namespace
// @version 0.1
// @description try to take over the world!
// @author You
// @match*
// @grant none
// ==/UserScript==
/* jshint -W097 */
lukemt / SessionVar.js
Created Sep 16, 2014
Meteor SessionVar (Store a ReactiveVar as a Session-Variable)
View SessionVar.js
SessionVar = function(key, initialValue){
if (! (this instanceof SessionVar))
// called without `new`
return new SessionVar(key, initialValue);
this.key = key;
// check if already defined
if( SessionVar.keys.indexOf(key) !== -1 )
console.log('SessionVar(' + key + ') defined twice!');
lukemt /
Last active Aug 29, 2015
Meteor Instantiation Draft

This is an example of what meteors UI.Components could look like in a perfect world.


Drag from an existing node to add a new node or link. Click to select/deselect nodes/links. Hit the DELETE key to remove the selected node or link. Drag to pan. Scroll to zoom.

Built with D3.js.

You can’t perform that action at this time.