This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addSearch (options) | |
{ | |
options.author = { name: "Jason Kridner", email: "[email protected]"}; | |
options.license = "GPL"; | |
options.arguments = [ { role: 'object', nountype: 'noun_arb_text', label: 'search term'} ]; | |
options.previewDelay = 10; | |
options.execute = function (directObject, modifiers) | |
{ | |
var postData = this.search(directObject).postData; | |
Utils.openUrlInBrowser(this.url, postData); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
name: "s2", | |
icon: "http://www.hasbrotoyshop.com/favicon.ico", | |
searchURL: "http://www.hasbro.com/games/adult-games/scrabble/home.cfm?page=Dictionary/dict", | |
description: "Searches Hasbro's Scrabble dictionary for words that use your letters.", | |
takes: {"keywords": noun_arb_text}, | |
modifiers: {"in": noun_arb_text }, | |
execute: function(keywords, modifiers) { | |
var query = this.buildQuery(keywords,modifiers); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
name: "scrabble-dictionary", | |
icon: "http://www.hasbrotoyshop.com/favicon.ico", | |
homepage: "http://www.hasbro.com/games/adult-games/scrabble/home.cfm?page=home", | |
author: { name: "Jason Kridner", email: "[email protected]"}, | |
license: "GPL", | |
description: "Looks up letters in the Scrabble dictionary", | |
help: "provide letters to perform lookup", | |
takes: {"search term": noun_arb_text}, | |
execute: function (directObject, modifiers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.makeSearchCommand( | |
{ | |
name: "debian-search-contents", | |
author: { name: "Jason Kridner", email: "[email protected]"}, | |
license: "GPL", | |
description: "Search Debian archive for which package contains a given file", | |
url: "http://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=contents&keywords={QUERY}" | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.makeSearchCommand( | |
{ | |
name: "angstrom-search-package", | |
author: { name: "Jason Kridner", email: "[email protected]"}, | |
license: "GPL", | |
description: "Search the Angstrom Distribution for which packages", | |
url: "http://www.angstrom-distribution.org/repo/?pkgsearch={QUERY}" | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.makeSearchCommand( | |
{ | |
name: "follow-on-twitter", | |
author: { name: "Jason Kridner", email: "[email protected]"}, | |
license: "GPL", | |
description: "Search Twitter for a person with this name", | |
url: "http://twitter.com/search/users?q={QUERY}&category=people&source=find_on_twitter" | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var sys = require('sys'); | |
sys.puts('Hello World!'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These are the labs for the University of Texas BeagleBoard Open Source Design Challenge training (www.ti.com/beagleboardchallenge). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var sys = require("sys"); | |
var console = {}; | |
console.log = sys.print; | |
// c | |
// 3 4 | |
// 9 0 a | |
// 8 2 1 5 | |
// e 7 b 6 d | |
var jumps = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
$ENV{'DISPLAY'} = ":0.0"; | |
system("xhost +"); | |
#system("totem --quit"); | |
#system("nice -n -5 totem --fullscreen /home/root/playlist.xml &"); | |
$cmdline_start = "nice -n -5 mplayer /home/root/*.mov &"; | |
system($cmdline_start); | |
open(FILE, "/dev/input/event0"); | |
binmode(FILE); |
OlderNewer