code stringlengths 4 1.01M | language stringclasses 2 values |
|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: Black list 🏴☠️</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1+2 / monae - 0.2.2</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
monae
<small>
0.2.2
<span class="label label-default">Black list 🏴☠️</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-27 01:18:40 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-27 01:18:40 UTC)</em><p>
<div class="alert alert-info" role="alert">
<p>This result is black-listed as it is considered as too hard to reproduce / to solve. If you find a way to fix this package, please make a pull-request to <a class="alert-link" href="https://github.com/coq/opam-coq-archive">github.com/coq/opam-coq-archive</a>. The list of black-listed packages is in <a class="alert-link" href="https://github.com/coq-bench/make-html/blob/master/black_list.rb">black_list.rb</a>.</p>
</div>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.7.1+2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.03.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.03.0 Official 4.03.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.2 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Reynald Affeldt <reynald.affeldt@aist.go.jp>"
homepage: "https://github.com/affeldt-aist/monae"
dev-repo: "git+https://github.com/affeldt-aist/monae.git"
bug-reports: "https://github.com/affeldt-aist/monae/issues"
license: "LGPL-2.1-or-later"
synopsis: "Monads and equational reasoning in Coq"
description: """
This Coq library contains a hierarchy of monads with their laws used
in several examples of monadic equational reasoning."""
build: [
[make "-j%{jobs}%"]
[make "sect5"]
[make "-C" "impredicative_set"]
]
install: [make "install"]
depends: [
"coq" { (>= "8.11" & < "8.13~") | (= "dev") }
"coq-mathcomp-ssreflect" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-fingroup" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-algebra" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-solvable" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-field" { (>= "1.11.0" & < "1.13~") }
"coq-mathcomp-analysis" { (>= "0.3.4" & < "0.3.6~") }
"coq-infotheo" { >= "0.2.1" & < "0.3~"}
"coq-paramcoq" { >= "1.1.2" & < "1.2~" }
]
tags: [
"keyword:monae"
"keyword:effects"
"keyword:probability"
"keyword:nondeterminism"
"logpath:monae"
]
authors: [
"Reynald Affeldt"
"David Nowak"
"Takafumi Saikawa"
"Jacques Garrigue"
"Celestine Sauvage"
"Kazunari Tanaka"
]
url {
http: "https://github.com/affeldt-aist/monae/archive/0.2.2.tar.gz"
checksum: "sha512=a752aa916752306c3ce5231e118d96154633976bcd1062174496c9f74b7d5f216c6d70552f1abcc1ea1b0706708938e6d6ffc8c05b276eec779c80ec90b70660"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-monae.0.2.2 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.1+2).
The following dependencies couldn't be met:
- coq-monae -> coq >= dev -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-monae.0.2.2</code></dd>
<dt>Return code</dt>
<dd>15360</dd>
<dt>Output</dt>
<dd><pre>The following actions will be performed:
- remove coq 8.7.1+2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[WARNING] package uninstall script failed at /home/bench/.opam/opam-init/hooks/sandbox.sh remove rm -R /home/bench/.opam/ocaml-base-compiler.4.03.0/lib/coq /home/bench/.opam/ocaml-base-compiler.4.03.0/share/coq:
# context 2.0.5 | linux/x86_64 | ocaml-base-compiler.4.03.0 | https://opam.ocaml.org#d4502500
# path ~/run
# command ~/.opam/opam-init/hooks/sandbox.sh remove rm -R /home/bench/.opam/ocaml-base-compiler.4.03.0/lib/coq /home/bench/.opam/ocaml-base-compiler.4.03.0/share/coq
# exit-code 1
# env-file ~/.opam/log/coq-842-9b8556.env
# output-file ~/.opam/log/coq-842-9b8556.out
### output ###
# rm: cannot remove '/home/bench/.opam/ocaml-base-compiler.4.03.0/share/coq': No such file or directory
Done.
# Run eval $(opam env) to update the current shell environment
[ERROR] Sorry, resolution of the request timed out.
Try to specify a simpler request, use a different solver, or increase the allowed time by setting OPAMSOLVERTIMEOUT to a bigger value (currently, it is set to 600.0 seconds).
</pre></dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<?php
/**
* Created by PhpStorm.
* User: GuoHao
* Date: 2016/1/10
* Time: 14:32
*/
class BeauticianRestModel extends BaseModel
{
public function setTable()
{
$this->table = 'beautician_rest';
}
public function rules()
{
$validate = new ValidateUtil();
$validate->required('rest_day');
$validate->required('start_time');
$validate->required('end_time');
$validate->required('ps');
$validate->required('beautician_id');
return $validate;
}
} | Java |
package com.java.group34;
import java.util.ArrayList;
/**
* Created by dell-pc on 2017/9/11.
*/
public class NewsPictures {
private Value[] value;
private static class Value
{
String contentUrl;
}
public ArrayList<String> getFirstNthPictures(int n)
{
ArrayList<String> ans=new ArrayList<String>();
System.out.println(value.length);
for(int i=0;i<n&&i<value.length;++i)
ans.add(value[i].contentUrl);
return ans;
}
}
| Java |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code: 536; Server: stratnotes2.ic.gc.ca -->
<head>
<!-- Title begins / Début du titre -->
<title>
Icon Technologies Limited -
Complete profile - Canadian Company Capabilities - Industries and Business - Industry Canada
</title>
<!-- Title ends / Fin du titre -->
<!-- Meta-data begins / Début des métadonnées -->
<meta charset="utf-8" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="dcterms.title" content="" />
<meta name="description" content="" />
<meta name="dcterms.description" content="" />
<meta name="dcterms.type" content="report, data set" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.issued" title="W3CDTF" content="" />
<meta name="dcterms.modified" title="W3CDTF" content="" />
<meta name="keywords" content="" />
<meta name="dcterms.creator" content="" />
<meta name="author" content="" />
<meta name="dcterms.created" title="W3CDTF" content="" />
<meta name="dcterms.publisher" content="" />
<meta name="dcterms.audience" title="icaudience" content="" />
<meta name="dcterms.spatial" title="ISO3166-1" content="" />
<meta name="dcterms.spatial" title="gcgeonames" content="" />
<meta name="dcterms.format" content="HTML" />
<meta name="dcterms.identifier" title="ICsiteProduct" content="536" />
<!-- EPI-11240 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- MCG-202 -->
<meta content="width=device-width,initial-scale=1" name="viewport">
<!-- EPI-11567 -->
<meta name = "format-detection" content = "telephone=no">
<!-- EPI-12603 -->
<meta name="robots" content="noarchive">
<!-- EPI-11190 - Webtrends -->
<script>
var startTime = new Date();
startTime = startTime.getTime();
</script>
<!--[if gte IE 9 | !IE ]><!-->
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/wet-boew.min.css">
<!--<![endif]-->
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/theme.min.css">
<!--[if lt IE 9]>
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/ie8-wet-boew.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew.min.js"></script>
<![endif]-->
<!--[if lte IE 9]>
<![endif]-->
<noscript><link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/noscript.min.css" /></noscript>
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<script>dataLayer1 = [];</script>
<!-- End Google Tag Manager -->
<!-- EPI-11235 -->
<link rel="stylesheet" href="/eic/home.nsf/css/add_WET_4-0_Canada_Apps.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/app/ccc/srch/css/print.css" media="print" rel="stylesheet" type="text/css" />
</head>
<body class="home" vocab="http://schema.org/" typeof="WebPage">
<!-- EPIC HEADER BEGIN -->
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<noscript><iframe title="Google Tag Manager" src="//www.googletagmanager.com/ns.html?id=GTM-TLGQ9K" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer1'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer1','GTM-TLGQ9K');</script>
<!-- End Google Tag Manager -->
<!-- EPI-12801 -->
<span typeof="Organization"><meta property="legalName" content="Department_of_Industry"></span>
<ul id="wb-tphp">
<li class="wb-slc">
<a class="wb-sl" href="#wb-cont">Skip to main content</a>
</li>
<li class="wb-slc visible-sm visible-md visible-lg">
<a class="wb-sl" href="#wb-info">Skip to "About this site"</a>
</li>
</ul>
<header role="banner">
<div id="wb-bnr" class="container">
<section id="wb-lng" class="visible-md visible-lg text-right">
<h2 class="wb-inv">Language selection</h2>
<div class="row">
<div class="col-md-12">
<ul class="list-inline mrgn-bttm-0">
<li><a href="nvgt.do?V_TOKEN=1492292700377&V_SEARCH.docsCount=3&V_DOCUMENT.docRank=22419&V_SEARCH.docsStart=22418&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=/prfl.do&lang=fra&redirectUrl=/app/scr/wp-config.php?_flId?_flxKy=e1s1&estblmntNo=234567041301&profileId=61&_evId=bck&lang=eng&V_SEARCH.showStricts=false&prtl=1&_flId?_flId?_flxKy=e1s1" title="Français" lang="fr">Français</a></li>
</ul>
</div>
</div>
</section>
<div class="row">
<div class="brand col-xs-8 col-sm-9 col-md-6">
<a href="http://www.canada.ca/en/index.html"><object type="image/svg+xml" tabindex="-1" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/sig-blk-en.svg"></object><span class="wb-inv"> Government of Canada</span></a>
</div>
<section class="wb-mb-links col-xs-4 col-sm-3 visible-sm visible-xs" id="wb-glb-mn">
<h2>Search and menus</h2>
<ul class="list-inline text-right chvrn">
<li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk" role="button"><span class="glyphicon glyphicon-search"><span class="glyphicon glyphicon-th-list"><span class="wb-inv">Search and menus</span></span></span></a></li>
</ul>
<div id="mb-pnl"></div>
</section>
<!-- Site Search Removed -->
</div>
</div>
<nav role="navigation" id="wb-sm" class="wb-menu visible-md visible-lg" data-trgt="mb-pnl" data-ajax-fetch="//cdn.canada.ca/gcweb-cdn-dev/sitemenu/sitemenu-en.html" typeof="SiteNavigationElement">
<h2 class="wb-inv">Topics menu</h2>
<div class="container nvbar">
<div class="row">
<ul class="list-inline menu">
<li><a href="https://www.canada.ca/en/services/jobs.html">Jobs</a></li>
<li><a href="http://www.cic.gc.ca/english/index.asp">Immigration</a></li>
<li><a href="https://travel.gc.ca/">Travel</a></li>
<li><a href="https://www.canada.ca/en/services/business.html">Business</a></li>
<li><a href="https://www.canada.ca/en/services/benefits.html">Benefits</a></li>
<li><a href="http://healthycanadians.gc.ca/index-eng.php">Health</a></li>
<li><a href="https://www.canada.ca/en/services/taxes.html">Taxes</a></li>
<li><a href="https://www.canada.ca/en/services.html">More services</a></li>
</ul>
</div>
</div>
</nav>
<!-- EPIC BODY BEGIN -->
<nav role="navigation" id="wb-bc" class="" property="breadcrumb">
<h2 class="wb-inv">You are here:</h2>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="/eic/site/icgc.nsf/eng/home" title="Home">Home</a></li>
<li><a href="/eic/site/icgc.nsf/eng/h_07063.html" title="Industries and Business">Industries and Business</a></li>
<li><a href="/eic/site/ccc-rec.nsf/tpl-eng/../eng/home" >Canadian Company Capabilities</a></li>
</ol>
</div>
</div>
</nav>
</header>
<main id="wb-cont" role="main" property="mainContentOfPage" class="container">
<!-- End Header -->
<!-- Begin Body -->
<!-- Begin Body Title -->
<!-- End Body Title -->
<!-- Begin Body Head -->
<!-- End Body Head -->
<!-- Begin Body Content -->
<br>
<!-- Complete Profile -->
<!-- Company Information above tabbed area-->
<input id="showMore" type="hidden" value='more'/>
<input id="showLess" type="hidden" value='less'/>
<h1 id="wb-cont">
Company profile - Canadian Company Capabilities
</h1>
<div class="profileInfo hidden-print">
<ul class="list-inline">
<li><a href="cccSrch.do?lang=eng&profileId=&prtl=1&key.hitsPerPage=25&searchPage=%252Fapp%252Fccc%252Fsrch%252FcccBscSrch.do%253Flang%253Deng%2526amp%253Bprtl%253D1%2526amp%253Btagid%253D&V_SEARCH.scopeCategory=CCC.Root&V_SEARCH.depth=1&V_SEARCH.showStricts=false&V_SEARCH.sortSpec=title+asc&rstBtn.x=" class="btn btn-link">New Search</a> |</li>
<li><form name="searchForm" method="post" action="/app/ccc/srch/bscSrch.do">
<input type="hidden" name="lang" value="eng" />
<input type="hidden" name="profileId" value="" />
<input type="hidden" name="prtl" value="1" />
<input type="hidden" name="searchPage" value="%2Fapp%2Fccc%2Fsrch%2FcccBscSrch.do%3Flang%3Deng%26amp%3Bprtl%3D1%26amp%3Btagid%3D" />
<input type="hidden" name="V_SEARCH.scopeCategory" value="CCC.Root" />
<input type="hidden" name="V_SEARCH.depth" value="1" />
<input type="hidden" name="V_SEARCH.showStricts" value="false" />
<input id="repeatSearchBtn" class="btn btn-link" type="submit" value="Return to search results" />
</form></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=22417&V_DOCUMENT.docRank=22418&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492292729174&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567164090&profileId=&key.newSearchLabel=">Previous Company</a></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=22419&V_DOCUMENT.docRank=22420&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492292729174&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567159333&profileId=&key.newSearchLabel=">Next Company</a></li>
</ul>
</div>
<details>
<summary>Third-Party Information Liability Disclaimer</summary>
<p>Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.</p>
</details>
<h2>
Icon Technologies Limited
</h2>
<div class="row">
<div class="col-md-5">
<h2 class="h5 mrgn-bttm-0">Legal/Operating Name:</h2>
<p>Icon Technologies Limited</p>
<div class="mrgn-tp-md"></div>
<p class="mrgn-bttm-0" ><a href="http://www.icondirect.com"
target="_blank" title="Website URL">http://www.icondirect.com</a></p>
<p><a href="mailto:info@icondirect.com" title="info@icondirect.com">info@icondirect.com</a></p>
</div>
<div class="col-md-4 mrgn-sm-sm">
<h2 class="h5 mrgn-bttm-0">Mailing Address:</h2>
<address class="mrgn-bttm-md">
P.O. Box 1088<br/>
427 Buffalo St<br/>
WINKLER,
Manitoba<br/>
R6W 4B2
<br/>
</address>
<h2 class="h5 mrgn-bttm-0">Location Address:</h2>
<address class="mrgn-bttm-md">
427 Buffalo St<br/>
WINKLER,
Manitoba<br/>
R6W 4B2
<br/>
</address>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(204) 325-1081
</p>
<p class="mrgn-bttm-lg"><abbr title="Facsimile">Fax</abbr>:
(204) 325-6441</p>
</div>
<div class="col-md-3 mrgn-tp-md">
</div>
</div>
<div class="row mrgn-tp-md mrgn-bttm-md">
<div class="col-md-12">
</div>
</div>
<!-- <div class="wb-tabs ignore-session update-hash wb-eqht-off print-active"> -->
<div class="wb-tabs ignore-session">
<div class="tabpanels">
<details id="details-panel1">
<summary>
Full profile
</summary>
<!-- Tab 1 -->
<h2 class="wb-invisible">
Full profile
</h2>
<!-- Contact Information -->
<h3 class="page-header">
Contact information
</h3>
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
John
Loewen
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
President
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Management Executive.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(204) 325-1081
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
222
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(204) 325-6441
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
George
Krahn
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
Customer Service Representative<br>
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Customer Service.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(204) 325-1081
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
227
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(204) 325-6441
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
info@icontechltd.com
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Company Description -->
<h3 class="page-header">
Company description
</h3>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
Yes
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Quality Certification:
</strong>
</div>
<div class="col-md-7">
ISO 9001.
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
326198 - All Other Plastic Product Manufacturing
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Manufacturer / Processor / Producer
</div>
</div>
</section>
<!-- Products / Services / Licensing -->
<h3 class="page-header">
Product / Service / Licensing
</h3>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Service Name:
</strong>
</div>
<div class="col-md-9">
Thermoforming, Molds, Reverse Engineering, <br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Icon Technologies Limited, Manufactures high quality thermoformed
<br>
plastic products. Services are Mold Making, Product Development,
<br>
Solid Modeling, Revese Engineering.<br>
<br>
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Technology Profile -->
<!-- Market Profile -->
<h3 class="page-header">
Market profile
</h3>
<section class="container-fluid">
<h4>
Geographic markets:
</h4>
<h5>
Export experience:
</h5>
<ul>
<li>United States</li>
</ul>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Sector Information -->
<details class="mrgn-tp-md mrgn-bttm-md">
<summary>
Third-Party Information Liability Disclaimer
</summary>
<p>
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
</p>
</details>
</details>
<details id="details-panel2">
<summary>
Contacts
</summary>
<h2 class="wb-invisible">
Contact information
</h2>
<!-- Contact Information -->
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
John
Loewen
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title-->
President
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Management Executive.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(204) 325-1081
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
222
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(204) 325-6441
</div>
</div>
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
George
Krahn
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
Customer Service Representative<br>
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Area of Responsibility:
</strong>
</div>
<div class="col-md-7">
Customer Service.
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(204) 325-1081
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Ext:
</strong>
</div>
<div class="col-md-7">
227
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Facsimile:
</strong>
</div>
<div class="col-md-7">
(204) 325-6441
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
info@icontechltd.com
</div>
</div>
</section>
</details>
<details id="details-panel3">
<summary>
Description
</summary>
<h2 class="wb-invisible">
Company description
</h2>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
Yes
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Quality Certification:
</strong>
</div>
<div class="col-md-7">
ISO 9001.
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
326198 - All Other Plastic Product Manufacturing
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Manufacturer / Processor / Producer
</div>
</div>
</section>
</details>
<details id="details-panel4">
<summary>
Products, services and licensing
</summary>
<h2 class="wb-invisible">
Product / Service / Licensing
</h2>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Service Name:
</strong>
</div>
<div class="col-md-9">
Thermoforming, Molds, Reverse Engineering, <br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
Icon Technologies Limited, Manufactures high quality thermoformed
<br>
plastic products. Services are Mold Making, Product Development,
<br>
Solid Modeling, Revese Engineering.<br>
<br>
</div>
</div>
</section>
</details>
<details id="details-panel6">
<summary>
Market
</summary>
<h2 class="wb-invisible">
Market profile
</h2>
<section class="container-fluid">
<h4>
Geographic markets:
</h4>
<h5>
Export experience:
</h5>
<ul>
<li>United States</li>
</ul>
</section>
</details>
</div>
</div>
<div class="row">
<div class="col-md-12 text-right">
Last Update Date 2016-06-15
</div>
</div>
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
<!-- End Body Content -->
<!-- Begin Body Foot -->
<!-- End Body Foot -->
<!-- END MAIN TABLE -->
<!-- End body -->
<!-- Begin footer -->
<div class="row pagedetails">
<div class="col-sm-5 col-xs-12 datemod">
<dl id="wb-dtmd">
<dt class=" hidden-print">Date Modified:</dt>
<dd class=" hidden-print">
<span><time>2017-03-02</time></span>
</dd>
</dl>
</div>
<div class="clear visible-xs"></div>
<div class="col-sm-4 col-xs-6">
</div>
<div class="col-sm-3 col-xs-6 text-right">
</div>
<div class="clear visible-xs"></div>
</div>
</main>
<footer role="contentinfo" id="wb-info">
<nav role="navigation" class="container wb-navcurr">
<h2 class="wb-inv">About government</h2>
<!-- EPIC FOOTER BEGIN -->
<!-- EPI-11638 Contact us -->
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07026.html#pageid=E048-H00000&from=Industries">Contact us</a></li>
<li><a href="https://www.canada.ca/en/government/dept.html">Departments and agencies</a></li>
<li><a href="https://www.canada.ca/en/government/publicservice.html">Public service and military</a></li>
<li><a href="https://www.canada.ca/en/news.html">News</a></li>
<li><a href="https://www.canada.ca/en/government/system/laws.html">Treaties, laws and regulations</a></li>
<li><a href="https://www.canada.ca/en/transparency/reporting.html">Government-wide reporting</a></li>
<li><a href="http://pm.gc.ca/eng">Prime Minister</a></li>
<li><a href="https://www.canada.ca/en/government/system.html">How government works</a></li>
<li><a href="http://open.canada.ca/en/">Open government</a></li>
</ul>
</nav>
<div class="brand">
<div class="container">
<div class="row">
<nav class="col-md-10 ftr-urlt-lnk">
<h2 class="wb-inv">About this site</h2>
<ul>
<li><a href="https://www.canada.ca/en/social.html">Social media</a></li>
<li><a href="https://www.canada.ca/en/mobile.html">Mobile applications</a></li>
<li><a href="http://www1.canada.ca/en/newsite.html">About Canada.ca</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html">Terms and conditions</a></li>
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html#p1">Privacy</a></li>
</ul>
</nav>
<div class="col-xs-6 visible-sm visible-xs tofpg">
<a href="#wb-cont">Top of Page <span class="glyphicon glyphicon-chevron-up"></span></a>
</div>
<div class="col-xs-6 col-md-2 text-right">
<object type="image/svg+xml" tabindex="-1" role="img" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/wmms-blk.svg" aria-label="Symbol of the Government of Canada"></object>
</div>
</div>
</div>
</div>
</footer>
<!--[if gte IE 9 | !IE ]><!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/wet-boew.min.js"></script>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew2.min.js"></script>
<![endif]-->
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/theme.min.js"></script>
<!-- EPI-10519 -->
<span class="wb-sessto"
data-wb-sessto='{"inactivity": 1800000, "reactionTime": 180000, "sessionalive": 1800000, "logouturl": "/app/ccc/srch/cccSrch.do?lang=eng&prtl=1"}'></span>
<script src="/eic/home.nsf/js/jQuery.externalOpensInNewWindow.js"></script>
<!-- EPI-11190 - Webtrends -->
<script src="/eic/home.nsf/js/webtrends.js"></script>
<script>var endTime = new Date();</script>
<noscript>
<div><img alt="" id="DCSIMG" width="1" height="1" src="//wt-sdc.ic.gc.ca/dcs6v67hwe0ei7wsv8g9fv50d_3k6i/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=9.4.0&dcssip=www.ic.gc.ca"/></div>
</noscript>
<!-- /Webtrends -->
<!-- JS deps -->
<script src="/eic/home.nsf/js/jquery.imagesloaded.js"></script>
<!-- EPI-11262 - Util JS -->
<script src="/eic/home.nsf/js/_WET_4-0_utils_canada.min.js"></script>
<!-- EPI-11383 -->
<script src="/eic/home.nsf/js/jQuery.icValidationErrors.js"></script>
<span style="display:none;" id='app-info' data-project-groupid='' data-project-artifactid='' data-project-version='' data-project-build-timestamp='' data-issue-tracking='' data-scm-sha1='' data-scm-sha1-abbrev='' data-scm-branch='' data-scm-commit-date=''></span>
</body></html>
<!-- End Footer -->
<!--
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
-->
| Java |
# cpu
A simple but interactive design of CPU I hand-wired with logic gates back in college. It was fun :) Sample programs included!
# to view samples in interactive editor
1. Download and install Digital Works (Demo version is enough), i.e. from following url
http://electronics-lab.com/downloads/schematic/002/index.html
* unfortunately it is windows-only and license forbids me to redistribute. Should work on WINE as well.
2. Open DigitalWorks, type CTRL-O and navigate to CPU_final.dwm
3. You should see view like this

4. Now to run simulation
* double click RAM in the middle. Memory contents dialog should pop-up. CPU is already loaded with program that counts squares of natural numbers from 0 to 7, feel free to load other program from /program directory (*.map file, txt source is only for reference). Feel free to write own programs :)
* from program menu select Circuit -> Run. You should notice clock in bottom left corner started to toggle its state
* you can change frequency of clock from Circuit -> Clock speed menu
* select "Object interaction" tool from pallete (hand with pointing finger icon)
* left click "start" input in bottom-left corner
* after a while (around 100 clock ticks) you should see numbers changing on display register
* you can double click most of the parts to view what's inside, even when simulation is running!
5. Have fun!
6. Trouble? Send me an e-mail to 
# to view schematics
1. Just go to img directory, it is not so fun though if not interactive... | Java |
module.exports = {
// Token you get from discord
"token": "",
// Prefix before your commands
"prefix": "",
// Port for webserver (Not working)
"port": 8080,
// Mongodb stuff
"mongodb": {
// Mongodb uri
"uri": ""
},
// Channel IDs
"channelIDs": {
// Where to announce the events in ACCF
"events": "",
// Where to announce online towns
"onlineTowns": "",
// Where to log the logs
"logs": ""
}
}
| Java |
# Docker image list
## Build Base
- k11e/build-base:alpine-3.4
- k11e/build-base:alpine-3.5
## Apps
- k11e/ffmpeg:3.1.2-alpine
- k11e/strongswan:5.3
- k11e/megahit:v1.1.1
- k11e/metaphlan2:2.6.0 | Java |
Object.prototype.getKeyByValue = function( value ) {
for( var prop in this ) {
if( this.hasOwnProperty( prop ) ) {
if( this[ prop ] === value )
return prop;
}
}
}
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>square-matrices: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.6.1 / square-matrices - 8.8.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
square-matrices
<small>
8.8.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-10-24 00:12:32 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-24 00:12:32 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.6.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/square-matrices"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/SquareMatrices"]
depends: [
"ocaml"
"coq" {>= "8.8" & < "8.9~"}
]
tags: [ "keyword: exponentiation" "keyword: vectors" "keyword: matrices" "keyword: polymorphic recursion" "keyword: nested datatypes" "category: Mathematics/Algebra" ]
authors: [ "Jean-Christophe Filliâtre" ]
bug-reports: "https://github.com/coq-contribs/square-matrices/issues"
dev-repo: "git+https://github.com/coq-contribs/square-matrices.git"
synopsis: "From Fast Exponentiation to Square Matrices"
description: """
This development is a formalization of Chris Okasaki's article
``From Fast Exponentiation to Square Matrices: An Adventure in Types''"""
flags: light-uninstall
url {
src:
"https://github.com/coq-contribs/square-matrices/archive/v8.8.0.tar.gz"
checksum: "md5=d5c82c9fe214e8e1689aa247b375b055"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-square-matrices.8.8.0 coq.8.6.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.6.1).
The following dependencies couldn't be met:
- coq-square-matrices -> coq >= 8.8
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-square-matrices.8.8.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
# grunt-phpmd-runner
> A phpmd runner that works
## Getting Started
This plugin requires Grunt `~0.4.5`
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
```shell
npm install grunt-phpmd-runner --save-dev
```
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
```js
grunt.loadNpmTasks('grunt-phpmd-runner');
```
## The "phpmd-runner" task
### Overview
In your project's Gruntfile, add a section named `phpmd-runner` to the data object passed into `grunt.initConfig()`.
```js
grunt.initConfig({
'phpmd-runner': {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
}
}
});
```
phpmd currently doesn't support individual files to deal with.
`grunt-phpmd-runner` bridges that gap... sort of.
### Example configuration
```js
grunt.initConfig({
'phpmd-runner': {
options: {
phpmd: 'vendor/bin/phpmd',
reportFormat: 'xml',
reportFile: 'reports/md.xml'
rulesets: [
'cleancode',
'codesize',
'controversial',
'design',
'naming',
'unusedcode'
],
strict: true
},
files: '**/*.php'
}
});
```
### A watch config that runs phpmd on the files that have changed
```js
grunt.initConfig({
watch: {
php: {
files: '**/*.php',
tasks: [
'phpmd-runner'
],
options: {
spawn: false
}
}
},
'phpmd-runner': {
options: {
phpmd: 'vendor/bin/phpmd'
},
files: '**.*.php'
}
});
grunt.event.on('watch', function (action, filepath) {
if (grunt.file.isMatch(grunt.config('watch.php.files'), filepath)) {
grunt.config('phpmd-runner.files', [filepath]);
}
});
```
### Options
The options more or less mimic `phpmd`'s configuration parameters.
### options.phpmd
Type: `string`
The location of the `phpmd` binary
### options.reportFormat
Type: `string`
Valid values are: `xml`, `text`, `html`
### options.reportFile
Type: `string`
Where you want the report to be saved
### options.rulesets
Type: `Array`
A collection of rulesets to apply.
### options.minimumPriority
Type: `string`
Equivalent of:
`--minimumpriority: rule priority threshold; rules with lower priority than this will not be used`
### options.suffixes
Type: `string` or `Array`
> You can use an array version, it will be converted to the comma separated string phpmd needs
Equivalent of:
`--suffixes: comma-separated string of valid source code filename extensions`
```js
options: {
suffixes: [
'.php',
'.inc'
]
}
```
### options.exclude
Type: `string` or `Array`
> You can use an array version, it will be converted to the comma separated string phpmd needs
Equivalent of:
`--exclude: comma-separated string of patterns that are used to ignore directories`
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).
## Release History
* 0.1.4 - Fixed proper logging and quitting on error
* 0.1.3 - added watch config
* 0.1.2 - no duplicate output
* 0.1.0 - basic functionality
| Java |
require('./ramda-mori')
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ruler-compass-geometry: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.10.2 / ruler-compass-geometry - 8.9.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
ruler-compass-geometry
<small>
8.9.0
<span class="label label-info">Not compatible</span>
</small>
</h1>
<p><em><script>document.write(moment("2020-07-11 07:20:54 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-07-11 07:20:54 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-m4 1 Virtual package relying on m4
coq 8.10.2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/ruler-compass-geometry"
license: "GNU Lesser Public License"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/RulerCompassGeometry"]
depends: [
"ocaml"
"coq" {>= "8.9" & < "8.10~"}
]
tags: [
"keyword: geometry"
"keyword: plane geometry"
"keyword: ruler and compass geometry"
"keyword: Euclidian geometry"
"keyword: Hilbert's axioms"
"category: Mathematics/Geometry/General"
"date: 2007-11"
]
authors: [
"Jean Duprat <Jean.Duprat@ens-lyon.fr>"
]
bug-reports: "https://github.com/coq-contribs/ruler-compass-geometry/issues"
dev-repo: "git+https://github.com/coq-contribs/ruler-compass-geometry.git"
synopsis: "Ruler and compass geometry axiomatization"
description: """
This library contains an axiomatization of the ruler and
compass euclidian geometry. Files A1 to A6 contain the axioms and the
basic constructions. The other files build the proof that this
axiomatization induces the whole plane geometry except the continuity
axiom. For that the proofs of the Hilbert's axioms conclude this work in
the files E1 to E5."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/ruler-compass-geometry/archive/v8.9.0.tar.gz"
checksum: "md5=acb5da0e0abd055cd69d361a73a0a4c0"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-ruler-compass-geometry.8.9.0 coq.8.10.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.10.2).
The following dependencies couldn't be met:
- coq-ruler-compass-geometry -> coq < 8.10~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-ruler-compass-geometry.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
<small>Sources are on <a href="https://github.com/coq-bench">GitHub</a>. © Guillaume Claret.</small>
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ptsf: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.2 / ptsf - 8.5.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
ptsf
<small>
8.5.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-02-25 02:33:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-25 02:33:12 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.7.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.07.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1 Official release 4.07.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "matej.kosik@inria.fr"
homepage: "https://github.com/coq-contribs/ptsf"
license: "BSD"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/PTSF"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
"coq-ptsatr" {= "8.5.0"}
]
tags: [ "keyword:pure type systems" "keyword:judgmental equality" "keyword:explicit equality proofs" "keyword:proof relevance" "category:Mathematics/Logic/Type theory" ]
authors: [ "Herman Geuvers <herman@cs.ru.nl>" "Floris van Doorn <fpv@andrew.cmu.edu>" "Freek Wiedijk <freek@cs.ru.nl>" ]
bug-reports: "https://github.com/coq-contribs/ptsf/issues"
dev-repo: "git+https://github.com/coq-contribs/ptsf.git"
synopsis: "Explicit Convertibility Proofs in Pure Type Systems"
description:
"Formalization of the proof that PTS and PTS with explicit convertibility proofs (PTSf) are equivalent."
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/ptsf/archive/v8.5.0.tar.gz"
checksum: "md5=29e7294dfdd89c6e120b3b812938ad20"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-ptsf.8.5.0 coq.8.7.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.2).
The following dependencies couldn't be met:
- coq-ptsf -> coq < 8.6~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-ptsf.8.5.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
### Indentation
When writing any block of code that is logically subordinate to the line immediately before and after it, that block should be indented two spaces more than the surrounding lines
* Do not put any tab characters anywhere in your code. You would do best to stop pressing the tab key entirely.
* Increase the indent level for all blocks by two extra spaces
* When a line opens a block, the next line starts 2 spaces further in than the line that opened
```javascript
// good:
if(condition){
action();
}
// bad:
if(condition){
action();
}
```
* When a line closes a block, that line starts at the same level as the line that opened the block
```javascript
// good:
if(condition){
action();
}
// bad:
if(condition){
action();
}
```
* No two lines should ever have more or less than 2 spaces difference in their indentation. Any number of mistakes in the above rules could lead to this, but one example would be:
```javascript
// bad:
transmogrify({
a: {
b: function(){
}
}});
```
* use sublime's arrow collapsing as a guide. do the collapsing lines seem like they should be 'contained' by the line with an arrow on it?
### Variable names
* A single descriptive word is best.
```javascript
// good:
var animals = ['cat', 'dog', 'fish'];
// bad:
var targetInputs = ['cat', 'dog', 'fish'];
```
* Collections such as arrays and maps should have plural noun variable names.
```javascript
// good:
var animals = ['cat', 'dog', 'fish'];
// bad:
var animalList = ['cat', 'dog', 'fish'];
// bad:
var animal = ['cat', 'dog', 'fish'];
```
* Name your variables after their purpose, not their structure
```javascript
// good:
var animals = ['cat', 'dog', 'fish'];
// bad:
var array = ['cat', 'dog', 'fish'];
```
### Language constructs
* Never omit braces for statement blocks (although they are technically optional).
```javascript
// good:
for(key in object){
alert(key);
}
// bad:
for(key in object)
alert(key);
```
* Always use `===` and `!==`, since `==` and `!=` will automatically convert types in ways you're unlikely to expect.
```javascript
// good:
// this comparison evaluates to false, because the number zero is not the same as the empty string.
if(0 === ''){
alert('looks like they\'re equal');
}
// bad:
// This comparison evaluates to true, because after type coercion, zero and the empty string are equal.
if(0 == ''){
alert('looks like they\'re equal');
}
```
### Semicolons
* Don't forget semicolons at the end of lines
```javascript
// good:
alert('hi');
// bad:
alert('hi')
```
# Supplemental reading
### Code density
* Conserve line quantity by minimizing the number lines you write in. The more concisely your code is written, the more context can be seen in one screen.
* Conserve line length by minimizing the amount of complexity you put on each line. Long lines are difficult to read. Rather than a character count limit, I recommend limiting the amount of complexity you put on a single line. Try to make it easily read in one glance. This goal is in conflict with the line quantity goal, so you must do your best to balance them.
### Comments
* Provide comments any time you are confident it will make reading your code easier.
* Be aware that comments come at some cost. They make a file longer and can drift out of sync with the code they annotate.
* Comment on what code is attempting to do, not how it will achieve it.
* A good comment is often less effective than a good variable name.
### Padding & additional whitespace
* Generally, we don't care where you put extra spaces, provided they are not distracting.
* You may use it as padding for visual clarity. If you do though, make sure it's balanced on both sides.
```javascript
// optional:
alert( "I chose to put visual padding around this string" );
// bad:
alert( "I only put visual padding on one side of this string");
```
* You may use it to align two similar lines, but it is not recommended. This pattern usually leads to unnecessary edits of many lines in your code every time you change a variable name.
```javascript
// discouraged:
var firstItem = getFirst ();
var secondItem = getSecond();
```
* Put `else` and `else if` statements on the same line as the ending curly brace for the preceding `if` block
```javascript
// good:
if(condition){
response();
}else{
otherResponse();
}
// bad:
if(condition){
response();
}
else{
otherResponse();
}
```
### Variable declaration
* Use a new var statement for each line you declare a variable on.
* Do not break variable declarations onto mutiple lines.
* Use a new line for each variable declaration.
* See http://benalman.com/news/2012/05/multiple-var-statements-javascript/ for more details
```javascript
// good:
var ape;
var bat;
// bad:
var cat,
dog
// use sparingly:
var eel, fly;
```
### Capital letters in variable names
* Some people choose to use capitalization of the first letter in their variable names to indicate that they contain a [class](http://en.wikipedia.org/wiki/Class_(computer_science\)). This capitalized variable might contain a function, a prototype, or some other construct that acts as a representative for the whole class.
* Optionally, some people use a capital letter only on functions that are written to be run with the keyword `new`.
* Do not use all-caps for any variables. Some people use this pattern to indicate an intended "constant" variable, but the language does not offer true constants, only mutable variables.
### Minutia
* For lists, put commas at the end of each newline, not at the beginning of each item in a list
```javascript
// good:
var animals = [
'ape',
'bat',
'cat'
];
// bad:
var animals = [
'ape'
, 'bat'
, 'cat'
];
```
* Avoid use of `switch` statements altogether. They are hard to outdent using the standard whitespace rules above, and are prone to error due to missing `break` statements. See [this article](http://ericleads.com/2012/12/switch-case-considered-harmful/) for more detail.
* Prefer double quotes around JavaScript strings, rather than single quotes.
### HTML
* Do not use ids for html elements. Use a class instead.
```html
<!-- good -->
<img class="lucy" />
<!-- bad -->
<img id="lucy" />
```
* Do not include a `type=text/javascript"` attribute on script tags
```html
<!-- good -->
<script src="a.js"></script>
<!-- bad -->
<script src="a.js" type="text/javascript"></script>
```
### STYLING
* For now, add any styling using the style.css file rather than utilizing SCSS.
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="../circle.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="section">
<h1 class="header center orange-text">User agent detail</h1>
<div class="row center">
<h5 class="header light">
Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
</h5>
</div>
</div>
<div class="section">
<table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /><small>vendor/piwik/device-detector/Tests/fixtures/smartphone-3.yml</small></td><td>Android Browser </td><td>WebKit </td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Samsung</td><td>SHV-E160L</td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-a952e161-ace3-4c73-a03c-12746b7cf6d1">Detail</a>
<!-- Modal Structure -->
<div id="modal-a952e161-ace3-4c73-a03c-12746b7cf6d1" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>PiwikDeviceDetector result detail</h4>
<p><pre><code class="php">Array
(
[user_agent] => Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
[os] => Array
(
[name] => Android
[short_name] => AND
[version] => 2.3.6
[platform] =>
)
[client] => Array
(
[type] => browser
[name] => Android Browser
[short_name] => AN
[version] =>
[engine] => WebKit
)
[device] => Array
(
[type] => smartphone
[brand] => SA
[model] => SHV-E160L
)
[os_family] => Android
[browser_family] => Android Browser
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Android 4.0</td><td>WebKit </td><td>Android 2.3</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.027</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a>
<!-- Modal Structure -->
<div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapFull result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.2\.3.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android?2.3* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 4.0
[majorver] => 4
[minorver] => 0
[platform] => Android
[platform_version] => 2.3
[platform_description] => Android OS
[platform_bits] => 32
[platform_maker] => Google Inc
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[javascript] => 1
[vbscript] =>
[javaapplets] => 1
[activexcontrols] =>
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] =>
[crawler] =>
[isfake] =>
[isanonymized] =>
[ismodified] =>
[cssversion] => 3
[aolversion] => 0
[device_name] => general Mobile Phone
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => general Mobile Phone
[device_brand_name] => unknown
[renderingengine_name] => WebKit
[renderingengine_version] => unknown
[renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3.
[renderingengine_maker] => Apple Inc
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td><td>Android 4.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.005</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-42bb56ba-b834-47c5-bea0-c0270e9ab371">Detail</a>
<!-- Modal Structure -->
<div id="modal-42bb56ba-b834-47c5-bea0-c0270e9ab371" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapLite result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => unknown
[browser_modus] => unknown
[version] => 4.0
[majorver] => 0
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] => false
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => unknown
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td><td>Android 4.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.014</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a>
<!-- Modal Structure -->
<div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapPhp result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android* build/*)*applewebkit/*(*khtml,*like gecko*)*version/4.0*safari*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 4.0
[majorver] => 4
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] =>
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Android Browser 4.0</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a>
<!-- Modal Structure -->
<div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>DonatjUAParser result detail</h4>
<p><pre><code class="php">Array
(
[platform] => Android
[browser] => Android Browser
[version] => 4.0
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Safari 4.0</td><td><i class="material-icons">close</i></td><td>AndroidOS 2.3.6</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51">Detail</a>
<!-- Modal Structure -->
<div id="modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>JenssegersAgent result detail</h4>
<p><pre><code class="php">Array
(
[browserName] => Safari
[browserVersion] => 4.0
[osName] => AndroidOS
[osVersion] => 2.3.6
[deviceModel] => WebKit
[isMobile] => 1
[isRobot] =>
[botName] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td>Android Webkit 4.0</td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Samsung</td><td>SHV-E160L</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.27502</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a>
<!-- Modal Structure -->
<div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>NeutrinoApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[mobile_screen_height] => 1280
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => Samsung
[mobile_model] => SHV-E160L
[version] => 4.0
[is_android] => 1
[browser_name] => Android Webkit
[operating_system_family] => Android
[operating_system_version] => 2.3.6
[is_ios] =>
[producer] => Google Inc.
[operating_system] => Android 2.3.x Gingerbread
[mobile_screen_width] => 800
[mobile_browser] => Android Webkit
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td>Android Browser </td><td>WebKit </td><td>Android 2.3</td><td style="border-left: 1px solid #555">Samsung</td><td>SHV-E160L</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.01</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a>
<!-- Modal Structure -->
<div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>PiwikDeviceDetector result detail</h4>
<p><pre><code class="php">Array
(
[client] => Array
(
[type] => browser
[name] => Android Browser
[short_name] => AN
[version] =>
[engine] => WebKit
)
[operatingSystem] => Array
(
[name] => Android
[short_name] => AND
[version] => 2.3
[platform] =>
)
[device] => Array
(
[brand] => SA
[brandName] => Samsung
[model] => SHV-E160L
[device] => 1
[deviceName] => smartphone
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] =>
[isPhablet] =>
[isPortableMediaPlayer] =>
[isSmartDisplay] =>
[isSmartphone] => 1
[isTablet] =>
[isTV] =>
[isDesktop] =>
[isMobile] => 1
[isTouchEnabled] =>
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td><td>Navigator 4.0</td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-ec1cd248-02b0-457e-8a9d-35bb99af008c">Detail</a>
<!-- Modal Structure -->
<div id="modal-ec1cd248-02b0-457e-8a9d-35bb99af008c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>SinergiBrowserDetector result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Sinergi\BrowserDetector\Browser Object
(
[userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
)
[name:Sinergi\BrowserDetector\Browser:private] => Navigator
[version:Sinergi\BrowserDetector\Browser:private] => 4.0
[isRobot:Sinergi\BrowserDetector\Browser:private] =>
[isChromeFrame:Sinergi\BrowserDetector\Browser:private] =>
[isFacebookWebView:Sinergi\BrowserDetector\Browser:private] =>
[isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] =>
)
[operatingSystem] => Sinergi\BrowserDetector\Os Object
(
[name:Sinergi\BrowserDetector\Os:private] => Android
[version:Sinergi\BrowserDetector\Os:private] => 2.3.6
[isMobile:Sinergi\BrowserDetector\Os:private] => 1
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
)
)
[device] => Sinergi\BrowserDetector\Device Object
(
[name:Sinergi\BrowserDetector\Device:private] => unknown
[userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
)
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td>Android 2.3.6</td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Samsung</td><td>SHV-E160L</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a>
<!-- Modal Structure -->
<div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">UAParser\Result\Client Object
(
[ua] => UAParser\Result\UserAgent Object
(
[major] => 2
[minor] => 3
[patch] => 6
[family] => Android
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] => 2
[minor] => 3
[patch] => 6
[patchMinor] =>
[family] => Android
)
[device] => UAParser\Result\Device Object
(
[brand] => Samsung
[model] => SHV-E160L
[family] => Samsung SHV-E160L
)
[originalUserAgent] => Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td><td>Safari 533.1</td><td>WebKit 533.1</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.14901</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6">Detail</a>
<!-- Modal Structure -->
<div id="modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[platform_name] => Android
[platform_version] => 2.3.6
[platform_type] => Mobile
[browser_name] => Safari
[browser_version] => 533.1
[engine_name] => WebKit
[engine_version] => 533.1
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentStringCom<br /><small></small><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.075</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee">Detail</a>
<!-- Modal Structure -->
<div id="modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentStringCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[agent_type] => Browser
[agent_name] => Android Webkit Browser
[agent_version] => --
[os_type] => Android
[os_name] => Android
[os_versionName] =>
[os_versionNumber] => 2.3.6
[os_producer] =>
[os_producerURL] =>
[linux_distibution] => Null
[agent_language] => Chinese - China
[agent_languageTag] => zh-cn
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td><td>Android Browser 4.0</td><td>WebKit 533.1</td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Samsung</td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.23701</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c">Detail</a>
<!-- Modal Structure -->
<div id="modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhatIsMyBrowserCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[operating_system_name] => Android
[simple_sub_description_string] =>
[simple_browser_string] => Android Browser 4 on Android (Gingerbread)
[browser_version] => 4
[extra_info] => Array
(
)
[operating_platform] =>
[extra_info_table] => Array
(
)
[layout_engine_name] => WebKit
[detected_addons] => Array
(
)
[operating_system_flavour_code] =>
[hardware_architecture] =>
[operating_system_flavour] =>
[operating_system_frameworks] => Array
(
)
[browser_name_code] => android-browser
[operating_system_version] => Gingerbread
[simple_operating_platform_string] => Samsung SHV-E160L
[is_abusive] =>
[layout_engine_version] => 533.1
[browser_capabilities] => Array
(
)
[operating_platform_vendor_name] => Samsung
[operating_system] => Android (Gingerbread)
[operating_system_version_full] => 2.3.6
[operating_platform_code] => SHV-E160L
[browser_name] => Android Browser
[operating_system_name_code] => android
[user_agent] => Mozilla/5.0 (Linux; U; Android 2.3.6; zh-cn; SHV-E160L Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
[browser_version_full] => 4.0
[browser] => Android Browser 4
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td>Android Browser </td><td>Webkit 533.1</td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Samsung</td><td>Galaxy Note</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a>
<!-- Modal Structure -->
<div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[name] => Android Browser
)
[engine] => Array
(
[name] => Webkit
[version] => 533.1
)
[os] => Array
(
[name] => Android
[version] => 2.3.6
)
[device] => Array
(
[type] => mobile
[subtype] => smart
[manufacturer] => Samsung
[model] => Galaxy Note
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td><td>Safari 4.0</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9">Detail</a>
<!-- Modal Structure -->
<div id="modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Woothee result detail</h4>
<p><pre><code class="php">Array
(
[name] => Safari
[vendor] => Apple
[version] => 4.0
[category] => smartphone
[os] => Android
[os_version] => 2.3.6
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Android Webkit 2.3.6</td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Samsung</td><td>SHV-E160L</td><td>Smartphone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.02</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a>
<!-- Modal Structure -->
<div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Wurfl result detail</h4>
<p><pre><code class="php">Array
(
[virtual] => Array
(
[is_android] => true
[is_ios] => false
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => true
[is_mobile] => true
[is_robot] => false
[is_smartphone] => true
[is_touchscreen] => true
[is_wml_preferred] => false
[is_xhtmlmp_preferred] => false
[is_html_preferred] => true
[advertised_device_os] => Android
[advertised_device_os_version] => 2.3.6
[advertised_browser] => Android Webkit
[advertised_browser_version] => 2.3.6
[complete_device_name] => Samsung SHV-E160L (Galaxy Note)
[device_name] => Samsung Galaxy Note
[form_factor] => Smartphone
[is_phone] => true
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Samsung
[model_name] => SHV-E160L
[unique] => true
[ununiqueness_handler] =>
[is_wireless_device] => true
[device_claims_web_support] => true
[has_qwerty_keyboard] => true
[can_skip_aligned_link_row] => true
[uaprof] =>
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => Android
[mobile_browser] => Android Webkit
[mobile_browser_version] =>
[device_os_version] => 2.3
[pointing_method] => touchscreen
[release_date] => 2012_january
[marketing_name] => Galaxy Note
[model_extra_info] => Korean Market
[nokia_feature_pack] => 0
[can_assign_phone_number] => true
[is_tablet] => false
[manufacturer_name] =>
[is_bot] => false
[is_google_glass] => false
[proportional_font] => false
[built_in_back_button_support] => false
[card_title_support] => true
[softkey_support] => false
[table_support] => true
[numbered_menus] => false
[menu_with_select_element_recommended] => false
[menu_with_list_of_links_recommended] => true
[icons_on_menu_items_support] => false
[break_list_of_links_with_br_element_recommended] => true
[access_key_support] => false
[wrap_mode_support] => false
[times_square_mode_support] => false
[deck_prefetch_support] => false
[elective_forms_recommended] => true
[wizards_recommended] => false
[image_as_link_support] => false
[insert_br_element_after_widget_recommended] => false
[wml_can_display_images_and_text_on_same_line] => false
[wml_displays_image_in_center] => false
[opwv_wml_extensions_support] => false
[wml_make_phone_call_string] => wtai://wp/mc;
[chtml_display_accesskey] => false
[emoji] => false
[chtml_can_display_images_and_text_on_same_line] => false
[chtml_displays_image_in_center] => false
[imode_region] => none
[chtml_make_phone_call_string] => tel:
[chtml_table_support] => false
[xhtml_honors_bgcolor] => true
[xhtml_supports_forms_in_table] => true
[xhtml_support_wml2_namespace] => false
[xhtml_autoexpand_select] => false
[xhtml_select_as_dropdown] => false
[xhtml_select_as_radiobutton] => false
[xhtml_select_as_popup] => false
[xhtml_display_accesskey] => false
[xhtml_supports_invisible_text] => false
[xhtml_supports_inline_input] => false
[xhtml_supports_monospace_font] => false
[xhtml_supports_table_for_layout] => true
[xhtml_supports_css_cell_table_coloring] => true
[xhtml_format_as_css_property] => false
[xhtml_format_as_attribute] => false
[xhtml_nowrap_mode] => false
[xhtml_marquee_as_css_property] => false
[xhtml_readable_background_color1] => #FFFFFF
[xhtml_readable_background_color2] => #FFFFFF
[xhtml_allows_disabled_form_elements] => true
[xhtml_document_title_support] => true
[xhtml_preferred_charset] => iso-8859-1
[opwv_xhtml_extensions_support] => false
[xhtml_make_phone_call_string] => tel:
[xhtmlmp_preferred_mime_type] => text/html
[xhtml_table_support] => true
[xhtml_send_sms_string] => sms:
[xhtml_send_mms_string] => mms:
[xhtml_file_upload] => supported
[cookie_support] => true
[accept_third_party_cookie] => true
[xhtml_supports_iframe] => full
[xhtml_avoid_accesskeys] => true
[xhtml_can_embed_video] => none
[ajax_support_javascript] => true
[ajax_manipulate_css] => true
[ajax_support_getelementbyid] => true
[ajax_support_inner_html] => true
[ajax_xhr_type] => standard
[ajax_manipulate_dom] => true
[ajax_support_events] => true
[ajax_support_event_listener] => true
[ajax_preferred_geoloc_api] => w3c_api
[xhtml_support_level] => 4
[preferred_markup] => html_web_4_0
[wml_1_1] => false
[wml_1_2] => false
[wml_1_3] => false
[html_wi_w3_xhtmlbasic] => true
[html_wi_oma_xhtmlmp_1_0] => true
[html_wi_imode_html_1] => false
[html_wi_imode_html_2] => false
[html_wi_imode_html_3] => false
[html_wi_imode_html_4] => false
[html_wi_imode_html_5] => false
[html_wi_imode_htmlx_1] => false
[html_wi_imode_htmlx_1_1] => false
[html_wi_imode_compact_generic] => false
[html_web_3_2] => true
[html_web_4_0] => true
[voicexml] => false
[multipart_support] => false
[total_cache_disable_support] => false
[time_to_live_support] => false
[resolution_width] => 800
[resolution_height] => 1280
[columns] => 60
[max_image_width] => 400
[max_image_height] => 640
[rows] => 40
[physical_screen_width] => 72
[physical_screen_height] => 115
[dual_orientation] => true
[density_class] => 2.0
[wbmp] => true
[bmp] => false
[epoc_bmp] => false
[gif_animated] => false
[jpg] => true
[png] => true
[tiff] => false
[transparent_png_alpha] => true
[transparent_png_index] => true
[svgt_1_1] => false
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 65536
[webp_lossy_support] => false
[webp_lossless_support] => false
[post_method_support] => true
[basic_authentication_support] => true
[empty_option_value_support] => true
[emptyok] => false
[nokia_voice_call] => false
[wta_voice_call] => false
[wta_phonebook] => false
[wta_misc] => false
[wta_pdc] => false
[https_support] => true
[phone_id_provided] => false
[max_data_rate] => 384
[wifi] => true
[sdio] => false
[vpn] => false
[has_cellular_radio] => true
[max_deck_size] => 2000000
[max_url_length_in_requests] => 256
[max_url_length_homepage] => 0
[max_url_length_bookmark] => 0
[max_url_length_cached_page] => 0
[max_no_of_connection_settings] => 0
[max_no_of_bookmarks] => 0
[max_length_of_username] => 0
[max_length_of_password] => 0
[max_object_size] => 0
[downloadfun_support] => false
[directdownload_support] => true
[inline_support] => false
[oma_support] => true
[ringtone] => false
[ringtone_3gpp] => false
[ringtone_midi_monophonic] => false
[ringtone_midi_polyphonic] => false
[ringtone_imelody] => false
[ringtone_digiplug] => false
[ringtone_compactmidi] => false
[ringtone_mmf] => false
[ringtone_rmf] => false
[ringtone_xmf] => false
[ringtone_amr] => false
[ringtone_awb] => false
[ringtone_aac] => false
[ringtone_wav] => false
[ringtone_mp3] => false
[ringtone_spmidi] => false
[ringtone_qcelp] => false
[ringtone_voices] => 1
[ringtone_df_size_limit] => 0
[ringtone_directdownload_size_limit] => 0
[ringtone_inline_size_limit] => 0
[ringtone_oma_size_limit] => 0
[wallpaper] => false
[wallpaper_max_width] => 0
[wallpaper_max_height] => 0
[wallpaper_preferred_width] => 0
[wallpaper_preferred_height] => 0
[wallpaper_resize] => none
[wallpaper_wbmp] => false
[wallpaper_bmp] => false
[wallpaper_gif] => false
[wallpaper_jpg] => false
[wallpaper_png] => false
[wallpaper_tiff] => false
[wallpaper_greyscale] => false
[wallpaper_colors] => 2
[wallpaper_df_size_limit] => 0
[wallpaper_directdownload_size_limit] => 0
[wallpaper_inline_size_limit] => 0
[wallpaper_oma_size_limit] => 0
[screensaver] => false
[screensaver_max_width] => 0
[screensaver_max_height] => 0
[screensaver_preferred_width] => 0
[screensaver_preferred_height] => 0
[screensaver_resize] => none
[screensaver_wbmp] => false
[screensaver_bmp] => false
[screensaver_gif] => false
[screensaver_jpg] => false
[screensaver_png] => false
[screensaver_greyscale] => false
[screensaver_colors] => 2
[screensaver_df_size_limit] => 0
[screensaver_directdownload_size_limit] => 0
[screensaver_inline_size_limit] => 0
[screensaver_oma_size_limit] => 0
[picture] => false
[picture_max_width] => 0
[picture_max_height] => 0
[picture_preferred_width] => 0
[picture_preferred_height] => 0
[picture_resize] => none
[picture_wbmp] => false
[picture_bmp] => false
[picture_gif] => false
[picture_jpg] => false
[picture_png] => false
[picture_greyscale] => false
[picture_colors] => 2
[picture_df_size_limit] => 0
[picture_directdownload_size_limit] => 0
[picture_inline_size_limit] => 0
[picture_oma_size_limit] => 0
[video] => false
[oma_v_1_0_forwardlock] => false
[oma_v_1_0_combined_delivery] => false
[oma_v_1_0_separate_delivery] => false
[streaming_video] => true
[streaming_3gpp] => true
[streaming_mp4] => true
[streaming_mov] => false
[streaming_video_size_limit] => 0
[streaming_real_media] => none
[streaming_flv] => false
[streaming_3g2] => false
[streaming_vcodec_h263_0] => 10
[streaming_vcodec_h263_3] => -1
[streaming_vcodec_mpeg4_sp] => 2
[streaming_vcodec_mpeg4_asp] => -1
[streaming_vcodec_h264_bp] => 3.0
[streaming_acodec_amr] => nb
[streaming_acodec_aac] => lc
[streaming_wmv] => none
[streaming_preferred_protocol] => rtsp
[streaming_preferred_http_protocol] => progressive_download
[wap_push_support] => false
[connectionless_service_indication] => false
[connectionless_service_load] => false
[connectionless_cache_operation] => false
[connectionoriented_unconfirmed_service_indication] => false
[connectionoriented_unconfirmed_service_load] => false
[connectionoriented_unconfirmed_cache_operation] => false
[connectionoriented_confirmed_service_indication] => false
[connectionoriented_confirmed_service_load] => false
[connectionoriented_confirmed_cache_operation] => false
[utf8_support] => true
[ascii_support] => false
[iso8859_support] => false
[expiration_date] => false
[j2me_cldc_1_0] => false
[j2me_cldc_1_1] => false
[j2me_midp_1_0] => false
[j2me_midp_2_0] => false
[doja_1_0] => false
[doja_1_5] => false
[doja_2_0] => false
[doja_2_1] => false
[doja_2_2] => false
[doja_3_0] => false
[doja_3_5] => false
[doja_4_0] => false
[j2me_jtwi] => false
[j2me_mmapi_1_0] => false
[j2me_mmapi_1_1] => false
[j2me_wmapi_1_0] => false
[j2me_wmapi_1_1] => false
[j2me_wmapi_2_0] => false
[j2me_btapi] => false
[j2me_3dapi] => false
[j2me_locapi] => false
[j2me_nokia_ui] => false
[j2me_motorola_lwt] => false
[j2me_siemens_color_game] => false
[j2me_siemens_extension] => false
[j2me_heap_size] => 0
[j2me_max_jar_size] => 0
[j2me_storage_size] => 0
[j2me_max_record_store_size] => 0
[j2me_screen_width] => 0
[j2me_screen_height] => 0
[j2me_canvas_width] => 0
[j2me_canvas_height] => 0
[j2me_bits_per_pixel] => 0
[j2me_audio_capture_enabled] => false
[j2me_video_capture_enabled] => false
[j2me_photo_capture_enabled] => false
[j2me_capture_image_formats] => none
[j2me_http] => false
[j2me_https] => false
[j2me_socket] => false
[j2me_udp] => false
[j2me_serial] => false
[j2me_gif] => false
[j2me_gif89a] => false
[j2me_jpg] => false
[j2me_png] => false
[j2me_bmp] => false
[j2me_bmp3] => false
[j2me_wbmp] => false
[j2me_midi] => false
[j2me_wav] => false
[j2me_amr] => false
[j2me_mp3] => false
[j2me_mp4] => false
[j2me_imelody] => false
[j2me_rmf] => false
[j2me_au] => false
[j2me_aac] => false
[j2me_realaudio] => false
[j2me_xmf] => false
[j2me_wma] => false
[j2me_3gpp] => false
[j2me_h263] => false
[j2me_svgt] => false
[j2me_mpeg4] => false
[j2me_realvideo] => false
[j2me_real8] => false
[j2me_realmedia] => false
[j2me_left_softkey_code] => 0
[j2me_right_softkey_code] => 0
[j2me_middle_softkey_code] => 0
[j2me_select_key_code] => 0
[j2me_return_key_code] => 0
[j2me_clear_key_code] => 0
[j2me_datefield_no_accepts_null_date] => false
[j2me_datefield_broken] => false
[receiver] => false
[sender] => false
[mms_max_size] => 0
[mms_max_height] => 0
[mms_max_width] => 0
[built_in_recorder] => false
[built_in_camera] => true
[mms_jpeg_baseline] => false
[mms_jpeg_progressive] => false
[mms_gif_static] => false
[mms_gif_animated] => false
[mms_png] => false
[mms_bmp] => false
[mms_wbmp] => false
[mms_amr] => false
[mms_wav] => false
[mms_midi_monophonic] => false
[mms_midi_polyphonic] => false
[mms_midi_polyphonic_voices] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => false
[mms_evrc] => false
[mms_qcelp] => false
[mms_ota_bitmap] => false
[mms_nokia_wallpaper] => false
[mms_nokia_operatorlogo] => false
[mms_nokia_3dscreensaver] => false
[mms_nokia_ringingtone] => false
[mms_rmf] => false
[mms_xmf] => false
[mms_symbian_install] => false
[mms_jar] => false
[mms_jad] => false
[mms_vcard] => false
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[mms_max_frame_rate] => 0
[nokiaring] => false
[picturemessage] => false
[operatorlogo] => false
[largeoperatorlogo] => false
[callericon] => false
[nokiavcard] => false
[nokiavcal] => false
[sckl_ringtone] => false
[sckl_operatorlogo] => false
[sckl_groupgraphic] => false
[sckl_vcard] => false
[sckl_vcalendar] => false
[text_imelody] => false
[ems] => false
[ems_variablesizedpictures] => false
[ems_imelody] => false
[ems_odi] => false
[ems_upi] => false
[ems_version] => 0
[siemens_ota] => false
[siemens_logo_width] => 101
[siemens_logo_height] => 29
[siemens_screensaver_width] => 101
[siemens_screensaver_height] => 50
[gprtf] => false
[sagem_v1] => false
[sagem_v2] => false
[panasonic] => false
[sms_enabled] => true
[wav] => false
[mmf] => false
[smf] => false
[mld] => false
[midi_monophonic] => false
[midi_polyphonic] => false
[sp_midi] => false
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => false
[au] => false
[amr] => false
[awb] => false
[aac] => true
[mp3] => true
[voices] => 1
[qcelp] => false
[evrc] => false
[flash_lite_version] =>
[fl_wallpaper] => false
[fl_screensaver] => false
[fl_standalone] => false
[fl_browser] => false
[fl_sub_lcd] => false
[full_flash_support] => true
[css_supports_width_as_percentage] => true
[css_border_image] => webkit
[css_rounded_corners] => webkit
[css_gradient] => none
[css_spriting] => true
[css_gradient_linear] => none
[is_transcoder] => false
[transcoder_ua_header] => user-agent
[rss_support] => false
[pdf_support] => true
[progressive_download] => true
[playback_vcodec_h263_0] => 10
[playback_vcodec_h263_3] => -1
[playback_vcodec_mpeg4_sp] => 0
[playback_vcodec_mpeg4_asp] => -1
[playback_vcodec_h264_bp] => 3.0
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => false
[playback_mp4] => true
[playback_mov] => false
[playback_acodec_amr] => nb
[playback_acodec_aac] => none
[playback_df_size_limit] => 0
[playback_directdownload_size_limit] => 0
[playback_inline_size_limit] => 0
[playback_oma_size_limit] => 0
[playback_acodec_qcelp] => false
[playback_wmv] => none
[hinted_progressive_download] => true
[html_preferred_dtd] => html4
[viewport_supported] => true
[viewport_width] => device_width_token
[viewport_userscalable] => no
[viewport_initial_scale] =>
[viewport_maximum_scale] =>
[viewport_minimum_scale] =>
[mobileoptimized] => false
[handheldfriendly] => false
[canvas_support] => full
[image_inlining] => true
[is_smarttv] => false
[is_console] => false
[nfc_support] => false
[ux_full_desktop] => false
[jqm_grade] => A
[is_sencha_touch_ok] => false
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td>Android Webkit 4.0</td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Samsung</td><td>E160L</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a>
<!-- Modal Structure -->
<div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Zsxsoft result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[link] => http://developer.android.com/reference/android/webkit/package-summary.html
[title] => Android Webkit 4.0
[name] => Android Webkit
[version] => 4.0
[code] => android-webkit
[image] => img/16/browser/android-webkit.png
)
[os] => Array
(
[link] => http://www.android.com/
[name] => Android
[version] => 2.3.6
[code] => android
[x64] =>
[title] => Android 2.3.6
[type] => os
[dir] => os
[image] => img/16/os/android.png
)
[device] => Array
(
[link] => http://www.samsungmobile.com/
[title] => Samsung E160L
[model] => E160L
[brand] => Samsung
[code] => samsung
[dir] => device
[type] => device
[image] => img/16/device/samsung.png
)
[platform] => Array
(
[link] => http://www.samsungmobile.com/
[title] => Samsung E160L
[model] => E160L
[brand] => Samsung
[code] => samsung
[dir] => device
[type] => device
[image] => img/16/device/samsung.png
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr></table>
</div>
<div class="section">
<h1 class="header center orange-text">About this comparison</h1>
<div class="row center">
<h5 class="header light">
The primary goal of this project is simple<br />
I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br />
<br />
The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br />
<br />
You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br />
<br />
The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a>
</h5>
</div>
</div>
<div class="card">
<div class="card-content">
Comparison created <i>2016-05-10 08:07:34</i> | by
<a href="https://github.com/ThaDafinser">ThaDafinser</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script>
<script>
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
</script>
</body>
</html> | Java |
<?php
use Squarely\Setup;
use Squarely\Wrapper;
?>
<?php get_template_part('templates/head'); ?>
<body <?php body_class('main-body'); ?>>
<!--[if IE]>
<div class="alert alert-warning">
<?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'squarely'); ?>
</div>
<![endif]-->
<?php
do_action('get_header');
get_template_part('templates/header');
?>
<div class="wrapper" role="document" style="margin-top: 110px;">
<main>
<?php include Wrapper\template_path(); ?>
</main><!-- /.main -->
</div><!-- /.wrap -->
<?php
do_action('get_footer');
get_template_part('templates/footer');
wp_footer();
?>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>founify: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.11.0 / founify - 8.8.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
founify
<small>
8.8.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-08 11:23:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-08 11:23:12 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.11.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.08.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1 Official release 4.08.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/founify"
license: "Unknown"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/FOUnify"]
depends: [
"ocaml"
"coq" {>= "8.8" & < "8.9~"}
]
tags: [ "keyword: First-order Unification" "keyword: Robinson" "category: Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms" "category: Miscellaneous/Extracted Programs/Type checking unification and normalization" ]
authors: [ "Jocelyne Rouyer" ]
bug-reports: "https://github.com/coq-contribs/founify/issues"
dev-repo: "git+https://github.com/coq-contribs/founify.git"
synopsis: "Correctness and extraction of the unification algorithm"
description: """
A notion of terms based on symbols without fixed arities is defined
and an extended unification problem is proved solvable on these terms.
An algorithm, close from Robinson algorithm, can be extracted from the
proof."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/founify/archive/v8.8.0.tar.gz"
checksum: "md5=41f09092e13a8bc95d4aa178ea3e3ad1"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-founify.8.8.0 coq.8.11.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.11.0).
The following dependencies couldn't be met:
- coq-founify -> coq < 8.9~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-founify.8.8.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ach" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About CoinsBazar Core</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+39"/>
<source><b>CoinsBazar Core</b> version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+57"/>
<source>
This is experimental software.
Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/) and cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP software written by Thomas Bernard.</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../utilitydialog.cpp" line="+29"/>
<source>Copyright</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>The CoinsBazar Core developers</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>AddressBookPage</name>
<message>
<location filename="../forms/addressbookpage.ui" line="+30"/>
<source>Double-click to edit address or label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Create a new address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&New</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>Copy the currently selected address to the system clipboard</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Copy</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+52"/>
<source>C&lose</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../addressbookpage.cpp" line="+74"/>
<source>&Copy Address</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../forms/addressbookpage.ui" line="-41"/>
<source>Delete the currently selected address from the list</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Export the data in the current tab to a file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Export</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-27"/>
<source>&Delete</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../addressbookpage.cpp" line="-30"/>
<source>Choose the address to send coins to</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Choose the address to receive coins with</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>C&hoose</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Sending addresses</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Receiving addresses</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>These are your CoinsBazar addresses for sending payments. Always check the amount and the receiving address before sending coins.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>These are your CoinsBazar addresses for receiving payments. It is recommended to use a new receiving address for each transaction.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Copy &Label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>&Edit</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+194"/>
<source>Export Address List</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Comma separated file (*.csv)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Exporting Failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>There was an error trying to save the address list to %1.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>AddressTableModel</name>
<message>
<location filename="../addresstablemodel.cpp" line="+168"/>
<source>Label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+36"/>
<source>(no label)</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>AskPassphraseDialog</name>
<message>
<location filename="../forms/askpassphrasedialog.ui" line="+26"/>
<source>Passphrase Dialog</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>Enter passphrase</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>New passphrase</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Repeat new passphrase</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../askpassphrasedialog.cpp" line="+40"/>
<source>Enter the new passphrase to the wallet.<br/>Please use a passphrase of <b>10 or more random characters</b>, or <b>eight or more words</b>.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Encrypt wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to unlock the wallet.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Unlock wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>This operation needs your wallet passphrase to decrypt the wallet.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Decrypt wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Change passphrase</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Enter the old and new passphrase to the wallet.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+46"/>
<source>Confirm wallet encryption</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR BITCOINS</b>!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Are you sure you wish to encrypt your wallet?</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+15"/>
<source>IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+100"/>
<location line="+24"/>
<source>Warning: The Caps Lock key is on!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-130"/>
<location line="+58"/>
<source>Wallet encrypted</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-56"/>
<source>CoinsBazar will close now to finish the encryption process. Remember that encrypting your wallet cannot fully protect your bitcoins from being stolen by malware infecting your computer.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<location line="+7"/>
<location line="+42"/>
<location line="+6"/>
<source>Wallet encryption failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-54"/>
<source>Wallet encryption failed due to an internal error. Your wallet was not encrypted.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<location line="+48"/>
<source>The supplied passphrases do not match.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-37"/>
<source>Wallet unlock failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<location line="+11"/>
<location line="+19"/>
<source>The passphrase entered for the wallet decryption was incorrect.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-20"/>
<source>Wallet decryption failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Wallet passphrase was successfully changed.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>CoinsBazarGUI</name>
<message>
<location filename="../bitcoingui.cpp" line="+295"/>
<source>Sign &message...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+335"/>
<source>Synchronizing with network...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-407"/>
<source>&Overview</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-137"/>
<source>Node</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+138"/>
<source>Show general overview of wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+20"/>
<source>&Transactions</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Browse transaction history</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+17"/>
<source>E&xit</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Quit application</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Show information about CoinsBazar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<location line="+2"/>
<source>About &Qt</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Show information about Qt</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>&Options...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>&Encrypt Wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Backup Wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>&Change Passphrase...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>&Sending addresses...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>&Receiving addresses...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Open &URI...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+325"/>
<source>Importing blocks from disk...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Reindexing blocks on disk...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-405"/>
<source>Send coins to a CoinsBazar address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+49"/>
<source>Modify configuration options for CoinsBazar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+12"/>
<source>Backup wallet to another location</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Change the passphrase used for wallet encryption</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>&Debug window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Open debugging and diagnostic console</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-4"/>
<source>&Verify message...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+430"/>
<source>CoinsBazar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-643"/>
<source>Wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+146"/>
<source>&Send</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>&Receive</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+46"/>
<location line="+2"/>
<source>&Show / Hide</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Show or hide the main Window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Encrypt the private keys that belong to your wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Sign messages with your CoinsBazar addresses to prove you own them</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Verify messages to ensure they were signed with specified CoinsBazar addresses</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+48"/>
<source>&File</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>&Settings</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>&Help</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+15"/>
<source>Tabs toolbar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-284"/>
<location line="+376"/>
<source>[testnet]</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-401"/>
<source>CoinsBazar Core</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+163"/>
<source>Request payments (generates QR codes and bitcoin: URIs)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+29"/>
<location line="+2"/>
<source>&About CoinsBazar Core</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+35"/>
<source>Show the list of used sending addresses and labels</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Show the list of used receiving addresses and labels</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Open a bitcoin: URI or payment request</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>&Command-line options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Show the CoinsBazar Core help message to get a list with possible CoinsBazar command-line options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+159"/>
<location line="+5"/>
<source>CoinsBazar client</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="+142"/>
<source>%n active connection(s) to CoinsBazar network</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+22"/>
<source>No block source available...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+12"/>
<source>Processed %1 of %2 (estimated) blocks of transaction history.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Processed %1 blocks of transaction history.</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="+23"/>
<source>%n hour(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n day(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
<location line="+4"/>
<source>%n week(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>%1 behind</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>Last received block was generated %1 ago.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Transactions after this will not yet be visible.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-85"/>
<source>Up to date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+34"/>
<source>Catching up...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+130"/>
<source>Sent transaction</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Incoming transaction</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Date: %1
Amount: %2
Type: %3
Address: %4
</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+69"/>
<source>Wallet is <b>encrypted</b> and currently <b>unlocked</b></source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Wallet is <b>encrypted</b> and currently <b>locked</b></source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../bitcoin.cpp" line="+438"/>
<source>A fatal error occurred. CoinsBazar can no longer continue safely and will quit.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>ClientModel</name>
<message>
<location filename="../clientmodel.cpp" line="+119"/>
<source>Network Alert</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>CoinControlDialog</name>
<message>
<location filename="../forms/coincontroldialog.ui" line="+14"/>
<source>Coin Control Address Selection</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+34"/>
<source>Quantity:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+29"/>
<source>Bytes:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+45"/>
<source>Amount:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+29"/>
<source>Priority:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+45"/>
<source>Fee:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+32"/>
<source>Low Output:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+48"/>
<source>After Fee:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+32"/>
<source>Change:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+63"/>
<source>(un)select all</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Tree mode</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>List mode</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+52"/>
<source>Amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Confirmations</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Confirmed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Priority</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../coincontroldialog.cpp" line="+42"/>
<source>Copy address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<location line="+26"/>
<source>Copy amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-25"/>
<source>Copy transaction ID</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Lock unspent</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Unlock unspent</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<source>Copy quantity</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Copy fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy after fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy bytes</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy priority</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy low output</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy change</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+323"/>
<source>highest</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>higher</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>high</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>medium-high</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>medium</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>low-medium</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>low</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>lower</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>lowest</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>(%1 locked)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+31"/>
<source>none</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+140"/>
<source>Dust</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>yes</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>no</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>This label turns red, if the transaction size is greater than 1000 bytes.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<location line="+5"/>
<source>This means a fee of at least %1 per kB is required.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-4"/>
<source>Can vary +/- 1 byte per input.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Transactions with higher priority are more likely to get included into a block.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>This label turns red, if the priority is smaller than "medium".</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>This label turns red, if any recipient receives an amount smaller than %1.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<location line="+4"/>
<source>This means a fee of at least %1 is required.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-3"/>
<source>Amounts below 0.546 times the minimum relay fee are shown as dust.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>This label turns red, if the change is smaller than %1.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+43"/>
<location line="+66"/>
<source>(no label)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-9"/>
<source>change from %1 (%2)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>(change)</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>EditAddressDialog</name>
<message>
<location filename="../forms/editaddressdialog.ui" line="+14"/>
<source>Edit Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>&Label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>The label associated with this address list entry</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+17"/>
<source>The address associated with this address list entry. This can only be modified for sending addresses.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-10"/>
<source>&Address</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../editaddressdialog.cpp" line="+28"/>
<source>New receiving address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>New sending address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Edit receiving address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Edit sending address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+76"/>
<source>The entered address "%1" is already in the address book.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-5"/>
<source>The entered address "%1" is not a valid CoinsBazar address.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Could not unlock wallet.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>New key generation failed.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>FreespaceChecker</name>
<message>
<location filename="../intro.cpp" line="+65"/>
<source>A new data directory will be created.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<source>name</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Directory already exists. Add %1 if you intend to create a new directory here.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Path already exists, and is not a directory.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Cannot create data directory here.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>HelpMessageDialog</name>
<message>
<location filename="../forms/helpmessagedialog.ui" line="+19"/>
<source>CoinsBazar Core - Command-line options</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../utilitydialog.cpp" line="+38"/>
<source>CoinsBazar Core</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Usage:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>command-line options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>UI options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Set language, for example "de_DE" (default: system locale)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Start minimized</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Show splash screen on startup (default: 1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Choose data directory on startup (default: 0)</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Intro</name>
<message>
<location filename="../forms/intro.ui" line="+14"/>
<source>Welcome</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>Welcome to CoinsBazar Core.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+26"/>
<source>As this is the first time the program is launched, you can choose where CoinsBazar Core will store its data.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>CoinsBazar Core will download and store a copy of the CoinsBazar block chain. At least %1GB of data will be stored in this directory, and it will grow over time. The wallet will also be stored in this directory.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Use the default data directory</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Use a custom data directory:</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../intro.cpp" line="+85"/>
<source>CoinsBazar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error: Specified data directory "%1" can not be created.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+19"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>GB of free space available</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>(of %1GB needed)</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>OpenURIDialog</name>
<message>
<location filename="../forms/openuridialog.ui" line="+14"/>
<source>Open URI</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Open payment request from URI or file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>URI:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>Select payment request file</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../openuridialog.cpp" line="+47"/>
<source>Select payment request file to open</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>OptionsDialog</name>
<message>
<location filename="../forms/optionsdialog.ui" line="+14"/>
<source>Options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>&Main</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Optional transaction fee per kB that helps make sure your transactions are processed quickly. Most transactions are 1 kB.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+15"/>
<source>Pay transaction &fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+31"/>
<source>Automatically start CoinsBazar after logging in to the system.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Start CoinsBazar on system login</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>Size of &database cache</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Set database cache size in megabytes (default: 25)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>MB</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Number of script &verification threads</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+58"/>
<source>Connect to the CoinsBazar network through a SOCKS proxy.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Connect through SOCKS proxy (default proxy):</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+34"/>
<source>IP address of the proxy (e.g. IPv4: 127.0.0.1 / IPv6: ::1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+224"/>
<source>Active command-line options that override above options:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+43"/>
<source>Reset all client options to default.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Reset Options</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-323"/>
<source>&Network</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Automatically open the CoinsBazar client port on the router. This only works when your router supports UPnP and it is enabled.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Map port using &UPnP</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+19"/>
<source>Proxy &IP:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+32"/>
<source>&Port:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+25"/>
<source>Port of the proxy (e.g. 9050)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>SOCKS &Version:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>SOCKS version of the proxy (e.g. 5)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+36"/>
<source>&Window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Show only a tray icon after minimizing the window.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Minimize to the tray instead of the taskbar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Minimize instead of exit the application when the window is closed. When this option is enabled, the application will be closed only after selecting Quit in the menu.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>M&inimize on close</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>&Display</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>User Interface &language:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>The user interface language can be set here. This setting will take effect after restarting CoinsBazar.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>&Unit to show amounts in:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Choose the default subdivision unit to show in the interface and when sending coins.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>Whether to show CoinsBazar addresses in the transaction list or not.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Display addresses in transaction list</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Whether to show coin control features or not.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Display coin &control features (experts only)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+136"/>
<source>&OK</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>&Cancel</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../optionsdialog.cpp" line="+67"/>
<source>default</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+57"/>
<source>none</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+75"/>
<source>Confirm options reset</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<location line="+29"/>
<source>Client restart required to activate changes.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-29"/>
<source>Client will be shutdown, do you want to proceed?</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+33"/>
<source>This change would require a client restart.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+34"/>
<source>The supplied proxy address is invalid.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>OverviewPage</name>
<message>
<location filename="../forms/overviewpage.ui" line="+14"/>
<source>Form</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+50"/>
<location line="+231"/>
<source>The displayed information may be out of date. Your wallet automatically synchronizes with the CoinsBazar network after a connection is established, but this process has not completed yet.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-155"/>
<source>Unconfirmed:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-83"/>
<source>Wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+51"/>
<source>Confirmed:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Your current spendable balance</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+32"/>
<source>Total of transactions that have yet to be confirmed, and do not yet count toward the spendable balance</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Immature:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Mined balance that has not yet matured</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Total:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Your current total balance</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+71"/>
<source><b>Recent transactions</b></source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../overviewpage.cpp" line="+120"/>
<location line="+1"/>
<source>out of sync</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>PaymentServer</name>
<message>
<location filename="../paymentserver.cpp" line="+403"/>
<location line="+13"/>
<source>URI handling</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>URI can not be parsed! This can be caused by an invalid CoinsBazar address or malformed URI parameters.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+96"/>
<source>Requested payment amount of %1 is too small (considered dust).</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-221"/>
<location line="+212"/>
<location line="+13"/>
<location line="+95"/>
<location line="+18"/>
<location line="+16"/>
<source>Payment request error</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-353"/>
<source>Cannot start bitcoin: click-to-pay handler</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+58"/>
<source>Net manager warning</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Your active proxy doesn't support SOCKS5, which is required for payment requests via proxy.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+52"/>
<source>Payment request fetch URL is invalid: %1</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Payment request file handling</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Payment request file can not be read or processed! This can be caused by an invalid payment request file.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+73"/>
<source>Unverified payment requests to custom payment scripts are unsupported.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+59"/>
<source>Refund from %1</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+43"/>
<source>Error communicating with %1: %2</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+24"/>
<source>Payment request can not be parsed or processed!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>Bad response from server %1</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+33"/>
<source>Payment acknowledged</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-11"/>
<source>Network request error</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../bitcoin.cpp" line="+71"/>
<location line="+11"/>
<source>CoinsBazar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error: Specified data directory "%1" does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-12"/>
<source>Error: Invalid combination of -regtest and -testnet.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>QRImageWidget</name>
<message>
<location filename="../receiverequestdialog.cpp" line="+36"/>
<source>&Save Image...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>&Copy Image</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+28"/>
<source>Save QR Code</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>PNG Image (*.png)</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>RPCConsole</name>
<message>
<location filename="../forms/rpcconsole.ui" line="+46"/>
<source>Client name</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<location line="+23"/>
<location line="+26"/>
<location line="+23"/>
<location line="+23"/>
<location line="+36"/>
<location line="+23"/>
<location line="+36"/>
<location line="+23"/>
<location line="+23"/>
<location filename="../rpcconsole.cpp" line="+359"/>
<source>N/A</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-223"/>
<source>Client version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-45"/>
<source>&Information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-10"/>
<source>Debug window</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+25"/>
<source>General</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+53"/>
<source>Using OpenSSL version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+49"/>
<source>Startup time</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+29"/>
<source>Network</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Name</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Number of connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+29"/>
<source>Block chain</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Current number of blocks</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Estimated total blocks</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Last block time</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+52"/>
<source>&Open</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+24"/>
<source>&Console</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+72"/>
<source>&Network Traffic</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+52"/>
<source>&Clear</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+13"/>
<source>Totals</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+64"/>
<source>In:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+80"/>
<source>Out:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-521"/>
<source>Build date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+206"/>
<source>Debug log file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Open the CoinsBazar debug log file from the current data directory. This can take a few seconds for large log files.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+76"/>
<source>Clear console</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../rpcconsole.cpp" line="-30"/>
<source>Welcome to the CoinsBazar RPC console.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Type <b>help</b> for an overview of available commands.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+122"/>
<source>%1 B</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>%1 KB</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>%1 MB</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>%1 GB</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>%1 m</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>%1 h</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>%1 h %2 m</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>ReceiveCoinsDialog</name>
<message>
<location filename="../forms/receivecoinsdialog.ui" line="+83"/>
<source>&Amount:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-13"/>
<source>&Label:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-34"/>
<source>&Message:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-17"/>
<source>Reuse one of the previously used receiving addresses. Reusing addresses has security and privacy issues. Do not use this unless re-generating a payment request made before.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>R&euse an existing receiving address (not recommended)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>An optional label to associate with the new receiving address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the CoinsBazar network.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Use this form to request payments. All fields are <b>optional</b>.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+39"/>
<source>An optional amount to request. Leave this empty or zero to not request a specific amount.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+17"/>
<source>Clear all fields of the form.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Clear</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+36"/>
<source>&Request payment</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+47"/>
<source>Requested payments</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Show the selected request (does the same as double clicking an entry)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Show</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>Remove the selected entries from the list</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Remove</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>ReceiveRequestDialog</name>
<message>
<location filename="../forms/receiverequestdialog.ui" line="+29"/>
<source>QR Code</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+46"/>
<source>Copy &URI</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Copy &Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>&Save Image...</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../receiverequestdialog.cpp" line="+56"/>
<source>Request payment to %1</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Payment information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>URI</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Resulting URI too long, try to reduce the text for label / message.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Error encoding URI into QR Code.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>RecentRequestsTableModel</name>
<message>
<location filename="../recentrequeststablemodel.cpp" line="+24"/>
<source>Date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+38"/>
<source>(no label)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>(no message)</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>SendCoinsDialog</name>
<message>
<location filename="../forms/sendcoinsdialog.ui" line="+14"/>
<location filename="../sendcoinsdialog.cpp" line="+381"/>
<location line="+80"/>
<source>Send Coins</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+76"/>
<source>Coin Control Features</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+20"/>
<source>Inputs...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>automatically selected</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+19"/>
<source>Insufficient funds!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+89"/>
<source>Quantity:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+35"/>
<source>Bytes:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+48"/>
<source>Amount:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+32"/>
<source>Priority:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+48"/>
<source>Fee:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+32"/>
<source>Low Output:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+48"/>
<source>After Fee:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+32"/>
<source>Change:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+44"/>
<source>If this is activated, but the change address is empty or invalid, change will be sent to a newly generated address.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Custom change address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+115"/>
<source>Send to multiple recipients at once</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Add &Recipient</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+20"/>
<source>Clear all fields of the form.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Clear &All</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<source>Balance:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+41"/>
<source>Confirm the send action</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>S&end</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../sendcoinsdialog.cpp" line="-228"/>
<source>Confirm send coins</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-74"/>
<location line="+5"/>
<location line="+5"/>
<location line="+4"/>
<source>%1 to %2</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-136"/>
<source>Enter a CoinsBazar address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+15"/>
<source>Copy quantity</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy after fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy bytes</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy priority</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy low output</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy change</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+170"/>
<source>Total Amount %1 (= %2)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>or</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+202"/>
<source>The recipient address is not valid, please recheck.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>The amount to pay must be larger than 0.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>The amount exceeds your balance.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>The total exceeds your balance when the %1 transaction fee is included.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Duplicate address found, can only send to each address once per send operation.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Transaction creation failed!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+112"/>
<source>Warning: Invalid CoinsBazar address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>(no label)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-11"/>
<source>Warning: Unknown change address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-366"/>
<source>Are you sure you want to send?</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>added as transaction fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+170"/>
<source>Payment request expired</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Invalid payment address %1</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>SendCoinsEntry</name>
<message>
<location filename="../forms/sendcoinsentry.ui" line="+131"/>
<location line="+521"/>
<location line="+536"/>
<source>A&mount:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-1152"/>
<source>Pay &To:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<source>The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../sendcoinsentry.cpp" line="+30"/>
<source>Enter a label for this address to add it to your address book</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../forms/sendcoinsentry.ui" line="+57"/>
<source>&Label:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-50"/>
<source>Choose previously used address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-40"/>
<source>This is a normal payment.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+50"/>
<source>Alt+A</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Paste address from clipboard</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Alt+P</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<location line="+524"/>
<location line="+536"/>
<source>Remove this entry</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-1008"/>
<source>Message:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>A message that was attached to the CoinsBazar URI which will be stored with the transaction for your reference. Note: This message will not be sent over the CoinsBazar network.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+958"/>
<source>This is a verified payment request.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-991"/>
<source>Enter a label for this address to add it to the list of used addresses</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+459"/>
<source>This is an unverified payment request.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<location line="+532"/>
<source>Pay To:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-498"/>
<location line="+536"/>
<source>Memo:</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../sendcoinsentry.cpp" line="+1"/>
<source>Enter a CoinsBazar address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>ShutdownWindow</name>
<message>
<location filename="../utilitydialog.cpp" line="+48"/>
<source>CoinsBazar Core is shutting down...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Do not shut down the computer until this window disappears.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>SignVerifyMessageDialog</name>
<message>
<location filename="../forms/signverifymessagedialog.ui" line="+14"/>
<source>Signatures - Sign / Verify a Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>&Sign Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<source>The address to sign the message with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<location line="+213"/>
<source>Choose previously used address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-203"/>
<location line="+213"/>
<source>Alt+A</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-203"/>
<source>Paste address from clipboard</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Alt+P</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+12"/>
<source>Enter the message you want to sign here</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Signature</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+27"/>
<source>Copy the current signature to the system clipboard</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>Sign the message to prove you own this CoinsBazar address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Sign &Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Reset all sign message fields</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<location line="+146"/>
<source>Clear &All</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-87"/>
<source>&Verify Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Enter the signing address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+21"/>
<source>The address the message was signed with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+40"/>
<source>Verify the message to ensure it was signed with the specified CoinsBazar address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Verify &Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Reset all verify message fields</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../signverifymessagedialog.cpp" line="+29"/>
<location line="+3"/>
<source>Enter a CoinsBazar address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-2"/>
<source>Click "Sign Message" to generate signature</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Enter CoinsBazar signature</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+84"/>
<location line="+81"/>
<source>The entered address is invalid.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-81"/>
<location line="+8"/>
<location line="+73"/>
<location line="+8"/>
<source>Please check the address and try again.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-81"/>
<location line="+81"/>
<source>The entered address does not refer to a key.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-73"/>
<source>Wallet unlock was cancelled.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Private key for the entered address is not available.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+12"/>
<source>Message signing failed.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Message signed.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+59"/>
<source>The signature could not be decoded.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<location line="+13"/>
<source>Please check the signature and try again.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>The signature did not match the message digest.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Message verification failed.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Message verified.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>SplashScreen</name>
<message>
<location filename="../splashscreen.cpp" line="+28"/>
<source>CoinsBazar Core</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>The CoinsBazar Core developers</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>[testnet]</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>TrafficGraphWidget</name>
<message>
<location filename="../trafficgraphwidget.cpp" line="+79"/>
<source>KB/s</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>TransactionDesc</name>
<message>
<location filename="../transactiondesc.cpp" line="+28"/>
<source>Open until %1</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>%1/offline</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>%1/unconfirmed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>%1 confirmations</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<source>Status</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="+7"/>
<source>, broadcast through %n node(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+4"/>
<source>Date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Source</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Generated</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<location line="+17"/>
<source>From</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<location line="+22"/>
<location line="+58"/>
<source>To</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-77"/>
<location line="+2"/>
<source>own address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-2"/>
<source>label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+37"/>
<location line="+12"/>
<location line="+45"/>
<location line="+17"/>
<location line="+53"/>
<source>Credit</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="-125"/>
<source>matures in %n more block(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+2"/>
<source>not accepted</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+44"/>
<location line="+8"/>
<location line="+15"/>
<location line="+53"/>
<source>Debit</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-62"/>
<source>Transaction fee</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>Net amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<location line="+9"/>
<source>Message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-7"/>
<source>Comment</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Transaction ID</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<source>Merchant</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Generated coins must mature %1 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Debug information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Transaction</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Inputs</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+23"/>
<source>Amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>true</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>false</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-232"/>
<source>, has not been successfully broadcast yet</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="-35"/>
<source>Open for %n more block(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+70"/>
<source>unknown</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>TransactionDescDialog</name>
<message>
<location filename="../forms/transactiondescdialog.ui" line="+14"/>
<source>Transaction details</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>This pane shows a detailed description of the transaction</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>TransactionTableModel</name>
<message>
<location filename="../transactiontablemodel.cpp" line="+234"/>
<source>Date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Type</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+59"/>
<source>Immature (%1 confirmations, will be available after %2)</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
<location line="+16"/>
<source>Open for %n more block(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
<location line="+3"/>
<source>Open until %1</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Offline (%1 confirmations)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Unconfirmed (%1 of %2 confirmations)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-22"/>
<location line="+25"/>
<source>Confirmed (%1 confirmations)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-22"/>
<source>This block was not received by any other nodes and will probably not be accepted!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Generated but not accepted</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+62"/>
<source>Received with</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Received from</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Sent to</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Payment to yourself</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Mined</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+38"/>
<source>(n/a)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+199"/>
<source>Transaction status. Hover over this field to show number of confirmations.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Date and time that the transaction was received.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Type of transaction.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Destination address of transaction.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Amount removed from or added to balance.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>TransactionView</name>
<message>
<location filename="../transactionview.cpp" line="+57"/>
<location line="+16"/>
<source>All</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-15"/>
<source>Today</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>This week</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>This month</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Last month</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>This year</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Range...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+11"/>
<source>Received with</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Sent to</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>To yourself</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Mined</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Other</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Enter address or label to search</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Min amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+34"/>
<source>Copy address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Copy transaction ID</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Edit label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Show transaction details</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+142"/>
<source>Export Transaction History</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+19"/>
<source>Exporting Failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>There was an error trying to save the transaction history to %1.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Exporting Successful</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>The transaction history was successfully saved to %1.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-22"/>
<source>Comma separated file (*.csv)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>Confirmed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Date</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Type</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Label</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>ID</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+107"/>
<source>Range:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>to</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>WalletFrame</name>
<message>
<location filename="../walletframe.cpp" line="+26"/>
<source>No wallet has been loaded.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>WalletModel</name>
<message>
<location filename="../walletmodel.cpp" line="+245"/>
<source>Send Coins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>WalletView</name>
<message>
<location filename="../walletview.cpp" line="+43"/>
<source>&Export</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Export the data in the current tab to a file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+181"/>
<source>Backup Wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Wallet Data (*.dat)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Backup Failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>There was an error trying to save the wallet data to %1.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>The wallet data was successfully saved to %1.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+0"/>
<source>Backup Successful</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>bitcoin-core</name>
<message>
<location filename="../bitcoinstrings.cpp" line="+221"/>
<source>Usage:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-54"/>
<source>List commands</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-14"/>
<source>Get help for a command</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+26"/>
<source>Options:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+22"/>
<source>Specify configuration file (default: bitcoin.conf)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Specify pid file (default: bitcoind.pid)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-1"/>
<source>Specify data directory</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-9"/>
<source>Set database cache size in megabytes (default: 25)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-26"/>
<source>Listen for connections on <port> (default: 8333 or testnet: 18333)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Maintain at most <n> connections to peers (default: 125)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-51"/>
<source>Connect to a node to retrieve peer addresses, and disconnect</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+84"/>
<source>Specify your own public address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Threshold for disconnecting misbehaving peers (default: 100)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-148"/>
<source>Number of seconds to keep misbehaving peers from reconnecting (default: 86400)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-36"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv4: %s</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+34"/>
<source>Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+45"/>
<source>Accept command line and JSON-RPC commands</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+80"/>
<source>Run in the background as a daemon and accept commands</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+39"/>
<source>Use the test network</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-118"/>
<source>Accept connections from outside (default: 1 if no -proxy or -connect)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-95"/>
<source>%s, you must set a rpcpassword in the configuration file:
%s
It is recommended you use the following random password:
rpcuser=bitcoinrpc
rpcpassword=%s
(you do not need to remember this password)
The username and password MUST NOT be the same.
If the file does not exist, create it with owner-readable-only file permissions.
It is also recommended to set alertnotify so you are notified of problems;
for example: alertnotify=echo %%s | mail -s "CoinsBazar Alert" admin@foo.com
</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+12"/>
<source>Acceptable ciphers (default: TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Bind to given address and always listen on it. Use [host]:port notation for IPv6</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Cannot obtain a lock on data directory %s. CoinsBazar is probably already running.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Enter regression test mode, which uses a special chain in which blocks can be solved instantly. This is intended for regression testing tools and app development.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Enter regression test mode, which uses a special chain in which blocks can be solved instantly.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Error: The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Error: This transaction requires a transaction fee of at least %s because of its amount, complexity, or use of recently received funds!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+18"/>
<source>This is a pre-release test build - use at your own risk - do not use for mining or merchant applications</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Use separate SOCKS5 proxy to reach peers via Tor hidden services (default: -proxy)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning: -paytxfee is set very high! This is the transaction fee you will pay if you send a transaction.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning: Please check that your computer's date and time are correct! If your clock is wrong CoinsBazar will not work properly.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Warning: wallet.dat corrupt, data salvaged! Original wallet.dat saved as wallet.{timestamp}.bak in %s; if your balance or transactions are incorrect you should restore from a backup.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source><category> can be:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Attempt to recover private keys from a corrupt wallet.dat</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>CoinsBazar Core Daemon</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>CoinsBazar RPC client version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Block creation options:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Connect only to the specified node(s)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Connect through SOCKS proxy</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Connect to JSON-RPC on <port> (default: 8332 or testnet: 18332)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Corrupted block database detected</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Discover own IP address (default: 1 when listening and no -externalip)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Do not load the wallet and disable wallet RPC calls</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Do you want to rebuild the block database now?</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Error initializing block database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error initializing wallet database environment %s!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error loading block database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Error opening block database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Error: Disk space is low!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error: Wallet locked, unable to create transaction!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error: system error: </source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to listen on any port. Use -listen=0 if you want this.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to read block info</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to read block</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to sync block index</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write block index</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write block info</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write block</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write file info</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write to coin database</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write transaction index</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Failed to write undo data</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Fee per kB to add to transactions you send</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Find peers using DNS lookup (default: 1 unless -connect)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Generate coins (default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>How many blocks to check at startup (default: 288, 0 = all)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>How thorough the block verification is (0-4, default: 3)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>If <category> is not supplied, output all debugging information.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Incorrect or no genesis block found. Wrong datadir for network?</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Invalid -onion address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+15"/>
<source>Not enough file descriptors available.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Prepend debug output with timestamp (default: 1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>RPC client options:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Rebuild block chain index from current blk000??.dat files</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Select SOCKS version for -proxy (4 or 5, default: 5)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Send command to CoinsBazar server</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Set maximum block size in bytes (default: %d)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Set the number of threads to service RPC calls (default: 4)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Specify wallet file (within data directory)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Start CoinsBazar server</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>This is intended for regression testing tools and app development.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Usage (deprecated, use bitcoin-cli):</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Verifying blocks...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Verifying wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Wait for RPC server to start</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Wallet %s resides outside data directory %s</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Wallet options:</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Warning: Deprecated argument -debugnet ignored, use -debug=net</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>You need to rebuild the database using -reindex to change -txindex</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-79"/>
<source>Imports blocks from external blk000??.dat file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-105"/>
<source>Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+14"/>
<source>Output debugging information (default: 0, supplying <category> is optional)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Set maximum size of high-priority/low-fee transactions in bytes (default: %d)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Set the number of script verification threads (up to 16, 0 = auto, <0 = leave that many cores free, default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+89"/>
<source>Information</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Invalid amount for -minrelaytxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Invalid amount for -mintxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Maintain a full transaction index (default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Only accept block chain matching built-in checkpoints (default: 1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Only connect to nodes in network <net> (IPv4, IPv6 or Tor)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+9"/>
<source>SSL options: (see the CoinsBazar Wiki for SSL setup instructions)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+4"/>
<source>Send trace/debug info to console instead of debug.log file</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>Set minimum block size in bytes (default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Shrink debug.log file on client startup (default: 1 when no -debug)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Signing transaction failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Specify connection timeout in milliseconds (default: 5000)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+6"/>
<source>System error: </source>
<translation type="unfinished"/>
</message>
<message>
<location line="+5"/>
<source>Transaction amount too small</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Transaction amounts must be positive</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Transaction too large</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+8"/>
<source>Use UPnP to map the listening port (default: 0)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Use UPnP to map the listening port (default: 1 when listening)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Username for JSON-RPC connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Warning</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>Warning: This version is obsolete, upgrade required!</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+2"/>
<source>version</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>wallet.dat corrupt, salvage failed</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-58"/>
<source>Password for JSON-RPC connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-70"/>
<source>Allow JSON-RPC connections from specified IP address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+80"/>
<source>Send commands to node running on <ip> (default: 127.0.0.1)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-132"/>
<source>Execute command when the best block changes (%s in cmd is replaced by block hash)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+161"/>
<source>Upgrade wallet to latest format</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-24"/>
<source>Set key pool size to <n> (default: 100)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-11"/>
<source>Rescan the block chain for missing wallet transactions</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+38"/>
<source>Use OpenSSL (https) for JSON-RPC connections</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-30"/>
<source>Server certificate file (default: server.cert)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Server private key (default: server.pem)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+16"/>
<source>This help message</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+7"/>
<source>Unable to bind to %s on this computer (bind returned error %d, %s)</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-107"/>
<source>Allow DNS lookups for -addnode, -seednode and -connect</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+60"/>
<source>Loading addresses...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-37"/>
<source>Error loading wallet.dat: Wallet corrupted</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Error loading wallet.dat: Wallet requires newer version of CoinsBazar</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+98"/>
<source>Wallet needed to be rewritten: restart CoinsBazar to complete</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-100"/>
<source>Error loading wallet.dat</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+31"/>
<source>Invalid -proxy address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+56"/>
<source>Unknown network specified in -onlynet: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-1"/>
<source>Unknown -socks proxy version requested: %i</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-101"/>
<source>Cannot resolve -bind address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Cannot resolve -externalip address: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+48"/>
<source>Invalid amount for -paytxfee=<amount>: '%s'</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+1"/>
<source>Invalid amount</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-6"/>
<source>Insufficient funds</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+10"/>
<source>Loading block index...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-62"/>
<source>Add a node to connect to and attempt to keep the connection open</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-32"/>
<source>Unable to bind to %s on this computer. CoinsBazar is probably already running.</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+95"/>
<source>Loading wallet...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-56"/>
<source>Cannot downgrade wallet</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+3"/>
<source>Cannot write default address</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+67"/>
<source>Rescanning...</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-58"/>
<source>Done loading</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+85"/>
<source>To use the %s option</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-77"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
<location line="-35"/>
<source>You must set rpcpassword=<password> in the configuration file:
%s
If the file does not exist, create it with owner-readable-only file permissions.</source>
<translation type="unfinished"/>
</message>
</context>
</TS> | Java |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace DND.AspNetCore.Web.Models.ManageViewModels
{
public class IndexViewModel
{
public bool HasPassword { get; set; }
public IList<UserLoginInfo> Logins { get; set; }
public string PhoneNumber { get; set; }
public bool TwoFactor { get; set; }
public bool BrowserRemembered { get; set; }
}
}
| Java |
/**
* Programmer: Minhas Kamal (BSSE0509,IIT,DU)
* Date: 30-Mar-2014
**/
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
#define X 3
struct node{
int value;
int depth;
node *previous;
node *next[X];
} nullNode;
int main(){
///input array
int arrayLength=1;
for(int i=0; i<X; i++){
arrayLength = arrayLength * 2;
}
int array[arrayLength];
for(int i=0; i<arrayLength; i++){
array[i]=rand()%100;
printf("%d \n", array[i]);///test
}
///initialize null node
nullNode.value=-1;
nullNode.depth=0;
nullNode.previous=NULL;
for(int i=0; i<X; i++){
nullNode.next[i]=NULL;
}
///constructing binomial tree
bool similarityFound=true;
node binomialTree[arrayLength];
for(int i=0; i<arrayLength; i++){
///initialization
binomialTree[i].value = array[i];
binomialTree[i].depth = 0;
binomialTree[i].previous = &nullNode;
for(int j=0; j<X; j++){
binomialTree[i].next[j] =NULL;
}
nullNode.next[nullNode.depth]=&binomialTree[i];
nullNode.depth++;
///finding & merging similar trees
int newNode=i;
while(1){
similarityFound=false;
int j;
for(j=0; j<nullNode.depth-1; j++){
if(nullNode.next[j]->depth==binomialTree[newNode].depth)
similarityFound=true;
}
if(similarityFound){
if(binomialTree[j].value < binomialTree[newNode].value){
binomialTree[j].next[binomialTree[j].depth]=&binomialTree[newNode];
binomialTree[newNode].previous=&binomialTree[j];
newNode=j;
binomialTree[j].depth++;
}
else{
binomialTree[newNode].next[binomialTree[newNode].depth]=&binomialTree[j];
binomialTree[j].previous=&binomialTree[newNode];
newNode=newNode;
binomialTree[newNode].depth++;
}
nullNode.depth--;
nullNode.next[nullNode.depth]=&binomialTree[newNode];
}else{
break;
}
}
}
///traversing
for(int i=0; i<arrayLength; i++){
cout << &binomialTree[i] << "\t" << binomialTree[i].value << "\t";
cout << binomialTree[i].depth << "\t" << binomialTree[i].previous << "\t";
for(int j=0; j<X; j++){
cout << binomialTree[i].next[j] << "\t";
}
cout << endl;
}
return 0;
}
| Java |
<?php
namespace PlaceFinder\APIBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
*/
class Configuration implements ConfigurationInterface
{
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('place_finder_api');
// Here you should define the parameters that are allowed to
// configure your bundle. See the documentation linked above for
// more information on that topic.
return $treeBuilder;
}
}
| Java |
# tuxedoneko
tuxedoneko is a minimal blog theme for [hugo](http://gohugo.io).
The theme is based on [Hemingway2](https://github.com/beli3ver/hemingway2.git).
## Getting Started
Clone this repository to your hugo theme directory.
```
mkdir themes
cd themes
git clone https://github.com/tuxedocat/tuxedoneko.git
```
## Configuration
Take a look in the exampleSite dir.
This directory contains an example config file and the content for the demo.
It serves as an example setup for your documentation.
Copy the `config.toml` in the root directory of your website. Overwrite the existing config file if necessary.
```toml
baseurl = "https://example.com"
languageCode = "en"
title = "miaulog"
theme = "tuxedoneko"
copyright = "© tuxedocat"
disqusShortname = "shortname"
googleAnalytics = "trackingcode"
[taxonomies]
tag = "tags"
category = "categories"
[params]
description = "Your description here"
keywords = ["keyword 1", "keyword 2", "keyword 3"]
author = "tuxedocat"
sharingicons = true
enableMathJax = false
[params.highlight]
style = "github"
languages = ["scala", "sh", "python", "r", "go", "dockerfile"]
# Navbar on upper-right area, decorated with Fontawesome icons.
[[params.social]]
name = "Me on Github" # -> title
url = "https://github.com/tuxedocat" # -> href
iconName = "logo-octocat" # -> icon name
[[params.social]]
url = "https://gitlab.com/tuxedocat"
iconName = "logo"
[[params.social]]
url = "/index.xml"
iconName = "rss_feed"
[[params.socialshare]]
url = "https://linkedin.com/in/_your_name_"
iconName = "logo-linkedin"
```
## Build
### CSS
Build CSS from Sass using gulp:
```bash
$ yarn add gulp
$ yarn add gulp-sass
# Default: just build css from sass file.
$ yarn gulp
# Or run build for each modification.
$ yarn gulp watch
```
### Hugo
```bash
$ hugo server
# Or set theme variable explicitly
$ hugo server -t tuxedoneko
# Or set theme directory explicitly, if this theme is in somewhere/tuxedoneko
$ hugo server --themeDir somewhere/
```
You can go to localhost:1313 and this theme should be visible.
## License
tuxedoneko is licensed under the [MIT License](LICENSE.md).
## Credits
tuxedoneko is based on Hucore and Hemingway (1 and 2).
| Java |
/*istanbul ignore next*/'use strict';
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
Object.defineProperty(exports, "__esModule", {
value: true
});
var _request2 = require('request');
var _request3 = _interopRequireDefault(_request2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/**
* A set of utlity methods.
* @abstract
*/
var EgoJSUtils = (function () {
function EgoJSUtils() {
_classCallCheck(this, EgoJSUtils);
}
_createClass(EgoJSUtils, null, [{
key: '_fullfilledPromise',
/**
* Returns an already fullfilled promise with a given value.
* @param {bollean} success - Whether to call `resolve` or `reject`.
* @param {*} response - The object to resolve or reject.
* @return {Promise<*,*>}
* @private
* @ignore
*/
value: function _fullfilledPromise(success, response) {
return new Promise(function (resolve, reject) {
if (success) {
resolve(response);
} else {
reject(response);
}
});
}
/**
* Returns an already rejected promise.
* @example
* EgoJSUtils.rejectedPromise('error message').catch((e) => {
* // It will log 'error message'
* console.log(e);
* });
*
* @param {*} response - The object to send to the `.catch` method.
* @return {Promise<null, *>} This promise won't call `.then` but `.catch` directly.
*/
}, {
key: 'rejectedPromise',
value: function rejectedPromise(response) {
return this._fullfilledPromise(false, response);
}
/**
* Returns an already resolved promise.
* @example
* EgoJSUtils.rejectedPromise('hello world').then((message) => {
* // It will log 'hello world'
* console.log(message);
* });
*
* @param {*} response - The object to send to the `.then` method.
* @return {Promise<*, null>} This promise won't call `.catch`.
*/
}, {
key: 'resolvedPromise',
value: function resolvedPromise(response) {
return this._fullfilledPromise(true, response);
}
/**
* It will merge a given list of Objects into a new one. It works recursively, so any "sub
* objects" will also be merged. This method returns a new Object, so none of the targets will
* be modified.
* @example
* const a = {
* b: 'c',
* d: {
* e: 'f',
* g: {
* h: ['i'],
* },
* },
* j: 'k',
* };
* const b = {
* j: 'key',
* d: {
* g: {
* h: ['x', 'y', 'z'],
* l: 'm',
* },
* },
* };
* // The result will be
* // {
* // b: 'c',
* // d: {
* // e: 'f',
* // g: {
* // h: ['x', 'y', 'z'],
* // l: 'm',
* // },
* // },
* // j: 'key',
* // }
* ._mergeObjects(a, b);
*
* @param {...Object} objects - The list of objects to merge.
* @return {Object} A new object with the merged properties.
*/
}, {
key: 'mergeObjects',
value: function mergeObjects() {
/*istanbul ignore next*/
var _this = this;
var result = {};
/*istanbul ignore next*/
for (var _len = arguments.length, objects = Array(_len), _key = 0; _key < _len; _key++) {
objects[_key] = arguments[_key];
}
objects.forEach(function (obj) {
if (typeof obj !== 'undefined') {
Object.keys(obj).forEach(function (objKey) {
var current = obj[objKey];
var target = result[objKey];
if (typeof target !== 'undefined' && current.constructor === Object && target.constructor === Object) {
result[objKey] = /*istanbul ignore next*/_this.mergeObjects(target, current);
} else {
result[objKey] = current;
}
}, /*istanbul ignore next*/_this);
}
}, this);
return result;
}
/**
* Wraps a Request call into a Promise.
* @example
* request({uri: 'https://homer0.com/rosario'})
* .then((response) => doSomething(response))
* .catch((err) => handleErrors(err));
*
* @param {Object} data The request settings. The same you would use with request().
* @return {Promise<Object, Error>} It will be resolved or rejected depending on the response.
*/
}, {
key: 'request',
value: function request(data) {
return new Promise(function (resolve, reject) {
/*istanbul ignore next*/(0, _request3.default)(data, function (err, httpResponse, body) {
if (err) {
reject(err);
} else {
resolve(body);
}
});
});
}
}]);
return EgoJSUtils;
})();
/*istanbul ignore next*/exports.default = EgoJSUtils; | Java |
<?php
$i++;
++$j;
$k--;
--$l;
$a['a']++;
$a['a']--;
| Java |
// shexmap-simple - Simple ShEx2 validator for HTML.
// Copyright 2017 Eric Prud'hommeux
// Release under MIT License.
const ShEx = ShExWebApp; // @@ rename globally
const ShExJsUrl = 'https://github.com/shexSpec/shex.js'
const RdfJs = N3js;
const ShExApi = ShEx.Api({
fetch: window.fetch.bind(window), rdfjs: RdfJs, jsonld: null
})
const MapModule = ShEx.Map({rdfjs: RdfJs, Validator: ShEx.Validator});
ShEx.ShapeMap.start = ShEx.Validator.start
const SharedForTests = {} // an object to share state with a test harness
const START_SHAPE_LABEL = "START";
const START_SHAPE_INDEX_ENTRY = "- start -"; // specificially not a JSON-LD @id form.
const INPUTAREA_TIMEOUT = 250;
const NO_MANIFEST_LOADED = "no manifest loaded";
const LOG_PROGRESS = false;
const DefaultBase = location.origin + location.pathname;
const Caches = {};
Caches.inputSchema = makeSchemaCache($("#inputSchema textarea.schema"));
Caches.inputData = makeTurtleCache($("#inputData textarea"));
Caches.manifest = makeManifestCache($("#manifestDrop"));
Caches.extension = makeExtensionCache($("#extensionDrop"));
Caches.shapeMap = makeShapeMapCache($("#textMap")); // @@ rename to #shapeMap
Caches.bindings = makeJSONCache($("#bindings1 textarea"));
Caches.statics = makeJSONCache($("#staticVars textarea"));
Caches.outputSchema = makeSchemaCache($("#outputSchema textarea"));
// let ShExRSchema; // defined in calling page
const ParseTriplePattern = (function () {
const uri = "<[^>]*>|[a-zA-Z0-9_-]*:[a-zA-Z0-9_-]*";
const literal = "((?:" +
"'(?:[^'\\\\]|\\\\')*'" + "|" +
"\"(?:[^\"\\\\]|\\\\\")*\"" + "|" +
"'''(?:(?:'|'')?[^'\\\\]|\\\\')*'''" + "|" +
"\"\"\"(?:(?:\"|\"\")?[^\"\\\\]|\\\\\")*\"\"\"" +
")" +
"(?:@[a-zA-Z-]+|\\^\\^(?:" + uri + "))?)";
const uriOrKey = uri + "|FOCUS|_";
// const termOrKey = uri + "|" + literal + "|FOCUS|_";
return "(\\s*{\\s*)("+
uriOrKey+")?(\\s*)("+
uri+"|a)?(\\s*)("+
uriOrKey+"|" + literal + ")?(\\s*)(})?(\\s*)";
})();
const Getables = [
{queryStringParm: "schema", location: Caches.inputSchema.selection, cache: Caches.inputSchema},
{queryStringParm: "data", location: Caches.inputData.selection, cache: Caches.inputData },
{queryStringParm: "manifest", location: Caches.manifest.selection, cache: Caches.manifest , fail: e => $("#manifestDrop li").text(NO_MANIFEST_LOADED)},
{queryStringParm: "extension", location: Caches.extension.selection, cache: Caches.extension },
{queryStringParm: "shape-map", location: $("#textMap"), cache: Caches.shapeMap },
{queryStringParm: "bindings", location: Caches.bindings.selection, cache: Caches.bindings },
{queryStringParm: "statics", location: Caches.statics.selection, cache: Caches.statics },
{queryStringParm: "outSchema", location: Caches.outputSchema.selection,cache: Caches.outputSchema},
];
const QueryParams = Getables.concat([
{queryStringParm: "interface", location: $("#interface"), deflt: "human" },
{queryStringParm: "success", location: $("#success"), deflt: "proof" },
{queryStringParm: "regexpEngine", location: $("#regexpEngine"), deflt: "eval-threaded-nerr" },
]);
// utility functions
function parseTurtle (text, meta, base) {
const ret = new RdfJs.Store();
RdfJs.Parser._resetBlankNodePrefix();
const parser = new RdfJs.Parser({baseIRI: base, format: "text/turtle" });
const quads = parser.parse(text);
if (quads !== undefined)
ret.addQuads(quads);
meta.base = parser._base;
meta.prefixes = parser._prefixes;
return ret;
}
const shexParser = ShEx.Parser.construct(DefaultBase, null, {index: true});
function parseShEx (text, meta, base) {
shexParser._setOptions({duplicateShape: $("#duplicateShape").val()});
shexParser._setBase(base);
const ret = shexParser.parse(text);
// ret = ShEx.Util.canonicalize(ret, DefaultBase);
meta.base = ret._base; // base set above.
meta.prefixes = ret._prefixes || {}; // @@ revisit after separating shexj from meta and indexes
return ret;
}
function sum (s) { // cheap way to identify identical strings
return s.replace(/\s/g, "").split("").reduce(function (a,b){
a = ((a<<5) - a) + b.charCodeAt(0);
return a&a
},0);
}
// <n3.js-specific>
function rdflib_termToLex (node, resolver) {
if (node === "http://www.w3.org/1999/02/22-rdf-syntax-ns#type")
return "a";
if (node === ShEx.Validator.start)
return START_SHAPE_LABEL;
if (node === resolver._base)
return "<>";
if (node.indexOf(resolver._base) === 0/* &&
['#', '?'].indexOf(node.substr(resolver._base.length)) !== -1 */)
return "<" + node.substr(resolver._base.length) + ">";
if (node.indexOf(resolver._basePath) === 0 &&
['#', '?', '/', '\\'].indexOf(node.substr(resolver._basePath.length)) === -1)
return "<" + node.substr(resolver._basePath.length) + ">";
return ShEx.ShExTerm.intermalTermToTurtle(node, resolver.meta.base, resolver.meta.prefixes);
}
function rdflib_lexToTerm (lex, resolver) {
return lex === START_SHAPE_LABEL ? ShEx.Validator.start :
lex === "a" ? "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" :
new RdfJs.Lexer().tokenize(lex + " ") // need " " to parse "chat"@en
.map(token => {
const left =
token.type === "typeIRI" ? "^^" :
token.type === "langcode" ? "@" :
token.type === "type" ? "^^" + resolver.meta.prefixes[token.prefix] :
token.type === "prefixed" ? resolver.meta.prefixes[token.prefix] :
token.type === "blank" ? "_:" :
"";
const right = token.type === "IRI" || token.type === "typeIRI" ?
resolver._resolveAbsoluteIRI(token) :
token.value;
return left + right;
}).join("");
return lex === ShEx.Validator.start ? lex : lex[0] === "<" ? lex.substr(1, lex.length - 2) : lex;
}
// </n3.js-specific>
// caches for textarea parsers
function _makeCache (selection) {
let _dirty = true;
const ret = {
selection: selection,
parsed: null, // a Promise
meta: { prefixes: {}, base: DefaultBase },
dirty: function (newVal) {
const ret = _dirty;
_dirty = newVal;
return ret;
},
get: function () {
return selection.val();
},
set: async function (text, base) {
_dirty = true;
selection.val(text);
this.meta.base = base;
if (base !== DefaultBase) {
this.url = base; // @@crappyHack1 -- parms should differntiate:
// working base: base for URL resolution.
// loaded base: place where you can GET current doc.
// Note that Caches.manifest.set takes a 3rd parm.
}
},
refresh: async function () {
if (!_dirty)
return this.parsed;
this.parsed = await this.parse(selection.val(), this.meta.base);
await this.parsed;
_dirty = false;
return this.parsed;
},
asyncGet: async function (url) {
url = new URL(url, window.location).href
const _cache = this;
let resp
try {
resp = await fetch(url, {headers: {
accept: 'text/shex,text/turtle,*/*;q=0.9, test/html;q=0.8',
cache: 'no-cache'
}})
} catch (e) {
throw Error("unable to fetch <" + url + ">: " + '\n' + e.message);
}
if (!resp.ok)
throw Error("fetch <" + url + "> got error response " + resp.status + ": " + resp.statusText);
const data = await resp.text();
_cache.meta.base = url;
try {
await _cache.set(data, url, undefined, resp.headers.get('content-type'));
} catch (e) {
throw Error("error setting " + this.queryStringParm + " with <" + url + ">: " + '\n' + e.message);
}
$("#loadForm").dialog("close");
toggleControls();
return { url: url, data: data };
},
url: undefined // only set if inputarea caches some web resource.
};
ret.meta.termToLex = function (trm) { return rdflib_termToLex(trm, new IRIResolver(ret.meta)); };
ret.meta.lexToTerm = function (lex) { return rdflib_lexToTerm(lex, new IRIResolver(ret.meta)); };
return ret;
}
function makeSchemaCache (selection) {
const ret = _makeCache(selection);
let graph = null;
ret.language = null;
ret.parse = async function (text, base) {
const isJSON = text.match(/^\s*\{/);
graph = isJSON ? null : tryN3(text);
this.language =
isJSON ? "ShExJ" :
graph ? "ShExR" :
"ShExC";
$("#results .status").text("parsing "+this.language+" schema...").show();
const schema =
isJSON ? ShEx.Util.ShExJtoAS(JSON.parse(text)) :
graph ? parseShExR() :
parseShEx(text, ret.meta, base);
$("#results .status").hide();
markEditMapDirty(); // ShapeMap validity may have changed.
return schema;
function tryN3 (text) {
try {
if (text.match(/^\s*$/))
return null;
const db = parseTurtle (text, ret.meta, DefaultBase); // interpret empty schema as ShExC
if (db.getQuads().length === 0)
return null;
return db;
} catch (e) {
return null;
}
}
function parseShExR () {
const graphParser = ShEx.Validator.construct(
parseShEx(ShExRSchema, {}, base), // !! do something useful with the meta parm (prefixes and base)
ShEx.Util.rdfjsDB(graph),
{}
);
const schemaRoot = graph.getQuads(null, ShEx.Util.RDF.type, "http://www.w3.org/ns/shex#Schema")[0].subject; // !!check
const val = graphParser.validate(schemaRoot, ShEx.Validator.start); // start shape
return ShEx.Util.ShExJtoAS(ShEx.Util.ShExRtoShExJ(ShEx.Util.valuesToSchema(ShEx.Util.valToValues(val))));
}
};
ret.getItems = async function () {
const obj = await this.refresh();
const start = "start" in obj ? [START_SHAPE_LABEL] : [];
const rest = "shapes" in obj ? obj.shapes.map(se => Caches.inputSchema.meta.termToLex(se.id)) : [];
return start.concat(rest);
};
return ret;
}
function makeTurtleCache (selection) {
const ret = _makeCache(selection);
ret.parse = async function (text, base) {
const res = ShEx.Util.rdfjsDB(parseTurtle(text, ret.meta, base));
markEditMapDirty(); // ShapeMap validity may have changed.
return res;
};
ret.getItems = async function () {
const data = await this.refresh();
return data.getQuads().map(t => {
return Caches.inputData.meta.termToLex(t.subject); // !!check
});
};
return ret;
}
function makeManifestCache (selection) {
const ret = _makeCache(selection);
ret.set = async function (textOrObj, url, source) {
$("#inputSchema .manifest li").remove();
$("#inputData .passes li, #inputData .fails li").remove();
if (typeof textOrObj !== "object") {
if (url !== DefaultBase) {
this.url = url; // @@crappyHack1 -- parms should differntiate:
}
try {
// exceptions pass through to caller (asyncGet)
textOrObj = JSON.parse(textOrObj);
} catch (e) {
$("#inputSchema .manifest").append($("<li/>").text(NO_MANIFEST_LOADED));
const throwMe = Error(e + '\n' + textOrObj);
throwMe.action = 'load manifest'
throw throwMe
// @@DELME(2017-12-29)
// transform deprecated examples.js structure
// textOrObj = eval(textOrObj).reduce(function (acc, schema) {
// function x (data, status) {
// return {
// schemaLabel: schema.name,
// schema: schema.schema,
// dataLabel: data.name,
// data: data.data,
// queryMap: data.queryMap,
// outputSchema: data.outputSchema,
// outputShape: data.outputShape,
// staticVars: data.staticVars,
// createRoot: data.createRoot,
// status: status
// };
// }
// return acc.concat(
// schema.passes.map(data => x(data, "conformant")),
// schema.fails.map(data => x(data, "nonconformant"))
// );
// }, []);
}
}
if (!Array.isArray(textOrObj))
textOrObj = [textOrObj];
const demos = textOrObj.reduce((acc, elt) => {
if ("action" in elt) {
// compatibility with test suite structure.
const action = elt.action;
let schemaLabel = action.schema.substr(action.schema.lastIndexOf('/')+1);
let dataLabel = elt["@id"];
let match = null;
const emptyGraph = "-- empty graph --";
if ("comment" in elt) {
if ((match = elt.comment.match(/^(.*?) \/ { (.*?) }$/))) {
schemaLabel = match[1]; dataLabel = match[2] || emptyGraph;
} else if ((match = elt.comment.match(/^(.*?) on { (.*?) }$/))) {
schemaLabel = match[1]; dataLabel = match[2] || emptyGraph;
} else if ((match = elt.comment.match(/^(.*?) as { (.*?) }$/))) {
schemaLabel = match[2]; dataLabel = match[1] || emptyGraph;
}
}
const queryMap = "map" in action ?
null :
ldToTurtle(action.focus, Caches.inputData.meta.termToLex) + "@" + ("shape" in action ? ldToTurtle(action.shape, Caches.inputSchema.meta.termToLex) : START_SHAPE_LABEL);
const queryMapURL = "map" in action ?
action.map :
null;
elt = Object.assign(
{
schemaLabel: schemaLabel,
schemaURL: action.schema || url,
// dataLabel: "comment" in elt ? elt.comment : (queryMap || dataURL),
dataLabel: dataLabel,
dataURL: action.data || DefaultBase
},
(queryMap ? { queryMap: queryMap } : { queryMapURL: queryMapURL }),
{ status: elt["@type"] === "sht:ValidationFailure" ? "nonconformant" : "conformant" }
);
if ("termResolver" in action || "termResolverURL" in action) {
elt.meta = action.termResolver;
elt.metaURL = action.termResolverURL || DefaultBase;
}
}
["schemaURL", "dataURL", "queryMapURL"].forEach(parm => {
if (parm in elt) {
elt[parm] = new URL(elt[parm], new URL(url, DefaultBase).href).href;
} else {
delete elt[parm];
}
});
return acc.concat(elt);
}, []);
await prepareManifest(demos, url);
$("#manifestDrop").show(); // may have been hidden if no manifest loaded.
};
ret.parse = async function (text, base) {
throw Error("should not try to parse manifest cache");
};
ret.getItems = async function () {
throw Error("should not try to get manifest cache items");
};
return ret;
function maybeGET(obj, base, key, accept) { // !!not used
if (obj[key] != null) {
// Take the passed data, guess base if not provided.
if (!(key + "URL" in obj))
obj[key + "URL"] = base;
obj[key] = Promise.resolve(obj[key]);
} else if (key + "URL" in obj) {
// absolutize the URL
obj[key + "URL"] = ret.meta.lexToTerm("<"+obj[key + "URL"]+">");
// Load the remote resource.
obj[key] = new Promise((resolve, reject) => {
$.ajax({
accepts: {
mycustomtype: accept
},
url: ret.meta.lexToTerm("<"+obj[key + "URL"]+">"),
dataType: "text"
}).then(text => {
resolve(text);
}).fail(e => {
results.append($("<pre/>").text(
"Error " + e.status + " " + e.statusText + " on GET " + obj[key + "URL"]
).addClass("error"));
reject(e);
});
});
} else {
// Ignore this parameter.
obj[key] = Promise.resolve(obj[key]);
}
}
}
function makeExtensionCache (selection) {
const ret = _makeCache(selection);
ret.set = async function (code, url, source, mediaType) {
this.url = url; // @@crappyHack1 -- parms should differntiate:
try {
// exceptions pass through to caller (asyncGet)
// const resp = await fetch('http://localhost/checkouts/shexSpec/extensions/Eval/')
// const text = await resp.text();
if (mediaType.startsWith('text/html'))
return this.grepHtmlIndexForPackage(code, url, source)
const extension = Function(`"use strict";
const module = {exports: {}};
${code}
return module.exports;
`)()
const name = extension.name;
const id = "extension_" + name;
// Delete any old li associated with this extension.
const old = $(`.extensionControl[data-url="${extension.url}"]`)
if (old.length) {
results.append($("<div/>").append(
$("<span/>").text(`removing old ${old.attr('data-name')} extension`)
));
old.parent().remove();
}
// Create a new li.
const elt = $("<li/>", { class: "menuItem", title: extension.description }).append(
$("<input/>", {
type: "checkbox",
checked: "checked",
class: "extensionControl",
id: id,
"data-name": name,
"data-url": extension.url
}),
$("<label/>", { for: id }).append(
$("<a/>", {href: extension.url, text: name})
)
);
elt.insertBefore("#load-extension-button");
$("#" + id).data("code", extension);
Caches.extension.url = url; // @@ cheesy hack that only works to remember one extension URL
results.append($("<div/>").append(
$("<span/>").text(`extension ${name} loaded from <${url}>`)
));
} catch (e) {
// $("#inputSchema .extension").append($("<li/>").text(NO_EXTENSION_LOADED));
const throwMe = Error(e + '\n' + code);
throwMe.action = 'load extension'
throw throwMe
}
// $("#extensionDrop").show(); // may have been hidden if no extension loaded.
};
/* Poke around in HTML for a PACKAGE link in
<table class="implementations">
<td property="code:softwareAgent" resource="https://github.com/shexSpec/shex.js">shexjs</td>
<td><a property="shex:package" href="PACKAGE"/>...</td>...
</table>
*/
ret.grepHtmlIndexForPackage = async function (code, url, source) {
const jq = $(code);
const impls = $(jq.find('table.implementations'))
if (impls.length !== 1) {
results.append($("<div/>").append(
$("<span/>").text("unparsable extension index at " + url)
).addClass("error"));
return;
}
const tr = $(impls).find(`tr td[resource="${ShExJsUrl}"]`).parent()
if (tr.length !== 1) {
results.append($("<div/>").append(
$("<span/>").text("no entry for shexjs in index HTML at " + url)
).addClass("error"));
return;
}
const href = tr.find('[property="shex:package"]').attr('href')
if (!href) {
results.append($("<div/>").append(
$("<span/>").text("no package for shexjs in index HTML at " + url)
).addClass("error"));
return;
}
const refd = await fetch(href);
if (!refd.ok) {
results.append($("<div/>").append(
$("<span/>").text(`error fetching implementation: ${refd.status} (${refd.statusText}) for URL <${href}>`)
).addClass("error"));
} else {
code = await refd.text();
await this.set(code, url, source, refd.headers.get('content-type'));
}
};
ret.parse = async function (text, base) {
throw Error("should not try to parse extension cache");
};
ret.getItems = async function () {
throw Error("should not try to get extension cache items");
};
return ret;
}
function ldToTurtle (ld, termToLex) {
return typeof ld === "object" ? lit(ld) : termToLex(ld);
function lit (o) {
let ret = "\""+o["@value"].replace(/["\r\n\t]/g, (c) => {
return {'"': "\\\"", "\r": "\\r", "\n": "\\n", "\t": "\\t"}[c];
}) +"\"";
if ("@type" in o)
ret += "^^<" + o["@type"] + ">";
if ("@language" in o)
ret += "@" + o["@language"];
return ret;
}
}
function makeShapeMapCache (selection) {
const ret = _makeCache(selection);
ret.parse = async function (text) {
removeEditMapPair(null);
$("#textMap").val(text);
copyTextMapToEditMap();
await copyEditMapToFixedMap();
};
// ret.parse = function (text, base) { };
ret.getItems = async function () {
throw Error("should not try to get manifest cache items");
};
return ret;
}
function makeJSONCache(selection) {
const ret = _makeCache(selection);
ret.parse = async function (text) {
return Promise.resolve(JSON.parse(text));
};
return ret;
}
// controls for manifest buttons
async function paintManifest (selector, list, func, listItems, side) {
$(selector).empty();
await Promise.all(list.map(async entry => {
// build button disabled and with leading "..." to indicate that it's being loaded
const button = $("<button/>").text("..." + entry.label.substr(3)).attr("disabled", "disabled");
const li = $("<li/>").append(button);
$(selector).append(li);
if (entry.text === undefined) {
entry.text = await fetchOK(entry.url).catch(responseOrError => {
// leave a message in the schema or data block
return "# " + renderErrorMessage(
responseOrError instanceof Error
? { url: entry.url, status: -1, statusText: responseOrError.message }
: responseOrError,
side);
})
textLoaded();
} else {
textLoaded();
}
function textLoaded () {
li.on("click", async () => {
SharedForTests.promise = func(entry.name, entry, li, listItems, side);
});
listItems[side][sum(entry.text)] = li;
// enable and get rid of the "..." in the label now that it's loaded
button.text(entry.label).removeAttr("disabled");
}
}))
setTextAreaHandlers(listItems);
}
function fetchOK (url) {
return fetch(url).then(responseOrError => {
if (!responseOrError.ok) {
throw responseOrError;
}
return responseOrError.text()
});
}
function renderErrorMessage (response, what) {
const message = "failed to load " + "queryMap" + " from <" + response.url + ">, got: " + response.status + " " + response.statusText;
results.append($("<pre/>").text(message).addClass("error"));
return message;
}
async function clearData () {
// Clear out data textarea.
await Caches.inputData.set("", DefaultBase);
$("#inputData .status").text(" ");
// Clear out every form of ShapeMap.
$("#textMap").val("").removeClass("error");
makeFreshEditMap();
$("#fixedMap").empty();
results.clear();
}
async function clearAll () {
$("#results .status").hide();
await Caches.inputSchema.set("", DefaultBase);
$(".inputShape").val("");
$("#inputSchema .status").text(" ");
$("#inputSchema li.selected").removeClass("selected");
clearData();
$("#inputData .passes, #inputData .fails").hide();
$("#inputData .passes p:first").text("");
$("#inputData .fails p:first").text("");
$("#inputData .passes ul, #inputData .fails ul").empty();
}
async function pickSchema (name, schemaTest, elt, listItems, side) {
if ($(elt).hasClass("selected")) {
await clearAll();
} else {
await Caches.inputSchema.set(schemaTest.text, new URL((schemaTest.url || ""), DefaultBase).href);
Caches.inputSchema.url = undefined; // @@ crappyHack1
$("#inputSchema .status").text(name);
clearData();
const headings = {
"passes": "Passing:",
"fails": "Failing:",
"indeterminant": "Data:"
};
await Promise.all(Object.keys(headings).map(async function (key) {
if (key in schemaTest) {
$("#inputData ." + key + "").show();
$("#inputData ." + key + " p:first").text(headings[key]);
await paintManifest("#inputData ." + key + " ul", schemaTest[key], pickData, listItems, "inputData");
} else {
$("#inputData ." + key + " ul").empty();
}
}));
$("#inputSchema li.selected").removeClass("selected");
$(elt).addClass("selected");
try {
await Caches.inputSchema.refresh();
} catch (e) {
failMessage(e, "parsing schema");
}
}
}
async function pickData (name, dataTest, elt, listItems, side) {
clearData();
if ($(elt).hasClass("selected")) {
$(elt).removeClass("selected");
} else {
// Update data pane.
await Caches.inputData.set(dataTest.text, new URL((dataTest.url || ""), DefaultBase).href);
Caches.inputData.url = undefined; // @@ crappyHack1
$("#inputData .status").text(name);
$("#inputData li.selected").removeClass("selected");
$(elt).addClass("selected");
try {
await Caches.inputData.refresh();
} catch (e) {
failMessage(e, "parsing data");
}
// Update ShapeMap pane.
removeEditMapPair(null);
if (dataTest.entry.queryMap !== undefined) {
await queryMapLoaded(dataTest.entry.queryMap);
} else if (dataTest.entry.queryMapURL !== undefined) {
try {
const resp = await fetchOK(dataTest.entry.queryMapURL)
queryMapLoaded(resp);
} catch (e) {
renderErrorMessage(e, "queryMap");
}
} else {
results.append($("<div/>").text("No queryMap or queryMapURL supplied in manifest").addClass("warning"));
}
async function queryMapLoaded (text) {
dataTest.entry.queryMap = text;
try {
$("#textMap").val(JSON.parse(dataTest.entry.queryMap).map(entry => `<${entry.node}>@<${entry.shape}>`).join(",\n"));
} catch (e) {
$("#textMap").val(dataTest.entry.queryMap);
}
await copyTextMapToEditMap();
Caches.outputSchema.set(dataTest.entry.outputSchema, dataTest.outputSchemaUrl);
$("#outputSchema .status").text(name);
Caches.statics.set(JSON.stringify(dataTest.entry.staticVars, null, " "));
$("#staticVars .status").text(name);
$("#outputShape").val(dataTest.entry.outputShape); // targetSchema.start in Map-test
$("#createRoot").val(dataTest.entry.createRoot); // createRoot in Map-test
// callValidator();
}
}
}
// Control results area content.
const results = (function () {
const resultsElt = document.querySelector("#results div");
const resultsSel = $("#results div");
return {
replace: function (text) {
return resultsSel.text(text);
},
append: function (text) {
return resultsSel.append(text);
},
clear: function () {
resultsSel.removeClass("passes fails error");
$("#results .status").text("").hide();
$("#shapeMap-tabs").removeAttr("title");
return resultsSel.text("");
},
start: function () {
resultsSel.removeClass("passes fails error");
$("#results").addClass("running");
},
finish: function () {
$("#results").removeClass("running");
const height = resultsSel.height();
resultsSel.height(1);
resultsSel.animate({height:height}, 100);
},
text: function () {
return $(resultsElt).text();
}
};
})();
let LastFailTime = 0;
// Validation UI
function disableResultsAndValidate (evt) {
if (new Date().getTime() - LastFailTime < 100) {
results.append(
$("<div/>").addClass("warning").append(
$("<h2/>").text("see shape map errors above"),
$("<button/>").text("validate (ctl-enter)").on("click", disableResultsAndValidate),
" again to continue."
)
);
return; // return if < 100ms since last error.
}
results.clear();
results.start();
SharedForTests.promise = new Promise((resolve, reject) => {
setTimeout(async function () {
const errors = await copyEditMapToTextMap() // will update if #editMap is dirty
if (errors.length === 0)
resolve(await callValidator())
}, 0);
})
}
function hasFocusNode () {
return $(".focus").map((idx, elt) => {
return $(elt).val();
}).get().some(str => {
return str.length > 0;
});
}
let Mapper = null
async function callValidator (done) {
$("#fixedMap .pair").removeClass("passes fails");
$("#results .status").hide();
let currentAction = "parsing input schema";
try {
await Caches.inputSchema.refresh(); // @@ throw away parser stack?
$("#schemaDialect").text(Caches.inputSchema.language);
if (hasFocusNode()) {
currentAction = "parsing input data";
$("#results .status").text("parsing data...").show();
const inputData = await Caches.inputData.refresh(); // need prefixes for ShapeMap
// $("#shapeMap-tabs").tabs("option", "active", 2); // select fixedMap
currentAction = "parsing shape map";
const fixedMap = fixedShapeMapToTerms($("#fixedMap tr").map((idx, tr) => {
return {
node: Caches.inputData.meta.lexToTerm($(tr).find("input.focus").val()),
shape: Caches.inputSchema.meta.lexToTerm($(tr).find("input.inputShape").val())
};
}).get());
currentAction = "creating validator";
$("#results .status").text("creating validator...").show();
// const dataURL = "data:text/json," +
// JSON.stringify(
// ShEx.Util.AStoShExJ(
// ShEx.Util.canonicalize(
// Caches.inputSchema.refresh())));
const alreadLoaded = {
schema: await Caches.inputSchema.refresh(),
url: Caches.inputSchema.url || DefaultBase
};
// shex-node loads IMPORTs and tests the schema for structural faults.
try {
const loaded = await ShExApi.load([alreadLoaded], [], [], []);
let time;
const validator = ShEx.Validator.construct(
loaded.schema,
inputData,
{ results: "api", regexModule: ShEx[$("#regexpEngine").val()] });
$(".extensionControl:checked").each(function () {
$(this).data("code").register(validator, ShEx);
})
Mapper = MapModule.register(validator, ShEx);
currentAction = "validating";
$("#results .status").text("validating...").show();
time = new Date();
const ret = validator.validate(fixedMap, LOG_PROGRESS ? makeConsoleTracker() : null);
time = new Date() - time;
$("#shapeMap-tabs").attr("title", "last validation: " + time + " ms")
// const dated = Object.assign({ _when: new Date().toISOString() }, ret);
$("#results .status").text("rendering results...").show();
await Promise.all(ret.map(renderEntry));
// for debugging values and schema formats:
// try {
// const x = ShExUtil.valToValues(ret);
// // const x = ShExUtil.ShExJtoAS(valuesToSchema(valToValues(ret)));
// res = results.replace(JSON.stringify(x, null, " "));
// const y = ShExUtil.valuesToSchema(x);
// res = results.append(JSON.stringify(y, null, " "));
// } catch (e) {
// console.dir(e);
// }
finishRendering();
return { validationResults: ret }; // for tester or whoever is awaiting this promise
} catch (e) {
$("#results .status").text("validation errors:").show();
failMessage(e, currentAction);
console.error(e); // dump details to console.
return { validationError: e };
}
} else {
const outputLanguage = Caches.inputSchema.language === "ShExJ" ? "ShExC" : "ShExJ";
$("#results .status").
text("parsed "+Caches.inputSchema.language+" schema, generated "+outputLanguage+" ").
append($("<button>(copy to input)</button>").
css("border-radius", ".5em").
on("click", async function () {
await Caches.inputSchema.set($("#results div").text(), DefaultBase);
})).
append(":").
show();
let parsedSchema;
if (Caches.inputSchema.language === "ShExJ") {
const opts = {
simplifyParentheses: false,
base: Caches.inputSchema.meta.base,
prefixes: Caches.inputSchema.meta.prefixes
}
new ShEx.Writer(opts).writeSchema(Caches.inputSchema.parsed, (error, text) => {
if (error) {
$("#results .status").text("unwritable ShExJ schema:\n" + error).show();
// res.addClass("error");
} else {
results.append($("<pre/>").text(text).addClass("passes"));
}
});
} else {
const pre = $("<pre/>");
pre.text(JSON.stringify(ShEx.Util.AStoShExJ(ShEx.Util.canonicalize(Caches.inputSchema.parsed)), null, " ")).addClass("passes");
results.append(pre);
}
results.finish();
return { transformation: {
from: Caches.inputSchema.language,
to: outputLanguage
} }
}
} catch (e) {
failMessage(e, currentAction);
console.error(e); // dump details to console.
return { inputError: e };
}
function makeConsoleTracker () {
function padding (depth) { return (new Array(depth + 1)).join(" "); } // AKA " ".repeat(depth)
function sm (node, shape) {
return `${Caches.inputData.meta.termToLex(node)}@${Caches.inputSchema.meta.termToLex(shape)}`;
}
const logger = {
recurse: x => { console.log(`${padding(logger.depth)}↻ ${sm(x.node, x.shape)}`); return x; },
known: x => { console.log(`${padding(logger.depth)}↵ ${sm(x.node, x.shape)}`); return x; },
enter: (point, label) => { console.log(`${padding(logger.depth)}→ ${sm(point, label)}`); ++logger.depth; },
exit: (point, label, ret) => { --logger.depth; console.log(`${padding(logger.depth)}← ${sm(point, label)}`); },
depth: 0
};
return logger;
}
}
async function renderEntry (entry) {
const fails = entry.status === "nonconformant";
// locate FixedMap entry
const shapeString = entry.shape === ShEx.Validator.start ? START_SHAPE_INDEX_ENTRY : entry.shape;
const fixedMapEntry = $("#fixedMap .pair"+
"[data-node='"+entry.node+"']"+
"[data-shape='"+shapeString+"']");
const klass = (fails ^ fixedMapEntry.find(".shapeMap-joiner").hasClass("nonconformant")) ? "fails" : "passes";
const resultStr = fails ? "✗" : "✓";
let elt = null;
if (!fails) {
if ($("#success").val() === "query" || $("#success").val() === "remainder") {
const proofStore = new RdfJs.Store();
ShEx.Util.getProofGraph(entry.appinfo, proofStore, RdfJs.DataFactory);
entry.graph = proofStore.getQuads();
}
if ($("#success").val() === "remainder") {
const remainder = new RdfJs.Store();
remainder.addQuads((await Caches.inputData.refresh()).getQuads());
entry.graph.forEach(q => remainder.removeQuad(q));
entry.graph = remainder.getQuads();
}
}
if (entry.graph) {
const wr = new RdfJs.Writer(Caches.inputData.meta);
wr.addQuads(entry.graph);
wr.end((error, results) => {
if (error)
throw error;
entry.turtle = ""
+ "# node: " + entry.node + "\n"
+ "# shape: " + entry.shape + "\n"
+ results.trim();
elt = $("<pre/>").text(entry.turtle).addClass(klass);
});
delete entry.graph;
} else {
let renderMe = entry
switch ($("#interface").val()) {
case "human":
elt = $("<div class='human'/>").append(
$("<span/>").text(resultStr),
$("<span/>").text(
`${Caches.inputData.meta.termToLex(entry.node)}@${fails ? "!" : ""}${Caches.inputSchema.meta.termToLex(entry.shape)}`
)).addClass(klass);
if (fails)
elt.append($("<pre>").text(ShEx.Util.errsToSimple(entry.appinfo).join("\n")));
break;
case "minimal":
if (fails)
entry.reason = ShEx.Util.errsToSimple(entry.appinfo).join("\n");
renderMe = Object.keys(entry).reduce((acc, key) => {
if (key !== "appinfo")
acc[key] = entry[key];
return acc
}, {});
// falling through to default covers the appinfo case
default:
elt = $("<pre/>").text(JSON.stringify(renderMe, null, " ")).addClass(klass);
}
}
results.append(elt);
// update the FixedMap
fixedMapEntry.addClass(klass).find("a").text(resultStr);
const nodeLex = fixedMapEntry.find("input.focus").val();
const shapeLex = fixedMapEntry.find("input.inputShape").val();
const anchor = encodeURIComponent(nodeLex) + "@" + encodeURIComponent(shapeLex);
elt.attr("id", anchor);
fixedMapEntry.find("a").attr("href", "#" + anchor);
fixedMapEntry.attr("title", entry.elapsed + " ms")
if (entry.status === "conformant") {
const resultBindings = ShEx.Util.valToExtension(entry.appinfo, MapModule.url);
await Caches.bindings.set(JSON.stringify(resultBindings, null, " "));
} else {
await Caches.bindings.set("{}");
}
}
function finishRendering (done) {
$("#results .status").text("rendering results...").show();
// Add commas to JSON results.
if ($("#interface").val() !== "human")
$("#results div *").each((idx, elt) => {
if (idx === 0)
$(elt).prepend("[");
$(elt).append(idx === $("#results div *").length - 1 ? "]" : ",");
});
$("#results .status").hide();
// for debugging values and schema formats:
// try {
// const x = ShEx.Util.valToValues(ret);
// // const x = ShEx.Util.ShExJtoAS(valuesToSchema(valToValues(ret)));
// res = results.replace(JSON.stringify(x, null, " "));
// const y = ShEx.Util.valuesToSchema(x);
// res = results.append(JSON.stringify(y, null, " "));
// } catch (e) {
// console.dir(e);
// }
results.finish();
}
function failMessage (e, action, text) {
$("#results .status").empty().text("Errors encountered:").show()
const div = $("<div/>").addClass("error");
div.append($("<h3/>").text("error " + action + ":\n"));
div.append($("<pre/>").text(e.message));
if (text)
div.append($("<pre/>").text(text));
results.append(div);
LastFailTime = new Date().getTime();
}
async function materialize () {
SharedForTests.promise = materializeAsync()
}
async function materializeAsync () {
if (Caches.bindings.get().trim().length === 0) {
results.replace("You must validate data against a ShExMap schema to populate mappings bindings.").
removeClass("passes fails").addClass("error");
return null;
}
results.start();
const parsing = "output schema";
try {
const outputSchemaText = Caches.outputSchema.selection.val();
const outputSchemaIsJSON = outputSchemaText.match(/^\s*\{/);
const outputSchema = await Caches.outputSchema.refresh();
// const resultBindings = Object.assign(
// await Caches.statics.refresh(),
// await Caches.bindings.refresh()
// );
function _dup (obj) { return JSON.parse(JSON.stringify(obj)); }
const resultBindings = _dup(await Caches.bindings.refresh());
if (Caches.statics.get().trim().length === 0)
await Caches.statics.set("{ }");
const _t = await Caches.statics.refresh();
if (_t && Object.keys(_t) > 0) {
if (!Array.isArray(resultBindings))
resultBindings = [resultBindings];
resultBindings.unshift(_t);
}
// const trivialMaterializer = Mapper.trivialMaterializer(outputSchema);
const outputShapeMap = fixedShapeMapToTerms([{
node: Caches.inputData.meta.lexToTerm($("#createRoot").val()),
shape: Caches.outputSchema.meta.lexToTerm($("#outputShape").val()) // resolve with Caches.outputSchema
}]);
const binder = Mapper.binder(resultBindings);
await Caches.bindings.set(JSON.stringify(resultBindings, null, " "));
// const outputGraph = trivialMaterializer.materialize(binder, lexToTerm($("#createRoot").val()), outputShape);
// binder = Mapper.binder(resultBindings);
const generatedGraph = new RdfJs.Store();
$("#results div").empty();
$("#results .status").text("materializing data...").show();
outputShapeMap.forEach(pair => {
try {
const materializer = MapModule.materializer.construct(outputSchema, Mapper, {});
const res = materializer.validate(binder, pair.node, pair.shape);
if ("errors" in res) {
renderEntry( {
node: pair.node,
shape: pair.shape,
status: "errors" in res ? "nonconformant" : "conformant",
appinfo: res,
elapsed: -1
})
// $("#results .status").text("validation errors:").show();
// $("#results .status").text("synthesis errors:").show();
// failMessage(e, currentAction);
} else {
// console.log("g:", ShEx.Util.valToTurtle(res));
generatedGraph.addQuads(ShEx.Util.valToN3js(res, RdfJs.DataFactory));
}
} catch (e) {
console.dir(e);
}
});
finishRendering();
$("#results .status").text("materialization results").show();
const writer = new RdfJs.Writer({ prefixes: Caches.outputSchema.parsed._prefixes });
writer.addQuads(generatedGraph.getQuads());
writer.end(function (error, result) {
results.append(
$("<div/>", {class: "passes"}).append(
$("<span/>", {class: "shapeMap"}).append(
"# ",
$("<span/>", {class: "data"}).text($("#createRoot").val()),
$("<span/>", {class: "valStatus"}).text("@"),
$("<span/>", {class: "schema"}).text($("#outputShape").val()),
),
$("<pre/>").text(result)
)
)
// results.append($("<pre/>").text(result));
});
results.finish();
return { materializationResults: generatedGraph };
} catch (e) {
results.replace("error parsing " + parsing + ":\n" + e).
removeClass("passes fails").addClass("error");
// results.finish();
return null;
}
}
function addEmptyEditMapPair (evt) {
addEditMapPairs(null, $(evt.target).parent().parent());
markEditMapDirty();
return false;
}
function addEditMapPairs (pairs, target) {
(pairs || [{node: {type: "empty"}}]).forEach(pair => {
const nodeType = (typeof pair.node !== "object" || "@value" in pair.node)
? "node"
: pair.node.type;
let skip = false;
let node, shape;
switch (nodeType) {
case "empty": node = shape = ""; break;
case "node": node = ldToTurtle(pair.node, Caches.inputData.meta.termToLex); shape = startOrLdToTurtle(pair.shape); break;
case "TriplePattern": node = renderTP(pair.node); shape = startOrLdToTurtle(pair.shape); break;
case "Extension":
failMessage(Error("unsupported extension: <" + pair.node.language + ">"),
"parsing Query Map", pair.node.lexical);
skip = true; // skip this entry.
break;
default:
results.append($("<div/>").append(
$("<span/>").text("unrecognized ShapeMap:"),
$("<pre/>").text(JSON.stringify(pair))
).addClass("error"));
skip = true; // skip this entry.
break;
}
if (!skip) {
const spanElt = $("<tr/>", {class: "pair"});
const focusElt = $("<textarea/>", {
rows: '1',
type: 'text',
class: 'data focus'
}).text(node).on("change", markEditMapDirty);
const joinerElt = $("<span>", {
class: 'shapeMap-joiner'
}).append("@").addClass(pair.status);
joinerElt.append(
$("<input>", {style: "border: none; width: .2em;", readonly: "readonly"}).val(pair.status === "nonconformant" ? "!" : " ").on("click", function (evt) {
const status = $(this).parent().hasClass("nonconformant") ? "conformant" : "nonconformant";
$(this).parent().removeClass("conformant nonconformant");
$(this).parent().addClass(status);
$(this).val(status === "nonconformant" ? "!" : "");
markEditMapDirty();
evt.preventDefault();
})
);
// if (pair.status === "nonconformant") {
// joinerElt.append("!");
// }
const shapeElt = $("<input/>", {
type: 'text',
value: shape,
class: 'schema inputShape'
}).on("change", markEditMapDirty);
const addElt = $("<button/>", {
class: "addPair",
title: "add a node/shape pair"}).text("+");
const removeElt = $("<button/>", {
class: "removePair",
title: "remove this node/shape pair"}).text("-");
addElt.on("click", addEmptyEditMapPair);
removeElt.on("click", removeEditMapPair);
spanElt.append([focusElt, joinerElt, shapeElt, addElt, removeElt].map(elt => {
return $("<td/>").append(elt);
}));
if (target) {
target.after(spanElt);
} else {
$("#editMap").append(spanElt);
}
}
});
if ($("#editMap .removePair").length === 1)
$("#editMap .removePair").css("visibility", "hidden");
else
$("#editMap .removePair").css("visibility", "visible");
$("#editMap .pair").each(idx => {
addContextMenus("#editMap .pair:nth("+idx+") .focus", Caches.inputData);
addContextMenus(".pair:nth("+idx+") .inputShape", Caches.inputSchema);
});
return false;
function renderTP (tp) {
const ret = ["subject", "predicate", "object"].map(k => {
const ld = tp[k];
if (ld === ShEx.ShapeMap.focus)
return "FOCUS";
if (!ld) // ?? ShEx.Uti.any
return "_";
return ldToTurtle(ld, Caches.inputData.meta.termToLex);
});
return "{" + ret.join(" ") + "}";
}
function startOrLdToTurtle (term) {
return term === ShEx.Validator.start ? START_SHAPE_LABEL : ldToTurtle(term, Caches.inputSchema.meta.termToLex);
}
}
function removeEditMapPair (evt) {
markEditMapDirty();
if (evt) {
$(evt.target).parent().parent().remove();
} else {
$("#editMap .pair").remove();
}
if ($("#editMap .removePair").length === 1)
$("#editMap .removePair").css("visibility", "hidden");
return false;
}
function prepareControls () {
$("#menu-button").on("click", toggleControls);
$("#interface").on("change", setInterface);
$("#success").on("change", setInterface);
$("#regexpEngine").on("change", toggleControls);
$("#validate").on("click", disableResultsAndValidate);
$("#clear").on("click", clearAll);
$("#materialize").on("click", materialize);
$("#download-results-button").on("click", downloadResults);
$("#loadForm").dialog({
autoOpen: false,
modal: true,
buttons: {
"GET": function (evt, ui) {
results.clear();
const target = Getables.find(g => g.queryStringParm === $("#loadForm span.whatToLoad").text());
const url = $("#loadInput").val();
const tips = $(".validateTips");
function updateTips (t) {
tips
.text( t )
.addClass( "ui-state-highlight" );
setTimeout(function() {
tips.removeClass( "ui-state-highlight", 1500 );
}, 500 );
}
if (url.length < 5) {
$("#loadInput").addClass("ui-state-error");
updateTips("URL \"" + url + "\" is way too short.");
return;
}
tips.removeClass("ui-state-highlight").text();
SharedForTests.promise = target.cache.asyncGet(url).catch(function (e) {
updateTips(e.message);
});
},
"Cancel": function() {
$("#loadInput").removeClass("ui-state-error");
$("#loadForm").dialog("close");
toggleControls();
}
},
close: function() {
$("#loadInput").removeClass("ui-state-error");
$("#loadForm").dialog("close");
toggleControls();
}
});
Getables.forEach(target => {
const type = target.queryStringParm
$("#load-"+type+"-button").click(evt => {
const prefillURL = target.url ? target.url :
target.cache.meta.base && target.cache.meta.base !== DefaultBase ? target.cache.meta.base :
"";
$("#loadInput").val(prefillURL);
$("#loadForm").attr("class", type).find("span.whatToLoad").text(type);
$("#loadForm").dialog("open");
});
});
$("#about").dialog({
autoOpen: false,
modal: true,
width: "50%",
buttons: {
"Dismiss": dismissModal
},
close: dismissModal
});
$("#about-button").click(evt => {
$("#about").dialog("open");
});
$("#shapeMap-tabs").tabs({
activate: async function (event, ui) {
if (ui.oldPanel.get(0) === $("#editMap-tab").get(0))
await copyEditMapToTextMap();
else if (ui.oldPanel.get(0) === $("#textMap").get(0))
await copyTextMapToEditMap()
}
});
$("#textMap").on("change", evt => {
results.clear();
SharedForTests.promise = copyTextMapToEditMap();
});
Caches.inputData.selection.on("change", dataInputHandler); // input + paste?
// $("#copyEditMapToFixedMap").on("click", copyEditMapToFixedMap); // may add this button to tutorial
function dismissModal (evt) {
// $.unblockUI();
$("#about").dialog("close");
toggleControls();
return true;
}
// Prepare file uploads
$("input.inputfile").each((idx, elt) => {
$(elt).on("change", function (evt) {
const reader = new FileReader();
reader.onload = function(evt) {
if(evt.target.readyState != 2) return;
if(evt.target.error) {
alert("Error while reading file");
return;
}
$($(elt).attr("data-target")).val(evt.target.result);
};
reader.readAsText(evt.target.files[0]);
});
});
}
async function dataInputHandler (evt) {
const active = $('#shapeMap-tabs ul li.ui-tabs-active a').attr('href');
if (active === "#editMap-tab")
return await copyEditMapToTextMap();
else // if (active === "#textMap")
return await copyTextMapToEditMap();
}
async function toggleControls (evt) {
// don't use `return false` 'cause the browser doesn't wait around for a promise before looking at return false to decide the event is handled
if (evt) evt.preventDefault();
const revealing = evt && $("#controls").css("display") !== "flex";
$("#controls").css("display", revealing ? "flex" : "none");
toggleControlsArrow(revealing ? "up" : "down");
if (revealing) {
let target = evt.target;
while (target.tagName !== "BUTTON")
target = target.parentElement;
if ($("#menuForm").css("position") === "absolute") {
$("#controls").
css("top", 0).
css("left", $("#menu-button").css("margin-left"));
} else {
const bottonBBox = target.getBoundingClientRect();
const controlsBBox = $("#menuForm").get(0).getBoundingClientRect();
const left = bottonBBox.right - bottonBBox.width; // - controlsBBox.width;
$("#controls").css("top", bottonBBox.bottom).css("left", left);
}
$("#permalink a").removeAttr("href"); // can't click until ready
const permalink = await getPermalink();
$("#permalink a").attr("href", permalink);
}
}
function toggleControlsArrow (which) {
// jQuery can't find() a prefixed attribute (xlink:href); fall back to DOM:
if (document.getElementById("menu-button") === null)
return;
const down = $(document.getElementById("menu-button").
querySelectorAll('use[*|href="#down-arrow"]'));
const up = $(document.getElementById("menu-button").
querySelectorAll('use[*|href="#up-arrow"]'));
switch (which) {
case "down":
down.show();
up.hide();
break;
case "up":
down.hide();
up.show();
break;
default:
throw Error("toggleControlsArrow expected [up|down], got \"" + which + "\"");
}
}
function setInterface (evt) {
toggleControls();
customizeInterface();
}
function downloadResults (evt) {
const typed = [
{ type: "text/plain", name: "results.txt" },
{ type: "application/json", name: "results.json" }
][$("#interface").val() === "appinfo" ? 1 : 0];
const blob = new Blob([results.text()], {type: typed.type});
$("#download-results-button")
.attr("href", window.URL.createObjectURL(blob))
.attr("download", typed.name);
toggleControls();
console.log(results.text());
}
/**
*
* location.search: e.g. "?schema=asdf&data=qwer&shape-map=ab%5Ecd%5E%5E_ef%5Egh"
*/
const parseQueryString = function(query) {
if (query[0]==='?') query=query.substr(1); // optional leading '?'
const map = {};
query.replace(/([^&,=]+)=?([^&,]*)(?:[&,]+|$)/g, function(match, key, value) {
key=decodeURIComponent(key);value=decodeURIComponent(value);
(map[key] = map[key] || []).push(value);
});
return map;
};
function markEditMapDirty () {
$("#editMap").attr("data-dirty", true);
}
function markEditMapClean () {
$("#editMap").attr("data-dirty", false);
}
/** getShapeMap -- zip a node list and a shape list into a ShapeMap
* use {Caches.inputData,Caches.inputSchema}.meta.{prefix,base} to complete IRIs
* @return array of encountered errors
*/
async function copyEditMapToFixedMap () {
$("#fixedMap tbody").empty(); // empty out the fixed map.
const fixedMapTab = $("#shapeMap-tabs").find('[href="#fixedMap-tab"]');
const restoreText = fixedMapTab.text();
fixedMapTab.text("resolving Fixed Map").addClass("running");
$("#fixedMap .pair").remove(); // clear out existing edit map (make optional?)
const nodeShapePromises = $("#editMap .pair").get().reduce((acc, queryPair) => {
$(queryPair).find(".error").removeClass("error"); // remove previous error markers
const node = $(queryPair).find(".focus").val();
const shape = $(queryPair).find(".inputShape").val();
const status = $(queryPair).find(".shapeMap-joiner").hasClass("nonconformant") ? "nonconformant" : "conformant";
if (!node || !shape)
return acc;
const smparser = ShEx.ShapeMapParser.construct(
Caches.shapeMap.meta.base, Caches.inputSchema.meta, Caches.inputData.meta);
const nodes = [];
try {
const sm = smparser.parse(node + '@' + shape)[0];
const added = typeof sm.node === "string" || "@value" in sm.node
? Promise.resolve({nodes: [node], shape: shape, status: status})
: getQuads(sm.node.subject, sm.node.predicate, sm.node.object)
.then(nodes => Promise.resolve({nodes: nodes, shape: shape, status: status}));
return acc.concat(added);
} catch (e) {
// find which cell was broken
try { smparser.parse(node + '@' + "START"); } catch (e) {
$(queryPair).find(".focus").addClass("error");
}
try { smparser.parse("<>" + '@' + shape); } catch (e) {
$(queryPair).find(".inputShape").addClass("error");
}
failMessage(e, "parsing Edit Map", node + '@' + shape);
nodes = Promise.resolve([]); // skip this entry
return acc;
}
}, []);
const pairs = await Promise.all(nodeShapePromises)
pairs.reduce((acc, pair) => {
pair.nodes.forEach(node => {
const nodeTerm = Caches.inputData.meta.lexToTerm(node + " "); // for langcode lookahead
let shapeTerm = Caches.inputSchema.meta.lexToTerm(pair.shape);
if (shapeTerm === ShEx.Validator.start)
shapeTerm = START_SHAPE_INDEX_ENTRY;
const key = nodeTerm + "|" + shapeTerm;
if (key in acc)
return;
const spanElt = createEntry(node, nodeTerm, pair.shape, shapeTerm, pair.status);
acc[key] = spanElt; // just needs the key so far.
});
return acc;
}, {})
// scroll inputs to right
$("#fixedMap input").each((idx, focusElt) => {
focusElt.scrollLeft = focusElt.scrollWidth;
});
fixedMapTab.text(restoreText).removeClass("running");
return []; // no errors
async function getQuads (s, p, o) {
const get = s === ShEx.ShapeMap.focus ? "subject" : "object";
return (await Caches.inputData.refresh()).getQuads(mine(s), mine(p), mine(o)).map(t => {
return Caches.inputData.meta.termToLex(t[get]);// !!check
});
function mine (term) {
return term === ShEx.ShapeMap.focus || term === ShEx.ShapeMap.wildcard
? null
: term;
}
}
function createEntry (node, nodeTerm, shape, shapeTerm, status) {
const spanElt = $("<tr/>", {class: "pair"
,"data-node": nodeTerm
,"data-shape": shapeTerm
});
const focusElt = $("<input/>", {
type: 'text',
value: node,
class: 'data focus',
disabled: "disabled"
});
const joinerElt = $("<span>", {
class: 'shapeMap-joiner'
}).append("@").addClass(status);
if (status === "nonconformant") {
joinerElt.addClass("negated");
joinerElt.append("!");
}
const shapeElt = $("<input/>", {
type: 'text',
value: shape,
class: 'schema inputShape',
disabled: "disabled"
});
const removeElt = $("<button/>", {
class: "removePair",
title: "remove this node/shape pair"}).text("-");
removeElt.on("click", evt => {
// Remove related result.
let href, result;
if ((href = $(evt.target).closest("tr").find("a").attr("href"))
&& (result = document.getElementById(href.substr(1))))
$(result).remove();
// Remove FixedMap entry.
$(evt.target).closest("tr").remove();
});
spanElt.append([focusElt, joinerElt, shapeElt, removeElt, $("<a/>")].map(elt => {
return $("<td/>").append(elt);
}));
$("#fixedMap").append(spanElt);
return spanElt;
}
}
function lexifyFirstColumn (row) { // !!not used
return Caches.inputData.meta.termToLex(row[0]); // row[0] is the first column.
}
/**
* @return list of errors encountered
*/
async function copyEditMapToTextMap () {
if ($("#editMap").attr("data-dirty") === "true") {
const text = $("#editMap .pair").get().reduce((acc, queryPair) => {
const node = $(queryPair).find(".focus").val();
const shape = $(queryPair).find(".inputShape").val();
if (!node || !shape)
return acc;
const status = $(queryPair).find(".shapeMap-joiner").hasClass("nonconformant") ? "!" : "";
return acc.concat([node+"@"+status+shape]);
}, []).join(",\n");
$("#textMap").empty().val(text);
const ret = await copyEditMapToFixedMap();
markEditMapClean();
return ret;
} else {
return []; // no errors
}
}
/**
* Parse query map to populate #editMap and #fixedMap.
* @returns list of errors. ([] means everything was good.)
*/
async function copyTextMapToEditMap () {
$("#textMap").removeClass("error");
const shapeMap = $("#textMap").val();
results.clear();
try {
await Caches.inputSchema.refresh();
await Caches.inputData.refresh();
const smparser = ShEx.ShapeMapParser.construct(
Caches.shapeMap.meta.base, Caches.inputSchema.meta, Caches.inputData.meta);
const sm = smparser.parse(shapeMap);
removeEditMapPair(null);
addEditMapPairs(sm.length ? sm : null);
const ret = await copyEditMapToFixedMap();
markEditMapClean();
results.clear();
return ret;
} catch (e) {
$("#textMap").addClass("error");
failMessage(e, "parsing Query Map");
makeFreshEditMap()
return [e];
}
}
function makeFreshEditMap () {
removeEditMapPair(null);
addEditMapPairs(null, null);
markEditMapClean();
return [];
}
/** fixedShapeMapToTerms -- map ShapeMap to API terms
* @@TODO: add to ShExValidator so API accepts ShapeMap
*/
function fixedShapeMapToTerms (shapeMap) {
return shapeMap; /*.map(pair => {
return {node: Caches.inputData.meta.lexToTerm(pair.node + " "),
shape: Caches.inputSchema.meta.lexToTerm(pair.shape)};
});*/
}
/**
* Load URL search parameters
*/
async function loadSearchParameters () {
// don't overwrite if we arrived here from going back and forth in history
if (Caches.inputSchema.selection.val() !== "" || Caches.inputData.selection.val() !== "")
return Promise.resolve();
const iface = parseQueryString(location.search);
toggleControlsArrow("down");
$(".manifest li").text("no manifest schemas loaded");
if ("examples" in iface) { // deprecated ?examples= interface
iface.manifestURL = iface.examples;
delete iface.examples;
}
if (!("manifest" in iface) && !("manifestURL" in iface)) {
iface.manifestURL = ["../examples/manifest.json"];
}
if ("output-map" in iface)
parseShapeMap("output-map", function (node, shape) {
// only works for one n/s pair
$("#createNode").val(node);
$("#outputShape").val(shape);
});
// Load all known query parameters. Save load results into array like:
/* [ [ "data", { "skipped": "skipped" } ],
[ "manifest", { "fromUrl": { "url": "http://...", "data": "..." } } ], ] */
const loadedAsArray = await Promise.all(QueryParams.map(async input => {
const label = input.queryStringParm;
const parm = label;
if (parm + "URL" in iface) {
const url = iface[parm + "URL"][0];
if (url.length > 0) { // manifest= loads no manifest
// !!! set anyways in asyncGet?
input.cache.url = url; // all fooURL query parms are caches.
try {
const got = await input.cache.asyncGet(url)
return [label, {fromUrl: got}]
} catch(e) {
if ("fail" in input) {
input.fail(e);
} else {
input.location.val(e.message);
}
results.append($("<pre/>").text(e).addClass("error"));
return [label, { loadFailure: e instanceof Error ? e : Error(e) }];
};
}
} else if (parm in iface) {
const prepend = input.location.prop("tagName") === "TEXTAREA" ?
input.location.val() :
"";
const value = prepend + iface[parm].join("");
const origValue = input.location.val();
try {
if ("cache" in input) {
await input.cache.set(value, location.href);
} else {
input.location.val(prepend + value);
if (input.location.val() === null)
throw Error(`Unable to set value to ${prepend + value}`)
}
return [label, { literal: value }]
} catch (e) {
input.location.val(origValue);
if ("fail" in input) {
input.fail(e);
}
results.append($("<pre/>").text(
"error setting " + label + ":\n" + e + "\n" + value
).addClass("error"));
return [label, { failure: e }]
}
} else if ("deflt" in input) {
input.location.val(input.deflt);
return [label, { deflt: "deflt" }]; // flag that it was a default
}
return [label, { skipped: "skipped" }]
}))
// convert loaded array into Object:
/* { "data": { "skipped": "skipped" },
"manifest": { "fromUrl": { "url": "http://...", "data": "..." } }, } */
const loaded = loadedAsArray.reduce((acc, fromArray) => {
acc[fromArray[0]] = fromArray[1]
return acc
}, {})
// Parse the shape-map using the prefixes and base.
const shapeMapErrors = $("#textMap").val().trim().length > 0
? copyTextMapToEditMap()
: makeFreshEditMap();
customizeInterface();
$("body").keydown(async function (e) { // keydown because we need to preventDefault
const code = e.keyCode || e.charCode; // standards anyone?
if (e.ctrlKey && (code === 10 || code === 13)) { // ctrl-enter
// const at = $(":focus");
const smErrors = await dataInputHandler();
if (smErrors.length === 0)
$("#validate")/*.focus()*/.click();
// at.focus();
return false; // same as e.preventDefault();
} else if (e.ctrlKey && e.key === "\\") {
$("#materialize").click();
return false; // same as e.preventDefault();
} else if (e.ctrlKey && e.key === "[") {
bindingsToTable()
return false; // same as e.preventDefault();
} else if (e.ctrlKey && e.key === "]") {
tableToBindings()
return false; // same as e.preventDefault();
} else {
return true;
}
});
addContextMenus("#focus0", Caches.inputData);
addContextMenus("#inputShape0", Caches.inputSchema);
addContextMenus("#outputShape", Caches.outputSchema);
if ("schemaURL" in iface ||
// some schema is non-empty
("schema" in iface &&
iface.schema.reduce((r, elt) => { return r+elt.length; }, 0))
&& shapeMapErrors.length === 0) {
return callValidator();
}
return loaded;
}
function setTextAreaHandlers (listItems) {
const textAreaCaches = ["inputSchema", "inputData", "shapeMap"]
const timeouts = Object.keys(Caches).reduce((acc, k) => {
acc[k] = undefined;
return acc;
}, {});
Object.keys(Caches).forEach(function (cache) {
Caches[cache].selection.keyup(function (e) { // keyup to capture backspace
const code = e.keyCode || e.charCode;
// if (!(e.ctrlKey)) {
// results.clear();
// }
if (!(e.ctrlKey && (code === 10 || code === 13))) {
later(e.target, cache, Caches[cache]);
}
});
});
function later (target, side, cache) {
cache.dirty(true);
if (timeouts[side])
clearTimeout(timeouts[side]);
timeouts[side] = setTimeout(() => {
timeouts[side] = undefined;
const curSum = sum($(target).val());
if (curSum in listItems[side])
listItems[side][curSum].addClass("selected");
else
$("#"+side+" .selected").removeClass("selected");
delete cache.url;
}, INPUTAREA_TIMEOUT);
}
}
/**
* update location with a current values of some inputs
*/
async function getPermalink () {
let parms = [];
await copyEditMapToTextMap();
parms = parms.concat(QueryParams.reduce((acc, input) => {
let parm = input.queryStringParm;
let val = input.location.val();
if (input.cache && input.cache.url &&
// Specifically avoid loading from DefaultBase?schema=blah
// because that will load the HTML page.
!input.cache.url.startsWith(DefaultBase)) {
parm += "URL";
val = input.cache.url;
}
return val.length > 0 ?
acc.concat(parm + "=" + encodeURIComponent(val)) :
acc;
}, []));
const s = parms.join("&");
return location.origin + location.pathname + "?" + s;
}
function customizeInterface () {
if ($("#interface").val() === "minimal") {
$("#inputSchema .status").html("schema (<span id=\"schemaDialect\">ShEx</span>)").show();
$("#inputData .status").html("data (<span id=\"dataDialect\">Turtle</span>)").show();
$("#actions").parent().children().not("#actions").hide();
$("#title img, #title h1").hide();
$("#menuForm").css("position", "absolute").css(
"left",
$("#inputSchema .status").get(0).getBoundingClientRect().width -
$("#menuForm").get(0).getBoundingClientRect().width
);
$("#controls").css("position", "relative");
} else {
$("#inputSchema .status").html("schema (<span id=\"schemaDialect\">ShEx</span>)").hide();
$("#inputData .status").html("data (<span id=\"dataDialect\">Turtle</span>)").hide();
$("#actions").parent().children().not("#actions").show();
$("#title img, #title h1").show();
$("#menuForm").removeAttr("style");
$("#controls").css("position", "absolute");
}
}
/**
* Prepare drag and drop into text areas
*/
async function prepareDragAndDrop () {
QueryParams.filter(q => {
return "cache" in q;
}).map(q => {
return {
location: q.location,
targets: [{
ext: "", // Will match any file
media: "", // or media type.
target: q.cache
}]
};
}).concat([
{location: $("body"), targets: [
{media: "application/json", target: Caches.manifest},
{ext: ".shex", media: "text/shex", target: Caches.inputSchema},
{ext: ".ttl", media: "text/turtle", target: Caches.inputData},
{ext: ".json", media: "application/json", target: Caches.manifest},
{ext: ".smap", media: "text/plain", target: Caches.shapeMap}]}
]).forEach(desc => {
const droparea = desc.location;
// kudos to http://html5demos.com/dnd-upload
desc.location.
on("drag dragstart dragend dragover dragenter dragleave drop", function (e) {
e.preventDefault();
e.stopPropagation();
}).
on("dragover dragenter", (evt) => {
desc.location.addClass("hover");
}).
on("dragend dragleave drop", (evt) => {
desc.location.removeClass("hover");
}).
on("drop", (evt) => {
evt.preventDefault();
droparea.removeClass("droppable");
$("#results .status").removeClass("error");
results.clear();
let xfer = evt.originalEvent.dataTransfer;
const prefTypes = [
{type: "files"},
{type: "application/json"},
{type: "text/uri-list"},
{type: "text/plain"}
];
const promises = [];
if (prefTypes.find(l => {
if (l.type.indexOf("/") === -1) {
if (l.type in xfer && xfer[l.type].length > 0) {
$("#results .status").text("handling "+xfer[l.type].length+" files...").show();
promises.push(readfiles(xfer[l.type], desc.targets));
return true;
}
} else {
if (xfer.getData(l.type)) {
const val = xfer.getData(l.type);
$("#results .status").text("handling "+l.type+"...").show();
if (l.type === "application/json") {
if (desc.location.get(0) === $("body").get(0)) {
let parsed = JSON.parse(val);
if (!(Array.isArray(parsed))) {
parsed = [parsed];
}
parsed.map(elt => {
const action = "action" in elt ? elt.action: elt;
action.schemaURL = action.schema; delete action.schema;
action.dataURL = action.data; delete action.data;
});
promises.push(Caches.manifest.set(parsed, DefaultBase, "drag and drop"));
} else {
promises.push(inject(desc.targets, DefaultBase, val, l.type));
}
} else if (l.type === "text/uri-list") {
$.ajax({
accepts: {
mycustomtype: 'text/shex,text/turtle,*/*'
},
url: val,
dataType: "text"
}).fail(function (jqXHR, textStatus) {
const error = jqXHR.statusText === "OK" ? textStatus : jqXHR.statusText;
results.append($("<pre/>").text("GET <" + val + "> failed: " + error));
}).done(function (data, status, jqXhr) {
try {
promises.push(inject(desc.targets, val, data, (jqXhr.getResponseHeader("Content-Type") || "unknown-media-type").split(/[ ;,]/)[0]));
$("#loadForm").dialog("close");
toggleControls();
} catch (e) {
results.append($("<pre/>").text("unable to evaluate <" + val + ">: " + (e.stack || e)));
}
});
} else if (l.type === "text/plain") {
promises.push(inject(desc.targets, DefaultBase, val, l.type));
}
$("#results .status").text("").hide();
// desc.targets.text(xfer.getData(l.type));
return true;
async function inject (targets, url, data, mediaType) {
const target =
targets.length === 1 ? targets[0].target :
targets.reduce((ret, elt) => {
return ret ? ret :
mediaType === elt.media ? elt.target :
null;
}, null);
if (target) {
const appendTo = $("#append").is(":checked") ? target.get() : "";
await target.set(appendTo + data, url, 'drag and drop', mediaType);
} else {
results.append("don't know what to do with " + mediaType + "\n");
}
}
}
}
return false;
}) === undefined)
results.append($("<pre/>").text(
"drag and drop not recognized:\n" +
JSON.stringify({
dropEffect: xfer.dropEffect,
effectAllowed: xfer.effectAllowed,
files: xfer.files.length,
items: [].slice.call(xfer.items).map(i => {
return {kind: i.kind, type: i.type};
})
}, null, 2)
));
SharedForTests.promise = Promise.all(promises);
});
});
/*async*/ function readfiles(files, targets) { // returns promise but doesn't use await
const formData = new FormData();
let successes = 0;
const promises = [];
for (let i = 0; i < files.length; i++) {
const file = files[i], name = file.name;
const target = targets.reduce((ret, elt) => {
return ret ? ret :
name.endsWith(elt.ext) ? elt.target :
null;
}, null);
if (target) {
promises.push(new Promise((resolve, reject) => {
formData.append("file", file);
const reader = new FileReader();
reader.onload = (function (target) {
return async function (event) {
const appendTo = $("#append").is(":checked") ? target.get() : "";
await target.set(appendTo + event.target.result, DefaultBase);
++successes;
resolve()
};
})(target);
reader.readAsText(file);
}))
} else {
results.append("don't know what to do with " + name + "\n");
}
}
return Promise.all(promises).then(() => {
$("#results .status").text("loaded "+successes+" files.").show();
})
}
}
async function prepareManifest (demoList, base) {
const listItems = Object.keys(Caches).reduce((acc, k) => {
acc[k] = {};
return acc;
}, {});
const nesting = demoList.reduce(function (acc, elt) {
const key = elt.schemaLabel + "|" + elt.schema;
if (!(key in acc)) {
// first entry with this schema
acc[key] = {
label: elt.schemaLabel,
text: elt.schema,
url: elt.schemaURL || (elt.schema ? base : undefined)
};
} else {
// nth entry with this schema
}
if ("dataLabel" in elt) {
const dataEntry = {
label: elt.dataLabel,
text: elt.data,
url: elt.dataURL || (elt.data ? base : undefined),
outputSchemaUrl: elt.outputSchemaURL || (elt.outputSchema ? base : undefined),
entry: elt
};
const target = elt.status === "nonconformant"
? "fails"
: elt.status === "conformant" ? "passes" : "indeterminant";
if (!(target in acc[key])) {
// first entry with this data
acc[key][target] = [dataEntry];
} else {
// n'th entry with this data
acc[key][target].push(dataEntry);
}
} else {
// this is a schema-only example
}
return acc;
}, {});
const nestingAsList = Object.keys(nesting).map(e => nesting[e]);
await paintManifest("#inputSchema .manifest ul", nestingAsList, pickSchema, listItems, "inputSchema");
}
function addContextMenus (inputSelector, cache) {
// !!! terribly stateful; only one context menu at a time!
const DATA_HANDLE = 'runCallbackThingie'
let terms = null, nodeLex = null, target, scrollLeft, m, addSpace = "";
$(inputSelector).on('contextmenu', rightClickHandler)
$.contextMenu({
trigger: 'none',
selector: inputSelector,
build: function($trigger, e) {
// return callback set by the mouseup handler
return $trigger.data(DATA_HANDLE)();
}
});
async function buildMenuItemsPromise (elt, evt) {
if (elt.hasClass("data")) {
nodeLex = elt.val();
const shapeLex = elt.parent().parent().find(".schema").val()
// Would like to use SMParser but that means users can't fix bad SMs.
/*
const sm = smparser.parse(nodeLex + '@START')[0];
const m = typeof sm.node === "string" || "@value" in sm.node
? null
: tpToM(sm.node);
*/
m = nodeLex.match(RegExp("^"+ParseTriplePattern+"$"));
if (m) {
target = evt.target;
const selStart = target.selectionStart;
scrollLeft = target.scrollLeft;
terms = [0, 1, 2].reduce((acc, ord) => {
if (m[(ord+1)*2-1] !== undefined) {
const at = acc.start + m[(ord+1)*2-1].length;
const len = m[(ord+1)*2] ? m[(ord+1)*2].length : 0;
return {
start: at + len,
tz: acc.tz.concat([[at, len]]),
match: acc.match === null && at + len >= selStart ?
ord :
acc.match
};
} else {
return acc;
}
}, {start: 0, tz: [], match: null });
function norm (tz) {
return tz.map(t => {
return t.startsWith('!')
? "- " + t.substr(1) + " -"
: Caches.inputData.meta.termToLex(t); // !!check
});
}
const queryMapKeywords = ["FOCUS", "_"];
const getTermsFunctions = [
() => { return queryMapKeywords.concat(norm(store.getSubjects())); },
() => { return norm(store.getPredicates()); },
() => { return queryMapKeywords.concat(norm(store.getObjects())); },
];
const store = await Caches.inputData.refresh();
if (terms.match === null)
return false; // prevent contextMenu from whining about an empty list
return listToCTHash(getTermsFunctions[terms.match]())
}
}
terms = nodeLex = null;
try {
return listToCTHash(await cache.getItems())
} catch (e) {
failMessage(e, cache === Caches.inputSchema ? "parsing schema" : "parsing data");
let items = {};
const failContent = "no choices found";
items[failContent] = failContent;
return items
}
// hack to emulate regex parsing product
/*
function tpToM (tp) {
return [nodeLex, '{', lex(tp.subject), " ", lex(tp.predicate), " ", lex(tp.object), "", "}", ""];
function lex (node) {
return node === ShEx.ShapeMap.focus
? "FOCUS"
: node === null
? "_"
: Caches.inputData.meta.termToLex(node);
}
}
*/
}
function rightClickHandler (e) {
e.preventDefault();
const $this = $(this);
$this.off('contextmenu', rightClickHandler);
// when the items are ready,
const p = buildMenuItemsPromise($this, e)
p.then(items => {
// store a callback on the trigger
$this.data(DATA_HANDLE, function () {
return {
callback: menuCallback,
items: items
};
});
const _offset = $this.offset();
$this.contextMenu({
x: _offset.left + 10,
y: _offset.top + 10
})
$this.on('contextmenu', rightClickHandler)
});
}
function menuCallback (key, options) {
markEditMapDirty();
if (options.items[key].ignore) { // ignore the event
} else if (terms) {
const term = terms.tz[terms.match];
let val = nodeLex.substr(0, term[0]) +
key + addSpace +
nodeLex.substr(term[0] + term[1]);
if (terms.match === 2 && !m[9])
val = val + "}";
else if (term[0] + term[1] === nodeLex.length)
val = val + " ";
$(options.selector).val(val);
// target.scrollLeft = scrollLeft + val.length - nodeLex.length;
target.scrollLeft = target.scrollWidth;
} else {
$(options.selector).val(key);
}
}
function listToCTHash (items) {
return items.reduce((acc, item) => {
acc[item] = { name: item }
return acc
}, {})
}
}
function bindingsToTable () {
let d = JSON.parse($("#bindings1 textarea").val())
let div = $("<div/>").css("overflow", "auto").css("border", "thin solid red")
div.css("width", $("#bindings1 textarea").width()+10)
div.css("height", $("#bindings1 textarea").height()+12)
$("#bindings1 textarea").hide()
let thead = $("<thead/>")
let tbody = $("<tbody/>")
let table = $("<table>").append(thead, tbody)
$("#bindings1").append(div.append(table))
let vars = [];
function varsIn (a) {
return a.forEach(elt => {
if (Array.isArray(elt)) {
varsIn(elt)
} else {
let tr = $("<tr/>")
let cols = []
Object.keys(elt).forEach(k => {
if (vars.indexOf(k) === -1)
vars.push(k)
let i = vars.indexOf(k)
cols[i] = elt[k]
})
// tr.append(cols.map(c => $("<td/>").text(c)))
for (let colI = 0; colI < cols.length; ++colI)
tr.append($("<td/>").text(cols[colI] ? Caches.inputData.meta.termToLex(n3ify(cols[colI])) : "").css("background-color", "#f7f7f7"))
tbody.append(tr)
}
})
}
varsIn(Array.isArray(d) ? d : [d])
vars.forEach(v => {
thead.append($("<th/>").css("font-size", "small").text(v.substr(v.lastIndexOf("#")+1, 999)))
})
}
function tableToBindings () {
$("#bindings1 div").remove()
$("#bindings1 textarea").show()
}
prepareControls();
const dndPromise = prepareDragAndDrop(); // async 'cause it calls Cache.X.set("")
const loads = loadSearchParameters();
const ready = Promise.all([ dndPromise, loads ]);
if ('_testCallback' in window) {
SharedForTests.promise = ready.then(ab => ({drop: ab[0], loads: ab[1]}));
window._testCallback(SharedForTests);
}
ready.then(resolves => {
if (!('_testCallback' in window))
console.log('search parameters:', resolves[1]);
// Update UI to say we're done loading everything?
}, e => {
// Drop catch on the floor presuming thrower updated the UI.
});
function n3ify (ldterm) {
if (typeof ldterm !== "object")
return ldterm;
const ret = "\"" + ldterm.value + "\"";
if ("language" in ldterm)
return ret + "@" + ldterm.language;
if ("type" in ldterm)
return ret + "^^" + ldterm.type;
return ret;
}
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-analysis: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.9.1 / mathcomp-analysis - 0.3.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mathcomp-analysis
<small>
0.3.1
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-11-05 07:20:37 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-05 07:20:37 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.9.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.09.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1 Official release 4.09.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "pierre-yves@strub.nu"
homepage: "https://github.com/math-comp/analysis"
bug-reports: "https://github.com/math-comp/analysis/issues"
dev-repo: "git+https://github.com/math-comp/analysis.git"
license: "CECILL-C"
authors: [
"Reynald Affeldt"
"Cyril Cohen"
"Assia Mahboubi"
"Damien Rouhling"
"Pierre-Yves Strub"
]
build: [
[make "INSTMODE=global" "config"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
depends: [
"coq" {(>= "8.10" & < "8.12~") | (= "dev")}
"coq-mathcomp-field" {(>= "1.11.0" & < "1.12~")}
"coq-mathcomp-finmap" {(>= "1.5.0" & < "1.6~")}
]
synopsis: "An analysis library for mathematical components"
description: """
This repository contains an experimental library for real analysis for
the Coq proof-assistant and using the Mathematical Components library.
It is inspired by the Coquelicot library.
"""
tags: [
"category:Mathematics/Real Calculus and Topology"
"keyword: analysis"
"keyword: topology"
"keyword: real numbers"
"logpath: mathcomp.analysis"
"date:2020-06-11"
]
url {
http: "https://github.com/math-comp/analysis/archive/0.3.1.tar.gz"
checksum: "sha512=f2844551078450858081ece35d213571b56a34351378e4f7d808f9f21028651c227bf9b629be536318e2b8bca66e56027b04a279ad23ea650461efafbb46c74c"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-mathcomp-analysis.0.3.1 coq.8.9.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.9.1).
The following dependencies couldn't be met:
- coq-mathcomp-analysis -> coq >= dev
no matching version
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-mathcomp-analysis.0.3.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>msets-extra: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.13.1 / msets-extra - 1.0.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
msets-extra
<small>
1.0.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-02-28 11:08:17 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-28 11:08:17 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 4 Virtual package relying on a GMP lib system installation
coq 8.13.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "thomas@tuerk-brechen.de"
homepage: "https://github.com/thtuerk/MSetsExtra"
dev-repo: "git+https://github.com/thtuerk/MSetsExtra.git"
bug-reports: "https://github.com/thtuerk/MSetsExtra/issues"
authors: ["FireEye Formal Methods Team <formal-methods@fireeye.com>" "Thomas Tuerk <thomas@tuerk-brechen.de>"]
license: "LGPL 2.1"
build: [
["./configure.sh"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/MSetsExtra"]
depends: [
"ocaml"
"coq" {>= "8.4.5" & < "8.5~"}
"coq-mathcomp-ssreflect" {>= "1.6"}
]
tags: [ "keyword:finite sets"
"keyword:fold with abort"
"keyword:extracting efficient code"
"keyword:data structures"
"category:Computer Science/Data Types and Data Structures"
"category:Miscellaneous/Extracted Programs/Data structures"
"date:2016-10-04" ]
synopsis: "Extensions of MSets for Efficient Execution"
description: """
Coq's MSet library provides various, reasonably efficient finite set
implementations. Nevertheless, FireEye was struggling with performance
issues. This library contains extensions to Coq's MSet library that
helped the FireEye Formal Methods team (formal-methods@fireeye.com),
solve these performance issues. There are
- Fold With Abort
efficient folding with possibility to start late and stop early
- Interval Sets
a memory efficient representation of sets of numbers
- Unsorted Lists with Duplicates"""
flags: light-uninstall
url {
src: "https://github.com/thtuerk/MSetsExtra/archive/1.0.0.tar.gz"
checksum: "md5=297a95b8ca4157760862e5812e8addd3"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-msets-extra.1.0.0 coq.8.13.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.13.1).
The following dependencies couldn't be met:
- coq-msets-extra -> coq < 8.5~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-msets-extra.1.0.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
var Branch = function (origin, baseRadius, baseSegment, maxSegments, depth, tree) {
this.gid = Math.round(Math.random() * maxSegments);
this.topPoint = origin;
this.radius = baseRadius;
this.maxSegments = maxSegments;
this.lenghtSubbranch = tree.genes.pSubBranch !== 0 ? Math.floor(maxSegments * tree.genes.pSubBranch) : 0;
this.segmentLenght = baseSegment;
this.depth = depth; //current position of the branch in chain
this.tree = tree;
this.segments = 0; //always start in 0
//Directions are represented as a Vector3 where dirx*i+diry*j+dirz*k and
//each dir is the magnitude that can go from 0 to 1 and multiplies the max segment lenght
//Starting direction is UP
this.direction = {
x: 0,
y: 1,
z: 0
};
this.material = new THREE.MeshLambertMaterial({
color: Math.floor(Math.random()*16777215),//tree.genes.color,
side: 2,
shading: THREE.FlatShading
});
};
/**
* Conceptually grows and renders the branch
* @param {THREE.Scene} scene The scene to which the branch belongs
*/
Branch.prototype.grow = function (scene) {
var thisBranch = this;
//calculate new direction, our drawing space is a 200x200x200 cube
var newX = newPos('x');
var newY = newPos('y');
var newZ = newPos('z');
if (newY < 0 || newY > 300 ){
// newZ < -100 || newZ > 100 ||
// newX < -100 || newX > 100) {
randomizeDir();
return true;
} else {
//direction is ok and branch is going to grow
thisBranch.segments += 1;
}
var destination = new THREE.Vector3(newX, newY, newZ);
var lcurve = new THREE.LineCurve3(this.topPoint, destination);
var geometry = new THREE.TubeGeometry(
lcurve, //path
thisBranch.tree.genes.segmentLenght, //segments
thisBranch.radius, //radius
8, //radiusSegments
true //opened, muuuch more efficient but not so nice
);
// modify next segment's radius
thisBranch.radius = thisBranch.radius * thisBranch.tree.genes.radiusDimP;
var tube = new THREE.Mesh(geometry, this.material);
scene.add(tube);
this.topPoint = destination;
randomizeDir();
//Helper functions.
function randomizeDir() {
//we want our dir to be from -1 to
thisBranch.direction.x = (thisBranch.tree.mtwister.random() * 2) - 1;
thisBranch.direction.y = (thisBranch.tree.mtwister.random() * 2) - 1;
thisBranch.direction.z = (thisBranch.tree.mtwister.random() * 2) - 1;
}
function newPos(dimension) {
return thisBranch.topPoint[dimension] + (thisBranch.direction[dimension] * thisBranch.segmentLenght);
}
//calculate segment lenght for new segment
thisBranch.segmentLenght = thisBranch.segmentLenght * thisBranch.tree.genes.segmentLenghtDim;
if (thisBranch.lenghtSubbranch !== 0 && thisBranch.segments % thisBranch.lenghtSubbranch === 0) {
thisBranch.tree.spawnBranch(thisBranch.topPoint, thisBranch.radius, thisBranch.segmentLenght, this.maxSegments, this.depth);
}
//check if we can kill branch
if (thisBranch.radius <= thisBranch.tree.genes.minRadius) {
return false; //kill branch
}
//Kill if we have reached the max number of segments
if (thisBranch.segments > thisBranch.maxSegments) {
return false;
} else {
return true;
}
};
| Java |
/// <reference path="../../config/config.ts" />
/// <reference path="../interfaces/directives/IDirective.ts" />
declare var angular:any;
//Directive responsible for manipulating left (top) menu icons area when available size change
module Directives {
'use strict';
export class LeftMenuAutosize implements Directives.IDirective {
private static Timeout:any;
private static Window:any;
private Scope:any;
private Element:any;
private Promise:any;
private WindowDimensions:any;
private MenuDimensions:any;
//@ngInject
public static DirectiveOptions($timeout:any, $window:any):any {
LeftMenuAutosize.Timeout = $timeout;
LeftMenuAutosize.Window = $window;
return {
restrict: 'A',
scope: {
expandIconSize: '=',
iconSize: '=',
iconCount: '='
},
replace: false,
link: function ($scope:any, $linkElement:any, $linkAttributes:any):void {
var instance:Directives.IDirective = new LeftMenuAutosize();
instance.Link($scope, $linkElement, $linkAttributes);
}
};
}
public Link($scope:any, $linkElement:any, $linkAttributes:any):void {
this.Scope = $scope;
this.Element = $linkElement;
this.SizeChanged();
$scope.$watch('iconCount', this.SizeChanged.bind(this));
angular.element(LeftMenuAutosize.Window).on('resize', this.SizeChanged.bind(this));
this.BindExpandButton();
}
private SizeChanged():void {
LeftMenuAutosize.Timeout.cancel(this.Promise);
this.Promise = LeftMenuAutosize.Timeout(this.SetIconsVisibility.bind(this), 0, false);
}
private MeasureDimensions():void {
this.WindowDimensions = {
width: LeftMenuAutosize.Window.innerWidth,
height: LeftMenuAutosize.Window.innerHeight
};
this.MenuDimensions = {
width: this.Element[0].offsetWidth,
height: this.Element[0].offsetHeight
};
this.MenuDimensions.primaryDimensionSize = Math.max(this.MenuDimensions.width, this.MenuDimensions.height);
this.MenuDimensions.primaryDimension = this.MenuDimensions.height > this.MenuDimensions.width ? 'height' : 'width';
this.MenuDimensions.secondaryDimension = this.MenuDimensions.primaryDimension === 'height' ? 'width' : 'height';
}
private SetIconsVisibility():void {
//Collapse menu
if (this.Element.hasClass('expanded')) {
this.ExpandCollapseMenu(null, true);
}
//Assume that everything can fit
this.Element.removeClass('collapsed');
var elementChildren:any[] = this.Element.children();
angular.forEach(elementChildren, function (item:any, key:number):void {
angular.element(item).removeClass('collapsed');
});
//Measure space
this.MeasureDimensions();
var availableSpace:number = this.MenuDimensions.primaryDimensionSize;
var everythingCanFit:boolean = (this.Scope.iconCount || 0) * this.Scope.iconSize <= availableSpace;
if (!everythingCanFit) {
//Enable collapse-expand of panel
this.Element.addClass('collapsed');
//Hide records that cannot fit
var canFitNumber:number = Math.floor((availableSpace - this.Scope.expandIconSize) / this.Scope.iconSize);
angular.forEach(elementChildren, function (item:any, key:number):void {
if (item.className !== 'menuEntityExpand' && key >= canFitNumber) {
angular.element(item).addClass('collapsed');
}
});
}
}
private BindExpandButton():void {
var toggle:any = this.Element[0].querySelector('.menuEntityExpand');
toggle.onclick = this.ExpandCollapseMenu.bind(this);
toggle.onblur = this.ExpandCollapseMenu.bind(this);
}
private ExpandCollapseMenu(event:any, collapse:boolean):void {
var _this:LeftMenuAutosize = this;
var isExpanded:boolean = this.Element.hasClass('expanded');
var shouldCollapse:boolean = collapse !== null ? collapse : isExpanded;
if (event.type === 'blur') {
shouldCollapse = true;
}
//Toggle
if (shouldCollapse) {
//Collapse
setTimeout(function ():void {
_this.Element.addClass('collapsed');
_this.Element.removeClass('expanded');
_this.Element.css(_this.MenuDimensions.primaryDimension, '');
_this.Element.css(_this.MenuDimensions.secondaryDimension, '');
_this.Element.css('max-' + _this.MenuDimensions.secondaryDimension, '');
}, 200);
} else {
//Calculate required size
var totalCount:number = this.Scope.iconCount + 1;
var primaryDimensionFitCount:number = Math.floor((this.MenuDimensions.primaryDimensionSize - this.Scope.expandIconSize) / this.Scope.iconSize);
var requiredSecondaryDimensionFitCount:number = Math.ceil(totalCount / primaryDimensionFitCount);
var requiredSecondaryDimensionSize:number = Math.min(requiredSecondaryDimensionFitCount * this.Scope.iconSize,
this.WindowDimensions[this.MenuDimensions.secondaryDimension] - this.Scope.iconSize);
var secondaryDimensionRealFitCount:number = Math.floor(requiredSecondaryDimensionSize / this.Scope.iconSize);
var primaryDimensionReconciledFitCount:number = Math.ceil(totalCount / secondaryDimensionRealFitCount);
var primaryDimensionReconciledSize:number = Math.min(primaryDimensionReconciledFitCount * this.Scope.iconSize,
this.WindowDimensions[this.MenuDimensions.primaryDimension] - this.Scope.iconSize);
//Expand
this.Element.removeClass('collapsed');
this.Element.addClass('expanded');
this.Element.css(this.MenuDimensions.primaryDimension, primaryDimensionReconciledSize + 'px');
this.Element.css(this.MenuDimensions.secondaryDimension, requiredSecondaryDimensionSize + 'px');
this.Element.css('max-' + this.MenuDimensions.secondaryDimension, requiredSecondaryDimensionSize + 'px');
}
}
}
}
| Java |
.select2-container {
box-sizing: border-box;
display: inline-block;
margin: 0;
position: relative;
vertical-align: middle;
font-size: 13px;
}
.select2-container .select2-selection--single {
box-sizing: border-box;
cursor: pointer;
display: block;
height: 28px;
user-select: none;
-webkit-user-select: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
display: block;
padding-left: 8px;
padding-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.select2-container .select2-selection--single .select2-selection__clear {
position: relative;
}
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
padding-right: 8px;
padding-left: 20px;
}
.select2-container .select2-selection--multiple {
box-sizing: border-box;
cursor: pointer;
display: block;
min-height: 32px;
padding: 7px;
font-size: 15px;
user-select: none;
-webkit-user-select: none;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
display: inline-block;
overflow: hidden;
padding-left: 8px;
text-overflow: ellipsis;
white-space: nowrap;
}
.select2-container .select2-search--inline {
float: left;
width: 100%;
}
.select2-container .select2-search--inline .select2-search__field {
box-sizing: border-box;
border: none;
font-size: 100%;
margin-top: 5px;
padding: 0;
}
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none;
}
.select2-dropdown {
background-color: white;
border: 1px solid #e3e3e3;
box-sizing: border-box;
display: block;
position: absolute;
left: -100000px;
width: 100%;
z-index: 1051;
}
.select2-results {
display: block;
}
.select2-results__options {
list-style: none;
margin: 0;
padding: 0;
}
.select2-results__option {
padding: 6px;
user-select: none;
-webkit-user-select: none;
}
.select2-results__option[aria-selected] {
cursor: pointer;
}
.select2-container--open .select2-dropdown {
left: 0;
}
.select2-container--open .select2-dropdown--above {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.select2-container--open .select2-dropdown--below {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.select2-search--dropdown {
display: block;
padding: 4px;
}
.select2-search--dropdown .select2-search__field {
padding: 4px;
width: 100%;
box-sizing: border-box;
}
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none;
}
.select2-search--dropdown.select2-search--hide {
display: none;
}
.select2-close-mask {
border: 0;
margin: 0;
padding: 0;
display: block;
position: fixed;
left: 0;
top: 0;
min-height: 100%;
min-width: 100%;
height: auto;
width: auto;
opacity: 0;
z-index: 99;
background-color: #fff;
filter: alpha(opacity=0);
}
.select2-hidden-accessible {
border: 0 !important;
clip: rect(0 0 0 0) !important;
height: 1px !important;
margin: -1px !important;
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
width: 1px !important;
}
.select2-container--default .select2-selection--single {
background-color: #fff;
width: 96%;
border: 1px solid #d1d1d1;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
color: #444;
line-height: 28px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
color: #999;
font-style: italic!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 26px;
position: absolute;
top: 1px;
right: 1px;
width: 20px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
border-color: #888 transparent transparent transparent;
border-style: solid;
border-width: 5px 4px 0 4px;
height: 0;
left: 50%;
margin-left: -4px;
margin-top: -2px;
position: absolute;
top: 50%;
width: 0;
}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
float: left;
}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
left: 1px;
right: auto;
}
.select2-container--default.select2-container--disabled .select2-selection--single {
background-color: #eee;
cursor: default;
}
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
display: none;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #888 transparent;
border-width: 0 4px 5px 4px;
}
.select2-container--default .select2-selection--multiple {
background-color: white;
border: 1px solid #ddd;
border-top: none;
border-left: none;
border-right: none;
cursor: text;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
box-sizing: border-box;
list-style: none;
margin: 0;
padding: 0 5px;
width: 100%}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
list-style: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
color: #999;
margin-top: 5px;
font-style: italic!important;
float: left;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
margin-top: 5px;
margin-right: 10px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #e4e4e4;
border: 1px solid #ddd;
border-radius: 0px;
font-family: Open Sans!important;
font-weight: normal!important;
cursor: default;
display: block; float: left;
padding: 5px;
text-decoration:none;
margin-right: 5px;
margin-top: 5px;
padding: 0 5px;
font-size: 13px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
color: #999;
cursor: pointer;
display: inline-block;
font-weight: bold;
margin-right: 2px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
color: #333;
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
float: right;
font-style: italic;
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
margin-left: 5px;
margin-right: auto;
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
margin-left: 2px;
margin-right: auto;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
border: solid #bbb 1px;
border-top: none;
border-right: none;
border-left: none;
outline: 0;
}
.select2-container--default.select2-container--disabled .select2-selection--multiple {
background-color: #eee;
cursor: default;
}
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
display: none;
}
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
border: 1px solid #ddd;
}
.select2-container--default .select2-search--inline .select2-search__field {
background: transparent;
border: none;
outline: 0;
box-shadow: none;
-webkit-appearance: textfield;
}
.select2-container--default .select2-results>.select2-results__options {
max-height: 200px;
overflow-y: auto;
}
.select2-container--default .select2-results__option[role=group] {
padding: 0;
}
.select2-container--default .select2-results__option[aria-disabled=true] {
color: #999;
}
.select2-container--default .select2-results__option[aria-selected=true] {
background-color: #ddd;
}
.select2-container--default .select2-results__option .select2-results__option {
padding-left: 1em;
}
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
padding-left: 0;
}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
margin-left: -1em;
padding-left: 2em;
}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -2em;
padding-left: 3em;
}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -3em;
padding-left: 4em;
}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -4em;
padding-left: 5em;
}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -5em;
padding-left: 6em;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: #5897fb;
color: white;
}
.select2-container--default .select2-results__group {
cursor: default;
display: block;
padding: 6px;
}
| Java |
package org.craft.client.render.blocks;
import java.util.*;
import java.util.Map.Entry;
import com.google.common.collect.*;
import org.craft.blocks.*;
import org.craft.blocks.states.*;
import org.craft.client.*;
import org.craft.client.models.*;
import org.craft.client.render.*;
import org.craft.client.render.texture.TextureIcon;
import org.craft.client.render.texture.TextureMap;
import org.craft.maths.*;
import org.craft.utils.*;
import org.craft.world.*;
public class BlockModelRenderer extends AbstractBlockRenderer
{
private HashMap<BlockVariant, HashMap<String, TextureIcon>> icons;
private List<BlockVariant> blockVariants;
private static Quaternion rotationQuaternion;
/**
* Creates a new renderer for given block variants
*/
public BlockModelRenderer(List<BlockVariant> list)
{
this.blockVariants = list;
icons = Maps.newHashMap();
for(BlockVariant v : list)
icons.put(v, new HashMap<String, TextureIcon>());
if(rotationQuaternion == null)
rotationQuaternion = new Quaternion();
}
@Override
public void render(RenderEngine engine, OffsettedOpenGLBuffer buffer, World w, Block b, int x, int y, int z)
{
if(!b.shouldRender())
return;
Chunk chunk = null;
if(w != null)
chunk = w.getChunk(x, y, z);
BlockVariant variant = null;
float lightValue = 1f;
if(chunk == null)
variant = blockVariants.get(0);
else
{
variant = getVariant(w, b, x, y, z);
lightValue = chunk.getLightValue(w, x, y, z);
}
if(variant == null)
variant = blockVariants.get(0);
Model blockModel = variant.getModels().get(w == null ? 0 : w.getRNG().nextInt(variant.getModels().size())); // TODO: random model ?
for(int i = 0; i < blockModel.getElementsCount(); i++ )
{
ModelElement element = blockModel.getElement(i);
if(element.hasRotation())
{
Vector3 axis = Vector3.xAxis;
if(element.getRotationAxis() == null)
;
else if(element.getRotationAxis().equalsIgnoreCase("y"))
axis = Vector3.yAxis;
else if(element.getRotationAxis().equalsIgnoreCase("z"))
axis = Vector3.zAxis;
rotationQuaternion.init(axis, (float) Math.toRadians(element.getRotationAngle()));
}
Set<Entry<String, ModelFace>> entries = element.getFaces().entrySet();
Vector3 startPos = element.getFrom();
Vector3 size = element.getTo().sub(startPos);
for(Entry<String, ModelFace> entry : entries)
{
Vector3 faceStart = Vector3.NULL;
Vector3 faceSize = Vector3.NULL;
TextureIcon icon = getTexture(blockModel, variant, entry.getValue().getTexture());
boolean flip = false;
EnumSide cullface = EnumSide.fromString(entry.getValue().getCullface());
EnumSide side = EnumSide.fromString(entry.getKey());
if(side != null)
{
if(entry.getValue().hideIfSameAdjacent() && w.getBlockNextTo(x, y, z, side) == b)
{
continue;
}
}
if(cullface != EnumSide.UNDEFINED)
{
Block next = Blocks.air;
if(w != null)
next = w.getBlockNextTo(x, y, z, cullface);
if(next.isSideOpaque(w, x, y, z, cullface.opposite()))
{
continue;
}
}
if(entry.getKey().equals("up"))
{
faceStart = Vector3.get(startPos.getX(), startPos.getY() + size.getY(), startPos.getZ());
faceSize = Vector3.get(size.getX(), 0, size.getZ());
flip = true;
}
else if(entry.getKey().equals("down"))
{
faceStart = Vector3.get(startPos.getX(), startPos.getY(), startPos.getZ());
faceSize = Vector3.get(size.getX(), 0, size.getZ());
flip = true;
}
else if(entry.getKey().equals("west"))
{
faceStart = Vector3.get(startPos.getX(), startPos.getY(), startPos.getZ());
faceSize = Vector3.get(0, size.getY(), size.getZ());
}
else if(entry.getKey().equals("east"))
{
faceStart = Vector3.get(startPos.getX() + size.getX(), startPos.getY(), startPos.getZ());
faceSize = Vector3.get(0, size.getY(), size.getZ());
}
else if(entry.getKey().equals("north"))
{
faceStart = Vector3.get(startPos.getX(), startPos.getY(), startPos.getZ());
faceSize = Vector3.get(size.getX(), size.getY(), 0);
}
else if(entry.getKey().equals("south"))
{
faceStart = Vector3.get(startPos.getX(), startPos.getY(), startPos.getZ() + size.getZ());
faceSize = Vector3.get(size.getX(), size.getY(), 0);
}
else
{
continue;
}
renderFace(lightValue, buffer, x, y, z, icon, faceStart, faceSize, flip, entry.getValue().getMinUV(), entry.getValue().getMaxUV(), element.getRotationOrigin(), rotationQuaternion, element.shouldRescale());
faceSize.dispose();
faceStart.dispose();
}
size.dispose();
}
}
/**
* Returns most revelant variant depending on block states values at (x,y,z)
*/
private BlockVariant getVariant(World w, Block b, int x, int y, int z)
{
BlockVariant variant = null;
variantLoop: for(BlockVariant v : blockVariants)
{
if(v.getBlockStates() == null && variant == null)
{
variant = v;
}
else if(v.getBlockStates().isEmpty() && variant == null)
{
variant = v;
}
else
{
for(int i = 0; i < v.getBlockStates().size(); i++ )
{
BlockState state = v.getBlockStates().get(i);
IBlockStateValue value = v.getBlockStateValues().get(i);
if(w.getBlockState(x, y, z, state) != value)
{
continue variantLoop;
}
}
if(variant != null)
{
if(variant.getBlockStates().size() <= v.getBlockStates().size())
{
variant = v;
}
else if(variant.getBlockStates().size() > v.getBlockStates().size())
continue variantLoop;
}
else
{
variant = v;
}
}
}
return variant;
}
/**
* Gets TextureIcon from texture variable found in json model file
*/
private TextureIcon getTexture(Model blockModel, BlockVariant variant, String texture)
{
if(texture == null)
return null;
if(!icons.get(variant).containsKey(texture))
{
if(texture.startsWith("#"))
{
TextureIcon icon = getTexture(blockModel, variant, blockModel.getTexturePath(texture.substring(1)));
icons.get(variant).put(texture, icon);
}
else
{
TextureMap blockMap = OurCraft.getOurCraft().getRenderEngine().blocksAndItemsMap;
icons.get(variant).put(texture, blockMap.get(texture + ".png"));
}
}
return icons.get(variant).get(texture);
}
@Override
public boolean shouldRenderInPass(EnumRenderPass currentPass, World w, Block b, int x, int y, int z)
{
BlockVariant variant = getVariant(w, b, x, y, z);
if(variant == null)
return false;
return currentPass == variant.getPass();
}
}
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mini-compiler: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.13.0 / mini-compiler - 8.7.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mini-compiler
<small>
8.7.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-12-05 18:22:55 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-05 18:22:55 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq 8.13.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.09.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1 Official release 4.09.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/mini-compiler"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/MiniCompiler"]
depends: [
"ocaml"
"coq" {>= "8.7" & < "8.8~"}
]
tags: [ "keyword: compilation" "keyword: correctness" "keyword: arithmetic" "category: Computer Science/Semantics and Compilation/Compilation" "date: 2003" ]
authors: [ "Jean-Christophe Filliâtre" ]
bug-reports: "https://github.com/coq-contribs/mini-compiler/issues"
dev-repo: "git+https://github.com/coq-contribs/mini-compiler.git"
synopsis: "Correctness of a tiny compiler for arithmetic expressions"
description: """
Tutorial correctness proof of a tiny compiler from
simple arithmetic expressions (constants, variables and additions) to
simple assembly-like code (one accumulator, infinitly many registers and
addition)"""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/mini-compiler/archive/v8.7.0.tar.gz"
checksum: "md5=dd4f40c8ef66e6bdb212edec29102e53"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-mini-compiler.8.7.0 coq.8.13.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.13.0).
The following dependencies couldn't be met:
- coq-mini-compiler -> coq < 8.8~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-mini-compiler.8.7.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
// Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Windows.Forms;
namespace NodeEditor
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
var engine = new GUILayer.EngineDevice();
GC.KeepAlive(engine);
var catalog = new TypeCatalog(
typeof(ShaderPatcherLayer.Manager),
typeof(ShaderFragmentArchive.Archive),
typeof(NodeEditorCore.ShaderFragmentArchiveModel),
typeof(NodeEditorCore.ModelConversion),
typeof(NodeEditorCore.ShaderFragmentNodeCreator),
typeof(NodeEditorCore.DiagramDocument),
typeof(ExampleForm)
);
using (var container = new CompositionContainer(catalog))
{
container.ComposeExportedValue<ExportProvider>(container);
container.ComposeExportedValue<CompositionContainer>(container);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(container.GetExport<ExampleForm>().Value);
}
engine.Dispose();
}
}
}
| Java |
{% extends "base.html" %}
{% block title -%}S'up — Log in{%- endblock %}
{% block content %}
<div class="container signup">
{% if errors or form.errors %}
<span class="form-error"><strong>Errors:</strong></span>
{% if errors %}
{% for error in errors %}
<span class="form-error">{{ error }}</span>
{% endfor %}
{% endif %}
{% for field_name, field_errors in form.errors|dictsort if field_errors %}
{% for error in field_errors %}
<span class="form-error">{{ error }}</span>
{% endfor %}
{% endfor %}
{% endif %}
<form action="{{ request.url }}" method="POST">
{{ form.hidden_tag() }}
<label>{{ form.username(placeholder="Username") }}</label>
<label>{{ form.password(placeholder="Password") }}</label>
<label>{{ form.remember() }}Remember this device</label>
<input type="submit" value="Log in">
</form>
<p><a href="{{ url_for('.forgot') }}">Forgot your password?</a></p>
</div>
{% endblock %}
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>geocoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / extra-dev</a></li>
<li class="active"><a href="">8.11.dev / geocoq - 2.2.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
geocoq
<small>
2.2.1
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2020-07-18 17:11:19 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-07-18 17:11:19 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-m4 1 Virtual package relying on m4
coq 8.11.dev Formal proof management system
num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Julien Narboux <julien@narboux.fr>"
homepage: "http://geocoq.github.io/GeoCoq/"
bug-reports: "https://github.com/GeoCoq/GeoCoq/issues"
authors: ["Gabriel Braun <gabriel.braun@unistra.fr>"
"Pierre Boutry <pierre.boutry@unistra.fr>"
"Charly Gries <Charly.Gries@etu.unistra.fr>"
"Julien Narboux <narboux@unistra.fr>"]
license: "LGPL 3"
build: [
["./configure.sh"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/GeoCoq"]
depends: [
"ocaml"
"coq"
{((>= "8.4pl4" & < "8.5~") | (>= "8.5" & < "8.6~") |
(>= "8.6" & < "8.7~"))}
]
tags: [ "keyword:geometry" "keyword:neutral geometry" "keyword:euclidean geometry" "keyword:foundations"
"keyword:Tarski" "keyword:hilbert" "keyword:Pappus" "keyword:desargues" "keyword:parallel postulates"
"category:Mathematics/Geometry/General" "date:2016-12-22"]
synopsis: "A formalization of foundations of geometry in Coq"
flags: light-uninstall
url {
src: "https://github.com/GeoCoq/GeoCoq/archive/v2.2.1.tar.gz"
checksum: "md5=be429fbeba560c84c994d551bb17c894"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-geocoq.2.2.1 coq.8.11.dev</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.11.dev).
The following dependencies couldn't be met:
- coq-geocoq -> coq < 8.5~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-geocoq.2.2.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-template: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1 / metacoq-template - 1.0~beta2+8.11</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
metacoq-template
<small>
1.0~beta2+8.11
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-22 02:24:22 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-22 02:24:22 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.7.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
"Simon Boulier <simon.boulier@inria.fr>"
"Cyril Cohen <cyril.cohen@inria.fr>"
"Yannick Forster <forster@ps.uni-saarland.de>"
"Fabian Kunze <fkunze@fakusb.de>"
"Gregory Malecha <gmalecha@gmail.com>"
"Matthieu Sozeau <matthieu.sozeau@inria.fr>"
"Nicolas Tabareau <nicolas.tabareau@inria.fr>"
"Théo Winterhalter <theo.winterhalter@inria.fr>"
]
license: "MIT"
build: [
["sh" "./configure.sh"]
[make "-j%{jobs}%" "template-coq"]
]
install: [
[make "-C" "template-coq" "install"]
]
depends: [
"ocaml" {>= "4.07.1"}
"coq" {>= "8.11" & < "8.12~"}
"coq-equations" { >= "1.2.3" }
]
synopsis: "A quoting and unquoting library for Coq in Coq"
description: """
MetaCoq is a meta-programming framework for Coq.
Template Coq is a quoting library for Coq. It takes Coq terms and
constructs a representation of their syntax tree as a Coq inductive data
type. The representation is based on the kernel's term representation.
In addition to a complete reification and denotation of CIC terms,
Template Coq includes:
- Reification of the environment structures, for constant and inductive declarations.
- Denotation of terms and global declarations
- A monad for manipulating global declarations, calling the type
checker, and inserting them in the global environment, in the style of
MetaCoq/MTac.
"""
# url {
# src: "https://github.com/MetaCoq/metacoq/archive/v2.1-beta3.tar.gz"
# checksum: "md5=e81b8ecabef788a10337a39b095d54f3"
# }
url {
src: "https://github.com/MetaCoq/metacoq/archive/v1.0-beta2-8.11.tar.gz"
checksum: "sha256=35d4a30bb19e6710fc03d178a2c8a17bc964bfbfd9236d1c59a0e77a30c425df"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-metacoq-template.1.0~beta2+8.11 coq.8.7.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.1).
The following dependencies couldn't be met:
- coq-metacoq-template -> ocaml >= 4.07.1
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-metacoq-template.1.0~beta2+8.11</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<html><body>
<h4>Windows 10 x64 (19041.388)</h4><br>
<h2>_DBGKD_MANIPULATE_STATE32</h2>
<font face="arial"> +0x000 ApiNumber : Uint4B<br>
+0x004 ProcessorLevel : Uint2B<br>
+0x006 Processor : Uint2B<br>
+0x008 ReturnStatus : Int4B<br>
+0x00c u : <a href="./<anonymous-tag>.html"><anonymous-tag></a><br>
</font></body></html> | Java |
# encoding: utf-8
module Eij
class Translator
def initialize(key)
@src = File.dirname(__FILE__) + "/func.sh"
@func = File.dirname(__FILE__) + "/../../data/kanjidicks.txt"
@col = %x{bash -lic 'echo $COLUMNS'}
@msg = key
@res = Hash.new { |h,k| h[k] = Hash.new(&h.default_proc) }
ch_reset
end
def ch_reset
@ch = 'a'
end
def exit_msg(res)
"Results: #{res}. Search query too vague!\n"
end
def jap
@msg = %x{bash -lic 'source #{@src}; jj #{@msg}'}
format_jp
end
def to_eng
@msg = %x{bash -lic 'source #{@src}; je #{@msg}'}
format_jp
end
def to_jap
if @msg.contains_cjk?
jap
else
@msg = %x{bash -lic "source #{@src}; ej #{@msg}"}
format_jp
end
end
def grab_item(key)
ch_reset
if @res[key].size > 1
@msg = @res[key].map do |x|
"#{x[0]}#{x[1]}"
end
@msg = @msg.join
else
@msg = @res[key][1]
end
end
def grab_char(ch)
@msg = @msg[ch.to_i-1].strip + "\n"
end
def grab_split(i)
@msg = @msg.split(' ')[i.to_i-1].strip + "\n"
end
def grab_inner_item(key, i)
ch_reset
@msg = @res[key][i.to_i].strip + "\n"
end
def out
@msg = %x{source #{@src}; fmt_msg "#{@msg}"}
print @msg.strip + "\n"
end
def format_jp
@msg = @msg.gsub(":@;", "\n")
@msg.strip!
@msg = @msg.gsub(" \n", "")
divs = @msg.split(/\n/)
prim = divs[1..-1]
prim_list = []
offset = 0
if prim.count > 52
print exit_msg prim.count
exit
end
prim.each_with_index do |str, index|
@ch = 'A' if @ch.ord == 123
chm = "{#{@ch}} "
if !str.include? "-->"
prim_list[index] = "#{chm.colorize(index-offset)}#{str}"
indx = 0
str.split(/\d\./).each do |split|
if split.split.size > 0
indx += 1
@res[@ch][indx] = "#{split}"
end
end
@ch = @ch.ord.next.chr
else
prim_list[index] = "#{str}"
offset += 1
end
end
prim_merge = prim_list.join("\n")
prim_merge += "\n"
@msg.sub!(@msg, prim_merge)
end
def print_num_lines
lst = {}
@msg.split("\n").each_with_index do |str, index|
if index > 0
print "#{(index).to_s.rjust(2).colorize(index)}#{str}\n"
lst[(index).to_s] = str.split(" ")[0]
end
end
print "#: "
begin
@msg = lst[gets.strip]
rescue Exception => e
exit
end
lookup
end
def lookup
@msg = %x{bash -ic 'source #{@src}; dfind #{@msg.strip} #{@func}'}
divs = @msg.split(":;!;")
@msg = divs[0]
@msg = @msg.gsub(":@;", "\n")
@msg.strip!
if @msg.include? "No matches found:"
print exit_msg 0
exit
elsif @msg.include? "Disambiguation required:"
print "Disambiguation required:\n"
print_num_lines
else
@msg += "\n"
lookup_prims divs[1] if divs[1].size > 0
lookup_jukugo divs[2] if divs[2].size > 0
lookup_usedin divs[3] if divs[3].size > 0
end
end
def lookup_prims(div)
prim_list = []
div.split("+").each_with_index do |str, index|
chm = ":#{index+1}:"
prim_list[index] = chm.colorize(index) + str.strip
@res[@ch][index+1] = " " + str.strip + " "
end
prim_merge = prim_list.join(", ")
@msg.sub!(div, "\n{#{@ch}} ".blue + prim_merge)
end
def lookup_jukugo(div)
prim_list = []
@ch = @ch.ord.next.chr
offset = 0
div.split("\n").each_with_index do |str, index|
chm = "{#{@ch}} "
if str[0].to_s.contains_cjk?
prim_list[index] = "#{chm.colorize(index-offset)}#{str}"
@res[@ch][1] = str.strip
@ch = @ch.ord.next.chr
else
prim_list[index] = str
offset += 1
end
end
prim_merge = prim_list.join("\n")
@msg.sub!(div, prim_merge)
end
def lookup_usedin(div)
prim_list = []
offset = 0
strsizetotal = 0
div.split("\n").each_with_index do |str, index|
if @ch[-1] == 'z'
@ch[0,0] = '1'
@ch[-1] = 'a'
end
chm = "{#{@ch}}"
if str == "USED IN:"
prim_list[index] = "\n" + str.strip + "\n"
offset += 1
elsif str.strip.size > 0
if strsizetotal + str.size + @ch.size >= @col.to_i/2
newl = "\n"
strsizetotal = 0
end
prim_list[index] = "#{chm.colorize(index-offset)}#{str.strip}#{newl}"
@res[@ch][1] = str.strip
strsizetotal += str.size
@ch[-1] = @ch[-1].ord.next.chr
end
end
prim_merge = prim_list.join("")
prim_merge.gsub!(", , ", "")
@msg.sub!(div, prim_merge)
end
end
end
| Java |
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using Ploeh.AutoFixture;
using RememBeer.Models.Contracts;
using RememBeer.Models.Dtos;
using RememBeer.Models.Factories;
using RememBeer.Services.RankingStrategies;
using RememBeer.Tests.Utils;
namespace RememBeer.Tests.Services.RankingStrategies.DoubleOverallScoreStrategyTests
{
[TestFixture]
public class GetBeerRank_Should : TestClassBase
{
[Test]
public void ThrowArgumentNullException_WhenReviewsArgumentIsNull()
{
// Arrange
var factory = new Mock<IModelFactory>();
var beer = new Mock<IBeer>();
var strategy = new DoubleOverallScoreStrategy(factory.Object);
// Act & Assert
Assert.Throws<ArgumentNullException>(() => strategy.GetBeerRank(null, beer.Object));
}
[Test]
public void ThrowArgumentNullException_WhenBeerArgumentIsNull()
{
// Arrange
var factory = new Mock<IModelFactory>();
var reviews = new Mock<IEnumerable<IBeerReview>>();
var strategy = new DoubleOverallScoreStrategy(factory.Object);
// Act & Assert
Assert.Throws<ArgumentNullException>(() => strategy.GetBeerRank(reviews.Object, null));
}
[Test]
public void ThrowArgumentException_WhenReviewsAreEmpty()
{
// Arrange
var factory = new Mock<IModelFactory>();
var beer = new Mock<IBeer>();
var reviews = new List<IBeerReview>();
var strategy = new DoubleOverallScoreStrategy(factory.Object);
// Act & Assert
Assert.Throws<ArgumentException>(() => strategy.GetBeerRank(reviews, beer.Object));
}
[Test]
public void CallFactoryCreateBeerRankMethod_WithCorrectParamsOnce()
{
// Arrange
var overallScore = this.Fixture.Create<int>();
var tasteScore = this.Fixture.Create<int>();
var smellScore = this.Fixture.Create<int>();
var looksScore = this.Fixture.Create<int>();
var factory = new Mock<IModelFactory>();
var mockedReview = new Mock<IBeerReview>();
mockedReview.Setup(r => r.Overall).Returns(overallScore);
mockedReview.Setup(r => r.Taste).Returns(tasteScore);
mockedReview.Setup(r => r.Smell).Returns(smellScore);
mockedReview.Setup(r => r.Look).Returns(looksScore);
var mockedReview2 = new Mock<IBeerReview>();
mockedReview.Setup(r => r.Overall).Returns(overallScore + this.Fixture.Create<int>());
mockedReview.Setup(r => r.Taste).Returns(tasteScore + this.Fixture.Create<int>());
mockedReview.Setup(r => r.Smell).Returns(smellScore + this.Fixture.Create<int>());
mockedReview.Setup(r => r.Look).Returns(looksScore + this.Fixture.Create<int>());
var beer = new Mock<IBeer>();
var reviews = new List<IBeerReview>()
{
mockedReview.Object,
mockedReview2.Object
};
var expectedAggregateScore = reviews.Sum(beerReview =>
(decimal)(2 * beerReview.Overall
+ beerReview.Look
+ beerReview.Smell
+ beerReview.Taste)
/ 5) / reviews.Count;
var expectedOverall = (decimal)reviews.Sum(r => r.Overall) / reviews.Count;
var expectedTaste = (decimal)reviews.Sum(r => r.Taste) / reviews.Count;
var expectedSmell = (decimal)reviews.Sum(r => r.Smell) / reviews.Count;
var expectedLook = (decimal)reviews.Sum(r => r.Look) / reviews.Count;
var strategy = new DoubleOverallScoreStrategy(factory.Object);
// Act
var result = strategy.GetBeerRank(reviews, beer.Object);
// Assert
factory.Verify(
f => f.CreateBeerRank(expectedOverall,
expectedTaste,
expectedLook,
expectedSmell,
beer.Object,
expectedAggregateScore,
reviews.Count),
Times.Once);
}
[Test]
public void ReturnResultFromFactory()
{
// Arrange
var expectedRank = new Mock<IBeerRank>();
var overallScore = this.Fixture.Create<int>();
var tasteScore = this.Fixture.Create<int>();
var smellScore = this.Fixture.Create<int>();
var looksScore = this.Fixture.Create<int>();
var expectedAggregateScore = (decimal)((overallScore * 2) + tasteScore + smellScore + looksScore) / 5;
var mockedReview = new Mock<IBeerReview>();
mockedReview.Setup(r => r.Overall).Returns(overallScore);
mockedReview.Setup(r => r.Taste).Returns(tasteScore);
mockedReview.Setup(r => r.Smell).Returns(smellScore);
mockedReview.Setup(r => r.Look).Returns(looksScore);
var beer = new Mock<IBeer>();
var reviews = new List<IBeerReview>()
{
mockedReview.Object
};
var factory = new Mock<IModelFactory>();
factory.Setup(
f => f.CreateBeerRank(overallScore,
tasteScore,
looksScore,
smellScore,
beer.Object,
expectedAggregateScore,
1))
.Returns(expectedRank.Object);
var strategy = new DoubleOverallScoreStrategy(factory.Object);
// Act
var result = strategy.GetBeerRank(reviews, beer.Object);
// Assert
Assert.IsNotNull(result);
Assert.AreSame(expectedRank.Object, result);
}
}
}
| Java |
/**
* @file sdram.c
* @brief SDRAM configuration
*
* @section License
*
* Copyright (C) 2010-2015 Oryx Embedded SARL. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* @author Oryx Embedded SARL (www.oryx-embedded.com)
* @version 1.6.4
**/
#include "sam3xa.h"
#include "sam3x_ek.h"
#include "sdram.h"
#include "error.h"
#include "debug.h"
/**
* @brief SDRAM initialization
* @param[in] coreClockFrequency Core clock frequency
**/
void sdramInit(uint32_t coreClockFrequency)
{
uint32_t n;
//Enable PIO peripheral clocks
PMC->PMC_PCER0 = (1 << ID_PIOC) | (1 << ID_PIOD);
//Enable SMC peripheral clock
PMC->PMC_PCER0 = (1 << ID_SMC);
//Assign SDRAM pins to Peripheral A function
PIOC->PIO_ABSR &= ~SDRAM_PIOC_MASK;
//Disable the PIO from controlling the corresponding pins
PIOC->PIO_PDR = SDRAM_PIOC_MASK;
//Enable pull-ups
PIOC->PIO_PUER = SDRAM_PIOC_MASK;
//Assign SDRAM pins to Peripheral A function
PIOD->PIO_ABSR &= ~SDRAM_PIOD_MASK;
//Disable the PIO from controlling the corresponding pins
PIOD->PIO_PDR = SDRAM_PIOD_MASK;
//Enable pull-ups
PIOD->PIO_PUER = SDRAM_PIOD_MASK;
//Configure SDRAM enable pin as an output
PIOD->PIO_PER = PIO_PD18;
PIOD->PIO_OER = PIO_PD18;
PIOD->PIO_SODR = PIO_PD18;
//SDRAM features must be set in the Configuration Register
SDRAMC->SDRAMC_CR = SDRAMC_CR_NC_COL9 | //Number of columns (512)
SDRAMC_CR_NR_ROW13 | //Number of rows (8192)
SDRAMC_CR_NB_BANK4 | //Number of banks (4)
SDRAMC_CR_CAS_LATENCY2 | //CAS latency (2 cycles)
SDRAMC_CR_DBW | //Data bus width (16 bits)
SDRAMC_CR_TWR(2) | //Write recovery delay (2 cycles)
SDRAMC_CR_TRC_TRFC(9) | //Row cycle delay (9 cycles)
SDRAMC_CR_TRP(3) | //Row precharge delay (3 cycles)
SDRAMC_CR_TRCD(3) | //Row to column delay (3 cycles)
SDRAMC_CR_TRAS(6) | //Active to precharge delay (6 cycles)
SDRAMC_CR_TXSR(10); //Exit self refresh to active delay (10 cycles)
//For mobile SDRAM, temperature-compensated self refresh (TCSR), drive strength (DS)
//and partial array self refresh (PASR) must be set in the Low Power Register
SDRAMC->SDRAMC_LPR = 0;
//The SDRAM memory type must be set in the Memory Device Register
SDRAMC->SDRAMC_MDR = SDRAMC_MDR_MD_SDRAM;
//A minimum pause of 200 us is provided to precede any signal toggle
sleep(1);
//A NOP command is issued to the SDRAM device. The application must set Mode to 1
//in the Mode Register and perform a write access to any SDRAM address
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_NOP;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
//An All Banks Precharge command is issued to the SDRAM devices. The application must
//set Mode to 2 in the Mode Register and perform a write access to any SDRAM address
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_ALLBANKS_PRECHARGE;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
//Eight auto-refresh (CBR) cycles are provided. The application must set the Mode to 4
//in the Mode Register and perform a write access to any SDRAM location eight times
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_AUTO_REFRESH;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
//A Mode Register set (MRS) cycle is issued to program the parameters of the SDRAM device,
//in particular CAS latency and burst length. The application must set Mode to 3 in the
//Mode Register and perform a write access to the SDRAM. The write address must be chosen
//so that BA[1:0] are set to 0
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_LOAD_MODEREG;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
//For mobile SDRAM initialization, an Extended Mode Register set (EMRS) cycle is
//issued to program the SDRAM parameters (TCSR, PASR, DS). The application must
//set Mode to 5 in the Mode Register and perform a write access to the SDRAM. The
//write address must be chosen so that BA[1] or BA[0] are set to 1
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_EXT_LOAD_MODEREG;
*((uint16_t *)(SDRAM_BASE) + 0x01000000) = 0x00000000;
//The application must go into Normal Mode, setting Mode to 0 in the Mode Register and
//performing a write access at any location in the SDRAM
SDRAMC->SDRAMC_MR = SDRAMC_MR_MODE_NORMAL;
*((uint16_t *)(SDRAM_BASE)) = 0x00000000;
//Set refresh rate (15.625us)
n = coreClockFrequency / 1000;
n = (n * 15625) / 1000000;
//Write the refresh rate into the count field in the SDRAMC Refresh Timer register
SDRAMC->SDRAMC_TR = SDRAMC_TR_COUNT(n);
}
/**
* @brief SDRAM test routine
* @return Error code
**/
error_t sdramTest(void)
{
uint_t i;
//Point to the beginning of the memory space
uint32_t *address = (uint32_t *) SDRAM_BASE;
//Initialize test pattern generation
uint32_t value = 0x12345678;
//Write SDRAM memory contents
for(i = 0; i < (SDRAM_SIZE / 4); i++)
{
//Write current location
*(address++) = value;
//Test pattern generation
value = value * 0x7AB5 + 0x5E8AC93D;
}
//Point to the beginning of the memory space
address = (uint32_t *) SDRAM_BASE;
//Initialize test pattern generation
value = 0x12345678;
//Read back and check SDRAM memory contents
for(i = 0; i < (SDRAM_SIZE / 4); i++)
{
//Read current location
if(*(address++) != value)
return ERROR_FAILURE;
//Test pattern generation
value = value * 0x7AB5 + 0x5E8AC93D;
}
//Successful test
return NO_ERROR;
}
| Java |
using CreativeMinds.CQS.Commands;
using NForum.Core.Dtos;
using NForum.Datastores;
using NForum.Domain;
using NForum.Infrastructure;
using System;
using System.Security.Principal;
namespace NForum.CQS.Commands.Topics {
public class CreateTopicCommandHandler : CommandWithStatusHandler<CreateTopicCommand> {
protected readonly IForumDatastore forums;
protected readonly ITopicDatastore topics;
protected readonly IPrincipal principal;
public CreateTopicCommandHandler(IForumDatastore forums, ITopicDatastore topics, ITaskDatastore taskDatastore, IPrincipal principal) : base(taskDatastore) {
this.forums = forums;
this.topics = topics;
this.principal = principal;
}
public override void Execute(CreateTopicCommand command) {
// Nothing special to do here, permissions have been checked and parameters validated!
IForumDto forum = this.forums.ReadById(command.ForumId);
if (forum == null) {
// TODO:
throw new ArgumentException("Parent forum not found!");
}
Topic t = new Topic(new Forum(forum), command.Subject, command.Content, command.Type, command.State);
ITopicDto newTopic = this.topics.Create(t);
this.SetTaskStatus(command.TaskId, newTopic.Id, "Topic");
}
}
}
| Java |
CREATE OR REPLACE FUNCTION ts.updatechroncontrolage(_chroncontrolid integer, _age double precision DEFAULT NULL::double precision)
RETURNS void
LANGUAGE sql
AS $function$
UPDATE ndb.chroncontrols
SET age = _age
WHERE chroncontrolid = _chroncontrolid
$function$
| Java |
<?php
namespace js4php5;
/**
* Blatantly stolen from Yii2 for debug use, as it's much better than var_dump() or print_r() (but not as good as
* the one included in some other frameworks).
*/
class VarDumper
{
private static $_output;
private static $_depth;
private static $_objects;
/**
* Displays a variable.
* This method achieves the similar functionality as var_dump and print_r
* but is more robust when handling complex objects such as Yii controllers.
* @param mixed $var variable to be dumped
* @param integer $depth maximum depth that the dumper should go into the variable. Defaults to 10.
* @param boolean $highlight whether the result should be syntax-highlighted
*/
public static function dump($var, $label = '', $depth = 10, $highlight = true)
{
echo static::dumpAsString($var, $label, $depth, $highlight);
}
/**
* Dumps a variable in terms of a string.
* This method achieves the similar functionality as var_dump and print_r
* but is more robust when handling complex objects such as Yii controllers.
* @param mixed $var variable to be dumped
* @param integer $depth maximum depth that the dumper should go into the variable. Defaults to 10.
* @param boolean $highlight whether the result should be syntax-highlighted
* @return string the string representation of the variable
*/
public static function dumpAsString($var, $label = '', $depth = 10, $highlight = true)
{
self::$_output = '';
self::$_objects = [];
self::$_depth = $depth;
self::dumpInternal($var, 0);
if ($highlight) {
$result = highlight_string("<?php\n" . self::$_output, true);
// self::$_output = preg_replace('/<\\?php<br \\/>/', '', $result, 1);
self::$_output = preg_replace('/<\\?php<br \\/>/', ($label ? $label . ' = ' : ''), $result, 1);
}
return self::$_output;
}
/**
* @param mixed $var variable to be dumped
* @param integer $level depth level
*/
private static function dumpInternal($var, $level)
{
switch (gettype($var)) {
case 'boolean':
self::$_output .= $var ? 'true' : 'false';
break;
case 'integer':
self::$_output .= "$var";
break;
case 'double':
self::$_output .= "$var";
break;
case 'string':
self::$_output .= "'" . addslashes($var) . "'";
break;
case 'resource':
self::$_output .= '{resource}';
break;
case 'NULL':
self::$_output .= "null";
break;
case 'unknown type':
self::$_output .= '{unknown}';
break;
case 'array':
if (self::$_depth <= $level) {
self::$_output .= '[...]';
} elseif (empty($var)) {
self::$_output .= '[]';
} else {
$keys = array_keys($var);
$spaces = str_repeat(' ', $level * 4);
self::$_output .= '[';
foreach ($keys as $key) {
self::$_output .= "\n" . $spaces . ' ';
self::dumpInternal($key, 0);
self::$_output .= ' => ';
self::dumpInternal($var[$key], $level + 1);
}
self::$_output .= "\n" . $spaces . ']';
}
break;
case 'object':
if (($id = array_search($var, self::$_objects, true)) !== false) {
self::$_output .= get_class($var) . '#' . ($id + 1) . '(...)';
} elseif (self::$_depth <= $level) {
self::$_output .= get_class($var) . '(...)';
} else {
$id = array_push(self::$_objects, $var);
$className = get_class($var);
$spaces = str_repeat(' ', $level * 4);
self::$_output .= "$className#$id\n" . $spaces . '(';
foreach ((array) $var as $key => $value) {
$keyDisplay = strtr(trim($key), "\0", ':');
self::$_output .= "\n" . $spaces . " [$keyDisplay] => ";
self::dumpInternal($value, $level + 1);
}
self::$_output .= "\n" . $spaces . ')';
}
break;
}
}
/**
* Exports a variable as a string representation.
*
* The string is a valid PHP expression that can be evaluated by PHP parser
* and the evaluation result will give back the variable value.
*
* This method is similar to `var_export()`. The main difference is that
* it generates more compact string representation using short array syntax.
*
* It also handles objects by using the PHP functions serialize() and unserialize().
*
* PHP 5.4 or above is required to parse the exported value.
*
* @param mixed $var the variable to be exported.
* @return string a string representation of the variable
*/
public static function export($var)
{
self::$_output = '';
self::exportInternal($var, 0);
return self::$_output;
}
/**
* @param mixed $var variable to be exported
* @param integer $level depth level
*/
private static function exportInternal($var, $level)
{
switch (gettype($var)) {
case 'NULL':
self::$_output .= 'null';
break;
case 'array':
if (empty($var)) {
self::$_output .= '[]';
} else {
$keys = array_keys($var);
$outputKeys = ($keys !== range(0, sizeof($var) - 1));
$spaces = str_repeat(' ', $level * 4);
self::$_output .= '[';
foreach ($keys as $key) {
self::$_output .= "\n" . $spaces . ' ';
if ($outputKeys) {
self::exportInternal($key, 0);
self::$_output .= ' => ';
}
self::exportInternal($var[$key], $level + 1);
self::$_output .= ',';
}
self::$_output .= "\n" . $spaces . ']';
}
break;
case 'object':
self::$_output .= 'unserialize(' . var_export(serialize($var), true) . ')';
break;
default:
self::$_output .= var_export($var, true);
}
}
}
| Java |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <iWorkImport/GQDBGPlaceholder.h>
#import "GQDNameMappable-Protocol.h"
@class GQDWPLayoutFrame;
// Not exported
@interface GQDBGTitlePlaceholder : GQDBGPlaceholder <GQDNameMappable>
{
GQDWPLayoutFrame *mFrame;
}
+ (const struct StateSpec *)stateForReading;
- (_Bool)isBlank;
- (id)layoutFrame;
- (void)dealloc;
@end
| Java |
/**
* Logback: the reliable, generic, fast and flexible logging framework.
* Copyright (C) 1999-2015, QOS.ch. All rights reserved.
*
* This program and the accompanying materials are dual-licensed under
* either the terms of the Eclipse Public License v1.0 as published by
* the Eclipse Foundation
*
* or (per the licensee's choosing)
*
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
*/
package ch.qos.logback.core.pattern.color;
import static ch.qos.logback.core.pattern.color.ANSIConstants.*;
/**
* Encloses a given set of converter output in gray using the appropriate ANSI
* escape codes.
*
* @param <E>
* @author Ceki Gülcü
* @since 1.0.5
*/
public class GrayCompositeConverter<E> extends ForegroundCompositeConverterBase<E> {
@Override
protected String getForegroundColorCode(E event) {
return BOLD + BLACK_FG;
}
}
| Java |
s3backup
========
A simple folder backup solution to AWS S3.
* Central configuration - Job configuration is downloaded from S3 allowing easy
changes from a central location instead of separate config files on each machine.
* S3 Cache - File metadata is cached initially to avoid hitting S3 for each file.
Author: Brian Gershon
License: MIT
Usage
-----
s3backup.rb job backup_job_s3_key aws_bucket aws_profile
Example:
s3backup.rb job laptop_backup_job.yml my-bucket brian
Description
-----------
`aws_bucket` is a string like `my-s3-bucket`
`aws_profile` is a profile name in `~/.aws/credentials`
See [Setting up AWS Credentials](http://docs.aws.amazon.com/AWSSdkDocsRuby/latest/DeveloperGuide/set-up-creds.html)
`backup_job_s3_key` is the name (s3_key) of a YAML file in aws_bucket.
See below for file format.
Job Configuration (YAML file)
-----------------------------
Here is an example `laptop_backup_job.yml` job file:
```
---
backup_base_path: /Volumes
backup_folder: /Volumes/stuff
backup_folder_excludes:
- /Volumes/stuff/Lib/
- /Volumes/stuff/cache/
```
`backup_folder` is the absolute path of the folder you want to backup, recursively.
`backup_base_path` is the part that is stripped off the beginning to determine the S3 key.
If you don't want to strip anything off, you must include just a `/` (forward slash),
you can't leave it blank.
`backup_folder_excludes` is an array of absolute paths to exclude from the backup_folder.
If you don't have any excludes just use this line: `backup_folder_excludes: []`.
| Java |
---
title: Argo Contribution
category: technology
tags: [Argo,Kubernetes,Github,PullRequest]
author: JackyWu
comments: true
---
## Contact me

或者用邮件交流 <a href="mailto:jacky.wucheng@foxmail.com">jacky.wucheng@foxmail.com</a>
## Argo Contribution
Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes.
PR: <https://github.com/argoproj/argo/pulls?utf8=✓&q=+is%3Apr+author%3Ajackywu+> | Java |
<?php
namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Twig;
use OroCRM\Bundle\ContactBundle\Twig\SocialUrlExtension;
use OroCRM\Bundle\ContactBundle\Model\Social;
class SocialUrlExtensionTest extends \PHPUnit_Framework_TestCase
{
/**
* @var SocialUrlExtension
*/
protected $twigExtension;
/**
* @var \PHPUnit_Framework_MockObject_MockObject
*/
protected $urlFormatter;
protected function setUp()
{
$this->urlFormatter = $this->getMockBuilder('OroCRM\Bundle\ContactBundle\Formatter\SocialUrlFormatter')
->setMethods(array('getSocialUrl'))
->disableOriginalConstructor()
->getMock();
$this->twigExtension = new SocialUrlExtension($this->urlFormatter);
}
protected function tearDown()
{
unset($this->urlFormatter);
unset($this->twigExtension);
}
public function testGetFunctions()
{
$expectedFunctions = array(
'oro_social_url' => 'getSocialUrl',
);
$actualFunctions = array();
/** @var \Twig_SimpleFunction $function */
foreach ($this->twigExtension->getFunctions() as $function) {
$this->assertInstanceOf('\Twig_SimpleFunction', $function);
$callable = $function->getCallable();
$this->assertArrayHasKey(1, $callable);
$actualFunctions[$function->getName()] = $callable[1];
}
$this->assertEquals($expectedFunctions, $actualFunctions);
}
/**
* @param string $expectedUrl
* @param string $socialType
* @param string $username
* @dataProvider socialUrlDataProvider
*/
public function testGetSocialUrl($expectedUrl, $socialType, $username)
{
if ($socialType && $username) {
$this->urlFormatter->expects($this->once())
->method('getSocialUrl')
->with($socialType, $username)
->will(
$this->returnCallback(
function ($socialType, $username) {
return 'http://' . $socialType . '/' . $username;
}
)
);
} else {
$this->urlFormatter->expects($this->never())
->method('getSocialUrl');
}
$this->assertEquals($expectedUrl, $this->twigExtension->getSocialUrl($socialType, $username));
}
/**
* @return array
*/
public function socialUrlDataProvider()
{
return array(
'no type' => array(
'expectedUrl' => '#',
'socialType' => null,
'username' => 'me',
),
'no username' => array(
'expectedUrl' => '#',
'socialType' => Social::TWITTER,
'username' => null,
),
'valid data' => array(
'expectedUrl' => 'http://' . Social::TWITTER . '/me',
'socialType' => Social::TWITTER,
'username' => 'me',
),
);
}
}
| Java |
**Repel Vermin**
**School** abjuration; **Level** bard 4, cleric 4, druid 4, ranger 3
**Casting Time** 1 standard action
**Components** V, S, DF
**Range** 10 ft.
**Area** 10-ft.-radius emanation centered on you
**Duration** 10 min./level (D)
**Saving Throw** none or [Will](../combat#_will) negates; see text; **[Spell Resistance](../glossary#_spell-resistance)** yes
An invisible barrier holds back vermin. A vermin with HD of less than one-third your level cannot penetrate the barrier.
A vermin with HD of one-third your level or more can penetrate the barrier if it succeeds on a [Will](../combat#_will) save. Even so, crossing the barrier deals the vermin 2d6 points of damage, and pressing against the barrier causes pain, which deters most vermin.
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-field: 17 m 57 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.9.1 / mathcomp-field - 1.11.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mathcomp-field
<small>
1.11.0
<span class="label label-success">17 m 57 s 🏆</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-12-28 10:10:01 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-28 10:10:01 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.9.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.03.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.03.0 Official 4.03.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Mathematical Components <mathcomp-dev@sympa.inria.fr>"
homepage: "https://math-comp.github.io/"
bug-reports: "https://github.com/math-comp/math-comp/issues"
dev-repo: "git+https://github.com/math-comp/math-comp.git"
license: "CECILL-B"
build: [ make "-C" "mathcomp/field" "-j" "%{jobs}%" ]
install: [ make "-C" "mathcomp/field" "install" ]
depends: [ "coq-mathcomp-solvable" { = version } ]
tags: [ "keyword:algebra" "keyword:field" "keyword:small scale reflection" "keyword:mathematical components" "keyword:odd order theorem" "logpath:mathcomp.field" ]
authors: [ "Jeremy Avigad <>" "Andrea Asperti <>" "Stephane Le Roux <>" "Yves Bertot <>" "Laurence Rideau <>" "Enrico Tassi <>" "Ioana Pasca <>" "Georges Gonthier <>" "Sidi Ould Biha <>" "Cyril Cohen <>" "Francois Garillot <>" "Alexey Solovyev <>" "Russell O'Connor <>" "Laurent Théry <>" "Assia Mahboubi <>" ]
synopsis: "Mathematical Components Library on Fields"
description:"""
This library contains definitions and theorems about field extensions,
galois theory, algebraic numbers, cyclotomic polynomials...
"""
url {
src: "https://github.com/math-comp/math-comp/archive/mathcomp-1.11.0.tar.gz"
checksum: "sha256=b16108320f77d15dd19ecc5aad90775b576edfa50c971682a1a439f6d364fef6"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-mathcomp-field.1.11.0 coq.8.9.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-mathcomp-field.1.11.0 coq.8.9.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>20 m 54 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 8h opam install -y -v coq-mathcomp-field.1.11.0 coq.8.9.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>17 m 57 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 10 M</p>
<ul>
<li>1 M <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/fieldext.vo</code></li>
<li>1 M <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/galois.vo</code></li>
<li>721 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algebraics_fundamentals.vo</code></li>
<li>562 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algnum.vo</code></li>
<li>521 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/galois.glob</code></li>
<li>520 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/separable.vo</code></li>
<li>480 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algC.vo</code></li>
<li>477 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/closed_field.glob</code></li>
<li>464 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/closed_field.vo</code></li>
<li>444 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/falgebra.vo</code></li>
<li>439 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/fieldext.glob</code></li>
<li>391 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/separable.glob</code></li>
<li>374 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algebraics_fundamentals.glob</code></li>
<li>352 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/finfield.vo</code></li>
<li>333 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algC.glob</code></li>
<li>308 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/falgebra.glob</code></li>
<li>286 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algnum.glob</code></li>
<li>226 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/finfield.glob</code></li>
<li>180 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/cyclotomic.vo</code></li>
<li>108 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/cyclotomic.glob</code></li>
<li>69 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/galois.v</code></li>
<li>67 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/fieldext.v</code></li>
<li>54 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/all_field.vo</code></li>
<li>52 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algebraics_fundamentals.v</code></li>
<li>49 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algC.v</code></li>
<li>47 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/falgebra.v</code></li>
<li>44 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/separable.v</code></li>
<li>39 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/closed_field.v</code></li>
<li>39 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/algnum.v</code></li>
<li>32 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/finfield.v</code></li>
<li>15 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/cyclotomic.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/all_field.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.03.0/lib/coq/user-contrib/mathcomp/field/all_field.v</code></li>
</ul>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-mathcomp-field.1.11.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / extra-dev</a></li>
<li class="active"><a href="">dev / mathcomp-character - 1.7.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mathcomp-character
<small>
1.7.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-12-29 01:31:58 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-29 01:31:58 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq dev Formal proof management system
dune 2.9.1 Fast, portable, and opinionated build system
ocaml 4.07.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1 Official release 4.07.1
ocaml-config 1 OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1 OCaml 4.08.1 Secondary Switch Compiler
ocamlfind 1.9.1 A library manager for OCaml
ocamlfind-secondary 1.9.1 Adds support for ocaml-secondary-compiler to ocamlfind
zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
name: "coq-mathcomp-character"
version: "1.7.0"
maintainer: "Mathematical Components <mathcomp-dev@sympa.inria.fr>"
synopsis: "The Mathematical Components library"
homepage: "https://math-comp.github.io/math-comp/"
bug-reports: "Mathematical Components <mathcomp-dev@sympa.inria.fr>"
dev-repo: "git+https://github.com/math-comp/math-comp.git"
license: "CeCILL-B"
build: [ make "-C" "mathcomp/character" "-j" "%{jobs}%" ]
install: [ make "-C" "mathcomp/character" "install" ]
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/mathcomp/character'" ]
depends: [
"ocaml"
"coq-mathcomp-field" {= "1.7.0"}
]
tags: [ "keyword:algebra" "keyword:character" "keyword:small scale reflection" "keyword:mathematical components" "keyword:odd order theorem" ]
authors: [ "Jeremy Avigad <>" "Andrea Asperti <>" "Stephane Le Roux <>" "Yves Bertot <>" "Laurence Rideau <>" "Enrico Tassi <>" "Ioana Pasca <>" "Georges Gonthier <>" "Sidi Ould Biha <>" "Cyril Cohen <>" "Francois Garillot <>" "Alexey Solovyev <>" "Russell O'Connor <>" "Laurent Théry <>" "Assia Mahboubi <>" ]
url {
src: "http://github.com/math-comp/math-comp/archive/mathcomp-1.7.0.tar.gz"
checksum: "md5=e1bde60e67844e692f88c5d64a44004e"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-mathcomp-character.1.7.0 coq.dev</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is dev).
The following dependencies couldn't be met:
- coq-mathcomp-character -> coq-mathcomp-field = 1.7.0 -> coq-mathcomp-solvable = 1.7.0 -> coq-mathcomp-algebra = 1.7.0 -> coq-mathcomp-fingroup = 1.7.0 -> coq-mathcomp-ssreflect = 1.7.0 -> coq < 8.10~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-mathcomp-character.1.7.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PathHandler | Orange</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script src="../assets/js/modernizr.js"></script>
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">Orange</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">Globals</a>
</li>
<li>
<a href="../modules/orange.html">Orange</a>
</li>
<li>
<a href="../modules/orange.routing.html">Routing</a>
</li>
<li>
<a href="orange.routing.pathhandler.html">PathHandler</a>
</li>
</ul>
<h1>Class PathHandler</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<span class="target">PathHandler</span>
</li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section tsd-is-external tsd-is-not-exported">
<h3>Constructors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-external tsd-is-not-exported"><a href="orange.routing.pathhandler.html#constructor" class="tsd-kind-icon">constructor</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-external tsd-is-not-exported">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-external tsd-is-not-exported"><a href="orange.routing.pathhandler.html#handler" class="tsd-kind-icon">handler</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-external tsd-is-not-exported"><a href="orange.routing.pathhandler.html#path" class="tsd-kind-icon">path</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-external tsd-is-not-exported">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-external tsd-is-not-exported"><a href="orange.routing.pathhandler.html#trymatch" class="tsd-kind-icon">try<wbr>Match</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-external tsd-is-not-exported">
<h2>Constructors</h2>
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<li class="tsd-signature tsd-kind-icon">new <wbr>Path<wbr>Handler<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegExp</span>, handler<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="orange.routing.pathhandler.html" class="tsd-signature-type">PathHandler</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Infviz/Orange/blob/56b9b45/Orange/Router.ts#L6">Router.ts:6</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>path: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegExp</span></h5>
</li>
<li>
<h5>handler: <span class="tsd-signature-type">Function</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="orange.routing.pathhandler.html" class="tsd-signature-type">PathHandler</a></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-external tsd-is-not-exported">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a name="handler" class="tsd-anchor"></a>
<h3>handler</h3>
<div class="tsd-signature tsd-kind-icon">handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Infviz/Orange/blob/56b9b45/Orange/Router.ts#L6">Router.ts:6</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a name="path" class="tsd-anchor"></a>
<h3>path</h3>
<div class="tsd-signature tsd-kind-icon">path<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">RegExp</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Infviz/Orange/blob/56b9b45/Orange/Router.ts#L5">Router.ts:5</a></li>
</ul>
</aside>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-external tsd-is-not-exported">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a name="trymatch" class="tsd-anchor"></a>
<h3>try<wbr>Match</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<li class="tsd-signature tsd-kind-icon">try<wbr>Match<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/Infviz/Orange/blob/56b9b45/Orange/Router.ts#L16">Router.ts:16</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>path: <span class="tsd-signature-type">string</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">object</span></h4>
<ul class="tsd-parameters">
</ul>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../index.html"><em>Globals</em></a>
</li>
<li class="label tsd-is-external">
<span>Externals</span>
</li>
<li class=" tsd-kind-module tsd-is-external">
<a href="../modules/orange.html">Orange</a>
</li>
<li class=" tsd-kind-module tsd-parent-kind-module tsd-is-external">
<a href="../modules/orange.bindings.html">Orange.<wbr>Bindings</a>
</li>
<li class=" tsd-kind-module tsd-parent-kind-module tsd-is-external">
<a href="../modules/orange.controls.html">Orange.<wbr>Controls</a>
</li>
<li class=" tsd-kind-module tsd-parent-kind-module tsd-is-external">
<a href="../modules/orange.modularity.html">Orange.<wbr>Modularity</a>
</li>
<li class="current tsd-kind-module tsd-parent-kind-module tsd-is-external">
<a href="../modules/orange.routing.html">Orange.<wbr>Routing</a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
</ul>
<ul class="current">
<li class="current tsd-kind-class tsd-parent-kind-module tsd-is-external tsd-is-not-exported">
<a href="orange.routing.pathhandler.html" class="tsd-kind-icon">Path<wbr>Handler</a>
<ul>
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a href="orange.routing.pathhandler.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a href="orange.routing.pathhandler.html#handler" class="tsd-kind-icon">handler</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a href="orange.routing.pathhandler.html#path" class="tsd-kind-icon">path</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-external tsd-is-not-exported">
<a href="orange.routing.pathhandler.html#trymatch" class="tsd-kind-icon">try<wbr>Match</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-class tsd-parent-kind-module tsd-is-external">
<a href="orange.routing.router.html" class="tsd-kind-icon">Router</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="http://typedoc.io" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html> | Java |
'use strict';
var assert = require('assert')
, TestEvents = require('../lib/TestEvents');
var wasCalled = false;
var FN = function (ev) {
wasCalled = true;
};
describe('TestEvents', function () {
beforeEach(function () {
wasCalled = false;
});
describe('#on', function () {
it('Should bind a function for an event', function () {
TestEvents.on(TestEvents.EMITTED_EVENTS, FN);
});
});
describe('#emit', function () {
it('Should call bound function for an event', function () {
TestEvents.emit(TestEvents.EMITTED_EVENTS);
assert.equal(wasCalled, true);
});
});
})
| Java |
<?php
/**
* @author rugk
* @copyright Copyright (c) 2015-2016 rugk
* @license MIT
*/
// set end of line
$eol = PHP_EOL;
if (php_sapi_name() != 'cli') {
$eol .= '<br>';
}
//list all functions
$functions = get_extension_funcs('libsodium');
foreach ($functions as $func) {
echo $func . $eol;
}
echo $eol;
| Java |
require 'doorkeeper/oauth/assertion_access_token_request'
module Doorkeeper
module Request
class Assertion
def self.build(server)
new(server)
end
attr_reader :server
def initialize(server)
@server = server
end
def request
@request ||= OAuth::AssertionAccessTokenRequest.new(server, Doorkeeper.configuration)
end
def authorize
request.authorize
end
end
end
end | Java |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; https://www.helixoft.com" />
<link rel="icon" href="favicon.ico">
<title>DataProtection.AppSetting Property</title>
<link rel="stylesheet" type="text/css" href="msdn2019/toc.css" />
<script src="msdn2019/toc.js"></script>
<link rel="stylesheet" type="text/css" href="msdn2019/msdn2019.css"></link>
<script src="msdn2019/msdn2019.js" type="text/javascript"></script>
<script src="SyntaxHighlighter/scripts/shCore_helixoft.js" type="text/javascript"></script>
<script src="SyntaxHighlighter/scripts/shBrushVb.js" type="text/javascript"></script>
<script src="SyntaxHighlighter/scripts/shBrushCSharp.js" type="text/javascript"></script>
<script src="SyntaxHighlighter/scripts/shBrushFSharp.js" type="text/javascript"></script>
<script src="SyntaxHighlighter/scripts/shBrushCpp.js" type="text/javascript"></script>
<script src="SyntaxHighlighter/scripts/shBrushJScript.js" type="text/javascript"></script>
<link href="SyntaxHighlighter/styles/shCore.css" rel="stylesheet" type="text/css" />
<link href="SyntaxHighlighter/styles/shThemeMsdnLW.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
SyntaxHighlighter.all();
</script>
<link rel="stylesheet" type="text/css" href="vsdocman_overrides.css"></link>
</head>
<body style="direction: ltr;">
<div id="topic">
<!--HEADER START-->
<div id="header">
<div id="header-top-container">
<div id="header-top-parent-container1">
<div id="header-top-container1">
<div id="runningHeaderText1"><a id="headerLogo" href="#" onclick="window.location.href = getCssCustomProperty('--headerLogoLink'); return false;">logo</a></div>
<div id="runningHeaderText1b"><script>
document.write(getCssCustomProperty('--headerTopCustomLineHtml'));
</script></div>
</div>
</div>
<div id="header-top-container2">
<div id="runningHeaderText">SOLUTION-WIDE PROPERTIES Reference</div>
<div id="search-bar-container">
<form id="search-bar" action="search--.html">
<input id="HeaderSearchInput" type="search" name="search" placeholder="Search" >
<button id="btn-search" class="c-glyph" title="Search">
<span>Search</span>
</button>
</form>
<button id="cancel-search" class="cancel-search" title="Cancel">
<span>Cancel</span>
</button>
</div>
</div>
</div>
<hr />
<div id="header-breadcrumbs"></div>
<div id="headerLinks">
</div>
<hr />
</div>
<!--HEADER END-->
<div id="mainSection">
<div id="toc-area">
<div id="toc-container" class="stickthis full-height">
<div id="-1"></div>
<div id="c-1">
<div id="ci-1" class="inner-for-height"></div>
</div>
</div>
</div>
<div id="mainBody">
<h1 class="title">DataProtection.AppSetting Property</h1>
<div class="metadata">
Namespace:
<a href="topic_0000000000000000.html">Microsoft.Extensions.DependencyInjection</a>
<br />Assembly: Tlece.WebApp (in Tlece.WebApp.dll)
</div>
<div class="section_container">
<div id="syntaxSection" class="section">
<div id="syntaxCodeBlocks">
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCornerActive">
</div>
<div class="codeSnippetTab csFirstTab csActiveTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csNaTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csNaTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csLastTab csNaTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCorner">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</div>
<div class="codeSnippetCode codeVB">
<pre xml:space="preserve" class="brush: vb">Public Shared Property AppSetting() As <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a></pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCorner">
</div>
<div class="codeSnippetTab csFirstTab csNaTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csActiveTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csNaTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csLastTab csNaTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCorner">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</div>
<div class="codeSnippetCode codeCsharp">
<pre xml:space="preserve" class="brush: csharp">public static <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a> AppSetting {get; set;}</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCorner">
</div>
<div class="codeSnippetTab csFirstTab csNaTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csNaTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csActiveTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csLastTab csNaTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCorner">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</div>
<div class="codeSnippetCode codeCpp">
<pre xml:space="preserve" class="brush: cpp">public: <br />static property <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a>^ AppSetting { <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a>^ get( ); <br /> void set( <br /> <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a>^ value <br /> ); <br />}</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
<div class="codeSnippetContainer">
<div class="codeSnippetTabs">
<div class="codeSnippetTabLeftCorner">
</div>
<div class="codeSnippetTab csFirstTab csNaTab codeVB">
<a>VB</a>
</div>
<div class="codeSnippetTab csNaTab codeCsharp">
<a href="javascript: CodeSnippet_SetLanguage('Csharp');">C#</a>
</div>
<div class="codeSnippetTab csNaTab codeFsharp">
<a href="javascript: CodeSnippet_SetLanguage('Fsharp');">F#</a>
</div>
<div class="codeSnippetTab csNaTab codeCpp">
<a href="javascript: CodeSnippet_SetLanguage('Cpp');">C++</a>
</div>
<div class="codeSnippetTab csActiveTab csLastTab codeJScript">
<a href="javascript: CodeSnippet_SetLanguage('JScript');">JScript</a>
</div>
<div class="codeSnippetTabRightCornerActive">
</div>
<div style="clear:both;">
</div>
</div>
<div class="codeSnippetCodeCollection">
<div class="codeSnippetToolbar">
<a title="Copy to clipboard." href="javascript:void(0)" onclick="CopyCode(this);">Copy</a>
</div>
<div class="codeSnippetCode codeJScript">
<pre xml:space="preserve" class="brush: js">public static function get AppSetting() : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a>; <br />public static function set AppSetting(value : <a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a>);</pre>
</div>
<div class="codeSnippetCode codeNA">
<pre xml:space="preserve">This language is not supported or no code example is available.</pre>
</div>
</div>
</div>
</div>
<h4 class="subHeading">
Property Value</h4>
<a target="_top" href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.configuration.iconfiguration">IConfiguration</a>
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">Applies to</a></span>
<div> </div>
</div>
<div id="frameworksSection" class="section">
<h4 class="subHeading">.NET Framework</h4>Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1<br />
</div>
</div>
<div class="section_container">
<div class="section_heading">
<span><a href="javascript:void(0)" title="Collapse" onclick="toggleSection(this);">See Also</a></span>
<div> </div>
</div>
<div id="seeAlsoSection" class="section">
<div>
<a href="topic_0000000000000006.html">DataProtection Class</a><br />
<a href="topic_0000000000000000.html">Microsoft.Extensions.DependencyInjection Namespace</a><br />
</div>
</div>
</div>
</div>
<div id="internal-toc-area">
<div id="internal-toc-container" class="stickthis">
<h3 id="internal-toc-heading">In this article</h3>
<span id="internal-toc-definition-localized-text">Definition</span>
</div>
</div>
</div>
<div id="footer">
<div id="footer-container">
<p><span style="color: #FF0000;">Generated with unregistered version of <a target="_top" href="http://www.helixoft.com/vsdocman/overview.html">VSdocman</a></span> <br />Your own footer text will only be shown in registered version.</p>
</div>
</div>
</div>
</body>
</html>
| Java |
//process.argv.forEach(function (val, index, array) { console.log(index + ': ' + val); });
var fs = require('fs');
(function () {
function slugify(text) {
text = text.replace(/[^-a-zA-Z0-9,&\s]+/ig, '');
text = text.replace(/-/gi, "_");
text = text.replace(/\s/gi, "-");
return text;
}
var DocGen = {
filesArr: null,
files: {},
functions: [],
nbLoaded: 0,
init: function (files) {
this.filesArr = files;
},
start: function () {
for (var i=0, len=this.filesArr.length; i<len; i++) {
var file = this.filesArr[i];
this.processFile(file);
}
},
fileLoaded: function() {
this.nbLoaded++;
if (this.nbLoaded == this.filesArr.length) {
this.exportHtml();
}
},
getSignatures: function (m) {
var sig = null;
var signatures = [];
var rSig = /\\*\s?(@sig\s.*)\n/gi;
while (sig = rSig.exec(m)) {
var params = [];
var rParam = /(\w+):(\w+)/gi;
while (param = rParam.exec(sig[1])) {
var name = param[1];
var type = param[2];
params.push({ name: name, type: type });
}
if (params.length >= 1) {
ret = params.pop();
}
signatures.push({ params: params, ret: ret});
}
return signatures;
},
extractInfos: function (m) {
var self = this;
var fun = m[2];
var rFun = /['|"]?([a-zA-Z0-9._-]+)['|"]?\s?:\s?function\s?\(.*\)\s?{/gi;
var isFun = rFun.exec(fun);
if (!isFun) {
rFun = /socket\.on\(['|"]([a-zA-Z0-9._-]+)['|"]\s?,\s?function\s?\(.*\)\s?{/gi;
isFun = rFun.exec(fun);
}
if (isFun) {
var comment = m[1];
var name = isFun[1];
var sigs = self.getSignatures(comment);
var desc = (/\*\s(.*?)\n/gi).exec(m[1])[1];
var f = { name: name, description: desc, sigs: sigs };
return f;
}
return null;
},
processFile: function (file) {
var self = this;
// Get the file in a buffer
fs.readFile(file, function(err, data) {
var buf = data.toString('binary');
var functions = [];
// Get all long comment ( /** )
var rgx = new RegExp("/\\*\\*\n([a-zA-Z0-9 -_\n\t]*)\\*/\n(.*)\n", "gi");
while (m = rgx.exec(buf)) {
info = self.extractInfos(m);
if (info) {
functions.push(info);
}
}
self.files[file] = { functions: functions };
self.fileLoaded();
});
},
sortFunctions: function (fun1, fun2) {
var name1 = fun1.name.toLowerCase();
var name2 = fun2.name.toLowerCase();
if (name1 < name2) { return -1; }
else if (name1 > name2) { return 1; }
else { return 0; }
},
exportHtml: function() {
for (var fileName in this.files) {
var file = this.files[fileName];
file.functions.sort(this.sortFunctions);
console.log(fileName, file.functions.length);
var html = '<!DOCTYPE html>\n' +
'<html>\n' +
'<head>\n' +
' <title></title>\n' +
' <link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" charset="utf-8" />\n' +
' <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />\n' +
//' <script src="js/scripts.js" type="text/javascript"></script>' +
'</head>\n' +
'<body>\n' +
'\n' +
'<div class="menu" id="menu">\n' +
' <h1>Files</h1>\n' +
' <ul>\n';
for (var f in this.files) {
html += ' <li><a href="'+f+'.html">'+f+'</a></li>\n';
}
html += ' </ul>\n' +
' <h1>Functions</h1>\n' +
' <ul>\n';
for (var i=0, len=file.functions.length; i<len; i++) {
html += ' <li><a href="#'+slugify(file.functions[i].name)+'">'+file.functions[i].name+'</a></li>\n';
}
html += ' </ul>\n'
html += '</div>\n' +
'<div id="page">\n' +
' <div class="content">\n';
for (var i=0, len=file.functions.length; i<len; i++) {
var fn = file.functions[i];
if (fn.sigs.length > 0) {
html += '<h3><a name="'+slugify(fn.name)+'">'+fn.name+'</a></h3>\n';
html += '<span class="signature">\n';
for (var s=0, len2=fn.sigs.length; s<len2; s++) {
var sig = fn.sigs[s];
html += '<span class="name">'+fn.name+'</span> ( ';
for (var p=0, len3=sig.params.length; p<len3; p++) {
var param = sig.params[p];
html += '<span class="param">'+param.name+'</span>:<span class="type">'+param.type+'</span>, ';
}
html = html.substr(0, html.length-2);
html += ' ) : <span class="param">'+sig.ret.name+'</span>:<span class="type">'+sig.ret.type+'</span><br />';
}
html = html.substr(0, html.length-6);
html += '</span>\n';
html += '<p>'+fn.description+'</p>';
}
}
html += ' </div>\n' +
'</div>\n' +
'\n' +
'</body>\n'
'</html>';
fs.writeFile('doc/'+fileName+'.html', html);
}
}
};
var files = ['sockets.js', 'database_operations.js'];
DocGen.init(files);
DocGen.start();
})();
| Java |
require 'rest_client'
module WebHook
# Makes a http request to the target endpoint passing contents as data
def self.send_message(endpoint, content)
# TODO:
# - Make webrequest
# - If success return success
# - If error, return error
response = RestClient.post endpoint, content.to_json, :content_type => :json
return response.code, response
end
def self.prune_devices
# Checks failed endpoints
# removes "dead" endpoints
end
end
| Java |
# -*- coding:utf-8 -*-
# This code is automatically transpiled by Saklient Translator
import six
from ..client import Client
from .model import Model
from ..resources.resource import Resource
from ..resources.licenseinfo import LicenseInfo
from ...util import Util
import saklient
str = six.text_type
# module saklient.cloud.models.model_licenseinfo
class Model_LicenseInfo(Model):
## ライセンス種別情報を検索するための機能を備えたクラス。
## @private
# @return {str}
def _api_path(self):
return "/product/license"
## @private
# @return {str}
def _root_key(self):
return "LicenseInfo"
## @private
# @return {str}
def _root_key_m(self):
return "LicenseInfo"
## @private
# @return {str}
def _class_name(self):
return "LicenseInfo"
## @private
# @param {any} obj
# @param {bool} wrapped=False
# @return {saklient.cloud.resources.resource.Resource}
def _create_resource_impl(self, obj, wrapped=False):
Util.validate_type(wrapped, "bool")
return LicenseInfo(self._client, obj, wrapped)
## 次に取得するリストの開始オフセットを指定します。
#
# @param {int} offset オフセット
# @return {saklient.cloud.models.model_licenseinfo.Model_LicenseInfo} this
def offset(self, offset):
Util.validate_type(offset, "int")
return self._offset(offset)
## 次に取得するリストの上限レコード数を指定します。
#
# @param {int} count 上限レコード数
# @return {saklient.cloud.models.model_licenseinfo.Model_LicenseInfo} this
def limit(self, count):
Util.validate_type(count, "int")
return self._limit(count)
## Web APIのフィルタリング設定を直接指定します。
#
# @param {str} key キー
# @param {any} value 値
# @param {bool} multiple=False valueに配列を与え、OR条件で完全一致検索する場合にtrueを指定します。通常、valueはスカラ値であいまい検索されます。
# @return {saklient.cloud.models.model_licenseinfo.Model_LicenseInfo}
def filter_by(self, key, value, multiple=False):
Util.validate_type(key, "str")
Util.validate_type(multiple, "bool")
return self._filter_by(key, value, multiple)
## 次のリクエストのために設定されているステートをすべて破棄します。
#
# @return {saklient.cloud.models.model_licenseinfo.Model_LicenseInfo} this
def reset(self):
return self._reset()
## 指定したIDを持つ唯一のリソースを取得します。
#
# @param {str} id
# @return {saklient.cloud.resources.licenseinfo.LicenseInfo} リソースオブジェクト
def get_by_id(self, id):
Util.validate_type(id, "str")
return self._get_by_id(id)
## リソースの検索リクエストを実行し、結果をリストで取得します。
#
# @return {saklient.cloud.resources.licenseinfo.LicenseInfo[]} リソースオブジェクトの配列
def find(self):
return self._find()
## 指定した文字列を名前に含むリソースに絞り込みます。
#
# 大文字・小文字は区別されません。
# 半角スペースで区切られた複数の文字列は、それらをすべて含むことが条件とみなされます。
#
# @todo Implement test case
# @param {str} name
# @return {saklient.cloud.models.model_licenseinfo.Model_LicenseInfo}
def with_name_like(self, name):
Util.validate_type(name, "str")
return self._with_name_like(name)
## 名前でソートします。
#
# @todo Implement test case
# @param {bool} reverse=False
# @return {saklient.cloud.models.model_licenseinfo.Model_LicenseInfo}
def sort_by_name(self, reverse=False):
Util.validate_type(reverse, "bool")
return self._sort_by_name(reverse)
## @ignore
# @param {saklient.cloud.client.Client} client
def __init__(self, client):
super(Model_LicenseInfo, self).__init__(client)
Util.validate_type(client, "saklient.cloud.client.Client")
| Java |
'use strict';
exports.name = '/activation';
| Java |
---
layout: default
---
<section class="collection-head small geopattern" data-pattern-id="{{ page.title | truncate: 15, ''}}">
<div class="container">
<div class="columns">
<div class="column three-fourths">
<div class="collection-title">
<h1 class="collection-header">{{ page.title }}</h1>
<div class="collection-info">
{% if page.date %}
<span class="meta-info">
<span class="octicon octicon-calendar"></span> {{ page.date | date: "%Y/%m/%d" }}
</span>
{% endif %}
{% for cat in page.categories %}
<span class="meta-info">
<span class="octicon octicon-file-directory"></span>
<a href="{{ site.url }}/categories/#{{ cat }}" title="{{ cat }}">{{ cat }}</a>
</span>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</section>
<!-- / .banner -->
<section class="container content">
<div class="columns">
<div class="column three-fourths" >
<article class="article-content markdown-body">
{{ content }}
{% include article-footer.html %}
</article>
<div class="share">
{% include sns-share.html %}
</div>
<div class="comment">
{% include comments.html %}
</div>
</div>
<div class="column one-fourth">
{% include sidebar-search.html %}
{% include sidebar-post-nav.html %}
</div>
</div>
</section>
<!-- /section.content -->
| Java |
<?php
use Symfony\Component\Routing\RequestContext;
use Symfony\Component\Routing\Exception\RouteNotFoundException;
/**
* appdevUrlGenerator
*
* This class has been auto-generated
* by the Symfony Routing Component.
*/
class appdevUrlGenerator extends Symfony\Component\Routing\Generator\UrlGenerator
{
static private $declaredRouteNames = array(
'_wdt' => true,
'_profiler_search' => true,
'_profiler_purge' => true,
'_profiler_import' => true,
'_profiler_export' => true,
'_profiler_search_results' => true,
'_profiler' => true,
'_configurator_home' => true,
'_configurator_step' => true,
'_configurator_final' => true,
'Creditunions' => true,
'Creditunions_show' => true,
'Creditunions_new' => true,
'Creditunions_create' => true,
'Creditunions_edit' => true,
'Creditunions_update' => true,
'Creditunions_delete' => true,
'Customers' => true,
'Customers_show' => true,
'Customers_new' => true,
'Customers_create' => true,
'Customers_edit' => true,
'Customers_update' => true,
'Customers_delete' => true,
'creditunion_frontend_default_index' => true,
'creditunion_frontend_default_contact' => true,
'Depositsandloans' => true,
'Depositsandloans_show' => true,
'Depositsandloans_new' => true,
'Depositsandloans_create' => true,
'Depositsandloans_edit' => true,
'Depositsandloans_update' => true,
'Depositsandloans_delete' => true,
'Price' => true,
'Price_show' => true,
'Price_new' => true,
'Price_create' => true,
'Price_edit' => true,
'Price_update' => true,
'Price_delete' => true,
'creditunion_frontend_welcome_index' => true,
'worker' => true,
'worker_show' => true,
'worker_new' => true,
'worker_create' => true,
'worker_edit' => true,
'worker_update' => true,
'worker_delete' => true,
);
/**
* Constructor.
*/
public function __construct(RequestContext $context)
{
$this->context = $context;
}
public function generate($name, $parameters = array(), $absolute = false)
{
if (!isset(self::$declaredRouteNames[$name])) {
throw new RouteNotFoundException(sprintf('Route "%s" does not exist.', $name));
}
$escapedName = str_replace('.', '__', $name);
list($variables, $defaults, $requirements, $tokens) = $this->{'get'.$escapedName.'RouteInfo'}();
return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $absolute);
}
private function get_wdtRouteInfo()
{
return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::toolbarAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'token', ), 1 => array ( 0 => 'text', 1 => '/_wdt', ),));
}
private function get_profiler_searchRouteInfo()
{
return array(array (), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::searchAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_profiler/search', ),));
}
private function get_profiler_purgeRouteInfo()
{
return array(array (), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::purgeAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_profiler/purge', ),));
}
private function get_profiler_importRouteInfo()
{
return array(array (), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::importAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_profiler/import', ),));
}
private function get_profiler_exportRouteInfo()
{
return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::exportAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '.txt', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/\\.]+?', 3 => 'token', ), 2 => array ( 0 => 'text', 1 => '/_profiler/export', ),));
}
private function get_profiler_search_resultsRouteInfo()
{
return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::searchResultsAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/search/results', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'token', ), 2 => array ( 0 => 'text', 1 => '/_profiler', ),));
}
private function get_profilerRouteInfo()
{
return array(array ( 0 => 'token',), array ( '_controller' => 'Symfony\\Bundle\\WebProfilerBundle\\Controller\\ProfilerController::panelAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'token', ), 1 => array ( 0 => 'text', 1 => '/_profiler', ),));
}
private function get_configurator_homeRouteInfo()
{
return array(array (), array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::checkAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_configurator/', ),));
}
private function get_configurator_stepRouteInfo()
{
return array(array ( 0 => 'index',), array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::stepAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'index', ), 1 => array ( 0 => 'text', 1 => '/_configurator/step', ),));
}
private function get_configurator_finalRouteInfo()
{
return array(array (), array ( '_controller' => 'Sensio\\Bundle\\DistributionBundle\\Controller\\ConfiguratorController::finalAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/_configurator/final', ),));
}
private function getCreditunionsRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CreditunionsController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Creditunions/', ),));
}
private function getCreditunions_showRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CreditunionsController::showAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/show', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Creditunions', ),));
}
private function getCreditunions_newRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CreditunionsController::newAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Creditunions/new', ),));
}
private function getCreditunions_createRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CreditunionsController::createAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/Creditunions/create', ),));
}
private function getCreditunions_editRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CreditunionsController::editAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/edit', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Creditunions', ),));
}
private function getCreditunions_updateRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CreditunionsController::updateAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/update', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Creditunions', ),));
}
private function getCreditunions_deleteRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CreditunionsController::deleteAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/delete', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Creditunions', ),));
}
private function getCustomersRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CustomersController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Customers/', ),));
}
private function getCustomers_showRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CustomersController::showAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/show', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Customers', ),));
}
private function getCustomers_newRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CustomersController::newAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Customers/new', ),));
}
private function getCustomers_createRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CustomersController::createAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/Customers/create', ),));
}
private function getCustomers_editRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CustomersController::editAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/edit', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Customers', ),));
}
private function getCustomers_updateRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CustomersController::updateAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/update', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Customers', ),));
}
private function getCustomers_deleteRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\CustomersController::deleteAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/delete', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Customers', ),));
}
private function getcreditunion_frontend_default_indexRouteInfo()
{
return array(array ( 0 => 'name',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DefaultController::indexAction',), array (), array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'name', ), 1 => array ( 0 => 'text', 1 => '/hello', ),));
}
private function getcreditunion_frontend_default_contactRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DefaultController::contact',), array (), array ( 0 => array ( 0 => 'text', 1 => '/contact', ),));
}
private function getDepositsandloansRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DepositsandloansController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Depositsandloans/', ),));
}
private function getDepositsandloans_showRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DepositsandloansController::showAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/show', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Depositsandloans', ),));
}
private function getDepositsandloans_newRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DepositsandloansController::newAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Depositsandloans/new', ),));
}
private function getDepositsandloans_createRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DepositsandloansController::createAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/Depositsandloans/create', ),));
}
private function getDepositsandloans_editRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DepositsandloansController::editAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/edit', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Depositsandloans', ),));
}
private function getDepositsandloans_updateRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DepositsandloansController::updateAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/update', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Depositsandloans', ),));
}
private function getDepositsandloans_deleteRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\DepositsandloansController::deleteAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/delete', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Depositsandloans', ),));
}
private function getPriceRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\PricelistController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Price/', ),));
}
private function getPrice_showRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\PricelistController::showAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/show', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Price', ),));
}
private function getPrice_newRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\PricelistController::newAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Price/new', ),));
}
private function getPrice_createRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\PricelistController::createAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/Price/create', ),));
}
private function getPrice_editRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\PricelistController::editAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/edit', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Price', ),));
}
private function getPrice_updateRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\PricelistController::updateAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/update', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Price', ),));
}
private function getPrice_deleteRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\PricelistController::deleteAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/delete', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Price', ),));
}
private function getcreditunion_frontend_welcome_indexRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WelcomeController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/', ),));
}
private function getworkerRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WorkerController::indexAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Worker/', ),));
}
private function getworker_showRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WorkerController::showAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/show', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Worker', ),));
}
private function getworker_newRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WorkerController::newAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/Worker/new', ),));
}
private function getworker_createRouteInfo()
{
return array(array (), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WorkerController::createAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/Worker/create', ),));
}
private function getworker_editRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WorkerController::editAction',), array (), array ( 0 => array ( 0 => 'text', 1 => '/edit', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Worker', ),));
}
private function getworker_updateRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WorkerController::updateAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/update', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Worker', ),));
}
private function getworker_deleteRouteInfo()
{
return array(array ( 0 => 'id',), array ( '_controller' => 'CreditUnion\\FrontendBundle\\Controller\\WorkerController::deleteAction',), array ( '_method' => 'post',), array ( 0 => array ( 0 => 'text', 1 => '/delete', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]+?', 3 => 'id', ), 2 => array ( 0 => 'text', 1 => '/Worker', ),));
}
}
| Java |
const _ = require('lodash')
const Joi = require('joi')
module.exports = {
name: 'href',
params: {
href: Joi.array().items(
Joi.string(),
Joi.func().ref()
).min(1)
},
setup (params) {
params.href = [''].concat(params.href)
this._flags.href = params.href
},
validate (params, value, state, options) {
let parts = value.split('/').slice(1)
if (!parts.every((p) => _.size(p) > 0)) {
return this.createError('link.href', { v: value }, state, options)
} else {
return value
}
}
}
| Java |
using System;
using System.Windows.Input;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Neo.Gui.Base.Dialogs.Interfaces;
using Neo.Gui.Base.Dialogs.Results.Wallets;
using Neo.Gui.Base.Managers.Interfaces;
using Neo.Gui.Base.Services.Interfaces;
namespace Neo.Gui.ViewModels.Wallets
{
public class OpenWalletViewModel : ViewModelBase, IDialogViewModel<OpenWalletDialogResult>
{
#region Private Fields
private readonly IFileDialogService fileDialogService;
private string walletPath;
private string password;
#endregion
#region Constructor
public OpenWalletViewModel(
IFileManager fileManager,
IFileDialogService fileDialogService,
ISettingsManager settingsManager)
{
this.fileDialogService = fileDialogService;
if (fileManager.FileExists(settingsManager.LastWalletPath))
{
this.WalletPath = settingsManager.LastWalletPath;
}
}
#endregion
#region Public Properties
public string WalletPath
{
get => this.walletPath;
set
{
if (this.walletPath == value) return;
this.walletPath = value;
RaisePropertyChanged();
// Update dependent property
RaisePropertyChanged(nameof(this.ConfirmEnabled));
}
}
public bool ConfirmEnabled
{
get
{
if (string.IsNullOrEmpty(this.WalletPath) || string.IsNullOrEmpty(this.password))
{
return false;
}
return true;
}
}
public ICommand GetWalletPathCommand => new RelayCommand(this.GetWalletPath);
public ICommand ConfirmCommand => new RelayCommand(this.Confirm);
#endregion
#region IDialogViewModel implementation
public event EventHandler Close;
public event EventHandler<OpenWalletDialogResult> SetDialogResultAndClose;
public OpenWalletDialogResult DialogResult { get; private set; }
#endregion
#region Public Methods
public void UpdatePassword(string updatedPassword)
{
this.password = updatedPassword;
// Update dependent property
RaisePropertyChanged(nameof(this.ConfirmEnabled));
}
#endregion
#region Private Methods
private void GetWalletPath()
{
// TODO Localise file filter text
var path = this.fileDialogService.OpenFileDialog("NEP-6 Wallet|*.json|SQLite Wallet|*.db3");
if (string.IsNullOrEmpty(path)) return;
this.WalletPath = path;
}
private void Confirm()
{
if (!this.ConfirmEnabled) return;
if (this.SetDialogResultAndClose == null) return;
var dialogResult = new OpenWalletDialogResult(
this.WalletPath,
this.password);
this.SetDialogResultAndClose(this, dialogResult);
}
#endregion
}
} | Java |
// Mucking with different levels
let currentLevel = { cells: undefined, dims: undefined };
if (0) {
currentLevel.cells = level;
currentLevel.dims = level_dims;
} else {
currentLevel.cells = LEVEL_ONE;
currentLevel.dims = LEVEL_ONE_DIMS;
}
// Return a reference to the (logical) cell's unique object
const _getCellReference = (i, j, k = 1) => {
if (i < 0 || j < 0) {
return undefined;
}
if (i >= currentLevel.dims.i || j >= currentLevel.dims.j) {
return undefined;
}
return currentLevel.cells[i + j * (currentLevel.dims.j)];
};
/**
* The drawing grid used to represent the editable regions of the level.
* [i, j] refer to logical coordinates. [w, h] represent the number of pixels
* per grid division on the target 2D rendering surface.
*/
const grid = {
i: 20,
j: 20,
w: undefined,
h: undefined,
};
// Translate party front/back/left/right to N/S/E/W
const XLATE_UCS2PARTY = {
n: { f: 'n', b: 's', r: 'e', l: 'w' },
s: { f: 's', b: 'n', r: 'w', l: 'e' },
e: { f: 'e', b: 'w', r: 's', l: 'n' },
w: { f: 'w', b: 'e', r: 'n', l: 's' }
};
// JavaScript divmod is boned
const divMod = (n, d) => {
return n - d * Math.floor(n / d);
};
// Give an [i, j] coordinate and wrap it if exceeds grid dimensions
const gridWrap = (i, j) => {
return [divMod(i, grid.i), divMod(j, grid.j)];
};
| Java |
\hypertarget{group___u_a_r_t___word___length}{}\section{U\+A\+RT Word Length}
\label{group___u_a_r_t___word___length}\index{U\+A\+R\+T Word Length@{U\+A\+R\+T Word Length}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item
\#define {\bfseries U\+A\+R\+T\+\_\+\+W\+O\+R\+D\+L\+E\+N\+G\+T\+H\+\_\+8B}~((uint32\+\_\+t)0x00000000)\hypertarget{group___u_a_r_t___word___length_gaf394e9abaf17932ee89591f990fe6407}{}\label{group___u_a_r_t___word___length_gaf394e9abaf17932ee89591f990fe6407}
\item
\#define {\bfseries U\+A\+R\+T\+\_\+\+W\+O\+R\+D\+L\+E\+N\+G\+T\+H\+\_\+9B}~((uint32\+\_\+t)\hyperlink{group___peripheral___registers___bits___definition_ga95f0288b9c6aaeca7cb6550a2e6833e2}{U\+S\+A\+R\+T\+\_\+\+C\+R1\+\_\+M})\hypertarget{group___u_a_r_t___word___length_gaf867be43de35fd3c32fe0b4dd4058f7e}{}\label{group___u_a_r_t___word___length_gaf867be43de35fd3c32fe0b4dd4058f7e}
\end{DoxyCompactItemize}
\subsection{Detailed Description}
| Java |
var fastn = require('fastn')({
_generic: require('fastn/genericComponent'),
list: require('fastn/listComponent'),
templater: require('fastn/templaterComponent'),
text: require('fastn/textComponent'),
ratingControl: require('./ratingControlComponent')
});
module.exports = function(settings){
return fastn('ratingControl', settings).attach().render();
}; | Java |
import os
import logging
from jsub.util import safe_mkdir
from jsub.util import safe_rmdir
class Submit(object):
def __init__(self, manager, task_id, sub_ids=None, dry_run=False, resubmit=False):
self.__manager = manager
self.__task = self.__manager.load_task(task_id)
self.__sub_ids = sub_ids
self.__dry_run = dry_run
self.__resubmit = resubmit
self.__logger = logging.getLogger('JSUB')
if self.__sub_ids==None:
self.__sub_ids=range(len(self.__task.data['jobvar']))
self.__initialize_manager()
def __initialize_manager(self):
self.__config_mgr = self.__manager.load_config_manager()
self.__backend_mgr = self.__manager.load_backend_manager()
self.__bootstrap_mgr = self.__manager.load_bootstrap_manager()
self.__navigator_mgr = self.__manager.load_navigator_manager()
self.__context_mgr = self.__manager.load_context_manager()
self.__action_mgr = self.__manager.load_action_manager()
self.__launcher_mgr = self.__manager.load_launcher_manager()
def handle(self):
run_root = self.__backend_mgr.get_run_root(self.__task.data['backend'], self.__task.data['id'])
main_root = os.path.join(run_root, 'main')
safe_rmdir(main_root)
safe_mkdir(main_root)
self.__create_input(main_root)
self.__create_context(main_root)
self.__create_action(main_root)
self.__create_navigator(main_root)
self.__create_bootstrap(main_root)
launcher_param = self.__create_launcher(run_root)
self.__submit(launcher_param)
def __create_input(self, main_root):
content = self.__manager.load_content()
input_dir = os.path.join(main_root,'input')
try:
content.get(self.__task.data['id'], 'input', os.path.join(main_root, 'input'))
except:
safe_mkdir(input_dir)
def __create_context(self, main_root):
context_dir = os.path.join(main_root, 'context')
safe_mkdir(context_dir)
action_default = {}
for unit, param in self.__task.data['workflow'].items():
action_default[unit] = self.__action_mgr.default_config(param['type'])
navigators = self.__config_mgr.navigator()
context_format = self.__navigator_mgr.context_format(navigators)
self.__context_mgr.create_context_file(self.__task.data, action_default, context_format, context_dir)
def __create_action(self, main_root):
action_dir = os.path.join(main_root, 'action')
safe_mkdir(action_dir)
actions = set()
for unit, param in self.__task.data['workflow'].items():
actions.add(param['type'])
self.__action_mgr.create_actions(actions, action_dir)
def __create_navigator(self, main_root):
navigator_dir = os.path.join(main_root, 'navigator')
safe_mkdir(navigator_dir)
navigators = self.__config_mgr.navigator()
self.__navigator_mgr.create_navigators(navigators, navigator_dir)
def __create_bootstrap(self, main_root):
bootstrap_dir = os.path.join(main_root, 'bootstrap')
safe_mkdir(bootstrap_dir)
bootstrap = self.__config_mgr.bootstrap()
self.__bootstrap_mgr.create_bootstrap(bootstrap, bootstrap_dir)
def __create_launcher(self, run_root):
launcher = self.__task.data['backend']['launcher']
return self.__launcher_mgr.create_launcher(launcher, run_root)
def __submit(self, launcher_param):
if self.__dry_run:
return
if self.__resubmit==False:
if self.__task.data.get('backend_job_ids') or self.__task.data.get('backend_task_id'):
self.__logger.info('This task has already been submitted to backend, rerun the command with "-r" option if you wish to delete current jobs and resubmit the task.')
return
else:
self.__logger.info('Removing submitted jobs on backend before resubmission.')
task_id = self.__task.data.get('backend_task_id')
#remove previously generated files in job folder
job_ids = self.__task.data.get('backend_job_ids')
run_root = self.__backend_mgr.get_run_root(self.__task.data['backend'], self.__task.data['id'])
job_root=os.path.join(run_root,'subjobs')
safe_rmdir(job_root)
if task_id:
self.__backend_mgr.delete_task(self.__task.data['backend'],backend_task_id = task_id)
elif job_ids:
self.__backend_mgr.delete_jobs(self.__task.data['backend'],backend_job_ids = job_ids)
result = self.__backend_mgr.submit(self.__task.data['backend'], self.__task.data['id'], launcher_param, sub_ids = self.__sub_ids)
if not type(result) is dict:
result = {}
if 'backend_job_ids' in result:
njobs = len(result['backend_job_ids'])
else:
njobs = len(result)
if njobs>0:
self.__logger.info('%d jobs successfully submitted to backend.'%(njobs))
self.__task.data.setdefault('backend_job_ids',{})
backend_job_ids=result.get('backend_job_ids',{})
backend_task_id=result.get('backend_task_id',0)
self.__task.data['backend_job_ids'].update(backend_job_ids)
self.__task.data['backend_task_id']=backend_task_id
self.__task.data['status'] = 'Submitted'
task_pool = self.__manager.load_task_pool()
task_pool.save(self.__task)
self.__logger.debug(result)
| Java |
# tree [](https://travis-ci.org/ryanfowler/tree) [](https://goreportcard.com/report/github.com/ryanfowler/tree) [](https://godoc.org/github.com/ryanfowler/tree)
In-memory Red-Black Tree implementation in Go.
Red-black trees are a self-balancing binary search tree that allow for O(log(n))
search, insertion, and deletion. To learn more, you can check out the
[Wikipedia page](https://en.wikipedia.org/wiki/Red%E2%80%93black_tree).
This library purposely maintains a similiar interface to the excellent btree
implementation by Google:
[https://github.com/google/btree](https://github.com/google/btree)
Which, in turn, was inspired by the great:
[https://github.com/petar/GoLLRB](https://github.com/petar/GoLLRB)
## Usage
The zero value of a RedBlackTree is a ready to use empty tree.
```go
import "github.com/ryanfowler/tree"
var rb tree.RedBlackTree
```
### Items
Items put into the tree must implement the Item interface, which consists on a
single method, `Less(Item) bool`. Two Items 'a' & 'b' are considered equal if:
```go
equal := !a.Less(b) && !b.Less(a)
```
Convenience types that implement the Item interface are:
- `Int`
- `String`
- `Bytes`
However, most of the time you'll want to use a custom type.
### Inserting
Items can be inserted or replaced in a RedBlackTree using `Upsert`. Upsert will
return the Item that was replaced by the Upsert. If there was no matching Item
in the tree, nil is returned.
```go
var rb tree.RedBlackTree
item := rb.Upsert(tree.Int(10))
fmt.Println(item)
// Will print: <nil>
item = rb.Upsert(tree.Int(10))
fmt.Println(item)
// Will print: 10
```
### Retrieving
An Item can be retrieved from a RedBlackTree using the following methods:
- `Get(item Item) Item` - returns an Item in the tree _equal_ to the provided Item, or nil if there is no matching Item.
- `Max() Item` - returns the largest Item in the tree, or nil if the tree is empty.
- `Min() Item` - returns the smallest Item in the tree, or nil if the tree is empty.
```go
var rb tree.RedBlackTree
rb.Upsert(tree.Int(4))
rb.Upsert(tree.Int(5))
rb.Upsert(tree.Int(6))
item := rb.Get(tree.Int(5))
fmt.Println(item)
// Will print: 5
item = rb.Get(tree.Int(8))
fmt.Println(item)
// Will print: <nil>
item = rb.Max()
fmt.Println(item)
// Will print: 6
item = rb.Min()
fmt.Println(item)
// Will print: 4
```
### Deleting
An Item can be removed from a RedBlackTree using the following methods:
- `Delete(item Item) Item` - removes an Item in the tree _equal_ to the provided Item, returning it. If there is no matching Item, nil is returned.
- `DeleteMax() Item` - deletes and returns the largest Item in the tree, or nil if the tree is empty.
- `DeleteMin() Item` - deletes and returns the smallest Item in the tree, or nil if the tree is empty.
```go
var rb tree.RedBlackTree
rb.Upsert(tree.Int(4))
rb.Upsert(tree.Int(5))
rb.Upsert(tree.Int(6))
fmt.Println(rb.Size())
// Will print: 3
item := rb.Delete(tree.Int(5))
fmt.Println(item)
// Will print: 5
fmt.Println(rb.Size())
// Will print: 2
item = rb.Delete(tree.Int(8))
fmt.Println(item)
// Will print: <nil>
fmt.Println(rb.Size())
// Will print: 2
item = rb.DeleteMax()
fmt.Println(item)
// Will print: 6
fmt.Println(rb.Size())
// Will print: 1
item = rb.Min()
fmt.Println(item)
// Will print: 4
fmt.Println(rb.Size())
// Will print: 0
```
### Example
Currently, a RedBlackTree does _not_ allow for the storing of equal items. This
can be worked around by including a second, unique field in the type's `Less`
method.
For example, suppose you were designing a game and had a collection of users
with their highest scores. If you wanted to retrieve the user(s) with the
highest score, it could look something like this:
```go
import (
"fmt"
"github.com/ryanfowler/tree"
)
type User struct {
ID int
Score int
}
func (u *User) Less(than tree.Item) bool {
thanUser := than.(*User)
return u.Score < thanUser.Score || (u.Score == thanUser.Score && u.ID < thanUser.ID)
}
func main() {
var rb tree.RedBlackTree
// Create users.
u1 := &User{ID: 1, Score: 10}
u2 := &User{ID: 2, Score: 7}
u3 := &User{ID: 3, Score: 12}
u4 := &User{ID: 4, Score: 10}
// Insert into the RedBlackTree.
rb.Upsert(u1)
rb.Upsert(u2)
rb.Upsert(u3)
rb.Upsert(u4)
// Get the user with the highest score.
item := rb.Max()
if item == nil {
// The tree is empty.
return
}
maxItem := item.(*User)
fmt.Printf("%+v\n", maxItem)
// Will print:
// &{ID: 3, Score: 12}
// Insert another user with a matching high score.
u5 := &User{ID: 5, Score: 12}
rb.Upsert(u5)
// Get all users with the highest score.
var maxScore int
var maxUsers []*User
rb.Descend(func(item tree.Item) bool {
user := item.(*User)
if len(maxUsers) == 0 {
maxScore = user.Score
maxUsers = append(maxUsers, user)
return true
}
if user.Score < maxScore {
return false
}
maxUsers = append(maxUsers, user)
return true
})
for _, user := range maxUsers {
fmt.Printf("%+v\n", user)
}
// Will print:
// &{ID: 5, Score: 12}
// &{ID: 3, Score: 12}
}
```
## License
MIT License
Copyright (c) 2017 Ryan Fowler
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
| Java |
<?php
namespace rg\injektor;
class InjectionLoopException extends InjectionException {
}
| Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Mon Aug 31 23:15:49 CEST 2015 -->
<title>IObjectStringEmptyCheck (FailFast v.1.3)</title>
<meta name="date" content="2015-08-31">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="IObjectStringEmptyCheck (FailFast v.1.3)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/IObjectStringEmptyCheck.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../starkcoder/failfast/checks/objects/strings/IObjectStringDefaultProperties.html" title="interface in starkcoder.failfast.checks.objects.strings"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../starkcoder/failfast/checks/objects/strings/IObjectStringEqualsCheck.html" title="interface in starkcoder.failfast.checks.objects.strings"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?starkcoder/failfast/checks/objects/strings/IObjectStringEmptyCheck.html" target="_top">Frames</a></li>
<li><a href="IObjectStringEmptyCheck.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">starkcoder.failfast.checks.objects.strings</div>
<h2 title="Interface IObjectStringEmptyCheck" class="title">Interface IObjectStringEmptyCheck</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><a href="../../../../../starkcoder/failfast/checks/ICheck.html" title="interface in starkcoder.failfast.checks">ICheck</a></dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../../starkcoder/failfast/checks/IChecker.html" title="interface in starkcoder.failfast.checks">IChecker</a>, <a href="../../../../../starkcoder/failfast/checks/objects/IObjectChecker.html" title="interface in starkcoder.failfast.checks.objects">IObjectChecker</a>, <a href="../../../../../starkcoder/failfast/checks/objects/strings/IObjectStringChecker.html" title="interface in starkcoder.failfast.checks.objects.strings">IObjectStringChecker</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../starkcoder/failfast/checks/AChecker.html" title="class in starkcoder.failfast.checks">AChecker</a>, <a href="../../../../../starkcoder/failfast/checks/Checker.html" title="class in starkcoder.failfast.checks">Checker</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">IObjectStringEmptyCheck</span>
extends <a href="../../../../../starkcoder/failfast/checks/ICheck.html" title="interface in starkcoder.failfast.checks">ICheck</a></pre>
<div class="block">Specifies an empty value check for String.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Keld Oelykke</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../starkcoder/failfast/checks/objects/strings/IObjectStringEmptyCheck.html#isStringEmpty(java.lang.Object, java.lang.String)">isStringEmpty</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> caller,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> referenceA)</code>
<div class="block">Checks if the String reference an empty string.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="isStringEmpty(java.lang.Object, java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isStringEmpty</h4>
<pre>boolean isStringEmpty(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> caller,
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> referenceA)</pre>
<div class="block">Checks if the String reference an empty string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>caller</code> - end-user instance initiating the check</dd><dd><code>referenceA</code> - reference to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>true, if referenced object has an empty string, otherwise false</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if caller is null</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/IObjectStringEmptyCheck.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../starkcoder/failfast/checks/objects/strings/IObjectStringDefaultProperties.html" title="interface in starkcoder.failfast.checks.objects.strings"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../starkcoder/failfast/checks/objects/strings/IObjectStringEqualsCheck.html" title="interface in starkcoder.failfast.checks.objects.strings"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?starkcoder/failfast/checks/objects/strings/IObjectStringEmptyCheck.html" target="_top">Frames</a></li>
<li><a href="IObjectStringEmptyCheck.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>The MIT License (MIT) - Copyright © 2014-2015 Keld Oelykke. All Rights Reserved.</i></small></p>
</body>
</html>
| Java |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>條目 </b></th><td class="std2">糟糠不厭</td></tr>
<tr><th class="std1"><b>注音 </b></th><td class="std2">ㄗㄠ ㄎㄤ ㄅㄨ<sup class="subfont">ˋ</sup> |ㄢ<sup class="subfont">ˋ</sup></td></tr>
<tr><th class="std1"><b>漢語拼音 </b></th><td class="std2"><font class="english_word">zāo kāng bù yàn</font></td></tr>
<tr><th class="std1"><b>釋義 </b></th><td class="std2">厭,飽。糟糠不厭形容生活極貧苦。史記˙卷六十一˙伯夷傳:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>然回也屢空,糟糠不厭,而卒蚤夭。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center></td></tr>
<tr><th class="std1"><b><font class="fltypefont">附錄</font> </b></th><td class="std2">修訂本參考資料</td></tr>
</td></tr></table></div> <!-- flayoutclass_first --><div class="flayoutclass_second"></div> <!-- flayoutclass_second --></div> <!-- flayoutclass --></td></tr></table>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="../circle.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="section">
<h1 class="header center orange-text">User agent detail</h1>
<div class="row center">
<h5 class="header light">
Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
</h5>
</div>
</div>
<div class="section">
<table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">ZTE</td><td>V965</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59">Detail</a>
<!-- Modal Structure -->
<div id="modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">Array
(
[user_agent_string] => Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
[family] => ZTE V965
[brand] => ZTE
[model] => V965
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Chrome 18.0</td><td>WebKit </td><td>Android 4.2</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.13001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a>
<!-- Modal Structure -->
<div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapFull result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.4\.2.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/18\..*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android?4.2*) applewebkit/* (khtml* like gecko) chrome/18.*safari/*
[parent] => Chrome 18.0 for Android
[comment] => Chrome 18.0
[browser] => Chrome
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 18.0
[majorver] => 18
[minorver] => 0
[platform] => Android
[platform_version] => 4.2
[platform_description] => Android OS
[platform_bits] => 32
[platform_maker] => Google Inc
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[javascript] => 1
[vbscript] =>
[javaapplets] =>
[activexcontrols] =>
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] =>
[crawler] =>
[isfake] =>
[isanonymized] =>
[ismodified] =>
[cssversion] => 3
[aolversion] => 0
[device_name] => general Mobile Phone
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => general Mobile Phone
[device_brand_name] => unknown
[renderingengine_name] => WebKit
[renderingengine_version] => unknown
[renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3.
[renderingengine_maker] => Apple Inc
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td><td>Chrome </td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.008</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-42bb56ba-b834-47c5-bea0-c0270e9ab371">Detail</a>
<!-- Modal Structure -->
<div id="modal-42bb56ba-b834-47c5-bea0-c0270e9ab371" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapLite result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/.*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/*safari/*
[parent] => Chrome Generic for Android
[comment] => Chrome Generic
[browser] => Chrome
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => unknown
[browser_modus] => unknown
[version] => 0.0
[majorver] => 0
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] => false
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => unknown
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td><td>Chrome 18.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.028</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a>
<!-- Modal Structure -->
<div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapPhp result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.4\.2.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/18\..*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android?4.2*) applewebkit/* (khtml* like gecko) chrome/18.*safari/*
[parent] => Chrome 18.0 for Android
[comment] => Chrome 18.0
[browser] => Chrome
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 18.0
[majorver] => 18
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] =>
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a>
<!-- Modal Structure -->
<div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>DonatjUAParser result detail</h4>
<p><pre><code class="php">Array
(
[platform] => Android
[browser] => Chrome
[version] => 18.0.1025.166
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.2.1</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51">Detail</a>
<!-- Modal Structure -->
<div id="modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>JenssegersAgent result detail</h4>
<p><pre><code class="php">Array
(
[browserName] => Chrome
[browserVersion] => 18.0.1025.166
[osName] => AndroidOS
[osVersion] => 4.2.1
[deviceModel] => WebKit
[isMobile] => 1
[isRobot] =>
[botName] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td>Chrome Mobile 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.2.1</td><td style="border-left: 1px solid #555">ZTE</td><td>V965</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.29002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a>
<!-- Modal Structure -->
<div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>NeutrinoApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[mobile_screen_height] => 480
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => ZTE
[mobile_model] => V965
[version] => 18.0.1025.166
[is_android] => 1
[browser_name] => Chrome Mobile
[operating_system_family] => Android
[operating_system_version] => 4.2.1
[is_ios] =>
[producer] => Google Inc.
[operating_system] => Android 4.2 Jelly Bean
[mobile_screen_width] => 320
[mobile_browser] => Android Webkit
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td>Chrome Mobile 18.0</td><td>WebKit </td><td>Android 4.2</td><td style="border-left: 1px solid #555">ZTE</td><td>V965</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.004</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a>
<!-- Modal Structure -->
<div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>PiwikDeviceDetector result detail</h4>
<p><pre><code class="php">Array
(
[client] => Array
(
[type] => browser
[name] => Chrome Mobile
[short_name] => CM
[version] => 18.0
[engine] => WebKit
)
[operatingSystem] => Array
(
[name] => Android
[short_name] => AND
[version] => 4.2
[platform] =>
)
[device] => Array
(
[brand] => ZT
[brandName] => ZTE
[model] => V965
[device] => 1
[deviceName] => smartphone
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] =>
[isPhablet] =>
[isPortableMediaPlayer] =>
[isSmartDisplay] =>
[isSmartphone] => 1
[isTablet] =>
[isTV] =>
[isDesktop] =>
[isMobile] => 1
[isTouchEnabled] =>
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.2.1</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-ec1cd248-02b0-457e-8a9d-35bb99af008c">Detail</a>
<!-- Modal Structure -->
<div id="modal-ec1cd248-02b0-457e-8a9d-35bb99af008c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>SinergiBrowserDetector result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Sinergi\BrowserDetector\Browser Object
(
[userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
[name:Sinergi\BrowserDetector\Browser:private] => Chrome
[version:Sinergi\BrowserDetector\Browser:private] => 18.0.1025.166
[isRobot:Sinergi\BrowserDetector\Browser:private] =>
[isChromeFrame:Sinergi\BrowserDetector\Browser:private] =>
[isFacebookWebView:Sinergi\BrowserDetector\Browser:private] =>
[isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] =>
)
[operatingSystem] => Sinergi\BrowserDetector\Os Object
(
[name:Sinergi\BrowserDetector\Os:private] => Android
[version:Sinergi\BrowserDetector\Os:private] => 4.2.1
[isMobile:Sinergi\BrowserDetector\Os:private] => 1
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
)
[device] => Sinergi\BrowserDetector\Device Object
(
[name:Sinergi\BrowserDetector\Device:private] => unknown
[userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td>Chrome Mobile 18.0.1025</td><td><i class="material-icons">close</i></td><td>Android 4.2.1</td><td style="border-left: 1px solid #555">ZTE</td><td>V965</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.003</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a>
<!-- Modal Structure -->
<div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">UAParser\Result\Client Object
(
[ua] => UAParser\Result\UserAgent Object
(
[major] => 18
[minor] => 0
[patch] => 1025
[family] => Chrome Mobile
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] => 4
[minor] => 2
[patch] => 1
[patchMinor] =>
[family] => Android
)
[device] => UAParser\Result\Device Object
(
[brand] => ZTE
[model] => V965
[family] => ZTE V965
)
[originalUserAgent] => Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td><td>Chrome 18.0.1025.166</td><td>WebKit 535.19</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.15201</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6">Detail</a>
<!-- Modal Structure -->
<div id="modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[platform_name] => ZTE
[platform_version] => 965
[platform_type] => Mobile
[browser_name] => Chrome
[browser_version] => 18.0.1025.166
[engine_name] => WebKit
[engine_version] => 535.19
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentStringCom<br /><small></small><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 4.2.1</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.063</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee">Detail</a>
<!-- Modal Structure -->
<div id="modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentStringCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[agent_type] => Browser
[agent_name] => Android Webkit Browser
[agent_version] => --
[os_type] => Android
[os_name] => Android
[os_versionName] =>
[os_versionNumber] => 4.2.1
[os_producer] =>
[os_producerURL] =>
[linux_distibution] => Null
[agent_language] =>
[agent_languageTag] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td><td>Chrome 18.0.1025.166</td><td>WebKit 535.19</td><td>Android 4.2.1</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.25602</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c">Detail</a>
<!-- Modal Structure -->
<div id="modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhatIsMyBrowserCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[operating_system_name] => Android
[simple_sub_description_string] =>
[simple_browser_string] => Chrome 18 on Android (Jelly Bean)
[browser_version] => 18
[extra_info] => Array
(
)
[operating_platform] =>
[extra_info_table] => stdClass Object
(
[System Build] => JOP40D
)
[layout_engine_name] => WebKit
[detected_addons] => Array
(
)
[operating_system_flavour_code] =>
[hardware_architecture] =>
[operating_system_flavour] =>
[operating_system_frameworks] => Array
(
)
[browser_name_code] => chrome
[operating_system_version] => Jelly Bean
[simple_operating_platform_string] =>
[is_abusive] =>
[layout_engine_version] => 535.19
[browser_capabilities] => Array
(
)
[operating_platform_vendor_name] =>
[operating_system] => Android (Jelly Bean)
[operating_system_version_full] => 4.2.1
[operating_platform_code] =>
[browser_name] => Chrome
[operating_system_name_code] => android
[user_agent] => Mozilla/5.0 (Linux; Android 4.2.1; ZTE V965 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
[browser_version_full] => 18.0.1025.166
[browser] => Chrome 18
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td>Chrome 18</td><td>Webkit 535.19</td><td>Android 4.2.1</td><td style="border-left: 1px solid #555">ZTE</td><td>V965</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.003</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a>
<!-- Modal Structure -->
<div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[name] => Chrome
[version] => 18
[type] => browser
)
[engine] => Array
(
[name] => Webkit
[version] => 535.19
)
[os] => Array
(
[name] => Android
[version] => 4.2.1
)
[device] => Array
(
[type] => mobile
[subtype] => smart
[manufacturer] => ZTE
[model] => V965
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9">Detail</a>
<!-- Modal Structure -->
<div id="modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Woothee result detail</h4>
<p><pre><code class="php">Array
(
[name] => Chrome
[vendor] => Google
[version] => 18.0.1025.166
[category] => smartphone
[os] => Android
[os_version] => 4.2.1
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.2.1</td><td style="border-left: 1px solid #555"></td><td></td><td>Smartphone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.017</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a>
<!-- Modal Structure -->
<div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Wurfl result detail</h4>
<p><pre><code class="php">Array
(
[virtual] => Array
(
[is_android] => true
[is_ios] => false
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => false
[is_mobile] => true
[is_robot] => false
[is_smartphone] => true
[is_touchscreen] => true
[is_wml_preferred] => false
[is_xhtmlmp_preferred] => false
[is_html_preferred] => true
[advertised_device_os] => Android
[advertised_device_os_version] => 4.2.1
[advertised_browser] => Chrome
[advertised_browser_version] => 18.0.1025.166
[complete_device_name] => Generic Android 4.2
[device_name] => Generic Android 4.2
[form_factor] => Smartphone
[is_phone] => true
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Generic
[model_name] => Android 4.2
[unique] => true
[ununiqueness_handler] =>
[is_wireless_device] => true
[device_claims_web_support] => true
[has_qwerty_keyboard] => true
[can_skip_aligned_link_row] => true
[uaprof] =>
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => Android
[mobile_browser] => Android Webkit
[mobile_browser_version] =>
[device_os_version] => 4.2
[pointing_method] => touchscreen
[release_date] => 2012_october
[marketing_name] =>
[model_extra_info] =>
[nokia_feature_pack] => 0
[can_assign_phone_number] => true
[is_tablet] => false
[manufacturer_name] =>
[is_bot] => false
[is_google_glass] => false
[proportional_font] => false
[built_in_back_button_support] => false
[card_title_support] => true
[softkey_support] => false
[table_support] => true
[numbered_menus] => false
[menu_with_select_element_recommended] => false
[menu_with_list_of_links_recommended] => true
[icons_on_menu_items_support] => false
[break_list_of_links_with_br_element_recommended] => true
[access_key_support] => false
[wrap_mode_support] => false
[times_square_mode_support] => false
[deck_prefetch_support] => false
[elective_forms_recommended] => true
[wizards_recommended] => false
[image_as_link_support] => false
[insert_br_element_after_widget_recommended] => false
[wml_can_display_images_and_text_on_same_line] => false
[wml_displays_image_in_center] => false
[opwv_wml_extensions_support] => false
[wml_make_phone_call_string] => wtai://wp/mc;
[chtml_display_accesskey] => false
[emoji] => false
[chtml_can_display_images_and_text_on_same_line] => false
[chtml_displays_image_in_center] => false
[imode_region] => none
[chtml_make_phone_call_string] => tel:
[chtml_table_support] => false
[xhtml_honors_bgcolor] => true
[xhtml_supports_forms_in_table] => true
[xhtml_support_wml2_namespace] => false
[xhtml_autoexpand_select] => false
[xhtml_select_as_dropdown] => false
[xhtml_select_as_radiobutton] => false
[xhtml_select_as_popup] => false
[xhtml_display_accesskey] => false
[xhtml_supports_invisible_text] => false
[xhtml_supports_inline_input] => false
[xhtml_supports_monospace_font] => false
[xhtml_supports_table_for_layout] => true
[xhtml_supports_css_cell_table_coloring] => true
[xhtml_format_as_css_property] => false
[xhtml_format_as_attribute] => false
[xhtml_nowrap_mode] => false
[xhtml_marquee_as_css_property] => false
[xhtml_readable_background_color1] => #FFFFFF
[xhtml_readable_background_color2] => #FFFFFF
[xhtml_allows_disabled_form_elements] => true
[xhtml_document_title_support] => true
[xhtml_preferred_charset] => iso-8859-1
[opwv_xhtml_extensions_support] => false
[xhtml_make_phone_call_string] => tel:
[xhtmlmp_preferred_mime_type] => text/html
[xhtml_table_support] => true
[xhtml_send_sms_string] => sms:
[xhtml_send_mms_string] => mms:
[xhtml_file_upload] => supported
[cookie_support] => true
[accept_third_party_cookie] => true
[xhtml_supports_iframe] => full
[xhtml_avoid_accesskeys] => true
[xhtml_can_embed_video] => none
[ajax_support_javascript] => true
[ajax_manipulate_css] => true
[ajax_support_getelementbyid] => true
[ajax_support_inner_html] => true
[ajax_xhr_type] => standard
[ajax_manipulate_dom] => true
[ajax_support_events] => true
[ajax_support_event_listener] => true
[ajax_preferred_geoloc_api] => w3c_api
[xhtml_support_level] => 4
[preferred_markup] => html_web_4_0
[wml_1_1] => false
[wml_1_2] => false
[wml_1_3] => false
[html_wi_w3_xhtmlbasic] => true
[html_wi_oma_xhtmlmp_1_0] => true
[html_wi_imode_html_1] => false
[html_wi_imode_html_2] => false
[html_wi_imode_html_3] => false
[html_wi_imode_html_4] => false
[html_wi_imode_html_5] => false
[html_wi_imode_htmlx_1] => false
[html_wi_imode_htmlx_1_1] => false
[html_wi_imode_compact_generic] => false
[html_web_3_2] => true
[html_web_4_0] => true
[voicexml] => false
[multipart_support] => false
[total_cache_disable_support] => false
[time_to_live_support] => false
[resolution_width] => 320
[resolution_height] => 480
[columns] => 60
[max_image_width] => 320
[max_image_height] => 480
[rows] => 40
[physical_screen_width] => 34
[physical_screen_height] => 50
[dual_orientation] => true
[density_class] => 1.0
[wbmp] => true
[bmp] => false
[epoc_bmp] => false
[gif_animated] => false
[jpg] => true
[png] => true
[tiff] => false
[transparent_png_alpha] => true
[transparent_png_index] => true
[svgt_1_1] => true
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 65536
[webp_lossy_support] => true
[webp_lossless_support] => true
[post_method_support] => true
[basic_authentication_support] => true
[empty_option_value_support] => true
[emptyok] => false
[nokia_voice_call] => false
[wta_voice_call] => false
[wta_phonebook] => false
[wta_misc] => false
[wta_pdc] => false
[https_support] => true
[phone_id_provided] => false
[max_data_rate] => 3600
[wifi] => true
[sdio] => false
[vpn] => false
[has_cellular_radio] => true
[max_deck_size] => 2000000
[max_url_length_in_requests] => 256
[max_url_length_homepage] => 0
[max_url_length_bookmark] => 0
[max_url_length_cached_page] => 0
[max_no_of_connection_settings] => 0
[max_no_of_bookmarks] => 0
[max_length_of_username] => 0
[max_length_of_password] => 0
[max_object_size] => 0
[downloadfun_support] => false
[directdownload_support] => true
[inline_support] => false
[oma_support] => true
[ringtone] => false
[ringtone_3gpp] => false
[ringtone_midi_monophonic] => false
[ringtone_midi_polyphonic] => false
[ringtone_imelody] => false
[ringtone_digiplug] => false
[ringtone_compactmidi] => false
[ringtone_mmf] => false
[ringtone_rmf] => false
[ringtone_xmf] => false
[ringtone_amr] => false
[ringtone_awb] => false
[ringtone_aac] => false
[ringtone_wav] => false
[ringtone_mp3] => false
[ringtone_spmidi] => false
[ringtone_qcelp] => false
[ringtone_voices] => 1
[ringtone_df_size_limit] => 0
[ringtone_directdownload_size_limit] => 0
[ringtone_inline_size_limit] => 0
[ringtone_oma_size_limit] => 0
[wallpaper] => false
[wallpaper_max_width] => 0
[wallpaper_max_height] => 0
[wallpaper_preferred_width] => 0
[wallpaper_preferred_height] => 0
[wallpaper_resize] => none
[wallpaper_wbmp] => false
[wallpaper_bmp] => false
[wallpaper_gif] => false
[wallpaper_jpg] => false
[wallpaper_png] => false
[wallpaper_tiff] => false
[wallpaper_greyscale] => false
[wallpaper_colors] => 2
[wallpaper_df_size_limit] => 0
[wallpaper_directdownload_size_limit] => 0
[wallpaper_inline_size_limit] => 0
[wallpaper_oma_size_limit] => 0
[screensaver] => false
[screensaver_max_width] => 0
[screensaver_max_height] => 0
[screensaver_preferred_width] => 0
[screensaver_preferred_height] => 0
[screensaver_resize] => none
[screensaver_wbmp] => false
[screensaver_bmp] => false
[screensaver_gif] => false
[screensaver_jpg] => false
[screensaver_png] => false
[screensaver_greyscale] => false
[screensaver_colors] => 2
[screensaver_df_size_limit] => 0
[screensaver_directdownload_size_limit] => 0
[screensaver_inline_size_limit] => 0
[screensaver_oma_size_limit] => 0
[picture] => false
[picture_max_width] => 0
[picture_max_height] => 0
[picture_preferred_width] => 0
[picture_preferred_height] => 0
[picture_resize] => none
[picture_wbmp] => false
[picture_bmp] => false
[picture_gif] => false
[picture_jpg] => false
[picture_png] => false
[picture_greyscale] => false
[picture_colors] => 2
[picture_df_size_limit] => 0
[picture_directdownload_size_limit] => 0
[picture_inline_size_limit] => 0
[picture_oma_size_limit] => 0
[video] => false
[oma_v_1_0_forwardlock] => false
[oma_v_1_0_combined_delivery] => false
[oma_v_1_0_separate_delivery] => false
[streaming_video] => true
[streaming_3gpp] => true
[streaming_mp4] => true
[streaming_mov] => false
[streaming_video_size_limit] => 0
[streaming_real_media] => none
[streaming_flv] => false
[streaming_3g2] => false
[streaming_vcodec_h263_0] => 10
[streaming_vcodec_h263_3] => -1
[streaming_vcodec_mpeg4_sp] => 2
[streaming_vcodec_mpeg4_asp] => -1
[streaming_vcodec_h264_bp] => 3.0
[streaming_acodec_amr] => nb
[streaming_acodec_aac] => lc
[streaming_wmv] => none
[streaming_preferred_protocol] => rtsp
[streaming_preferred_http_protocol] => apple_live_streaming
[wap_push_support] => false
[connectionless_service_indication] => false
[connectionless_service_load] => false
[connectionless_cache_operation] => false
[connectionoriented_unconfirmed_service_indication] => false
[connectionoriented_unconfirmed_service_load] => false
[connectionoriented_unconfirmed_cache_operation] => false
[connectionoriented_confirmed_service_indication] => false
[connectionoriented_confirmed_service_load] => false
[connectionoriented_confirmed_cache_operation] => false
[utf8_support] => true
[ascii_support] => false
[iso8859_support] => false
[expiration_date] => false
[j2me_cldc_1_0] => false
[j2me_cldc_1_1] => false
[j2me_midp_1_0] => false
[j2me_midp_2_0] => false
[doja_1_0] => false
[doja_1_5] => false
[doja_2_0] => false
[doja_2_1] => false
[doja_2_2] => false
[doja_3_0] => false
[doja_3_5] => false
[doja_4_0] => false
[j2me_jtwi] => false
[j2me_mmapi_1_0] => false
[j2me_mmapi_1_1] => false
[j2me_wmapi_1_0] => false
[j2me_wmapi_1_1] => false
[j2me_wmapi_2_0] => false
[j2me_btapi] => false
[j2me_3dapi] => false
[j2me_locapi] => false
[j2me_nokia_ui] => false
[j2me_motorola_lwt] => false
[j2me_siemens_color_game] => false
[j2me_siemens_extension] => false
[j2me_heap_size] => 0
[j2me_max_jar_size] => 0
[j2me_storage_size] => 0
[j2me_max_record_store_size] => 0
[j2me_screen_width] => 0
[j2me_screen_height] => 0
[j2me_canvas_width] => 0
[j2me_canvas_height] => 0
[j2me_bits_per_pixel] => 0
[j2me_audio_capture_enabled] => false
[j2me_video_capture_enabled] => false
[j2me_photo_capture_enabled] => false
[j2me_capture_image_formats] => none
[j2me_http] => false
[j2me_https] => false
[j2me_socket] => false
[j2me_udp] => false
[j2me_serial] => false
[j2me_gif] => false
[j2me_gif89a] => false
[j2me_jpg] => false
[j2me_png] => false
[j2me_bmp] => false
[j2me_bmp3] => false
[j2me_wbmp] => false
[j2me_midi] => false
[j2me_wav] => false
[j2me_amr] => false
[j2me_mp3] => false
[j2me_mp4] => false
[j2me_imelody] => false
[j2me_rmf] => false
[j2me_au] => false
[j2me_aac] => false
[j2me_realaudio] => false
[j2me_xmf] => false
[j2me_wma] => false
[j2me_3gpp] => false
[j2me_h263] => false
[j2me_svgt] => false
[j2me_mpeg4] => false
[j2me_realvideo] => false
[j2me_real8] => false
[j2me_realmedia] => false
[j2me_left_softkey_code] => 0
[j2me_right_softkey_code] => 0
[j2me_middle_softkey_code] => 0
[j2me_select_key_code] => 0
[j2me_return_key_code] => 0
[j2me_clear_key_code] => 0
[j2me_datefield_no_accepts_null_date] => false
[j2me_datefield_broken] => false
[receiver] => false
[sender] => false
[mms_max_size] => 0
[mms_max_height] => 0
[mms_max_width] => 0
[built_in_recorder] => false
[built_in_camera] => true
[mms_jpeg_baseline] => false
[mms_jpeg_progressive] => false
[mms_gif_static] => false
[mms_gif_animated] => false
[mms_png] => false
[mms_bmp] => false
[mms_wbmp] => false
[mms_amr] => false
[mms_wav] => false
[mms_midi_monophonic] => false
[mms_midi_polyphonic] => false
[mms_midi_polyphonic_voices] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => false
[mms_evrc] => false
[mms_qcelp] => false
[mms_ota_bitmap] => false
[mms_nokia_wallpaper] => false
[mms_nokia_operatorlogo] => false
[mms_nokia_3dscreensaver] => false
[mms_nokia_ringingtone] => false
[mms_rmf] => false
[mms_xmf] => false
[mms_symbian_install] => false
[mms_jar] => false
[mms_jad] => false
[mms_vcard] => false
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[mms_max_frame_rate] => 0
[nokiaring] => false
[picturemessage] => false
[operatorlogo] => false
[largeoperatorlogo] => false
[callericon] => false
[nokiavcard] => false
[nokiavcal] => false
[sckl_ringtone] => false
[sckl_operatorlogo] => false
[sckl_groupgraphic] => false
[sckl_vcard] => false
[sckl_vcalendar] => false
[text_imelody] => false
[ems] => false
[ems_variablesizedpictures] => false
[ems_imelody] => false
[ems_odi] => false
[ems_upi] => false
[ems_version] => 0
[siemens_ota] => false
[siemens_logo_width] => 101
[siemens_logo_height] => 29
[siemens_screensaver_width] => 101
[siemens_screensaver_height] => 50
[gprtf] => false
[sagem_v1] => false
[sagem_v2] => false
[panasonic] => false
[sms_enabled] => true
[wav] => false
[mmf] => false
[smf] => false
[mld] => false
[midi_monophonic] => false
[midi_polyphonic] => false
[sp_midi] => false
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => false
[au] => false
[amr] => false
[awb] => false
[aac] => true
[mp3] => true
[voices] => 1
[qcelp] => false
[evrc] => false
[flash_lite_version] =>
[fl_wallpaper] => false
[fl_screensaver] => false
[fl_standalone] => false
[fl_browser] => false
[fl_sub_lcd] => false
[full_flash_support] => false
[css_supports_width_as_percentage] => true
[css_border_image] => webkit
[css_rounded_corners] => webkit
[css_gradient] => none
[css_spriting] => true
[css_gradient_linear] => none
[is_transcoder] => false
[transcoder_ua_header] => user-agent
[rss_support] => false
[pdf_support] => true
[progressive_download] => true
[playback_vcodec_h263_0] => 10
[playback_vcodec_h263_3] => -1
[playback_vcodec_mpeg4_sp] => 0
[playback_vcodec_mpeg4_asp] => -1
[playback_vcodec_h264_bp] => 3.0
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => false
[playback_mp4] => true
[playback_mov] => false
[playback_acodec_amr] => nb
[playback_acodec_aac] => none
[playback_df_size_limit] => 0
[playback_directdownload_size_limit] => 0
[playback_inline_size_limit] => 0
[playback_oma_size_limit] => 0
[playback_acodec_qcelp] => false
[playback_wmv] => none
[hinted_progressive_download] => true
[html_preferred_dtd] => html4
[viewport_supported] => true
[viewport_width] => device_width_token
[viewport_userscalable] => no
[viewport_initial_scale] =>
[viewport_maximum_scale] =>
[viewport_minimum_scale] =>
[mobileoptimized] => false
[handheldfriendly] => false
[canvas_support] => full
[image_inlining] => true
[is_smarttv] => false
[is_console] => false
[nfc_support] => false
[ux_full_desktop] => false
[jqm_grade] => A
[is_sencha_touch_ok] => false
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td>Google Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.2.1</td><td style="border-left: 1px solid #555">ZTE</td><td>V965</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a>
<!-- Modal Structure -->
<div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Zsxsoft result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[link] => http://google.com/chrome/
[title] => Google Chrome 18.0.1025.166
[name] => Google Chrome
[version] => 18.0.1025.166
[code] => chrome
[image] => img/16/browser/chrome.png
)
[os] => Array
(
[link] => http://www.android.com/
[name] => Android
[version] => 4.2.1
[code] => android
[x64] =>
[title] => Android 4.2.1
[type] => os
[dir] => os
[image] => img/16/os/android.png
)
[device] => Array
(
[link] => http://www.zte.com.cn/cn/
[title] => ZTE V965
[model] => V965
[brand] => ZTE
[code] => zte
[dir] => device
[type] => device
[image] => img/16/device/zte.png
)
[platform] => Array
(
[link] => http://www.zte.com.cn/cn/
[title] => ZTE V965
[model] => V965
[brand] => ZTE
[code] => zte
[dir] => device
[type] => device
[image] => img/16/device/zte.png
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr></table>
</div>
<div class="section">
<h1 class="header center orange-text">About this comparison</h1>
<div class="row center">
<h5 class="header light">
The primary goal of this project is simple<br />
I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br />
<br />
The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br />
<br />
You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br />
<br />
The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a>
</h5>
</div>
</div>
<div class="card">
<div class="card-content">
Comparison created <i>2016-05-10 08:00:38</i> | by
<a href="https://github.com/ThaDafinser">ThaDafinser</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script>
<script>
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
</script>
</body>
</html> | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="../circle.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="section">
<h1 class="header center orange-text">User agent detail</h1>
<div class="row center">
<h5 class="header light">
Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
</h5>
</div>
</div>
<div class="section">
<table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Karbonn</td><td>A30</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59">Detail</a>
<!-- Modal Structure -->
<div id="modal-cfed3005-df48-4fa8-bf03-4f6ef8988f59" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">Array
(
[user_agent_string] => Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
[family] => A30
[brand] => Karbonn
[model] => A30
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Chrome 18.0</td><td>WebKit </td><td>Android 4.0</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.016</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-47a9cd06-e213-4882-bc34-db6aed664223">Detail</a>
<!-- Modal Structure -->
<div id="modal-47a9cd06-e213-4882-bc34-db6aed664223" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapFull result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.4\.0.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/18\..*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android?4.0*) applewebkit/* (khtml* like gecko) chrome/18.*safari/*
[parent] => Chrome 18.0 for Android
[comment] => Chrome 18.0
[browser] => Chrome
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 18.0
[majorver] => 18
[minorver] => 0
[platform] => Android
[platform_version] => 4.0
[platform_description] => Android OS
[platform_bits] => 32
[platform_maker] => Google Inc
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[javascript] => 1
[vbscript] =>
[javaapplets] =>
[activexcontrols] =>
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] =>
[crawler] =>
[isfake] =>
[isanonymized] =>
[ismodified] =>
[cssversion] => 3
[aolversion] => 0
[device_name] => general Mobile Phone
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => general Mobile Phone
[device_brand_name] => unknown
[renderingengine_name] => WebKit
[renderingengine_version] => unknown
[renderingengine_description] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3.
[renderingengine_maker] => Apple Inc
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td><td>Chrome </td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.006</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-42bb56ba-b834-47c5-bea0-c0270e9ab371">Detail</a>
<!-- Modal Structure -->
<div id="modal-42bb56ba-b834-47c5-bea0-c0270e9ab371" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapLite result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/.*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/*safari/*
[parent] => Chrome Generic for Android
[comment] => Chrome Generic
[browser] => Chrome
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => unknown
[browser_modus] => unknown
[version] => 0.0
[majorver] => 0
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] => false
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => unknown
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td><td>Chrome 18.0</td><td><i class="material-icons">close</i></td><td>Android </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.021</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68">Detail</a>
<!-- Modal Structure -->
<div id="modal-ad0041a2-b0f4-43f6-a70d-cad1443caa68" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapPhp result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/5\.0 \(.*linux.*android.*\) applewebkit\/.* \(khtml.* like gecko\) chrome\/18\..*safari\/.*$/
[browser_name_pattern] => mozilla/5.0 (*linux*android*) applewebkit/* (khtml* like gecko) chrome/18.*safari/*
[parent] => Chrome 18.0 for Android
[comment] => Chrome 18.0
[browser] => Chrome
[browser_type] => unknown
[browser_bits] => 0
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 18.0
[majorver] => 18
[minorver] => 0
[platform] => Android
[platform_version] => unknown
[platform_description] => unknown
[platform_bits] => 0
[platform_maker] => unknown
[alpha] => false
[beta] => false
[win16] => false
[win32] => false
[win64] => false
[frames] => false
[iframes] => false
[tables] => false
[cookies] => false
[backgroundsounds] => false
[javascript] => false
[vbscript] => false
[javaapplets] => false
[activexcontrols] => false
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] => false
[crawler] =>
[isfake] => false
[isanonymized] => false
[ismodified] => false
[cssversion] => 0
[aolversion] => 0
[device_name] => unknown
[device_maker] => unknown
[device_type] => Mobile Phone
[device_pointing_method] => touchscreen
[device_code_name] => unknown
[device_brand_name] => unknown
[renderingengine_name] => unknown
[renderingengine_version] => unknown
[renderingengine_description] => unknown
[renderingengine_maker] => unknown
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050">Detail</a>
<!-- Modal Structure -->
<div id="modal-15fbc1f0-2615-4d42-b5d9-a30dd647b050" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>DonatjUAParser result detail</h4>
<p><pre><code class="php">Array
(
[platform] => Android
[browser] => Chrome
[version] => 18.0.1025.166
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.0.4</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.006</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51">Detail</a>
<!-- Modal Structure -->
<div id="modal-b85a2b91-6a55-4436-a82c-1ea0d46e2e51" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>JenssegersAgent result detail</h4>
<p><pre><code class="php">Array
(
[browserName] => Chrome
[browserVersion] => 18.0.1025.166
[osName] => AndroidOS
[osVersion] => 4.0.4
[deviceModel] => WebKit
[isMobile] => 1
[isRobot] =>
[botName] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td>Chrome Mobile 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Karbonn</td><td>A30</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.27101</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b">Detail</a>
<!-- Modal Structure -->
<div id="modal-8c2a7a4e-3fbf-4df2-8d61-5e730422f67b" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>NeutrinoApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[mobile_screen_height] => 800
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => Karbonn
[mobile_model] => A30
[version] => 18.0.1025.166
[is_android] => 1
[browser_name] => Chrome Mobile
[operating_system_family] => Android
[operating_system_version] => 4.0.4
[is_ios] =>
[producer] => Google Inc.
[operating_system] => Android 4.0.x Ice Cream Sandwich
[mobile_screen_width] => 480
[mobile_browser] => Android Webkit
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td>Chrome Mobile 18.0</td><td>WebKit </td><td>Android 4.0</td><td style="border-left: 1px solid #555">Karbonn</td><td>A30</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.004</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-4a941d34-a8d3-4914-9724-346f60ad7046">Detail</a>
<!-- Modal Structure -->
<div id="modal-4a941d34-a8d3-4914-9724-346f60ad7046" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>PiwikDeviceDetector result detail</h4>
<p><pre><code class="php">Array
(
[client] => Array
(
[type] => browser
[name] => Chrome Mobile
[short_name] => CM
[version] => 18.0
[engine] => WebKit
)
[operatingSystem] => Array
(
[name] => Android
[short_name] => AND
[version] => 4.0
[platform] =>
)
[device] => Array
(
[brand] => KA
[brandName] => Karbonn
[model] => A30
[device] => 1
[deviceName] => smartphone
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] =>
[isPhablet] =>
[isPortableMediaPlayer] =>
[isSmartDisplay] =>
[isSmartphone] => 1
[isTablet] =>
[isTV] =>
[isDesktop] =>
[isMobile] => 1
[isTouchEnabled] =>
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>SinergiBrowserDetector<br /><small>6.0.1</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-ec1cd248-02b0-457e-8a9d-35bb99af008c">Detail</a>
<!-- Modal Structure -->
<div id="modal-ec1cd248-02b0-457e-8a9d-35bb99af008c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>SinergiBrowserDetector result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Sinergi\BrowserDetector\Browser Object
(
[userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
[name:Sinergi\BrowserDetector\Browser:private] => Chrome
[version:Sinergi\BrowserDetector\Browser:private] => 18.0.1025.166
[isRobot:Sinergi\BrowserDetector\Browser:private] =>
[isChromeFrame:Sinergi\BrowserDetector\Browser:private] =>
[isFacebookWebView:Sinergi\BrowserDetector\Browser:private] =>
[isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] =>
)
[operatingSystem] => Sinergi\BrowserDetector\Os Object
(
[name:Sinergi\BrowserDetector\Os:private] => Android
[version:Sinergi\BrowserDetector\Os:private] => 4.0.4
[isMobile:Sinergi\BrowserDetector\Os:private] => 1
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
)
[device] => Sinergi\BrowserDetector\Device Object
(
[name:Sinergi\BrowserDetector\Device:private] => unknown
[userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td>Chrome Mobile 18.0.1025</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Karbonn</td><td>A30</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-3160e405-8a8f-46dd-8f47-5115f06462d2">Detail</a>
<!-- Modal Structure -->
<div id="modal-3160e405-8a8f-46dd-8f47-5115f06462d2" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">UAParser\Result\Client Object
(
[ua] => UAParser\Result\UserAgent Object
(
[major] => 18
[minor] => 0
[patch] => 1025
[family] => Chrome Mobile
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] => 4
[minor] => 0
[patch] => 4
[patchMinor] =>
[family] => Android
)
[device] => UAParser\Result\Device Object
(
[brand] => Karbonn
[model] => A30
[family] => A30
)
[originalUserAgent] => Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td><td>Chrome 18.0.1025.166</td><td>WebKit 535.19</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.15201</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6">Detail</a>
<!-- Modal Structure -->
<div id="modal-afeb05fb-26b9-4509-b8ac-0c604a9e97d6" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[platform_name] => Android
[platform_version] => 4.0.4
[platform_type] => Mobile
[browser_name] => Chrome
[browser_version] => 18.0.1025.166
[engine_name] => WebKit
[engine_version] => 535.19
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentStringCom<br /><small></small><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.07701</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee">Detail</a>
<!-- Modal Structure -->
<div id="modal-08a9ddfb-838f-48d7-9ede-1d132306b2ee" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentStringCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[agent_type] => Browser
[agent_name] => Android Webkit Browser
[agent_version] => --
[os_type] => Android
[os_name] => Android
[os_versionName] =>
[os_versionNumber] => 4.0.4
[os_producer] =>
[os_producerURL] =>
[linux_distibution] => Null
[agent_language] =>
[agent_languageTag] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td><td>Chrome 18.0.1025.166</td><td>WebKit 535.19</td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Karbonn Mobiles</td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.23501</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c">Detail</a>
<!-- Modal Structure -->
<div id="modal-5fc1ff22-a74d-481b-9ad1-fcfde73ded9c" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhatIsMyBrowserCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[operating_system_name] => Android
[simple_sub_description_string] =>
[simple_browser_string] => Chrome 18 on Android (Ice Cream Sandwich)
[browser_version] => 18
[extra_info] => Array
(
)
[operating_platform] =>
[extra_info_table] => stdClass Object
(
[System Build] => IMM76D
)
[layout_engine_name] => WebKit
[detected_addons] => Array
(
)
[operating_system_flavour_code] =>
[hardware_architecture] =>
[operating_system_flavour] =>
[operating_system_frameworks] => Array
(
)
[browser_name_code] => chrome
[operating_system_version] => Ice Cream Sandwich
[simple_operating_platform_string] => Karbonn Mobiles
[is_abusive] =>
[layout_engine_version] => 535.19
[browser_capabilities] => Array
(
)
[operating_platform_vendor_name] => Karbonn Mobiles
[operating_system] => Android (Ice Cream Sandwich)
[operating_system_version_full] => 4.0.4
[operating_platform_code] =>
[browser_name] => Chrome
[operating_system_name_code] => android
[user_agent] => Mozilla/5.0 (Linux; Android 4.0.4; Karbonn A30 Build/IMM76D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
[browser_version_full] => 18.0.1025.166
[browser] => Chrome 18
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td>Chrome 18</td><td>Webkit 535.19</td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Karbonn</td><td>A30</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-083a336f-5d73-4505-84f3-c5fc9bb78652">Detail</a>
<!-- Modal Structure -->
<div id="modal-083a336f-5d73-4505-84f3-c5fc9bb78652" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[name] => Chrome
[version] => 18
[type] => browser
)
[engine] => Array
(
[name] => Webkit
[version] => 535.19
)
[os] => Array
(
[name] => Android
[version] => 4.0.4
)
[device] => Array
(
[type] => mobile
[subtype] => smart
[manufacturer] => Karbonn
[model] => A30
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9">Detail</a>
<!-- Modal Structure -->
<div id="modal-f00e7198-0e22-49fe-bad0-dbb3a9cde9b9" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Woothee result detail</h4>
<p><pre><code class="php">Array
(
[name] => Chrome
[vendor] => Google
[version] => 18.0.1025.166
[category] => smartphone
[os] => Android
[os_version] => 4.0.4
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555">Karbonn</td><td>A30</td><td>Smartphone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.019</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50">Detail</a>
<!-- Modal Structure -->
<div id="modal-a2bedf8c-4a95-42a7-96c5-aaf233b2ac50" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Wurfl result detail</h4>
<p><pre><code class="php">Array
(
[virtual] => Array
(
[is_android] => true
[is_ios] => false
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => true
[is_mobile] => true
[is_robot] => false
[is_smartphone] => true
[is_touchscreen] => true
[is_wml_preferred] => false
[is_xhtmlmp_preferred] => false
[is_html_preferred] => true
[advertised_device_os] => Android
[advertised_device_os_version] => 4.0.4
[advertised_browser] => Chrome
[advertised_browser_version] => 18.0.1025.166
[complete_device_name] => Karbonn A30
[device_name] => Karbonn A30
[form_factor] => Smartphone
[is_phone] => true
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Karbonn
[model_name] => A30
[unique] => true
[ununiqueness_handler] =>
[is_wireless_device] => true
[device_claims_web_support] => true
[has_qwerty_keyboard] => true
[can_skip_aligned_link_row] => true
[uaprof] =>
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => Android
[mobile_browser] => Android Webkit
[mobile_browser_version] =>
[device_os_version] => 4.0
[pointing_method] => touchscreen
[release_date] => 2012_october
[marketing_name] =>
[model_extra_info] =>
[nokia_feature_pack] => 0
[can_assign_phone_number] => true
[is_tablet] => false
[manufacturer_name] =>
[is_bot] => false
[is_google_glass] => false
[proportional_font] => false
[built_in_back_button_support] => false
[card_title_support] => true
[softkey_support] => false
[table_support] => true
[numbered_menus] => false
[menu_with_select_element_recommended] => false
[menu_with_list_of_links_recommended] => true
[icons_on_menu_items_support] => false
[break_list_of_links_with_br_element_recommended] => true
[access_key_support] => false
[wrap_mode_support] => false
[times_square_mode_support] => false
[deck_prefetch_support] => false
[elective_forms_recommended] => true
[wizards_recommended] => false
[image_as_link_support] => false
[insert_br_element_after_widget_recommended] => false
[wml_can_display_images_and_text_on_same_line] => false
[wml_displays_image_in_center] => false
[opwv_wml_extensions_support] => false
[wml_make_phone_call_string] => wtai://wp/mc;
[chtml_display_accesskey] => false
[emoji] => false
[chtml_can_display_images_and_text_on_same_line] => false
[chtml_displays_image_in_center] => false
[imode_region] => none
[chtml_make_phone_call_string] => tel:
[chtml_table_support] => false
[xhtml_honors_bgcolor] => true
[xhtml_supports_forms_in_table] => true
[xhtml_support_wml2_namespace] => false
[xhtml_autoexpand_select] => false
[xhtml_select_as_dropdown] => false
[xhtml_select_as_radiobutton] => false
[xhtml_select_as_popup] => false
[xhtml_display_accesskey] => false
[xhtml_supports_invisible_text] => false
[xhtml_supports_inline_input] => false
[xhtml_supports_monospace_font] => false
[xhtml_supports_table_for_layout] => true
[xhtml_supports_css_cell_table_coloring] => true
[xhtml_format_as_css_property] => false
[xhtml_format_as_attribute] => false
[xhtml_nowrap_mode] => false
[xhtml_marquee_as_css_property] => false
[xhtml_readable_background_color1] => #FFFFFF
[xhtml_readable_background_color2] => #FFFFFF
[xhtml_allows_disabled_form_elements] => true
[xhtml_document_title_support] => true
[xhtml_preferred_charset] => iso-8859-1
[opwv_xhtml_extensions_support] => false
[xhtml_make_phone_call_string] => tel:
[xhtmlmp_preferred_mime_type] => text/html
[xhtml_table_support] => true
[xhtml_send_sms_string] => sms:
[xhtml_send_mms_string] => mms:
[xhtml_file_upload] => supported
[cookie_support] => true
[accept_third_party_cookie] => true
[xhtml_supports_iframe] => full
[xhtml_avoid_accesskeys] => true
[xhtml_can_embed_video] => none
[ajax_support_javascript] => true
[ajax_manipulate_css] => true
[ajax_support_getelementbyid] => true
[ajax_support_inner_html] => true
[ajax_xhr_type] => standard
[ajax_manipulate_dom] => true
[ajax_support_events] => true
[ajax_support_event_listener] => true
[ajax_preferred_geoloc_api] => w3c_api
[xhtml_support_level] => 4
[preferred_markup] => html_web_4_0
[wml_1_1] => false
[wml_1_2] => false
[wml_1_3] => false
[html_wi_w3_xhtmlbasic] => true
[html_wi_oma_xhtmlmp_1_0] => true
[html_wi_imode_html_1] => false
[html_wi_imode_html_2] => false
[html_wi_imode_html_3] => false
[html_wi_imode_html_4] => false
[html_wi_imode_html_5] => false
[html_wi_imode_htmlx_1] => false
[html_wi_imode_htmlx_1_1] => false
[html_wi_imode_compact_generic] => false
[html_web_3_2] => true
[html_web_4_0] => true
[voicexml] => false
[multipart_support] => false
[total_cache_disable_support] => false
[time_to_live_support] => false
[resolution_width] => 480
[resolution_height] => 800
[columns] => 60
[max_image_width] => 320
[max_image_height] => 480
[rows] => 40
[physical_screen_width] => 78
[physical_screen_height] => 129
[dual_orientation] => true
[density_class] => 1.0
[wbmp] => true
[bmp] => false
[epoc_bmp] => false
[gif_animated] => false
[jpg] => true
[png] => true
[tiff] => false
[transparent_png_alpha] => true
[transparent_png_index] => true
[svgt_1_1] => true
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 65536
[webp_lossy_support] => true
[webp_lossless_support] => false
[post_method_support] => true
[basic_authentication_support] => true
[empty_option_value_support] => true
[emptyok] => false
[nokia_voice_call] => false
[wta_voice_call] => false
[wta_phonebook] => false
[wta_misc] => false
[wta_pdc] => false
[https_support] => true
[phone_id_provided] => false
[max_data_rate] => 3600
[wifi] => true
[sdio] => false
[vpn] => false
[has_cellular_radio] => true
[max_deck_size] => 2000000
[max_url_length_in_requests] => 256
[max_url_length_homepage] => 0
[max_url_length_bookmark] => 0
[max_url_length_cached_page] => 0
[max_no_of_connection_settings] => 0
[max_no_of_bookmarks] => 0
[max_length_of_username] => 0
[max_length_of_password] => 0
[max_object_size] => 0
[downloadfun_support] => false
[directdownload_support] => true
[inline_support] => false
[oma_support] => true
[ringtone] => false
[ringtone_3gpp] => false
[ringtone_midi_monophonic] => false
[ringtone_midi_polyphonic] => false
[ringtone_imelody] => false
[ringtone_digiplug] => false
[ringtone_compactmidi] => false
[ringtone_mmf] => false
[ringtone_rmf] => false
[ringtone_xmf] => false
[ringtone_amr] => false
[ringtone_awb] => false
[ringtone_aac] => false
[ringtone_wav] => false
[ringtone_mp3] => false
[ringtone_spmidi] => false
[ringtone_qcelp] => false
[ringtone_voices] => 1
[ringtone_df_size_limit] => 0
[ringtone_directdownload_size_limit] => 0
[ringtone_inline_size_limit] => 0
[ringtone_oma_size_limit] => 0
[wallpaper] => false
[wallpaper_max_width] => 0
[wallpaper_max_height] => 0
[wallpaper_preferred_width] => 0
[wallpaper_preferred_height] => 0
[wallpaper_resize] => none
[wallpaper_wbmp] => false
[wallpaper_bmp] => false
[wallpaper_gif] => false
[wallpaper_jpg] => false
[wallpaper_png] => false
[wallpaper_tiff] => false
[wallpaper_greyscale] => false
[wallpaper_colors] => 2
[wallpaper_df_size_limit] => 0
[wallpaper_directdownload_size_limit] => 0
[wallpaper_inline_size_limit] => 0
[wallpaper_oma_size_limit] => 0
[screensaver] => false
[screensaver_max_width] => 0
[screensaver_max_height] => 0
[screensaver_preferred_width] => 0
[screensaver_preferred_height] => 0
[screensaver_resize] => none
[screensaver_wbmp] => false
[screensaver_bmp] => false
[screensaver_gif] => false
[screensaver_jpg] => false
[screensaver_png] => false
[screensaver_greyscale] => false
[screensaver_colors] => 2
[screensaver_df_size_limit] => 0
[screensaver_directdownload_size_limit] => 0
[screensaver_inline_size_limit] => 0
[screensaver_oma_size_limit] => 0
[picture] => false
[picture_max_width] => 0
[picture_max_height] => 0
[picture_preferred_width] => 0
[picture_preferred_height] => 0
[picture_resize] => none
[picture_wbmp] => false
[picture_bmp] => false
[picture_gif] => false
[picture_jpg] => false
[picture_png] => false
[picture_greyscale] => false
[picture_colors] => 2
[picture_df_size_limit] => 0
[picture_directdownload_size_limit] => 0
[picture_inline_size_limit] => 0
[picture_oma_size_limit] => 0
[video] => false
[oma_v_1_0_forwardlock] => false
[oma_v_1_0_combined_delivery] => false
[oma_v_1_0_separate_delivery] => false
[streaming_video] => true
[streaming_3gpp] => true
[streaming_mp4] => true
[streaming_mov] => false
[streaming_video_size_limit] => 0
[streaming_real_media] => none
[streaming_flv] => false
[streaming_3g2] => false
[streaming_vcodec_h263_0] => 10
[streaming_vcodec_h263_3] => -1
[streaming_vcodec_mpeg4_sp] => 2
[streaming_vcodec_mpeg4_asp] => -1
[streaming_vcodec_h264_bp] => 3.0
[streaming_acodec_amr] => nb
[streaming_acodec_aac] => lc
[streaming_wmv] => none
[streaming_preferred_protocol] => rtsp
[streaming_preferred_http_protocol] => apple_live_streaming
[wap_push_support] => false
[connectionless_service_indication] => false
[connectionless_service_load] => false
[connectionless_cache_operation] => false
[connectionoriented_unconfirmed_service_indication] => false
[connectionoriented_unconfirmed_service_load] => false
[connectionoriented_unconfirmed_cache_operation] => false
[connectionoriented_confirmed_service_indication] => false
[connectionoriented_confirmed_service_load] => false
[connectionoriented_confirmed_cache_operation] => false
[utf8_support] => true
[ascii_support] => false
[iso8859_support] => false
[expiration_date] => false
[j2me_cldc_1_0] => false
[j2me_cldc_1_1] => false
[j2me_midp_1_0] => false
[j2me_midp_2_0] => false
[doja_1_0] => false
[doja_1_5] => false
[doja_2_0] => false
[doja_2_1] => false
[doja_2_2] => false
[doja_3_0] => false
[doja_3_5] => false
[doja_4_0] => false
[j2me_jtwi] => false
[j2me_mmapi_1_0] => false
[j2me_mmapi_1_1] => false
[j2me_wmapi_1_0] => false
[j2me_wmapi_1_1] => false
[j2me_wmapi_2_0] => false
[j2me_btapi] => false
[j2me_3dapi] => false
[j2me_locapi] => false
[j2me_nokia_ui] => false
[j2me_motorola_lwt] => false
[j2me_siemens_color_game] => false
[j2me_siemens_extension] => false
[j2me_heap_size] => 0
[j2me_max_jar_size] => 0
[j2me_storage_size] => 0
[j2me_max_record_store_size] => 0
[j2me_screen_width] => 0
[j2me_screen_height] => 0
[j2me_canvas_width] => 0
[j2me_canvas_height] => 0
[j2me_bits_per_pixel] => 0
[j2me_audio_capture_enabled] => false
[j2me_video_capture_enabled] => false
[j2me_photo_capture_enabled] => false
[j2me_capture_image_formats] => none
[j2me_http] => false
[j2me_https] => false
[j2me_socket] => false
[j2me_udp] => false
[j2me_serial] => false
[j2me_gif] => false
[j2me_gif89a] => false
[j2me_jpg] => false
[j2me_png] => false
[j2me_bmp] => false
[j2me_bmp3] => false
[j2me_wbmp] => false
[j2me_midi] => false
[j2me_wav] => false
[j2me_amr] => false
[j2me_mp3] => false
[j2me_mp4] => false
[j2me_imelody] => false
[j2me_rmf] => false
[j2me_au] => false
[j2me_aac] => false
[j2me_realaudio] => false
[j2me_xmf] => false
[j2me_wma] => false
[j2me_3gpp] => false
[j2me_h263] => false
[j2me_svgt] => false
[j2me_mpeg4] => false
[j2me_realvideo] => false
[j2me_real8] => false
[j2me_realmedia] => false
[j2me_left_softkey_code] => 0
[j2me_right_softkey_code] => 0
[j2me_middle_softkey_code] => 0
[j2me_select_key_code] => 0
[j2me_return_key_code] => 0
[j2me_clear_key_code] => 0
[j2me_datefield_no_accepts_null_date] => false
[j2me_datefield_broken] => false
[receiver] => false
[sender] => false
[mms_max_size] => 0
[mms_max_height] => 0
[mms_max_width] => 0
[built_in_recorder] => false
[built_in_camera] => true
[mms_jpeg_baseline] => false
[mms_jpeg_progressive] => false
[mms_gif_static] => false
[mms_gif_animated] => false
[mms_png] => false
[mms_bmp] => false
[mms_wbmp] => false
[mms_amr] => false
[mms_wav] => false
[mms_midi_monophonic] => false
[mms_midi_polyphonic] => false
[mms_midi_polyphonic_voices] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => false
[mms_evrc] => false
[mms_qcelp] => false
[mms_ota_bitmap] => false
[mms_nokia_wallpaper] => false
[mms_nokia_operatorlogo] => false
[mms_nokia_3dscreensaver] => false
[mms_nokia_ringingtone] => false
[mms_rmf] => false
[mms_xmf] => false
[mms_symbian_install] => false
[mms_jar] => false
[mms_jad] => false
[mms_vcard] => false
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[mms_max_frame_rate] => 0
[nokiaring] => false
[picturemessage] => false
[operatorlogo] => false
[largeoperatorlogo] => false
[callericon] => false
[nokiavcard] => false
[nokiavcal] => false
[sckl_ringtone] => false
[sckl_operatorlogo] => false
[sckl_groupgraphic] => false
[sckl_vcard] => false
[sckl_vcalendar] => false
[text_imelody] => false
[ems] => false
[ems_variablesizedpictures] => false
[ems_imelody] => false
[ems_odi] => false
[ems_upi] => false
[ems_version] => 0
[siemens_ota] => false
[siemens_logo_width] => 101
[siemens_logo_height] => 29
[siemens_screensaver_width] => 101
[siemens_screensaver_height] => 50
[gprtf] => false
[sagem_v1] => false
[sagem_v2] => false
[panasonic] => false
[sms_enabled] => true
[wav] => false
[mmf] => false
[smf] => false
[mld] => false
[midi_monophonic] => false
[midi_polyphonic] => false
[sp_midi] => false
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => false
[au] => false
[amr] => false
[awb] => false
[aac] => true
[mp3] => true
[voices] => 1
[qcelp] => false
[evrc] => false
[flash_lite_version] =>
[fl_wallpaper] => false
[fl_screensaver] => false
[fl_standalone] => false
[fl_browser] => false
[fl_sub_lcd] => false
[full_flash_support] => true
[css_supports_width_as_percentage] => true
[css_border_image] => webkit
[css_rounded_corners] => webkit
[css_gradient] => none
[css_spriting] => true
[css_gradient_linear] => none
[is_transcoder] => false
[transcoder_ua_header] => user-agent
[rss_support] => false
[pdf_support] => true
[progressive_download] => true
[playback_vcodec_h263_0] => 10
[playback_vcodec_h263_3] => -1
[playback_vcodec_mpeg4_sp] => 0
[playback_vcodec_mpeg4_asp] => -1
[playback_vcodec_h264_bp] => 3.0
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => false
[playback_mp4] => true
[playback_mov] => false
[playback_acodec_amr] => nb
[playback_acodec_aac] => none
[playback_df_size_limit] => 0
[playback_directdownload_size_limit] => 0
[playback_inline_size_limit] => 0
[playback_oma_size_limit] => 0
[playback_acodec_qcelp] => false
[playback_wmv] => none
[hinted_progressive_download] => true
[html_preferred_dtd] => html4
[viewport_supported] => true
[viewport_width] => device_width_token
[viewport_userscalable] => no
[viewport_initial_scale] =>
[viewport_maximum_scale] =>
[viewport_minimum_scale] =>
[mobileoptimized] => false
[handheldfriendly] => false
[canvas_support] => full
[image_inlining] => true
[is_smarttv] => false
[is_console] => false
[nfc_support] => false
[ux_full_desktop] => false
[jqm_grade] => A
[is_sencha_touch_ok] => false
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td>Google Chrome 18.0.1025.166</td><td><i class="material-icons">close</i></td><td>Android 4.0.4</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-5d43e024-b46c-44f6-8914-529b05569bc2">Detail</a>
<!-- Modal Structure -->
<div id="modal-5d43e024-b46c-44f6-8914-529b05569bc2" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Zsxsoft result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[link] => http://google.com/chrome/
[title] => Google Chrome 18.0.1025.166
[name] => Google Chrome
[version] => 18.0.1025.166
[code] => chrome
[image] => img/16/browser/chrome.png
)
[os] => Array
(
[link] => http://www.android.com/
[name] => Android
[version] => 4.0.4
[code] => android
[x64] =>
[title] => Android 4.0.4
[type] => os
[dir] => os
[image] => img/16/os/android.png
)
[device] => Array
(
[link] =>
[title] =>
[model] =>
[brand] =>
[code] => null
[dir] => device
[type] => device
[image] => img/16/device/null.png
)
[platform] => Array
(
[link] => http://www.android.com/
[name] => Android
[version] => 4.0.4
[code] => android
[x64] =>
[title] => Android 4.0.4
[type] => os
[dir] => os
[image] => img/16/os/android.png
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr></table>
</div>
<div class="section">
<h1 class="header center orange-text">About this comparison</h1>
<div class="row center">
<h5 class="header light">
The primary goal of this project is simple<br />
I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br />
<br />
The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br />
<br />
You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/UserAgentParserComparison">ThaDafinser/UserAgentParserComparison</a><br />
<br />
The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a>
</h5>
</div>
</div>
<div class="card">
<div class="card-content">
Comparison created <i>2016-05-10 08:05:55</i> | by
<a href="https://github.com/ThaDafinser">ThaDafinser</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script>
<script>
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
</script>
</body>
</html> | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>demos: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.5.1 / demos - 8.9.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
demos
<small>
8.9.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-02-02 22:20:31 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-02 22:20:31 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.5.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.03.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.03.0 Official 4.03.0 release
ocaml-config 1 OCaml Switch Configuration
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/demos"
license: "LGPL 2.1"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Demos"]
depends: [
"ocaml"
"coq" {>= "8.9" & < "8.10~"}
]
tags: [
"keyword: sorting"
"keyword: Cases"
"keyword: Tauto"
"keyword: AutoRewrite"
"keyword: Prolog"
"category: Miscellaneous/Coq Use Examples"
]
authors: [
"Coq group"
]
bug-reports: "https://github.com/coq-contribs/demos/issues"
dev-repo: "git+https://github.com/coq-contribs/demos.git"
synopsis: "Demos of some Coq tools appeared in version V6.0"
description: """
Example of sorting algorithms defined using the Cases
(pattern-matching) construction. Demo of the decision tactic Tauto for
intuitionistic propositional calculus. Demo of the AutoRewrite tactic. Demo of
the Prolog tactic applied to the compilation of miniML programs."""
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/demos/archive/v8.9.0.tar.gz"
checksum: "md5=e195ef7c40a80296120a54beff118d98"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-demos.8.9.0 coq.8.5.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.5.1).
The following dependencies couldn't be met:
- coq-demos -> coq >= 8.9 -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-demos.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1+2 / hammer - 1.2.1+8.11</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
hammer
<small>
1.2.1+8.11
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-27 01:18:40 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-27 01:18:40 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.7.1+2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.03.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.03.0 Official 4.03.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.2 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/lukaszcz/coqhammer"
dev-repo: "git+https://github.com/lukaszcz/coqhammer.git"
bug-reports: "https://github.com/lukaszcz/coqhammer/issues"
license: "LGPL-2.1-only"
synopsis: "General-purpose automated reasoning hammer tool for Coq"
description: """
A general-purpose automated reasoning hammer tool for Coq that combines
learning from previous proofs with the translation of problems to the
logics of automated systems and the reconstruction of successfully found proofs.
"""
build: [make "-j%{jobs}%" {ocaml:version >= "4.06"} "plugin"]
install: [
[make "install-plugin"]
[make "test-plugin"] {with-test}
]
depends: [
"ocaml"
"coq" {>= "8.11" & < "8.12~"}
("conf-g++" {build} | "conf-clang" {build})
"coq-hammer-tactics" {= version}
]
tags: [
"category:Miscellaneous/Coq Extensions"
"keyword:automation"
"keyword:hammer"
"logpath:Hammer.Plugin"
"date:2020-06-05"
]
authors: [
"Lukasz Czajka <lukaszcz@mimuw.edu.pl>"
"Cezary Kaliszyk <cezary.kaliszyk@uibk.ac.at>"
]
url {
src: "https://github.com/lukaszcz/coqhammer/archive/v1.2.1-coq8.11.tar.gz"
checksum: "sha512=7ef5f5e68cc2645ef093dc63d1531cc9696afeabdd540b24c6955fa994417b85925c15856e56cfb41eea9424278cf3ee2fd899f9c84f04d8f8630165b188b666"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-hammer.1.2.1+8.11 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.1+2).
The following dependencies couldn't be met:
- coq-hammer -> coq >= 8.11 -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-hammer.1.2.1+8.11</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
#!/usr/bin/env node
'use strict';
var assert = require('assert');
var depRep = require('../../lib/depRep');
var oldJson = require('../fixtures/old.json');
var newJson = require('../fixtures/new.json');
var unsupported = require('../fixtures/unsupported.json');
function key(number, dev) {
var prefix = "/dependencies/";
if (dev) prefix = "/devDependencies/";
return prefix + number;
}
describe('Compare', function () {
// describe('#report()', function () {
// it('should generate a proper report for dependencies', function () {
// depRep
// .report(oldJson, newJson)
// .then(function () {
// assert.equal(analyze[key(1)].status, "major");
// assert.equal(report[key(2)].status, null);
// assert.equal(report[key(3)], null);
// assert.equal(report[key(4)].status, null);
// assert.equal(report[key(5)].status, null);
// assert.equal(report[key(6)], null);
// assert.equal(report[key(7)].status, null);
// assert.equal(report[key(8)].status, "minor");
// assert.equal(report[key(9)].status, "major");
// done();
// });
// });
// });
//
// describe('#report()', function () {
// it('should generate a proper report for devDependencies', function () {
// depRep
// .report(oldJson, newJson)
// .then(function () {
// assert.equal(report[key(1, true)].status, "major");
// assert.equal(report[key(2, true)].status, null);
// assert.equal(report[key(3, true)], null);
// assert.equal(report[key(4, true)].status, null);
// assert.equal(report[key(5, true)].status, null);
// assert.equal(report[key(6, true)], null);
// assert.equal(report[key(7, true)].status, null);
// assert.equal(report[key(8, true)].status, "minor");
// assert.equal(report[key(9, true)].status, "major");
// done();
// });
// });
// });
}); | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>string: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.9.0 / string - 8.5.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
string
<small>
8.5.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-01-10 01:57:47 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-10 01:57:47 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.9.0 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.04.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.04.2 Official 4.04.2 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "matej.kosik@inria.fr"
homepage: "https://github.com/coq-contribs/string"
license: "LGPL 2"
build: [make]
install: [make "install"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
]
tags: [ "keyword:string" "keyword:ascii character" "category:Miscellaneous/Coq Extensions" "date:2002-03" ]
authors: [ "Laurent Théry <>" ]
bug-reports: "https://github.com/coq-contribs/string/issues"
dev-repo: "git+https://github.com/coq-contribs/string.git"
synopsis: "Definition of strings in Coq"
description: "Strings as list of characters."
url {
src: "https://github.com/coq-contribs/string/archive/v8.5.0.tar.gz"
checksum: "md5=7c066e35b0b7ed1242241a6332e12092"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-string.8.5.0 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.9.0).
The following dependencies couldn't be met:
- coq-string -> coq < 8.6~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-string.8.5.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
/*
* Description:
* the meta server's date structure, impl file
*
* Revision history:
* 2016-04-25, Weijie Sun(sunweijie at xiaomi.com), first version
* xxxx-xx-xx, author, fix bug about xxx
*/
#include <dsn/service_api_cpp.h>
#include "meta_data.h"
namespace dsn { namespace replication {
void maintain_drops(/*inout*/ std::vector<rpc_address>& drops, const rpc_address& node, bool is_add)
{
auto it = std::find(drops.begin(), drops.end(), node);
if (is_add)
{
if (it != drops.end())
drops.erase(it);
}
else
{
if (it == drops.end())
{
drops.push_back(node);
if (drops.size() > 3)
drops.erase(drops.begin());
}
else
{
dassert(false, "the node cannot be in drops set before this update", node.to_string());
}
}
}
void config_context::cancel_sync()
{
if (config_status::pending_remote_sync == stage)
{
bool finished = false;
bool cancelled = pending_sync_task->cancel(false, &finished);
dassert(cancelled,
"the task must be cancelled, mostly because the following"
" config is not set: [threadpool.THREAD_POOL_META_STATE] worker_count = 1"
);
pending_sync_task = nullptr;
pending_sync_request.reset();
}
if (msg)
{
dsn_msg_release_ref(msg);
}
msg = nullptr;
stage = config_status::not_pending;
}
void config_context::clear_proposal()
{
if (config_status::pending_remote_sync != stage)
stage = config_status::not_pending;
balancer_proposal.reset();
}
void app_state_helper::on_init_partitions()
{
config_context context;
context.stage = config_status::not_pending;
context.pending_sync_task = nullptr;
context.msg = nullptr;
contexts.assign(owner->partition_count, context);
}
app_state::app_state(const app_info &info): app_info(info), helpers(new app_state_helper())
{
helpers->owner = this;
partition_configuration config;
config.ballot = 0;
config.pid.set_app_id(app_id);
config.last_committed_decree = 0;
config.last_drops.clear();
config.max_replica_count = app_info::max_replica_count;
config.primary.set_invalid();
config.secondaries.clear();
partitions.assign(app_info::partition_count, config);
for (int i=0; i!=app_info::partition_count; ++i)
partitions[i].pid.set_partition_index(i);
helpers->on_init_partitions();
}
std::shared_ptr<app_state> app_state::create(const app_info& info)
{
std::shared_ptr<app_state> result = std::make_shared<app_state>(info);
result->helpers->owner = result.get();
return result;
}
}}
| Java |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由Codesmith工具生成。
// 此文件的更改可能会导致不正确的行为,如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using ProtoBuf;
using ZyGames.Framework.Common;
using ZyGames.Framework.Collection;
using ZyGames.Framework.Model;
namespace ZyGames.Doudizhu.Model
{
/// <summary>
/// 聊天语言配置
/// </summary>
/// <![CDATA[
/// @periodTime:设置生存周期(秒)
/// @personalName: 映射UserId对应的字段名,默认为"UserId"
/// ]]>
/// </remarks>
[Serializable, ProtoContract]
[EntityTable(AccessLevel.ReadOnly, DbConfig.Config, "ChatInfo")]
public class ChatInfo : ShareEntity
{
/// <summary>
/// </summary>
public ChatInfo()
: base(AccessLevel.ReadOnly)
{
}
/// <summary>
/// </summary>
public ChatInfo(int id)
: this()
{
_id = id;
}
#region 自动生成属性
private int _id;
/// <summary>
///
/// </summary>
[ProtoMember(1)]
[EntityField("Id", IsKey = true)]
public int Id
{
get
{
return _id;
}
}
private string _content;
/// <summary>
///
/// </summary>
[ProtoMember(2)]
[EntityField("Content")]
public string Content
{
get
{
return _content;
}
}
protected override object this[string index]
{
get
{
#region
switch (index)
{
case "Id": return _id;
case "Content": return _content;
default: throw new ArgumentException(string.Format("ChatInfo index[{0}] isn't exist.", index));
}
#endregion
}
set
{
#region
switch (index)
{
case "Id":
_id = value.ToInt();
break;
case "Content":
_content = value.ToNotNullString();
break;
default: throw new ArgumentException(string.Format("ChatInfo index[{0}] isn't exist.", index));
}
#endregion
}
}
#endregion
}
} | Java |
=begin
= TeamDecorator
- version: 6.002
- author: Leega
Decorator for the Team model.
Contains all presentation-logic centered methods.
=end
class TeamDecorator < Draper::Decorator
delegate_all
include Rails.application.routes.url_helpers
# Retrieves the team complete name
# with link to team radiography
#
def get_linked_name
h.link_to( get_full_name, team_radio_path(id: team.id), { 'data-toggle'=>'tooltip', 'title'=>I18n.t('radiography.team_radio_tab_tooltip') } )
end
#-- -------------------------------------------------------------------------
# Retrieves the team complete name
# with link to team meeting results
#
def get_linked_to_results_name(meeting)
h.link_to( get_full_name, meeting_show_team_results_path(id: meeting.id, team_id: team.id), { 'data-toggle'=>'tooltip', 'title'=>I18n.t('meeting.show_team_results_tooltip') } )
end
#-- -------------------------------------------------------------------------
# Returns the list of season types the teams was affiliate
#
def get_season_type_list()
season_types ? season_types.uniq.map{ |row| row.get_full_name }.join(', ') : I18n.t('none')
end
#-- --------------------------------------------------------------------------
# Returns the formatted list of contacts
# TODO Add the link to email address
#
def get_contacts()
contacts = []
contacts.append(contact_name) if contact_name
contacts.append("#{I18n.t('mobile')} #{phone_mobile}") if phone_mobile
contacts.append("#{I18n.t('phone')} #{phone_number}") if phone_number
contacts.append("#{I18n.t('fax')} #{fax_number}") if fax_number
contacts.append("#{I18n.t('email')} " + h.mail_to(e_mail)) if e_mail
contacts.join(', ')
end
#-- --------------------------------------------------------------------------
# Returns the complete team address with address, city, country
#
def get_complete_address()
"#{address} #{city ? ' - ' + city.get_full_name + ' - ' + city.country : ''}"
end
#-- --------------------------------------------------------------------------
# Returns the Team's home site if present
#
def get_home_site()
home_page_url ? h.link_to( home_page_url, home_page_url, { target: "blank", 'data-toggle' => 'tooltip', title: I18n.t('team.visit_home_page') } ) : I18n.t('unknown')
end
#-- --------------------------------------------------------------------------
# Returns the Team's last meeting name (and header date)
#
def get_first_meeting_name()
meeting = meetings.sort_by_date(:asc).first
meeting ? h.link_to( meeting.get_full_name, meeting_show_full_path( id: meeting.id, team_id: id ), { 'data-toggle' => 'tooltip', title: I18n.t('meeting.show_team_results_tooltip') + "\r\n(#{ meeting.get_full_name })" } ) : I18n.t('none')
end
#-- --------------------------------------------------------------------------
# Returns the Team's last meeting name (and header date)
#
def get_last_meeting_name()
meeting = meetings.sort_by_date(:desc).first
meeting ? h.link_to( meeting.get_full_name, meeting_show_full_path( id: meeting.id, team_id: id ), { 'data-toggle' => 'tooltip', title: I18n.t('meeting.show_team_results_tooltip') + "\r\n(#{ meeting.get_full_name })" } ) : I18n.t('none')
end
#-- --------------------------------------------------------------------------
# Returns the current goggle cup name if present
#
def get_current_goggle_cup_name_at( evaluation_date = Date.today )
goggle_cup = get_current_goggle_cup_at( evaluation_date )
goggle_cup ? goggle_cup.get_full_name : I18n.t('radiography.goggle_cup_tab')
end
#-- --------------------------------------------------------------------------
end
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fssec-model: 49 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1+2 / fssec-model - 8.7.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
fssec-model
<small>
8.7.0
<span class="label label-success">49 s 🏆</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-10-22 02:42:01 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-22 02:42:01 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.7.1+2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.04.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.04.2 Official 4.04.2 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/fssec-model"
license: "Unknown"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/FSSecModel"]
depends: [
"ocaml"
"coq" {>= "8.7" & < "8.8~"}
]
tags: [ "keyword: security" "keyword: filesystem" "keyword: UNIX" "keyword: MLS" "keyword: access control" "category: Computer Science/Operating Systems" "date: 2002-04-24" ]
authors: [ "Maximiliano Cristiá" ]
bug-reports: "https://github.com/coq-contribs/fssec-model/issues"
dev-repo: "git+https://github.com/coq-contribs/fssec-model.git"
synopsis: "Formal verification of an extension of a UNIX compatible, secure filesystem"
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/fssec-model/archive/v8.7.0.tar.gz"
checksum: "md5=baadf706262226d952cf31b8d1ce225e"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-fssec-model.8.7.0 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-fssec-model.8.7.0 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>8 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-fssec-model.8.7.0 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>49 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 3 M</p>
<ul>
<li>187 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/AuxiliaryLemmas.glob</code></li>
<li>137 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/openIsSecure.glob</code></li>
<li>90 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/AuxiliaryLemmas.vo</code></li>
<li>87 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/openIsSecure.vo</code></li>
<li>86 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/SFSstate.vo</code></li>
<li>71 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/SFSstate.glob</code></li>
<li>60 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/createIsSecure.vo</code></li>
<li>59 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/mkdirIsSecure.vo</code></li>
<li>57 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/closeIsSecure.vo</code></li>
<li>56 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/owner_closeIsSecure.vo</code></li>
<li>56 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ModelLemmas.glob</code></li>
<li>52 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/rmdirIsSecure.vo</code></li>
<li>52 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/unlinkIsSecure.vo</code></li>
<li>50 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/delUsrGrpFromAclIsSecure.vo</code></li>
<li>50 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chmodIsSecure.vo</code></li>
<li>49 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/addUsrGrpToAclIsSecure.vo</code></li>
<li>49 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chownIsSecure.vo</code></li>
<li>47 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ModelProperties.glob</code></li>
<li>42 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ModelProperties.vo</code></li>
<li>42 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chobjscIsSecure.vo</code></li>
<li>40 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chsubscIsSecure.vo</code></li>
<li>39 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ListSet.vo</code></li>
<li>37 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/writeIsSecure.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readdirIsSecure.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/oscstatIsSecure.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/aclstatIsSecure.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/sscstatIsSecure.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readIsSecure.vo</code></li>
<li>35 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/statIsSecure.vo</code></li>
<li>33 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/owner_closeIsSecure.glob</code></li>
<li>33 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/closeIsSecure.glob</code></li>
<li>31 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/AuxiliaryLemmas.v</code></li>
<li>30 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ModelLemmas.vo</code></li>
<li>27 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ListSet.glob</code></li>
<li>26 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/createIsSecure.glob</code></li>
<li>25 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/mkdirIsSecure.glob</code></li>
<li>24 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ListFunctions.vo</code></li>
<li>23 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/delUsrGrpFromAcl.vo</code></li>
<li>22 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chmod.vo</code></li>
<li>21 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/mkdir.vo</code></li>
<li>21 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/create.vo</code></li>
<li>21 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/addUsrGrpToAcl.vo</code></li>
<li>21 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/DACandMAC.vo</code></li>
<li>20 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/unlinkIsSecure.glob</code></li>
<li>20 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/owner_close.vo</code></li>
<li>20 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/openIsSecure.v</code></li>
<li>20 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chown.vo</code></li>
<li>20 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/TransFunc.vo</code></li>
<li>20 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/rmdirIsSecure.glob</code></li>
<li>20 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/close.vo</code></li>
<li>19 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/SFSstate.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/TransFunc.glob</code></li>
<li>16 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/open.vo</code></li>
<li>16 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/unlink.vo</code></li>
<li>16 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/rmdir.vo</code></li>
<li>15 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/delUsrGrpFromAclIsSecure.glob</code></li>
<li>15 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chsubsc.vo</code></li>
<li>15 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chobjsc.vo</code></li>
<li>15 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chownIsSecure.glob</code></li>
<li>15 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/stat.vo</code></li>
<li>14 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/write.vo</code></li>
<li>14 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/setACLdata.vo</code></li>
<li>14 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ListFunctions.glob</code></li>
<li>14 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chmodIsSecure.glob</code></li>
<li>14 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/addUsrGrpToAclIsSecure.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chobjscIsSecure.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/read.vo</code></li>
<li>13 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/InitialState.vo</code></li>
<li>13 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readdir.vo</code></li>
<li>13 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/aclstat.vo</code></li>
<li>12 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/sscstat.vo</code></li>
<li>12 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/oscstat.vo</code></li>
<li>11 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/create.glob</code></li>
<li>11 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/DACandMAC.glob</code></li>
<li>11 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ModelProperties.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/mkdir.glob</code></li>
<li>11 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ListSet.v</code></li>
<li>10 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/delUsrGrpFromAcl.glob</code></li>
<li>9 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/open.glob</code></li>
<li>8 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chmod.glob</code></li>
<li>8 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/addUsrGrpToAcl.glob</code></li>
<li>7 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chown.glob</code></li>
<li>7 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/owner_close.glob</code></li>
<li>7 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/setACLdata.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chsubscIsSecure.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/close.glob</code></li>
<li>6 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/createIsSecure.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/mkdirIsSecure.v</code></li>
<li>6 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/writeIsSecure.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/closeIsSecure.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/unlink.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/owner_closeIsSecure.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/rmdir.glob</code></li>
<li>5 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ModelLemmas.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chsubsc.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/TransFunc.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/DACandMAC.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/ListFunctions.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chobjsc.glob</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/unlinkIsSecure.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/rmdirIsSecure.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/delUsrGrpFromAclIsSecure.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chownIsSecure.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/addUsrGrpToAclIsSecure.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chmodIsSecure.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/InitialState.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/delUsrGrpFromAcl.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chobjscIsSecure.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/write.glob</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/mkdir.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/create.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/addUsrGrpToAcl.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chmod.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readdir.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/oscstatIsSecure.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/close.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/sscstatIsSecure.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readdirIsSecure.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/aclstatIsSecure.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/read.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readIsSecure.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/statIsSecure.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/open.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chown.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/owner_close.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/stat.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/setACLdata.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/aclstat.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chsubscIsSecure.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/unlink.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chsubsc.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/sscstat.glob</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/rmdir.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/stat.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/chobjsc.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/InitialState.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/writeIsSecure.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/write.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/oscstat.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/aclstat.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readdir.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/read.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/sscstat.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readdirIsSecure.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/oscstatIsSecure.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/sscstatIsSecure.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/aclstatIsSecure.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/readIsSecure.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/statIsSecure.v</code></li>
<li>1 K <code>../ocaml-base-compiler.4.04.2/lib/coq/user-contrib/FSSecModel/oscstat.v</code></li>
</ul>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-fssec-model.8.7.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tarski-geometry: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.8.1 / tarski-geometry - 8.7.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
tarski-geometry
<small>
8.7.0
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-10-21 07:12:33 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-21 07:12:33 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.8.1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "https://github.com/coq-contribs/tarski-geometry"
license: "GPL"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/TarskiGeometry"]
depends: [
"ocaml"
"coq" {>= "8.7" & < "8.8~"}
]
tags: [ "keyword: geometry" "keyword: Tarski's geometry" "keyword: congruence" "keyword: between property" "keyword: orthogonality" "category: Mathematics/Geometry/General" "date: 2006-03" ]
authors: [ "Julien Narboux <Julien.Narboux@dpt-info.u-strasbg.fr> [http://dpt-info.u-strasbg.fr/~narboux/]" ]
bug-reports: "https://github.com/coq-contribs/tarski-geometry/issues"
dev-repo: "git+https://github.com/coq-contribs/tarski-geometry.git"
synopsis: "Tarski's geometry"
description: """
http://dpt-info.u-strasbg.fr/~narboux/tarski.html
This is a formalization of geometry using a simplified version of Tarski's axiom system. The development contains a formalization of the chapters 1-8 of the book "Metamathematische Methoden in der Geometrie" by W. Schwabhäuser, W. Szmielew and A. Tarski.
This includes between properties, congruence properties,
midpoint, perpendicular lines, point reflection, orthogonality ...
This development aims to be a low level complement for Frédérique Guilhot's development about high-school geometry.
For more information see:
Mechanical Theorem Proving in Tarski's geometry in the post-proceeding of ADG 2006, F. Botana and T. Recio (Eds.), LNAI 4869, pages 139-156, 2007."""
flags: light-uninstall
url {
src:
"https://github.com/coq-contribs/tarski-geometry/archive/v8.7.0.tar.gz"
checksum: "md5=e7ef6439d7b26dbeb3dea11929f1e536"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-tarski-geometry.8.7.0 coq.8.8.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.8.1).
The following dependencies couldn't be met:
- coq-tarski-geometry -> coq < 8.8~ -> ocaml < 4.03.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-tarski-geometry.8.7.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<span class="hljs-keyword">import</span> {NgModule} <span class="hljs-keyword">from</span> <span class="hljs-string">'@angular/core'</span>;
<span class="hljs-keyword">import</span> {FormsModule} <span class="hljs-keyword">from</span> <span class="hljs-string">'@angular/forms'</span>;
<span class="hljs-keyword">import</span> {MatButtonModule} <span class="hljs-keyword">from</span> <span class="hljs-string">'@angular/material/button'</span>;
<span class="hljs-keyword">import</span> {MatCheckboxModule} <span class="hljs-keyword">from</span> <span class="hljs-string">'@angular/material/checkbox'</span>;
<span class="hljs-keyword">import</span> {MatRippleModule} <span class="hljs-keyword">from</span> <span class="hljs-string">'@angular/material/core'</span>;
<span class="hljs-keyword">import</span> {MatInputModule} <span class="hljs-keyword">from</span> <span class="hljs-string">'@angular/material/input'</span>;
<span class="hljs-keyword">import</span> {ElevationOverviewExample} <span class="hljs-keyword">from</span> <span class="hljs-string">'./elevation-overview/elevation-overview-example'</span>;
<span class="hljs-keyword">import</span> {RippleOverviewExample} <span class="hljs-keyword">from</span> <span class="hljs-string">'./ripple-overview/ripple-overview-example'</span>;
<span class="hljs-keyword">export</span> {ElevationOverviewExample, RippleOverviewExample};
<span class="hljs-keyword">const</span> EXAMPLES = [ElevationOverviewExample, RippleOverviewExample];
<span class="hljs-meta">@NgModule</span>({
<span class="hljs-attr">imports</span>: [MatButtonModule, MatCheckboxModule, MatInputModule, MatRippleModule, FormsModule],
<span class="hljs-attr">declarations</span>: EXAMPLES,
<span class="hljs-attr">exports</span>: EXAMPLES,
})
<span class="hljs-keyword">export</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">CoreExamplesModule</span> </span>{}
| Java |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Akkomation.TelldusCore.Utils
{
internal enum MarshalDirection
{
In,
Out
}
internal class TelldusUtf8Marshaler : ICustomMarshaler
{
private static readonly TelldusUtf8Marshaler InputInstance = new TelldusUtf8Marshaler(MarshalDirection.In);
private static readonly TelldusUtf8Marshaler OutputInstance = new TelldusUtf8Marshaler(MarshalDirection.Out);
private readonly MarshalDirection _direction;
/// <summary>
/// Initializes a new instance of the <see cref="TelldusUtf8Marshaler"/> class.
/// </summary>
/// <param name="direction">
/// if set to <c>true</c> the marshaler will free strings using Telldus API.
/// Use this for marshallers that receive strings from the API. If false the
/// strings will</param>
public TelldusUtf8Marshaler(MarshalDirection direction)
{
_direction = direction;
}
public static ICustomMarshaler GetInstance(string cookie)
{
if (String.Equals(cookie, "in", StringComparison.OrdinalIgnoreCase))
return InputInstance;
if (String.Equals(cookie, "out", StringComparison.OrdinalIgnoreCase))
return OutputInstance;
throw new ArgumentException("Support cookie values are 'in' or 'out'. See MarshalDirection enum");
}
public void CleanUpManagedData(object managedObj)
{
}
public void CleanUpNativeData(IntPtr pNativeData)
{
if (_direction == MarshalDirection.In)
Marshal.FreeHGlobal(pNativeData);
else
NativeMethods.tdReleaseString(pNativeData);
}
public int GetNativeDataSize()
{
return -1;
}
public IntPtr MarshalManagedToNative(object managedObj)
{
if (_direction == MarshalDirection.Out)
throw new InvalidOperationException("Marshaler is used in output mode, can't marshal managed to native");
if (managedObj == null) return IntPtr.Zero;
var str = managedObj as string;
if (str == null)
throw new InvalidOperationException("TelldusUtf8Marshaler only supports marshalling strings");
return FromManaged(str);
}
public object MarshalNativeToManaged(IntPtr pNativeData)
{
if (_direction == MarshalDirection.In)
throw new InvalidOperationException("Marshaler is used in input mode, can't marshal managed to native");
return FromNative(pNativeData);
}
internal static IntPtr FromManaged(string value)
{
if (value == null)
return IntPtr.Zero;
var buf = Encoding.UTF8.GetBytes(value + '\0');
var ptr = Marshal.AllocHGlobal(buf.Length);
Marshal.Copy(buf, 0, ptr, buf.Length);
return ptr;
}
internal static string FromNative(IntPtr pNativeData)
{
if (pNativeData == IntPtr.Zero)
return null;
int length = 0;
while (Marshal.ReadByte(pNativeData, length) != 0)
length++;
var buf = new byte[length];
Marshal.Copy(pNativeData, buf, 0, length);
return Encoding.UTF8.GetString(buf);
}
}
}
| Java |
<?php
namespace MicroCMS\Controller;
use Silex\Application;
use Symfony\Component\HttpFoundation\Request;
use MicroCMS\Domain\Article;
use MicroCMS\Domain\Experience;
use MicroCMS\Domain\User;
use MicroCMS\Domain\Perso;
use MicroCMS\Domain\Portfolio;
use MicroCMS\Domain\Loisir;
use MicroCMS\Form\Type\ArticleType;
use MicroCMS\Form\Type\LoisirType;
use MicroCMS\Form\Type\ExperienceType;
use MicroCMS\Form\Type\PersoType;
use MicroCMS\Form\Type\PortfolioType;
use MicroCMS\Form\Type\CommentType;
use MicroCMS\Form\Type\UserType;
use MicroCMS\Form\Type\ExperienceController;
class AdminController {
/**
* Admin home page controller.
*
* @param Application $app Silex application
*/
public function indexAction(Application $app) {
$articles = $app['dao.article']->findAll();
$comments = $app['dao.comment']->findAll();
$users = $app['dao.user']->findAll();
$experiences = $app['dao.experience']->findAll();
$loisirs = $app['dao.loisir']->findAll();
$persos = $app['dao.perso']->findAll();
$portfolios = $app['dao.portfolio']->findAll();
// $experiences = $app['dao.experiences']->findAll();
return $app['twig']->render('admin.html.twig', array(
'articles' => $articles,
'comments' => $comments,
'users' => $users,
'experiences' => $experiences,
'loisirs' => $loisirs,
'persos' => $persos,
'portfolios' => $portfolios
));
}
/**
* Add article controller.
*
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function addArticleAction(Request $request, Application $app) {
$article = new Article();
$articleForm = $app['form.factory']->create(ArticleType::class, $article);
$articleForm->handleRequest($request);
if ($articleForm->isSubmitted() && $articleForm->isValid()) {
$app['dao.article']->save($article);
$app['session']->getFlashBag()->add('success', 'The article was successfully created.');
}
return $app['twig']->render('article_form.html.twig', array(
'title' => 'New article',
'articleForm' => $articleForm->createView()));
}
/**
* Add loisir controller.
*
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function addLoisirAction(Request $request, Application $app) {
$loisir = new Loisir();
$loisirForm = $app['form.factory']->create(LoisirType::class, $loisir);
$loisirForm->handleRequest($request);
if ($loisirForm->isSubmitted() && $loisirForm->isValid()) {
$app['dao.loisir']->save($loisir);
$app['session']->getFlashBag()->add('success', 'The article was successfully created.');
}
return $app['twig']->render('article_form.html.twig', array(
'title' => 'Nouveau Loisir',
'articleForm' => $loisirForm->createView()));
}
/**
* Edit article controller.
*
* @param integer $id Article id
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function editLoisirAction($id, Request $request, Application $app) {
$loisir = $app['dao.loisir']->find($id);
$loisirForm = $app['form.factory']->create(LoisirType::class, $loisir);
$loisirForm->handleRequest($request);
if ( $loisirForm->isSubmitted() && $loisirForm->isValid() ) {
$app['dao.loisir']->save($loisir);
$app['session']->getFlashBag()->add('success', 'Votre loisir à été enregistré avec succé.');
}
return $app['twig']->render('loisir_form.html.twig', array(
'title' => 'Editer votre loisir',
'loisirForm' => $loisirForm->createView()));
}
/**
* Delete article controller.
*
* @param integer $id Article id
* @param Application $app Silex application
*/
public function deleteLoisirAction( $id, Application $app ) {
// Delete the article
$app['dao.loisir']->delete($id);
$app['session']->getFlashBag()->add('success', 'Ce loisir à été supprimé avec succé !');
// Redirect to admin home page
return $app->redirect($app['url_generator']->generate('admin'));
}
/**
* Edit article controller.
*
* @param integer $id Article id
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function editArticleAction($id, Request $request, Application $app) {
$article = $app['dao.article']->find($id);
$articleForm = $app['form.factory']->create(ArticleType::class, $article);
$articleForm->handleRequest($request);
if ($articleForm->isSubmitted() && $articleForm->isValid()) {
$app['dao.article']->save($article);
$app['session']->getFlashBag()->add('success', 'The article was successfully updated.');
}
return $app['twig']->render('article_form.html.twig', array(
'title' => 'Edit article',
'articleForm' => $articleForm->createView() ));
}
/**
* Delete article controller.
*
* @param integer $id Article id
* @param Application $app Silex application
*/
public function deleteArticleAction($id, Application $app) {
// Delete all associated comments
$app['dao.comment']->deleteAllByArticle($id);
// Delete the article
$app['dao.article']->delete($id);
$app['session']->getFlashBag()->add('success', 'The article was successfully removed.');
// Redirect to admin home page
return $app->redirect($app['url_generator']->generate('admin'));
}
/**
* Add perso controller.
*
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function addPersoAction(Request $request, Application $app) {
$perso = new Perso();
$persoForm = $app['form.factory']->create(PersoType::class, $perso);
$persoForm->handleRequest($request);
if ($persoForm->isSubmitted() && $persoForm->isValid()) {
$app['dao.perso']->save($perso);
$app['session']->getFlashBag()->add('success', 'The article was successfully created.');
}
return $app['twig']->render('perso_form.html.twig', array(
'title' => 'Nouvelles informations personnels',
'persoForm' => $persoForm->createView()));
}
/**
* Edit article controller.
*
* @param integer $id Article id
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function editPersoAction($id, Request $request, Application $app) {
$perso = $app['dao.perso']->find($id);
$persoForm = $app['form.factory']->create(PersoType::class, $perso);
$persoForm->handleRequest($request);
if ($persoForm->isSubmitted() && $persoForm->isValid()) {
$app['dao.perso']->save($perso);
$app['session']->getFlashBag()->add('success', 'The personnels was successfully updated.');
}
return $app['twig']->render('perso_form.html.twig', array(
'title' => 'Editer ces informations personnels',
'persoForm' => $persoForm->createView() ));
}
/**
* Delete article controller.
*
* @param integer $id Article id
* @param Application $app Silex application
*/
public function deletePersoAction($id, Application $app) {
// Delete the article
$app['dao.perso']->delete($id);
$app['session']->getFlashBag()->add('success', 'Ces information personnels ont été supprimé.');
// Redirect to admin home page
return $app->redirect($app['url_generator']->generate('admin'));
}
/**
* Edit comment controller.
*
* @param integer $id Comment id
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function editCommentAction($id, Request $request, Application $app) {
$comment = $app['dao.comment']->find($id);
$commentForm = $app['form.factory']->create(CommentType::class, $comment);
$commentForm->handleRequest($request);
if ($commentForm->isSubmitted() && $commentForm->isValid()) {
$app['dao.comment']->save($comment);
$app['session']->getFlashBag()->add('success', 'The comment was successfully updated.');
}
return $app['twig']->render('comment_form.html.twig', array(
'title' => 'Edit comment',
'commentForm' => $commentForm->createView()));
}
public function addPortfolioAction(Request $request, Application $app) {
$portfolio = new Portfolio();
$portfolioForm = $app['form.factory']->create(PortfolioType::class, $portfolio);
$portfolioForm->handleRequest($request);
if ($portfolioForm->isSubmitted() && $portfolioForm->isValid()) {
$app['dao.portfolio']->save($portfolio);
$app['session']->getFlashBag()->add('success', 'The article was successfully created.');
}
return $app['twig']->render('portfolio_form.html.twig', array(
'title' => 'Nouvelles informations portfolionnels',
'portfolioForm' => $portfolioForm->createView()));
}
/**
* Edit article controller.
*
* @param integer $id Article id
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function editPortfolioAction($id, Request $request, Application $app) {
$portfolio = $app['dao.portfolio']->find($id);
$portfolioForm = $app['form.factory']->create(PortfolioType::class, $portfolio);
$portfolioForm->handleRequest($request);
if ($portfolioForm->isSubmitted() && $portfolioForm->isValid()) {
$app['dao.portfolio']->save($portfolio);
$app['session']->getFlashBag()->add('success', 'Vous avez édité cette element avec succés.');
}
return $app['twig']->render('portfolio_form.html.twig', array(
'title' => 'Editer ces informations portfolionnels',
'portfolioForm' => $portfolioForm->createView() ));
}
/**
* Delete article controller.
*
* @param integer $id Article id
* @param Application $app Silex application
*/
public function deletePortfolioAction($id, Application $app) {
// Delete the article
$app['dao.portfolio']->delete($id);
$app['session']->getFlashBag()->add('success', 'Ces information personnels ont été supprimé.');
// Redirect to admin home page
return $app->redirect($app['url_generator']->generate('admin'));
}
/**
* Delete comment controller.
*
* @param integer $id Comment id
* @param Application $app Silex application
*/
public function deleteCommentAction($id, Application $app) {
$app['dao.comment']->delete($id);
$app['session']->getFlashBag()->add('success', 'The comment was successfully removed.');
// Redirect to admin home page
return $app->redirect($app['url_generator']->generate('admin'));
}
/**
* Add user controller.
*
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function addUserAction(Request $request, Application $app) {
$user = new User();
$userForm = $app['form.factory']->create(UserType::class, $user);
$userForm->handleRequest($request);
if ($userForm->isSubmitted() && $userForm->isValid()) {
// generate a random salt value
$salt = substr(md5(time()), 0, 23);
$user->setSalt($salt);
$plainPassword = $user->getPassword();
// find the default encoder
$encoder = $app['security.encoder.bcrypt'];
// compute the encoded password
$password = $encoder->encodePassword($plainPassword, $user->getSalt());
$user->setPassword($password);
$app['dao.user']->save($user);
$app['session']->getFlashBag()->add('success', 'The user was successfully created.');
}
return $app['twig']->render('user_form.html.twig', array(
'title' => 'New user',
'userForm' => $userForm->createView()));
}
/**
* Edit user controller.
*
* @param integer $id User id
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function editUserAction($id, Request $request, Application $app) {
$user = $app['dao.user']->find($id);
$userForm = $app['form.factory']->create(UserType::class, $user);
$userForm->handleRequest($request);
if ($userForm->isSubmitted() && $userForm->isValid()) {
$plainPassword = $user->getPassword();
// find the encoder for the user
$encoder = $app['security.encoder_factory']->getEncoder($user);
// compute the encoded password
$password = $encoder->encodePassword($plainPassword, $user->getSalt());
$user->setPassword($password);
$app['dao.user']->save($user);
$app['session']->getFlashBag()->add('success', 'The user was successfully updated.');
}
return $app['twig']->render('user_form.html.twig', array(
'title' => 'Edit user',
'userForm' => $userForm->createView()));
}
/**
* Delete user controller.
*
* @param integer $id User id
* @param Application $app Silex application
*/
public function deleteUserAction($id, Application $app) {
// Delete all associated comments
$app['dao.comment']->deleteAllByUser($id);
// Delete the user
$app['dao.user']->delete($id);
$app['session']->getFlashBag()->add('success', 'The user was successfully removed.');
// Redirect to admin home page
return $app->redirect($app['url_generator']->generate('admin'));
}
// CUSTOM CLASS
/**
* Add article controller.
*
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function addExperienceAction(Request $request, Application $app) {
$experience = new Experience();
$experienceForm = $app['form.factory']->create(ExperienceType::class, $experience);
$experienceForm->handleRequest($request);
if ($experienceForm->isSubmitted() && $experienceForm->isValid()) {
$app['dao.experience']->save($experience);
$app['session']->getFlashBag()->add('success', 'Vous avez créé une nouvelle experience.');
}
return $app['twig']->render('experience_form.html.twig', array(
'title' => 'Nouvelle Experience',
'experienceForm' => $experienceForm->createView()));
}
/**
* Edit article controller.
*
* @param integer $id Article id
* @param Request $request Incoming request
* @param Application $app Silex application
*/
public function editExperienceAction($id, Request $request, Application $app) {
$experience = $app['dao.experience']->find($id);
$experienceForm = $app['form.factory']->create(ExperienceType::class, $experience);
$experienceForm->handleRequest($request);
if ( $experienceForm->isSubmitted() && $experienceForm->isValid() ) {
$app['dao.experience']->save($experience);
$app['session']->getFlashBag()->add('success', 'Votre experience à été enregistré avec succé.');
}
return $app['twig']->render('experience_form.html.twig', array(
'title' => 'Editer votre experience',
'experienceForm' => $experienceForm->createView()));
}
/**
* Delete article controller.
*
* @param integer $id Article id
* @param Application $app Silex application
*/
public function deleteExperienceAction($id, Application $app) {
// Delete the article
$app['dao.experience']->delete($id);
$app['session']->getFlashBag()->add('success', 'Cette experience à été supprimé avec succé !');
// Redirect to admin home page
return $app->redirect($app['url_generator']->generate('admin'));
}
}
| Java |
<script src="../../bower_components/moment/moment.js"></script>
<script src="../../bower_components/moment/locale/fr.js"></script>
| Java |
# encoding: utf-8
require 'test_helper'
require 'earth_tools'
require 'earth_tools/result/time_zone'
require 'mock_lookup'
##
# Tests for Time Zone lookups.
class TimeZoneTest < MiniTest::Unit::TestCase
def setup
@result = EarthTools.time_zone(40.71417, -74.00639)
@result2 = EarthTools.time_zone(40.71655, -12.12318)
@result3 = EarthTools.time_zone(50.21655, -54.87656)
end
def test_time_zone_returns_result
assert_instance_of EarthTools::Result::TimeZone, @result
end
def test_iso_time
iso_time = @result.iso_time
assert_instance_of Time, iso_time
assert_equal Time.new(2012, 6, 14, 13, 29, 6, '-05:00'), iso_time
end
def test_local_time
local_time = @result.local_time
assert_instance_of Time, local_time
assert_equal Time.new(2012, 6, 14, 13, 29, 6, '-05:00'), local_time
end
def test_suffix
suffix = @result.suffix
assert_instance_of String, suffix
assert_equal 'R', suffix
end
def test_utc_offset
utc_offset = @result.utc_offset
assert_kind_of Integer, utc_offset
assert_equal -5, utc_offset
end
def test_utc_time
utc_time = @result.utc_time
assert_instance_of Time, utc_time
assert_equal Time.utc(2012, 6, 14, 18, 29, 6), utc_time
end
def test_dst_as_true
assert_equal 'True', @result2.dst
assert @result2.dst?
end
def test_dst_as_false
assert_equal 'False', @result3.dst
refute @result3.dst?
end
def test_dst_as_unknown
assert_equal 'Unknown', @result.dst
assert_nil @result.dst?
end
end | Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1+1 / compcert - 3.6+8.11</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
compcert
<small>
3.6+8.11
<span class="label label-info">Not compatible 👼</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2022-02-19 04:09:34 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-19 04:09:34 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 Preprocessor-pretty-printer of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.7.1+1 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.3 A library manager for OCaml
# opam file:
opam-version: "2.0"
authors: "Xavier Leroy <xavier.leroy@inria.fr>"
maintainer: "Jacques-Henri Jourdan <jacques-Henri.jourdan@normalesup.org>"
homepage: "http://compcert.inria.fr/"
dev-repo: "git+https://github.com/AbsInt/CompCert.git"
bug-reports: "https://github.com/AbsInt/CompCert/issues"
license: "INRIA Non-Commercial License Agreement"
build: [
["./configure" "ia32-linux" {os = "linux"}
"ia32-macosx" {os = "macos"}
"ia32-cygwin" {os = "cygwin"}
"-bindir" "%{bin}%"
"-libdir" "%{lib}%/compcert"
"-install-coqdev"
"-clightgen"
"-coqdevdir" "%{lib}%/coq/user-contrib/compcert"
"-ignore-coq-version"]
[make "-j%{jobs}%" {ocaml:version >= "4.06"}]
]
patches: "compat-8-11.patch"
extra-files: ["compat-8-11.patch" "sha256=1d54e39e9cda9ce8a408158580c09d0d76ff2accbd7524d1986aee4a7b0563dd"]
install: [
[make "install"]
["install" "-m" "0644" "VERSION" "%{lib}%/coq/user-contrib/compcert/"]
]
depends: [
# This are the release versions of Coq which include this version of compcert
# See compcert_CI_REF in
# https://github.com/coq/coq/blob/V8.11.0/dev/ci/ci-basic-overlay.sh
# See make_addon_compcert in
# https://github.com/coq/coq/blob/V8.11.0/dev/build/windows/makecoq_mingw.sh
"coq" {= "8.11.0"}
"menhir" {>= "20190626" & < "20200123"}
"ocaml" {>= "4.05.0"}
]
synopsis: "The CompCert C compiler (patched for Coq 8.11 compatibility)"
tags: [
"category:Computer Science/Semantics and Compilation/Compilation"
"category:Computer Science/Semantics and Compilation/Semantics"
"keyword:C"
"keyword:compiler"
"logpath:compcert"
"date:2019-10-02"
]
url {
src: "https://github.com/AbsInt/CompCert/archive/v3.6.tar.gz"
checksum: "sha256=7a77839f6b990ab632ba14feccf4f17da189f0e3b95d6ce2ef0986e4caebc575"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-compcert.3.6+8.11 coq.8.7.1+1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.1+1).
The following dependencies couldn't be met:
- coq-compcert -> coq = 8.11.0
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-compcert.3.6+8.11</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
/**
* Angular Paginate
* @homepage https://github.com/darthwade/angular-paginate
* @author Vadym Petrychenko https://github.com/darthwade
* @license The MIT License (http://www.opensource.org/licenses/mit-license.php)
* @copyright 2014 Vadym Petrychenko
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD
define(['angular'], factory);
} else if (typeof exports === 'object') {
// CommonJS
factory(require('angular'));
} else {
// Browser globals
factory(window.angular)
}
}(function (angular) {
'use strict';
angular.module('darthwade.paginate', [])
.provider('$paginate', function () {
var provider = this;
provider.templateUrl = 'angular-paginate.html';
provider.options = {
perPage: 10, // Items count per page.
range: 5, // Number of pages neighbouring the current page which will be displayed.
boundaryLinks: true, // Whether to display First / Last buttons.
directionLinks: true, // Whether to display Previous / Next buttons.
rotate: true, // Whether to keep current page in the middle of the visible ones.
paramName: 'page',
previousText: 'Previous', // Text for previous button
nextText: 'Next', // Text for next button
moreText: '...' // Text for more button
};
provider.$get = function() {
var wrapper = function(options) {
return new Paginator(options);
};
wrapper.getDefaultOptions = function() {
return provider.options;
};
wrapper.getTemplateUrl = function() {
return provider.templateUrl;
};
return wrapper;
};
/**
* Overrides default options
* @param {Object} options
*/
provider.setDefaultOptions = function (options) {
angular.extend(provider.options, options);
};
provider.setTemplateUrl = function (templateUrl) {
provider.templateUrl = templateUrl;
};
var Paginator = function(options) {
var self = this;
var defaultOptions = {
$page: 1,
$objects: [],
$totalCount: 0,
$startIndex: 0,
$endIndex: 0,
$totalPages: 0,
onPageChange: angular.noop
};
self.page = function (page) {
if (self.$page === page) {
return;
}
self.$page = page;
calculate();
if (self.onPageChange) {
self.onPageChange.call(self);
}
};
self.options = function (options) {
angular.extend(self, options);
};
self.previous = function () {
if (self.hasPrevious()) {
self.page(self.$page - 1);
}
};
self.next = function () {
if (self.hasNext()) {
self.page(self.$page + 1);
}
};
self.hasPrevious = function () {
return self.$page > 1;
};
self.hasNext = function () {
return self.$page < self.$totalPages;
};
// Create page object used in template
var makePage = function (number, text, active) {
return {
number: number,
text: text,
active: active
};
};
var getPages = function () {
var pages = [];
// Default page limits
var startPage = 1, endPage = self.$totalPages;
var isRanged = self.range < self.$totalPages;
// recompute if maxSize
if (isRanged) {
if (self.rotate) {
// Current page is displayed in the middle of the visible ones
startPage = Math.max(self.$page - Math.floor(self.range / 2), 1);
endPage = startPage + self.range - 1;
// Adjust if limit is exceeded
if (endPage > self.$totalPages) {
endPage = self.$totalPages;
startPage = endPage - self.range + 1;
}
} else {
// Visible pages are paginated with maxSize
startPage = ((Math.ceil(self.$page / self.range) - 1) * self.range) + 1;
// Adjust last page if limit is exceeded
endPage = Math.min(startPage + self.range - 1, self.$totalPages);
}
}
// Add page number links
for (var number = startPage; number <= endPage; number++) {
var page = makePage(number, number, number === self.$page);
pages.push(page);
}
// Add links to move between page sets
if (isRanged) { // && !self.rotate
var margin = self.boundaryLinks ? 1 : 0;
if (startPage - margin > 1) {
var previousPageSet = makePage(startPage - 1, self.moreText, false);
pages.unshift(previousPageSet);
}
if (endPage + margin < self.$totalPages) {
var nextPageSet = makePage(endPage + 1, self.moreText, false);
pages.push(nextPageSet);
}
}
// Add boundary links if needed
if (self.boundaryLinks) {
if (startPage > 1) {
var firstPage = makePage(1, 1, false);
pages.unshift(firstPage);
}
if (endPage < self.$totalPages) {
var lastPage = makePage(self.$totalPages, self.$totalPages, false);
pages.push(lastPage);
}
}
return pages;
};
var calculate = function() {
self.$page = parseInt(self.$page) || 1;
self.$objects = self.$objects || [];
self.$totalCount = parseInt(self.$totalCount) || 0;
self.$totalPages = Math.ceil(self.$totalCount / self.perPage);
self.$startIndex = (self.$page - 1) * self.perPage;
self.$endIndex = self.$startIndex + self.$objects.length;
if (self.$endIndex) {
self.$startIndex += 1;
}
self.$pages = getPages();
};
angular.extend(self, provider.options, defaultOptions, options);
calculate();
};
return provider;
})
.directive('dwPaginate', ['$paginate', function ($paginate) {
return {
restrict: 'EA',
scope: {
paginator: '=dwPaginate'
},
replace: true,
templateUrl: $paginate.getTemplateUrl(),
link: function (scope, element, attrs) {
}
};
}]);
})); | Java |
<?php
namespace InoOicClient\Oic\Authorization\State\Exception;
class StateMismatchException extends \RuntimeException
{
} | Java |
# 9fs file server
FROM debian:sid
MAINTAINER jordi collell <j@tmpo.io>
RUN apt-get update && apt-get install -y \
diod
VOLUME /data
CMD [ "diod", "--export=/data", "-n", "-f", "-l", "0.0.0.0:5640" ]
EXPOSE 5640
| Java |
<?php
umask(0000); // Définit une permission 0777
use Symfony\Component\ClassLoader\ApcClassLoader;
use Symfony\Component\HttpFoundation\Request;
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
// Enable APC for autoloading to improve performance.
// You should change the ApcClassLoader first argument to a unique prefix
// in order to prevent cache key conflicts with other applications
// also using APC.
/*
$apcLoader = new ApcClassLoader(sha1(__FILE__), $loader);
$loader->unregister();
$apcLoader->register(true);
*/
require_once __DIR__.'/../app/AppKernel.php';
//require_once __DIR__.'/../app/AppCache.php';
$kernel = new AppKernel('prod', false);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
| Java |
watch: clean
NODE_ENV=development `npm bin`/webpack -w
package: build
mkdir -p dist
zip -x\*.DS_Store dist/linkgrabber.zip -r css html images js vendor manifest.json
build: clean
NODE_ENV=production `npm bin`/webpack
lint:
node_modules/.bin/eslint src
clean:
rm -rf js
rm -rf dist
| Java |
<?php
namespace Leezy\PheanstalkBundle\Tests\Command;
use Leezy\PheanstalkBundle\Command\PutCommand;
use Pheanstalk\Job;
use Symfony\Component\Console\Tester\CommandTester;
class PutCommandTest extends AbstractPheanstalkCommandTest
{
public function testExecute()
{
$args = $this->getCommandArgs();
$tube = $args['tube'];
$data = $args['data'];
$priority = $args['priority'];
$delay = $args['delay'];
$ttr = $args['ttr'];
$data = 'foobar';
$job = new Job(1234, $data);
$this->pheanstalk->expects($this->once())->method('useTube')->with($tube)->will($this->returnValue($this->pheanstalk));
$this->pheanstalk->expects($this->once())->method('put')->with($data, $priority, $delay, $ttr)->will($this->returnValue($job));
$command = $this->application->find('leezy:pheanstalk:put');
$commandTester = new CommandTester($command);
$commandTester->execute($args);
$this->assertStringContainsString(sprintf('New job on tube %s with id %d', $tube, $job->getId()), $commandTester->getDisplay());
}
/**
* @inheritdoc
*/
protected function getCommand()
{
return new PutCommand($this->locator);
}
/**
* @inheritdoc
*/
protected function getCommandArgs()
{
return ['tube' => 'default', 'data' => 'foobar', 'priority' => 512, 'delay' => 10, 'ttr' => 120];
}
}
| Java |
<?php
namespace PlaygroundDesign\Service;
use PlaygroundDesign\Entity\Theme as ThemeEntity;
use Laminas\Form\Form;
use Laminas\ServiceManager\ServiceManager;
use Laminas\Validator\NotEmpty;
use Laminas\EventManager\EventManagerAwareTrait;
use PlaygroundDesign\Options\ModuleOptions;
use DoctrineModule\Validator\NoObjectExists as NoObjectExistsValidator;
use Laminas\Stdlib\ErrorHandler;
use Laminas\ServiceManager\ServiceLocatorInterface;
class Theme
{
use EventManagerAwareTrait;
/**
* @var themeMapperInterface
*/
protected $themeMapper;
/**
* @var ServiceManager
*/
protected $serviceManager;
/**
* @var UserServiceOptionsInterface
*/
protected $options;
public static $files = array('assets.php', 'layout.php', 'theme.php');
public function __construct(ServiceLocatorInterface $locator)
{
$this->serviceManager = $locator;
}
/**
*
* This service is ready for create a theme
*
* @param array $data
* @param string $formClass
*
* @return \PlaygroundPartnership\Entity\Theme
*/
public function create(array $data, $formClass)
{
$valid = new NotEmpty();
if (!$valid->isValid($data['title'])) {
return false;
}
$theme = new ThemeEntity;
$form = $this->getServiceManager()->get($formClass);
$form->bind($theme);
$theme->setImage('tmp');
$form->setData($data);
if (!$form->isValid()) {
return false;
}
if (!$this->checkDirectoryTheme($theme, $data)) {
mkdir($theme->getBasePath().'/'.$data['area'].'/'.$data['package'].'/'.$data['theme'], 0777, true);
}
$this->createFiles($theme, $data);
$themeMapper = $this->getThemeMapper();
$theme = $themeMapper->insert($theme);
$this->uploadImage($theme, $data);
$theme = $themeMapper->update($theme);
return $theme;
}
/**
*
* This service is ready for edit a theme
*
* @param array $data
* @param string $theme
* @param string $formClass
*
* @return \PlaygroundDesignEntity\Theme
*/
public function edit(array $data, $theme, $formClass)
{
$valid = new NotEmpty();
if (!$valid->isValid($data['title'])) {
return false;
}
$entityManager = $this->getServiceManager()->get('playgrounddesign_doctrine_em');
$form = $this->getServiceManager()->get($formClass);
$form->bind($theme);
$form->setData($data);
if (!$form->isValid() || !$this->checkDirectoryTheme($theme, $data)) {
return false;
}
$this->uploadImage($theme, $data);
$theme = $this->getThemeMapper()->update($theme);
return $theme;
}
public function uploadImage($theme, $data)
{
if (!empty($data['uploadImage']['tmp_name'])) {
$path = $this->getOptions()->getMediaPath() . $data['area'] . DIRECTORY_SEPARATOR . $data['package'] . DIRECTORY_SEPARATOR . $data['theme'] . '/assets/images/screenshots/';
if (!is_dir($path)) {
mkdir($path, 0777, true);
}
$media_url = $this->getOptions()->getMediaUrl() . '/';
move_uploaded_file($data['uploadImage']['tmp_name'], $path . $theme->getId() . "-" . $data['uploadImage']['name']);
$theme->setImage($media_url . $theme->getId() . "-" . $data['uploadImage']['name']);
}
return $theme;
}
/**
*
* Check if the directory theme exist
*
* @param \PlaygroundPartnership\Entity\Theme $theme
* @param array $data
*
* @return bool $bool
*/
public function checkDirectoryTheme($theme, $data)
{
$newUrlTheme = $theme->getBasePath().'/'.$data['area'].'/'.$data['package'].'/'.$data['theme'];
if (!is_dir($newUrlTheme)) {
return false;
}
return true;
}
public function createFiles($theme, $data)
{
foreach (self::$files as $file) {
if (file_exists($theme->getBasePath().$data['area'].'/'.$data['package'].'/'.$data['theme'].'/'.$file)) {
continue;
}
$contentAssets = file_get_contents(__DIR__.'/../Templates/'.$file);
$contentAssets = str_replace(array('{{area}}', '{{package}}', '{{theme}}', '{{title}}'), array($data['area'], $data['package'], $data['theme'], $data['title']), $contentAssets);
file_put_contents($theme->getBasePath().$data['area'].'/'.$data['package'].'/'.$data['theme'].'/'.$file, $contentAssets);
}
}
/**
* findById : recupere l'entite en fonction de son id
* @param int $id id du theme
*
* @return PlaygroundDesign\Entity\Theme $theme
*/
public function findById($id)
{
return $this->getThemeMapper()->findById($id);
}
/**
* insert : insert en base une entité theme
* @param PlaygroundDesign\Entity\Theme $entity theme
*
* @return PlaygroundDesign\Entity\Theme $theme
*/
public function insert($entity)
{
return $this->getThemeMapper()->insert($entity);
}
/**
* insert : met a jour en base une entité theme
* @param PlaygroundDesign\Entity\Theme $entity theme
*
* @return PlaygroundDesign\Entity\Theme $theme
*/
public function update($entity)
{
return $this->getThemeMapper()->update($entity);
}
/**
* remove : supprimer une entite theme
* @param PlaygroundDesign\Entity\Theme $entity theme
*
*/
public function remove($entity)
{
$this->getThemeMapper()->remove($entity);
}
/**
* findActiveTheme : recupere des entites en fonction du filtre active
* @param boolean $active valeur du champ active
*
* @return collection $themes collection de PlaygroundDesign\Entity\Theme
*/
public function findActiveTheme($active = true)
{
return $this->getThemeMapper()->findActiveTheme($active);
}
/**
* findActiveThemeByArea : recupere des entites active en fonction du filtre Area
* @param string $area area du theme
* @param boolean $active valeur du champ active
*
* @return collection $themes collection de PlaygroundDesign\Entity\Theme
*/
public function findActiveThemeByArea($area, $active = true)
{
return $this->getThemeMapper()->findActiveThemeByArea($area, $active);
}
/**
* findThemeByAreaPackageAndBase : recupere des entites en fonction des filtre Area, Package et Theme
* @param string $area area du theme
* @param string $package package du theme
* @param string $base base du theme
*
* @return collection $themes collection de PlaygroundDesign\Entity\Theme
*/
public function findThemeByAreaPackageAndBase($area, $package, $base)
{
return $this->getThemeMapper()->findThemeByAreaPackageAndBase($area, $package, $base);
}
/**
* getThemeMapper
*
* @return ThemeMapperInterface
*/
public function getThemeMapper()
{
if (null === $this->themeMapper) {
$this->themeMapper = $this->getServiceManager()->get('playgrounddesign_theme_mapper');
}
return $this->themeMapper;
}
/**
* setThemeMapper
* @param ThemeMapperInterface $themeMapper
*
* @return PlaygroundPartnership\Entity\Theme Theme
*/
public function setThemeMapper($themeMapper)
{
$this->themeMapper = $themeMapper;
return $this;
}
/**
* setOptions
* @param ModuleOptions $options
*
* @return PlaygroundDesign\Service\Theme $this
*/
public function setOptions(ModuleOptions $options)
{
$this->options = $options;
return $this;
}
/**
* getOptions
*
* @return ModuleOptions $optins
*/
public function getOptions()
{
if (!$this->options instanceof ModuleOptions) {
$this->setOptions($this->getServiceManager()->get('playgrounddesign_module_options'));
}
return $this->options;
}
/**
* Retrieve service manager instance
*
* @return ServiceManager
*/
public function getServiceManager()
{
return $this->serviceManager;
}
}
| Java |
var express = require('express')
var braintree = require('braintree')
var router = express.Router() // eslint-disable-line new-cap
var gateway = require('../lib/gateway')
var TRANSACTION_SUCCESS_STATUSES = [
braintree.Transaction.Status.Authorizing,
braintree.Transaction.Status.Authorized,
braintree.Transaction.Status.Settled,
braintree.Transaction.Status.Settling,
braintree.Transaction.Status.SettlementConfirmed,
braintree.Transaction.Status.SettlementPending,
braintree.Transaction.Status.SubmittedForSettlement
]
function formatErrors(errors) {
var formattedErrors = ''
for (var i in errors) { // eslint-disable-line no-inner-declarations, vars-on-top
if (errors.hasOwnProperty(i)) {
formattedErrors += 'Error: ' + errors[i].code + ': ' + errors[i].message + '\n'
}
}
return formattedErrors
}
function createResultObject(transaction) {
var result
var status = transaction.status
if (TRANSACTION_SUCCESS_STATUSES.indexOf(status) !== -1) {
result = {
header: 'Sweet Success!',
icon: 'success',
message: 'Your test transaction has been successfully processed. See the Braintree API response and try again.'
}
} else {
result = {
header: 'Transaction Failed',
icon: 'fail',
message: 'Your test transaction has a status of ' + status + '. See the Braintree API response and try again.'
}
}
return result
}
router.get('/', function (req, res) {
res.redirect('/checkouts/new')
})
router.get('/checkouts/new', function (req, res) {
gateway.clientToken.generate({}, function (err, response) {
res.render('checkouts/new', {clientToken: response.clientToken, messages: req.flash('error')})
})
})
router.get('/checkouts/:id', function (req, res) {
var result
var transactionId = req.params.id
gateway.transaction.find(transactionId, function (err, transaction) {
result = createResultObject(transaction)
res.render('checkouts/show', {transaction: transaction, result: result})
})
})
router.post('/checkouts', function (req, res) {
var transactionErrors
var amount = req.body.amount // In production you should not take amounts directly from clients
var nonce = req.body.payment_method_nonce
gateway.transaction.sale({
amount: amount,
paymentMethodNonce: nonce,
customer: {
firstName: req.body.firstName,
lastName: req.body.lastName,
email: req.body.email
},
options: {
submitForSettlement: true,
storeInVaultOnSuccess: true
}
}, function (err, result) {
if (result.success || result.transaction) {
res.redirect('checkouts/' + result.transaction.id)
} else {
transactionErrors = result.errors.deepErrors()
req.flash('error', {msg: formatErrors(transactionErrors)})
res.redirect('checkouts/new')
}
})
})
module.exports = router
| Java |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-analysis: 9 m 50 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.12.1 / mathcomp-analysis - 0.3.6</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mathcomp-analysis
<small>
0.3.6
<span class="label label-success">9 m 50 s 🏆</span>
</small>
</h1>
<p>📅 <em><script>document.write(moment("2021-12-29 09:04:54 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-29 09:04:54 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.12.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.10.2 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2 Official release 4.10.2
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Reynald Affeldt <reynald.affeldt@aist.go.jp>"
homepage: "https://github.com/math-comp/analysis"
dev-repo: "git+https://github.com/math-comp/analysis.git"
bug-reports: "https://github.com/math-comp/analysis/issues"
license: "CECILL-C"
synopsis: "An analysis library for mathematical components"
description: """
This repository contains an experimental library for real analysis for
the Coq proof-assistant and using the Mathematical Components library."""
build: [make "-j%{jobs}%" ]
install: [make "install"]
depends: [
"coq" { (>= "8.11" & < "8.14~") | (= "dev") }
"coq-mathcomp-ssreflect" { (>= "1.12.0" & < "1.13~") | (= "dev") }
"coq-mathcomp-fingroup" { (>= "1.12.0" & < "1.13~") | (= "dev") }
"coq-mathcomp-algebra" { (>= "1.12.0" & < "1.13~") | (= "dev") }
"coq-mathcomp-solvable" { (>= "1.12.0" & < "1.13~") | (= "dev") }
"coq-mathcomp-field" { (>= "1.12.0" & < "1.13~") | (= "dev") }
"coq-mathcomp-finmap" { (>= "1.5.1" & < "1.6~") | (= "dev") }
"coq-mathcomp-bigenough" { (>= "1.0.0") }
"coq-hierarchy-builder" { (>= "0.10.0" & < "1.1.0") | (= "dev") }
]
tags: [
"keyword:analysis"
"keyword:topology"
"keyword:real numbers"
"date:2021-03-04"
"logpath:mathcomp.analysis"
]
authors: [
"Reynald Affeldt"
"Cyril Cohen"
"Marie Kerjean"
"Assia Mahboubi"
"Damien Rouhling"
"Kazuhiko Sakaguchi"
"Pierre-Yves Strub"
]
url {
http: "https://github.com/math-comp/analysis/archive/0.3.6.tar.gz"
checksum: "sha512=6f19f26bfdfeff6a9e56d27e278141c851cbbd5e584af523ef153b70b9326ab396ab8f582a56762e33a7053a4130b144feb4ba92a8acac62eb5e47193f3450a2"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install 🏜️</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-mathcomp-analysis.0.3.6 coq.8.12.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-mathcomp-analysis.0.3.6 coq.8.12.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>55 m 2 s</dd>
</dl>
<h2>Install 🚀</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-mathcomp-analysis.0.3.6 coq.8.12.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>9 m 50 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 15 M</p>
<ul>
<li>1 M <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/normedtype.vo</code></li>
<li>1 M <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/normedtype.glob</code></li>
<li>1 M <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/topology.vo</code></li>
<li>1 M <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/topology.glob</code></li>
<li>915 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/derive.vo</code></li>
<li>755 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/ereal.glob</code></li>
<li>726 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/derive.glob</code></li>
<li>617 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/ereal.vo</code></li>
<li>565 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/landau.vo</code></li>
<li>503 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/measure.vo</code></li>
<li>462 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/sequences.glob</code></li>
<li>452 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/sequences.vo</code></li>
<li>428 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/landau.glob</code></li>
<li>410 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/realsum.glob</code></li>
<li>396 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/distr.glob</code></li>
<li>344 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/classical_sets.glob</code></li>
<li>344 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/realsum.vo</code></li>
<li>339 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/distr.vo</code></li>
<li>321 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/classical_sets.vo</code></li>
<li>226 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/Rstruct.vo</code></li>
<li>205 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/reals.vo</code></li>
<li>198 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/realseq.vo</code></li>
<li>191 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/forms.vo</code></li>
<li>181 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/measure.glob</code></li>
<li>173 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/topology.v</code></li>
<li>159 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/Rstruct.glob</code></li>
<li>154 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/forms.glob</code></li>
<li>151 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/boolp.glob</code></li>
<li>149 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/realseq.glob</code></li>
<li>146 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/reals.glob</code></li>
<li>137 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/normedtype.v</code></li>
<li>129 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/boolp.vo</code></li>
<li>106 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/nngnum.vo</code></li>
<li>99 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/nngnum.glob</code></li>
<li>91 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/discrete.vo</code></li>
<li>90 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/xfinmap.vo</code></li>
<li>80 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/summability.vo</code></li>
<li>72 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/ereal.v</code></li>
<li>70 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/posnum.vo</code></li>
<li>66 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/landau.v</code></li>
<li>63 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/derive.v</code></li>
<li>57 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/classical_sets.v</code></li>
<li>52 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/sequences.v</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/prodnormedzmodule.vo</code></li>
<li>45 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/xfinmap.glob</code></li>
<li>45 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/realsum.v</code></li>
<li>41 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/distr.v</code></li>
<li>34 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/posnum.glob</code></li>
<li>33 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/discrete.glob</code></li>
<li>29 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/measure.v</code></li>
<li>28 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/boolp.v</code></li>
<li>26 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/Rstruct.v</code></li>
<li>24 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/reals.v</code></li>
<li>23 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/forms.v</code></li>
<li>20 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/realseq.v</code></li>
<li>16 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/prodnormedzmodule.glob</code></li>
<li>13 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/nngnum.v</code></li>
<li>8 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/summability.glob</code></li>
<li>8 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/posnum.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/discrete.v</code></li>
<li>5 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/altreals/xfinmap.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/prodnormedzmodule.v</code></li>
<li>2 K <code>../ocaml-base-compiler.4.10.2/lib/coq/user-contrib/mathcomp/analysis/summability.v</code></li>
</ul>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-mathcomp-analysis.0.3.6</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
| Java |
<div class="body-bg"></div>
<main ng-if="$pageFinishedLoading" ng-class="{ 'menu-collapsed': $baSidebarService.isMenuCollapsed() }">
<ba-sidebar></ba-sidebar>
<page-top></page-top>
<div class="al-main">
<div class="al-content">
<content-top></content-top>
<div ba-panel ba-panel-class="profile-page">
<div class="panel-content">
<!-- <div class="progress-info">Your profile is 70% Complete</div>
<div class="progress">
<div class="progress-bar progress-bar-primary progress-bar-striped active" role="progressbar"
aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%">
</div>
</div>-->
<h3 class="with-line">Bill Info</h3>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-3"><h3>Amount Due:<span style="color:#ec4844"
count-to="100"
value="0"
duration="1"></span></h3></div>
<div class="col-md-2"></div>
<div class="col-md-3"><h3>Balance:<span style="color:#00b0e8"
count-to="0"
value="100"
duration="1"></span></h3></div>
<div class="col-md-2"></div>
</div>
</div>
<br/>
<h3 class="with-line">Payment Instructions</h3>
<div class="row">
<div class="col-md-1"></div>
<div class="section-block col-md-5">
<h5 class="list-header">B2C</h5>
<ul class="blur">
<li>For personal bank accounts only</li>
<li>Supports multiple banks</li>
<li>SMS based authentication</li>
</ul>
</div>
<div class="section-block col-md-5">
<h5 class="list-header">B2B</h5>
<ul class="blur">
<li>For corporate bank accounts only</li>
<li>Supports multiple banks</li>
<li></li>
</ul>
</div>
<div class="col-md-1"></div>
</div>
<h3 class="with-line">Choose Method</h3>
<br/>
<div class="row">
<div class="col-md-2"></div>
<button class="btn btn-default btn-lg col-md-3 btn-info" data-toggle="modal"
ng-click="open('app/pages/payonline/modalTemplates/basicModal.html')"><span
style="color:#ffffff;">B2C</span></button>
<div class="col-md-2"></div>
<button class="btn btn-default btn-lg col-md-3 btn-info"><span
style="color:#ffffff;">B2b</span></button>
<div class="col-md-2"></div>
</div>
<script></script>
</div>
</div>
</div>
<footer class="al-footer clearfix">
<div class="al-footer-right">lightningroood 2016</div>
<div class="al-footer-main clearfix">
<div class="al-copy"></div>
<!--<ul class="al-share clearfix">
<li><i class="socicon socicon-facebook"></i></li>
<li><i class="socicon socicon-twitter"></i></li>
<li><i class="socicon socicon-google"></i></li>
<li><i class="socicon socicon-github"></i></li>
</ul>-->
</div>
</footer>
<back-top></back-top>
</main>
<div id="preloader" ng-show="!$pageFinishedLoading">
<div></div>
</div>
| Java |
/*
Copyright (c) 2017-2018 Tom Hancocks
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#ifndef __VKERNEL_DEVICE_PS2_KEYBOARD__
#define __VKERNEL_DEVICE_PS2_KEYBOARD__
/**
Initialises and prepares the PS/2 keyboard driver for use. This will ensure the
PS/2 keyboard is in a usable state.
NOTE:
This driver is rudimentary and should really be fleshed out into a full PS/2
driver that properly manages the PS/2 controller state and configuration.
*/
void ps2_keyboard_initialise(void);
#endif | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.