PageRenderTime 138ms queryFilters 0ms Sphinxql 262ms GetByIds 343ms meta 0ms repositoryFilters 283ms languageFilters 1ms sourceFilters 0ms

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

Source

Language

Repository

FinalVariables.java https://github.com/Snowblond/Lightning-Browser.git | Java | 27 lines
1package acr.browser.barebones.variables;
2
3import android.os.Environment;
4
5
6public class FinalVariables {
7	
8	public static final int MAX_TABS = 5;
9	public static final int MAX_BOOKMARKS = 50;
10	public static final boolean PAID_VERSION = false;
11	public static final String DESKTOP_USER_AGENT = "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/20 Safari/537.17";
12	public static final String MOBILE_USER_AGENT = "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7";
13	public static final int API = android.os.Build.VERSION.SDK_INT;
14	public static final String YAHOO_SEARCH = "http://search.yahoo.com/search?p=";
15	public static final String GOOGLE_SEARCH = "https://www.google.com/search?client=lightning&q=";
SoundCloud.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 29 lines
1
2package DDG::Spice::SoundCloud;
3
4use DDG::Spice;
5
6description "Displays audio from SoundCloud";
7name "SoundCloud";
8primary_example_queries "soundcloud ray bradbury";
9secondary_example_queries "sc the new yorker";
10topics "entertainment", "music";
11category "entertainment";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/SoundCloud.pm";
13attribution web => ['http://jordanscales.com', 'Jordan Scales'],
14            email => ['scalesjordan@gmail.com', 'Jordan Scales'],
15            github => ['http://github.com/jdan', 'jdan'],
Github.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 26 lines
1package DDG::Spice::Github;
2# ABSTRACT: Search for information about GitHub repositories
3
4use DDG::Spice;
5
6primary_example_queries "github zeroclickinfo";
7description "Github info";
8name "Github";
9code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Github.pm";
10topics "programming", "web_design";
11category "programming";
12attribution web => ['http://dylansserver.com','Dylan Lloyd'],
13            email => ['dylan@dylansserver.com','Dylan Lloyd'];
14
15triggers startend => "github";
RandWord.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 32 lines
1package DDG::Spice::RandWord;
2
3use DDG::Spice;
4
5name "Random Word";
6description "Generates a random word";
7source "WordNik";
8primary_example_queries "random word", "random word 5-10";
9category "random";
10topics "words_and_games", "everyday";
11code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/RandWord.pm";
12icon_url "/i/wordnik.com.ico";
13attribution web => ['http://dylansserver.com','Dylan Lloyd'],
14            email => ['dylan@dylansserver.com','Dylan Lloyd'];
15
Tumblr.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 23 lines
1package DDG::Spice::Tumblr;
2
3use DDG::Spice;
4
5spice to => 'http://api.tumblr.com/v2/tagged?tag=$1&feature_type=popular&api_key={{ENV{DDG_SPICE_TUMBLR_APIKEY}}}&callback={{callback}}';
6
7primary_example_queries "tumblr flowers";
8description "Tumblr pictures";
9name "Tumblr";
10code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Tumblr.pm";
11topics "everyday", "social";
12category "entertainment";
13attribution github => ['https://github.com/nilnilnil','Caine Tighe'],
14            twitter => ['http://twitter.com/__nil','__nil'];
15
package.json https://github.com/grant/npm-www.git | JSON | 45 lines
1{
2  "name": "keep-alive-agent",
3  "version": "0.0.1",
4  "description": "a keep-alive agent for http and https",
5  "contributors": [
6    {
7      "name": "C J Silverio",
8      "email": "ceejceej@gmail.com",
9      "url": "http://ceejbot.tumblr.com/"
10    },
11    {
12      "name": "Danny Coates",
13      "email": "dannycoates@gmail.com",
14      "url": "https://github.com/dannycoates/"
15    }
spice.js https://github.com/aembleton/zeroclickinfo-spice.git | JavaScript | 211 lines
1// `ddg_spice_octopart` is a callback function that gets
2// called when people search for electronic parts. Example
3// triggers are "atmega specs" or "microprocessor datasheet."
4
5// Some example 'datasheet' queries:
6//
7// - ne555 datasheet
8// - atmel avr datasheet
9// - datasheet arduino uno
10// - UWX1V100MCL1GB datasheet
11// - UWX1V100 datasheet
12// - blue led datasheet
13// - stm32 adc dac ethernet datasheet
14// - zigbee transceiver freescale datasheet
15//
Gifs.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 24 lines
1package DDG::Spice::Gifs;
2
3use DDG::Spice;
4
5primary_example_queries "funny cat gifs";
6description "Animated Gifs";
7name "Gifs";
8source "Giphy";
9code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Gifs.pm";
10attribution github => ['https://github.com/bsstoner','bsstoner'];
11
12triggers any => "gifs", "gif", "giphy";
13
14# TODO: this is their beta/trial key, need to contact them if we want to srsly use:
15spice to => 'http://api.giphy.com/v1/gifs/search?q=$1&api_key=dc6zaTOxFJmzC';
FromToPhrase.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 42 lines
1package DDG::Spice::Translate::FromToPhrase;
2
3use DDG::Spice;
4use Moo;
5
6with('DDG::SpiceRole::Translate');
7
8attribution github  => ['https://github.com/ghedo', 'ghedo'      ],
9            web     => ['http://ghedini.me', 'Alessandro Ghedini'];
10
11my $langs = 'arabic|ar|chinese|zh|czech|cz|english|en|french|fr|greek|gr|italian|it|japanese|ja|korean|ko|polish|pl|portuguese|pt|romanian|ro|spanish|es|turkish|tr';
12
13spice to   => 'http://mymemory.translated.net/api/get?q=$3&langpair=$1|$2&de=office@duckduckgo.com';
14spice from => '(.+)\/(.+)\/(.+)';
15spice wrap_jsonp_callback => 1;
spice.html https://github.com/mikeedwards83/zeroclickinfo-spice.git | HTML | 47 lines
1<html>
2<head>
3
4<!--
5This is the function you define -- see its details in the repository.
6//-->
7<script type="text/javascript" src="example/spice.js"></script>
8
9<!-- 
10This is a stub function that takes what you pass it 
11and creates the Zero-click Info that gets shoved
12into the body of the page in the div marked "a".
13//-->
14<script type="text/javascript">
15function nra(items) {
filedownloadutils.py https://github.com/gardenunez/invenio.git | Python | 343 lines
1# -*- coding: utf-8 -*-
2##
3## This file is part of Invenio.
4## Copyright (C) 2012 CERN.
5##
6## Invenio is free software; you can redistribute it and/or
7## modify it under the terms of the GNU General Public License as
8## published by the Free Software Foundation; either version 2 of the
9## License, or (at your option) any later version.
10##
11## Invenio is distributed in the hope that it will be useful, but
12## WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14## General Public License for more details.
15##
total_downloads_app_version.txt https://gitlab.com/wingy/fdroiddata.git | Plain Text | 5,422 lines
1# Total downloads by application and version, since October 2011
20.2.2.14-alpha-orbot-1.0.4 581
30.2.2.22-alpha-orbot-1.0.4.1 1137
40.2.3.10-alpha-orbot-1.0.7-FINAL 40521
52010-12-09-OpenSatNav-snapshot-r197 3678
6APG-1.0.7-release 696
7APG-1.0.8-release 9657
8AlarmKlock_1.6 1678
9An.stop_10 11364
10An.stop_9 6258
11AppBak_1.0 3200
12Aptoide 34
13Aptoide_1.2.0 46
14Aptoide_2.0 103
15Audalyzer-1.15 1074
total_downloads_app_version.txt https://gitlab.com/narendra_m_a/fdroiddata.git | Plain Text | 5,203 lines
1# Total downloads by application and version, since October 2011
20.2.2.14-alpha-orbot-1.0.4 581
30.2.2.22-alpha-orbot-1.0.4.1 1137
40.2.3.10-alpha-orbot-1.0.7-FINAL 40521
52010-12-09-OpenSatNav-snapshot-r197 3678
6APG-1.0.7-release 696
7APG-1.0.8-release 9657
8AlarmKlock_1.6 1678
9An.stop_10 11085
10An.stop_9 6207
11AppBak_1.0 3200
12Aptoide 34
13Aptoide_1.2.0 46
14Aptoide_2.0 103
15Audalyzer-1.15 1074
http:::www.blekko.com:about:press-articles https://github.com/charnugagoo/WebCrawler.git | Unknown | 639 lines
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
3<head>
4<script type="text/javascript">
5var t_cst = new Date().getTime();
6var t_ctt = 0;
7</script>
8<meta http-equiv="X-UA-Compatible" content="IE=9" /> 
9<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
10<title>blekko in the news | blekko</title>
11<meta name="description" content="blekko in the news. Recent articles, blog posts, and videos about blekko." />
12<meta http-equiv="X-UA-Compatible" content="chrome=1" />
13<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
14<link rel="icon" href="http://a.blekko-img.com/045/favicon.ico" type="image/x-icon" />
15<link rel="shortcut icon" href="http://a.blekko-img.com/045/favicon.ico" type="image/x-icon" />
total_downloads_app_version.txt https://gitlab.com/mtotschn/fdroiddata.git | text | 4,753 lines
1# Total downloads by application and version, since October 2011
20.2.2.14-alpha-orbot-1.0.4 581
30.2.2.22-alpha-orbot-1.0.4.1 1137
40.2.3.10-alpha-orbot-1.0.7-FINAL 40521
52010-12-09-OpenSatNav-snapshot-r197 3678
6APG-1.0.7-release 696
7APG-1.0.8-release 9657
8AlarmKlock_1.6 1678
9An.stop_10 10732
10An.stop_9 6127
11AppBak_1.0 3200
12Aptoide 34
13Aptoide_1.2.0 46
14Aptoide_2.0 103
15Audalyzer-1.15 1074
setup.py git://github.com/mikejs/python-duckduckgo.git | Python | 24 lines
1from setuptools import setup
2from duckduckgo import __version__
3
4long_description = open('README.rst').read()
5
6setup(name='duckduckgo',
7      version=__version__,
8      py_modules=['duckduckgo'],
9      description='Library for querying the Duck Duck Go API',
10      author='Michael Stephens',
11      author_email='me@mikej.st',
12      license='BSD',
13      url='http://github.com/mikejs/python-duckduckgo/',
14      long_description=long_description,
15      platforms=['any'],
total_downloads_app_version.txt https://gitlab.com/jishnu7/fdroiddata.git | text | 4,210 lines
1# Total downloads by application and version, since October 2011
20.2.2.14-alpha-orbot-1.0.4 581
30.2.2.22-alpha-orbot-1.0.4.1 1135
40.2.3.10-alpha-orbot-1.0.7-FINAL 40510
52010-12-09-OpenSatNav-snapshot-r197 3678
6APG-1.0.7-release 693
7APG-1.0.8-release 9649
8AlarmKlock_1.6 1677
9An.stop_10 9684
10An.stop_9 6013
11AppBak_1.0 3200
12Aptoide 34
13Aptoide_1.2.0 46
14Aptoide_2.0 103
15Audalyzer-1.15 1074
total_downloads_app_version.txt https://gitlab.com/GermainZ/fdroiddata.git | text | 4,358 lines
1# Total downloads by application and version, since October 2011
20.2.2.14-alpha-orbot-1.0.4 581
30.2.2.22-alpha-orbot-1.0.4.1 1137
40.2.3.10-alpha-orbot-1.0.7-FINAL 40520
52010-12-09-OpenSatNav-snapshot-r197 3678
6APG-1.0.7-release 694
7APG-1.0.8-release 9655
8AlarmKlock_1.6 1677
9An.stop_10 10047
10An.stop_9 6057
11AppBak_1.0 3200
12Aptoide 34
13Aptoide_1.2.0 46
14Aptoide_2.0 103
15Audalyzer-1.15 1074
http:::en.wikipedia.org:wiki:Web_search_engine https://github.com/charnugagoo/WebCrawler.git | Unknown | 1,050 lines
1<!DOCTYPE html>
2<html lang="en" dir="ltr" class="client-nojs">
3<head>
4<title>Web search engine - Wikipedia, the free encyclopedia</title>
5<meta charset="UTF-8" />
6<meta name="generator" content="MediaWiki 1.21wmf9" />
7<link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Web_search_engine&amp;action=edit" />
8<link rel="edit" title="Edit this page" href="/w/index.php?title=Web_search_engine&amp;action=edit" />
9<link rel="apple-touch-icon" href="//en.wikipedia.org/apple-touch-icon.png" />
10<link rel="shortcut icon" href="/favicon.ico" />
11<link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="Wikipedia (en)" />
12<link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd" />
13<link rel="copyright" href="//creativecommons.org/licenses/by-sa/3.0/" />
14<link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom" />
15<link rel="stylesheet" href="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=ext.gadget.DRN-wizard%2CReferenceTooltips%2Ccharinsert%2Cteahouse%7Cext.wikihiero%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmw.PopUpMediaTransform%7Cskins.vector&amp;only=styles&amp;skin=vector&amp;*" />
README.md https://github.com/Ronovan/ruby-rails-jumpstart.git | Unknown | 43 lines
1
2# Building Web Applications using Sinatra & AJAX
3
4* Install dependencies using "ruby -S bundle install"
5* Run the script using "ruby -S bundle exec ruby application.rb"
6
7You should study the code for application.rb and get to know it well.
8
9
10Test out the service by visiting http://localhost:4567/ in your browser.
11
12Next Steps:
13
14* Add an "about" page as static HAML containing some witty prose and link it into the nav bar of the app
15* Read http://www.padrinorb.com/guides/application-helpers : especially the part about error_messages 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20