PageRenderTime 54ms queryFilters 0ms Sphinxql 17ms app.CodeModel.GetByIds 8ms findMatchingLines 6ms GetByIds 14ms meta 0ms repositoryFilters 18ms languageFilters 1ms sourceFilters 0ms

1,211 results for 'api.duckduckgo.com' (54 ms)

Source

Language

Repository

README git://pkgs.fedoraproject.org/surfraw | Unknown | 371 lines
1
2        Surfraw - Shell Users' Revolutionary Front Rage Against the Web
3
4Home Page: http://surfraw.alioth.debian.org
5
6        ______  _     _  ______   _______  ______   _______  _  _  _
7       / _____)(_)   (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_)
8      ( (____   _     _  _____) ) _____    _____) ) _______  _  _  _
9       \____ \ | |   | ||  __  / |  ___)  |  __  / |  ___  || || || |
10       _____) )| |___| || |  \ \ | |      | |  \ \ | |   | || || || |
11      (______/  \_____/ |_|   |_||_|      |_|   |_||_|   |_| \_____/
12
13   Surfraw - Shell Users' Revolutionary Front Rage Against the Web
14		 New: http://surfraw.alioth.debian.org
15		 Old: http://surfraw.sourceforge.net/
README https://bitbucket.org/kisom/surfraw-devel.git | Unknown | 377 lines
1
2        Surfraw - Shell Users' Revolutionary Front Rage Against the Web
3
4Home Page: http://surfraw.alioth.debian.org
5
6        ______  _     _  ______   _______  ______   _______  _  _  _
7       / _____)(_)   (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_)
8      ( (____   _     _  _____) ) _____    _____) ) _______  _  _  _
9       \____ \ | |   | ||  __  / |  ___)  |  __  / |  ___  || || || |
10       _____) )| |___| || |  \ \ | |      | |  \ \ | |   | || || || |
11      (______/  \_____/ |_|   |_||_|      |_|   |_||_|   |_| \_____/
12
13   Surfraw - Shell Users' Revolutionary Front Rage Against the Web
14		 New: http://surfraw.alioth.debian.org
15		 Old: http://surfraw.sourceforge.net/
CONTRIBUTING.md https://github.com/robertbrook/zeroclickinfo-spice.git | Markdown | 84 lines
1# Contributing to the **Spice** repository
2
3
4At DuckDuckGo, we truly appreciate our community members taking the time to
5contribute to our open-source repositories. In an effort to ensure
6contributions are easy for you to make and for us to manage, we have written
7some guidelines that we ask our contributors to follow so that we can handle
8pull requests in a timely manner with as little friction as possible.
9
10### BETA
11
12The new version of DuckDuckGo has launched public beta!
13See the [what's new](https://github.com/duckduckgo/zeroclickinfo-spice/blob/bttf/BETA.md) for the current status and how you can contribute
14to converting the Spice Instant Answers to the new API !
15
helm-net.el https://github.com/jwiegley/dot-emacs.git | Lisp | 608 lines
1;;; helm-net.el --- helm browse url and search web. -*- lexical-binding: t -*-
2
3;; Copyright (C) 2012 ~ 2014 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4
5;; This program is free software; you can redistribute it and/or modify
6;; it under the terms of the GNU General Public License as published by
7;; the Free Software Foundation, either version 3 of the License, or
8;; (at your option) any later version.
9
10;; This program is distributed in the hope that it will be useful,
11;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13;; GNU General Public License for more details.
14
15;; You should have received a copy of the GNU General Public License
ubiquity.js https://github.com/cosimo/ubiquity-opera.git | JavaScript | 1,411 lines
1// -------------------------------------
2// ==UserScript==
3// @name Ubiquity for Opera
4// @author Cosimo Streppone
5// @ujs:modified 2010-10-22
6// ==/UserScript==
7// -------------------------------------
8//
9
10(function (opera) {
11    if (! opera) return;
12
13    // -----------------------------------------------
14    //
15    //       Firefox Ubiquity emulation layer
helm-net.el https://gitlab.com/glor/.dots.git | Lisp | 564 lines
1;;; helm-net.el --- helm browse url and search web. -*- lexical-binding: t -*-
2
3;; Copyright (C) 2012 ~ 2015 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4
5;; This program is free software; you can redistribute it and/or modify
6;; it under the terms of the GNU General Public License as published by
7;; the Free Software Foundation, either version 3 of the License, or
8;; (at your option) any later version.
9
10;; This program is distributed in the hope that it will be useful,
11;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13;; GNU General Public License for more details.
14
15;; You should have received a copy of the GNU General Public License
helm-net.el https://bitbucket.org/sakito/dot.emacs.d/ | Lisp | 527 lines
1;;; helm-net.el --- helm browse url and search web. -*- lexical-binding: t -*-
2
3;; Copyright (C) 2012 ~ 2016 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4
5;; This program is free software; you can redistribute it and/or modify
6;; it under the terms of the GNU General Public License as published by
7;; the Free Software Foundation, either version 3 of the License, or
8;; (at your option) any later version.
9
10;; This program is distributed in the hope that it will be useful,
11;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13;; GNU General Public License for more details.
14
15;; You should have received a copy of the GNU General Public License
spice.md https://github.com/a-West/duckduckgo.git | Markdown | 98 lines
1# Spice
2[Index](https://github.com/duckduckgo/duckduckgo#index) / **Spice**
3
4---
5
6This documentation section contains spice-specific plugin information. Its contents are relevant if you're doing anything related to spice.
7
8## Spice Handle Functions
9[Index](https://github.com/duckduckgo/duckduckgo#index) / [Spice](#spice) / **Spice Handle Functions**
10
11---
12Spice plugins have **triggers** and **handle** functions like Goodies, as explained in the [Basic tutorial](http://github.com/duckduckgo/duckduckgo#basic-tutorial). The difference is that Spice handle functions don't return an instant answer directly like Goodies. Instead, they return arguments used to call a JavaScript callback function that then returns the instant answer.
13
14The JavaScript callback function is defined in another file and is explained in detail in the [Spice callback functions](#spice-callback-functions) section. For now let's concentrate on how it gets called via the Spice handle function.
15
ChangeLog git://pkgs.fedoraproject.org/surfraw | Unknown | 637 lines
12011-07-11  Ian Beckwith  <ianb@erislabs.net>
2
3	* netbsd: fix normal & mail search.
4	  google custom searches were complaining I was a bot, so I
5	  switched to normal google searches with
6	  site:{mail-index,}.netbsd.org.
7	* cia: fix search URL
8
92011-06-17  Ian Beckwith  <ianb@erislabs.net>
10
11	* arxiv: fix -scope=author with single-word queries.
12	  Thanks to Nikos Apostolakis.
13	* btw, note about entry below, netbsd make *does*
14	  support '$<', but only in suffix rules.
15
wot.js https://bitbucket.org/_PH_/opera-userjs | JavaScript | 1,993 lines
1// ==UserScript== 
2// @name WOT For Opera
3// @author PH
4// @namespace http://my.opera.com/PH`/about/
5// @version 0.964
6// @description : displays a WOT logo near results on some search engines
7// @description : supported search engines : Google.com, Yahoo.com, Exalead.fr, Ask.com, Lemoteur.fr, orange.fr, voila.fr, seek.fr, altavista.com, netscape.com, bing.com, alltheweb.com, yandex.ru, yebol.com, baidu.com, yauba.com, greenmaven.com, ecocho.eu, goodtree.com, ethicle.com, clusty.com, dogpile.com, www.metacrawler.com, cuil.com, Lycos, Mugurdy.com, Blackle.com, Rambler.ru, Naver.com, Sapo.pt, Search.ch, Miner.hu, Najdi.si
8// @description : social bookmarkers supported: digg.com, delicious.com, Stumbleupon.com, blogmarks.net, yoolink.fr, Wikio, Technorati, Sphere.com
9// @ujs:category browser: enhancements 
10// @ujs:published 2009-11-07 10:00
11// @ujs:modified 2010-07-25 21:00
12// @ujs:documentation N/A
13// @ujs:download
14// @include http://*
15// @exclude http://localhost/*
responses.yml git://github.com/duckduckgo/zeroclickinfo-goodies.git | YAML | 244 lines
1# If the text and HTML versions can be reasonably generated from the same format
2# use title.  If info_url is included, the words surrounded with  will be linked
3#
4# in the HTML version.  The url will be appended to the text version.
5#
6# Otherwise, include both text and html keys.
7#
8# If more than one keyword applies, add an aliases key with an array ref of string aliases.
9---
10about:
11  title: "Want to know more about us?"
12  subtitle: "Visit our About page"
13  url: https://duckduckgo.com/about
14ads:
15  aliases:
spice_advanced_backend.md https://github.com/DavidMascio/duckduckgo-documentation.git | Markdown | 150 lines
1##Spice Handlers
2
3- [Multiple Placeholders in Spice To URL](http://duck.co/duckduckhack/spice_advanced_backend#Multiple-Placeholders-in-Spice-To-URL)
4
5- [Returning Multiple Values (to Spice From)](http://duck.co/duckduckhack/spice_advanced_backend#Returning-Multiple-Values-to-Spice-From)
6
7- [API Keys](http://duck.co/duckduckhack/spice_advanced_backend#api-keys)
8
9- [JSON -> JSONP](http://duck.co/duckduckhack/spice_advanced_backend#json-gt-jsonp)
10
11- [Pure JS functions](http://duck.co/duckduckhack/spice_advanced_backend#pure-js-functions)
12
13- [Caching API Responses](http://duck.co/duckduckhack/spice_advanced_backend#caching-api-responses)
14
15- [Caching API Calls](http://duck.co/duckduckhack/spice_advanced_backend#caching-api-calls)
spice_basic_tutorial.md https://github.com/DavidMascio/duckduckgo-documentation.git | Markdown | 410 lines
1## Basic Spice Tutorial
2
3In this tutorial, we'll be making a Spice instant answer that lets you search for Node.js packages, using the [Node Packaged Modules API](http://registry.npmjs.org/uglify-js/latest). The end result works [like this](https://next.duckduckgo.com/?q=npm+http-server) and the first part, the "backend" component, will look like this:
4
5<!-- /summary -->
6
7# NPM Spice - Backend (Perl)
8
9###### Npm.pm
10
11```perl
12package DDG::Spice::Npm;
13# ABSTRACT: Returns package information from npm package manager's registry.
14
15use DDG::Spice;
init.c https://github.com/malcom2073/freeems-vanilla.git | C | 683 lines
1/* FreeEMS - the open source engine management system
2 *
3 * Copyright 2008-2012 Fred Cooke
4 *
5 * This file is part of the FreeEMS project.
6 *
7 * FreeEMS software is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * FreeEMS software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
prepopulated_engines.json git://github.com/chromium/chromium.git | JSON | 1,151 lines
1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// This file is used during build to generate prepopulated_engines.h/cc.
6// For more details see tools/json_to_struct/json_to_struct.py.
7
8// Engine definitions. See prepopulated_engines_schema.json for the field
9// definitions.
10
11// NOTES:
12//   - CHANGE THE BELOW NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad!
13//     - Make sure you update the int_variables below as described in comments.
14//     - IDs > 1000 are reserved for distribution custom engines.
15//   - NOTIFY the Chrome Webstore team if you add/delete a search engine or
spice2.md https://github.com/a-West/duckduckgo.git | Markdown | 1,298 lines
1#Spice Frontend
2
3--------
4
5#Index
6- [Overview](#overview)
7    - [Tech](#tech)
8- [Example #1: NPM (Basic Instant Answer)](#example-1---npm-basic-instant-answer)
9- [Example #2: Alternative.To (Basic Carousel Instant Answer)](#example-2---alternativeto-basic-carousel-instant-answer)
10- [Example #3: Movie (Advanced Instant Answer)](#example-3---movie-advanced-instant-answer)
11- [Example #4: Quixey (Advanced Carousel Instant Answer)](#example-4---quixey-advanced-carousel-instant-answer)
12- [Example #5: Dictionary (More Advanced Instant Answer)](#example-5---dictionary-more-advanced-instant-answer)
13- [Advanced Techniques](#advanced-techniques)
14    - [Slurping Multiple Trigger Words](#slurping-multiple-trigger-words)
15    - [Using API Keys](#using-api-keys)
README.md https://github.com/deanishe/alfred-searchio.git | Markdown | 164 lines
1Searchio! workflow for Alfred
2=============================
3
4Auto-suggest search results from multiple search engines and languages.
5
6![Searchio! Demo][demo]
7
8
9Contents
10--------
11
12<!-- MarkdownTOC autolink="true" bracket="round" depth="3" autoanchor="true" -->
13
14- [Download and installation](#download-and-installation)
15- [Usage](#usage)
spice.js git://github.com/duckduckgo/zeroclickinfo-spice.git | JavaScript | 48 lines
1
2
3/*
4 This is the function you define.
5
6To see a live example of what this function produces, check out:
7 http://duckduckgo.com/?q=is+it+raining+in+philadelphia
8
9Here is the flow (as laid out in the ../example.html file
10
111) The external API is called through our servers, e.g.
12   http://duckduckgo.com/ir/Phialadelphia
13
142) The API call returns JSON wrapped in a callback function, i.e. JSONP.
15
Bitly.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 36 lines
1package DDG::Spice::Bitly;
2# ABSTRACT: Return a shortened version of a URL using the bitly API.
3
4use DDG::Spice;
5
6primary_example_queries "bitly http://www.duckduckgo.com/about.html";
7secondary_example_queries "shorten http://www.duckduckgo.com/goodies", "url shorten www.github.com/explore";
8description "Shorten URLs using the bitly API";
9name "Bitly";
10icon_url "/i/bitly.com.ico";
11source "Bitly";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Bitly.pm";
13topics "social";
14category "computing_tools";
15attribution github => ['https://github.com/danjarvis','Dan Jarvis'],
IsItUp.t git://github.com/duckduckgo/zeroclickinfo-spice.git | Perl | 53 lines
1#!/usr/bin/env perl
2
3use strict;
4use warnings;
5use Test::More;
6use DDG::Test::Spice;
7use utf8;
8
9ddg_spice_test(
10    [qw( DDG::Spice::IsItUp )],
11    'is duckduckgo.com up' => test_spice(
12        '/js/spice/is_it_up/duckduckgo.com',
13        call_type => 'include',
14        caller => 'DDG::Spice::IsItUp',
15    ),
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21