Skip to content

Instantly share code, notes, and snippets.

View test.html
<html>
<body>
i like it
</body>
</html>
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*://*workflowy.com/*
// @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 http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://workflowy.com/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@lukemt
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!');
SessionVar.keys.push(key);
@lukemt
lukemt / Readme.md
Last active Aug 29, 2015
Meteor Instantiation Draft
View Readme.md

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

View README.md

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.