PageRenderTime 7ms queryFilters 1ms Sphinxql 13ms app.CodeModel.GetByIds 7ms findMatchingLines 13ms GetByIds 20ms meta 0ms repositoryFilters 1ms languageFilters 0ms sourceFilters 1ms

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

Source

Language

Repository

Snow.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 77 lines
1package DDG::Spice::Snow;
2
3use DDG::Spice;
4
5primary_example_queries "is it snowing?";
6secondary_example_queries "is it snowing in New York City?";
7description "Check weather conditions at your location";
8name "Snow";
9icon_url "/icon16.png";
10source "Is it snowing yet?";
11code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Snow.pm";
12topics "everyday";
13category "facts";
14attribution web => [ 'https://www.duckduckgo.com', 'DuckDuckGo' ],
15            github => [ 'https://github.com/duckduckgo', 'duckduckgo'],
IsItUp.t https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 38 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    ),
sample-iframe.html https://github.com/briscoeej/fancytree.git | HTML | 133 lines
1<!DOCTYPE html>
2<html>
3<head>
4	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
5	<title>Fancytree - Example</title>
6
7	<script src="../lib/jquery.js" type="text/javascript"></script>
8	<script src="../lib/jquery-ui.custom.js" type="text/javascript"></script>
9
10	<link href="../src/skin-win7/ui.fancytree.css" rel="stylesheet" type="text/css">
11	<script src="../src/jquery.fancytree.js" type="text/javascript"></script>
12
13	<!-- Start_Exclude: This block is not part of the sample code -->
14	<link href="../lib/prettify.css" rel="stylesheet">
15	<script src="../lib/prettify.js" type="text/javascript"></script>
Snow.pm git://github.com/duckduckgo/zeroclickinfo-spice.git | Perl | 79 lines
1package DDG::Spice::Snow;
2# ABSTRACT: Shows weather conditions for cities
3
4use strict;
5use DDG::Spice;
6
7primary_example_queries "is it snowing?";
8secondary_example_queries "is it snowing in New York City?";
9description "Check weather conditions at your location";
10name "Snow";
11icon_url "/icon16.png";
12source "Is it snowing yet?";
13code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Snow.pm";
14topics "everyday";
15category "facts";
helm-net.el https://bitbucket.org/lattenwald/yet-another-emacs.d.git | Emacs Lisp | 503 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://github.com/dsturnbull/dotfiles.git | Lisp | 527 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://github.com/my8bird/emacs.git | Emacs Lisp | 526 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://github.com/nelhage/elisp.git | Lisp | 585 lines
1;;; helm-net.el --- helm browse url and search web. -*- lexical-binding: t -*-
2
3;; Copyright (C) 2012 ~ 2018 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
LightningView.java https://gitlab.com/jbwhips883/Web-browser.git | Java | 922 lines
1/*
2 * Copyright 2014 A.C.R. Development
3 */
4
5package acr.browser.lightning;
6
7import java.io.ByteArrayInputStream;
8import java.io.File;
9import java.io.FileWriter;
10import java.io.IOException;
11import java.net.URISyntaxException;
12import net.fast.web.browser.R;
13
14import android.annotation.SuppressLint;
15import android.app.Activity;
helm-net.el https://gitlab.com/lattenwald-archives/yet-another-emacs.d.git | Emacs Lisp | 503 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://gitlab.com/otfrom/otfrom-org-emacs.git | Emacs Lisp | 599 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
214.html git://github.com/szabgab/perlweekly.git | HTML | 1,097 lines
1<!DOCTYPE html>
2<html lang="en">
3<head>
4  <meta charset="utf-8">
5  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
6
7
8  <title>Perl Weekly Issue #214 - 2015-08-31 - That's how you run a YAPC!</title>
9 <link rel="stylesheet" type="text/css" href="/style.css" />
10 <script src="/js/jquery.js" type="text/javascript"></script>
11 <script src="/js/mailman.js" type="text/javascript"></script>
12
13 <script> 
14 $(document).ready(function() { 
15    if (document.referrer !== 'https://www.google.com/') { 
helm-net.el https://github.com/toru-ver4/kanri.git | Emacs Lisp | 599 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
helm-net.el https://github.com/budevg/emacs-conf.git | Emacs Lisp | 584 lines
1;;; helm-net.el --- helm browse url and search web. -*- lexical-binding: t -*-
2
3;; Copyright (C) 2012 ~ 2018 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
overview.md https://github.com/a-West/duckduckgo.git | Markdown | 34 lines
1# Type Overview
2[Index](https://github.com/duckduckgo/duckduckgo#index) / **Type Overview**
3
4---
5
6There are currently four types of DuckDuckGo plugins:
7
8### Goodies &mdash; calculations and cheat sheets.
9
10 * Examples: [reverse](https://duckduckgo.com/?q=reverse+test), [private ips](https://duckduckgo.com/?q=private+ip), [dice](https://duckduckgo.com/?q=throw+5+dice), [roman](https://duckduckgo.com/?q=roman+cvi), [passphrase](https://duckduckgo.com/?q=passphrase+4+words), [etc.](https://github.com/duckduckgo/zeroclickinfo-goodies/tree/master/lib/DDG/Goodie)
11 * Status: v1!
12 * Language: Perl
13 * Involves: processing the search query.
14
15### Spice &mdash; external API calls.
LightningView.java https://gitlab.com/jbwhips883/Lightning-Browser.git | Java | 1,145 lines
1/*
2 * Copyright 2014 A.C.R. Development
3 */
4
5package acr.browser.lightning.view;
6
7import android.annotation.SuppressLint;
8import android.app.Activity;
9import android.app.AlertDialog;
10import android.content.ActivityNotFoundException;
11import android.content.Context;
12import android.content.DialogInterface;
13import android.content.Intent;
14import android.graphics.Bitmap;
15import android.graphics.ColorMatrix;
helm-net.el https://github.com/adamchandra/emacs-live.git | Emacs Lisp | 607 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
helm-net.el https://github.com/aguyasu/emacs_init.el.git | Emacs Lisp | 607 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
helm-net.el https://github.com/AlohaWorld/emacs.archive.git | Emacs Lisp | 526 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
spice_frontend_walkthroughs.md https://github.com/DavidMascio/duckduckgo-documentation.git | Markdown | 1,010 lines
1## Spice Frontend Walkthoughs 
2
3- [Walkthrough #1: Alternative.To (Simple)](#walkthrough-1-alternativeto-simple)
4- [Walkthrough #2: Movies (Medium)](#walkthrough-2-movies-medium)
5- [Walkthrough #3: Airlines (Medium)](#walkthrough-3-airlines-medium)
6- [Walkthrough #4: Quixey (Advanced)](#walkthrough-4-quixey-advanced)
7
8<!-- /summary -->
9
10------
11
12## Walkthrough #1 - Alternative.To (Simple)
13
14The Alternative.To instant answer is very similar to NPM in that it's also relatively simple. However, it returns multiple items, and so it produces a tile view, where each tile represents a single result item. Let's take a look at the code and see how this is done:
15<!-- /summary -->
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21