PageRenderTime 370ms queryFilters 1ms Sphinxql 168ms app.CodeModel.GetByIds 158ms findMatchingLines 17ms GetByIds 175ms meta 0ms repositoryFilters 53ms languageFilters 13ms sourceFilters 1ms

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

Source

Language

Repository

RepoXMLHandlerTest.java https://gitlab.com/fdroid/fdroidclient.git | Java | 689 lines
1
2package org.fdroid.fdroid;
3
4import android.support.annotation.NonNull;
5import android.test.AndroidTestCase;
6import android.text.TextUtils;
7import android.util.Log;
8
9import org.fdroid.fdroid.data.Apk;
10import org.fdroid.fdroid.data.App;
11import org.fdroid.fdroid.data.Repo;
12import org.fdroid.fdroid.mock.MockRepo;
13import org.xml.sax.InputSource;
14import org.xml.sax.SAXException;
15import org.xml.sax.XMLReader;
report.txt https://github.com/bhyde/Ghostery-Scrap.git | Plain Text | 190 lines
1200    http://www.lookery.com         Lookery              http://www.ghostery.com/apps/lookery
2800000 http://www.google.com/analytics/ Google Analytics     http://www.ghostery.com/apps/google_analytics
310000  http://www.mybloglog.com/      MyBlogLog            http://www.ghostery.com/apps/mybloglog
440000  http://www.quantcast.com/      Quantcast            http://www.ghostery.com/apps/quantcast
51000   http://web.analytics.yahoo.com/ IndexTools           http://www.ghostery.com/apps/indextools
620000  http://www.sitemeter.com/      SiteMeter            http://www.ghostery.com/apps/sitemeter
71000   http://www.lijit.com/          Lijit                http://www.ghostery.com/apps/lijit
820000  http://www.omniture.com/en/    Omniture             http://www.ghostery.com/apps/omniture
97000   http://crazyegg.com/           Crazy Egg            http://www.ghostery.com/apps/crazy_egg
104000   http://www.snap.com/           Snap                 http://www.ghostery.com/apps/snap
1170000  http://www.statcounter.com/    Statcounter          http://www.ghostery.com/apps/statcounter
124000   http://piwik.org/              Piwik Analytics      http://www.ghostery.com/apps/piwik_analytics
134000   http://haveamint.com/          Mint                 http://www.ghostery.com/apps/mint
1410     http://www.facebook.com/beacon/faq.php Facebook Beacon      http://www.ghostery.com/apps/facebook_beacon
15NIL    http://www.typepad.com/features/statistics.html Typepad Stats        http://www.ghostery.com/apps/typepad_stats
__init__.py https://github.com/arthaud/pipobot-modules.git | Python | 67 lines
1#!/usr/bin/env python
2#-*- coding: utf8 -*-
3import BeautifulSoup
4import urllib
5import simplejson
6import duckduckgo
7from pipobot.lib.modules import SyncModule, defaultcmd
8from pipobot.lib.utils import xhtml2text
9
10MAX_RESULT = 5
11
12
13def ddg_request(msg):
14    rep = duckduckgo.query(msg)
15    if rep.type == "answer":
fr.text https://github.com/colinmahns/riseup_help.git | Plain Text | 111 lines
1@title = 'Améliorer sa navigation sur le web'
2
3h2. Choisir son navigateur
4
5Ces derniers temps, dans les quatre navigateurs principaux (Firefox, Chrome, Internet Explorer, et Safari), de grâves brêches de sécurité ont été découvertes, il est donc fortement recommandé d'utiliser toujours la dernière version, peut-importe lequel vous utilisez.
6Ces quatre navigateurs principaux ont tous reçu un grade d'échec dans notre [[browser-score-card]]. Cependant, ces navigateurs peuvent être considérablement améliorés en leur installant certaines extension (voir plus bas).
7D'autre part, le projet Tor propose une version modifiée de Firefox, prévue pour être plus sécurisée et "anonyme". Ce projet s'appelle [[Tor Browser => https://www.torproject.org/download/download-easy.html.en]].
8
9h2. Réglez vos paramètres
10
11Cette page a été testée avec Firefox 38 et Chromium 42, sous Debian Jessie. Les noms des éléments peuvent être différents des autres versions.
12
13h3. Désactivez les cookies tierce-partie
14
15Les cookies tierce-partie servent notamment aux publicitaires à suivre vos comportements de navigation. Leur existence est une abomination et ils n'ont aucune utilité légitime.
Reference.pm https://github.com/csytan/zeroclickinfo-spice.git | Perl | 18 lines
1package DDG::Spice::Dictionary::Reference;
2
3use DDG::Spice;
4
5attribution web => ['http://duckduckgo.com', 'DuckDuckGo'],
6            twitter => ['http://twitter.com/duckduckgo', '@duckduckgo'];
7
8spice to => 'http://api.wordnik.com/v4/word.json/$1/definitions?includeRelated=true&includeTags=true&limit=3&api_key={{ENV{DDG_SPICE_WORDNIK_APIKEY}}}&callback={{callback}}';
9spice proxy_cache_valid => '200 30d';
10
11triggers startend => "///***never trigger***///";
12
13handle query_lc => sub {
14    return $_ if $_;
15    return;
searchenginesmanager.cpp https://github.com/darzjon6951/qupzilla.git | C++ | 539 lines
1/* ============================================================
2* QupZilla - WebKit based browser
3* Copyright (C) 2010-2014  David Rosca <nowrep@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
CONTRIBUTING.md https://github.com/DavidMascio/duckduckgo-documentation.git | Markdown | 74 lines
1Please use this template as a starting point for any CONTRIBUTING.md's. Make sure to replace **"\<repo\_name\>"** with the correct repository name.
2
3------
4
5# Contributing to the **\<repo\_name\>** repository
6
7At DuckDuckGo, we truly appreciate our community members taking the time to contribute to our open-source repositories. In an effort to ensure contributions are easy for you to make and for us to manage, we have written some guidelines that we ask our contributors to follow so that we can handle pull requests in a timely manner with as little friction as possible.
8
9## Getting Started
10
11Before you can do anything, you first need a [GitHub account](https://github.com/signup/free). This is required because we use GitHub to handle all incoming *Pull Requests* (code modifications) and *Issues* (bug reports) which cannot be made without a GitHub account.
12
13## Submitting a **Bug** or **Suggestion**
14
15- Firstly, please make sure the bug is related to the **\<repo\_name\>** repository. If this bug is about the DuckDuckGo API, or the relevancy of our search results, please visit our feedback page at <https://duckduckgo.com/feedback>. If you're unsure, its best to use the feedback page (your message will be passed along to the correct people).
Reference.pm https://github.com/DavidMascio/zeroclickinfo-spice.git | Perl | 18 lines
1package DDG::Spice::Dictionary::Reference;
2
3use DDG::Spice;
4
5attribution web => ['http://duckduckgo.com', 'DuckDuckGo'],
6            twitter => ['http://twitter.com/duckduckgo', '@duckduckgo'];
7
8spice to => 'http://api.wordnik.com/v4/word.json/$1/definitions?includeRelated=true&includeTags=true&limit=3&api_key={{ENV{DDG_SPICE_WORDNIK_APIKEY}}}&callback={{callback}}';
9spice proxy_cache_valid => '200 30d';
10
11triggers startend => "///***never trigger***///";
12
13handle query_lc => sub {
14    return $_ if $_;
15    return;
testapi.js https://bitbucket.org/JoseLuisGasco/practica_api_rest_jose_luis.git | JavaScript | 81 lines
1var mocha = require('mocha');
2var chai = require('chai');
3var chaihttp = require('chai-http');
4
5var server =require("../server.js");
6
7chai.use(chaihttp);
8
9var should = chai.should();
10
11describe('Test de API Usuarios',
12  function() {
13    it('Prueba que la API de usuarios responde correctamente.', function(done) {
14      chai.request('http://localhost:3000')
15      .get('/apitechu/v1/users')
testapi.js https://bitbucket.org/nanuno/back_apitechu_chema_4ed.git | JavaScript | 72 lines
1mocha = require('mocha');
2chai = require('chai');
3chaihttp = require('chai-http');
4
5var server = require('../server.js');
6
7chai.use(chaihttp);
8//Asignamos a should la referencia al metodo chai.should para usarlo después
9var should = chai.should();
10
11
12// Creamos un test para probar que la URL indicada devuelve un 200 con una
13//aserción
14describe ('First test',
15
testapi.js https://bitbucket.org/davidgarciagomez/practicaapirest.git | JavaScript | 74 lines
1 var mocha = require("mocha");
2 var chai = require("chai");
3 var chaihttp = require("chai-http");
4//Aumentamos la fncionalidad de chai, con este plugin para poder lanzar peticiones
5//http
6 chai.use(chaihttp);
7
8 var should = chai.should();
9
10 //Preparo el entorno para que podamos probarlo.
11 var server = require('../server');
12
13 describe('First test suite',//Suite de test unitario
14    function(){//Funcion manejadora de una suite
15      it ('Test that DuckDuckGo works', //Test unitario
mixpanel.js https://github.com/ShiftFinancial/ripple-client.git | JavaScript | 3,017 lines
1/*
2 * Mixpanel JS Library v2.2.0
3 *
4 * Copyright 2012, Mixpanel, Inc. All Rights Reserved
5 * http://mixpanel.com/
6 *
7 * Includes portions of Underscore.js
8 * http://documentcloud.github.com/underscore/
9 * (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
10 * Released under the MIT License.
11 */
12
13// ==ClosureCompiler==
14// @compilation_level ADVANCED_OPTIMIZATIONS
15// @output_file_name mixpanel-2.2.min.js
RepoXMLHandlerTest.java https://gitlab.com/dschuermann/fdroidclient.git | Java | 783 lines
1
2package org.fdroid.fdroid;
3
4import android.support.annotation.NonNull;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.fdroid.fdroid.mock.MockRepo;
12import org.junit.Test;
13import org.junit.runner.RunWith;
14import org.robolectric.RobolectricGradleTestRunner;
15import org.robolectric.annotation.Config;
RepoXMLHandlerTest.java https://gitlab.com/pserwylo/fdroidclient.git | Java | 856 lines
1/*
2 * Copyright (C) 2016 Blue Jay Wireless
3 * Copyright (C) 2015 Daniel Martí <mvdan@mvdan.cc>
4 * Copyright (C) 2014-2016 Hans-Christoph Steiner <hans@eds.org>
5 * Copyright (C) 2014-2016 Peter Serwylo <peter@serwylo.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 3
10 * of the License, or (at your option) any later version.
11 *
12 * This program 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.
RepoXMLHandlerTest.java https://gitlab.com/SWW13/fdroidclient.git | Java | 782 lines
1
2package org.fdroid.fdroid;
3
4import android.support.annotation.NonNull;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.fdroid.fdroid.mock.MockRepo;
12import org.junit.Test;
13import org.junit.runner.RunWith;
14import org.robolectric.RobolectricGradleTestRunner;
15import org.robolectric.annotation.Config;
RepoXMLHandlerTest.java https://gitlab.com/thesebas/fdroidclient.git | Java | 859 lines
1/*
2 * Copyright (C) 2016 Blue Jay Wireless
3 * Copyright (C) 2015 Daniel Martí <mvdan@mvdan.cc>
4 * Copyright (C) 2014-2016 Hans-Christoph Steiner <hans@eds.org>
5 * Copyright (C) 2014-2016 Peter Serwylo <peter@serwylo.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 3
10 * of the License, or (at your option) any later version.
11 *
12 * This program 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.
assertions.html git://github.com/lefthandedgoat/canopy.git | HTML | 211 lines
1<!doctype html>
2<html data-reactroot="" lang="en"><head><title>canopy docs / assertions.html-canopy</title><meta name="viewport" content="width=device-width, initial-scale=1" /><link href="https://lefthandedgoat.github.io/canopy/content/toggle-bootstrap.min.css?version=637191850341272396" type="text/css" rel="stylesheet" /><link href="https://lefthandedgoat.github.io/canopy/content/toggle-bootstrap-dark.min.css?version=637191850341272396" type="text/css" rel="stylesheet" /><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" rel="stylesheet" integrity="sha384-KA6wR/X5RY4zFAHpv/CnoG2UW1uogYfdnP67Uv7eULvTveboZJg0qUpmJZb5VqzN" crossorigin="anonymous" /><link href="https://lefthandedgoat.github.io/canopy/content/style.css?version=637191850341272396" type="text/css" rel="stylesheet" /></head><body><nav class="navbar navbar-expand-md sticky-top navbar-dark bg-dark"><a class="navbar-brand" href="https://lefthandedgoat.github.io/canopy/index.html"><i class="fa fa-tree text-white mr-2"></i>canopy</a><button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="navbarNav"><ul class="navbar-nav mr-auto"><li class="nav-item dropdown"><a id="navbarDropdown-Api_Reference" href="#" data-toggle="dropdown" aria-haspopup  class="nav-link dropdown-toggle">Api Reference</a><ul aria-labelledby="dropdownMenu1" class="dropdown-menu border-0 shadow"><li class="dropdown-submenu"><a id="navbarDropdown-canopy" href="#" role="button" data-toggle="dropdown" aria-haspopup  class="dropdown-item dropdown-toggle">canopy</a><ul aria-labelledby="dropdownMenu2" class="dropdown-menu border-0 shadow"><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy.html">canopy</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-classic.html">canopy classic</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-configuration.html">canopy configuration</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-csharp-canopy.html">canopy csharp canopy</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-finders.html">canopy finders</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-finders-byjquery.html">canopy finders byjquery</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-history.html">canopy history</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-jarowinkler.html">canopy jarowinkler</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-jarowinkler-result.html">canopy jarowinkler result</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-parallell-functions.html">canopy parallell functions</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-parallell-functions-navigate.html">canopy parallell functions navigate</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-parallell-instanced.html">canopy parallell instanced</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-parallell-instanced-instance.html">canopy parallell instanced instance</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-reporters.html">canopy reporters</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-reporters-consolereporter.html">canopy reporters consolereporter</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-reporters-junitreporter.html">canopy reporters junitreporter</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-reporters-livehtmlreporter.html">canopy reporters livehtmlreporter</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-reporters-teamcityreporter.html">canopy reporters teamcityreporter</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-runner-classic.html">canopy runner classic</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-screen.html">canopy screen</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-screen-screenboundary.html">canopy screen screenboundary</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types.html">canopy types</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-browsers.html">canopy types browsers</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-browserstartmode.html">canopy types browserstartmode</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopycheckfailedexception.html">canopy types canopycheckfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopycontainsfailedexception.html">canopy types canopycontainsfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopycountexception.html">canopy types canopycountexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopydeselectionfailedexception.html">canopy types canopydeselectionfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopydisabledfailedexception.html">canopy types canopydisabledfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopydisplayedfailedexception.html">canopy types canopydisplayedfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyelementnotfoundexception.html">canopy types canopyelementnotfoundexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyenabledfailedexception.html">canopy types canopyenabledfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyequalityfailedexception.html">canopy types canopyequalityfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyexception.html">canopy types canopyexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopymorethanoneelementfoundexception.html">canopy types canopymorethanoneelementfoundexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopynobrowserexception.html">canopy types canopynobrowserexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopynotcontainsfailedexception.html">canopy types canopynotcontainsfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopynotdisplayedfailedexception.html">canopy types canopynotdisplayedfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopynotequalsfailedexception.html">canopy types canopynotequalsfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopynotstringorelementexception.html">canopy types canopynotstringorelementexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyonexception.html">canopy types canopyonexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyoptionnotfoundexception.html">canopy types canopyoptionnotfoundexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyreadexception.html">canopy types canopyreadexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyreadonlyexception.html">canopy types canopyreadonlyexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyselectionfailedexeception.html">canopy types canopyselectionfailedexeception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyskiptestexception.html">canopy types canopyskiptestexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyuncheckfailedexception.html">canopy types canopyuncheckfailedexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyvalueinlistexception.html">canopy types canopyvalueinlistexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopyvaluenotinlistexception.html">canopy types canopyvaluenotinlistexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-canopywaitforexception.html">canopy types canopywaitforexception</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-direction.html">canopy types direction</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-ireporter.html">canopy types ireporter</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-result.html">canopy types result</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-suite.html">canopy types suite</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-types-test.html">canopy types test</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\canopy-wait.html">canopy wait</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\global-screensizes.html">global screensizes</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy\global-useragents.html">global useragents</a></li></ul></li><li class="dropdown-submenu"><a id="navbarDropdown-canopy.integration" href="#" role="button" data-toggle="dropdown" aria-haspopup  class="dropdown-item dropdown-toggle">canopy.integration</a><ul aria-labelledby="dropdownMenu2" class="dropdown-menu border-0 shadow"><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy-csharp-integration.html">canopy csharp integration</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy-csharp-loadtest-job.html">canopy csharp loadtest job</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy-csharp-loadtest-runner.html">canopy csharp loadtest runner</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy-csharp-loadtest-task.html">canopy csharp loadtest task</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy-integration-loadtest.html">canopy integration loadtest</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy-integration-loadtest-job.html">canopy integration loadtest job</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy-integration-loadtest-task.html">canopy integration loadtest task</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\canopy.integration.html">canopy.integration</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\global-jsonvalidator.html">global jsonvalidator</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\jsonvalidator-difference.html">jsonvalidator difference</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\jsonvalidator-meta.html">jsonvalidator meta</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Api_Reference\canopy.integration\jsonvalidator-type.html">jsonvalidator type</a></li></ul></li></ul></li><li class="nav-item dropdown"><a id="navbarDropdown-Docs" href="#" data-toggle="dropdown" aria-haspopup  class="nav-link dropdown-toggle">Docs</a><ul aria-labelledby="dropdownMenu1" class="dropdown-menu border-0 shadow"><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Docs\actions.html">actions</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Docs\assertions.html">assertions</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Docs\configuration.html">configuration</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Docs\reporting.html">reporting</a></li><li class="nav-item"><a class="dropdown-item" href="https://lefthandedgoat.github.io/canopy/\Docs\testing.html">testing</a></li></ul></li></ul><ul class="navbar-nav"><button id="theme-toggle" class=""></button><li class="nav-item"><a class="nav-link" aria-label="canopy Repository on Github" href="https://github.com/lefthandedgoat/canopy"><i class="fab fa-github fa-lg fa-fw text-light"></i></a></li></ul></div></nav><div class="wrapper d-flex flex-column justify-content-between min-vh-100"><main class="container main mb-4"><div><h1><a name="Assertions" class="anchor" href="#Assertions">Assertions</a></h1>
3<h2><a name="equals" class="anchor" href="#equals">== (equals)</a></h2>
4<p>Assert that the element on the left is equal to the value on the right.</p>
5<table class="pre"><tr><td class="lines"><pre class="fssnip"><span class="l">1: </span>
6</pre></td>
7<td class="snippet"><pre class="fssnip highlighted"><code lang="fsharp"><span class="s">&quot;#firstName&quot;</span> <span class="o">==</span> <span class="s">&quot;Alex&quot;</span>
8</code></pre></td>
9</tr>
10</table>
11<h2><a name="does-not-equal" class="anchor" href="#does-not-equal">!= (does not equal)</a></h2>
12<p>Assert that the element on the left is not equal to the value on the right.</p>
13<table class="pre"><tr><td class="lines"><pre class="fssnip"><span class="l">1: </span>
14</pre></td>
15<td class="snippet"><pre class="fssnip highlighted"><code lang="fsharp"><span class="s">&quot;#firstName&quot;</span> <span class="o">!=</span> <span class="s">&quot;Tom&quot;</span>
Goodreads.pm git://github.com/duckduckgo/zeroclickinfo-spice.git | Perl | 61 lines
1package DDG::Spice::Goodreads;
2
3use strict;
4use DDG::Spice;
5use URI::Escape;
6use Text::Trim;
7
8# Caching
9spice is_cached => 1;
10
11# Goodreads API endpoint
12my $api_key = '{{ENV{DDG_SPICE_GOODREADS_APIKEY}}}';
13my $book_search_endpoint =
14    uri_escape('https://www.goodreads.com/search/index.xml?key=')
15  . $api_key
providers.json https://github.com/adrm/gaia.git | JSON | 26 lines
1[
2  {
3    "title": "Google",
4    "urlTemplate": "https://www.google.com/search?q={searchTerms}",
5    "suggestionsUrlTemplate": "https://www.google.com/complete/search?client=firefox&q={searchTerms}",
6    "iconUrl": "google.ico"
7  },
8  {
9    "title": "Yahoo",
10    "urlTemplate": "https://search.yahoo.com/search?p={searchTerms}",
11    "suggestionsUrlTemplate": "https://search.yahoo.com/sugg/ff?command={searchTerms}",
12    "iconUrl": "yahoo.ico"
13  },
14  {
15    "title": "Bing",
Partner.pm https://github.com/anaymalpani/community-platform.git | Perl | 17 lines
1package DDGC::Feedback::Config::Partner;
2# ABSTRACT:
3
4use strict;
5use warnings;
6
7sub feedback_title { "I'd like to learn about partnerships with DuckDuckGo" }
8
9sub feedback {[
10  { description => "Please see our <a href='https://duck.co/help/company/partnerships'>partnership</a> and <a href='https://duckduckgo.com/api'>API</a> guidelines before answering the below:", type => "info", icon => "newspaper" },
11  { name => "partner_url", description => "What is the URL for your product or organization? ", type => "text", icon => "globe" },
12  { name => "partner_description", description => "How do you see your organization and DuckDuckGo working together? ", type => "textarea", icon => "dax" },
13  { name => 'hearabout', description => "Where did you hear about DuckDuckGo?", type => "text", icon => "dax", optional => 1 },
14  { name => 'submit', description => "Send", icon => "mail", cssclass => "fb-step--submit" }
15]}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21