Skip to content

Instantly share code, notes, and snippets.

View DavidSandey's full-sized avatar

David Sandey DavidSandey

  • Arcadia, CA, USA
View GitHub Profile
/************************************************
*WordCloud methods below are modifications of wordcloud by yoah.bardavid@gmail.com and razbarvaz@gmail.com
*wordcloud is part of the following project: http://visapi-gadgets.googlecode.com
*The visapi-gadgets project is licensed under Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*Modifications include:
* inclusion of a some sort of a log scale
* exclusion of single letter words
* exclusion of excludedTerms
* exclusion of numbers
* attempt to merge plural and singular
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "add-to-twine",
url: "javascript:(function(){var%20d=document,w=window,l=d.location,e=encodeURIComponent;if(!d.getElementById('rdr-script'))try{var%20s=d.createElement('script');s.type='text/javascript';s.id='rdr-script';s.src='http://www.twine.com/js/spotthis.js';(d.body||d.documentElement).appendChild(s);}catch(x){var%20p='?u='%20+e(l.href)%20+'&t='+e(d.title)%20+'&v=3',u='http://www.twine.com/bookmark/basic'+p;l.href=u%20+'&adv=1';}})()"
});
//Note: This command was automatically generated by the create-bookmarklet-command command.
CmdUtils.makeBookmarkletCommand({
name: "clip-to-evernote",
@DavidSandey
DavidSandey / x.js
Created July 9, 2009 22:06
Ubiquity Roll noun
/*
Rolls dice!!
Arb dice size and number
with options to get bonus dice for high results
i.e. exploding dice pool as per World of Darkness
By Brett Dalton
original idea based on Dustin Calhoun's Roll Verb
@DavidSandey
DavidSandey / x.js
Created July 10, 2009 00:42
Ubiquity dice rolling command
/*
Rolls dice!!
Arbitrary dice size and number.
Option to roll bonus dice for high results
i.e. exploding dice pool as per World of Darkness
Displays roll in the preview pane of Ubiquity.
On execute it displays the same result in a popup
toaster/growl message and copies it to the clipboard.
@DavidSandey
DavidSandey / x
Created July 10, 2009 01:27 — forked from Nocsaron/x
CmdUtils.CreateCommand({
names: ["Goto"],
arguments: [{role: "object",nountype: noun_arb_text, label: "URL"}],
description: ["Goes to a web page. Based on Goto by Nicholas Callahan"],
author: [{ name: "David Sandey", email: "david@sandey-family.com"}],
license: ["Public domain"],