Skip to content

Instantly share code, notes, and snippets.

View patcito's full-sized avatar

Patrick Aljord patcito

View GitHub Profile
CmdUtils.CreateCommand(
{
name: "isohunt",
takes: {"function": noun_arb_text},
icon: "http://isohunt.com/favicon.ico",
homepage: "http://isohunt.com/",
author: {name: "isoHunt", email: "patcito@isohunt.com"},
license: "MPL,GPL",
description: "Search isoHunt - Bittorrent Search Engine",
help: "Select a key word",
makeSearchCommand({
name: "dict",
author: {name: "Jonathan E. Magen", homepage: "http://yonkeltron.com"},
license: "GPL",
url: "http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query={QUERY}",
icon: "http://www.dict.org/favicon.ico",
description: "Retrieve word definitions from the <a href=\"http://dict.org\">Dict.org DICT server</a>",
preview: function( pblock, directObject )
{
CmdUtils.makeSearchCommand({
name: "torrent",
url: "http://isohunt.com/torrents/{QUERY}",
parser: {type: "JSON",
url: "http://isohunt.com/js/json.php?ihq={QUERY}&start=21&rows=20&sort=seeds",
container: "items.list",
title: "title",
href: "link"}
});
@patcito
patcito / dabblet.css
Created February 17, 2012 00:47
roses are red, violets are blue, gradients are sweet but this one blew
/**
* roses are red, violets are blue, gradients are sweet but this one blew
*/
height: 100%;
border: 10px solid #CCCCC;
background: linear-gradient(50deg, red, blue);
@patcito
patcito / dabblet.css
Created February 18, 2012 08:04 — forked from dgmid/dabblet.css
CSS text-shadows - Example 4
/**
* CSS text-shadows - Example 4
*/
/* page styles */
@font-face {
font-family: 'MisoRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot?iefix') format('eot'),
@patcito
patcito / dabblet.css
Created February 18, 2012 08:04 — forked from dgmid/dabblet.css
CSS text-shadows - Example 4
/**
* CSS text-shadows - Example 4
*/
/* page styles */
@font-face {
font-family: 'MisoRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot?iefix') format('eot'),
@patcito
patcito / dabblet.css
Created February 18, 2012 08:04 — forked from dgmid/dabblet.css
CSS text-shadows - Example 4
/**
* CSS text-shadows - Example 4
*/
/* page styles */
@font-face {
font-family: 'MisoRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot?iefix') format('eot'),
@patcito
patcito / dabblet.css
Created February 18, 2012 08:04 — forked from dgmid/dabblet.css
CSS text-shadows - Example 4
/**
* CSS text-shadows - Example 4
*/
/* page styles */
@font-face {
font-family: 'MisoRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/miso-webfont.eot?iefix') format('eot'),
@patcito
patcito / dabblet.css
Created February 18, 2012 08:13 — forked from dgmid/dabblet.css
CSS text-shadows - Example 7
/**
* CSS text-shadows - Example 7
*/
/* page styles */
@font-face {
font-family: 'ChunkFiveRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot?iefix') format('eot'),
@patcito
patcito / dabblet.css
Created February 18, 2012 08:13 — forked from dgmid/dabblet.css
CSS text-shadows - Example 7
/**
* CSS text-shadows - Example 7
*/
/* page styles */
@font-face {
font-family: 'ChunkFiveRegular';
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot');
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot?iefix') format('eot'),