PageRenderTime 2155ms queryFilters 0ms Sphinxql 493ms GetByIds 578ms meta 0ms repositoryFilters 39ms languageFilters 0ms sourceFilters 0ms

394 results for 'api.duckduckgo.com' (2155 ms)

Source

Language

Repository

UserAgent.pm git://github.com/kraih/mojo.git | Perl | 1,117 lines
1package Mojo::UserAgent;
2use Mojo::Base 'Mojo::EventEmitter';
3
4# "Fry: Since when is the Internet about robbing people of their privacy?
5#  Bender: August 6, 1991."
6use Mojo::IOLoop;
7use Mojo::Promise;
8use Mojo::Util qw(monkey_patch term_escape);
9use Mojo::UserAgent::CookieJar;
10use Mojo::UserAgent::Proxy;
11use Mojo::UserAgent::Server;
12use Mojo::UserAgent::Transactor;
13use Scalar::Util qw(weaken);
14
15use constant DEBUG => $ENV{MOJO_CLIENT_DEBUG} || 0;
UserAgent.pm git://github.com/jamadam/mojo-legacy.git | Perl | 873 lines
1package Mojo::UserAgent;
2use Mojo::Base 'Mojo::EventEmitter';
3
4# "Fry: Since when is the Internet about robbing people of their privacy?
5#  Bender: August 6, 1991."
6use Mojo::IOLoop;
7use Mojo::Util 'monkey_patch';
8use Mojo::UserAgent::CookieJar;
9use Mojo::UserAgent::Proxy;
10use Mojo::UserAgent::Server;
11use Mojo::UserAgent::Transactor;
12use Scalar::Util 'weaken';
13
14use constant DEBUG => $ENV{MOJO_USERAGENT_DEBUG} || 0;
15
WordMap.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 58 lines
1package DDG::Spice::WordMap;
2# ABSTRACT: Twinword Word Map Instant Answer
3
4use DDG::Spice;
5
6name 		"Word Map";
7description "Generates semantically related words";
8source 		"Twinword";
9primary_example_queries "similar to sound", "words like sound";
10category 	"reference";
11topics 		"words_and_games", "everyday";
12code_url 	"https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/WordMap.pm";
13icon_url 	"/i/www.twinword.com.ico";
14attribution web 	=> ['http://twinword.com','Twinword Inc.'],
15            twitter => ['http://twitter.com/levelpump', '@levelpump'],
110-testing.adoc git://github.com/geb/geb.git | Unknown | 199 lines
1[[testing]]
2= Testing
3
4Geb provides first class support for functional web testing via integration with popular testing frameworks such as {spock}, {junit}, {testng} and {cucumber-jvm}.
5
6== Spock, JUnit & TestNG
7
8The Spock, JUnit and TestNG integrations work fundamentally the same way. They provide subclasses that setup a {browser-api} instance that all method calls and property accesses/references resolve against via Groovy's `methodMissing` and `propertyMissing` mechanism.
9
10____
11
12Recall that the browser instance also forwards any method calls or property accesses/references that it can't handle to its current page object, which helps to remove a lot of noise from the test.
13
14____
15
robots.txt https://bitbucket.org/mlissner/search-and-awareness-platform-courtlistener | Unknown | 70 lines
1# Google, AOL, Bing, Yahoo!, DuckDuckGo
2# These support meta robots and x-robots-tag or are otherwise harmless (DDG)
3# Crawl everything except a few explicit blocks
4User-agent: Googlebot
5Disallow: /robots.txt
6Disallow: /dumps/
7Disallow: /assets/
8Disallow: /api/rest/v1/
9
10User-agent: bingbot
11Disallow: /robots.txt
12Disallow: /dumps/
13Disallow: /assets/
14Disallow: /api/rest/v1/
15
info.py https://github.com/myano/jenni.git | Python | 136 lines
1#!/usr/bin/env python
2"""
3info.py - jenni Information Module
4Copyright 2009-2013, Michael Yanovich (yanovich.net)
5Copyright 2008-2013, Sean B. Palmer (inamidst.com)
6Licensed under the Eiffel Forum License 2.
7
8More info:
9 * jenni: https://github.com/myano/jenni/
10 * Phenny: http://inamidst.com/phenny/
11"""
12
13from itertools import izip_longest
14
15def fchannels():
110-testing.adoc git://github.com/geb/geb.git | AsciiDoc | 192 lines
1[[testing]]
2= Testing
3
4Geb provides first class support for functional web testing via integration with popular testing frameworks such as {spock}, {junit}, {testng} and {cucumber-jvm}.
5
6== Spock, JUnit & TestNG
7
8The Spock, JUnit and TestNG integrations work fundamentally the same way.
9They provide subclasses that setup a `{browser-api}` instance that all method calls and property accesses/references resolve against via Groovy's `methodMissing` and `propertyMissing` mechanism.
10
11[TIP]
12====
13Recall that the browser instance also forwards any method calls or property accesses/references that it can't handle to its current page object, which helps to remove a lot of noise from the test.
14====
15
name2id.py https://bitbucket.org/zsp042/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/zuroyu/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/dengmin/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/YCFlame/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/foolloow/zpage-practice-lizhaorui | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/twocity/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/foolloow/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/wangchao719/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/damonchen/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/wooparadog/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/woaibitbucket/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/JeOam/zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
name2id.py https://bitbucket.org/sinreal/learn_zpage | Python | 14,423 lines
1
2#coding:utf-8
3
4NAME2ID = {
5  '020': 10234086L,
6  '0day': 10221130L,
7  '1 号店': 10231424L,
8  '11': 10229911L,
9  '115 盘': 10222431L,
10  '115 网盘': 10222431L,
11  '12306': 10232232L,
12  '12306.cn': 10228404L,
13  '12580': 10224948L,
14  '126': 10227217L,
15  '139.com': 10230479L,
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20