PageRenderTime 20ms queryFilters 0ms Sphinxql 154ms GetByIds 1086ms meta 0ms repositoryFilters 10ms languageFilters 0ms sourceFilters 0ms

681 results for 'api.duckduckgo.com' (20 ms)

Source

Language

Repository

README.md git://github.com/duckduckgo/zeroclickinfo-spice.git | Markdown | 24 lines
1# In Maintenance [![Build Status](https://travis-ci.org/duckduckgo/zeroclickinfo-spice.svg?branch=master)](https://travis-ci.org/duckduckgo/zeroclickinfo-spice)
2
3DuckDuckHack is now in maintenance mode. We are only accepting pull requests for essential bug fixes. For more information see [duckduckhack.com](https://duckduckhack.com). 
4
5## What are essential bug fixes?
6
7Any changes necessary to keep existing Instant Answers functioning correctly and as expected. For example:
8
9  - Updating the URL for a Spice Instant Answer when the API changes
10  - Correcting a Perl or JavaScript logic error
11  - Fixing CSS that's causing the display to break
12
13Any other changes will not be accepted. For example:
14
15  - spelling/comment changes
README.md git://github.com/duckduckgo/zeroclickinfo-goodies.git | Markdown | 24 lines
1# In Maintenance [![Build Status](https://travis-ci.org/duckduckgo/zeroclickinfo-goodies.svg?branch=master)](https://travis-ci.org/duckduckgo/zeroclickinfo-goodies)
2
3DuckDuckHack is now in maintenance mode. We are only accepting pull requests for essential bug fixes. For more information see [duckduckhack.com](https://duckduckhack.com). 
4
5## What are essential bug fixes?
6
7Any changes necessary to keep existing Instant Answers functioning correctly and as expected. For example:
8
9  - Updating the URL for a Spice Instant Answer when the API changes
10  - Correcting a Perl or JavaScript logic error
11  - Fixing CSS that's causing the display to break
12
13Any other changes will not be accepted. For example:
14
15  - spelling/comment changes
completion_engines.coffee git://github.com/philc/vimium.git | CoffeeScript | 179 lines
1
2# A completion engine provides search suggestions for a custom search engine.  A custom search engine is
3# identified by a "searchUrl".  An "engineUrl" is used for fetching suggestions, whereas a "searchUrl" is used
4# for the actual search itself.
5#
6# Each completion engine defines:
7#
8#   1. An "engineUrl". This is the URL to use for search completions and is passed as the option "engineUrl"
9#      to the "BaseEngine" constructor.
10#
11#   2. One or more regular expressions which define the custom search engine URLs for which the completion
12#      engine will be used. This is passed as the "regexps" option to the "BaseEngine" constructor.
13#
14#   3. A "parse" function. This takes a successful XMLHttpRequest object (the request has completed
15#      successfully), and returns a list of suggestions (a list of strings).  This method is always executed
ChangeLog https://bitbucket.org/kisom/surfraw-devel.git | Unknown | 709 lines
12012-06-28  Manolo MartĂ­nez  <manolo@austrohungaro.com>
2
3	* examples/hooks.lua: Added elinks integration script
4
52012-06-28  Ivy Foster  <joyfulgirl@archlinux.us>
6
7	* Further simplified searchable bookmarks
8
92012-06-28  Thomas Zervogiannis <tzervo@gmail.com>
10
11	* Simplified searchable bookmarks
12
132012-06-27  Ivy Foster  <joyfulgirl@archlinux.us>
14
15	* Fixed arg parsing in searchable bookmarks
responses.yml https://github.com/gdrooid/zeroclickinfo-goodies.git | YAML | 180 lines
1# If the text and HTML versions can be reasonably generated from the same format
2# use base_format.  If info_url is included, the words surrounded with [] will be linked
3# in the HTML version.  The url will be appended to the text version.
4#
5# Otherwise, include both text and html keys.
6#
7# If more than one keyword applies, add an aliases key with an array ref of string aliases.
8---
9about:
10  base_format: "DuckDuckGo's [about page]"
11  info_url: https://duckduckgo.com/about
12ads:
13  aliases:
14    - businessmodel
15    - advertisements
index.html git://github.com/Incognito/CodeGuide-0000.git | HTML | 884 lines
1<!DOCTYPE html>
2<html lang="en">
3<head>
4    <meta charset="utf-8">
5    <title>So you want to write some quality JavaScript</title>
6    
7    <meta name="author"   content="Brian Graham">
8    <meta name="viewport" content="width=1024">
9    
10    <link rel="stylesheet" href="./presentation.css">
11    
12</head>
13
14<body class="deck-container">
15
all_search_engines.xml https://github.com/SOKP-1/packages_apps_Browser.git | XML | 768 lines
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
abrasion.py https://github.com/michaelgrosner/Abrasion.git | Python | 235 lines
1#!/usr/bin/env python
2
3from BeautifulSoup import *
4import urllib2, datetime, re, json, sys, getopt
5
6def socialSearch(search_term, extra_params=False, api='facebook', nresults=10, followLinks=True, output='p'):
7	if nresults > 100 and api == 'twitter':
8		raise Exception('Please specify less than 100 results')
9		
10	urlregex = r"https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?"
11	social_rules = {'twitter':  ['http://search.twitter.com/search.json?q=',      # Base link to api
12															 'results', 'text',                               # json dict handlers
13															 'rpp',                                           # key for nresults
14															 lambda url: re.compile(urlregex).findall(url)],  # URL extractor
15									'facebook': ['https://graph.facebook.com/search?q=',
duckduck.go git://github.com/ajanicij/goduckgo.git | Go | 112 lines
94	query_enc := url.QueryEscape(query)
95	ddgurl := fmt.Sprintf("http://api.duckduckgo.com?q=%s&format=json&pretty=1", query_enc)
96	resp, err := http.Get(ddgurl)
init.c https://github.com/fredcooke/freeems-vanilla.git | C | 699 lines
1/* FreeEMS - the open source engine management system
2 *
3 * Copyright 2008-2013 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.
init.c https://github.com/AbeFM/freeems-vanilla.git | C | 752 lines
1/* FreeEMS - the open source engine management system
2 *
3 * Copyright 2008-2011 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.
sample-iframe.html https://gitlab.com/bijaybhandari1989/fancytree.git | HTML | 132 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>
BETA.md https://github.com/robertbrook/zeroclickinfo-spice.git | Markdown | 172 lines
1# DuckDuckHack in Public Beta
2
3The new version of DuckDuckGo has launched public beta.
4
5The DuckDuckHack platform is undergoing changes to support the new
6features, and you can help!
7
8The focus so far has been on the zeroclickinfo-spice API which has changed in some
9significant ways.  At DuckDuckGo we have converted many of the Spice Instant
10Answers, but there is still much to do!
11
12Over the next few days, we will make a series of posts walking through in
13detail the anatomy of a Spice, and creating issues in the zeroclickinfo-spice
14repo tagged with `bttf`.
15
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/
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
.keysnail.js https://bitbucket.org/bamanzi/misc-utils | JavaScript | 1,615 lines
1// ========================== KeySnail Init File =========================== //
2
3// You can preserve your code in this area when generating the init file using GUI.
4// Put all your code except special key, set*key, hook, blacklist.
5// ========================================================================= //
6//{{%PRESERVE%
7//* PRESERVE
8
9//** Use Fox Splitter addon to mimic C-x 1/2/3 stuff
10ext.add("other-window", function() {
11    function focusSubBrowserById(aId) {
12        SplitBrowser.getSubBrowserById(aId).browser.contentWindow.focus();
13    }
14
15    var browsers = SplitBrowser.browsers;
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/
helm-net.el https://github.com/redguardtoo/emacs.d.git | Lisp | 601 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
README.md https://github.com/andrearonsen/zeroclickinfo-goodies.git | Unknown | 205 lines
1DuckDuckGo ZeroClickInfo Goodies
2=================================
3
4About
5-----
6
7See [the contribution page](https://github.com/duckduckgo/duckduckgo/wiki) for a general overview on contributing to DuckDuckGo.
8
9This repository is for contributing goodies, which are special tools that reveal instant answers at the top of search results, e.g. calculations or throwing dice.
10
11Most of the existing goodies are listed on the [goodies page](http://duckduckgo.com/goodies.html) and [tech goodies page](http://duckduckgo.com/tech.html).
12
13We also maintain a list of [requested goodies](https://github.com/duckduckgo/duckduckgo/wiki/Goodies), but whatever you want to attempt is welcome.
14
15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21