PageRenderTime 759ms queryFilters 0ms Sphinxql 58ms GetByIds 663ms meta 0ms repositoryFilters 13ms languageFilters 1ms sourceFilters 0ms

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

Source

Language

Repository

popups.txt https://github.com/AdguardTeam/AdguardFilters.git | Plain Text | 2,508 lines
1!#######################################################
2!######### Rules for blocking in page popups ###########
3!######### and floating elements #######################
4!#######################################################
5! Whitelist is at the on of file
6!
7! Generic rules
8||popupmaker.com^$third-party
9##.gs-subscribe
10||sdk.*.braze.com^$third-party
11||api.cazamba.com^$third-party
12||cdn.pn.vg^$third-party
13||socialsend.ru^$third-party
14||trbo.com^$third-party
15/wp-content/plugins/thrive-leads/*
vc_without_m.md https://github.com/ArtemSyzonenko/homoiconic.git | Markdown | 161 lines
1MVC, PVC and (¬M)VC
2===
3
4**preamble**
5
6This essay gives some background on two separate architecture patterns: The separation of domain logic from application logic, and the implementation of an application using the model-view-controller ("MVC") pattern. The integration of the two patterns is discussed and two alternatives to MVC are described. In the first alternative, the models in the application are proxies for resources in the domain logic server. In the second alternative, the application's controllers make RESTful calls directly to the domain logic server omitting models entirely.
7
8This essay's thesis is that when separating domain logic from application logic, domain logic can be implemented as a RESTful domain logic server. When doing so, the application can be implemented as an application server with models replaced by proxies to the domain server's resources such as with ActiveResource in Rails.
9
10The application can also be implemented as a single page interface in JavaScript. SPI applications can use the PVC architecture to create proxies. In simple, coarse-grained cases, SPI applications can forgo models and tightly couple the controllers to the domain logic server, a practice known as the (¬M)VC architecture. MVC and/or PVC is a better fit for SPI applications that are fine-grained and resemble desktop applications rather than web applications.
11
12**a long and barely relevant anecdote** (feel free to skip this or come back to it later)
13
14A long time ago, I worked on the development of a Java programming tool called JProbe Threadalyzer. Threadalyzer instrumented some running Java code and watched it for certain patterns of behaviour that indicated the possible presence of a threading bug. For example, if one thread were to obtain locks A and B in that order before accessing a shared resource and then at a later time any thread were to obtain locks B and A in that order (note the difference), Threadalyzer would alert the programmer that there was a possible bug. Although the code did not enter a deadlock, *if* two different threads were to try to obtain locks A, B, and B, A there might be a deadlock where one thread held A while waiting for B and another held B while waiting for A.
15
README.md https://github.com/betashepherd/php-curl-class.git | Markdown | 145 lines
1# php-curl-class
2
3[![Build Status](https://travis-ci.org/php-curl-class/php-curl-class.png?branch=master)](https://travis-ci.org/php-curl-class/php-curl-class)
4
5PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.
6
7### Composer
8
9    $ composer require php-curl-class/php-curl-class
10
11### Quick Start and Examples
12
13```php
14require 'Curl.php';
15
index.md https://github.com/betashepherd/php-curl-class.git | Markdown | 265 lines
1---
2title: PHP Curl Class Documentation
3
4language_tabs:
5  - php
6
7toc_footers:
8  - <a href="https://github.com/php-curl-class/php-curl-class" target="_blank">PHP Curl Class on Github</a>
9---
10
11# Introduction
12
13PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.
14
15# Install
config.h https://bitbucket.org/jasonwryan/centurion | C++ Header | 253 lines
1/*
2    (c) 2009 by Leon Winter
3    (c) 2009-2012 by Hannes Schueller
4    (c) 2009-2010 by Matto Fransen
5    (c) 2010-2011 by Hans-Peter Deifel
6    (c) 2010-2011 by Thomas Adam
7    (c) 2011 by Albert Kim
8    (c) 2013 Daniel Carl
9    see LICENSE file
10*/
11
12/* Vimprobable version number */
13#define VERSION "1.4.2"
14#define INTERNAL_VERSION "Vimprobable2/"VERSION
15
UrbanDictionary.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 32 lines
1package DDG::Spice::UrbanDictionary;
2# ABSTRACT: Give the Urban Dictionary definition of the search query.
3
4use DDG::Spice;
5
6primary_example_queries "urban dictionary ROTFL";
7secondary_example_queries "ud OMG", "ud ASD";
8description "Lookup UrbanDictionary definitions";
9name "UrbanDictionary";
10icon_url "/i/urbandictionary.com.ico";
11source "UrbanDictionary";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/UrbanDictionary.pm";
13topics "geek";
14category "language";
15attribution github => ['https://github.com/FiloSottile','FiloSottile'],
SoundCloud.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 31 lines
1
2package DDG::Spice::SoundCloud;
3
4use DDG::Spice;
5
6description "Displays SoundCloud Players";
7name "SoundCloud";
8primary_example_queries "soundcloud ray bradbury";
9secondary_example_queries "sc kavinsky";
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/prezjordan', 'prezjordan'],
Github.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 25 lines
1package DDG::Spice::Github;
2# ABSTRACT: Search for information about GitHub repositories
3
4use DDG::Spice;
5
6triggers startend => "github";
7spice to => 'https://api.github.com/legacy/repos/search/$1?callback={{callback}}';
8
9primary_example_queries "github zeroclickinfo";
10description "Github info";
11name "Github";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Github.pm";
13topics "programming", "web_design";
14category "programming";
15attribution web => ['http://dylansserver.com','Dylan Lloyd'],
RandWord.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 35 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'];
15status "enabled";
ChuckNorris.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 24 lines
1package DDG::Spice::ChuckNorris;
2
3use DDG::Spice;
4
5primary_example_queries "chuck norris facts";
6secondary_example_queries "chuck norris jokes";
7description "Chuck Norris facts";
8name "ChuckNorris";
9source "Chuck Norris Database";
10code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/ChuckNorris.pm";
11topics "special_interest";
12category "random";
13attribution github => ['https://github.com/mr-mayank-gupta','Mayank Gupta'],
14           twitter => ['http://twitter.com/iammayankg','Mayank Gupta'];
15
Tumblr.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 27 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','caine tighe'];
15status "disabled";
Trends.pm https://github.com/aembleton/zeroclickinfo-spice.git | Perl | 27 lines
1package DDG::Spice::Twitter::Trends;
2# ABSTRACT: Give Twitter's trending topics for the specificed location.
3
4use DDG::Spice;
5
6primary_example_queries "trending";
7secondary_example_queries "trending tweets in japan";
8description "Trending tweets";
9name "Trends";
10icon_url "/i/twitter.com.ico";
11source "Twitter";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Twitter/Trends.pm";
13topics "everyday", "social";
14category "ids";
15attribution web => ['http://kevinschaul.com','Kevin Schaul'],
Github.pm https://github.com/tarnfeld/zeroclickinfo-spice.git | Perl | 26 lines
1package DDG::Spice::Github;
2# ABSTRACT: Search for information about GitHub repositories
3
4use DDG::Spice;
5
6triggers any => "github";
7spice to => 'https://api.github.com/legacy/repos/search/$1?callback={{callback}}';
8
9primary_example_queries  => "github zeroclickinfo";
10description "Github info";
11name "Github";
12code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Github.pm";
13topics => "programming", "web design";
14category => "programming";
15attribution web => ['http://dylansserver.com','Dylan Lloyd'],
Tumblr.pm https://github.com/tarnfeld/zeroclickinfo-spice.git | Perl | 27 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','caine tighe'];
15status "disabled";
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=";
Recipes.pm https://github.com/robertbrook/zeroclickinfo-spice.git | Perl | 36 lines
1package DDG::Spice::Recipes;
2
3use DDG::Spice;
4use Text::Trim;
5
6primary_example_queries 'tofu ginger recipe';
7description 'Search for Recipes';
8name 'Recipes';
9code_url 'https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Recipes.pm';
10
11# removing line breaks from ingredients.txt file:
12my %ingredients = map { trim($_) => 0 } share('ingredients.txt')->slurp;
13
14triggers any => ('recipe', 'recipes', keys(%ingredients));
15
README.txt https://github.com/all4senses/bvc.git | Plain Text | 594 lines
1
2------------------------------------------------
3HTTP PARALLEL REQUEST & THREADING LIBRARY MODULE
4------------------------------------------------
5
6
7CONTENTS OF THIS FILE
8---------------------
9
10 * About HTTPRL
11 * Requirements
12 * Configuration
13 * API Overview
14 * Technical Details
15 * Code Examples
README.md https://github.com/betarelease/atom.git | Markdown | 112 lines
1## Follow Redirects
2
3Drop in replacement for Nodes `http` and `https` that automatically follows redirects.
4
5[![Build Status](https://travis-ci.org/olalonde/follow-redirects.svg?branch=master)](https://travis-ci.org/olalonde/follow-redirects)
6[![Coverage Status](https://coveralls.io/repos/olalonde/follow-redirects/badge.svg?branch=master)](https://coveralls.io/r/olalonde/follow-redirects?branch=master)
7[![Code Climate](https://codeclimate.com/github/olalonde/follow-redirects/badges/gpa.svg)](https://codeclimate.com/github/olalonde/follow-redirects)
8[![Dependency Status](https://david-dm.org/olalonde/follow-redirects.svg)](https://david-dm.org/olalonde/follow-redirects)
9[![devDependency Status](https://david-dm.org/olalonde/follow-redirects/dev-status.svg)](https://david-dm.org/olalonde/follow-redirects#info=devDependencies)
10
11[![NPM](https://nodei.co/npm/follow-redirects.png?downloads=true)](https://nodei.co/npm/follow-redirects/)
12
13`follow-redirects` provides [request](https://nodejs.org/api/http.html#http_http_request_options_callback) and [get](https://nodejs.org/api/http.html#http_http_get_options_callback)
14 methods that behave identically to those found on the native [http](https://nodejs.org/api/http.html#http_http_request_options_callback) and [https](https://nodejs.org/api/https.html#https_https_request_options_callback)
15 modules, with the exception that they will seamlessly follow redirects.
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//
SSLITest.java git://github.com/jayway/rest-assured.git | Java | 261 lines
1/*
2 * Copyright 2019 the original author or authors.
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 */
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21