PageRenderTime 459ms queryFilters 0ms Sphinxql 63ms GetByIds 370ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 0ms

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

Source

Language

Repository

README.md https://github.com/abhinav67/check-n-mate.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.
README.md https://github.com/adfrazier/npm-typeahead.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.
sgp.mobile.js https://github.com/airportyh/supergenpass.git | JavaScript | 437 lines
1'use strict';
2
3// Load requirements.
4var $ = require('jquery');
5var sgp = require('supergenpass-lib');
6var md5 = require('crypto-js/md5');
7var sha512 = require('crypto-js/sha512');
8var zeroclipboard = require('zeroclipboard');
9var flashversion = require('./lib/flashversion');
10var identicon = require('./lib/identicon5');
11var shortcut = require('./lib/shortcut');
12var storage = require('./lib/localstorage-polyfill');
13
14// Set default values.
15var messageOrigin = false;
README.md https://github.com/alexanderGugel/npm-www.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.
sgp.mobile.js https://github.com/alex-repos/supergenpass.git | JavaScript | 411 lines
1'use strict';
2
3// Load requirements.
4var $ = require('jquery');
5var sgp = require('supergenpass-lib');
6var md5 = require('crypto-js/md5');
7var sha512 = require('crypto-js/sha512');
8var identicon = require('./lib/identicon5');
9var shortcut = require('./lib/shortcut');
10var storage = require('./lib/localstorage-polyfill');
11
12// Set default values.
13var messageOrigin = false;
14var messageSource = false;
15var language = location.search.substring(1);
pelicanconf.py https://github.com/AM207/Site.git | Python | 105 lines
1#!/usr/bin/env python
2# -*- coding: utf-8 -*- #
3from __future__ import unicode_literals
4
5AUTHOR = u'Pavlos Protopapas'
6SITENAME = u'AM207'
7SITEURL = 'http://localhost:8000'
8
9TIMEZONE ="America/New_York"
10
11THEME = '../pelican-bootstrap3-modified'
12BOOTSTRAP_THEME = 'flatly'
13TWITTER_USERNAME="am207"
14
15DEFAULT_LANG = u'en'
README.md https://github.com/andrewdeandrade/npm-www.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.
Rewrite.pm https://github.com/a-West/duckduckgo.git | Perl | 153 lines
1package DDG::Rewrite;
2# ABSTRACT: A (mostly spice related) Rewrite definition in our system
3
4use Moo;
5use Carp qw( croak );
6use URI;
7
8sub BUILD {
9	my ( $self ) = @_;
10	my $to = $self->to;
11	my $callback = $self->has_callback ? $self->callback : "";
12	croak "Missing callback attribute for {{callback}} in to" if ($to =~ s/{{callback}}/$callback/g && !$self->has_callback);
13    # Make sure we replace "{{dollar}}"" with "{dollar}".
14    $to =~ s/{{dollar}}/\$\{dollar\}/g;
15	my @missing_envs;
filtros.txt https://github.com/bearbin/uBlock.git | Plain Text | 6,833 lines
1[Adblock Plus 2.0]
2!
3!  FILTROS NAUSCOPICOS by maty (Spanish+English+Others ad-blocking subscription)
4!    Last modified: Oct 26, 2013 18:00 UTC
5!    This list expires after 5 days
6!    add the Nauscopio filter for even more: http://nauscopio.wordpress.com/category/filtrado/
7!    License: http://creativecommons.org/licenses/by-nc-sa/3.0/es/
8!
9!------ [Reglas genericas de bloqueo de publicidad] / general blocking ------!
10.ad0.
11.ad1.
12.ad2.
13.ad3.
14.ad4.
15.ad5.
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##
README.md https://github.com/andywyatte17/random_stuff.git | Markdown | 15 lines
1## Useful Links
2
3  - tfl.gov.uk/tfl/syndication/feeds/bus-sequences.csv?app_id=&app_key=
4  - https://www.google.com/search?q=site%3Atfl.gov.uk+51057+bus
5  - https://duckduckgo.com/?q=site%3Atfl.gov.uk+51057+bus&ia=web
6  - https://tfl.gov.uk/bus/stop/490014169E/wolsey-avenue
7  - https://api.tfl.gov.uk/Line/123/Arrivals/490014169E
8
9### pip google
10
11    #!/usr/env/bin python3
12    # pip google
13    from googlesearch import search
14    for url in search('site:tfl.gov.uk bus 51057', stop=5):
15        print(url)
README.md https://github.com/artz/node-schematron.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.
package.json https://github.com/artz/node-schematron.git | JSON | 48 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    }
search.py https://github.com/asl97/phenny.git | Python | 265 lines
1#!/usr/bin/env python
2"""
3search.py - Phenny Web Search Module
4Copyright 2008-9, Sean B. Palmer, inamidst.com
5Licensed under the Eiffel Forum License 2.
6
7http://inamidst.com/phenny/
8"""
9
10import re
11import web
12
13class Grab(web.urllib.URLopener):
14   def __init__(self, *args):
15      self.version = 'Mozilla/5.0 (Phenny)'
README.md https://github.com/bestdpf/avior-service.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.
package.json https://github.com/bestdpf/avior-service.git | JSON | 48 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/BillTheBest/smartos-live.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    }
strings.xml https://github.com/brave/link-bubble.git | XML | 410 lines
1<?xml version="1.0" encoding="utf-8"?>
2<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
3
4    <string name="download_activity_label">Downloader</string>
5    <string name="send_intent_label">Open with Link Bubble</string>
6    <string name="notification_summary">Touch to hide all open bubbles</string>
7    <string name="notification_default_summary">Touch to Hide, expand to Close All</string>
8    <string name="notification_unhide_summary">Touch to Unhide, expand to Close All</string>
9    <string name="notification_action_close_all">Close All</string>
10    <string name="notification_action_hide">Hide</string>
11    <string name="share_picker_label">Share picker</string>
12
13    <string name="yes">Yes</string>
14    <string name="no">No</string>
15    <string name="cancel">Cancel</string>
strings.xml https://github.com/brave/link-bubble.git | XML | 365 lines
1<?xml version="1.0" encoding="utf-8"?>
2<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
3
4    <string name="download_activity_label">Téléchargeur</string>
5    <string name="send_intent_label">Ouvrir avec Link Bubble</string>
6    <string name="notification_summary">Appuyez pour masquer toutes les bulles ouvertes</string>
7    <string name="notification_default_summary">Appuyer pour masquer, développer pour tout fermer</string>
8    <string name="notification_unhide_summary">Appuyer pour démasquer, développer pour tout fermer</string>
9    <string name="notification_action_close_all">Tout fermer</string>
10    <string name="notification_action_hide">Cacher</string>
11    <string name="share_picker_label">Choix de l\'outil de partage</string>
12
13    <string name="yes">Oui</string>
14    <string name="no">Non</string>
15    <string name="cancel">Annuler</string>
strings.xml https://github.com/brave/link-bubble.git | XML | 355 lines
1<?xml version="1.0" encoding="utf-8"?>
2<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
3
4    <string name="download_activity_label">Gestore Download</string>
5    <string name="send_intent_label">Apri con Link Bubble</string>
6    <string name="notification_summary">Tocca per nascondere tutte le bolle aperte</string>
7    <string name="notification_default_summary">Tocca per nascondere, espandi per Chiudere Tutto</string>
8    <string name="notification_unhide_summary">Tocca per mostrare, espandi per Chiudere Tutto</string>
9    <string name="notification_action_close_all">Chiudi Tutto</string>
10    <string name="notification_action_hide">Nascondi</string>
11    <string name="share_picker_label">Condividi</string>
12
13    <string name="yes">Si</string>
14    <string name="no">No</string>
15    <string name="cancel">Annulla</string>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21