PageRenderTime 324ms queryFilters 0ms Sphinxql 72ms GetByIds 235ms meta 0ms repositoryFilters 7ms languageFilters 1ms sourceFilters 0ms

885 results for 'api.duckduckgo.com' (324 ms)

Source

Language

Repository

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    }
hacking.html https://github.com/gvx/gvx.github.com.git | HTML | 330 lines
1<!DOCTYPE html>
2<html lang="en">
3	<head>
4		<meta charset="utf-8" />
5		<title>~/Hacking</title>
6		<link href="hacking.css" media="screen" rel="stylesheet" type="text/css" />
7		<link rel="shortcut icon" href="favicon.png"/>
8	</head>
9	<body><div id="shuffle"></div>
10		<div class="nav"><b>Places</b> | <a href="index.html">Userpage</a>
11				| <a href="http://github.com/gvx/">GitHub</a>
12				| <a href="http://gvxdev.wordpress.com/">Blog</a>
13				| <a href="http://twitter.com/gvxdev">Twitter</a>
14				<noscript>| This page is tastier with JavaScript enabled.</noscript>
15		</div>
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) {
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';
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
quixey.js git://github.com/duckduckgo/zeroclickinfo-spice.git | JavaScript | 353 lines
1(function(env) {
2    var quixey_image_domain = "d1z22zla46lb9g.cloudfront.net";
3
4    // spice callback function
5    env.ddg_spice_quixey = function(api_result) {
6
7        if (!(api_result && api_result.results && api_result.results.length)) {
8            return Spice.failed('apps');
9        }
10
11        var qLower = api_result.q.toLowerCase();
12            categories = [
13                "action",
14                "adventure",
15                "arcade",
in_theaters.js git://github.com/duckduckgo/zeroclickinfo-spice.git | JavaScript | 131 lines
1(function(env) {
2    "use strict";
3    
4    // A change in the Rotten Tomatoes API returns images that end in _tmb.
5    // This changes this to _det.
6    function toDetail(img) {
7        if(/resizing\.flixster\.com/.test(img)) {
8            // Everything before the size of the image can be removed and it would still work.
9            img = img.replace(/.+\/\d+x\d+\/(.+)/, "http://$1");
10            // Better use the _det size (which is smaller) instead of the _ori size.
11            return img.replace(/_ori/, "_det");
12        }
13        
14        // Otherwise, use the old string replacement strategy.
15        return img.replace(/tmb\.(jpg|png)/, "det.$1");
README.md https://github.com/borispovod/keep-alive-agent.git | Markdown | 65 lines
1# keep-alive-agent
2
3[![Build Status](https://travis-ci.org/ceejbot/keep-alive-agent.png)](https://travis-ci.org/ceejbot/keep-alive-agent)
4
5keep-alive-agent is an HTTP connection pool [agent](http://nodejs.org/api/http.html#http_class_http_agent) for node.js that re-uses sockets. It is simpler than some agents that also solve this problem because it does not attempt to replace the Agent provided by node. If you want to re-use connections, use this agent. If you want the default node behavior, use the default global agent.
6
7## Update
8
9The [node.js bug](https://github.com/joyent/node/issues/4373) this module was written to work around was fixed in node 0.8.20. It is still handy as a general keep-alive agent, however.
10
11## Usage
12
13__new KeepAliveAgent(<i>options-hash</i>)__
14
15Create an instance of the agent, passing the options hash through to the node Agent constructor. These options are in turn passed along to `createConnection()`. The KeepAliveAgent constructor does not use the options itself. The option you are most likely to change is `maxSockets`, which defaults to 5.
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;
Testing.pod https://github.com/kraih/mojo.git | Unknown | 719 lines
1
2=encoding utf8
3
4=head1 NAME
5
6Mojolicious::Guides::Testing - Web Application Testing Made Easy
7
8=head1 OVERVIEW
9
10This document is an introduction to testing web applications with L<Test::Mojo>.
11L<Test::Mojo> can be thought of as a module that provides all of the tools and
12testing assertions needed to test web applications in a Perl-ish way.
13
14While L<Test::Mojo> can be used to test any web application, it has shortcuts
15designed to make testing L<Mojolicious> web applications easy and pain-free.
package.json https://github.com/aajain-clgx/spatial.git | JSON | 44 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    }
package.json https://github.com/abhinav67/check-n-mate.git | JSON | 62 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    }
package.json https://github.com/adfrazier/npm-typeahead.git | JSON | 58 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    }
package.json https://github.com/alexanderGugel/npm-www.git | JSON | 44 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    }
package.json https://github.com/andrewdeandrade/npm-www.git | JSON | 44 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    }
README.md https://github.com/aajain-clgx/spatial.git | Markdown | 59 lines
1# keep-alive-agent
2
3keep-alive-agent is an HTTP connection pool agent for node.js that re-uses sockets. It is simpler than some agents that also solve this problem because it does not attempt to replace the Agent provided by node. If you want to re-use connections, use this agent. If you want the default node behavior, use the default global agent.
4
5## Usage
6
7__new KeepAliveAgent(*options-hash*)__
8
9Create an instance of the agent, passing the options hash through to the node Agent constructor. These options are in turn passed along to `createConnection()`. The KeepAliveAgent constructor does not use the options itself. The option you are most likely to change is `maxSockets`, which defaults to 5.
10
11To use the agent instance, set it in the `agent` field of the options passed to `http.request()` or `http.get()`. See the [http.request() documentation](http://nodejs.org/api/http.html#http_http_request_options_callback) for details.
12
13__new KeepAliveAgent.Secure(*options-hash*)__
14
15A keep-alive agent that creates tls sockets. Use it the same way you use the http agent.
2019-01-23-foodbank-translator.md https://github.com/abethcrane/bethcrane.com.git | Markdown | 75 lines
1---
2layout: post
3title:  "Foodbank Translator Update"
4date:   2019-02-21
5categories: [Software]
6tags: [FoodBank]
7summary: Partnering with a Foodbank to help make their lives easier with an app for translating food items into other languages
8---
9
10I've been partnering with [Pike Market Senior Center & Food Bank][foodbank] for the past couple of months to see if I could build an app that would make their lives easier, after I met their volunteer coordinator at a micro-volunteering event at Microsoft. Here's the story!
11
12# October #
13Microsoft dedicates each October to Giving - to encouraging/enabling employees to donate our time and money to organizations that are important to us. [Microsoft's Corporate Social Responsibility][csr] program is one of the best out there, and I'm very appreciative of their willingness to match my donations dollar for dollar, my volunteer hours at $25 per hour, and their enthusiasm for keeping it top of mind.
14
15One way employees are encouraged to get involved is by attending low-barrier-to-entry "microvolunteering" events. Typically a couple of people from a non-profit come onsite and set up an activity that can be performed over the lunch hour. Last October the Pike Market Food Bank came onsite and asked us to create slides in powerpoint translating commonly donated food items into Vietnamise, Simplified Chinese and Spanish - the 3 most common non-English languages spoken by their customers. They hoped to print the slides out so they could be used to explain what a donated food item was.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21