PageRenderTime 122ms queryFilters 0ms Sphinxql 43ms app.CodeModel.GetByIds 19ms findMatchingLines 19ms GetByIds 38ms meta 0ms repositoryFilters 18ms languageFilters 4ms sourceFilters 1ms

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

Source

Language

Repository

index.html https://github.com/clocksmith/dygraphs.git | HTML | 711 lines
1<!DOCTYPE html>
2<html>
3  <head>
4    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
7    <title>dygraphs JavaScript Visualization Library</title>
8    <!--[if IE]>
9      <script type="text/javascript" src="excanvas.js"></script>
10    <![endif]-->
11    <script type="text/javascript" src="dygraph-combined.js"></script>
12    <link rel="stylesheet" href="style.css">
13
14    <!-- Google Analytics -->
15    <script type="text/javascript">
vc_without_m.md https://github.com/alFReD-NSH/homoiconic.git | Unknown | 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
vc_without_m.md https://github.com/brianyang/homoiconic.git | Unknown | 159 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
atom.xml https://github.com/efvincent/efvincent.github.io.git | XML | 714 lines
1<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom">
3
4  <title><![CDATA[Category: Autofac | Curried Functions]]></title>
5  <link href="http://efvincent.github.io/blog/categories/autofac/atom.xml" rel="self"/>
6  <link href="http://efvincent.github.io/"/>
7  <updated>2014-08-18T13:03:44-04:00</updated>
8  <id>http://efvincent.github.io/</id>
9  <author>
10    <name><![CDATA[Eric F. Vincent]]></name>
11    
12  </author>
13  <generator uri="http://octopress.org/">Octopress</generator>
14
15  
atom.xml https://github.com/efvincent/efvincent.github.io.git | XML | 1,011 lines
1<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom">
3
4  <title><![CDATA[Category: Basics | Curried Functions]]></title>
5  <link href="http://efvincent.github.io/blog/categories/basics/atom.xml" rel="self"/>
6  <link href="http://efvincent.github.io/"/>
7  <updated>2014-08-18T13:03:44-04:00</updated>
8  <id>http://efvincent.github.io/</id>
9  <author>
10    <name><![CDATA[Eric F. Vincent]]></name>
11    
12  </author>
13  <generator uri="http://octopress.org/">Octopress</generator>
14
15  
atom.xml https://github.com/efvincent/efvincent.github.io.git | XML | 1,011 lines
1<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom">
3
4  <title><![CDATA[Category: C# | Curried Functions]]></title>
5  <link href="http://efvincent.github.io/blog/categories/c-number/atom.xml" rel="self"/>
6  <link href="http://efvincent.github.io/"/>
7  <updated>2014-08-18T13:03:44-04:00</updated>
8  <id>http://efvincent.github.io/</id>
9  <author>
10    <name><![CDATA[Eric F. Vincent]]></name>
11    
12  </author>
13  <generator uri="http://octopress.org/">Octopress</generator>
14
15  
atom.xml https://github.com/efvincent/efvincent.github.io.git | XML | 714 lines
1<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom">
3
4  <title><![CDATA[Category: Dependency Injection | Curried Functions]]></title>
5  <link href="http://efvincent.github.io/blog/categories/dependency-injection/atom.xml" rel="self"/>
6  <link href="http://efvincent.github.io/"/>
7  <updated>2014-08-18T13:03:44-04:00</updated>
8  <id>http://efvincent.github.io/</id>
9  <author>
10    <name><![CDATA[Eric F. Vincent]]></name>
11    
12  </author>
13  <generator uri="http://octopress.org/">Octopress</generator>
14
15  
test_parseSubmissionURL.js https://github.com/eggpi/gecko-dev.git | JavaScript | 148 lines
1/* Any copyright is dedicated to the Public Domain.
2 *    http://creativecommons.org/publicdomain/zero/1.0/ */
3
4/*
5 * Tests getAlternateDomains API.
6 */
7
8"use strict";
9
10function run_test() {
11  removeMetadata();
12  updateAppInfo();
13  useHttpServer();
14
15  run_next_test();
test_parseSubmissionURL.js https://bitbucket.org/vionika/spin.android.git | JavaScript | 177 lines
1/* Any copyright is dedicated to the Public Domain.
2 *    http://creativecommons.org/publicdomain/zero/1.0/ */
3
4/*
5 * Tests getAlternateDomains API.
6 */
7
8"use strict";
9
10add_task(async function setup() {
11  useHttpServer();
12  await AddonTestUtils.promiseStartupManager();
13});
14
15add_task(async function test_parseSubmissionURL() {
search.py git://github.com/sbp/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)'
package.json https://github.com/jloiola/shack-api.git | Unknown | 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    }
RepoXMLHandlerTest.java https://gitlab.com/cmorgner/fdroidclient.git | Java | 688 lines
1
2package org.fdroid.fdroid;
3
4import android.support.annotation.NonNull;
5import android.test.AndroidTestCase;
6import android.text.TextUtils;
7import android.util.Log;
8
9import org.fdroid.fdroid.data.Apk;
10import org.fdroid.fdroid.data.App;
11import org.fdroid.fdroid.data.Repo;
12import org.fdroid.fdroid.mock.MockRepo;
13import org.xml.sax.InputSource;
14import org.xml.sax.SAXException;
15import org.xml.sax.XMLReader;
RepoXMLHandlerTest.java https://gitlab.com/dariusju/fdroidclient.git | Java | 664 lines
1
2package org.fdroid.fdroid;
3
4import android.test.AndroidTestCase;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.xml.sax.InputSource;
12import org.xml.sax.SAXException;
13import org.xml.sax.XMLReader;
14
15import java.io.BufferedInputStream;
RepoXMLHandlerTest.java https://gitlab.com/eighthave/fdroidclient.git | Java | 953 lines
1/*
2 * Copyright (C) 2016 Blue Jay Wireless
3 * Copyright (C) 2015 Daniel Martí <mvdan@mvdan.cc>
4 * Copyright (C) 2014-2016 Hans-Christoph Steiner <hans@eds.org>
5 * Copyright (C) 2014-2016 Peter Serwylo <peter@serwylo.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 3
10 * of the License, or (at your option) any later version.
11 *
12 * This program 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.
RepoXMLHandlerTest.java https://gitlab.com/Lepilov/fdroidclient.git | Java | 664 lines
1
2package org.fdroid.fdroid;
3
4import android.test.AndroidTestCase;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.xml.sax.InputSource;
12import org.xml.sax.SAXException;
13import org.xml.sax.XMLReader;
14
15import java.io.BufferedInputStream;
RepoXMLHandlerTest.java https://gitlab.com/liliangshuai/fdroidclient.git | Java | 664 lines
1
2package org.fdroid.fdroid;
3
4import android.test.AndroidTestCase;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.xml.sax.InputSource;
12import org.xml.sax.SAXException;
13import org.xml.sax.XMLReader;
14
15import java.io.BufferedInputStream;
RepoXMLHandlerTest.java https://gitlab.com/luis-raymeb/fdroidclient.git | Java | 664 lines
1
2package org.fdroid.fdroid;
3
4import android.test.AndroidTestCase;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.xml.sax.InputSource;
12import org.xml.sax.SAXException;
13import org.xml.sax.XMLReader;
14
15import java.io.BufferedInputStream;
RepoXMLHandlerTest.java https://gitlab.com/prt2121/fdroidclient.git | Java | 654 lines
1
2package org.fdroid.fdroid;
3
4import android.test.AndroidTestCase;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.xml.sax.InputSource;
12import org.xml.sax.SAXException;
13import org.xml.sax.XMLReader;
14
15import java.io.BufferedInputStream;
RepoXMLHandlerTest.java https://gitlab.com/SophiaM/fdroidclient.git | Java | 664 lines
1
2package org.fdroid.fdroid;
3
4import android.test.AndroidTestCase;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.xml.sax.InputSource;
12import org.xml.sax.SAXException;
13import org.xml.sax.XMLReader;
14
15import java.io.BufferedInputStream;
RepoXMLHandlerTest.java https://gitlab.com/tkfdroid/fdroidclient.git | Java | 664 lines
1
2package org.fdroid.fdroid;
3
4import android.test.AndroidTestCase;
5import android.text.TextUtils;
6import android.util.Log;
7
8import org.fdroid.fdroid.data.Apk;
9import org.fdroid.fdroid.data.App;
10import org.fdroid.fdroid.data.Repo;
11import org.xml.sax.InputSource;
12import org.xml.sax.SAXException;
13import org.xml.sax.XMLReader;
14
15import java.io.BufferedInputStream;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21