Skip to content

Instantly share code, notes, and snippets.

View goffreder's full-sized avatar

Emanuele Biancardi goffreder

View GitHub Profile
CmdUtils.CreateCommand({
names: ["scaruffi-search"],
author: {name: "Emanuele Biancardi", email: "goffreder@gmail.com"},
license: "MPL,GPL",
description: "Searches for terms on Scaruffi.com",
help: "Enter the term to search for",
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'search term'}],
preview: function ft_search_preview(pblock,args) {
var msg = "Searching for <b>" + args.object.text + "</b> on Scaruffi.com...";
CmdUtils.CreateCommand({
names: ["filestube-search"],
author: {name: "Emanuele Biancardi", email: "goffreder@gmail.com"},
license: "MPL,GPL",
description: "Searches for files on Filestube",
help: "Enter the file to search for",
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'search file'}],
icon: "http://static.filestube.com/files/images/favicon.ico",
preview: function ft_search_preview(pblock,args) {
CmdUtils.CreateCommand({
names: ["php-search"],
author: {name: "Emanuele Biancardi", email: "goffreder@gmail.com"},
license: "MPL,GPL",
description: "Searches in the PHP Documentation for the given function",
help: "Enter the php function to search for",
arguments: [ {role: 'object', nountype: noun_arb_text, label: 'search function'}],
icon: "http://static.php.net/www.php.net/favicon.ico",
preview: function php_search_preview(pblock,args) {