code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
cl = function(msg){ if (window.console && console.log) { console.log(msg); } }; ll = function(msg, prepend, type, append){ if (window.console && console.log) { var d = performance.now(); prepend ? '': prepend = ''; console.log('=>'+prepend+': '+msg); if(!type) type = 'normal'; $('#events').append('<div class="msgwrap '+type+'"><div class="time">'+d.toFixed(2)+'</div><div class="type">'+prepend+'</div><div class="msg"> '+msg+'</div></div>'); if(type && type=='error') alert('fatal error: restart test'); } }; jsl = function(obj){ var p = JSON.stringify(obj, null, 4); $('#results').append('<pre>'+p+'</pre>'); }; filel = function(){ var list_of_files = [].concat(vrtTest.results.files.facevideos, vrtTest.results.files.timedmetadatas,vrtTest.results.files.logs); for(var j = 0; j<list_of_files.length; j++){ $('#filelist').append('<div class="msgwrap normal"><a href="'+list_of_files[j]+'" target="_blank">'+j+':'+list_of_files[j].slice(-4)+'</a></div>'); } }; clog = function (msg,type) { ll(msg, 'EVENT',type); }; dlog = function (msg) { ll(msg, 'DESCRIBE'); }; ilog = function (msg) { ll(msg, 'IT'); }; tlog = function (msg) { ll(msg, ''); }; /* TODO test list publish unpublish save event vrt_event_fatal_error vrt_event_create_response vrt_event_no_requirement vrt_event_browser_old vrt_event_recorder_publish vrt_event_recorder_unpublish vrt_event_producer_camera_blocked vrt_event_recorder_html5 vrt_event_flash_no vrt_event_flash_old vrt_event_flash_is_present vrt_event_flash_version_ok vrt_event_preview_loaded: all objects are loaded vrt_event_producer_camera_ok: the user camera is ok producer_init_camera_ok the user camera is ok (real= vrt_event_api_login_fail: login to api is failed vrt_event_producer_camera_muted: webcam is waiting for user permission vrt_event_producer_camera_blocked: user block webcam vrt_event_start_video_session: the first video stimuli is played and producer is recording vrt_event_video_step_completed: one video stimuli is ended and facevideos is uplodead, a responseId is received vrt_event_user_next_video: user is ready for next video vrt_event_skip_or_end_video: video stimuli reach the end or skipped by user vrt_event_video_session_complete: all video stimuli are played vrt_event_user_session_complete: user finish his session vrt_event_flash_old: the Flash version included is too old (Flash 11.1.0 is required) vrt_event_flash_no: there is no Flash included vrt_event_producer_no_camera_found: no camera found vrt_event_frame_open: use this event to open a frame OR user the openFrame() method vrt_event_frame_close: triggere by the closeFrame() method vrt_event_create_response: if the option responseAtStart is true, this event will send you the response id before the video play vrt_event_browser_old: this error is trigger when the browser is IE 9 or older */ /* sequences setting html tag js object init platform check no ios mo old browser if flash check flash webcam have a webcam EVT[] webcam allowed EVT[] */ window.vrtTest = { time:{ a:null,b:null,c:null,d:null,e:null,playback:null,recorder:null }, path:null, rid: null, haveWebcam:null, webcamAllowed:null, maxTimeDiffAllowed:300, responseID:null, type:null, videoext: null, isMobile: false, isDesktop: false, connected: null, hasPlay: false, hasRec: false, respondentId:null, responseId:[], tempdata: null, videoToTest: 0, isPlayAndPublishDone: false, handleIsPlayAndPublish: null, isStopAndUnpublishDone: false, handleIsStopAndUnpublish: null, currentMediaIndex: 0, stimuliNumber: null, stimuli: null, proceedToShow: false, results:{ db: { research: null, respondent:null, stimuli:[], responses:[], respondentMetadata:{}, responsesMetadata:[], facevideos:[], timeseries: [] }, files: { logs:[], facevideos:[], timedmetadatas:[] }, filesResp: { logs:[], facevideos:[], timedmetadatas:[] }, stimuli:[] }, isDemo: false }; var mobilecheck = function() { return vrt.isAndroid || !vrt.requirement || vrt.isChromeMobile }; var setType = function(type){ if(window.vrtTest.type!=null) return; if(!type || type=='html5'){ window.vrtTest.type='html5'; window.vrtTest.videoext='webm'; }else{ window.vrtTest.type='flash'; window.vrtTest.videoext='mp4'; } $(vrtTest).trigger('vrttest_event_settype') }; var vrtOnEvent = function(){ $(vrt).on('vrt_event_recorder_html5', function () { clog('vrt_event_recorder_html5'); setType('html5') }); /* flash yes */ $(vrt).on('vrt_event_flash_old', function () { clog('vrt_event_flash_old','warning'); setType('flash'); }); $(vrt).on('vrt_event_flash_no', function () { clog('vrt_event_flash_no','warning'); setType('flash'); }); $(vrt).on('vrt_event_flash_is_present', function () { clog('vrt_event_flash_is_present'); setType('flash'); }); $(vrt).on('vrt_event_flash_version_ok', function () { clog('vrt_event_flash_version_ok'); setType('flash'); }); /* flash yes end */ $(vrt).on('producer_init_camera_ok', function () { clog('producer_init_camera_ok'); window.vrtTest.haveWebcam=true; window.vrtTest.webcamAllowed=true; }); $(vrt).on('vrt_event_producer_camera_found', function () { clog('vrt_event_producer_camera_found'); window.vrtTest.haveWebcam=true; }); $(vrt).on('vrt_event_producer_no_camera_found', function () { clog('vrt_event_producer_no_camera_found','warning'); window.vrtTest.haveWebcam=false; }); $(vrt).on('vrt_event_streamname', function(e, data){ clog('vrt_event_streamname'); window.vrtTest.path=data.streamname; }); $(vrt).on('producer_init_ok', function () { clog('producer_init_ok'); }); $(vrt).on('vrt_event_producer_camera_ok', function () { clog('vrt_event_producer_camera_ok'); window.vrtTest.webcamAllowed=true; }); $(vrt).on('vrt_event_producer_camera_muted', function () { clog('vrt_event_producer_camera_muted','warning'); window.vrtTest.webcamAllowed=false; }); $(vrt).on('vrt_event_producer_camera_blocked', function () { clog('vrt_event_producer_camera_blocked','warning'); window.vrtTest.webcamAllowed=false; }); $(vrt).on('vrtstep_connect', function () { clog('vrtstep_connect'); window.vrtTest.connected=true; }); $(vrt).on('vrt_event_respondent_created', function () { clog('vrt_event_respondent_created'); tlog(vrt.respondentId); vrtTest.respondentId = vrt.respondentId; }); $(vrt).on('vrtevent_player_ts', function (evt, data) { clog('vrtevent_player_ts_'+data.status); if(data.status==11){ $(vrtTest).trigger('vrttest_player_play') } }); $(vrt).on('vrt_event_video_step_completed', function (evt, data) { clog('vrt_event_video_step_completed'); if(data.responseId){ tlog(data.responseId); vrtTest.responseId.push(data.responseId); tlog(window.vrt.options.customData); } }); $(vrt).on('vrt_event_video_session_proceedToShow', function () { clog('vrt_event_video_session_proceedToShow'); }); $(vrt).on('vrt_event_start_video_session', function () { clog('vrt_event_start_video_session'); }); $(vrt).on('vrt_event_user_next_video', function () { clog('vrt_event_user_next_video'); }); $(vrtTest).on('vrttest_player_play', function (e, data) { clog('vrttest_player_play'); vrtTest.time.a = performance.now().toFixed(0); isPlayAndPublish() }); $(vrt).on('vrt_event_recorder_publish', function (e, data) { clog('vrt_event_recorder_publish'); vrtTest.time.b = performance.now().toFixed(0); isPlayAndPublish() }); $(vrt).on('vrt_event_create_response', function (e, data) { clog('vrt_event_create_response #'+data.responseId); }); $(window.vrt).on('vrt_event_stimuli_end', function (e, data) { clog('vrt_event_stimuli_end'); vrtTest.time.c = performance.now().toFixed(0); isStopAndUnpublish(); }); $(window.vrt).on('vrt_event_recorder_unpublish', function (e, data) { clog('vrt_event_recorder_unpublish'); vrtTest.time.d = performance.now().toFixed(0); isStopAndUnpublish(); }); $(window.vrt).on('vrt_event_recorder_save', function(){ clog('vrt_event_producer_saved'); vrtTest.time.e = performance.now().toFixed(0); }); $(window.vrt).on('vrt_event_recorder_save_error', function(){ clog('vrt_event_producer_no_facevideo_saved','error'); vrtTest.time.e = false; }); $(window.vrt).on('vrt_event_error_plugin_error', function(){ clog('vrt_event_error_plugin_error','error'); }); $(window.vrt).on('vrt_event_error_session_error', function(){ clog('vrt_event_error_session_error','error'); }); }; function isPlayAndPublish(){ if(vrtTest.time.a && vrtTest.time.b && !vrtTest.isPlayAndPublishDone){ vrtTest.isPlayAndPublishDone = true; if (vrtTest.handleIsPlayAndPublish) clearTimeout(vrtTest.handleIsPlayAndPublish); tlog('vrttest_playandpublish'); $(vrtTest).trigger('vrttest_playandpublish') } vrtTest.handleIsPlayAndPublish = setTimeout(function(){ if(!vrtTest.isPlayAndPublishDone){ vrtTest.isPlayAndPublishDone = true; tlog('vrttest_playandpublish TO'); $(vrtTest).trigger('vrttest_playandpublish') } },(vrtTest.maxTimeDiffAllowed*2)); }; function isStopAndUnpublish(){ if(vrtTest.time.c && vrtTest.time.d && !vrtTest.isStopAndUnpublishDone){ vrtTest.isStopAndUnpublishDone = true; if (vrtTest.handleIsStopAndUnpublish) clearTimeout(vrtTest.handleIsStopAndUnpublish); tlog('vrttest_stopandunpublish'); $(vrtTest).trigger('vrttest_stopandunpublish') } vrtTest.handleIsStopAndUnpublish = setTimeout(function(){ if(!vrtTest.isStopAndUnpublishDone){ vrtTest.isStopAndUnpublishDone = true; tlog('vrttest_stopandunpublish TO'); $(vrtTest).trigger('vrttest_stopandunpublish') } },(vrtTest.maxTimeDiffAllowed*2)); }; function cleanUpStart() { vrtTest.time.a = 0; vrtTest.time.b = 0; vrtTest.isPlayAndPublishDone = false; if (vrtTest.handleIsPlayAndPublish) clearTimeout(vrtTest.handleIsPlayAndPublish); vrtTest.proceedToShow = false; } function cleanUpEnd(){ vrtTest.time.c = 0; vrtTest.time.d = 0; vrtTest.isStopAndUnpublishDone = false; if(vrtTest.handleIsStopAndUnpublish) clearTimeout(vrtTest.handleIsStopAndUnpublish); } function isVideoListComplete(videoList) { if (videoList instanceof Array) { if (videoList.length <= 0) { return false; } for (var i = 0; i < videoList.length; i++) { if (videoList[i] instanceof Object) { if (!videoList[i].id) return false; if (!videoList[i].path) return false; if (!videoList[i].name) return false; } else return false; } return true; } else return false; }; function alertMessage(msg){ if(console.log)console.log('TEST MSG'); if(console.log)console.log(msg); }; function fvToMetadata(remotelocation){ return remotelocation.substr(0, remotelocation.lastIndexOf(".")) + ".json";; }; function fvTolog(filename, full){ var original = parseURL(full); filename = filename.substr(0, filename.lastIndexOf(".")) + ".log"; return 'https://'+original.domain+'/logs/remote/'+filename; } function getFile(name,type){ //http://mediabox.crowdemotion.co.uk:8082/contents/test_0__1535005240.json var ret = fileExists("http://"+vrt.producerStreamUrl+":8082/contents/"+name+'.'+type); if(ret.status == 200){ if(ret.response.length>500 && type == 'json'){ return true; }else if(ret.response.length>3000 && type == 'mp4'){ return true; }else if(ret.response.length>1){ return true; }else return false; }else{ return false } }; function createCORSRequest(method, url) { method? '': method ='GET'; var xhr = new XMLHttpRequest(); if ("withCredentials" in xhr) { // XHR for Chrome/Firefox/Opera/Safari. xhr.open(method, url, true); } else if (typeof XDomainRequest != "undefined") { // XDomainRequest for IE. xhr = new XDomainRequest(); xhr.open(method, url); } else { // CORS not supported. xhr = null; } return xhr; } function makeCorsRequest(url) { // All HTML5 Rocks properties support CORS. var xhr = createCORSRequest('GET', url); if (!xhr) { return false; } // Response handlers. xhr.onload = function() { return xhr; // alert('Response from CORS request to ' + url + ': ' + title); }; xhr.onerror = function() { return false // alert('Woops, there was an error making the request.'); }; xhr.send(); } function fileExists(url){ if(!url)return false; if(vrtTest.isDemo){ var u = new URL(url); url = window.location.origin + u.pathname } return _fileExists(url); } function _fileExists(url) { var rnd = ''; //'&num='+Math.floor((Math.random() * 1000) + 1); var origin = ''; //"?origin="+window.location.host; var req = new XMLHttpRequest(); req.open('GET', url+origin+rnd, false); req.send(); console.log('======fileExists======'); console.log(req); return req; //return req;//req.status==200; }; var stopTest = function(msg){ var m = msg ? msg+' ' : ''; throw new Error(m+"Aborting test."); }; this.gup = function( name, url ) { if (!url) url = location.href; name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( url ); return results == null ? null : results[1]; }; window.gup = gup; function parseURL(url){ parsed_url = {} if ( url == null || url.length == 0 ) return parsed_url; protocol_i = url.indexOf('://'); parsed_url.protocol = url.substr(0,protocol_i); remaining_url = url.substr(protocol_i + 3, url.length); domain_i = remaining_url.indexOf('/'); domain_i = domain_i == -1 ? remaining_url.length - 1 : domain_i; parsed_url.domain = remaining_url.substr(0, domain_i); parsed_url.path = domain_i == -1 || domain_i + 1 == remaining_url.length ? null : remaining_url.substr(domain_i + 1, remaining_url.length); domain_parts = parsed_url.domain.split('.'); switch ( domain_parts.length ){ case 2: parsed_url.subdomain = null; parsed_url.host = domain_parts[0]; parsed_url.tld = domain_parts[1]; break; case 3: parsed_url.subdomain = domain_parts[0]; parsed_url.host = domain_parts[1]; parsed_url.tld = domain_parts[2]; break; case 4: parsed_url.subdomain = domain_parts[0]; parsed_url.host = domain_parts[1]; parsed_url.tld = domain_parts[2] + '.' + domain_parts[3]; break; } parsed_url.parent_domain = parsed_url.host + '.' + parsed_url.tld; return parsed_url; } var testStart = function () { mocha.run(); }; var apiLoadDataVideo = function (ceInit, rkey, akey, cb) { var ceClient = new CEClient(ceInit); ceClient.setToken(akey); ceClient.loadResearch(rkey, function (res) { ceClient.loadMediaList(res.id, function (res, err) { ceClient.logout(); cb(res, err); }); }); }; var apiLoadDataResults = function (ceInit, rkey, akey, respondentid , cb) { var cc = new CEClient(ceInit); cc.setToken(akey); cc.readRespondent(respondentid, function (res) { if(res && res.status) vrtTest.results.db.respondent = {}; else vrtTest.results.db.respondent = res; } ); cc.searchResponseIN('respondent_id',respondentid, function (res, err) { vrtTest.results.db.responses = res; if(res && res.status) vrtTest.results.db.responses = []; else vrtTest.results.db.responses = res; var i = 0; while(res[i]){ cc.readResponseCustomData(res[i].id, function (res, err) { if (res && res.status) vrtTest.results.db.responsesMetadata.push([]); else vrtTest.results.db.responsesMetadata.push(res); }); cc.readFacevideoInfo(res[i].id, function (res, err) { vrtTest.results.db.facevideos.push(res); if(res.remoteLocation){ vrtTest.results.files.facevideos.push(res.remoteLocation); vrtTest.results.files.timedmetadatas.push(fvToMetadata(res.remoteLocation)); vrtTest.results.files.logs.push(fvTolog(res.filename,res.remoteLocation)); } }); i++; }; }); cc.readRespondentCustomData(respondentid, function (res, err) { if(err) vrtTest.results.db.respondentMetadata = null else vrtTest.results.db.respondentMetadata = res; }); cc.loadResearch(rkey, function (res) { vrtTest.results.db.research = res; cc.loadMediaList(res.id, function (res, err) { vrtTest.results.db.stimuli = res; }); }); //TODO fix this setTimeout(function(){ cc.logout(); if(cb)cb() }.bind(this),2000); }; Boolean.parse = function(val) { var falsy = /^(?:f(?:alse)?|no?|0+)$/i; return !falsy.test(val) && !!val; };
CrowdEmotion/respondent-video-capture-kit
src/test/func.js
JavaScript
mit
18,923
module.exports = function(mongoose) { var config = require(process.cwd() + '/config'); var sha256 = require('sha256'); return function(req, res) { if(req.method == "GET") { if(req.session.user) { res.json(req.session.user); console.log("User logged in: ", req.session.user.username); } else { res.json(false); } } else if(req.method == "POST") { if(!req.body.username || !req.body.password) { res.json(false); return; } // encrypt password req.body.password = sha256(config.hashSalt + req.body.password); mongoose.model("User").findOne(req.body, function(err, data) { if(err) { throw err; } // we never store the password data && (data.password = undefined); // store the other info in session data && (req.session.user = data); // return the logged in user if there is one res.json(data ? data : false); }); } else if(req.method == "DELETE") { req.session.destroy(function(err) { if(err) { throw err; } res.json(true); }); } else { res.json({error: "Method not allowed"}); } }; };
miloroot/addit-fixes
api/custom/login.route.js
JavaScript
mit
1,114
<?php namespace App\DataTables\Scopes; use Yajra\Datatables\Contracts\DataTableScopeContract; class UserScope implements DataTableScopeContract { /** * Apply a query scope. * * @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $query * @return mixed */ public function apply($query) { switch ($sort = session('sort')) { case 'list': return $query->orderBy('list_id', 'asc'); break; case 'desc': return $query->orderBy('id', 'asc'); break; case 'active': return $query->where('active', 1); break; case 'passive': return $query->where('active', 0); break; case 'all': return $query->orderBy('id', 'desc'); break; default: null; } if (is_null($sort)) { return $query->orderBy('id', 'desc'); } } }
cuneydtural/smartpanel
app/DataTables/Scopes/UserScope.php
PHP
mit
1,046
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>concurrency-proxy: 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.0 / concurrency-proxy - 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> concurrency-proxy <small> 1.0.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-12-26 20:28:19 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-26 20:28:19 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.7.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: &quot;2.0&quot; maintainer: &quot;dev@clarus.me&quot; homepage: &quot;https://github.com/coq-concurrency/proxy&quot; dev-repo: &quot;git+https://github.com/coq-concurrency/proxy.git&quot; bug-reports: &quot;https://github.com/coq-concurrency/proxy/issues&quot; authors: [&quot;Guillaume Claret&quot;] license: &quot;MIT&quot; build: [ [make &quot;-j%{jobs}%&quot;] ] depends: [ &quot;ocaml&quot; {&gt;= &quot;4.02.0&quot; &amp; &lt; &quot;4.06&quot;} &quot;base-unix&quot; &quot;lwt&quot; {&gt;= &quot;2.4.5&quot; &amp; &lt; &quot;5&quot;} &quot;num&quot; &quot;base64&quot; {&gt;= &quot;1.0.0&quot; &amp; &lt; &quot;2&quot;} ] conflicts: [ &quot;ocaml-secondary-compiler&quot; ] tags: [ &quot;date:2015-01-28&quot; &quot;keyword:effects&quot; &quot;keyword:extraction&quot; ] synopsis: &quot;A proxy to interface concurrent Coq programs with the operating system&quot; extra-files: [ &quot;coq-concurrency-proxy.install&quot; &quot;md5=96f86b964fc4cd99c310011b83de5f61&quot; ] url { src: &quot;https://github.com/coq-concurrency/proxy/archive/1.0.0.tar.gz&quot; checksum: &quot;md5=36d201bf65ccc649b4704e71e94de712&quot; } </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-concurrency-proxy.1.0.0 coq.8.7.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.7.0). The following dependencies couldn&#39;t be met: - coq-concurrency-proxy -&gt; ocaml &lt; 4.06 base of this switch (use `--unlock-base&#39; 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-concurrency-proxy.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.0/concurrency-proxy/1.0.0.html
HTML
mit
6,881
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>quickchick: 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.1 / quickchick - 1.5.1</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> quickchick <small> 1.5.1 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-02-25 11:03:18 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-25 11:03:18 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.10.1 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.3 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;llamp@seas.upenn.edu&quot; synopsis: &quot;Randomized Property-Based Testing Plugin for Coq&quot; homepage: &quot;https://github.com/QuickChick/QuickChick&quot; dev-repo: &quot;git+https://github.com/QuickChick/QuickChick.git&quot; bug-reports: &quot;https://github.com/QuickChick/QuickChick/issues&quot; license: &quot;MIT&quot; build: [ make &quot;-j&quot; jobs ] install: [ [make &quot;-j&quot; jobs &quot;install&quot; ] ] depends: [ &quot;ocaml&quot; {&gt;= &quot;4.07&quot;} &quot;coq&quot; {&gt;= &quot;8.11&quot; &lt; &quot;8.15~&quot;} &quot;coq-ext-lib&quot; &quot;coq-mathcomp-ssreflect&quot; &quot;ocamlbuild&quot; &quot;ocamlfind&quot; &quot;menhir&quot; {build} &quot;coq-simple-io&quot; ] authors: [ &quot;Leonidas Lampropoulos &lt;&gt;&quot; &quot;Zoe Paraskevopoulou &lt;&gt;&quot; &quot;Maxime Denes &lt;&gt;&quot; &quot;Catalin Hritcu &lt;&gt;&quot; &quot;Benjamin Pierce &lt;&gt;&quot; &quot;Li-yao Xia &lt;&gt;&quot; &quot;Arthur Azevedo de Amorim &lt;&gt;&quot; &quot;Yishuai Li &lt;&gt;&quot; &quot;Antal Spector-Zabusky &lt;&gt;&quot; ] tags: [ &quot;keyword:extraction&quot; &quot;category:Miscellaneous/Coq Extensions&quot; &quot;logpath:QuickChick&quot; ] url { src: &quot;https://github.com/QuickChick/QuickChick/archive/v1.5.1.tar.gz&quot; checksum: [ &quot;md5=c30f9df9cec8ca99b52883330fc87ab5&quot; &quot;sha512=5ade0d3d44b64aa44b8ba67e3f097b74a75c41599cfd46dd1b8953fca356138d383273ff26bc6cf1a81db2d9d06384e78613981c1f9f9c137dba7e94d7d69ca7&quot; ] } </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-quickchick.1.5.1 coq.8.10.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.10.1). The following dependencies couldn&#39;t be met: - coq-quickchick -&gt; coq &gt;= 8.11 Your request can&#39;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-quickchick.1.5.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.08.1-2.0.5/released/8.10.1/quickchick/1.5.1.html
HTML
mit
7,164
<?php namespace Neos\Flow\Mvc\View; /* * This file is part of the Neos.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source code. */ use Neos\Flow\Mvc\Controller\ControllerContext; use Neos\Flow\Mvc\Exception; /** * An abstract View * * @api */ abstract class AbstractView implements ViewInterface { /** * This contains the supported options, their default values, descriptions and types. * Syntax example: * array( * 'someOptionName' => array('defaultValue', 'some description', 'string'), * 'someOtherOptionName' => array('defaultValue', some description', integer), * ... * ) * * @var array */ protected $supportedOptions = []; /** * The configuration options of this view * @see $supportedOptions * * @var array */ protected $options = []; /** * View variables and their values * @var array * @see assign() */ protected $variables = []; /** * @var ControllerContext */ protected $controllerContext; /** * Factory method to create an instance with given options. * * @param array $options * @return ViewInterface */ public static function createWithOptions(array $options) { return new static($options); } /** * Set default options based on the supportedOptions provided * * @param array $options * @throws Exception */ public function __construct(array $options = []) { // check for options given but not supported if (($unsupportedOptions = array_diff_key($options, $this->supportedOptions)) !== []) { throw new Exception(sprintf('The view options "%s" you\'re trying to set don\'t exist in class "%s".', implode(',', array_keys($unsupportedOptions)), get_class($this)), 1359625876); } // check for required options being set array_walk( $this->supportedOptions, function ($supportedOptionData, $supportedOptionName, $options) { if (isset($supportedOptionData[3]) && !array_key_exists($supportedOptionName, $options)) { throw new Exception('Required view option not set: ' . $supportedOptionName, 1359625876); } }, $options ); // merge with default values $this->options = array_merge( array_map( function ($value) { return $value[0]; }, $this->supportedOptions ), $options ); } /** * Get a specific option of this View * * @param string $optionName * @return mixed * @throws Exception */ public function getOption($optionName) { if (!array_key_exists($optionName, $this->supportedOptions)) { throw new Exception(sprintf('The view option "%s" you\'re trying to get doesn\'t exist in class "%s".', $optionName, get_class($this)), 1359625876); } return $this->options[$optionName]; } /** * Set a specific option of this View * * @param string $optionName * @param mixed $value * @return void * @throws Exception */ public function setOption($optionName, $value) { if (!array_key_exists($optionName, $this->supportedOptions)) { throw new Exception(sprintf('The view option "%s" you\'re trying to set doesn\'t exist in class "%s".', $optionName, get_class($this)), 1359625876); } $this->options[$optionName] = $value; } /** * Add a variable to $this->variables. * Can be chained, so $this->view->assign(..., ...)->assign(..., ...); is possible * * @param string $key Key of variable * @param mixed $value Value of object * @return AbstractView an instance of $this, to enable chaining * @api */ public function assign($key, $value) { $this->variables[$key] = $value; return $this; } /** * Add multiple variables to $this->variables. * * @param array $values array in the format array(key1 => value1, key2 => value2) * @return AbstractView an instance of $this, to enable chaining * @api */ public function assignMultiple(array $values) { foreach ($values as $key => $value) { $this->assign($key, $value); } return $this; } /** * Sets the current controller context * * @param ControllerContext $controllerContext * @return void * @api */ public function setControllerContext(ControllerContext $controllerContext) { $this->controllerContext = $controllerContext; } /** * Tells if the view implementation can render the view for the given context. * * By default we assume that the view implementation can handle all kinds of * contexts. Override this method if that is not the case. * * @param ControllerContext $controllerContext * @return boolean TRUE if the view has something useful to display, otherwise FALSE */ public function canRender(ControllerContext $controllerContext) { return true; } }
gerhard-boden/flow-development-collection
Neos.Flow/Classes/Mvc/View/AbstractView.php
PHP
mit
5,497
import { SyntaxKind } from "@ts-morph/common"; import { expect } from "chai"; import { ConstructorTypeNode } from "../../../../compiler"; import { getInfoFromTextWithDescendant } from "../../testHelpers"; describe(nameof(ConstructorTypeNode), () => { function getNode(text: string) { return getInfoFromTextWithDescendant<ConstructorTypeNode>(text, SyntaxKind.ConstructorType); } describe(nameof<ConstructorTypeNode>(d => d.getReturnTypeNodeOrThrow), () => { it("should get the return type", () => { const { descendant } = getNode("var t: new() => SomeClass;"); expect(descendant.getReturnTypeNodeOrThrow().getText()).to.equal("SomeClass"); }); }); describe(nameof<ConstructorTypeNode>(d => d.getParameters), () => { it("should get the parameters", () => { const { descendant } = getNode("var t: new(param1, param2) => SomeClass;"); expect(descendant.getParameters().map(p => p.getText())).to.deep.equal(["param1", "param2"]); }); }); describe(nameof<ConstructorTypeNode>(d => d.isAbstract), () => { function doTest(text: string, value: boolean) { const { descendant } = getNode(text); expect(descendant.isAbstract()).to.equal(value); } it("should get if abstract", () => { doTest("type Test = abstract new() => String;", true); }); it("should get when not abstract", () => { doTest("type Test = new() => String;", false); }); }); describe(nameof<ConstructorTypeNode>(d => d.setIsAbstract), () => { function doTest(text: string, value: boolean, expectedText: string) { const { sourceFile, descendant } = getNode(text); descendant.setIsAbstract(value); expect(sourceFile.getFullText()).to.equal(expectedText); } it("should set as abstract", () => { doTest("type Test = new() => String;", true, "type Test = abstract new() => String;"); }); it("should set as not abstract", () => { doTest("type Test = abstract new() => String;", false, "type Test = new() => String;"); }); }); });
dsherret/ts-simple-ast
packages/ts-morph/src/tests/compiler/ast/type/constructorTypeNodeTests.ts
TypeScript
mit
2,220
<!DOCTYPE html> <!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]--> <!--[if IE 8]><html class="lt-ie9 no-js" lang="en" dir="ltr"><![endif]--> <!--[if (gt IE 8)|(gt IEMobile 7)]><!--> <html class="no-js not-oldie" lang="en" dir="ltr"> <!--<![endif]--> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="HandheldFriendly" content="true" /> <link rel="shortcut icon" href="https://www.epa.gov/sites/all/themes/epa/favicon.ico" type="image/vnd.microsoft.icon" /> <meta name="MobileOptimized" content="width" /> <meta http-equiv="cleartype" content="on" /> <meta http-equiv="ImageToolbar" content="false" /> <meta name="viewport" content="width=device-width" /> <meta name="version" content="20161218" /> <!--googleon: all--> <meta name="DC.description" content="" /> <meta name="DC.title" content="" /> <title> Identifying the Signature of Natural Attenuation in the Microbial Ecology of Hydrocarbon Contaminated Groundwater Using Molecular Methods and &quot;Bug Traps&quot;| Research Project Database | Grantee Research Project | ORD | US EPA</title> <!--googleoff: snippet--> <meta name="keywords" content="" /> <link rel="shortlink" href="" /> <link rel="canonical" href="" /> <meta name="DC.creator" content="" /> <meta name="DC.language" content="en" /> <meta name="DC.Subject.epachannel" content="" /> <meta name="DC.type" content="" /> <meta name="DC.date.created" content="" /> <meta name="DC.date.modified" content="2003-05-14" /> <!--googleoff: all--> <link type="text/css" rel="stylesheet" href="https://www.epa.gov/misc/ui/jquery.ui.autocomplete.css" media="all" /> <link type="text/css" rel="stylesheet" href="https://www.epa.gov/sites/all/themes/epa/css/lib/jquery.ui.theme.css" media="all" /> <link type="text/css" rel="stylesheet" href="https://www.epa.gov/sites/all/libraries/template2/s.css" media="all" /> <!--[if lt IE 9]><link type="text/css" rel="stylesheet" href="https://www.epa.gov/sites/all/themes/epa/css/ie.css" media="all" /><![endif]--> <link rel="alternate" type="application/atom+xml" title="EPA.gov All Press Releases" href="https://www.epa.gov/newsreleases/search/rss" /> <link rel="alternate" type="application/atom+xml" title="EPA.gov Headquarters Press Releases" href="https://www.epa.gov/newsreleases/search/rss/field_press_office/headquarters" /> <link rel="alternate" type="application/atom+xml" title="Greenversations, EPA's Blog" href="https://blog.epa.gov/blog/feed/" /> <!--[if lt IE 9]><script src="https://www.epa.gov/sites/all/themes/epa/js/html5.js"></script><![endif]--> <style type="text/css"> /*This style needed for highlight link. Please do not remove*/ .hlText { font-family: "Arial"; color: red; font-weight: bold; font-style: italic; background-color: yellow; } .tblClass { font-size:smaller; min-width: 10%; line-height: normal; } </style> </head> <!-- NOTE, figure out body classes! --> <body class="node-type-(web-area|page|document|webform) (microsite|resource-directory)" > <!-- Google Tag Manager --> <noscript> <iframe src="//www.googletagmanager.com/ns.html?id=GTM-L8ZB" 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!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-L8ZB');</script> <!-- End Google Tag Manager --> <div class="skip-links"><a href="#main-content" class="skip-link element-invisible element-focusable">Jump to main content</a></div> <header class="masthead clearfix" role="banner"> <img class="site-logo" src="https://www.epa.gov/sites/all/themes/epa/logo.png" alt="" /> <hgroup class="site-name-and-slogan"> <h1 class="site-name"><a href="https://www.epa.gov/" title="Go to the home page" rel="home"><span>US EPA</span></a></h1> <div class="site-slogan">United States Environmental Protection Agency</div> </hgroup> <form class="epa-search" method="get" action="https://search.epa.gov/epasearch/epasearch"> <label class="element-hidden" for="search-box">Search</label> <input class="form-text" placeholder="Search EPA.gov" name="querytext" id="search-box" value=""/> <button class="epa-search-button" id="search-button" type="submit" title="Search">Search</button> <input type="hidden" name="fld" value="" /> <input type="hidden" name="areaname" value="" /> <input type="hidden" name="areacontacts" value="" /> <input type="hidden" name="areasearchurl" value="" /> <input type="hidden" name="typeofsearch" value="epa" /> <input type="hidden" name="result_template" value="2col.ftl" /> <input type="hidden" name="filter" value="sample4filt.hts" /> </form> </header> <section id="main-content" class="main-content clearfix" role="main"> <div class="region-preface clearfix"> <div id="block-pane-epa-web-area-connect" class="block block-pane contextual-links-region"> <ul class="menu utility-menu"> <li class="menu-item"><a href="https://www.epa.gov/research-grants/forms/contact-us-about-research-grants" class="menu-link contact-us">Contact Us</a></li> </ul> </div> </div> <div class="main-column clearfix"> <!--googleon: all--> <div class="panel-pane pane-node-content" > <div class="pane-content"> <div class="node node-page clearfix view-mode-full"> <div class="box multi related-info right clear-right" style="max-width:300px; font-size:14px;"><!--googleoff: index--> <h5 class="pane-title">Project Research Results</h5> <div class="pane-content"> <ul> </ul> <strong>Main Center: <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8047/report/0">R827015</a><br /> </strong> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.publications/Center/96">120 publications for this center</a><br /> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.journals/Center/96">16 journal articles for this center</a><br /> </div> <!-- RFA Search start --> <h5 class="pane-title">Related Information</h5> <div class="pane-content"> <ul><li><a href="https://www.epa.gov/research-grants/">Research Grants</a></li> <li><a href="https://www.epa.gov/P3">P3: Student Design Competition</a></li> <li><a href="https://www.epa.gov/research-fellowships/">Research Fellowships</a></li> <li><a href="https://www.epa.gov/sbir/">Small Business Innovation Research (SBIR)</a></li> <li><a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/search.welcome">Grantee Research Project Results Search</a></li> </ul> </div> <!-- RFA Search End --><!--googleon: index--> </div> <a name="content"></a> <h2> Identifying the Signature of Natural Attenuation in the Microbial Ecology of Hydrocarbon Contaminated Groundwater Using Molecular Methods and &quot;Bug Traps&quot;</h2> <b>EPA Grant Number:</b> R827015C027<br /> <b>Subproject:</b> <i>this is subproject number 027 , established and managed by the Center Director under grant <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8047/report/0">R827015</a> <br> (EPA does not fund or establish subprojects; EPA awards and manages the overall grant for this center).</i><br /> <b>Center:</b> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8047/report/0">IPEC University of Tulsa (TU)</a><br /> <b>Center Director:</b> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/5841"> Sublette, Kerry L.</a><br /> <b>Title:</b> Identifying the Signature of Natural Attenuation in the Microbial Ecology of Hydrocarbon Contaminated Groundwater Using Molecular Methods and &quot;Bug Traps&quot;<br /> <b>Investigators:</b> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/5841"> Sublette, Kerry L. </a> , <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/6461"> Ford, Laura P. </a> , <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/6466"> Peacock, A. </a> , <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/182"> White, David C </a> <br /> <strong>Institution:</strong> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.institutionInfo/institution/4195"> <b>University of Tulsa</b> </a> <br /> <strong>EPA Project Officer:</strong> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.investigatorInfo/investigator/4005"> Lasat, Mitch </a> <br /> <b>Project Period:</b> March 1, 2003 through February 28, 2004 <br /> <b>RFA:</b> Integrated Petroleum Environmental Consortium (IPEC) (1999) <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.rfatext/rfa_id/242">RFA Text</a>&nbsp;|&nbsp; <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/recipients.display/rfa_id/242">Recipients Lists</a> <br /> <b>Research Category:</b> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.researchCategory/rc_id/846">Hazardous Waste/Remediation</a> , <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.researchCategory/rc_id/965">Targeted Research</a> <br /> <br> <h3>Objective:</h3> <p>The most important mechanism of natural attenuation leading to destruction of the contaminants in groundwater is intrinsic bioremediation. It has now been clearly established that BTEX hydrocarbons are amenable to microbial degradation even in the absence of oxygen under the right conditions with respect to geochemistry, environmental parameters, and microbial ecology. More recently it has been shown that aliphatic hydrocarbons are also susceptible to anaerobic biodegradation by similar mechanisms. When clear proof of natural attenuation exists and environmental receptors will not be threatened during the life of a hydrocarbon plume, a risk-based management approach can be both cost- effective and protective of human health and ecological receptors. <p>However, gathering the necessary evidence for natural attenuation can itself be a costly undertaking. Conventional indicators of intrinsic bioremediation include the distribution of hydrocarbons, metabolites, and the correlation of temporal trends with the concentrations and distributions of geochemical parameters (electron acceptors, products of reduction of electron acceptors, DO, redox potential, hydrogen, etc.). These data are typically collected over the entire plume and in suitable control areas over a period of time at significant cost. The actual extend of site characterization required to support a risk-based management strategy varies from state to state. However, the goals remain the same: to deduce the prevalent bioprocesses in the subsurface and to determine whether natural attenuation will prevent exposure of environmental receptors to the hydrocarbon plume. With respect to the prevalent bioprocesses the key word here is deduced - that is, these data amount to circumstantial evidence of intrinsic bioremediation. What is needed is a definitive signature. We propose that this signature lies in the in situ microbial ecology and that this signature can be obtained a reduced cost compared to more conventional site investigations. <p></p> <h3>Approach:</h3> <p>We propose to search for the signature of intrinsic bioremediation of petroleum hydrocarbons in the microbial ecology of the contaminated groundwater. The principal field site to be used in this project is the Brewer's pooling unit of a Ft. Lupton, CO gas production site currently operated by Kerr-McGee Corp. This site was formerly operated by Amoco Production Co. and was for seven years the subject of an intensive site investigation of the mechanisms of intrinsic bioremediation of gas condensate hydrocarbons which contaminate groundwater at the site. The site contains an elaborate network of groundwater monitoring wells in both the plume and an upgradient control or uncontaminated area. Over seven years (1993-1999) of quarterly groundwater monitoring data are available, as well as the results of an intensive investigation of the vadose zone (1998-1999) and the results of numerous microcosm studies using sediments from the site. All of these data support the intrinsic bioremediation of gas condensate hydrocarbons at the site by aerobic and anaerobic mechanisms (principally sulfate reduction and methanogenesis) and a stable or shrinking plume. These data were used to support the acceptance of a risk- based management strategy of the site by the Colorado Dept. of Environmental Quality. One of us (Sublette) was a principal investigator on both the groundwater and vadose zone studies and is very familiar with the site and the data. For comparison we will also use two other field sites near Hobbs, NM contaminated with gasoline by leaking USTs which have been characterized to a lesser extent. <p></p> <h3>Expected Results:</h3> <p>It is hypothesized that the in situ microbiota contain a signature of past and present hydrocarbon exposure and utilization. A comprehensive measure of the in situ microbial ecology of a site will yield the identity of this signature. We maintain that a definition of hydrocarbon natural attenuation in terms of a site's microbial ecology is direct and definitive, whereas a definition in terms of contaminant chemistry and/or geochemistry or hydrology is indirect and inferential. It is well established that indigenous microbes generate various compounds within their cellular structure (biomarkers) that reflect in situ conditions. Therefore, the microbial community contains a record of the sum microbial response to the environment that is written from changes in the biochemistry of individual organisms. We propose that these responses, in association with knowledge of available electron acceptors and donors of a site, will define the signature of a successful hydrocarbon natural attenuation process at a low cost. <p></p> <h3>Supplemental Keywords:</h3> RFA, Scientific Discipline, INTERNATIONAL COOPERATION, Waste, Water, TREATMENT/CONTROL, POLLUTANTS/TOXICS, Contaminated Sediments, Remediation, Environmental Chemistry, Treatment Technologies, Chemicals, Oil Spills, Hazardous Waste, Bioremediation, Chemistry and Materials Science, Water Pollutants, Groundwater remediation, Hazardous, Environmental Engineering, sediment treatment, petroleum, petrogenic waste, bug traps, natural attenutation, contaminant transport, microbial degradation, leaking underground storage tanks, MTBE, risk management, contaminated sediment, risk assessment model, remediation technologies, petroleum industry, BTEX, chemical contaminants, contaminated soil, oil spill, groundwater aquifer, gasoline leaks, contaminated groundwater, hydrocarbons, groundwater contamination, oil removal, crude oil, contaminated aquifers, groundwater, leachate <p /> <br> <h3>Main Center Abstract and Reports:</h3> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8047/report/0">R827015</a> &nbsp;&nbsp; <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8047/report/0">IPEC University of Tulsa (TU)</a> <br /> <p> <strong>Subprojects under this Center:</strong> <span class="fileinfo">(EPA does not fund or establish subprojects; EPA awards and manages the overall grant for this center).</span><br /> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/1841/report/0">R827015C001</a> Evaluation of Road Base Material Derived from Tank Bottom Sludges<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/1843/report/0">R827015C002</a> Passive Sampling Devices (PSDs) for Bioavailability Screening of Soils Containing Petrochemicals<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/1848/report/0">R827015C003</a> Demonstration of a Subsurface Drainage System for the Remediation of Brine-Impacted Soil<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/1849/report/0">R827015C004</a> Anaerobic Intrinsic Bioremediation of Whole Gasoline<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/1850/report/0">R827015C005</a> Microflora Involved in Phytoremediation of Polyaromatic Hydrocarbons<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/1852/report/0">R827015C006</a> Microbial Treatment of Naturally Occurring Radioactive Material (NORM)<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/1856/report/0">R827015C007</a> Using Plants to Remediate Petroleum-Contaminated Soil<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6016/report/0">R827015C008</a> The Use of Nitrate for the Control of Sulfide Formation in Oklahoma Oil Fields<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6017/report/0">R827015C009</a> Surfactant-Enhanced Treatment of Oil-Contaminated Soils and Oil-Based Drill Cuttings<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6018/report/0">R827015C010</a> Novel Materials for Facile Separation of Petroleum Products from Aqueous Mixtures Via Magnetic Filtration<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6019/report/0">R827015C011</a> Development of Relevant Ecological Screening Criteria (RESC) for Petroleum Hydrocarbon-Contaminated Exploration and Production Sites<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6020/report/0">R827015C012</a> Humate-Induced Remediation of Petroleum Contaminated Surface Soils<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6021/report/0">R827015C013</a> New Process for Plugging Abandoned Wells<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6022/report/0">R827015C014</a> Enhancement of Microbial Sulfate Reduction for the Remediation of Hydrocarbon Contaminated Aquifers - A Laboratory and Field Scale Demonstration<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6023/report/0">R827015C015</a> Locating Oil-Water Interfaces in Process Vessels<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6024/report/0">R827015C016</a> Remediation of Brine Spills with Hay<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6025/report/0">R827015C017</a> Continuation of an Investigation into the Anaerobic Intrinsic Bioremediation of Whole Gasoline<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6026/report/0">R827015C018</a> Using Plants to Remediate Petroleum-Contaminated Soil<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6027/report/0">R827015C019</a> Biodegradation of Petroleum Hydrocarbons in Salt-Impacted Soil by Native Halophiles or Halotolerants and Strategies for Enhanced Degradation<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8008/report/0">R827015C020</a> Anaerobic Intrinsic Bioremediation of MTBE<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6028/report/0">R827015C021</a> Evaluation of Commercial, Microbial-Based Products to Treat Paraffin Deposition in Tank Bottoms and Oil Production Equipment<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6029/report/0">R827015C022</a> A Continuation: Humate-Induced Remediation of Petroleum Contaminated Surface Soils<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6030/report/0">R827015C023</a> Data for Design of Vapor Recovery Units for Crude Oil Stock Tank Emissions<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6031/report/0">R827015C024</a> Development of an Environmentally Friendly and Economical Process for Plugging Abandoned Wells<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6032/report/0">R827015C025</a> A Continuation of Remediation of Brine Spills with Hay<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6033/report/0">R827015C026</a> Identifying the Signature of the Natural Attenuation of MTBE in Goundwater Using Molecular Methods and &quot;Bug Traps&quot;<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/6034/report/0">R827015C027</a> Identifying the Signature of Natural Attenuation in the Microbial Ecology of Hydrocarbon Contaminated Groundwater Using Molecular Methods and &quot;Bug Traps&quot;<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/7918/report/0">R827015C028</a> Using Plants to Remediate Petroleum-Contaminated Soil: Project Continuation<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/7920/report/0">R827015C030</a> Effective Stormwater and Sediment Control During Pipeline Construction Using a New Filter Fence Concept<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8048/report/0">R827015C031</a> Evaluation of Sub-micellar Synthetic Surfactants versus Biosurfactants for Enhanced LNAPL Recovery<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/7919/report/0">R827015C032</a> Utilization of the Carbon and Hydrogen Isotopic Composition of Individual Compounds in Refined Hydrocarbon Products To Monitor Their Fate in the Environment<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8742/report/0">R830633</a> Integrated Petroleum Environmental Consortium (IPEC)<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8743/report/0">R830633C001</a> Development of an Environmentally Friendly and Economical Process for Plugging Abandoned Wells (Phase II)<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8744/report/0">R830633C002</a> A Continuation of Remediation of Brine Spills with Hay<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8745/report/0">R830633C003</a> Effective Stormwater and Sediment Control During Pipeline Construction Using a New Filter Fence Concept<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8747/report/0">R830633C004</a> Evaluation of Sub-micellar Synthetic Surfactants versus Biosurfactants for Enhanced LNAPL Recovery<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8746/report/0">R830633C005</a> Utilization of the Carbon and Hydrogen Isotopic Composition of Individual Compounds in Refined Hydrocarbon Products To Monitor Their Fate in the Environment<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8791/report/0">R830633C006</a> Evaluation of Commercial, Microbial-Based Products to Treat Paraffin Deposition in Tank Bottoms and Oil Production Equipment<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8788/report/0">R830633C007</a> Identifying the Signature of the Natural Attenuation in the Microbial Ecology of Hydrocarbon Contaminated Groundwater Using Molecular Methods and &ldquo;Bug Traps&rdquo;<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8789/report/0">R830633C008</a> Using Plants to Remediate Petroleum-Contaminated Soil: Project Continuation<br> <a href="https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.abstractDetail/abstract/8790/report/0">R830633C009</a> Use of Earthworms to Accelerate the Restoration of Oil and Brine Impacted Sites<br> </p> </div> </div> </div> <div id="block-epa-og-footer" class="block block-epa-og"> <p class="pagetop"><a href="#content">Top of Page</a></p> <!--googleoff: all--> <p id="epa-og-footer"> The perspectives, information and conclusions conveyed in research project abstracts, progress reports, final reports, journal abstracts and journal publications convey the viewpoints of the principal investigator and may not represent the views and policies of ORD and EPA. Conclusions drawn by the principal investigators have not been reviewed by the Agency. </p> </div> <!--googleoff: all--> </div> </section> <nav class="nav simple-nav simple-main-nav" role="navigation"> <div class="nav__inner"> <h2 class="element-invisible">Main menu</h2> <ul class="menu" role="menu"> <li class="menu-item" id="menu-learn" role="presentation"><a href="https://www.epa.gov/environmental-topics" title="Learn about EPA's environmental topics to help protect the environment in your home, workplace, and community and EPA&#039;s research mission is to conduct leading-edge research and foster the sound use of science and technology." class="menu-link" role="menuitem">Environmental Topics</a></li> <li class="menu-item" id="menu-lawsregs" role="presentation"><a href="https://www.epa.gov/laws-regulations" title="Laws written by Congress provide the authority for EPA to write regulations. Regulations explain the technical, operational, and legal details necessary to implement laws." class="menu-link" role="menuitem">Laws &amp; Regulations</a></li> <li class="menu-item" id="menu-about" role="presentation"><a href="https://www.epa.gov/aboutepa" title="Learn more about: our mission and what we do, how we are organized, and our history." class="menu-link" role="menuitem">About EPA</a></li> </ul> </div> </nav> <footer class="main-footer clearfix" role="contentinfo"> <div class="main-footer__inner"> <div class="region-footer"> <div class="block block-pane block-pane-epa-global-footer"> <div class="row cols-3"> <div class="col size-1of3"> <div class="col__title">Discover.</div> <ul class="menu"> <li><a href="https://www.epa.gov/accessibility">Accessibility</a></li> <li><a href="https://www.epa.gov/aboutepa/administrator-gina-mccarthy">EPA Administrator</a></li> <li><a href="https://www.epa.gov/planandbudget">Budget &amp; Performance</a></li> <li><a href="https://www.epa.gov/contracts">Contracting</a></li> <li><a href="https://www.epa.gov/home/grants-and-other-funding-opportunities">Grants</a></li> <li><a href="https://www.epa.gov/ocr/whistleblower-protections-epa-and-how-they-relate-non-disclosure-agreements-signed-epa-employees">No FEAR Act Data</a></li> <li><a href="https://www.epa.gov/home/privacy-and-security-notice">Privacy and Security</a></li> </ul> </div> <div class="col size-1of3"> <div class="col__title">Connect.</div> <ul class="menu"> <li><a href="https://www.data.gov/">Data.gov</a></li> <li><a href="https://www.epa.gov/office-inspector-general/about-epas-office-inspector-general">Inspector General</a></li> <li><a href="https://www.epa.gov/careers">Jobs</a></li> <li><a href="https://www.epa.gov/newsroom">Newsroom</a></li> <li><a href="https://www.whitehouse.gov/open">Open Government</a></li> <li><a href="http://www.regulations.gov/">Regulations.gov</a></li> <li><a href="https://www.epa.gov/newsroom/email-subscriptions">Subscribe</a></li> <li><a href="https://www.usa.gov/">USA.gov</a></li> <li><a href="https://www.whitehouse.gov/">White House</a></li> </ul> </div> <div class="col size-1of3"> <div class="col__title">Ask.</div> <ul class="menu"> <li><a href="https://www.epa.gov/home/forms/contact-us">Contact Us</a></li> <li><a href="https://www.epa.gov/home/epa-hotlines">Hotlines</a></li> <li><a href="https://www.epa.gov/foia">FOIA Requests</a></li> <li><a href="https://www.epa.gov/home/frequent-questions-specific-epa-programstopics">Frequent Questions</a></li> </ul> <div class="col__title">Follow.</div> <ul class="social-menu"> <li><a class="menu-link social-facebook" href="https://www.facebook.com/EPA">Facebook</a></li> <li><a class="menu-link social-twitter" href="https://twitter.com/epa">Twitter</a></li> <li><a class="menu-link social-youtube" href="https://www.youtube.com/user/USEPAgov">YouTube</a></li> <li><a class="menu-link social-flickr" href="https://www.flickr.com/photos/usepagov">Flickr</a></li> <li><a class="menu-link social-instagram" href="https://instagram.com/epagov">Instagram</a></li> </ul> <p class="last-updated">Last updated on Wednesday, May 14, 2003</p> </div> </div> </div> </div> </div> </footer> <script src="https://www.epa.gov/sites/all/libraries/template2/jquery.js"></script> <script src="https://www.epa.gov/sites/all/libraries/template/js.js"></script> <script src="https://www.epa.gov/sites/all/modules/custom/epa_core/js/alert.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.core.min.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.widget.min.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.position.min.js"></script> <script src="https://www.epa.gov/sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.ui.autocomplete.min.js"></script> <!--[if lt IE 9]><script src="https://www.epa.gov/sites/all/themes/epa/js/ie.js"></script><![endif]--> <!-- REMOVE if not using --> <script language=javascript> <!-- // Activate cloak // pressing enter will not default submit the first defined button but the programmed defined button function chkCDVal(cdVal) { var isErr = true; try{ var CDParts = cdVal.split(','); var st = CDParts[0]; var cd = CDParts[1]; var objRegExp = new RegExp('[0-9][0-9]'); if (!isNaN(st)) { isErr = false; } if (!objRegExp.test(cd) || (cd.length>3)){ isErr = false; } } catch(err){ isErr = false; } return isErr; } function checkCongDist(cdtxt) { //alert(cdtxt.value); if (!chkCDVal(cdtxt.value)) { alert('Congressional District MUST be in the following format: state, district; example: Virginia, 08'); return false; } else { return true; } } function fnTrapKD(btn, event) { var btn = getObject(btn); if (document.all) { if (event.keyCode == 13) { event.returnValue=false;event.cancel = true;btn.click(); } } else { if (event.which == 13) { event.returnValue=false;event.cancelBubble = true;btn.click(); } } } function CheckFilter() { if (document.searchform.presetTopic.options[document.searchform.presetTopic.selectedIndex].value == 'NA'){ alert('You must select a subtopic. \n This item is not selectable'); document.searchform.presetTopic.options[0].selected = true; } } function openHelpWindow(url,title,scrollable) { var win = window.open(url,"title",'width=300,height=220,left=320,top=150,resizable=1,scrollbars='+scrollable+',menubar=no,status=no'); win.focus(); } function openNewWindow(url,title,scrollable) { var win = window.open(url,"title",'width=300,height=220,left=320,top=150,resizable=1,scrollbars='+scrollable+',menubar=no,status=no'); } function openNewWindow(url,title) { var win = window.open(url,"title",'width=300,height=220,left=320,top=150,resizable=1,scrollbars=no,menubar=no,status=no'); } function openNewMapWindow(url,title) { var win = window.open(url,"title",'width=800,height=450,left=320,top=150,resizable=1,scrollbars=no,menubar=no,status=no'); } function openNoticeWindow(url,title) { var win = window.open(url,"title",'width=300,height=150,left=500,top=150,resizable=1,scrollbars=no,menubar=no,status=no'); } function openNewSearchWindow(site,subj) { title = 'window'; var win = window.open('https://cfpub.epa.gov/ncer_abstracts/index.cfm/fuseaction/display.pubsearch/site/' + site + '/redirect/' + subj,"title",'width=640,height=480,resizable=1,scrollbars=yes,menubar=yes,status=no'); } function autoCheck(name) { document.forms['thisForm'].elements[name].checked = true; } function alertUser() { var ok = alert("This search might take longer than expected. Please refrain from hitting the refresh or reload button on your browser. The search results will appear after the search is complete. Thank you."); } function closePopupWindow(redirectUrl) { opener.location = redirectUrl; opener.focus(); this.close(); } //--> </script> </body> </html>
1wheel/scraping
epa-grants/research/raw/06034.html
HTML
mit
37,688
/* eslint-disable ember/no-mixins, ember/no-new-mixins */ import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import Route from '@ember/routing/route'; import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin'; module('ApplicationRoute', function(hooks) { setupTest(hooks); hooks.beforeEach(function() { this.owner.register('route:application', Route.extend(ApplicationRouteMixin)); }); test('is still testable when using the ApplicationRouteMixin', function(assert) { const route = this.owner.lookup('route:application'); assert.ok(route); }); });
simplabs/ember-simple-auth
packages/ember-simple-auth/tests/unit/routes/application-test.js
JavaScript
mit
630
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090</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.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090 </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.yml</small></td><td>Chrome Mobile 30.0.0.0</td><td>Blink </td><td>Android 4.4.2</td><td style="border-left: 1px solid #555">GOCLEVER</td><td>INSIGNIA 500</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; Android 4.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090 [os] => Array ( [name] => Android [short_name] => AND [version] => 4.4.2 [platform] => ) [client] => Array ( [type] => browser [name] => Chrome Mobile [short_name] => CM [version] => 30.0.0.0 [engine] => Blink ) [device] => Array ( [type] => smartphone [brand] => GC [model] => INSIGNIA 500 ) [os_family] => Android [browser_family] => Chrome ) </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>CM Browser </td><td>Blink </td><td>Android 4.4</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.013</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\.4.*\) applewebkit\/.* \(khtml.* like gecko\) version\/.*chrome\/.*safari\/.* acheetahi\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android?4.4*) applewebkit/* (khtml* like gecko) version/*chrome/*safari/* acheetahi/* [parent] => CM Browser [comment] => CM Browser [browser] => CM Browser [browser_type] => Browser [browser_bits] => 32 [browser_maker] => Cheetah Mobile [browser_modus] => unknown [version] => 0.0 [majorver] => 0 [minorver] => 0 [platform] => Android [platform_version] => 4.4 [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] => Blink [renderingengine_version] => unknown [renderingengine_description] => a WebKit Fork by Google [renderingengine_maker] => Google 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 WebView 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.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.* build\/.*\) applewebkit\/.* \(khtml,.*like gecko.*\) version\/4\.0.*chrome.*safari.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android* build/*) applewebkit/* (khtml,*like gecko*) version/4.0*chrome*safari* [parent] => Android WebView 4.0 [comment] => Android WebView 4.0 [browser] => Android WebView [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>CM Browser </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.01</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\.4.*\) applewebkit\/.* \(khtml.* like gecko\) version\/.*chrome\/.*safari\/.* acheetahi\/.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android?4.4*) applewebkit/* (khtml* like gecko) version/*chrome/*safari/* acheetahi/* [parent] => CM Browser [comment] => CM Browser [browser] => CM Browser [browser_type] => unknown [browser_bits] => 0 [browser_maker] => Cheetah Mobile [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] => [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 30.0.0.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] => Chrome [version] => 30.0.0.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>Chrome 30.0.0.0</td><td><i class="material-icons">close</i></td><td>AndroidOS 4.4.2</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] => 30.0.0.0 [osName] => AndroidOS [osVersion] => 4.4.2 [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 4.4.2</td><td style="border-left: 1px solid #555"></td><td>INSIGNIA_500</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.33702</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] => 320 [is_mobile] => 1 [type] => mobile-browser [mobile_brand] => Generic [mobile_model] => INSIGNIA_500 [version] => 4.0 [is_android] => 1 [browser_name] => Android Webkit [operating_system_family] => Android [operating_system_version] => 4.4.2 [is_ios] => [producer] => Google Inc. [operating_system] => Android 4.0.x Ice Cream Sandwich [mobile_screen_width] => 240 [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 30.0</td><td>Blink </td><td>Android 4.4</td><td style="border-left: 1px solid #555">GOCLEVER</td><td>INSIGNIA 500</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.002</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] => 30.0 [engine] => Blink ) [operatingSystem] => Array ( [name] => Android [short_name] => AND [version] => 4.4 [platform] => ) [device] => Array ( [brand] => GC [brandName] => GOCLEVER [model] => INSIGNIA 500 [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 30.0.0.0</td><td><i class="material-icons">close</i></td><td>Android 4.4.2</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.001</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.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090 ) [name:Sinergi\BrowserDetector\Browser:private] => Chrome [version:Sinergi\BrowserDetector\Browser:private] => 30.0.0.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] => 4.4.2 [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.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090 ) ) [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.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090 ) ) ) </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 30.0.0</td><td><i class="material-icons">close</i></td><td>Android 4.4.2</td><td style="border-left: 1px solid #555"></td><td>INSIGNIA_500</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] => 30 [minor] => 0 [patch] => 0 [family] => Chrome Mobile ) [os] => UAParser\Result\OperatingSystem Object ( [major] => 4 [minor] => 4 [patch] => 2 [patchMinor] => [family] => Android ) [device] => UAParser\Result\Device Object ( [brand] => Generic_Android [model] => INSIGNIA_500 [family] => INSIGNIA_500 ) [originalUserAgent] => Mozilla/5.0 (Linux; Android 4.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090 ) </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 30.0.0.0</td><td>WebKit 537.36</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.16601</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.4.2 [platform_type] => Mobile [browser_name] => Chrome [browser_version] => 30.0.0.0 [engine_name] => WebKit [engine_version] => 537.36 ) </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.4.2</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.082</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.4.2 [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 30.0.0.0</td><td>WebKit 537.36</td><td>Android 4.4.2</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.24201</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 30 on Android (KitKat) [browser_version] => 30 [extra_info] => Array ( ) [operating_platform] => [extra_info_table] => stdClass Object ( [System Build] => KOT49H ) [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] => KitKat [simple_operating_platform_string] => [is_abusive] => [layout_engine_version] => 537.36 [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => [operating_system] => Android (KitKat) [operating_system_version_full] => 4.4.2 [operating_platform_code] => [browser_name] => Chrome [operating_system_name_code] => android [user_agent] => Mozilla/5.0 (Linux; Android 4.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090 [browser_version_full] => 30.0.0.0 [browser] => Chrome 30 ) </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>Chromium WebView 30</td><td>Blink </td><td>Android 4.4.2</td><td style="border-left: 1px solid #555"></td><td>INSIGNIA_500</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 ( [using] => Array ( [name] => Chromium WebView [version] => 30 ) ) [engine] => Array ( [name] => Blink ) [os] => Array ( [name] => Android [version] => 4.4.2 ) [device] => Array ( [type] => mobile [subtype] => smart [model] => INSIGNIA_500 ) ) </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 30.0.0.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] => Chrome [vendor] => Google [version] => 30.0.0.0 [category] => smartphone [os] => Android [os_version] => 4.4.2 ) </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 WebView 30.0.0.0</td><td><i class="material-icons">close</i></td><td>Android 4.4.2</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.4.2 [advertised_browser] => Android WebView [advertised_browser_version] => 30.0.0.0 [complete_device_name] => Generic Android 4.4 [device_name] => Generic Android 4.4 [form_factor] => Smartphone [is_phone] => true [is_app_webview] => true ) [all] => Array ( [brand_name] => Generic [model_name] => Android 4.4 [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] => Chrome Mobile [mobile_browser_version] => [device_os_version] => 4.4 [pointing_method] => touchscreen [release_date] => 2013_september [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] => 640 [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] => http [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 30.0.0.0</td><td><i class="material-icons">close</i></td><td>Android 4.4.2</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 30.0.0.0 [name] => Google Chrome [version] => 30.0.0.0 [code] => chrome [image] => img/16/browser/chrome.png ) [os] => Array ( [link] => http://www.android.com/ [name] => Android [version] => 4.4.2 [code] => android [x64] => [title] => Android 4.4.2 [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.4.2 [code] => android [x64] => [title] => Android 4.4.2 [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 07:56:04</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>
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/44/a9/44a94ccb-e4ff-4a30-97da-af8b6912fc70.html
HTML
mit
57,050
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</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 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 </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 4.2.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SM-G730W8</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 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 [os] => Array ( [name] => Android [short_name] => AND [version] => 4.2.2 [platform] => ) [client] => Array ( [type] => browser [name] => Android Browser [short_name] => AN [version] => [engine] => WebKit ) [device] => Array ( [type] => smartphone [brand] => SA [model] => SM-G730W8 ) [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><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">Samsung</td><td>SM-G730W8</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; U; Android 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 [family] => Samsung SM-G730W8 [brand] => Samsung [model] => SM-G730W8 ) </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 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.07</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.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android?4.2* 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] => 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] => 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.012</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.* build\/.*\).*applewebkit\/.*\(.*khtml,.*like gecko.*\).*version\/4\.0.*safari.*$/ [browser_name_pattern] => mozilla/5.0 (*linux*android?4.2* 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.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] => 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 4.2.2</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.001</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] => 4.2.2 [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 4.2.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SM-G730W8</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.31502</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] => Samsung [mobile_model] => SM-G730W8 [version] => 4.0 [is_android] => 1 [browser_name] => Android Webkit [operating_system_family] => Android [operating_system_version] => 4.2.2 [is_ios] => [producer] => Google Inc. [operating_system] => Android 4.2 Jelly Bean [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>Android Browser </td><td>WebKit </td><td>Android 4.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SM-G730W8</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.008</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] => 4.2 [platform] => ) [device] => Array ( [brand] => SA [brandName] => Samsung [model] => SM-G730W8 [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 4.2.2</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.001</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 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ) [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] => 4.2.2 [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 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ) ) [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 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ) ) ) </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 4.2.2</td><td><i class="material-icons">close</i></td><td>Android 4.2.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SM-G730W8</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.005</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] => 4 [minor] => 2 [patch] => 2 [family] => Android ) [os] => UAParser\Result\OperatingSystem Object ( [major] => 4 [minor] => 2 [patch] => 2 [patchMinor] => [family] => Android ) [device] => UAParser\Result\Device Object ( [brand] => Samsung [model] => SM-G730W8 [family] => Samsung SM-G730W8 ) [originalUserAgent] => Mozilla/5.0 (Linux; U; Android 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 ) </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 534.30</td><td>WebKit 534.30</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.2.2 [platform_type] => Mobile [browser_name] => Safari [browser_version] => 534.30 [engine_name] => WebKit [engine_version] => 534.30 ) </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.2</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.064</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.2 [os_producer] => [os_producerURL] => [linux_distibution] => Null [agent_language] => English - Canada [agent_languageTag] => en-ca ) </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 534.30</td><td>Android 4.2.2</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.24101</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 (Jelly Bean) [browser_version] => 4 [extra_info] => Array ( ) [operating_platform] => [extra_info_table] => stdClass Object ( [System Build] => JDQ39 ) [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] => Jelly Bean [simple_operating_platform_string] => Samsung SM-G730W8 [is_abusive] => [layout_engine_version] => 534.30 [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => Samsung [operating_system] => Android (Jelly Bean) [operating_system_version_full] => 4.2.2 [operating_platform_code] => SM-G730W8 [browser_name] => Android Browser [operating_system_name_code] => android [user_agent] => Mozilla/5.0 (Linux; U; Android 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 [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 534.30</td><td>Android 4.2.2</td><td style="border-left: 1px solid #555">Samsung</td><td>Galaxy S III Mini</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.002</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] => 534.30 ) [os] => Array ( [name] => Android [version] => 4.2.2 ) [device] => Array ( [type] => mobile [subtype] => smart [manufacturer] => Samsung [model] => Galaxy S III Mini ) ) </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] => 4.2.2 ) </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 4.2.2</td><td><i class="material-icons">close</i></td><td>Android 4.2.2</td><td style="border-left: 1px solid #555">Samsung</td><td>SM-G730W8</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.021</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.2.2 [advertised_browser] => Android Webkit [advertised_browser_version] => 4.2.2 [complete_device_name] => Samsung SM-G730W8 (Galaxy S III Mini) [device_name] => Samsung Galaxy S III Mini [form_factor] => Smartphone [is_phone] => true [is_app_webview] => false ) [all] => Array ( [brand_name] => Samsung [model_name] => SM-G730W8 [unique] => true [ununiqueness_handler] => [is_wireless_device] => true [device_claims_web_support] => true [has_qwerty_keyboard] => true [can_skip_aligned_link_row] => true [uaprof] => http://wap.samsungmobile.com/uaprof/GT-I8190.xml [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] => Galaxy S III Mini [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] => 25 [max_image_width] => 320 [max_image_height] => 533 [rows] => 21 [physical_screen_width] => 53 [physical_screen_height] => 88 [dual_orientation] => true [density_class] => 1.5 [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] => 30 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => 0 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => 1 [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] => true [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] => true [sender] => true [mms_max_size] => 307200 [mms_max_height] => 480 [mms_max_width] => 640 [built_in_recorder] => false [built_in_camera] => true [mms_jpeg_baseline] => true [mms_jpeg_progressive] => false [mms_gif_static] => true [mms_gif_animated] => true [mms_png] => true [mms_bmp] => false [mms_wbmp] => true [mms_amr] => true [mms_wav] => true [mms_midi_monophonic] => true [mms_midi_polyphonic] => false [mms_midi_polyphonic_voices] => 0 [mms_spmidi] => false [mms_mmf] => false [mms_mp3] => true [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] => true [mms_vcalendar] => true [mms_wml] => false [mms_wbxml] => false [mms_wmlc] => false [mms_video] => true [mms_mp4] => true [mms_3gpp] => true [mms_3gpp2] => true [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] => true [mmf] => false [smf] => false [mld] => false [midi_monophonic] => true [midi_polyphonic] => true [sp_midi] => true [rmf] => false [xmf] => false [compactmidi] => false [digiplug] => false [nokia_ringtone] => false [imelody] => true [au] => false [amr] => true [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] => true [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 4.2.2</td><td style="border-left: 1px solid #555">Samsung</td><td>G730W8</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] => 4.2.2 [code] => android [x64] => [title] => Android 4.2.2 [type] => os [dir] => os [image] => img/16/os/android.png ) [device] => Array ( [link] => http://www.samsungmobile.com/ [title] => Samsung G730W8 [model] => G730W8 [brand] => Samsung [code] => samsung [dir] => device [type] => device [image] => img/16/device/samsung.png ) [platform] => Array ( [link] => http://www.samsungmobile.com/ [title] => Samsung G730W8 [model] => G730W8 [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 07:53:54</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>
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/2a/29/2a29d359-6597-4ac0-9546-7c8bb8c5b120.html
HTML
mit
58,565
<html> <head> <title>User agent detail - Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36</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"> </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 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36 </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">Source result (test suite)</th></tr><tr><td>browscap/browscap<br /><small>/tests/fixtures/issues/issue-097.php</small></td><td>Iron 30.0</td><td>WinXP 5.1</td><td>unknown </td><td style="border-left: 1px solid #555">unknown</td><td>Windows Desktop</td><td>Desktop</td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td></td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-test">Detail</a> <!-- Modal Structure --> <div id="modal-test" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Testsuite result detail</h4> <p><pre><code class="php">Array ( [Browser] => Iron [Browser_Type] => Browser [Browser_Bits] => 32 [Browser_Maker] => SRWare [Version] => 30.0 [MajorVer] => 30 [MinorVer] => 0 [Platform] => WinXP [Platform_Version] => 5.1 [Platform_Bits] => 32 [Platform_Maker] => Microsoft Corporation [isMobileDevice] => [isTablet] => [Crawler] => [Device_Name] => Windows Desktop [Device_Maker] => Various [Device_Type] => Desktop [Device_Pointing_Method] => mouse [Device_Code_Name] => Windows Desktop [Device_Brand_Name] => unknown [RenderingEngine_Name] => Blink [RenderingEngine_Version] => unknown [RenderingEngine_Maker] => Google 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><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapPhp<br /><small>6012</small></td><td>Iron 30.0</td><td>Blink </td><td>WinXP 5.1</td><td style="border-left: 1px solid #555"></td><td>Windows Desktop</td><td>Desktop</td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.111</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-215ac98d-ccf8-4615-916e-5a819d6a59c9">Detail</a> <!-- Modal Structure --> <div id="modal-215ac98d-ccf8-4615-916e-5a819d6a59c9" 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 \(.*windows nt 5\.1.*\) applewebkit\/.* \(khtml, like gecko\).*iron\/30\..*chrome\/30\..*safari\/.*$/ [browser_name_pattern] => mozilla/5.0 (*windows nt 5.1*) applewebkit/* (khtml, like gecko)*iron/30.*chrome/30.*safari/* [parent] => Iron 30.0 [comment] => Iron 30.0 [browser] => Iron [browser_type] => Browser [browser_bits] => 32 [browser_maker] => SRWare [browser_modus] => unknown [version] => 30.0 [majorver] => 30 [minorver] => 0 [platform] => WinXP [platform_version] => 5.1 [platform_description] => Windows XP [platform_bits] => 32 [platform_maker] => Microsoft Corporation [alpha] => [beta] => [win16] => [win32] => 1 [win64] => [frames] => 1 [iframes] => 1 [tables] => 1 [cookies] => 1 [backgroundsounds] => [javascript] => 1 [vbscript] => [javaapplets] => [activexcontrols] => [ismobiledevice] => [istablet] => [issyndicationreader] => [crawler] => [cssversion] => 3 [aolversion] => 0 [device_name] => Windows Desktop [device_maker] => Various [device_type] => Desktop [device_pointing_method] => mouse [device_code_name] => Windows Desktop [device_brand_name] => unknown [renderingengine_name] => Blink [renderingengine_version] => unknown [renderingengine_description] => a WebKit Fork by Google [renderingengine_maker] => Google 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>DonatjUAParser<br /><small>v0.5.0</small></td><td>Chrome 30.0.1650.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.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-f1436016-fdf1-4aea-b4be-1d7c99ab0661">Detail</a> <!-- Modal Structure --> <div id="modal-f1436016-fdf1-4aea-b4be-1d7c99ab0661" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>DonatjUAParser result detail</h4> <p><pre><code class="php">Array ( [platform] => Windows [browser] => Chrome [version] => 30.0.1650.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>NeutrinoApiCom<br /><small></small></td><td>Iron 30.0.1650.0</td><td><i class="material-icons">close</i></td><td>Windows 5.1</td><td style="border-left: 1px solid #555"></td><td></td><td>desktop-browser</td><td></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.17702</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-9b0fa449-ec1b-40c8-8b1c-9486eb3b9cbc">Detail</a> <!-- Modal Structure --> <div id="modal-9b0fa449-ec1b-40c8-8b1c-9486eb3b9cbc" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>NeutrinoApiCom result detail</h4> <p><pre><code class="php">stdClass Object ( [mobile_screen_height] => 0 [is_mobile] => [type] => desktop-browser [mobile_brand] => [mobile_model] => [version] => 30.0.1650.0 [is_android] => [browser_name] => Iron [operating_system_family] => Windows [operating_system_version] => 5.1 [is_ios] => [producer] => [operating_system] => Windows XP [mobile_screen_width] => 0 [mobile_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><td>PiwikDeviceDetector<br /><small>3.5.2</small></td><td>Iron 30.0</td><td>Blink </td><td>Windows XP</td><td style="border-left: 1px solid #555"></td><td></td><td>desktop</td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.005</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-21638055-738d-46ba-a1b1-f5114bc26475">Detail</a> <!-- Modal Structure --> <div id="modal-21638055-738d-46ba-a1b1-f5114bc26475" 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] => Iron [short_name] => IR [version] => 30.0 [engine] => Blink ) [operatingSystem] => Array ( [name] => Windows [short_name] => WIN [version] => XP [platform] => ) [device] => Array ( [brand] => [brandName] => [model] => [device] => 0 [deviceName] => desktop ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => 1 [isFeedReader] => [isMobileApp] => [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [isPortableMediaPlayer] => [isSmartDisplay] => [isSmartphone] => [isTablet] => [isTV] => [isDesktop] => 1 [isMobile] => [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.0</small></td><td>Chrome 30.0.1650.0</td><td><i class="material-icons">close</i></td><td>Windows XP</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></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.001</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-5415e7f2-ef7b-434c-abe0-b71ba9f6707c">Detail</a> <!-- Modal Structure --> <div id="modal-5415e7f2-ef7b-434c-abe0-b71ba9f6707c" 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 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36 ) [name:Sinergi\BrowserDetector\Browser:private] => Chrome [version:Sinergi\BrowserDetector\Browser:private] => 30.0.1650.0 [isRobot:Sinergi\BrowserDetector\Browser:private] => [isChromeFrame:Sinergi\BrowserDetector\Browser:private] => ) [operatingSystem] => Sinergi\BrowserDetector\Os Object ( [name:Sinergi\BrowserDetector\Os:private] => Windows [version:Sinergi\BrowserDetector\Os:private] => XP [isMobile:Sinergi\BrowserDetector\Os:private] => [userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36 ) ) [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 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36 ) ) ) </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></td><td>Iron 30.0.1650</td><td><i class="material-icons">close</i></td><td>Windows XP </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"></td><td></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-346c1a98-5fd3-454f-b6c8-350f2f505d8b">Detail</a> <!-- Modal Structure --> <div id="modal-346c1a98-5fd3-454f-b6c8-350f2f505d8b" 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] => 30 [minor] => 0 [patch] => 1650 [family] => Iron ) [os] => UAParser\Result\OperatingSystem Object ( [major] => [minor] => [patch] => [patchMinor] => [family] => Windows XP ) [device] => UAParser\Result\Device Object ( [brand] => [model] => [family] => Other ) [originalUserAgent] => Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36 ) </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></td><td>Iron 30.0.1650.0</td><td><i class="material-icons">close</i></td><td>Windows XP </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.04601</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-9cdd8b45-a2eb-406b-bd27-7e48af38ffd4">Detail</a> <!-- Modal Structure --> <div id="modal-9cdd8b45-a2eb-406b-bd27-7e48af38ffd4" 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] => Iron [agent_version] => 30.0.1650.0 [os_type] => Windows [os_name] => Windows XP [os_versionName] => [os_versionNumber] => [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></td><td>SRWare Iron 30.0.1650.0</td><td>WebKit 537.36</td><td>Windows Windows NT 5.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.40404</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-9795f66f-7271-430e-973a-a5c0e14dc35a">Detail</a> <!-- Modal Structure --> <div id="modal-9795f66f-7271-430e-973a-a5c0e14dc35a" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhatIsMyBrowserCom result detail</h4> <p><pre><code class="php">stdClass Object ( [operating_system_name] => Windows [simple_sub_description_string] => [simple_browser_string] => SRWare Iron 30 on Windows XP [browser_version] => 30 [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] => srware-iron [operating_system_version] => XP [simple_operating_platform_string] => [is_abusive] => [layout_engine_version] => 537.36 [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => [operating_system] => Windows XP [operating_system_version_full] => Windows NT 5.1 [operating_platform_code] => [browser_name] => SRWare Iron [operating_system_name_code] => windows [user_agent] => Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36 [browser_version_full] => 30.0.1650.0 [browser] => SRWare Iron 30 ) </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>2.0.10</small></td><td>Iron 30.0</td><td>Blink </td><td>Windows XP</td><td style="border-left: 1px solid #555"></td><td></td><td>desktop</td><td></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.004</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-342c8d32-4765-40a8-8a5c-af3a38d19ae4">Detail</a> <!-- Modal Structure --> <div id="modal-342c8d32-4765-40a8-8a5c-af3a38d19ae4" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [browser] => Array ( [name] => Iron [family] => Array ( [name] => Chrome [version] => 30 ) [version] => 30.0 [type] => browser ) [engine] => Array ( [name] => Blink ) [os] => Array ( [name] => Windows [version] => Array ( [value] => 5.1 [alias] => XP ) ) [device] => Array ( [type] => desktop ) ) </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></td><td>Chrome 30.0.1650.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>pc</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-3f285ff5-314b-4db4-9948-54572e92e7b6">Detail</a> <!-- Modal Structure --> <div id="modal-3f285ff5-314b-4db4-9948-54572e92e7b6" 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] => 30.0.1650.0 [category] => pc [os] => Windows XP [os_version] => NT 5.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.6.4</small></td><td>Chrome 30.0.1599.114</td><td><i class="material-icons">close</i></td><td>Linux x86_64 </td><td style="border-left: 1px solid #555"></td><td></td><td>Desktop</td><td></td><td></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.014</td><td> <!-- Modal Trigger --> <a class="modal-trigger btn waves-effect waves-light" href="#modal-1a1aee36-7ce7-4111-a391-8e2c501f1532">Detail</a> <!-- Modal Structure --> <div id="modal-1a1aee36-7ce7-4111-a391-8e2c501f1532" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>Wurfl result detail</h4> <p><pre><code class="php">Array ( [virtual] => Array ( [is_android] => false [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => true [is_largescreen] => true [is_mobile] => false [is_robot] => false [is_smartphone] => false [is_touchscreen] => false [is_wml_preferred] => false [is_xhtmlmp_preferred] => false [is_html_preferred] => true [advertised_device_os] => Linux x86_64 [advertised_device_os_version] => [advertised_browser] => Chrome [advertised_browser_version] => 30.0.1599.114 [complete_device_name] => Google Chrome [form_factor] => Desktop [is_phone] => false [is_app_webview] => false ) [all] => Array ( [brand_name] => Google [model_name] => Chrome [unique] => true [ununiqueness_handler] => [is_wireless_device] => false [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] => Desktop [mobile_browser] => [mobile_browser_version] => 30.0 [device_os_version] => 0 [pointing_method] => mouse [release_date] => 2012_november [marketing_name] => [model_extra_info] => [nokia_feature_pack] => 0 [can_assign_phone_number] => false [is_tablet] => false [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [built_in_back_button_support] => false [card_title_support] => false [softkey_support] => false [table_support] => false [numbered_menus] => false [menu_with_select_element_recommended] => false [menu_with_list_of_links_recommended] => false [icons_on_menu_items_support] => false [break_list_of_links_with_br_element_recommended] => false [access_key_support] => false [wrap_mode_support] => false [times_square_mode_support] => false [deck_prefetch_support] => false [elective_forms_recommended] => false [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] => none [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] => true [xhtml_honors_bgcolor] => true [xhtml_supports_forms_in_table] => true [xhtml_support_wml2_namespace] => false [xhtml_autoexpand_select] => false [xhtml_select_as_dropdown] => true [xhtml_select_as_radiobutton] => true [xhtml_select_as_popup] => true [xhtml_display_accesskey] => false [xhtml_supports_invisible_text] => false [xhtml_supports_inline_input] => false [xhtml_supports_monospace_font] => false [xhtml_supports_table_for_layout] => false [xhtml_supports_css_cell_table_coloring] => false [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] => false [xhtml_document_title_support] => true [xhtml_preferred_charset] => utf8 [opwv_xhtml_extensions_support] => false [xhtml_make_phone_call_string] => none [xhtmlmp_preferred_mime_type] => text/html [xhtml_table_support] => false [xhtml_send_sms_string] => none [xhtml_send_mms_string] => none [xhtml_file_upload] => supported [cookie_support] => true [accept_third_party_cookie] => true [xhtml_supports_iframe] => full [xhtml_avoid_accesskeys] => true [xhtml_can_embed_video] => play_and_stop [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] => none [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] => false [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] => 600 [columns] => 120 [max_image_width] => 800 [max_image_height] => 600 [rows] => 200 [physical_screen_width] => 400 [physical_screen_height] => 400 [dual_orientation] => false [density_class] => 1.0 [wbmp] => false [bmp] => true [epoc_bmp] => false [gif_animated] => true [jpg] => true [png] => true [tiff] => false [transparent_png_alpha] => false [transparent_png_index] => false [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] => 3200 [wifi] => true [sdio] => false [vpn] => false [has_cellular_radio] => false [max_deck_size] => 100000 [max_url_length_in_requests] => 128 [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] => false [inline_support] => false [oma_support] => false [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] => false [streaming_3gpp] => false [streaming_mp4] => false [streaming_mov] => false [streaming_video_size_limit] => 0 [streaming_real_media] => none [streaming_flv] => false [streaming_3g2] => false [streaming_vcodec_h263_0] => -1 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => -1 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => -1 [streaming_acodec_amr] => none [streaming_acodec_aac] => none [streaming_wmv] => none [streaming_preferred_protocol] => rtsp [streaming_preferred_http_protocol] => none [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] => false [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] => false [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] => false [mp3] => false [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] => none [css_rounded_corners] => none [css_gradient] => css3 [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] => -1 [playback_vcodec_h263_3] => -1 [playback_vcodec_mpeg4_sp] => -1 [playback_vcodec_mpeg4_asp] => -1 [playback_vcodec_h264_bp] => -1 [playback_real_media] => none [playback_3gpp] => false [playback_3g2] => false [playback_mp4] => false [playback_mov] => false [playback_acodec_amr] => none [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] => false [html_preferred_dtd] => html4 [viewport_supported] => false [viewport_width] => [viewport_userscalable] => [viewport_initial_scale] => [viewport_maximum_scale] => [viewport_minimum_scale] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => none [image_inlining] => true [is_smarttv] => false [is_console] => false [nfc_support] => false [ux_full_desktop] => true [jqm_grade] => A [is_sencha_touch_ok] => true [controlcap_is_smartphone] => default [controlcap_is_ios] => default [controlcap_is_android] => default [controlcap_is_robot] => default [controlcap_is_app] => default [controlcap_advertised_device_os] => default [controlcap_advertised_device_os_version] => default [controlcap_advertised_browser] => default [controlcap_advertised_browser_version] => default [controlcap_is_windows_phone] => default [controlcap_is_full_desktop] => default [controlcap_is_largescreen] => default [controlcap_is_mobile] => default [controlcap_is_touchscreen] => default [controlcap_is_wml_preferred] => default [controlcap_is_xhtmlmp_preferred] => default [controlcap_is_html_preferred] => default [controlcap_form_factor] => default [controlcap_complete_device_name] => default ) ) </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-02-13 13:28:43</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.1.1/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>
ThaDafinser/UserAgentParserComparison
v4/user-agent-detail/31/80/3180f3e4-444b-473a-8e28-48ee5f855c7e.html
HTML
mit
46,361
package controllers.circs.start_of_process import app.ReportChange import models.domain._ import models.view.CachedChangeOfCircs import org.specs2.mutable._ import play.api.test.FakeRequest import play.api.test.Helpers._ import utils.WithApplication class GGoToCircsFormSpec extends Specification { section("unit", models.domain.CircumstancesReportChanges.id) "GGoToCircsFunction " should { def g2FakeRequest(claimKey: String) = { FakeRequest().withSession(CachedChangeOfCircs.key -> claimKey).withFormUrlEncodedBody( ) } "redirect to the next page after a valid additional info submission" in new WithApplication with MockForm { val claim = Claim(claimKey) cache.set("default" + claimKey, claim.update(ReportChangeReason(false, ReportChange.AdditionalInfo.name))) val result = GGoToCircsFunction.present(g2FakeRequest(claimKey)) redirectLocation(result) must beSome("/circumstances/report-changes/other-change") } "redirect to the next page after a valid stopped caring submission" in new WithApplication with MockForm { val claim = Claim(claimKey) cache.set("default" + claimKey, claim.update(ReportChangeReason(false, ReportChange.StoppedCaring.name))) val result = GGoToCircsFunction.present(g2FakeRequest(claimKey)) redirectLocation(result) must beSome("/circumstances/report-changes/stopped-caring") } "redirect to the next page after a valid address change submission" in new WithApplication with MockForm { val claim = Claim(claimKey) cache.set("default" + claimKey, claim.update(ReportChangeReason(false, ReportChange.AddressChange.name))) val result = GGoToCircsFunction.present(g2FakeRequest(claimKey)) redirectLocation(result) must beSome("/circumstances/report-changes/address-change") } "redirect to the next page after a valid payment change submission" in new WithApplication with MockForm { val claim = Claim(claimKey) cache.set("default" + claimKey, claim.update(ReportChangeReason(false, ReportChange.PaymentChange.name))) val result = GGoToCircsFunction.present(g2FakeRequest(claimKey)) redirectLocation(result) must beSome("/circumstances/report-changes/payment-change") } "redirect to the next page after a valid break from caring submission" in new WithApplication with MockForm { val claim = Claim(claimKey) cache.set("default" + claimKey, claim.update(ReportChangeReason(false, ReportChange.BreakFromCaring.name))) val result = GGoToCircsFunction.present(g2FakeRequest(claimKey)) redirectLocation(result) must beSome("/circumstances/report-changes/breaks-in-care") } "redirect to the next page after a valid break from caring submission because of you" in new WithApplication with MockForm { val claim = Claim(claimKey) cache.set("default" + claimKey, claim.update(ReportChangeReason(false, ReportChange.BreakFromCaringYou.name))) val result = GGoToCircsFunction.present(g2FakeRequest(claimKey)) redirectLocation(result) must beSome("/circumstances/report-changes/breaks-in-care") } } section("unit", models.domain.CircumstancesReportChanges.id) }
Department-for-Work-and-Pensions/ClaimCapture
c3/test/controllers/circs/start_of_process/GGoToCircsFormSpec.scala
Scala
mit
3,201
layout: - post title: 'Kamcord' date: 2014-07-26 00:00:00 categories: 网摘 tags: 创意事物 --- <p><img src="http://a.36krcnd.com/photo/2014/98d9a0b3eff83ca2d8e80796fd22129d.png" alt=""/></p> <p>今年5月初刚宣布完成<a target="_blank" data-no-turbolink="true" href="http://www.36kr.com/p/211651.html">710万美元</a>A轮融资,移动游戏录制及分享社区<a target="_blank" data-no-turbolink="true" href="https://www.kamcord.com/">Kamcord</a>最近又有了新消息。</p> <p>除了提供面向游戏开发者的SDK,Kamcord不日前面向玩家上线了新版Kamcord App。<a target="_blank" data-no-turbolink="true" href="https://www.kamcord.com/developers/">Kamcord SDK</a>支持Cocos2d、Unity3d等游戏引擎,分iOS和Android两套版本,开发者将代码嵌入后,可允许玩家录制、重放、分享游戏视频,支持上传视频至Kamcord自有平台,或通过Facebook、Twitter、YouTube、LINE、WeChat、Email等方式分享。新版Kamcord App(目前仅有<a target="_blank" data-no-turbolink="true" href="https://itunes.apple.com/us/app/kamcord-watch-mobile-gameplay/id852813679?mt=8">iOS版</a>)则重点完善了社交特性,新增喜欢、评论、关注、搜索等功能,玩家可以观看Kamcord自有平台上的游戏视频、下载游戏、与其他玩家互动。</p> <p><img src="http://a.36krcnd.com/photo/2014/73077525cc67b337f5f2ea2117afa1e0.png" alt=""/></p> <p>Kamcord联合创始人Adi对<span>36氪</span>透露了最新的运营数据:在过去将近3个月里,嵌入Kamcord SDK的游戏从260个增长至350多个;上传至Kamcord平台的游戏视频从500万段增长至1400万段;依上载情况来看,平均每分钟便有时长1小时的视频内容被分享至Kamcord平台,约等于1%个YouTube(注:YouTube的上载速率为<a target="_blank" data-no-turbolink="true" href="https://www.youtube.com/yt/press/statistics.html">每分钟上传100小时的视频内容</a>)。</p> <p>虽说Kamcord成长速度很快,但竞争也愈发激烈。今年5月,消息称YouTube欲斥资<a target="_blank" data-no-turbolink="true" href="http://www.36kr.com/p/212082.html">10亿美元</a>收购基于PC和主机游戏的网络直播平台<a target="_blank" data-no-turbolink="true" href="http://www.twitch.tv/">Twitch</a>,这热闹了游戏界(该项交易刚<a target="_blank" data-no-turbolink="true" href="http://www.36kr.com/p/214080.html">得到消息人士确认</a>)。受此影响,基于移动游戏衍生出的玩法也得到重视,毕竟,这是一个全球月活用户数在今年有望突破<a target="_blank" data-no-turbolink="true" href="http://www.36kr.com/p/211965.html">14.82亿</a>大关的庞大市场。</p> <p>今年3月,Twitch发布了<a target="_blank" data-no-turbolink="true" href="http://blog.twitch.tv/2014/03/twitch-mobile-broadcasting-and-capture-sdk-announced/">针对移动游戏的视频抓取及直播SDK</a>,欲将依靠VIP会员及广告创收的直播模式平移至移动游戏领域。2008年成立的芬兰公司<a target="_blank" data-no-turbolink="true" href="http://www.applifier.com/">Applifier</a>则同Kamcord十分类似,也是通过推出移动游戏录制及分享SDK(<a target="_blank" data-no-turbolink="true" href="https://developers.everyplay.com/">Everyplay Replays</a>)来建立<a target="_blank" data-no-turbolink="true" href="https://everyplay.com/">游戏视频社区</a>,另外,Applifier还提供变现解决方案<a target="_blank" data-no-turbolink="true" href="http://unityads.unity3d.com/">GameAds</a> SDK,开发者可在游戏中嵌入视频广告进行变现。</p> <p>在累计完成<a target="_blank" data-no-turbolink="true" href="http://www.crunchbase.com/organization/applifier">至少600万美元</a>融资后,Applifier于今年3月被游戏引擎公司<a target="_blank" data-no-turbolink="true" href="http://unity3d.com/">Unity</a><a target="_blank" data-no-turbolink="true" href="http://blog.everyplay.com/applifier-is-joining-the-unity-team/">收购</a>,Applifier的40多名员工加入Unity 400多名员工的大部队。当时Applifier的<a target="_blank" data-no-turbolink="true" href="http://blog.everyplay.com/applifier-is-joining-the-unity-team/">数据显示</a>,Everyplay Replays SDK已嵌入300余款iOS及Android游戏,视频社区已有700多万注册玩家,累计分享游戏视频几百万段,似乎与Kamcord不分伯仲。另据Applifier<a target="_blank" data-no-turbolink="true" href="https://everyplay.com/everyplay-unity-faq">官方信息</a>,Everyplay Replays SDK和GameAds SDK未来都将整合进Unity3d游戏引擎,触及更多Unity游戏开发者,这对Kamcord还是构成了不小的挑战。</p> <p>除了Applifier,日本、中国的一些公司近来也开始提供游戏录制及分享SDK,不过与成立两年多的Kamcord相比,还仅停留在工具层面,没有足够的视频内容及玩家来撑起一个社区。比如,上个月推出<a target="_blank" data-no-turbolink="true" href="http://www.36kr.com/p/212892.html">ShareRec手游录像分享组件</a>的ShareSDK。</p> <p>Adi对<span>36氪</span>表示,Kamcord警觉到竞争的加剧,尤其在YouTube拟收购Twitch的消息放出之后,但这可能也是好事,说明这是个朝阳领域,狭路相逢,跑得快的胜。目前,Kamcord 17人的小团队里,有11名工程师、4名商务拓展人员、1名设计师以及1名办公室行政管理人员。</p> <p>Kamcord已累计融资960万美元,投资方包括但不限于A16Z、Google Ventures、腾讯、创新工场、TransLink Capital、SV Angel、XG Ventures、日本社交游戏孵化平台DeNA以及KLab Ventures等。</p> <p>未来,Kamcord将主要把精力投入到两个方面:一,人才招聘+国际化:来年将团队规模扩大一倍,未来两、三个月会在日本成立办公室,中国办公室的成立也在计划中;二,在产品层面上,分别完善Kamcord SDK(比如允许录制后在视频末尾添加语音、依各国市场情况增加分享渠道、支持苹果<a target="_blank" data-no-turbolink="true" href="http://www.36kr.com/p/212511.html">WWDC 2014</a>上发布的助益高质量3D移动游戏开发的<a target="_blank" data-no-turbolink="true" href="http://bgr.com/2014/06/16/ios-8-features-what-metal-means/">Metal框架</a>、植入更多基于<a target="_blank" data-no-turbolink="true" href="https://www.unrealengine.com/partners/integrated-partners-program">Unreal Engine</a>开发的游戏当中),完善Kamcord App,并让二者能够互利共生。</p> <p>[<span>36氪</span>原创文章,作者: coldsummer17]</p> <p>AD:<a href="http://cnrdn.com/GJWE" target="_blank">云之家</a>,一种新的工作方式。</p> 原文发表于 [Kamcord推出更重社交功能的新版App,移动游戏录制及分享成为市场香饽饽?](http://www.36kr.com/p/214074.html) 更多详情请参考相关网站 [Kamcord](http://www.kamcord.com/) 本站数据以 [新品啦](http://xinpinla.com/) 作为入口点进行爬取! 并自动发布于github pages上。
buf1024/xinpinla-crawler
hexo/source/_posts/2014-07-26-Kamcord.md
Markdown
mit
7,153
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tortoise-hare-algorithm: 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.0 / tortoise-hare-algorithm - 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> tortoise-hare-algorithm <small> 8.8.0 <span class="label label-info">Not compatible</span> </small> </h1> <p><em><script>document.write(moment("2020-02-26 23:22:14 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-02-26 23:22:14 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.10.0 Formal proof management system num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.09.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.09.0 Official release 4.09.0 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.8.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/tortoise-hare-algorithm&quot; license: &quot;Unknown&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/TortoiseHareAlgorithm&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.8&quot; &amp; &lt; &quot;8.9~&quot;} ] tags: [ &quot;keyword: program verification&quot; &quot;keyword: paths&quot; &quot;keyword: cycle detection&quot; &quot;keyword: graphs&quot; &quot;keyword: graph theory&quot; &quot;keyword: finite sets&quot; &quot;keyword: floyd&quot; &quot;category: Computer Science/Decision Procedures and Certified Algorithms/Correctness proofs of algorithms&quot; &quot;date: 2007-02&quot; ] authors: [ &quot;Jean-Christophe Filliâtre&quot; ] bug-reports: &quot;https://github.com/coq-contribs/tortoise-hare-algorithm/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/tortoise-hare-algorithm.git&quot; synopsis: &quot;Tortoise and the hare algorithm&quot; description: &quot;&quot;&quot; Correctness proof of Floyd&#39;s cycle-finding algorithm, also known as the &quot;tortoise and the hare&quot;-algorithm. See http://en.wikipedia.org/wiki/Floyd&#39;s_cycle-finding_algorithm&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/tortoise-hare-algorithm/archive/v8.8.0.tar.gz&quot; checksum: &quot;md5=5fdf82dd175770a66c50d9e6213309c4&quot; } </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-tortoise-hare-algorithm.8.8.0 coq.8.10.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.10.0). The following dependencies couldn&#39;t be met: - coq-tortoise-hare-algorithm -&gt; coq &lt; 8.9~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;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-tortoise-hare-algorithm.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"> <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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.0-2.0.5/released/8.10.0/tortoise-hare-algorithm/8.8.0.html
HTML
mit
7,334
module Wizcorp module Nagios class API require 'uri' require 'rest-client' def initialize params={ } @connection = { :hostname => 'localhost', :port => 4567, :base => '' }.merge(params) c = @connection @baseuri = "http://#{c[:hostname]}:#{c[:port]}/#{c[:base]}" @response = { } end attr_accessor :response # Submit data to Nagira API. Sets @response variable to # [RestClient.response]. can submit single check or multiple # checks for single host. If data is Array, then all the checks # are submitted with one HTTP request. # # @see Nagira#put_status_host_name_services # # @param [String] host Hostname of the server check is executed against (not API Nagira host). # # @param [String] content_type HTTP Content-type string # # @param [Hash, Array] data Input data for the status check # submission. Should contain attributes: service_description # :return_code, :plugin_output. Note, attribute host_name is # overriden by host parameter. Data acceptable by # +Nagira#put_status_host_name_services+ method # # # # @return self def put host, data, content_type='application/json' data = [data] if data.is_a? Hash # Make sure it's an Array data.each { |item| item.merge!(:host_name => host) } @response = RestClient.put endpoint(host), data.to_json self end alias :submit :put end end end
Wizcorp/NagiosForCouchbase
lib/wizcorp/nagios/api.rb
Ruby
mit
1,613
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>idxassoc: 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.1 / idxassoc - 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> idxassoc <small> 8.5.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-10-02 09:47:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-02 09:47:12 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 coq 8.10.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: &quot;2.0&quot; maintainer: &quot;matej.kosik@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/idxassoc&quot; license: &quot;BSD with advertising clause&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/IdxAssoc&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.5&quot; &amp; &lt; &quot;8.6~&quot;} ] tags: [ &quot;keyword:associative arrays&quot; &quot;keyword:search operator&quot; &quot;keyword:data structures&quot; &quot;category:Computer Science/Data Types and Data Structures&quot; &quot;date:2001-04&quot; ] authors: [ &quot;Dominique Quatravaux &lt;&gt;&quot; &quot;Gérald Macinenti &lt;&gt;&quot; &quot;François-René Ridaux &lt;&gt;&quot; ] bug-reports: &quot;https://github.com/coq-contribs/idxassoc/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/idxassoc.git&quot; synopsis: &quot;Associative Arrays&quot; description: &quot;&quot;&quot; We define the associative array (key -&gt; value associations) datatype as list of couples, providing definitions of standards operations such as adding, deleting. We introduce predicates for membership of a key and of couples. Finally we define a search operator (&quot;find&quot;) which returns the value associated with a key or the &quot;none&quot; option (see file Option.v which should be part of this contribution) on failure. Lemmas we prove about these concepts were motivated by our needs at the moment we created this file. We hope they&#39;ll suit your needs too but anyway, feel free to communicate any wish or remark.&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/idxassoc/archive/v8.5.0.tar.gz&quot; checksum: &quot;md5=4ba65dcf6f3a74cfb6a9a4c91c65de54&quot; } </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-idxassoc.8.5.0 coq.8.10.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.10.1). The following dependencies couldn&#39;t be met: - coq-idxassoc -&gt; coq &lt; 8.6~ -&gt; ocaml &lt; 4.03.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;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-idxassoc.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.10.1/idxassoc/8.5.0.html
HTML
mit
7,566
/* line 5, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } /* line 22, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ html { line-height: 1; } /* line 24, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ ol, ul { list-style: none; } /* line 26, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ table { border-collapse: collapse; border-spacing: 0; } /* line 28, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; } /* line 30, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ q, blockquote { quotes: none; } /* line 103, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; } /* line 32, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ a img { border: none; } /* line 116, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } /* line 8, ../../src/sass/jtime-pc.scss */ .jtime { display: none; position: absolute; width: 250px; padding: 4px; background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.2); -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); font-family: "Microsoft YaHei UI"; font-size: 13px; font-weight: 200; z-index: 100; } /* line 21, ../../src/sass/jtime-pc.scss */ .jtime div, .jtime span, .jtime em { vertical-align: top; } /* line 25, ../../src/sass/jtime-pc.scss */ .jtime .col-2 { display: inline-block; width: 16.666%; } /* line 29, ../../src/sass/jtime-pc.scss */ .jtime .col-3 { display: inline-block; width: 25%; } /* line 33, ../../src/sass/jtime-pc.scss */ .jtime .col-4 { display: inline-block; width: 33.333%; } /* line 37, ../../src/sass/jtime-pc.scss */ .jtime .col-5 { display: inline-block; width: 41.666%; } /* line 41, ../../src/sass/jtime-pc.scss */ .jtime .col-6 { display: inline-block; width: 50%; } /* line 45, ../../src/sass/jtime-pc.scss */ .jtime .row { height: 50px; } /* line 48, ../../src/sass/jtime-pc.scss */ .jtime .main, .jtime .hour-select, .jtime .minute-select { width: 100%; height: 100%; } /* line 52, ../../src/sass/jtime-pc.scss */ .jtime .spacefix { font-size: 0; } /* line 55, ../../src/sass/jtime-pc.scss */ .jtime .font-size-normal { font-size: 16px; } /* line 59, ../../src/sass/jtime-pc.scss */ .jtime .main .col-5, .jtime .main .col-2 { height: 100%; text-align: center; } /* line 63, ../../src/sass/jtime-pc.scss */ .jtime .main .btn-wrapper { display: inline-block; width: 40px; height: 40px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; margin-top: 5px; cursor: pointer; } /* line 70, ../../src/sass/jtime-pc.scss */ .jtime .main .btn-wrapper .up-arrow { display: inline-block; width: 16px; height: 16px; margin-top: 12px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAv0lEQVQ4T7WSzQ3CMAxG7QlYIOzACIzAJb5CJqGbtOcEiRUYgRGQiLizAEZuaEl/LEWq6ksuec+fEyMsLFzIw7oCCrFhBg5knJZUTSAwABwFZIZGk8wKcrjrrEkmAgrPCgDPqTO/5UTEjZZkILA+nhCh/sO4Twn4pkl6wRwcyNwFtz7uNEkryOFfVBfIyCP2pUmwBO4sdHkdgD/X/GFx9F2TzuP/H44Krh0hSfjh7bYqWW2RyD0Zc91VLkmzOMEX75Jx1ijJP9UAAAAASUVORK5CYII=") no-repeat; } /* line 77, ../../src/sass/jtime-pc.scss */ .jtime .main .btn-wrapper .down-arrow { display: inline-block; width: 16px; height: 16px; margin-top: 12px; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC6SURBVDhP3ZLBEYIwEEWzNmAD2IMdaAlekrN2ApUg18QiKMEeZLxbQfw/CYoQ5M6bgdnNzz6SGdRK0LY780ntIsY9SuO6K2vhoIiq2XivLs4UIZhjuB80G7wOsYYNgbk9T6mdMBrmB1thgaBGEK7gvX9BdcRJ7ux7MsPhtEFA/kmQ7bHaisg25t+rfgQkJwnBzDD5EZCpBJvSMFYqq3dlrCMTARlKBjRWF+O1vICMJNnhRSjpf5jVotQbgFNjv3r8XE4AAAAASUVORK5CYII=") no-repeat; } /* line 85, ../../src/sass/jtime-pc.scss */ .jtime .main .btn-wrapper:hover { background: #eeeeee; } /* line 88, ../../src/sass/jtime-pc.scss */ .jtime .main .colon { display: inline-block; width: 100%; height: 100%; font-size: 13px; line-height: 50px; font-weight: bold; } /* line 96, ../../src/sass/jtime-pc.scss */ .jtime .main .time, .jtime .main .btn-confirm { display: inline-block; width: 40px; height: 40px; line-height: 40px; font-size: 13px; font-weight: bold; margin-top: 7px; cursor: pointer; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; } /* line 107, ../../src/sass/jtime-pc.scss */ .jtime .main .time:hover, .jtime .main .btn-confirm:hover { background: #eeeeee; } /* line 113, ../../src/sass/jtime-pc.scss */ .jtime .main .btn-confirm:hover { background: #56ABE4; color: #ffffff; } /* line 118, ../../src/sass/jtime-pc.scss */ .jtime .hour-select, .jtime .minute-select { display: none; } /* line 120, ../../src/sass/jtime-pc.scss */ .jtime .hour-select .col-3, .jtime .minute-select .col-3 { height: 100%; text-align: center; } /* line 124, ../../src/sass/jtime-pc.scss */ .jtime .hour-select .row, .jtime .minute-select .row { height: 40px; font-size: 0; } /* line 128, ../../src/sass/jtime-pc.scss */ .jtime .hour-select .hour-minute, .jtime .minute-select .hour-minute { display: inline-block; width: 30px; height: 30px; font-size: 13px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; margin-top: 5px; cursor: pointer; text-align: center; line-height: 30px; } /* line 139, ../../src/sass/jtime-pc.scss */ .jtime .hour-select .hour-minute:not(.selected):hover, .jtime .minute-select .hour-minute:not(.selected):hover { background-color: #eeeeee; } /* line 142, ../../src/sass/jtime-pc.scss */ .jtime .hour-select .hour-minute.selected, .jtime .minute-select .hour-minute.selected { background: #56ABE4; color: #ffffff; } /* line 148, ../../src/sass/jtime-pc.scss */ .jtime:after { content: ''; display: inline-block; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid #ffffff; position: absolute; top: -6px; left: 7px; } /* line 158, ../../src/sass/jtime-pc.scss */ .jtime:before { content: ''; display: inline-block; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 7px solid #ccc; border-bottom-color: rgba(0, 0, 0, 0.2); position: absolute; top: -7px; left: 6px; }
willBoy/lb_CSL
vendor/jdatepicker/css/jtime-pc.css
CSS
mit
7,974
<head> <link rel="stylesheet" href="./animals.css"> <style> body { font-size: 4em; font-family: monospace; } span { font-size: 0.5em; vertical-align: super; } </style> </head> <h1> Animal Icons </h1> <i class="animals ant"></i> <span>&lt;i class="animals ant"&gt;&lt;/i&gt;</span><br> <i class="animals aquarium"></i> <span>&lt;i class="animals aquarium"&gt;&lt;/i&gt;</span><br> <i class="animals badger"></i> <span>&lt;i class="animals badger"&gt;&lt;/i&gt;</span><br> <i class="animals bat"></i> <span>&lt;i class="animals bat"&gt;&lt;/i&gt;</span><br> <i class="animals bear"></i> <span>&lt;i class="animals bear"&gt;&lt;/i&gt;</span><br> <i class="animals beaver"></i> <span>&lt;i class="animals beaver"&gt;&lt;/i&gt;</span><br> <i class="animals bee-hive"></i> <span>&lt;i class="animals bee-hive"&gt;&lt;/i&gt;</span><br> <i class="animals bee"></i> <span>&lt;i class="animals bee"&gt;&lt;/i&gt;</span><br> <i class="animals bird"></i> <span>&lt;i class="animals bird"&gt;&lt;/i&gt;</span><br> <i class="animals bug"></i> <span>&lt;i class="animals bug"&gt;&lt;/i&gt;</span><br> <i class="animals bull"></i> <span>&lt;i class="animals bull"&gt;&lt;/i&gt;</span><br> <i class="animals bumblebee"></i> <span>&lt;i class="animals bumblebee"&gt;&lt;/i&gt;</span><br> <i class="animals butterfly"></i> <span>&lt;i class="animals butterfly"&gt;&lt;/i&gt;</span><br> <i class="animals canary"></i> <span>&lt;i class="animals canary"&gt;&lt;/i&gt;</span><br> <i class="animals cat"></i> <span>&lt;i class="animals cat"&gt;&lt;/i&gt;</span><br> <i class="animals caterpillar"></i> <span>&lt;i class="animals caterpillar"&gt;&lt;/i&gt;</span><br> <i class="animals chicken"></i> <span>&lt;i class="animals chicken"&gt;&lt;/i&gt;</span><br> <i class="animals clown-fish"></i> <span>&lt;i class="animals clown-fish"&gt;&lt;/i&gt;</span><br> <i class="animals corgi"></i> <span>&lt;i class="animals corgi"&gt;&lt;/i&gt;</span><br> <i class="animals cow"></i> <span>&lt;i class="animals cow"&gt;&lt;/i&gt;</span><br> <i class="animals crab"></i> <span>&lt;i class="animals crab"&gt;&lt;/i&gt;</span><br> <i class="animals deer"></i> <span>&lt;i class="animals deer"&gt;&lt;/i&gt;</span><br> <i class="animals dinosaur"></i> <span>&lt;i class="animals dinosaur"&gt;&lt;/i&gt;</span><br> <i class="animals dog"></i> <span>&lt;i class="animals dog"&gt;&lt;/i&gt;</span><br> <i class="animals dolphin"></i> <span>&lt;i class="animals dolphin"&gt;&lt;/i&gt;</span><br> <i class="animals dragonfly"></i> <span>&lt;i class="animals dragonfly"&gt;&lt;/i&gt;</span><br> <i class="animals duck"></i> <span>&lt;i class="animals duck"&gt;&lt;/i&gt;</span><br> <i class="animals elephant"></i> <span>&lt;i class="animals elephant"&gt;&lt;/i&gt;</span><br> <i class="animals falcon"></i> <span>&lt;i class="animals falcon"&gt;&lt;/i&gt;</span><br> <i class="animals fish"></i> <span>&lt;i class="animals fish"&gt;&lt;/i&gt;</span><br> <i class="animals fly"></i> <span>&lt;i class="animals fly"&gt;&lt;/i&gt;</span><br> <i class="animals frog"></i> <span>&lt;i class="animals frog"&gt;&lt;/i&gt;</span><br> <i class="animals giraffe"></i> <span>&lt;i class="animals giraffe"&gt;&lt;/i&gt;</span><br> <i class="animals gorilla"></i> <span>&lt;i class="animals gorilla"&gt;&lt;/i&gt;</span><br> <i class="animals grasshopper"></i> <span>&lt;i class="animals grasshopper"&gt;&lt;/i&gt;</span><br> <i class="animals hornet"></i> <span>&lt;i class="animals hornet"&gt;&lt;/i&gt;</span><br> <i class="animals horse"></i> <span>&lt;i class="animals horse"&gt;&lt;/i&gt;</span><br> <i class="animals hummingbird"></i> <span>&lt;i class="animals hummingbird"&gt;&lt;/i&gt;</span><br> <i class="animals insect"></i> <span>&lt;i class="animals insect"&gt;&lt;/i&gt;</span><br> <i class="animals kangaroo"></i> <span>&lt;i class="animals kangaroo"&gt;&lt;/i&gt;</span><br> <i class="animals kiwi-bird"></i> <span>&lt;i class="animals kiwi-bird"&gt;&lt;/i&gt;</span><br> <i class="animals ladybird"></i> <span>&lt;i class="animals ladybird"&gt;&lt;/i&gt;</span><br> <i class="animals leopard"></i> <span>&lt;i class="animals leopard"&gt;&lt;/i&gt;</span><br> <i class="animals lion"></i> <span>&lt;i class="animals lion"&gt;&lt;/i&gt;</span><br> <i class="animals llama"></i> <span>&lt;i class="animals llama"&gt;&lt;/i&gt;</span><br> <i class="animals mite"></i> <span>&lt;i class="animals mite"&gt;&lt;/i&gt;</span><br> <i class="animals mosquito"></i> <span>&lt;i class="animals mosquito"&gt;&lt;/i&gt;</span><br> <i class="animals octopus"></i> <span>&lt;i class="animals octopus"&gt;&lt;/i&gt;</span><br> <i class="animals panda"></i> <span>&lt;i class="animals panda"&gt;&lt;/i&gt;</span><br> <i class="animals paw"></i> <span>&lt;i class="animals paw"&gt;&lt;/i&gt;</span><br> <i class="animals pig"></i> <span>&lt;i class="animals pig"&gt;&lt;/i&gt;</span><br> <i class="animals prawn"></i> <span>&lt;i class="animals prawn"&gt;&lt;/i&gt;</span><br> <i class="animals rabbit"></i> <span>&lt;i class="animals rabbit"&gt;&lt;/i&gt;</span><br> <i class="animals rhino"></i> <span>&lt;i class="animals rhino"&gt;&lt;/i&gt;</span><br> <i class="animals seahorse"></i> <span>&lt;i class="animals seahorse"&gt;&lt;/i&gt;</span><br> <i class="animals shark"></i> <span>&lt;i class="animals shark"&gt;&lt;/i&gt;</span><br> <i class="animals sheep"></i> <span>&lt;i class="animals sheep"&gt;&lt;/i&gt;</span><br> <i class="animals snail"></i> <span>&lt;i class="animals snail"&gt;&lt;/i&gt;</span><br> <i class="animals spider"></i> <span>&lt;i class="animals spider"&gt;&lt;/i&gt;</span><br> <i class="animals starfish"></i> <span>&lt;i class="animals starfish"&gt;&lt;/i&gt;</span><br> <i class="animals stork"></i> <span>&lt;i class="animals stork"&gt;&lt;/i&gt;</span><br> <i class="animals tuna"></i> <span>&lt;i class="animals tuna"&gt;&lt;/i&gt;</span><br> <i class="animals turtle"></i> <span>&lt;i class="animals turtle"&gt;&lt;/i&gt;</span><br> <i class="animals unicorn"></i> <span>&lt;i class="animals unicorn"&gt;&lt;/i&gt;</span><br> <i class="animals wasp"></i> <span>&lt;i class="animals wasp"&gt;&lt;/i&gt;</span><br> <i class="animals whale"></i> <span>&lt;i class="animals whale"&gt;&lt;/i&gt;</span><br> <i class="animals wolf"></i> <span>&lt;i class="animals wolf"&gt;&lt;/i&gt;</span><br>
mrfrase3/RemoteDojo-3.0
common/animal_icons/test.html
HTML
mit
6,314
/* Jison generated parser */ var parser = (function(){ var parser = {trace: function trace() { }, yy: {}, symbols_: {"error":2,"pattern":3,"route":4,"EOF":5,"parts":6,"part":7,"OPEN_OPTIONAL":8,"CLOSE":9,"OPEN_PARAM":10,"substrings":11,"STRING":12,"$accept":0,"$end":1}, terminals_: {2:"error",5:"EOF",8:"OPEN_OPTIONAL",9:"CLOSE",10:"OPEN_PARAM",12:"STRING"}, productions_: [0,[3,2],[4,1],[4,0],[6,1],[6,2],[7,3],[7,3],[7,1],[11,1],[11,2]], performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) { var $0 = $$.length - 1; switch (yystate) { case 1: return $$[$0-1] break; case 2: this.$ = $$[$0]; break; case 3: this.$ = []; break; case 4: this.$ = [$$[$0]]; break; case 5: $$[$0-1].push($$[$0]); this.$ = $$[$0-1]; break; case 6: this.$ = new yy.OptionalGroupNode($$[$0-1]); break; case 7: this.$ = new yy.ParamNode($$[$0-1]); break; case 8: this.$ = new yy.StringNode($$[$0]); break; case 10: this.$ = $$[$0-1] + $$[$0]; break; } }, table: [{3:1,4:2,5:[2,3],6:3,7:4,8:[1,5],10:[1,6],12:[1,7]},{1:[3]},{5:[1,8]},{5:[2,2],7:9,8:[1,5],9:[2,2],10:[1,6],12:[1,7]},{5:[2,4],8:[2,4],9:[2,4],10:[2,4],12:[2,4]},{4:10,6:3,7:4,8:[1,5],9:[2,3],10:[1,6],12:[1,7]},{11:11,12:[1,12]},{5:[2,8],8:[2,8],9:[2,8],10:[2,8],12:[2,8]},{1:[2,1]},{5:[2,5],8:[2,5],9:[2,5],10:[2,5],12:[2,5]},{9:[1,13]},{9:[1,14],12:[1,15]},{9:[2,9],12:[2,9]},{5:[2,6],8:[2,6],9:[2,6],10:[2,6],12:[2,6]},{5:[2,7],8:[2,7],9:[2,7],10:[2,7],12:[2,7]},{9:[2,10],12:[2,10]}], defaultActions: {8:[2,1]}, parseError: function parseError(str, hash) { throw new Error(str); }, parse: function parse(input) { var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1; this.lexer.setInput(input); this.lexer.yy = this.yy; this.yy.lexer = this.lexer; this.yy.parser = this; if (typeof this.lexer.yylloc == "undefined") this.lexer.yylloc = {}; var yyloc = this.lexer.yylloc; lstack.push(yyloc); var ranges = this.lexer.options && this.lexer.options.ranges; if (typeof this.yy.parseError === "function") this.parseError = this.yy.parseError; function popStack(n) { stack.length = stack.length - 2 * n; vstack.length = vstack.length - n; lstack.length = lstack.length - n; } function lex() { var token; token = self.lexer.lex() || 1; if (typeof token !== "number") { token = self.symbols_[token] || token; } return token; } var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected; while (true) { state = stack[stack.length - 1]; if (this.defaultActions[state]) { action = this.defaultActions[state]; } else { if (symbol === null || typeof symbol == "undefined") { symbol = lex(); } action = table[state] && table[state][symbol]; } if (typeof action === "undefined" || !action.length || !action[0]) { var errStr = ""; if (!recovering) { expected = []; for (p in table[state]) if (this.terminals_[p] && p > 2) { expected.push("'" + this.terminals_[p] + "'"); } if (this.lexer.showPosition) { errStr = "Parse error on line " + (yylineno + 1) + ":\n" + this.lexer.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'"; } else { errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"'" + (this.terminals_[symbol] || symbol) + "'"); } this.parseError(errStr, {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected}); } } if (action[0] instanceof Array && action.length > 1) { throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol); } switch (action[0]) { case 1: stack.push(symbol); vstack.push(this.lexer.yytext); lstack.push(this.lexer.yylloc); stack.push(action[1]); symbol = null; if (!preErrorSymbol) { yyleng = this.lexer.yyleng; yytext = this.lexer.yytext; yylineno = this.lexer.yylineno; yyloc = this.lexer.yylloc; if (recovering > 0) recovering--; } else { symbol = preErrorSymbol; preErrorSymbol = null; } break; case 2: len = this.productions_[action[1]][1]; yyval.$ = vstack[vstack.length - len]; yyval._$ = {first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column}; if (ranges) { yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]]; } r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack); if (typeof r !== "undefined") { return r; } if (len) { stack = stack.slice(0, -1 * len * 2); vstack = vstack.slice(0, -1 * len); lstack = lstack.slice(0, -1 * len); } stack.push(this.productions_[action[1]][0]); vstack.push(yyval.$); lstack.push(yyval._$); newState = table[stack[stack.length - 2]][stack[stack.length - 1]]; stack.push(newState); break; case 3: return true; } } return true; } }; /* Jison generated lexer */ var lexer = (function(){ var lexer = ({EOF:1, parseError:function parseError(str, hash) { if (this.yy.parser) { this.yy.parser.parseError(str, hash); } else { throw new Error(str); } }, setInput:function (input) { this._input = input; this._more = this._less = this.done = false; this.yylineno = this.yyleng = 0; this.yytext = this.matched = this.match = ''; this.conditionStack = ['INITIAL']; this.yylloc = {first_line:1,first_column:0,last_line:1,last_column:0}; if (this.options.ranges) this.yylloc.range = [0,0]; this.offset = 0; return this; }, input:function () { var ch = this._input[0]; this.yytext += ch; this.yyleng++; this.offset++; this.match += ch; this.matched += ch; var lines = ch.match(/(?:\r\n?|\n).*/g); if (lines) { this.yylineno++; this.yylloc.last_line++; } else { this.yylloc.last_column++; } if (this.options.ranges) this.yylloc.range[1]++; this._input = this._input.slice(1); return ch; }, unput:function (ch) { var len = ch.length; var lines = ch.split(/(?:\r\n?|\n)/g); this._input = ch + this._input; this.yytext = this.yytext.substr(0, this.yytext.length-len-1); //this.yyleng -= len; this.offset -= len; var oldLines = this.match.split(/(?:\r\n?|\n)/g); this.match = this.match.substr(0, this.match.length-1); this.matched = this.matched.substr(0, this.matched.length-1); if (lines.length-1) this.yylineno -= lines.length-1; var r = this.yylloc.range; this.yylloc = {first_line: this.yylloc.first_line, last_line: this.yylineno+1, first_column: this.yylloc.first_column, last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length: this.yylloc.first_column - len }; if (this.options.ranges) { this.yylloc.range = [r[0], r[0] + this.yyleng - len]; } return this; }, more:function () { this._more = true; return this; }, less:function (n) { this.unput(this.match.slice(n)); }, pastInput:function () { var past = this.matched.substr(0, this.matched.length - this.match.length); return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, ""); }, upcomingInput:function () { var next = this.match; if (next.length < 20) { next += this._input.substr(0, 20-next.length); } return (next.substr(0,20)+(next.length > 20 ? '...':'')).replace(/\n/g, ""); }, showPosition:function () { var pre = this.pastInput(); var c = new Array(pre.length + 1).join("-"); return pre + this.upcomingInput() + "\n" + c+"^"; }, next:function () { if (this.done) { return this.EOF; } if (!this._input) this.done = true; var token, match, tempMatch, index, col, lines; if (!this._more) { this.yytext = ''; this.match = ''; } var rules = this._currentRules(); for (var i=0;i < rules.length; i++) { tempMatch = this._input.match(this.rules[rules[i]]); if (tempMatch && (!match || tempMatch[0].length > match[0].length)) { match = tempMatch; index = i; if (!this.options.flex) break; } } if (match) { lines = match[0].match(/(?:\r\n?|\n).*/g); if (lines) this.yylineno += lines.length; this.yylloc = {first_line: this.yylloc.last_line, last_line: this.yylineno+1, first_column: this.yylloc.last_column, last_column: lines ? lines[lines.length-1].length-lines[lines.length-1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length}; this.yytext += match[0]; this.match += match[0]; this.matches = match; this.yyleng = this.yytext.length; if (this.options.ranges) { this.yylloc.range = [this.offset, this.offset += this.yyleng]; } this._more = false; this._input = this._input.slice(match[0].length); this.matched += match[0]; token = this.performAction.call(this, this.yy, this, rules[index],this.conditionStack[this.conditionStack.length-1]); if (this.done && this._input) this.done = false; if (token) return token; else return; } if (this._input === "") { return this.EOF; } else { return this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(), {text: "", token: null, line: this.yylineno}); } }, lex:function lex() { var r = this.next(); if (typeof r !== 'undefined') { return r; } else { return this.lex(); } }, begin:function begin(condition) { this.conditionStack.push(condition); }, popState:function popState() { return this.conditionStack.pop(); }, _currentRules:function _currentRules() { return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules; }, topState:function () { return this.conditionStack[this.conditionStack.length-2]; }, pushState:function begin(condition) { this.begin(condition); }}); lexer.options = {}; lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) { var YYSTATE=YY_START switch($avoiding_name_collisions) { case 0: this.begin("escape"); break; case 1: this.popState(); return "STRING"; break; case 2: return "STRING"; break; case 3: return "STRING"; break; case 4: this.begin("param"); return "OPEN_PARAM"; break; case 5: this.begin("optional"); return "OPEN_OPTIONAL"; break; case 6: this.popState(); return "CLOSE"; break; case 7: this.popState(); return "CLOSE"; break; case 8: return "STRING"; break; case 9: return 5; break; } }; lexer.rules = [/^(?:\\(?=[{}()]))/,/^(?:[{}()])/,/^(?:\\(?![{}()]))/,/^(?:[^{}()\\]+)/,/^(?:\{)/,/^(?:\()/,/^(?:\})/,/^(?:\))/,/^(?:\}|\))/,/^(?:$)/]; lexer.conditions = {"escape":{"rules":[0,1,2,3,4,5],"inclusive":false},"param":{"rules":[0,2,3,4,5,6],"inclusive":false},"optional":{"rules":[0,2,3,4,5,7,9],"inclusive":false},"INITIAL":{"rules":[0,2,3,4,5,8,9],"inclusive":true}}; return lexer;})() parser.lexer = lexer; function Parser () { this.yy = {}; }Parser.prototype = parser;parser.Parser = Parser; return new Parser; })(); module.exports = { parser: parser };
nodeca/pointer
lib/pointer/route/parser.js
JavaScript
mit
13,136
require 'spec_helper' require 'comment_extractor/extractor/coffee' class CommentExtractor::Extractor describe Coffee do it_behaves_like 'extracting comments from', 'coffee.coffee' it_behaves_like 'detecting filename', 'file.coffee' end end
alpaca-tc/comment_extractor
spec/comment_extractor/extractor/coffee_spec.rb
Ruby
mit
253
#include "Runtime/MP1/CFrontEndUITouchBar.hpp" namespace metaforce { CFrontEndUITouchBar::~CFrontEndUITouchBar() = default; void CFrontEndUITouchBar::SetPhase(EPhase ph) { m_phase = ph; } CFrontEndUITouchBar::EPhase CFrontEndUITouchBar::GetPhase() { return m_phase; } void CFrontEndUITouchBar::SetFileSelectPhase(const SFileSelectDetail details[3], bool eraseGame, bool galleryActive) { m_phase = EPhase::FileSelect; } void CFrontEndUITouchBar::SetNoCardSelectPhase(bool galleryActive) { m_phase = EPhase::NoCardSelect; } void CFrontEndUITouchBar::SetFusionBonusPhase(bool fusionSuitActive) { m_phase = EPhase::FusionBonus; } void CFrontEndUITouchBar::SetStartOptionsPhase(bool normalBeat) { m_phase = EPhase::StartOptions; } CFrontEndUITouchBar::EAction CFrontEndUITouchBar::PopAction() { return EAction::None; } #ifndef __APPLE__ std::unique_ptr<CFrontEndUITouchBar> NewFrontEndUITouchBar() { return std::make_unique<CFrontEndUITouchBar>(); } #endif } // namespace metaforce
AxioDL/PathShagged
Runtime/MP1/CFrontEndUITouchBar.cpp
C++
mit
983
var webpack = require('webpack'); var path = require('path'); var BUILD_DIR = path.resolve(__dirname, '../techbot_web/static'); var APP_DIR = path.resolve(__dirname, 'src/app'); var config = { entry: APP_DIR + '/index.jsx', output: { path: BUILD_DIR, filename: 'bundle.js' }, resolve: { extensions: ['.js', '.jsx', '.scss'], modules: [ 'node_modules' ] }, module : { loaders : [ { test : /\.jsx?/, include : APP_DIR, loader : 'babel-loader', query: { presets: ['es2015', 'react'] } }, { test: /\.css/, loader: "style-loader!css-loader" }, {test: /\.scss$/, loaders: [ 'style', 'css', 'sass' ]}, { test: /\.(png|jpg|)$/, loader: 'url-loader?limit=200000' }, { test: /\.(ttf|eot|woff|woff2)$/, loader: 'file-loader', options: { name: '../techbot_web/static/fonts/[name].[ext]', }, } ] } }; module.exports = config;
apy2017/Anaconda
ReactAdmin/webpack.config.js
JavaScript
mit
1,075
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>addition-chains: 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.0 / addition-chains - 0.4</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> addition-chains <small> 0.4 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-03-04 11:22:03 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-04 11:22:03 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.0 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.3 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;palmskog@gmail.com&quot; homepage: &quot;https://github.com/coq-community/hydra-battles&quot; dev-repo: &quot;git+https://github.com/coq-community/hydra-battles.git&quot; bug-reports: &quot;https://github.com/coq-community/hydra-battles/issues&quot; license: &quot;MIT&quot; synopsis: &quot;Exponentiation algorithms following addition chains&quot; description: &quot;&quot;&quot; Addition chains are algorithms for computations of the p-th power of some x, with the least number of multiplication as possible. We present a few implementations of addition chains, with proofs of their correctness&quot;&quot;&quot; build: [&quot;dune&quot; &quot;build&quot; &quot;-p&quot; name &quot;-j&quot; jobs] depends: [ &quot;dune&quot; {&gt;= &quot;2.5&quot;} &quot;coq&quot; {(&gt;= &quot;8.11&quot; &amp; &lt; &quot;8.14~&quot;) | (= &quot;dev&quot;)} &quot;coq-paramcoq&quot; {(&gt;= &quot;1.1.2&quot; &amp; &lt; &quot;1.2~&quot;) | (= &quot;dev&quot;)} &quot;coq-mathcomp-ssreflect&quot; {(&gt;= &quot;1.11.0&quot; &amp; &lt; &quot;1.13~&quot;) | (= &quot;dev&quot;)} &quot;coq-mathcomp-algebra&quot; ] tags: [ &quot;category:Mathematics/Combinatorics and Graph Theory&quot; &quot;keyword:addition chains&quot; &quot;keyword:exponentiation algorithms&quot; &quot;logpath:additions&quot; &quot;date:2021-05-19&quot; ] authors: [ &quot;Pierre Castéran&quot; &quot;Yves Bertot&quot; ] url { src: &quot;https://github.com/coq-community/hydra-battles/archive/v0.4.tar.gz&quot; checksum: &quot;sha256=bba82794e49e03fd82fcee592b2b037ec20669d10e6c47ed8b4f8a7f851756eb&quot; } </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-addition-chains.0.4 coq.8.7.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.7.0). The following dependencies couldn&#39;t be met: - coq-addition-chains -&gt; coq &gt;= dev -&gt; ocaml &gt;= 4.05.0 base of this switch (use `--unlock-base&#39; 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-addition-chains.0.4</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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.0/addition-chains/0.4.html
HTML
mit
7,434
/** * PipelineTimer * Keeps track of the time left for a HIT and updates the page as necessary. * onExpiration will be de-thunked when the timer expires. */ PipelineTimer.create = function(serverTimestamp, counterId, totalSeconds, endTime, onExpiration) { var offset = new ClientOffset(serverTimestamp); OnLoadHandler.functions.push(function() { var counter = document.getElementById(counterId); var timer = new PipelineTimer(offset, counter, totalSeconds, endTime, onExpiration); timer.start(); }); } function PipelineTimer(offset, counterElement, totalSeconds, endTime, onExpiration) { this.offset = offset; this.counterElement = counterElement; this.totalSeconds = totalSeconds; this.endTime = endTime; this.onExpiration = onExpiration; } PipelineTimer.prototype.start = function() { this.looping = true; this.loop(); } PipelineTimer.prototype.stop = function() { this.looping = false; } PipelineTimer.prototype.loop = function() { this.count(); if (this.looping) { var _this = this; setTimeout(function() { _this.loop() }, 1000); } } PipelineTimer.prototype.count = function() { var now = new Date(); var millisecondsRemaining = this.endTime.getTime() - now.getTime() + this.offset.getMilliseconds(); var secondsRemaining = Math.floor(millisecondsRemaining / 1000); if (secondsRemaining > 0) { var secondsElapsed = Math.max(totalSeconds - secondsRemaining, 0); this.setCounter(secondsElapsed); } else { this.onExpiration && this.onExpiration(); this.setCounter(this.totalSeconds); this.stop(); } } PipelineTimer.prototype.setCounter = function(seconds) { var counterValue = this.formatTime(seconds); this.counterElement.innerHTML = counterValue; this.counterElement.size = counterValue.length - 1; } PipelineTimer.prototype.formatTime = function(totalSeconds) { var seconds = totalSeconds % 60; var minutes = Math.floor(totalSeconds / 60) % 60; var hours = Math.floor(totalSeconds / (60 * 60)) % 24; var days = Math.floor(totalSeconds / (60 * 60 * 24)); var disp = " "; if (days > 0) { disp += days + (days == 1 ? ' day ' : ' days ') } disp += this.formatNumber(hours) + ':' + this.formatNumber(minutes) + ':' + this.formatNumber(seconds); return disp; } PipelineTimer.prototype.formatNumber = function(value) { var string = value + ''; if (string.length < 2) { string = '0' + string } return string; } /** * ClientOffset * Calculates the client's offset from the server's time */ ClientOffset.cookieName = 'clientOffset'; ClientOffset.loadDelayMilliseconds = 500; function ClientOffset(serverTimestamp) { var cookie = Cookie.get(ClientOffset.cookieName); if (cookie && cookie.value) { this.milliseconds = parseInt(cookie.value); if (!this.milliseconds) { cookie.remove() } } else { if (!serverTimestamp) { alert('No server timestamp was set!') } var serverGmtMilliseconds = parseInt(serverTimestamp); var clientGmtMilliseconds = (new Date()).getTime(); this.milliseconds = clientGmtMilliseconds - serverGmtMilliseconds - ClientOffset.loadDelayMilliseconds; Cookie.create(ClientOffset.cookieName, this.milliseconds); } } ClientOffset.prototype.getMilliseconds = function() { return this.milliseconds } /** * Cookie * Wrapper class for cookies */ Cookie.get = function(name, path, domain) { var prefix = name + "="; var begin = document.cookie.indexOf("; " + prefix); if (begin == -1) { begin = document.cookie.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; } var end = document.cookie.indexOf(";", begin); if (end == -1) { end = document.cookie.length; } var value = unescape(document.cookie.substring(begin + prefix.length, end)); return new Cookie(name, value, path, domain); } /** * Sets a Cookie with the given name and value. * * name Name of the cookie * value Value of the cookie * [expires] Expiration date of the cookie (default: end of current session) * [path] Path where the cookie is valid (default: path of calling document) * [domain] Domain where the cookie is valid * (default: domain of calling document) * [secure] Boolean value indicating if the cookie transmission requires a * secure transmission */ Cookie.create = function(name, value, expires, path, domain, secure) { document.cookie = name + '=' + escape(value) + (expires ? '; expires=' + expires.toGMTString() : '') + (path ? '; path=' + path : '') + (domain ? '; domain=' + domain : '') + (secure ? '; secure' : ''); return new Cookie(name, value, path, domain); } function Cookie(name, value, path, domain) { this.name = name; this.value = value; this.path = path; this.domain = domain; } Cookie.prototype.remove = function() { document.cookie = this.name + '=' + (this.path ? '; path=' + this.path : '') + (this.domain ? '; domain=' + this.domain : '') + '; expires=Thu, 01-Jan-70 00:00:01 GMT'; }
Milstein/crowdsource-platform
!@Standford HCI Crowdsourcing platform/Amazon Mechanical Turk_files/timer.js
JavaScript
mit
5,246
package com.socialthingy.plusf.spectrum.io; import com.socialthingy.plusf.spectrum.Model; public class MemoryPlus2A extends Memory128K { private boolean specialPagingMode = false; private int[] activeSpecialBanks = new int[4]; private int lastWriteTo0x1ffd = 0; MemoryPlus2A(final boolean addBankMarkerValues) { this(); if (addBankMarkerValues) { for (int i = 0; i < 8; i++) { ramBanks[i][0] = i; } } } public MemoryPlus2A() { super(Model.PLUS_2A); } @Override public boolean recognises(int low, int high) { return port0x7ffd(low, high) || port0x1ffd(low, high); } @Override public int read(int low, int high) { return 0xff; } @Override public void write(int low, int high, int value) { if (!pagingDisabled) { if (port0x7ffd(low, high)) { lastWriteTo0x7ffd = value; final int newHighPage = value & 0b00000111; final int newScreenPage = (value & 0b00001000) == 0 ? 5 : 7; final int newRomLowBitSelector = (value & 0b00010000) >> 4; activeHighBank = newHighPage; activeScreenBank = newScreenPage; activeRomBank = (activeRomBank & 0b10) | newRomLowBitSelector; pagingDisabled = (value & 0b00100000) != 0; } else if (port0x1ffd(low, high)) { lastWriteTo0x1ffd = value; specialPagingMode = (value & 0b1) == 1; if (specialPagingMode) { final int pagingSelector = (value & 0b110) >> 1; switch (pagingSelector) { case 0: activeSpecialBanks[ROM_PAGE] = 0; activeSpecialBanks[LOW_PAGE] = 1; activeSpecialBanks[MIDDLE_PAGE] = 2; activeSpecialBanks[HIGH_PAGE] = 3; break; case 1: activeSpecialBanks[ROM_PAGE] = 4; activeSpecialBanks[LOW_PAGE] = 5; activeSpecialBanks[MIDDLE_PAGE] = 6; activeSpecialBanks[HIGH_PAGE] = 7; break; case 2: activeSpecialBanks[ROM_PAGE] = 4; activeSpecialBanks[LOW_PAGE] = 5; activeSpecialBanks[MIDDLE_PAGE] = 6; activeSpecialBanks[HIGH_PAGE] = 3; break; case 3: activeSpecialBanks[ROM_PAGE] = 4; activeSpecialBanks[LOW_PAGE] = 7; activeSpecialBanks[MIDDLE_PAGE] = 6; activeSpecialBanks[HIGH_PAGE] = 3; break; } } else { final int newRomHighBitSelector = (value & 0b100) >> 1; activeRomBank = (activeRomBank & 0b01) | newRomHighBitSelector; } } } } @Override public int get(int addr) { if (specialPagingMode) { addr &= 0xffff; final int page = addr >> 14; final int offsetInPage = addr & 0x3fff; return ramBanks[activeSpecialBanks[page]][offsetInPage]; } else { return super.get(addr); } } @Override public void set(int addr, int value) { if (specialPagingMode) { addr &= 0xffff; final int page = addr >> 14; final int offsetInPage = addr & 0x3fff; if (activeScreenBank == activeSpecialBanks[page] && offsetInPage < 0x1b00) { writeToDisplayMemory(addr, value); } ramBanks[activeSpecialBanks[page]][offsetInPage] = value; } else { super.set(addr, value); } } @Override public boolean contendedAddress(int addr) { final int page = addr >> 14; if (specialPagingMode) { return activeSpecialBanks[page] >= 4; } else { switch (page) { case 0: return false; case 1: return activeScreenBank >= 4; case 2: return false; default: return activeHighBank >= 4; } } } public int getLastWriteTo0x1ffd() { return lastWriteTo0x1ffd; } private boolean port0x7ffd(final int low, final int high) { return (high & 0b11000000) == 0b01000000 && (low & 0b10) == 0b00; } private boolean port0x1ffd(final int low, final int high) { return (high & 0b11110000) == 0b00010000 && (low & 0b10) == 0b00; } }
alangibson27/plus-f
plus-f/src/main/java/com/socialthingy/plusf/spectrum/io/MemoryPlus2A.java
Java
mit
4,985
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a generar el código. // </auto-generated> //------------------------------------------------------------------------------ namespace AT.UserStory.Resources.String { using System; /// <summary> /// Clase de recurso fuertemente tipado, para buscar cadenas traducidas, etc. /// </summary> // StronglyTypedResourceBuilder generó automáticamente esta clase // a través de una herramienta como ResGen o Visual Studio. // Para agregar o quitar un miembro, edite el archivo .ResX y, a continuación, vuelva a ejecutar ResGen // con la opción /str o recompile su proyecto de VS. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resource { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resource() { } /// <summary> /// Devuelve la instancia de ResourceManager almacenada en caché utilizada por esta clase. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AT.UserStory.Resources.String.Resource", typeof(Resource).Assembly); resourceMan = temp; } return resourceMan; } } /// <summary> /// Reemplaza la propiedad CurrentUICulture del subproceso actual para todas las /// búsquedas de recursos mediante esta clase de recurso fuertemente tipado. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } set { resourceCulture = value; } } /// <summary> /// Busca una cadena traducida similar a http://demo.guru99.com/V4/index.php. /// </summary> internal static string URL_Index { get { return ResourceManager.GetString("URL_Index", resourceCulture); } } } }
NyoronDev/SeleniumWebDriverBasic
NyoronDev.SeleniumWebDriverBasic/AT.UserStory/Resources/String/Resource.Designer.cs
C#
mit
3,248
<!DOCTYPE html> <html> <head> <title>TrackSymbol example</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0/leaflet.css" /> </head> <body> <div id="map" style="width: 600px; height: 400px"></div> <script src="http://cdn.leafletjs.com/leaflet/v1.0.0/leaflet.js"></script> <script src="leaflet-tracksymbol.js"></script> <script> var course = 0.0; var position = L.latLng(54.15, 8.0); var map = L.map('map').setView(position, 10); var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; L.tileLayer(osmUrl, { maxZoom: 18 }).addTo(map); var ts = L.trackSymbol(position, { fill: true, stroke: true, speed: 10.0, course: course * Math.PI / 180.0, heading: course * Math.PI / 180.0, gpsRefPos: [100,100,20,20], radius: 3, fillColor: "#0000ff", color: "#000000", weight: 2, opacity: 1, fillOpacity: 1 }); ts.addTo(map); setInterval(function() { course += Math.PI * 10.0 / 180.0; ts.setCourse(course); ts.setHeading(course); }, 1000); </script> </body> </html>
lethexa/leaflet-tracksymbol
public/v1.0.html
HTML
mit
1,291
package fi.nls.oskari.control.myplaces.handler; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.List; import org.oskari.log.AuditLog; import org.json.JSONException; import org.json.JSONObject; import fi.nls.oskari.annotation.OskariActionRoute; import fi.nls.oskari.control.ActionDeniedException; import fi.nls.oskari.control.ActionException; import fi.nls.oskari.control.ActionParameters; import fi.nls.oskari.control.ActionParamsException; import fi.nls.oskari.control.RestActionHandler; import fi.nls.oskari.domain.User; import fi.nls.oskari.domain.map.MyPlace; import fi.nls.oskari.log.LogFactory; import fi.nls.oskari.log.Logger; import fi.nls.oskari.myplaces.MyPlacesService; import fi.nls.oskari.myplaces.service.MyPlacesFeaturesService; import fi.nls.oskari.myplaces.service.wfst.MyPlacesFeaturesServiceWFST; import fi.nls.oskari.myplaces.service.wfst.MyPlacesFeaturesWFSTRequestBuilder; import fi.nls.oskari.service.OskariComponentManager; import fi.nls.oskari.service.ServiceException; import fi.nls.oskari.util.IOHelper; import fi.nls.oskari.util.JSONHelper; import fi.nls.oskari.util.ResponseHelper; @OskariActionRoute("MyPlacesFeatures") public class MyPlacesFeaturesHandler extends RestActionHandler { private final static Logger LOG = LogFactory.getLogger(MyPlacesFeaturesHandler.class); private static final String PARAM_FEATURES = "features"; private static final String PARAM_CRS = "crs"; private static final String PARAM_LAYER_ID = "layerId"; private static final String JSKEY_DELETED = "deleted"; private MyPlacesService service; private MyPlacesFeaturesService featureService; @Override public void init() { super.init(); service = OskariComponentManager.getComponentOfType(MyPlacesService.class); featureService = new MyPlacesFeaturesServiceWFST(); } @Override public void preProcess(ActionParameters params) throws ActionException { params.requireLoggedInUser(); } @Override public void handleGet(ActionParameters params) throws ActionException { final User user = params.getUser(); final String crs = params.getHttpParam(PARAM_CRS, "EPSG:3067"); final String layerId = params.getHttpParam(PARAM_LAYER_ID); try { final JSONObject featureCollection; if (layerId != null && !layerId.isEmpty()) { LOG.debug("Get MyPlaces by layer id, uuid:", user.getUuid(), "layerId:", layerId, "crs:", crs); long categoryId = Long.parseLong(layerId); if (!service.canModifyCategory(user, categoryId)) { throw new ActionDeniedException( "Tried to GET features from category: " + categoryId); } featureCollection = featureService.getFeaturesByCategoryId(categoryId, crs); } else { LOG.debug("Get MyPlaces by user uuid, uuid:", user.getUuid(), "crs:", crs); featureCollection = featureService.getFeaturesByUserId(user.getUuid(), crs); } ResponseHelper.writeResponse(params, featureCollection); } catch (ServiceException e) { LOG.warn(e); throw new ActionException("Failed to get features"); } } @Override public void handlePost(ActionParameters params) throws ActionException { final User user = params.getUser(); final String crs = params.getHttpParam(PARAM_CRS, "EPSG:3067"); final List<MyPlace> places = readMyPlaces(params, false); checkUserCanUseModifyCategories(user, places); for (MyPlace place : places) { place.setUuid(user.getUuid()); } long[] ids; try { ids = featureService.insert(places); LOG.info("Inserted MyPlaces:", ids); } catch (ServiceException e) { LOG.warn(e); throw new ActionException("Failed to insert features"); } for (MyPlace place : places) { AuditLog.user(params.getClientIp(), params.getUser()) .withParam("id", place.getId()) .withParam("name", place.getName()) .added(AuditLog.ResourceType.MYPLACES); } try { ResponseHelper.writeResponse(params, featureService.getFeaturesByMyPlaceId(ids, crs)); } catch (ServiceException e) { LOG.warn(e); throw new ActionException("Failed to get features after insert"); } } @Override public void handlePut(ActionParameters params) throws ActionException { final User user = params.getUser(); final String crs = params.getHttpParam(PARAM_CRS, "EPSG:3067"); final List<MyPlace> places = readMyPlaces(params, true); checkUserCanModifyPlaces(user, places); for (MyPlace place : places) { place.setUuid(user.getUuid()); } long[] ids = places.stream().mapToLong(MyPlace::getId).toArray(); try { LOG.debug("Updating MyPlaces:", ids); int updated = featureService.update(places); LOG.info("Updated", updated, "/", places.size()); } catch (ServiceException e) { LOG.warn(e); throw new ActionException("Failed to update features"); } for (MyPlace place : places) { AuditLog.user(params.getClientIp(), params.getUser()) .withParam("id", place.getId()) .withParam("name", place.getName()) .updated(AuditLog.ResourceType.MYPLACES); } try { ResponseHelper.writeResponse(params, featureService.getFeaturesByMyPlaceId(ids, crs)); } catch (ServiceException e) { LOG.warn(e); throw new ActionException("Failed to get features after update"); } } @Override public void handleDelete(ActionParameters params) throws ActionException { final User user = params.getUser(); final String featureIds = params.getRequiredParam(PARAM_FEATURES); final long[] ids = Arrays.stream(featureIds.split(",")) .mapToLong(Long::parseLong) .toArray(); for (long id : ids) { if (!service.canModifyPlace(user, id)) { throw new ActionDeniedException("Tried to delete place: " + id); } } int deleted; try { LOG.debug("Deleting MyPlaces:", ids); deleted = featureService.delete(ids); LOG.info("Deleted", deleted, "/", ids.length); } catch (ServiceException e) { LOG.warn(e); throw new ActionException("Failed to delete features"); } AuditLog.user(params.getClientIp(), params.getUser()) .withParam("id", featureIds) .deleted(AuditLog.ResourceType.MYPLACES); JSONObject response = new JSONObject(); JSONHelper.putValue(response, JSKEY_DELETED, deleted); ResponseHelper.writeResponse(params, response); } private List<MyPlace> readMyPlaces(ActionParameters params, boolean checkId) throws ActionException { try { final String payload; try (InputStream in = params.getRequest().getInputStream()) { payload = IOHelper.readString(in); } catch (IOException e) { throw new ActionException("IOException occured"); } return MyPlacesFeaturesWFSTRequestBuilder.parseMyPlaces(payload, checkId); } catch (JSONException e) { throw new ActionParamsException("Invalid input", e); } } private void checkUserCanUseModifyCategories(User user, List<MyPlace> places) throws ActionDeniedException { long[] uniqueCategoryIds = places.stream() .mapToLong(MyPlace::getCategoryId) .distinct() .toArray(); for (long categoryId : uniqueCategoryIds) { if (!service.canModifyCategory(user, categoryId)) { throw new ActionDeniedException( "Tried to insert feature into category: " + categoryId); } } } private void checkUserCanModifyPlaces(User user, List<MyPlace> places) throws ActionDeniedException { for (MyPlace place : places) { if (!service.canModifyPlace(user, place.getId())) { throw new ActionDeniedException("User: " + user.getId() + " tried to modify place: " + place.getId()); } } } }
nls-oskari/oskari-server
control-myplaces/src/main/java/fi/nls/oskari/control/myplaces/handler/MyPlacesFeaturesHandler.java
Java
mit
8,803
webpackJsonp([60335399758886],{199:function(t,e){t.exports={data:{site:{siteMetadata:{title:"Ted"}}},layoutContext:{}}}}); //# sourceMappingURL=path----39eaccc68746c5e5b853.js.map
tedpark/tedpark.github.io
path----39eaccc68746c5e5b853.js
JavaScript
mit
179
package com.github.bartekdobija.omniture.metadata; public enum ColumnType { INT("int"), STRING("string"), LONG("long"), BIGINT("bigint"), FLOAT("float"), DOUBLE("double"), STRING_ARRAY("array<string>"), INT_ARRAY("array<int>"), LONG_ARRAY("array<long>"), FLOAT_ARRAY("array<float>"), TIMESTAMP("timestamp"), BOOLEAN("boolean"), STRING_MAP("map<string, string>"), INT_MAP("map<int, int>"), IS_MAP("map<int, string>"); public String name; ColumnType(String n) { name = n; } }
bartekdobija/omniture-clickstream
src/main/java/com/github/bartekdobija/omniture/metadata/ColumnType.java
Java
mit
518
#include <stdlib.h> #include <cstdio> #include <string.h> #include "data.h" #include "error.h" #include "options.h" tempStatInfo g_statInfo; void r_header::print(uint len) { printf(P_COLOR_RED "\nHeader (%d bytes):\n" P_COLOR_RESET, len); printf("\t%s\n\t%s\n\t%llu\n\t%f\n\t%f\n\t%u\n\t%ld\n", m_szMapName, m_szPlayerName, m_ulSteamID, m_fTickInterval, m_fRunTime, m_iRunFlags, m_iRunDate, m_iStartDif); } uint frameToColorString(char* buf, uint fnum, r_frame* prev, r_frame* cur) { bool diff = g_options.pDiffOpt; bool ignoreVecs = g_options.pIgnoreVecOpt; bool numericKeys = g_options.pNumericKeys; vec3 eyes, origin, offset; if (diff) { eyes.x = cur->m_angEyeAngles.x - prev->m_angEyeAngles.x; eyes.y = cur->m_angEyeAngles.y - prev->m_angEyeAngles.y; eyes.z = cur->m_angEyeAngles.z - prev->m_angEyeAngles.z; origin.x = cur->m_vPlayerOrigin.x - prev->m_vPlayerOrigin.x; origin.y = cur->m_vPlayerOrigin.y - prev->m_vPlayerOrigin.y; origin.z = cur->m_vPlayerOrigin.z - prev->m_vPlayerOrigin.z; offset.x = cur->m_vPlayerViewOffset.x - prev->m_vPlayerViewOffset.x; offset.y = cur->m_vPlayerViewOffset.y - prev->m_vPlayerViewOffset.y; offset.z = cur->m_vPlayerViewOffset.z - prev->m_vPlayerViewOffset.z; } else { eyes.x = cur->m_angEyeAngles.x; eyes.y = cur->m_angEyeAngles.y; eyes.z = cur->m_angEyeAngles.z; origin.x = cur->m_vPlayerOrigin.x; origin.y = cur->m_vPlayerOrigin.y; origin.z = cur->m_vPlayerOrigin.z; offset.x = cur->m_vPlayerViewOffset.x; offset.y = cur->m_vPlayerViewOffset.y; offset.z = cur->m_vPlayerViewOffset.z; } //Making these const supresses a warning //Seems like g++ is treating it as ' ' instead of " " since it's //only one byte. Thus char* is the wrong type, but it shouldn't be. const char* keymsg = " "; const char* dirmsg = " "; char transmsg[4] = " "; uint printed = 0; if (cur->meta.keyChanged) keymsg = P_COLOR_GREEN "*" P_COLOR_RESET; if (cur->meta.dirChanged) dirmsg = P_COLOR_GREEN "*" P_COLOR_RESET; if (cur->meta.transCompleted) { const char* tmp = (g_statInfo.transLen < 0 || g_statInfo.transLen > 9) ? "%d" : "%d "; sprintf(transmsg, tmp, g_statInfo.transLen); } printed += sprintf(buf + printed, "%s%s%s", keymsg, dirmsg, transmsg); printed += sprintf(buf + printed, P_COLOR_RED "Frame %d ", fnum); if (!ignoreVecs) { printed += sprintf(buf + printed, P_COLOR_RESET "%.2f %.2f %.2f", eyes.x, eyes.y, eyes.z); printed += sprintf(buf + printed, P_COLOR_CYAN " || " P_COLOR_RESET "%.2f %.2f %.2f", origin.x, origin.y, origin.z); printed += sprintf(buf + printed, P_COLOR_CYAN " || " P_COLOR_RESET "%.2f %.2f %.2f", offset.x, offset.y, offset.z); printed += sprintf(buf + printed, P_COLOR_CYAN " || "); } if (numericKeys) { printed += sprintf(buf + printed, P_COLOR_RESET "%d\n", cur->m_iPlayerButtons); } else { const char* a = cur->m_iPlayerButtons & IN_ATTACK ? "ATTACK " : ""; const char* b = cur->m_iPlayerButtons & IN_JUMP ? "JUMP " : ""; const char* c = cur->m_iPlayerButtons & IN_DUCK ? "DUCK " : ""; const char* d = cur->m_iPlayerButtons & IN_FORWARD ? "FORWARD " : ""; const char* e = cur->m_iPlayerButtons & IN_BACK ? "BACK " : ""; const char* f = cur->m_iPlayerButtons & IN_USE ? "USE " : ""; const char* g = cur->m_iPlayerButtons & IN_CANCEL ? "CANCEL " : ""; const char* h = cur->m_iPlayerButtons & IN_LEFT ? "LEFT " : ""; const char* i = cur->m_iPlayerButtons & IN_RIGHT ? "RIGHT " : ""; const char* j = cur->m_iPlayerButtons & IN_MOVELEFT ? "MOVELEFT " : ""; const char* k = cur->m_iPlayerButtons & IN_MOVERIGHT ? "MOVERIGHT " : ""; const char* l = cur->m_iPlayerButtons & IN_ATTACK2 ? "ATTACK2 " : ""; const char* m = cur->m_iPlayerButtons & IN_RUN ? "RUN " : ""; const char* n = cur->m_iPlayerButtons & IN_RELOAD ? "RELOAD " : ""; const char* o = cur->m_iPlayerButtons & IN_ALT1 ? "ALT1 " : ""; const char* p = cur->m_iPlayerButtons & IN_ALT2 ? "ALT2 " : ""; const char* q = cur->m_iPlayerButtons & IN_SCORE ? "SCORE " : ""; const char* r = cur->m_iPlayerButtons & IN_SPEED ? "SPEED " : ""; const char* s = cur->m_iPlayerButtons & IN_WALK ? "WALK " : ""; const char* t = cur->m_iPlayerButtons & IN_ZOOM ? "ZOOM " : ""; const char* u = cur->m_iPlayerButtons & IN_WEAPON1 ? "WEAPON1 " : ""; const char* v = cur->m_iPlayerButtons & IN_WEAPON2 ? "WEAPON2 " : ""; const char* w = cur->m_iPlayerButtons & IN_BULLRUSH ? "BULLRUSH " : ""; const char* x = cur->m_iPlayerButtons & IN_GRENADE1 ? "GRENADE1 " : ""; const char* y = cur->m_iPlayerButtons & IN_GRENADE2 ? "GRENADE2 " : ""; const char* z = cur->m_iPlayerButtons & IN_ATTACK3 ? "ATTACK3 " : ""; printed += sprintf(buf + printed, P_COLOR_RESET "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n", a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z); } return printed; } uint frameToString(char* buf, uint fnum, r_frame* prev, r_frame* cur) { bool diff = g_options.pDiffOpt; bool ignoreVecs = g_options.pIgnoreVecOpt; bool numericKeys = g_options.pNumericKeys; vec3 eyes, origin, offset; if (diff) { eyes.x = cur->m_angEyeAngles.x - prev->m_angEyeAngles.x; eyes.y = cur->m_angEyeAngles.y - prev->m_angEyeAngles.y; eyes.z = cur->m_angEyeAngles.z - prev->m_angEyeAngles.z; origin.x = cur->m_vPlayerOrigin.x - prev->m_vPlayerOrigin.x; origin.y = cur->m_vPlayerOrigin.y - prev->m_vPlayerOrigin.y; origin.z = cur->m_vPlayerOrigin.z - prev->m_vPlayerOrigin.z; offset.x = cur->m_vPlayerViewOffset.x - prev->m_vPlayerViewOffset.x; offset.y = cur->m_vPlayerViewOffset.y - prev->m_vPlayerViewOffset.y; offset.z = cur->m_vPlayerViewOffset.z - prev->m_vPlayerViewOffset.z; } else { eyes.x = cur->m_angEyeAngles.x; eyes.y = cur->m_angEyeAngles.y; eyes.z = cur->m_angEyeAngles.z; origin.x = cur->m_vPlayerOrigin.x; origin.y = cur->m_vPlayerOrigin.y; origin.z = cur->m_vPlayerOrigin.z; offset.x = cur->m_vPlayerViewOffset.x; offset.y = cur->m_vPlayerViewOffset.y; offset.z = cur->m_vPlayerViewOffset.z; } //Making these const supresses a warning //Seems like g++ is treating it as ' ' instead of " " since it's //only one byte. Thus char* is the wrong type, but it shouldn't be. const char* keymsg = " "; const char* dirmsg = " "; char transmsg[4] = " "; uint printed = 0; if (cur->meta.keyChanged) keymsg = "*" ; if (cur->meta.dirChanged) dirmsg = "*" ; if (cur->meta.transCompleted) { const char* tmp = (g_statInfo.transLen < 0 || g_statInfo.transLen > 9) ? "%d" : "%d "; sprintf(transmsg, tmp, g_statInfo.transLen); } printed += sprintf(buf + printed, "%s%s%s", keymsg, dirmsg, transmsg); printed += sprintf(buf + printed, "Frame %d ", fnum); if (!ignoreVecs) { printed += sprintf(buf + printed, "%.2f %.2f %.2f", eyes.x, eyes.y, eyes.z); printed += sprintf(buf + printed, " || " "%.2f %.2f %.2f", origin.x, origin.y, origin.z); printed += sprintf(buf + printed, " || " "%.2f %.2f %.2f", offset.x, offset.y, offset.z); printed += sprintf(buf + printed, " || "); } if (numericKeys) { printed += sprintf(buf + printed, "%d\n", cur->m_iPlayerButtons); } else { const char* a = cur->m_iPlayerButtons & IN_ATTACK ? "ATTACK " : ""; const char* b = cur->m_iPlayerButtons & IN_JUMP ? "JUMP " : ""; const char* c = cur->m_iPlayerButtons & IN_DUCK ? "DUCK " : ""; const char* d = cur->m_iPlayerButtons & IN_FORWARD ? "FORWARD " : ""; const char* e = cur->m_iPlayerButtons & IN_BACK ? "BACK " : ""; const char* f = cur->m_iPlayerButtons & IN_USE ? "USE " : ""; const char* g = cur->m_iPlayerButtons & IN_CANCEL ? "CANCEL " : ""; const char* h = cur->m_iPlayerButtons & IN_LEFT ? "LEFT " : ""; const char* i = cur->m_iPlayerButtons & IN_RIGHT ? "RIGHT " : ""; const char* j = cur->m_iPlayerButtons & IN_MOVELEFT ? "MOVELEFT " : ""; const char* k = cur->m_iPlayerButtons & IN_MOVERIGHT ? "MOVERIGHT " : ""; const char* l = cur->m_iPlayerButtons & IN_ATTACK2 ? "ATTACK2 " : ""; const char* m = cur->m_iPlayerButtons & IN_RUN ? "RUN " : ""; const char* n = cur->m_iPlayerButtons & IN_RELOAD ? "RELOAD " : ""; const char* o = cur->m_iPlayerButtons & IN_ALT1 ? "ALT1 " : ""; const char* p = cur->m_iPlayerButtons & IN_ALT2 ? "ALT2 " : ""; const char* q = cur->m_iPlayerButtons & IN_SCORE ? "SCORE " : ""; const char* r = cur->m_iPlayerButtons & IN_SPEED ? "SPEED " : ""; const char* s = cur->m_iPlayerButtons & IN_WALK ? "WALK " : ""; const char* t = cur->m_iPlayerButtons & IN_ZOOM ? "ZOOM " : ""; const char* u = cur->m_iPlayerButtons & IN_WEAPON1 ? "WEAPON1 " : ""; const char* v = cur->m_iPlayerButtons & IN_WEAPON2 ? "WEAPON2 " : ""; const char* w = cur->m_iPlayerButtons & IN_BULLRUSH ? "BULLRUSH " : ""; const char* x = cur->m_iPlayerButtons & IN_GRENADE1 ? "GRENADE1 " : ""; const char* y = cur->m_iPlayerButtons & IN_GRENADE2 ? "GRENADE2 " : ""; const char* z = cur->m_iPlayerButtons & IN_ATTACK3 ? "ATTACK3 " : ""; printed += sprintf(buf + printed, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n", a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z); } return printed; } //Throws out some undesireable key transition detections inline static bool EvaluateTransition_Keys(int dir, float dtAng, bool otherStatus) { if (!otherStatus) return true; else if (dir == IN_MOVERIGHT && dtAng <= 0) return true; else if (dir == IN_MOVELEFT && dtAng >= 0) return true; return false; } //Throws out some undesireable angle transition detections inline static bool EvaluateTransition_Ang(int keys, float dtAng, bool otherStatus) { if (!otherStatus) return true; else if (keys & IN_MOVERIGHT && !(keys & IN_MOVELEFT) && dtAng <= 0) return true; else if (keys & IN_MOVELEFT && !(keys & IN_MOVERIGHT) && dtAng >= 0) return true; return false; } void r_frame::discreteStatStep(r_frame* prev, uint tick) { float dtAng = m_angEyeAngles.y - prev->m_angEyeAngles.y; if (dtAng > 180.0) dtAng -= 360; else if (dtAng < -180.0) dtAng += 360; meta.dtAng = dtAng; if (!(m_iPlayerButtons & IN_MOVERIGHT && m_iPlayerButtons & IN_MOVELEFT)) { if (m_iPlayerButtons & IN_MOVELEFT) { if ((prev->m_iPlayerButtons & IN_MOVERIGHT && prev->m_iPlayerButtons & IN_MOVELEFT) || !(prev->m_iPlayerButtons & IN_MOVELEFT)) { g_statInfo.keyChanged = EvaluateTransition_Keys(IN_MOVELEFT, dtAng, g_statInfo.dirChanged); if (g_statInfo.keyChanged) { g_statInfo.keyTransTick = tick; meta.keyChanged = true; } else g_statInfo.dirChanged = false; } } else if (m_iPlayerButtons & IN_MOVERIGHT) { if ((prev->m_iPlayerButtons & IN_MOVERIGHT && prev->m_iPlayerButtons & IN_MOVELEFT) || !(prev->m_iPlayerButtons & IN_MOVERIGHT)) { g_statInfo.keyChanged = EvaluateTransition_Keys(IN_MOVERIGHT, dtAng, g_statInfo.dirChanged); if (g_statInfo.keyChanged) { g_statInfo.keyTransTick = tick; meta.keyChanged = true; } else g_statInfo.dirChanged = false; } } } if (dtAng != 0.0 && ((dtAng < 0.0 && prev->meta.dtAng > 0.0) || (dtAng > 0.0 && prev->meta.dtAng < 0.0) || prev->meta.dtAng == 0.0)) { g_statInfo.dirChanged = EvaluateTransition_Ang(m_iPlayerButtons, dtAng, g_statInfo.keyChanged); if (g_statInfo.dirChanged) { g_statInfo.angTransTick = tick; meta.dirChanged = true; } else g_statInfo.keyChanged = false; } if (g_statInfo.keyChanged && g_statInfo.dirChanged) { int t = g_statInfo.keyTransTick - g_statInfo.angTransTick; g_statInfo.keyChanged = false; g_statInfo.dirChanged = false; if (t > -26 && t < 26) { g_statInfo.transLen = t; meta.transCompleted = true; } } } void r_runStats::print() { printf(P_COLOR_RED "\nRun Stats block:"); for (uint i = 0; i < m_iTotalZones; ++i) { printf(P_COLOR_CYAN"\n Zone %d of %d%s\n" P_COLOR_RESET, i, m_iTotalZones, i ? "" : " (OVERALL)"); printf("\t%d\n\t%d\n\t%f\n\t%f\n\t%f\n\t%f\n\t%f\n\t%f\n\t%f\n\t%f\n\t%f\n\t%f\n\t%f\n\n", m_iZoneJumps[i], m_iZoneStrafes[i], m_flZoneStrafeSyncAvg[i], m_flZoneStrafeSync2Avg[i], m_flZoneEnterTime[i], m_flZoneTime[i], m_flZoneVelocityMax3D[i], m_flZoneVelocityMax2D[i], m_flZoneVelocityAvg3D[i], m_flZoneVelocityAvg2D[i], m_flZoneEnterSpeed3D[i], m_flZoneEnterSpeed2D[i], m_flZoneExitSpeed3D[i], m_flZoneExitSpeed2D[i]); } }
Nolan-O/ReplayTools
data.cpp
C++
mit
13,709
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qcert: 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.1 / qcert - 2.0.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> qcert <small> 2.0.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-10-02 09:47:12 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-02 09:47:12 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 coq 8.10.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: &quot;2.0&quot; name: &quot;coq-qcert&quot; version: &quot;2.0.0&quot; synopsis: &quot;Verified compiler for data-centric languages&quot; description: &quot;&quot;&quot; This is the Coq library for Q*cert, a platform for implementing and verifying data languages and compilers. It includes abstract syntax and semantics for several source query languages (OQL, SQL), for intermediate database representations (nested relational algebra and calculus), and correctness proofs for part of the compilation to JavaScript and Java. &quot;&quot;&quot; maintainer: &quot;Jerome Simeon &lt;jeromesimeon@me.com&gt;&quot; authors: [ &quot;Josh Auerbach &lt;&gt;&quot; &quot;Martin Hirzel &lt;&gt;&quot; &quot;Louis Mandel &lt;&gt;&quot; &quot;Avi Shinnar &lt;&gt;&quot; &quot;Jerome Simeon &lt;&gt;&quot; ] license: &quot;Apache-2.0&quot; homepage: &quot;https://querycert.github.io&quot; bug-reports: &quot;https://github.com/querycert/qcert/issues&quot; dev-repo: &quot;git+https://github.com/querycert/qcert&quot; build: [ [make &quot;configure&quot;] [make &quot;-j&quot; jobs name] [&quot;dune&quot; &quot;build&quot; &quot;-j&quot; jobs &quot;-p&quot; name] ] install: [ [make &quot;install-coqdev&quot;] ] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Qcert&quot;] depends: [ &quot;ocaml&quot; {&gt;= &quot;4.07.1&quot;} &quot;ocamlfind&quot; &quot;dune&quot; &quot;coq&quot; {&gt;= &quot;8.8.2&quot; &amp; &lt; &quot;8.9~&quot;} &quot;coq-flocq&quot; {&gt;= &quot;2.6.1&quot; &amp; &lt; &quot;3.0~&quot;} &quot;coq-jsast&quot; {&gt;= &quot;1.0.9&quot;} &quot;menhir&quot; &quot;base64&quot; &quot;uri&quot; &quot;calendar&quot; ] tags: [ &quot;keyword:databases&quot; &quot;keyword:queries&quot; &quot;keyword:relational&quot; &quot;keyword:compiler&quot; &quot;date:2020-07-24&quot; &quot;logpath:Qcert&quot; ] url { src: &quot;https://github.com/querycert/qcert/archive/v2.0.0.tar.gz&quot; checksum: &quot;d60d6633119e83362e5092e0c5b7b859&quot; } </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-qcert.2.0.0 coq.8.10.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.10.1). The following dependencies couldn&#39;t be met: - coq-qcert -&gt; ocaml &gt;= 4.07.1 base of this switch (use `--unlock-base&#39; 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-qcert.2.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.10.1/qcert/2.0.0.html
HTML
mit
7,607
#Region "License" ' The MIT License (MIT) ' ' Copyright (c) 2017 Richard L King (TradeWright Software Systems) ' ' 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. #End Region Imports BarUtils27 Imports TimeframeUtils27 Imports TradeWright.Trading.Utils.Charts.BarFormatters Public Class fApplyTemplate Private mTemplateManager As TemplateManager Private mTemplateableObject As ISupportsTemplates Friend Sub New(templateManager As TemplateManager, templateableObject As ISupportsTemplates) InitializeComponent() TemplateSelector1.Initialise(templateManager, templateableObject, False) mTemplateManager = templateManager mTemplateableObject = templateableObject End Sub Private Sub ApplyButton_Click(sender As Object, e As EventArgs) Handles ApplyButton.Click If Not TemplateSelector1.IsExistingTemplateSelected Then Me.Close() Else mTemplateableObject.LoadFromTemplate(TemplateSelector1.SelectedTemplate) End If Me.Close() End Sub Private Sub TemplateSelector1_PropertyChanged(sender As Object, e As System.ComponentModel.PropertyChangedEventArgs) Handles TemplateSelector1.PropertyChanged If e.PropertyName = "IsReady" Then ApplyButton.Enabled = TemplateSelector1.IsReady End If End Sub End Class
tradewright/tradebuild-platform.net
src/TradingUI/fApplyTemplate.vb
Visual Basic
mit
2,381
module kit.fields { export class PasswordUIField extends TextUIField { constructor(id: string, value: any, required?: boolean, readOnly?: boolean) { super(id, value, required, readOnly) this.inputTemplate = "ui-field-password-template" } } }
QuentinSup/KnockIT
v0.1.1/commons/fields/PasswordUIField.ts
TypeScript
mit
297
// Port of Flambe classes. // Flambe - Rapid game development // https://github.com/aduros/flambe/blob/master/LICENSE.txt namespace Bombe { public interface Behavior { float Update(float dt); bool IsComplete(); } }
Seven2Interactive/Bombe
Bombe/Animation/Behavior.cs
C#
mit
228
module.exports = { onInput: function (input) { this.state = { heading: input.heading || "", message: input.message || "", colors: input.colors || [] }; } };
marko-js/marko
packages/marko/test/components-browser/fixtures/component-replaceState/component.js
JavaScript
mit
187
#! /usr/bin/python # @author: wtie import subprocess import sys import time import argparse DIFF = False FIRST = [] def get_floating_ips(): sql = """SELECT fip.floating_ip_address FROM neutron.floatingips AS fip JOIN neutron.ports AS p JOIN neutron.securitygroupportbindings AS sgb JOIN neutron.securitygrouprules AS sgr JOIN ( SELECT ins.uuid , Count(p.id) AS count FROM nova.instances AS ins JOIN neutron.ports AS p where ins.uuid=p.device_id AND ins.deleted=0 AND ins.vm_state='active' AND ins.task_state IS NULL GROUP BY ins.uuid ) AS i WHERE fip.fixed_port_id=p.id AND p.admin_state_up=1 AND sgb.port_id=p.id AND sgb.security_group_id=sgr.security_group_id AND sgr.direction='ingress' AND sgr.protocol='icmp' AND sgr.remote_ip_prefix='0.0.0.0/0' AND p.device_id=i.uuid AND i.count=1;""" floating_ips = [ip for ip in subprocess.Popen( ["mysql", "-sNe", sql], stdout=subprocess.PIPE).communicate()[0].split("\n") if ip] return floating_ips def get_public_ips(net_uuid): if not net_uuid: return None sql = """SELECT ipa.ip_address FROM neutron.ports AS p JOIN neutron.ipallocations AS ipa JOIN neutron.securitygroupportbindings AS sgb JOIN neutron.securitygrouprules AS sgr JOIN ( SELECT ins.uuid , Count(p.id) AS count FROM nova.instances AS ins JOIN neutron.ports AS p where ins.uuid=p.device_id AND ins.deleted=0 AND ins.vm_state='active' AND ins.task_state IS NULL GROUP BY ins.uuid ) AS i WHERE ipa.network_id='""" + net_uuid + """' AND ipa.port_id=p.id AND p.admin_state_up=1 AND p.device_owner LIKE "compute:%" AND sgb.port_id=p.id AND sgb.security_group_id=sgr.security_group_id AND sgr.direction='ingress' AND sgr.protocol='icmp' AND sgr.remote_ip_prefix='0.0.0.0/0' AND p.device_id=i.uuid AND i.count=1;""" public_ips = [ip for ip in subprocess.Popen( ["mysql", "-sNe", sql], stdout=subprocess.PIPE).communicate()[0].split("\n") if ip] return public_ips def ping(ip): return subprocess.call(["ping", "-c", "1", "-w", "1", ip], stdout=subprocess.PIPE, stderr=subprocess.PIPE) def ping_loop(net_uuid=None): pingable_ips = get_public_ips(net_uuid) if net_uuid else [] pingable_ips += get_floating_ips() total = len(pingable_ips) fail_list = [] global DIFF global FIRST for ip in pingable_ips: if DIFF and FIRST and ip in FIRST: result = "?" else: result = ping(ip) sys.stdout.write(str(result)) sys.stdout.flush() if result == 1: fail_list.append(ip) #simple way to remove duplicate ips, need to improve fail_list = list(set(fail_list)) if DIFF: if FIRST: diff_list = [ip for ip in fail_list if ip not in FIRST] print "\n@DIFF: [%s] %s/%s: %s" % (total, len(diff_list), len(fail_list), diff_list) else: FIRST = fail_list print "\nFIRST: [%s] %s/%s: %s" % (total, len(fail_list), len(fail_list), fail_list) else: print "\n[%s] %s: %s" % (total, len(fail_list), fail_list) return fail_list def print_report(failed_map, least_interval): report = {} for ip in failed_map: if failed_map[ip] == 1: pass if failed_map[ip] in report: report[failed_map[ip]].append(ip) else: report[failed_map[ip]] = [ip] print "REPORT:\n" for count in report: outage = least_interval * (count - 1) print("~%s :\n %s\n" % (outage, report[count])) if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("--net_id", help="Include netwrok <net-id>") parser.add_argument("--diff", action="store_true", help="Only print diff ips compare with first round", default=False) args = parser.parse_args() public_network_uuid = args.net_id if args.net_id else None least_interval = 10 if args.diff: DIFF = True while True: try: start = time.time() print time.strftime("%x %X") failed_map = {} fail_list = ping_loop(public_network_uuid) for ip in fail_list: if ip in failed_map: failed_map[ip] += 1 else: failed_map[ip] = 1 end = time.time() if (end-start) < least_interval: time.sleep(least_interval - (end-start)) except KeyboardInterrupt: print_report(failed_map,least_interval) sys.exit(0)
TieWei/openstack-kit
openstackkit/ping_working_public.py
Python
mit
5,255
package qtrees; /** * Bitmap: A class for representing bitmap; * @author Sjaak Smetsers * @version 18-03-2015 */ public class Bitmap { // each bit is stored into an two dimensional array private final boolean[][] raster; private final int bmWidth, bmHeight; /** * Creates an empty bitmap of size width * height * @param width * @param height */ public Bitmap( int width, int height ) { raster = new boolean[width][height]; bmWidth = width; bmHeight = height; } /** * Gets a bit at the specified position * @param x: x coordinate * @param y: y coordinate */ public boolean getBit( int x, int y ) { return raster[x][y]; } /** * Sets a bit at the specified position * @param x: x coordinate * @param y: y coordinate * @param val: the bit value */ public void setBit( int x, int y, boolean val ){ raster[x][y] = val; } /** * Converts a bitmap into a string * 1 is represented by '*'; 0 by 'O' * @return the string representation */ @Override public String toString() { StringBuilder sb = new StringBuilder(); for (int y = 0; y < bmHeight; y++) { for (int x = 0; x < bmWidth; x++) { sb.append( raster[x][y] ? '*' : 'O' ); } sb.append( '\n' ); } return sb.toString(); } /** * @return the width of the bitmap */ public int getWidth() { return bmWidth; } /** * @return the height of the bitmap */ public int getHeight() { return bmHeight; } }
camilstaps/OO1415
Week8 Quadtrees/src/qtrees/Bitmap.java
Java
mit
1,773
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>equations: 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.2 / equations - 1.3+8.14</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> equations <small> 1.3+8.14 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-02-14 05:33:53 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-14 05:33:53 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 coq 8.11.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.9.3 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; authors: [ &quot;Matthieu Sozeau &lt;matthieu.sozeau@inria.fr&gt;&quot; &quot;Cyprien Mangin &lt;cyprien.mangin@m4x.org&gt;&quot; ] dev-repo: &quot;git+https://github.com/mattam82/Coq-Equations.git&quot; maintainer: &quot;matthieu.sozeau@inria.fr&quot; homepage: &quot;https://mattam82.github.io/Coq-Equations&quot; bug-reports: &quot;https://github.com/mattam82/Coq-Equations/issues&quot; license: &quot;LGPL-2.1-or-later&quot; synopsis: &quot;A function definition package for Coq&quot; description: &quot;&quot;&quot; Equations is a function definition plugin for Coq, that allows the definition of functions by dependent pattern-matching and well-founded, mutual or nested structural recursion and compiles them into core terms. It automatically derives the clauses equations, the graph of the function and its associated elimination principle. &quot;&quot;&quot; tags: [ &quot;keyword:dependent pattern-matching&quot; &quot;keyword:functional elimination&quot; &quot;category:Miscellaneous/Coq Extensions&quot; &quot;logpath:Equations&quot; ] build: [ [&quot;./configure.sh&quot; &quot;--enable-hott&quot; {coq-hott:installed}] [make &quot;-j%{jobs}%&quot;] ] install: [ [make &quot;install&quot;] ] run-test: [ [make &quot;test-suite&quot;] ] depends: [ &quot;coq&quot; {&gt;= &quot;8.14&quot; &amp; &lt; &quot;8.15~&quot;} &quot;ocamlfind&quot; {build} ] depopts: [ &quot;coq-hott&quot; {&gt;= &quot;8.13&quot; &amp; &lt; &quot;8.15~&quot;} ] url { src: &quot;https://github.com/mattam82/Coq-Equations/archive/refs/tags/v1.3-8.14.tar.gz&quot; checksum: &quot;sha512=dabd632e5e7407d58585da6cdb94ad1dc83deb495be0f784a2e12fa637314380e91cd8fdf9b296c99b4f8185b0b0bb1fce4e0b280a82f47540204f794e1473a9&quot; } </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-equations.1.3+8.14 coq.8.11.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.11.2). The following dependencies couldn&#39;t be met: - coq-equations -&gt; coq &gt;= 8.14 Your request can&#39;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-equations.1.3+8.14</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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.11.2/equations/1.3+8.14.html
HTML
mit
7,423
--- title: Restrictions on date part sidebar: flexberry-orm_sidebar keywords: Flexberry ORM, Constraints, ExternalLangDef summary: the Rules of formation restrictions on the year, month, day, hour, minute, particular date, time and day of the week, the parameters used toc: true permalink: en/fo_restriction-datetime.html lang: en autotranslated: true hash: 34a032d8c0032497c553526001ceeee4118ea31b849350b0a91ce463a66defb4 --- ## Restrictions on date part Restrictions on date part is used when you want to get data for part of the date. The function to retrieve parts of dates are available in [ExternalLangDef](fo_external-lang-def.html). In the examples below we will use the following code: ```csharp var langdef = ExternalLangDef.LanguageDef; var order = LoadingCustomizationStruct.GetSimpleStruct(typeof (Заказ), Заказ.Views.ЗаказL); ``` ### Limit for the year (funcYearPart) **Find orders placed in 2014.** The SQL statement looks like the following: ```sql SELECT * FROM [dbo].[Заказ] WHERE YEAR([ДатаВыдачи]) = 2014 ``` [ExternalLangDef](fo_external-lang-def.html) ```csharp order.LimitFunction = langdef.GetFunction(langdef.funcEQ, langdef.GetFunction(langdef.funcYearPart, new VariableDef(langdef.DateTimeType, Information.ExtractPropertyPath<Заказ>(x => x.ДатаВыдачи))), "2014"); ``` ### the limit for the month (funcMonthPart) **Find orders placed in may.** The SQL statement looks like the following: ```sql SELECT * FROM [dbo].[Заказ] WHERE Month([ДатаВыдачи]) = 05 ``` [ExternalLangDef](fo_external-lang-def.html) ```csharp order.LimitFunction = langdef.GetFunction(langdef.funcEQ, langdef.GetFunction(langdef.funcMonthPart, new VariableDef(langdef.DateTimeType, Information.ExtractPropertyPath<Заказ>(x => x.ДатаВыдачи))), "05"); ``` ### the Restriction on day (funcDayPart) **Find orders placed on the 13th.** The SQL statement looks like the following: ```sql SELECT * FROM [dbo].[Заказ] WHERE Day([ДатаВыдачи]) = 13 ``` [ExternalLangDef](fo_external-lang-def.html) ```csharp order.LimitFunction = langdef.GetFunction(langdef.funcEQ, langdef.GetFunction(langdef.funcDayPart, new VariableDef(langdef.DateTimeType, Information.ExtractPropertyPath<Заказ>(x => x.ДатаВыдачи))), "13"); ``` ### a limitation on the hours (funcHHPart) **Find orders placed at 10 am.** The SQL statement looks like the following: ```sql SELECT * FROM [dbo].[Заказ] WHERE DatePart(hh, [ДатаВыдачи]) = 10 ``` [ExternalLangDef](fo_external-lang-def.html) ```csharp order.LimitFunction = langdef.GetFunction(langdef.funcEQ, langdef.GetFunction(langdef.funcHHPart, new VariableDef(langdef.DateTimeType, Information.ExtractPropertyPath<Заказ>(x => x.ДатаВыдачи))), "10"); ``` ### Restriction on minutes (funcMIPart) **Find orders placed in 20 minutes.** The SQL statement looks like the following: ```sql SELECT * FROM [dbo].[Заказ] WHERE DatePart(MINUTE, [ДатаВыдачи]) = 20 ``` [ExternalLangDef](fo_external-lang-def.html) ```csharp order.LimitFunction = langdef.GetFunction(langdef.funcEQ, langdef.GetFunction(langdef.funcMIPart, new VariableDef(langdef.DateTimeType, Information.ExtractPropertyPath<Заказ>(x => x.ДатаВыдачи))), "20"); ``` If you want the exact time, the constraint will look like this: ```csharp order.LimitFunction = langdef.GetFunction( langdef.funcAND, langdef.GetFunction( langdef.funcEQ, langdef.GetFunction( langdef.funcHHPart, new VariableDef(langdef.DateTimeType, Information.ExtractPropertyPath<Заказ>(x => x.ДатаВыдачи))), 10), langdef.GetFunction( langdef.funcEQ, langdef.GetFunction( langdef.funcMIPart, new VariableDef(langdef.DateTimeType, Information.ExtractPropertyPath<Заказ>(x => x.ДатаВыдачи))), 20)); ``` ### a date Restriction (funcOnlyDate) **To bring those who have a birthday today.** ```csharp var langDef = new ExternalLangDef(); Function function = langDef.GetFunction(langDef.funcEQ, langDef.GetFunction(langDef.funcOnlyDate, new VariableDef(langDef.DateTimeType, Information.ExtractPropertyPath<Человек>(x => x.ДатаРождения))), langDef.GetFunction(langDef.funcOnlyDate, langDef.GetFunction("TODAY"))); ``` ### time Limit (funcOnlyDate) **Bring those born at 01:00:00.** ```csharp var langDef = new ExternalLangDef(); Function function = langDef.GetFunction(langDef.funcEQ, langDef.GetFunction(langDef.funcOnlyTime, new VariableDef(langDef.DateTimeType, Information.ExtractPropertyPath<Человек>(x => x.ДатаРождения))), langDef.GetFunction(langDef.funcOnlyTime, DateTime.Parse("01:00:00"))); ``` ### limit on the day of the week (funcDayOfWeek) Function to return day of week number. (1 = Monday, ..., 7 = Sunday) **Display only those numbers which fell on Monday.** ```csharp // Create a restriction object. lcs.LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Where parameter value 1 (=) to the value 2. ldef.funcEQ, // Option 1: get the date and convert it to a number. ldef.GetFunction( ldef.funcDayOfWeek, new VariableDef(ldef.DateTimeType, Information.ExtractPropertyPath<FullTypesMainAgregator>(x => x.PoleDateTime))), // Option 2. 1); ``` ### limit on the day of the week (funcDayOfWeekZeroBased) Function to return day of week number. (0 = Sunday, 1 = Monday, ...) **Find all orders that were made on Sunday.** ```csharp // Create a restriction object. LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Where parameter value 1 (=) to the value 2. ldef.funcEQ, // Option 1: Limit that from a "date" field, returns the day of the week. ldef.GetFunction(ldef.funcDayOfWeekZeroBased, new VariableDef(ldef.DateTimeType, Date)), // Option 2: Returning the day of the week number should be 0 (Sunday). 0) ``` <!-- ### a Limit on the difference of dates (funcDATEDIFF) **Example in development.** ### a limit on the number of days in the month (funcDaysInMonth) **Example in development.** !--> ### Full analogue of SQL functions dateadd (funcDateAdd) **Find all orders which have been made for all time, except for those which have been made over the last year.** ```csharp // Create a restriction object. LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Which parameter values 1 (<) the value of the parameter 2. ldef.funcL, // Parameter 1: the constraint that the from date field, date return the year value, which is increased by 1. ldef.GetFunction( ldef.funcDateAdd, // Full analog of the SQL dateadd function. ldef.GetFunction(ldef.paramYearDIFF), 1, new VariableDef(ldef.DateTimeType, Date)), // Option 2: Limit that from today's date, return the date only(without time). ldef.GetFunction(ldef.funcOnlyDate, DateTime.Now)); ``` ### Options for working with date ##### paramTODAY - option to get today's date **Find all orders which have been made over the past months ( ongoing).** ```csharp // Create the restriction object ("date"<=paramTODAY). LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Which parameter values 1 (<=) to the value 2. ldef.funcLEQ, // Parameter 1: the constraint that the from date field and return only the values of the month. ldef.GetFunction(ldef.funcMonthPart, new VariableDef(ldef.DateTimeType, Date)), // Option 2: Limit that from today's date, return only values for the month. ldef.GetFunction(ldef.funcMonthPart, ldef.GetFunction(ldef.paramTODAY))); ``` ##### paramYearDIFF parameter to get the value of year from the date **Find all orders which have been made for all time, except for those which have been made over the past year.** ```csharp // Create a restriction object. lcs.LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Which parameter values 1 (<) the value of the parameter 2. ldef.funcL, // Option 1: Limit that from a "date" field returns the year of date, which is increased by 1. ldef.GetFunction( ldef.funcDateAdd, ldef.GetFunction(ldef.paramYearDIFF), 1, new VariableDef(ldef.DateTimeType, Information.ExtractPropertyPath<FullTypesMainAgregator>(x => x.PoleDateTime))), // Option 2: Limit that from today's date, return the date only(without time). ldef.GetFunction(ldef.funcOnlyDate, DateTime.Now)); ``` ##### paramMonthDIFF parameter to retrieve the value of month from the date **Find all orders which have been made for all time, except for those which have been made over the last month.** ```csharp // Create a restriction object. lcs.LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Which parameter values 1 (<) the value of the parameter 2. ldef.funcL, // Option 1: Limit that from the field PoleDateTime returns the month value of the date, which is increased by 1. ldef.GetFunction( ldef.funcDateAdd, ldef.GetFunction(ldef.paramMonthDIFF), 1, new VariableDef(ldef.DateTimeType, Information.ExtractPropertyPath<FullTypesMainAgregator>(x => x.PoleDateTime))), // Option 2: Limit that from today's date, return the date only(without time). ldef.GetFunction(ldef.funcOnlyDate, DateTime.Now)); ``` ##### paramWeekDIFF parameter to retrieve the value of week from date **Find all orders which have been made for all time, except for those which have been made over the last week.** ```csharp // Create a restriction object. lcs.LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Which parameter values 1 (<) the value of the parameter 2. ldef.funcL, // Option 1: Limit that from the field PoleDateTime returns the week date that is increased by 1. ldef.GetFunction( ldef.funcDateAdd, ldef.GetFunction(ldef.paramWeekDIFF), 1, new VariableDef(ldef.DateTimeType, Information.ExtractPropertyPath<FullTypesMainAgregator>(x => x.PoleDateTime))), // Option 2: Limit that from today's date, return the date only(without time). ldef.GetFunction(ldef.funcOnlyDate, DateTime.Now)); ``` ##### paramQuarterDIFF parameter to retrieve the value of quarters from the date **Find all orders which have been made for all time, except for those which have been made over the last quarter.** ```csharp // Create a restriction object. lcs.LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Which parameter values 1 (<) the value of the parameter 2. ldef.funcL, // Option 1: Limit that from the field PoleDateTime returns quarter to date, which is increased by 1. ldef.GetFunction( ldef.funcDateAdd, ldef.GetFunction(ldef.paramQuarterDIFF), 1, new VariableDef(ldef.DateTimeType, Information.ExtractPropertyPath<FullTypesMainAgregator>(x => x.PoleDateTime))), // Option 2: Limit that from today's date, return the date only(without time). ldef.GetFunction(ldef.funcOnlyDate, DateTime.Now)); ``` ##### paramDayDIFF parameter to get the value of days from the date **Find all orders which have been made for all time, except for those which have been made over the past three days.** ```csharp // Create a restriction object. LimitFunction = // The constraint that the function returns a objects. ldef.GetFunction( // Which parameter values 1 (<) the value of the parameter 2. ldef.funcL, // Parameter 1: the Restriction that the Date is the days and their number increases by 3. ldef.GetFunction( ldef.funcDateAdd, // Full analog of the SQL dateadd function. ldef.GetFunction(ldef.paramDayDIFF), 3, new VariableDef(ldef.DateTimeType, Information.ExtractPropertyPath<FullTypesMainAgregator>(x => x.PoleDateTime))), // Option 2: Limit that from today's date, return the date only(without time). ldef.GetFunction(ldef.funcOnlyDate, DateTime.Now)); ```
Flexberry/flexberry.github.io
pages/products/flexberry-orm/query-language/fo_restriction-datetime.en.md
Markdown
mit
14,702
//---------------------------------------------------------------------------------- // File: NV/NvShaderMappings.h // SDK Version: v3.00 // Email: gameworks@nvidia.com // Site: http://developer.nvidia.com/ // // Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // * Neither the name of NVIDIA CORPORATION nor the names of its // contributors may be used to endorse or promote products derived // from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // //---------------------------------------------------------------------------------- #ifndef NV_SHADER_MAPPINGS_H #define NV_SHADER_MAPPINGS_H /// \file /// This file allows applications to use a single file to declare the uniforms in a /// GLSL shader AND C++ code. The idea is to declare the uniforms in one file that /// is included in both the shader code and the C++ code. This simplifies the use /// of Uniform Buffer Objects, and avoids having the C++ struct fall out of sync with /// the GLSL. Sync failures between C++ and GLSL can lead to difficult-to-track bugs #if defined(ANDROID) || defined(LINUX) #define ALIGN(a)__attribute__ ((aligned (a))) #else #define ALIGN(a) __declspec(align(a)) #endif namespace nv { // Matrices, must align to 4 vector (16 bytes) #define SDK_MAT4 ALIGN(16) nv::matrix4f ///@{ /// vectors. /// vectors, 4-tuples and 3-tuples must align to 16 bytes /// 2-vectors must align to 8 bytes #define SDK_VEC4 ALIGN(16) nv::vec4f #define SDK_VEC3 ALIGN(16) nv::vec3f #define SDK_VEC2 ALIGN(8) nv::vec2f #define ivec4 ALIGN(16) nv::vec4i #define ivec3 ALIGN(16) nv::vec3i #define ivec2 ALIGN(8) nv::vec2i #define uivec4 ALIGN(16) nv::vec4ui #define uivec3 ALIGN(16) nv::vec3ui #define uivec2 ALIGN(8) nv::vec2ui ///@} ///@{ /// scalars. /// uint can be a typedef /// bool needs special padding / alignment #define SDK_BOOL ALIGN(4) nv::boolClass #define uint unsigned int ///@} /// class to make uint look like bool to make GLSL packing rules happy struct boolClass { unsigned int _rep; boolClass() : _rep(false) {} boolClass( bool b) : _rep(b) {} operator bool() { return _rep == 0 ? false : true; } boolClass& operator=( bool b) { _rep = b; return *this; } }; }; #endif
centauroWaRRIor/VulkanSamples
ExternalLibraries/NvGameworksFramework/include/NV/NvShaderMappings.h
C
mit
3,537
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("BL Protector")] [assembly: AssemblyDescription("Blacklist Protector HTTP Module")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("ClinPhone")] [assembly: AssemblyProduct("BL Protector")] [assembly: AssemblyCopyright("Copyright © ClinPhone 2007")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("2ad50c44-fea1-410c-bce3-8d32d0e7face")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyFileVersion("1.0.0.0")]
simongh/BlacklistProtector
BL Protector/Properties/AssemblyInfo.cs
C#
mit
1,442
package main import ( "os" "os/exec" "syscall" ) func main() { binary, lookErr := exec.LookPath("service_1.bash") if lookErr != nil { panic(lookErr) } args := []string{""} env := os.Environ() execErr := syscall.Exec(binary, args, env) if execErr != nil { panic(execErr) } /* // START OMIT curl -d "hi https://europe-west1-cloud-functions-talk-22365.cloudfunctions.net/HelloWorld \ hi says 'Hello, World!'" \ https://europe-west1-cloud-functions-talk-22365.cloudfunctions.net/register // END OMIT */ }
stefanhans/go-present
slides/CloudFunctions/service_1.go
GO
mit
550
from gitbarry.reasons import start, finish, switch # , switch, publish REASONS = { 'start': start, 'finish': finish, 'switch': switch, # 'publish': publish, }
a1fred/git-barry
gitbarry/reasons/__init__.py
Python
mit
177
package mc.oceanica.command; import mc.oceanica.OceanicaStats; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftServer; import net.minecraft.util.text.TextComponentString; public class StatCommand extends CommandBase { private final OceanicaStats stats; public StatCommand(OceanicaStats stats) { this.stats=stats; } @Override public String getName() { return "chunkstat"; } @Override public String getUsage(ICommandSender sender) { return "chunkstat"; } @Override public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException { sender.sendMessage(new TextComponentString("Processed Chunks: " + stats.getChunksProcessed())); sender.sendMessage(new TextComponentString("Primary Seed Count: " + stats.getPrimarySeedCount())); sender.sendMessage(new TextComponentString("Secondary Seed Count: " + stats.getPrimarySeedCount())); sender.sendMessage(new TextComponentString("Kelp Count: " + stats.getKelpCount())); sender.sendMessage(new TextComponentString("Effective Primary Seed Density: " + ((double)stats.getPrimarySeedCount() / (double)stats.getChunksProcessed()))); sender.sendMessage(new TextComponentString("Effective Seconday Seed Density: " + ((double)stats.getSecondaryCount() / (double)stats.getChunksProcessed()))); sender.sendMessage(new TextComponentString("Effective Kelp Density: " + ((double)stats.getKelpCount() / (double)stats.getChunksProcessed()))); } }
soronthar/Oceanica
src/main/java/mc/oceanica/command/StatCommand.java
Java
mit
1,670
/* Keypad Styling */ .croc_ui_keypad { position:relative; } .croc_ui_keypad table { width:100%; height:100%; border-spacing:0px; } .croc_ui_keypad tr { height:25%; } .croc_ui_keypad td { width:33%; font-family:Arial; font-weight:bold; position: relative; padding:0.2em 0; } .croc_ui_keypad td .croc_ui_input_button { position: relative; width: 100%; height: 100%; border: 1px solid #c2d3cf; margin:-1px; background: rgb(255,255,255); /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxOCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZTdlY2ViIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); background: -moz-linear-gradient(top, rgba(255,255,255,1) 18%, rgba(231,236,235,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(18%,rgba(255,255,255,1)), color-stop(100%,rgba(231,236,235,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(255,255,255,1) 18%,rgba(231,236,235,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(255,255,255,1) 18%,rgba(231,236,235,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(255,255,255,1) 18%,rgba(231,236,235,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(255,255,255,1) 18%,rgba(231,236,235,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e7eceb',GradientType=0 ); /* IE6-8 */ color:#64857d; font-family:Arial; text-align:center; text-shadow:0 -1px 0 rgba(100,100,100,0.25); } .croc_ui_keypad td:first-child .croc_ui_input_button { border-radius:5px 0 0 5px; } .croc_ui_keypad td:last-child .croc_ui_input_button { border-radius:0 5px 5px 0; } .croc_ui_keypad td .croc_ui_input_button:hover { background: rgb(255,255,255); /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxOCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZjdmNWYyIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==); background: -moz-linear-gradient(top, rgba(255,255,255,1) 18%, rgba(247,245,242,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(18%,rgba(255,255,255,1)), color-stop(100%,rgba(247,245,242,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(255,255,255,1) 18%,rgba(247,245,242,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(255,255,255,1) 18%,rgba(247,245,242,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(255,255,255,1) 18%,rgba(247,245,242,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(255,255,255,1) 18%,rgba(247,245,242,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f5f2',GradientType=0 ); /* IE6-8 */ } .croc_ui_keypad td .croc_ui_input_button:active { background: rgb(231,236,235); /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U3ZWNlYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjgyJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); background: -moz-linear-gradient(top, rgba(231,236,235,1) 0%, rgba(255,255,255,1) 82%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(231,236,235,1)), color-stop(82%,rgba(255,255,255,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(231,236,235,1) 0%,rgba(255,255,255,1) 82%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(231,236,235,1) 0%,rgba(255,255,255,1) 82%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(231,236,235,1) 0%,rgba(255,255,255,1) 82%); /* IE10+ */ background: linear-gradient(to bottom, rgba(231,236,235,1) 0%,rgba(255,255,255,1) 82%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7eceb', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */ text-shadow:0 1px 0 rgba(100,100,100,0.25); } .croc_ui_keypad td .croc_ui_input_button .croc_tpl_main { position:absolute; top:50%; height:1em; width:100%; font-size: 1.5em; margin-top:-0.9em; } .croc_ui_keypad td .croc_ui_input_button .croc_tpl_alternate { position:absolute; top:50%; height:1em; width:100%; margin-top:0.4em; font-size:0.8em; }
crocodilertc/crocodile-rtc-examples
click-2-call/css/ui_keypad.css
CSS
mit
6,100
import { CdkCell, CdkCellDef, CdkColumnDef, CdkHeaderCell, CdkHeaderCellDef } from '@angular/cdk/table'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, ElementRef, HostBinding, Input, OnDestroy, OnInit, Optional, Renderer2, } from '@angular/core'; import { Subscription } from 'rxjs'; import { NovoLabelService } from '../../services/novo-label-service'; import { Helpers } from '../../utils/Helpers'; import { SimpleTableActionColumn, SimpleTableActionColumnOption, SimpleTableColumn } from './interfaces'; import { NovoSelection } from './sort'; /** Workaround for https://github.com/angular/angular/issues/17849 */ export const _NovoCellDef = CdkCellDef; export const _NovoHeaderCellDef = CdkHeaderCellDef; export const _NovoColumnDef = CdkColumnDef; export const _NovoHeaderCell = CdkHeaderCell; export const _NovoCell = CdkCell; @Directive({ selector: '[novoSimpleCellDef]', providers: [{ provide: CdkCellDef, useExisting: NovoSimpleCellDef }], }) export class NovoSimpleCellDef extends _NovoCellDef { // TODO: add explicit constructor } @Directive({ selector: '[novoSimpleHeaderCellDef]', providers: [{ provide: CdkHeaderCellDef, useExisting: NovoSimpleHeaderCellDef }], }) export class NovoSimpleHeaderCellDef extends _NovoHeaderCellDef { // TODO: add explicit constructor } @Directive({ selector: '[novoSimpleColumnDef]', providers: [{ provide: CdkColumnDef, useExisting: NovoSimpleColumnDef }], }) export class NovoSimpleColumnDef extends _NovoColumnDef { @Input('novoSimpleColumnDef') get name(): string { return this._name; } set name(name: string) { this._setNameInput(name); } /** * This has been extracted to a util because of TS 4 and VE. * View Engine doesn't support property rename inheritance. * TS 4.0 doesn't allow properties to override accessors or vice-versa. * @docs-private */ protected _setNameInput(value: string) { // If the directive is set without a name (updated programatically), then this setter will // trigger with an empty string and should not overwrite the programatically set value. if (value) { this._name = value; this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/gi, '-'); this._updateColumnCssClassName(); } } } @Directive({ selector: 'novo-simple-header-cell', }) export class NovoSimpleHeaderCell<T> extends _NovoHeaderCell implements OnInit { @HostBinding('attr.role') public role = 'columnheader'; @Input() public column: SimpleTableColumn<T>; constructor(columnDef: CdkColumnDef, private elementRef: ElementRef, private renderer: Renderer2) { super(columnDef, elementRef); renderer.setAttribute(elementRef.nativeElement, 'data-automation-id', `novo-column-header-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, `novo-column-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, 'novo-simple-header-cell'); } public ngOnInit(): void { if (this.column.width) { this.renderer.setStyle(this.elementRef.nativeElement, 'min-width', `${this.column.width}px`); this.renderer.setStyle(this.elementRef.nativeElement, 'max-width', `${this.column.width}px`); this.renderer.setStyle(this.elementRef.nativeElement, 'width', `${this.column.width}px`); } } } @Directive({ selector: 'novo-simple-empty-header-cell', }) export class NovoSimpleEmptyHeaderCell extends _NovoHeaderCell { @HostBinding('attr.role') public role = 'columnheader'; constructor(columnDef: CdkColumnDef, elementRef: ElementRef, renderer: Renderer2) { super(columnDef, elementRef); renderer.setAttribute(elementRef.nativeElement, 'data-automation-id', `novo-column-header-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, `novo-column-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, 'novo-simple-empty-header-cell'); } } @Component({ selector: 'novo-simple-checkbox-header-cell', template: `<novo-checkbox [(ngModel)]="selectAll" (ngModelChange)="toggle($event)"></novo-checkbox>`, }) export class NovoSimpleCheckboxHeaderCell extends _NovoHeaderCell implements OnDestroy { @HostBinding('attr.role') public role = 'columnheader'; public selectAll: boolean = false; private selectAllSubscription: Subscription; constructor( columnDef: CdkColumnDef, elementRef: ElementRef, renderer: Renderer2, ref: ChangeDetectorRef, @Optional() private _selection: NovoSelection, ) { super(columnDef, elementRef); renderer.setAttribute(elementRef.nativeElement, 'data-automation-id', `novo-checkbox-column-header-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, `novo-checkbox-column-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, 'novo-simple-checkbox-header-cell'); this.selectAllSubscription = _selection.novoSelectAllToggle.subscribe((value: boolean) => { this.selectAll = value; ref.markForCheck(); }); } public ngOnDestroy(): void { this.selectAllSubscription.unsubscribe(); } public toggle(value: boolean): void { this._selection.selectAll(value); } } @Component({ selector: 'novo-simple-cell', template: ` <span [class.clickable]="!!column.onClick" (click)="onClick($event)" #span>{{ column.renderer(row) }}</span> `, changeDetection: ChangeDetectionStrategy.OnPush, }) export class NovoSimpleCell<T> extends _NovoCell implements OnInit { @HostBinding('attr.role') public role = 'gridcell'; @Input() public row: any; @Input() public column: SimpleTableColumn<T>; constructor(columnDef: CdkColumnDef, private elementRef: ElementRef, private renderer: Renderer2) { super(columnDef, elementRef); renderer.setAttribute(elementRef.nativeElement, 'data-automation-id', `novo-column-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, `novo-column-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, 'novo-simple-cell'); } public ngOnInit(): void { if (this.column.customClass) { this.renderer.addClass(this.elementRef.nativeElement, this.column.customClass(this.row)); } if (this.column.width) { this.renderer.setStyle(this.elementRef.nativeElement, 'min-width', `${this.column.width}px`); this.renderer.setStyle(this.elementRef.nativeElement, 'max-width', `${this.column.width}px`); this.renderer.setStyle(this.elementRef.nativeElement, 'width', `${this.column.width}px`); // TODO - this inhibits resizing the page after the initial load -- but do we care?!?! // this.renderer.setStyle(this.spanElement.nativeElement, 'min-width', `${this.column.width - 20}px`); // this.renderer.setStyle(this.spanElement.nativeElement, 'max-width', `${this.column.width - 20}px`); // this.renderer.setStyle(this.spanElement.nativeElement, 'width', `${this.column.width - 20}px`); } // else { // // TODO - this inhibits resizing the page after the initial load -- but do we care?!?! // this.renderer.setStyle(this.spanElement.nativeElement, 'min-width', `${this.elementRef.nativeElement.offsetWidth - 20}px`); // this.renderer.setStyle(this.spanElement.nativeElement, 'max-width', `${this.elementRef.nativeElement.offsetWidth - 20}px`); // this.renderer.setStyle(this.spanElement.nativeElement, 'width', `${this.elementRef.nativeElement.offsetWidth - 20}px`); // } } public onClick(event: MouseEvent): void { Helpers.swallowEvent(event); if (this.column.onClick) { this.column.onClick(this.row); } return; } } @Component({ selector: 'novo-simple-checkbox-cell', template: ` <novo-checkbox [ngModel]="selected" (ngModelChange)="toggle($event)"></novo-checkbox> `, }) export class NovoSimpleCheckboxCell extends _NovoCell implements OnDestroy, OnInit { @HostBinding('attr.role') public role = 'gridcell'; @Input() public row: any; @Input() public index: any; public selected: boolean = false; private selectAllSubscription: Subscription; constructor(public columnDef: CdkColumnDef, elementRef: ElementRef, renderer: Renderer2, @Optional() public _selection: NovoSelection) { super(columnDef, elementRef); renderer.setAttribute(elementRef.nativeElement, 'data-automation-id', `novo-checkbox-column-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, `novo-checkbox-column-${columnDef.cssClassFriendlyName}`); renderer.addClass(elementRef.nativeElement, 'novo-simple-checkbox-cell'); this.selectAllSubscription = _selection.novoSelectAllToggle.subscribe((value: boolean) => { this.selected = value; }); } public ngOnInit(): void { this._selection.register(this.row.id || this.index, this.row); this.selected = this._selection.state.selectedRows.has(this.row.id || this.index); } public ngOnDestroy(): void { this._selection.deregister(this.row.id || this.index); this.selectAllSubscription.unsubscribe(); } public toggle(value: boolean): void { this._selection.toggle(this.row.id || this.index, value, this.row); } } @Component({ selector: 'novo-simple-action-cell', template: ` <ng-container *ngIf="!column.options"> <novo-button theme="icon" [icon]="column.icon" (click)="column.onClick(row)" [disabled]="isDisabled(column, row)"></novo-button> </ng-container> <ng-container *ngIf="column.options"> <novo-dropdown parentScrollSelector=".novo-simple-table" containerClass="novo-table-dropdown-cell"> <novo-button type="button" theme="dialogue" icon="collapse" inverse>{{ column.label || labels.actions }}</novo-button> <list> <item *ngFor="let option of column.options" (action)="option.onClick(row)" [disabled]="isDisabled(option, row)"> <span [attr.data-automation-id]="option.label">{{ option.label }}</span> </item> </list> </novo-dropdown> </ng-container> `, changeDetection: ChangeDetectionStrategy.OnPush, }) export class NovoSimpleActionCell<T> extends _NovoCell implements OnInit { @HostBinding('attr.role') public role = 'gridcell'; @Input() public row: T; @Input() public column: SimpleTableActionColumn<T>; constructor(columnDef: CdkColumnDef, private elementRef: ElementRef, private renderer: Renderer2, public labels: NovoLabelService) { super(columnDef, elementRef); renderer.setAttribute(elementRef.nativeElement, 'data-automation-id', `novo-action-column-${columnDef.cssClassFriendlyName}`); } public ngOnInit(): void { if (this.column.options) { this.renderer.addClass(this.elementRef.nativeElement, 'novo-simple-dropdown-cell'); } else { this.renderer.addClass(this.elementRef.nativeElement, 'novo-simple-button-cell'); } } public isDisabled(check: SimpleTableActionColumn<T> | SimpleTableActionColumnOption<T>, row: T): boolean { if (check.disabled === true) { return true; } if (check.disabledCheck) { return check.disabledCheck(row); } return false; } }
bullhorn/novo-elements
projects/novo-elements/src/elements/simple-table/cell.ts
TypeScript
mit
11,223
<html><body> <h4>Windows 10 x64 (19042.610)</h4><br> <h2>_DBGKD_READ_MEMORY32</h2> <font face="arial"> +0x000 TargetBaseAddress : Uint4B<br> +0x004 TransferCount : Uint4B<br> +0x008 ActualBytesRead : Uint4B<br> </font></body></html>
epikcraw/ggool
public/Windows 10 x64 (19042.610)/_DBGKD_READ_MEMORY32.html
HTML
mit
250
import { setData } from '@progress/kendo-angular-intl'; setData({ name: "es-HN", identity: { language: "es", territory: "HN" }, territory: "HN", numbers: { symbols: { decimal: ".", group: ",", list: ";", percentSign: "%", plusSign: "+", minusSign: "-", exponential: "E", superscriptingExponent: "×", perMille: "‰", infinity: "∞", nan: "NaN", timeSeparator: ":" }, decimal: { patterns: [ "n" ], groupSize: [ 3 ] }, scientific: { patterns: [ "nEn" ], groupSize: [] }, percent: { patterns: [ "n %" ], groupSize: [ 3 ] }, currency: { patterns: [ "$n" ], groupSize: [ 3 ], "unitPattern-count-one": "n $", "unitPattern-count-other": "n $" }, accounting: { patterns: [ "$n" ], groupSize: [ 3 ] }, currencies: { ADP: { displayName: "peseta andorrana", "displayName-count-one": "peseta andorrana", "displayName-count-other": "pesetas andorranas", symbol: "ADP" }, AED: { displayName: "dírham de los Emiratos Árabes Unidos", "displayName-count-one": "dírham de los Emiratos Árabes Unidos", "displayName-count-other": "dírhams de los Emiratos Árabes Unidos", symbol: "AED" }, AFA: { displayName: "afgani (1927–2002)", symbol: "AFA" }, AFN: { displayName: "afgani", "displayName-count-one": "afgani", "displayName-count-other": "afganis", symbol: "AFN" }, ALL: { displayName: "lek", "displayName-count-one": "lek", "displayName-count-other": "lekes", symbol: "ALL" }, AMD: { displayName: "dram armenio", "displayName-count-one": "dram", "displayName-count-other": "drams", symbol: "AMD" }, ANG: { displayName: "florín de las Antillas Neerlandesas", "displayName-count-one": "florín de las Antillas Neerlandesas", "displayName-count-other": "florines de las Antillas Neerlandesas", symbol: "ANG" }, AOA: { displayName: "kuanza", "displayName-count-one": "kuanza", "displayName-count-other": "kuanzas", symbol: "AOA", "symbol-alt-narrow": "Kz" }, AOK: { displayName: "kwanza angoleño (1977–1990)", symbol: "AOK" }, AON: { displayName: "nuevo kwanza angoleño (1990–2000)", symbol: "AON" }, AOR: { displayName: "kwanza reajustado angoleño (1995–1999)", symbol: "AOR" }, ARA: { displayName: "austral argentino", "displayName-count-one": "austral argentino", "displayName-count-other": "australes argentinos", symbol: "ARA" }, ARL: { displayName: "ARL", symbol: "ARL" }, ARM: { displayName: "ARM", symbol: "ARM" }, ARP: { displayName: "peso argentino (1983–1985)", "displayName-count-one": "peso argentino (ARP)", "displayName-count-other": "pesos argentinos (ARP)", symbol: "ARP" }, ARS: { displayName: "peso argentino", "displayName-count-one": "peso argentino", "displayName-count-other": "pesos argentinos", symbol: "ARS", "symbol-alt-narrow": "$" }, ATS: { displayName: "chelín austriaco", "displayName-count-one": "chelín austriaco", "displayName-count-other": "chelines austriacos", symbol: "ATS" }, AUD: { displayName: "dólar australiano", "displayName-count-one": "dólar australiano", "displayName-count-other": "dólares australianos", symbol: "AUD", "symbol-alt-narrow": "$" }, AWG: { displayName: "florín arubeño", "displayName-count-one": "florín arubeño", "displayName-count-other": "florines arubeños", symbol: "AWG" }, AZM: { displayName: "manat azerí (1993–2006)", symbol: "AZM" }, AZN: { displayName: "manat azerí", "displayName-count-one": "manat azerí", "displayName-count-other": "manat azeríes", symbol: "AZN" }, BAD: { displayName: "dinar bosnio", "displayName-count-one": "dinar bosnio", "displayName-count-other": "dinares bosnios", symbol: "BAD" }, BAM: { displayName: "marco convertible de Bosnia-Herzegovina", "displayName-count-one": "marco convertible de Bosnia-Herzegovina", "displayName-count-other": "marcos convertibles de Bosnia-Herzegovina", symbol: "BAM", "symbol-alt-narrow": "KM" }, BAN: { displayName: "BAN", symbol: "BAN" }, BBD: { displayName: "dólar barbadense", "displayName-count-one": "dólar barbadense", "displayName-count-other": "dólares barbadenses", symbol: "BBD", "symbol-alt-narrow": "$" }, BDT: { displayName: "taka", "displayName-count-one": "taka", "displayName-count-other": "takas", symbol: "BDT", "symbol-alt-narrow": "৳" }, BEC: { displayName: "franco belga (convertible)", "displayName-count-one": "franco belga (convertible)", "displayName-count-other": "francos belgas (convertibles)", symbol: "BEC" }, BEF: { displayName: "franco belga", "displayName-count-one": "franco belga", "displayName-count-other": "francos belgas", symbol: "BEF" }, BEL: { displayName: "franco belga (financiero)", "displayName-count-one": "franco belga (financiero)", "displayName-count-other": "francos belgas (financieros)", symbol: "BEL" }, BGL: { displayName: "lev fuerte búlgaro", "displayName-count-one": "lev fuerte búlgaro", "displayName-count-other": "leva fuertes búlgaros", symbol: "BGL" }, BGM: { displayName: "BGM", symbol: "BGM" }, BGN: { displayName: "lev búlgaro", "displayName-count-one": "lev búlgaro", "displayName-count-other": "leva búlgaros", symbol: "BGN" }, BGO: { displayName: "BGO", symbol: "BGO" }, BHD: { displayName: "dinar bahreiní", "displayName-count-one": "dinar bahreiní", "displayName-count-other": "dinares bahreiníes", symbol: "BHD" }, BIF: { displayName: "franco burundés", "displayName-count-one": "franco burundés", "displayName-count-other": "francos burundeses", symbol: "BIF" }, BMD: { displayName: "dólar de Bermudas", "displayName-count-one": "dólar de Bermudas", "displayName-count-other": "dólares de Bermudas", symbol: "BMD", "symbol-alt-narrow": "$" }, BND: { displayName: "dólar bruneano", "displayName-count-one": "dólar bruneano", "displayName-count-other": "dólares bruneanos", symbol: "BND", "symbol-alt-narrow": "$" }, BOB: { displayName: "boliviano", "displayName-count-one": "boliviano", "displayName-count-other": "bolivianos", symbol: "BOB", "symbol-alt-narrow": "Bs" }, BOL: { displayName: "BOL", symbol: "BOL" }, BOP: { displayName: "peso boliviano", "displayName-count-one": "peso boliviano", "displayName-count-other": "pesos bolivianos", symbol: "BOP" }, BOV: { displayName: "MVDOL boliviano", "displayName-count-one": "MVDOL boliviano", "displayName-count-other": "MVDOL bolivianos", symbol: "BOV" }, BRB: { displayName: "nuevo cruceiro brasileño (1967–1986)", "displayName-count-one": "nuevo cruzado brasileño (BRB)", "displayName-count-other": "nuevos cruzados brasileños (BRB)", symbol: "BRB" }, BRC: { displayName: "cruzado brasileño", "displayName-count-one": "cruzado brasileño", "displayName-count-other": "cruzados brasileños", symbol: "BRC" }, BRE: { displayName: "cruceiro brasileño (1990–1993)", "displayName-count-one": "cruceiro brasileño (BRE)", "displayName-count-other": "cruceiros brasileños (BRE)", symbol: "BRE" }, BRL: { displayName: "real brasileño", "displayName-count-one": "real brasileño", "displayName-count-other": "reales brasileños", symbol: "BRL", "symbol-alt-narrow": "R$" }, BRN: { displayName: "nuevo cruzado brasileño", "displayName-count-one": "nuevo cruzado brasileño", "displayName-count-other": "nuevos cruzados brasileños", symbol: "BRN" }, BRR: { displayName: "cruceiro brasileño", "displayName-count-one": "cruceiro brasileño", "displayName-count-other": "cruceiros brasileños", symbol: "BRR" }, BRZ: { displayName: "BRZ", symbol: "BRZ" }, BSD: { displayName: "dólar bahameño", "displayName-count-one": "dólar bahameño", "displayName-count-other": "dólares bahameños", symbol: "BSD", "symbol-alt-narrow": "$" }, BTN: { displayName: "gultrum", "displayName-count-one": "gultrum", "displayName-count-other": "gultrums", symbol: "BTN" }, BUK: { displayName: "kyat birmano", "displayName-count-one": "kyat birmano", "displayName-count-other": "kyat birmanos", symbol: "BUK" }, BWP: { displayName: "pula", "displayName-count-one": "pula", "displayName-count-other": "pulas", symbol: "BWP", "symbol-alt-narrow": "P" }, BYB: { displayName: "nuevo rublo bielorruso (1994–1999)", "displayName-count-one": "nuevo rublo bielorruso", "displayName-count-other": "nuevos rublos bielorrusos", symbol: "BYB" }, BYN: { displayName: "rublo bielorruso", "displayName-count-one": "rublo bielorruso", "displayName-count-other": "rublos bielorrusos", symbol: "BYN", "symbol-alt-narrow": "р." }, BYR: { displayName: "rublo bielorruso (2000–2016)", "displayName-count-one": "rublo bielorruso (2000–2016)", "displayName-count-other": "rublos bielorrusos (2000–2016)", symbol: "BYR" }, BZD: { displayName: "dólar beliceño", "displayName-count-one": "dólar beliceño", "displayName-count-other": "dólares beliceños", symbol: "BZD", "symbol-alt-narrow": "$" }, CAD: { displayName: "dólar canadiense", "displayName-count-one": "dólar canadiense", "displayName-count-other": "dólares canadienses", symbol: "CAD", "symbol-alt-narrow": "$" }, CDF: { displayName: "franco congoleño", "displayName-count-one": "franco congoleño", "displayName-count-other": "francos congoleños", symbol: "CDF" }, CHE: { displayName: "euro WIR", "displayName-count-one": "euro WIR", "displayName-count-other": "euros WIR", symbol: "CHE" }, CHF: { displayName: "franco suizo", "displayName-count-one": "franco suizo", "displayName-count-other": "francos suizos", symbol: "CHF" }, CHW: { displayName: "franco WIR", "displayName-count-one": "franco WIR", "displayName-count-other": "francos WIR", symbol: "CHW" }, CLE: { displayName: "CLE", symbol: "CLE" }, CLF: { displayName: "unidad de fomento chilena", "displayName-count-one": "unidad de fomento chilena", "displayName-count-other": "unidades de fomento chilenas", symbol: "CLF" }, CLP: { displayName: "peso chileno", "displayName-count-one": "peso chileno", "displayName-count-other": "pesos chilenos", symbol: "CLP", "symbol-alt-narrow": "$" }, CNY: { displayName: "yuan", "displayName-count-one": "yuan", "displayName-count-other": "yuanes", symbol: "CNY", "symbol-alt-narrow": "¥" }, COP: { displayName: "peso colombiano", "displayName-count-one": "peso colombiano", "displayName-count-other": "pesos colombianos", symbol: "COP", "symbol-alt-narrow": "$" }, COU: { displayName: "unidad de valor real colombiana", "displayName-count-one": "unidad de valor real", "displayName-count-other": "unidades de valor reales", symbol: "COU" }, CRC: { displayName: "colón costarricense", "displayName-count-one": "colón costarricense", "displayName-count-other": "colones costarricenses", symbol: "CRC", "symbol-alt-narrow": "₡" }, CSD: { displayName: "antiguo dinar serbio", "displayName-count-one": "antiguo dinar serbio", "displayName-count-other": "antiguos dinares serbios", symbol: "CSD" }, CSK: { displayName: "corona fuerte checoslovaca", "displayName-count-one": "corona fuerte checoslovaca", "displayName-count-other": "coronas fuertes checoslovacas", symbol: "CSK" }, CUC: { displayName: "peso cubano convertible", "displayName-count-one": "peso cubano convertible", "displayName-count-other": "pesos cubanos convertibles", symbol: "CUC", "symbol-alt-narrow": "$" }, CUP: { displayName: "peso cubano", "displayName-count-one": "peso cubano", "displayName-count-other": "pesos cubanos", symbol: "CUP", "symbol-alt-narrow": "$" }, CVE: { displayName: "escudo de Cabo Verde", "displayName-count-one": "escudo de Cabo Verde", "displayName-count-other": "escudos de Cabo Verde", symbol: "CVE" }, CYP: { displayName: "libra chipriota", "displayName-count-one": "libra chipriota", "displayName-count-other": "libras chipriotas", symbol: "CYP" }, CZK: { displayName: "corona checa", "displayName-count-one": "corona checa", "displayName-count-other": "coronas checas", symbol: "CZK", "symbol-alt-narrow": "Kč" }, DDM: { displayName: "ostmark de Alemania del Este", "displayName-count-one": "marco de la República Democrática Alemana", "displayName-count-other": "marcos de la República Democrática Alemana", symbol: "DDM" }, DEM: { displayName: "marco alemán", "displayName-count-one": "marco alemán", "displayName-count-other": "marcos alemanes", symbol: "DEM" }, DJF: { displayName: "franco yibutiano", "displayName-count-one": "franco yibutiano", "displayName-count-other": "francos yibutianos", symbol: "DJF" }, DKK: { displayName: "corona danesa", "displayName-count-one": "corona danesa", "displayName-count-other": "coronas danesas", symbol: "DKK", "symbol-alt-narrow": "kr" }, DOP: { displayName: "peso dominicano", "displayName-count-one": "peso dominicano", "displayName-count-other": "pesos dominicanos", symbol: "DOP", "symbol-alt-narrow": "$" }, DZD: { displayName: "dinar argelino", "displayName-count-one": "dinar argelino", "displayName-count-other": "dinares argelinos", symbol: "DZD" }, ECS: { displayName: "sucre ecuatoriano", "displayName-count-one": "sucre ecuatoriano", "displayName-count-other": "sucres ecuatorianos", symbol: "ECS" }, ECV: { displayName: "unidad de valor constante (UVC) ecuatoriana", "displayName-count-one": "unidad de valor constante (UVC) ecuatoriana", "displayName-count-other": "unidades de valor constante (UVC) ecuatorianas", symbol: "ECV" }, EEK: { displayName: "corona estonia", "displayName-count-one": "corona estonia", "displayName-count-other": "coronas estonias", symbol: "EEK" }, EGP: { displayName: "libra egipcia", "displayName-count-one": "libra egipcia", "displayName-count-other": "libras egipcias", symbol: "EGP", "symbol-alt-narrow": "E£" }, ERN: { displayName: "nafka", "displayName-count-one": "nakfa", "displayName-count-other": "nakfas", symbol: "ERN" }, ESA: { displayName: "peseta española (cuenta A)", "displayName-count-one": "peseta española (cuenta A)", "displayName-count-other": "pesetas españolas (cuenta A)", symbol: "ESA" }, ESB: { displayName: "peseta española (cuenta convertible)", "displayName-count-one": "peseta española (cuenta convertible)", "displayName-count-other": "pesetas españolas (cuenta convertible)", symbol: "ESB" }, ESP: { displayName: "peseta española", "displayName-count-one": "peseta española", "displayName-count-other": "pesetas españolas", symbol: "₧", "symbol-alt-narrow": "₧" }, ETB: { displayName: "bir", "displayName-count-one": "bir", "displayName-count-other": "bires", symbol: "ETB" }, EUR: { displayName: "euro", "displayName-count-one": "euro", "displayName-count-other": "euros", symbol: "EUR", "symbol-alt-narrow": "€" }, FIM: { displayName: "marco finlandés", "displayName-count-one": "marco finlandés", "displayName-count-other": "marcos finlandeses", symbol: "FIM" }, FJD: { displayName: "dólar fiyiano", "displayName-count-one": "dólar fiyiano", "displayName-count-other": "dólares fiyianos", symbol: "FJD", "symbol-alt-narrow": "$" }, FKP: { displayName: "libra malvinense", "displayName-count-one": "libra malvinense", "displayName-count-other": "libras malvinenses", symbol: "FKP", "symbol-alt-narrow": "£" }, FRF: { displayName: "franco francés", "displayName-count-one": "franco francés", "displayName-count-other": "francos franceses", symbol: "FRF" }, GBP: { displayName: "libra británica", "displayName-count-one": "libra británica", "displayName-count-other": "libras británicas", symbol: "GBP", "symbol-alt-narrow": "£" }, GEK: { displayName: "kupon larit georgiano", symbol: "GEK" }, GEL: { displayName: "lari", "displayName-count-one": "lari", "displayName-count-other": "laris", symbol: "GEL", "symbol-alt-narrow": "₾", "symbol-alt-variant": "₾" }, GHC: { displayName: "cedi ghanés (1979–2007)", symbol: "GHC" }, GHS: { displayName: "cedi", "displayName-count-one": "cedi", "displayName-count-other": "cedis", symbol: "GHS" }, GIP: { displayName: "libra gibraltareña", "displayName-count-one": "libra gibraltareña", "displayName-count-other": "libras gibraltareñas", symbol: "GIP", "symbol-alt-narrow": "£" }, GMD: { displayName: "dalasi", "displayName-count-one": "dalasi", "displayName-count-other": "dalasis", symbol: "GMD" }, GNF: { displayName: "franco guineano", "displayName-count-one": "franco guineano", "displayName-count-other": "francos guineanos", symbol: "GNF", "symbol-alt-narrow": "FG" }, GNS: { displayName: "syli guineano", symbol: "GNS" }, GQE: { displayName: "ekuele de Guinea Ecuatorial", "displayName-count-one": "ekuele de Guinea Ecuatorial", "displayName-count-other": "ekueles de Guinea Ecuatorial", symbol: "GQE" }, GRD: { displayName: "dracma griego", "displayName-count-one": "dracma griego", "displayName-count-other": "dracmas griegos", symbol: "GRD" }, GTQ: { displayName: "quetzal guatemalteco", "displayName-count-one": "quetzal guatemalteco", "displayName-count-other": "quetzales guatemaltecos", symbol: "GTQ", "symbol-alt-narrow": "Q" }, GWE: { displayName: "escudo de Guinea Portuguesa", symbol: "GWE" }, GWP: { displayName: "peso de Guinea-Bissáu", symbol: "GWP" }, GYD: { displayName: "dólar guyanés", "displayName-count-one": "dólar guyanés", "displayName-count-other": "dólares guyaneses", symbol: "GYD", "symbol-alt-narrow": "$" }, HKD: { displayName: "dólar hongkonés", "displayName-count-one": "dólar hongkonés", "displayName-count-other": "dólares hongkoneses", symbol: "HKD", "symbol-alt-narrow": "$" }, HNL: { displayName: "lempira hondureño", "displayName-count-one": "lempira hondureño", "displayName-count-other": "lempiras hondureños", symbol: "L", "symbol-alt-narrow": "L" }, HRD: { displayName: "dinar croata", "displayName-count-one": "dinar croata", "displayName-count-other": "dinares croatas", symbol: "HRD" }, HRK: { displayName: "kuna", "displayName-count-one": "kuna", "displayName-count-other": "kunas", symbol: "HRK", "symbol-alt-narrow": "kn" }, HTG: { displayName: "gourde haitiano", "displayName-count-one": "gourde haitiano", "displayName-count-other": "gourdes haitianos", symbol: "HTG" }, HUF: { displayName: "forinto húngaro", "displayName-count-one": "forinto húngaro", "displayName-count-other": "forintos húngaros", symbol: "HUF", "symbol-alt-narrow": "Ft" }, IDR: { displayName: "rupia indonesia", "displayName-count-one": "rupia indonesia", "displayName-count-other": "rupias indonesias", symbol: "IDR", "symbol-alt-narrow": "Rp" }, IEP: { displayName: "libra irlandesa", "displayName-count-one": "libra irlandesa", "displayName-count-other": "libras irlandesas", symbol: "IEP" }, ILP: { displayName: "libra israelí", "displayName-count-one": "libra israelí", "displayName-count-other": "libras israelíes", symbol: "ILP" }, ILS: { displayName: "nuevo séquel israelí", "displayName-count-one": "nuevo séquel israelí", "displayName-count-other": "nuevos séqueles israelíes", symbol: "ILS", "symbol-alt-narrow": "₪" }, INR: { displayName: "rupia india", "displayName-count-one": "rupia india", "displayName-count-other": "rupias indias", symbol: "INR", "symbol-alt-narrow": "₹" }, IQD: { displayName: "dinar iraquí", "displayName-count-one": "dinar iraquí", "displayName-count-other": "dinares iraquíes", symbol: "IQD" }, IRR: { displayName: "rial iraní", "displayName-count-one": "rial iraní", "displayName-count-other": "riales iraníes", symbol: "IRR" }, ISK: { displayName: "corona islandesa", "displayName-count-one": "corona islandesa", "displayName-count-other": "coronas islandesas", symbol: "ISK", "symbol-alt-narrow": "kr" }, ITL: { displayName: "lira italiana", "displayName-count-one": "lira italiana", "displayName-count-other": "liras italianas", symbol: "ITL" }, JMD: { displayName: "dólar jamaicano", "displayName-count-one": "dólar jamaicano", "displayName-count-other": "dólares jamaicanos", symbol: "JMD", "symbol-alt-narrow": "$" }, JOD: { displayName: "dinar jordano", "displayName-count-one": "dinar jordano", "displayName-count-other": "dinares jordanos", symbol: "JOD" }, JPY: { displayName: "yen", "displayName-count-one": "yen", "displayName-count-other": "yenes", symbol: "JPY", "symbol-alt-narrow": "¥" }, KES: { displayName: "chelín keniano", "displayName-count-one": "chelín keniano", "displayName-count-other": "chelines kenianos", symbol: "KES" }, KGS: { displayName: "som", "displayName-count-one": "som", "displayName-count-other": "soms", symbol: "KGS" }, KHR: { displayName: "riel", "displayName-count-one": "riel", "displayName-count-other": "rieles", symbol: "KHR", "symbol-alt-narrow": "៛" }, KMF: { displayName: "franco comorense", "displayName-count-one": "franco comorense", "displayName-count-other": "francos comorenses", symbol: "KMF", "symbol-alt-narrow": "CF" }, KPW: { displayName: "won norcoreano", "displayName-count-one": "won norcoreano", "displayName-count-other": "wons norcoreanos", symbol: "KPW", "symbol-alt-narrow": "₩" }, KRH: { displayName: "KRH", symbol: "KRH" }, KRO: { displayName: "KRO", symbol: "KRO" }, KRW: { displayName: "won surcoreano", "displayName-count-one": "won surcoreano", "displayName-count-other": "wons surcoreanos", symbol: "KRW", "symbol-alt-narrow": "₩" }, KWD: { displayName: "dinar kuwaití", "displayName-count-one": "dinar kuwaití", "displayName-count-other": "dinares kuwaitíes", symbol: "KWD" }, KYD: { displayName: "dólar de las Islas Caimán", "displayName-count-one": "dólar de las Islas Caimán", "displayName-count-other": "dólares de las Islas Caimán", symbol: "KYD", "symbol-alt-narrow": "$" }, KZT: { displayName: "tenge kazako", "displayName-count-one": "tenge kazako", "displayName-count-other": "tenges kazakos", symbol: "KZT", "symbol-alt-narrow": "₸" }, LAK: { displayName: "kip", "displayName-count-one": "kip", "displayName-count-other": "kips", symbol: "LAK", "symbol-alt-narrow": "₭" }, LBP: { displayName: "libra libanesa", "displayName-count-one": "libra libanesa", "displayName-count-other": "libras libanesas", symbol: "LBP", "symbol-alt-narrow": "L£" }, LKR: { displayName: "rupia esrilanquesa", "displayName-count-one": "rupia esrilanquesa", "displayName-count-other": "rupias esrilanquesas", symbol: "LKR", "symbol-alt-narrow": "Rs" }, LRD: { displayName: "dólar liberiano", "displayName-count-one": "dólar liberiano", "displayName-count-other": "dólares liberianos", symbol: "LRD", "symbol-alt-narrow": "$" }, LSL: { displayName: "loti lesothense", symbol: "LSL" }, LTL: { displayName: "litas lituano", "displayName-count-one": "litas lituana", "displayName-count-other": "litas lituanas", symbol: "LTL", "symbol-alt-narrow": "Lt" }, LTT: { displayName: "talonas lituano", "displayName-count-one": "talonas lituana", "displayName-count-other": "talonas lituanas", symbol: "LTT" }, LUC: { displayName: "franco convertible luxemburgués", "displayName-count-one": "franco convertible luxemburgués", "displayName-count-other": "francos convertibles luxemburgueses", symbol: "LUC" }, LUF: { displayName: "franco luxemburgués", "displayName-count-one": "franco luxemburgués", "displayName-count-other": "francos luxemburgueses", symbol: "LUF" }, LUL: { displayName: "franco financiero luxemburgués", "displayName-count-one": "franco financiero luxemburgués", "displayName-count-other": "francos financieros luxemburgueses", symbol: "LUL" }, LVL: { displayName: "lats letón", "displayName-count-one": "lats letón", "displayName-count-other": "lats letónes", symbol: "LVL", "symbol-alt-narrow": "Ls" }, LVR: { displayName: "rublo letón", "displayName-count-one": "rublo letón", "displayName-count-other": "rublos letones", symbol: "LVR" }, LYD: { displayName: "dinar libio", "displayName-count-one": "dinar libio", "displayName-count-other": "dinares libios", symbol: "LYD" }, MAD: { displayName: "dírham marroquí", "displayName-count-one": "dírham marroquí", "displayName-count-other": "dírhams marroquíes", symbol: "MAD" }, MAF: { displayName: "franco marroquí", "displayName-count-one": "franco marroquí", "displayName-count-other": "francos marroquíes", symbol: "MAF" }, MCF: { displayName: "MCF", symbol: "MCF" }, MDC: { displayName: "MDC", symbol: "MDC" }, MDL: { displayName: "leu moldavo", "displayName-count-one": "leu moldavo", "displayName-count-other": "leus moldavos", symbol: "MDL" }, MGA: { displayName: "ariari", "displayName-count-one": "ariari", "displayName-count-other": "ariaris", symbol: "MGA", "symbol-alt-narrow": "Ar" }, MGF: { displayName: "franco malgache", symbol: "MGF" }, MKD: { displayName: "dinar macedonio", "displayName-count-one": "dinar macedonio", "displayName-count-other": "dinares macedonios", symbol: "MKD" }, MKN: { displayName: "MKN", symbol: "MKN" }, MLF: { displayName: "franco malí", symbol: "MLF" }, MMK: { displayName: "kiat", "displayName-count-one": "kiat", "displayName-count-other": "kiats", symbol: "MMK", "symbol-alt-narrow": "K" }, MNT: { displayName: "tugrik", "displayName-count-one": "tugrik", "displayName-count-other": "tugriks", symbol: "MNT", "symbol-alt-narrow": "₮" }, MOP: { displayName: "pataca de Macao", "displayName-count-one": "pataca de Macao", "displayName-count-other": "patacas de Macao", symbol: "MOP" }, MRO: { displayName: "uguiya", "displayName-count-one": "uguiya", "displayName-count-other": "uguiyas", symbol: "MRO" }, MTL: { displayName: "lira maltesa", "displayName-count-one": "lira maltesa", "displayName-count-other": "liras maltesas", symbol: "MTL" }, MTP: { displayName: "libra maltesa", "displayName-count-one": "libra maltesa", "displayName-count-other": "libras maltesas", symbol: "MTP" }, MUR: { displayName: "rupia mauriciana", "displayName-count-one": "rupia mauriciana", "displayName-count-other": "rupias mauricianas", symbol: "MUR", "symbol-alt-narrow": "Rs" }, MVR: { displayName: "rufiya", "displayName-count-one": "rufiya", "displayName-count-other": "rufiyas", symbol: "MVR" }, MWK: { displayName: "kwacha malauí", "displayName-count-one": "kwacha malauí", "displayName-count-other": "kwachas malauís", symbol: "MWK" }, MXN: { displayName: "peso mexicano", "displayName-count-one": "peso mexicano", "displayName-count-other": "pesos mexicanos", symbol: "MXN", "symbol-alt-narrow": "$" }, MXP: { displayName: "peso de plata mexicano (1861–1992)", "displayName-count-one": "peso de plata mexicano (MXP)", "displayName-count-other": "pesos de plata mexicanos (MXP)", symbol: "MXP" }, MXV: { displayName: "unidad de inversión (UDI) mexicana", "displayName-count-one": "unidad de inversión (UDI) mexicana", "displayName-count-other": "unidades de inversión (UDI) mexicanas", symbol: "MXV" }, MYR: { displayName: "ringit", "displayName-count-one": "ringit", "displayName-count-other": "ringits", symbol: "MYR", "symbol-alt-narrow": "RM" }, MZE: { displayName: "escudo mozambiqueño", "displayName-count-one": "escudo mozambiqueño", "displayName-count-other": "escudos mozambiqueños", symbol: "MZE" }, MZM: { displayName: "antiguo metical mozambiqueño", symbol: "MZM" }, MZN: { displayName: "metical", "displayName-count-one": "metical", "displayName-count-other": "meticales", symbol: "MZN" }, NAD: { displayName: "dólar namibio", "displayName-count-one": "dólar namibio", "displayName-count-other": "dólares namibios", symbol: "NAD", "symbol-alt-narrow": "$" }, NGN: { displayName: "naira", "displayName-count-one": "naira", "displayName-count-other": "nairas", symbol: "NGN", "symbol-alt-narrow": "₦" }, NIC: { displayName: "córdoba nicaragüense (1988–1991)", "displayName-count-one": "córdoba nicaragüense (1988–1991)", "displayName-count-other": "córdobas nicaragüenses (1988–1991)", symbol: "NIC" }, NIO: { displayName: "córdoba nicaragüense", "displayName-count-one": "córdoba nicaragüense", "displayName-count-other": "córdobas nicaragüenses", symbol: "NIO", "symbol-alt-narrow": "C$" }, NLG: { displayName: "florín neerlandés", "displayName-count-one": "florín neerlandés", "displayName-count-other": "florines neerlandeses", symbol: "NLG" }, NOK: { displayName: "corona noruega", "displayName-count-one": "corona noruega", "displayName-count-other": "coronas noruegas", symbol: "NOK", "symbol-alt-narrow": "kr" }, NPR: { displayName: "rupia nepalí", "displayName-count-one": "rupia nepalí", "displayName-count-other": "rupias nepalíes", symbol: "NPR", "symbol-alt-narrow": "Rs" }, NZD: { displayName: "dólar neozelandés", "displayName-count-one": "dólar neozelandés", "displayName-count-other": "dólares neozelandeses", symbol: "NZD", "symbol-alt-narrow": "$" }, OMR: { displayName: "rial omaní", "displayName-count-one": "rial omaní", "displayName-count-other": "riales omaníes", symbol: "OMR" }, PAB: { displayName: "balboa panameño", "displayName-count-one": "balboa panameño", "displayName-count-other": "balboas panameños", symbol: "PAB" }, PEI: { displayName: "inti peruano", "displayName-count-one": "inti peruano", "displayName-count-other": "intis peruanos", symbol: "PEI" }, PEN: { displayName: "sol peruano", "displayName-count-one": "sol peruano", "displayName-count-other": "soles peruanos", symbol: "PEN" }, PES: { displayName: "sol peruano (1863–1965)", "displayName-count-one": "sol peruano (1863–1965)", "displayName-count-other": "soles peruanos (1863–1965)", symbol: "PES" }, PGK: { displayName: "kina", "displayName-count-one": "kina", "displayName-count-other": "kinas", symbol: "PGK" }, PHP: { displayName: "peso filipino", "displayName-count-one": "peso filipino", "displayName-count-other": "pesos filipinos", symbol: "PHP", "symbol-alt-narrow": "₱" }, PKR: { displayName: "rupia pakistaní", "displayName-count-one": "rupia pakistaní", "displayName-count-other": "rupias pakistaníes", symbol: "PKR", "symbol-alt-narrow": "Rs" }, PLN: { displayName: "esloti", "displayName-count-one": "esloti", "displayName-count-other": "eslotis", symbol: "PLN", "symbol-alt-narrow": "zł" }, PLZ: { displayName: "zloty polaco (1950–1995)", "displayName-count-one": "zloty polaco (PLZ)", "displayName-count-other": "zlotys polacos (PLZ)", symbol: "PLZ" }, PTE: { displayName: "escudo portugués", "displayName-count-one": "escudo portugués", "displayName-count-other": "escudos portugueses", symbol: "PTE" }, PYG: { displayName: "guaraní paraguayo", "displayName-count-one": "guaraní paraguayo", "displayName-count-other": "guaraníes paraguayos", symbol: "PYG", "symbol-alt-narrow": "₲" }, QAR: { displayName: "rial catarí", "displayName-count-one": "rial catarí", "displayName-count-other": "riales cataríes", symbol: "QAR" }, RHD: { displayName: "dólar rodesiano", symbol: "RHD" }, ROL: { displayName: "antiguo leu rumano", "displayName-count-one": "antiguo leu rumano", "displayName-count-other": "antiguos lei rumanos", symbol: "ROL" }, RON: { displayName: "leu rumano", "displayName-count-one": "leu rumano", "displayName-count-other": "leus rumanos", symbol: "RON", "symbol-alt-narrow": "L" }, RSD: { displayName: "dinar serbio", "displayName-count-one": "dinar serbio", "displayName-count-other": "dinares serbios", symbol: "RSD" }, RUB: { displayName: "rublo ruso", "displayName-count-one": "rublo ruso", "displayName-count-other": "rublos rusos", symbol: "RUB", "symbol-alt-narrow": "₽" }, RUR: { displayName: "rublo ruso (1991–1998)", "displayName-count-one": "rublo ruso (RUR)", "displayName-count-other": "rublos rusos (RUR)", symbol: "RUR", "symbol-alt-narrow": "р." }, RWF: { displayName: "franco ruandés", "displayName-count-one": "franco ruandés", "displayName-count-other": "francos ruandeses", symbol: "RWF", "symbol-alt-narrow": "RF" }, SAR: { displayName: "rial saudí", "displayName-count-one": "rial saudí", "displayName-count-other": "riales saudíes", symbol: "SAR" }, SBD: { displayName: "dólar salomonense", "displayName-count-one": "dólar salomonense", "displayName-count-other": "dólares salomonenses", symbol: "SBD", "symbol-alt-narrow": "$" }, SCR: { displayName: "rupia seychellense", "displayName-count-one": "rupia seychellense", "displayName-count-other": "rupias seychellenses", symbol: "SCR" }, SDD: { displayName: "dinar sudanés", "displayName-count-one": "dinar sudanés", "displayName-count-other": "dinares sudaneses", symbol: "SDD" }, SDG: { displayName: "libra sudanesa", "displayName-count-one": "libra sudanesa", "displayName-count-other": "libras sudanesas", symbol: "SDG" }, SDP: { displayName: "libra sudanesa antigua", "displayName-count-one": "libra sudanesa antigua", "displayName-count-other": "libras sudanesas antiguas", symbol: "SDP" }, SEK: { displayName: "corona sueca", "displayName-count-one": "corona sueca", "displayName-count-other": "coronas suecas", symbol: "SEK", "symbol-alt-narrow": "kr" }, SGD: { displayName: "dólar singapurense", "displayName-count-one": "dólar singapurense", "displayName-count-other": "dólares singapurenses", symbol: "SGD", "symbol-alt-narrow": "$" }, SHP: { displayName: "libra de Santa Elena", "displayName-count-one": "libra de Santa Elena", "displayName-count-other": "libras de Santa Elena", symbol: "SHP", "symbol-alt-narrow": "£" }, SIT: { displayName: "tólar esloveno", "displayName-count-one": "tólar esloveno", "displayName-count-other": "tólares eslovenos", symbol: "SIT" }, SKK: { displayName: "corona eslovaca", "displayName-count-one": "corona eslovaca", "displayName-count-other": "coronas eslovacas", symbol: "SKK" }, SLL: { displayName: "leona", "displayName-count-one": "leona", "displayName-count-other": "leonas", symbol: "SLL" }, SOS: { displayName: "chelín somalí", "displayName-count-one": "chelín somalí", "displayName-count-other": "chelines somalíes", symbol: "SOS" }, SRD: { displayName: "dólar surinamés", "displayName-count-one": "dólar surinamés", "displayName-count-other": "dólares surinameses", symbol: "SRD", "symbol-alt-narrow": "$" }, SRG: { displayName: "florín surinamés", symbol: "SRG" }, SSP: { displayName: "libra sursudanesa", "displayName-count-one": "libra sursudanesa", "displayName-count-other": "libras sursudanesas", symbol: "SSP", "symbol-alt-narrow": "£" }, STD: { displayName: "dobra", "displayName-count-one": "dobra", "displayName-count-other": "dobras", symbol: "STD", "symbol-alt-narrow": "Db" }, SUR: { displayName: "rublo soviético", "displayName-count-one": "rublo soviético", "displayName-count-other": "rublos soviéticos", symbol: "SUR" }, SVC: { displayName: "colón salvadoreño", "displayName-count-one": "colón salvadoreño", "displayName-count-other": "colones salvadoreños", symbol: "SVC" }, SYP: { displayName: "libra siria", "displayName-count-one": "libra siria", "displayName-count-other": "libras sirias", symbol: "SYP", "symbol-alt-narrow": "£" }, SZL: { displayName: "lilangeni", "displayName-count-one": "lilangeni", "displayName-count-other": "lilangenis", symbol: "SZL" }, THB: { displayName: "bat", "displayName-count-one": "bat", "displayName-count-other": "bats", symbol: "THB", "symbol-alt-narrow": "฿" }, TJR: { displayName: "rublo tayiko", symbol: "TJR" }, TJS: { displayName: "somoni tayiko", "displayName-count-one": "somoni tayiko", "displayName-count-other": "somonis tayikos", symbol: "TJS" }, TMM: { displayName: "manat turcomano (1993–2009)", "displayName-count-one": "manat turcomano (1993–2009)", "displayName-count-other": "manats turcomanos (1993–2009)", symbol: "TMM" }, TMT: { displayName: "manat turcomano", "displayName-count-one": "manat turcomano", "displayName-count-other": "manats turcomanos", symbol: "TMT" }, TND: { displayName: "dinar tunecino", "displayName-count-one": "dinar tunecino", "displayName-count-other": "dinares tunecinos", symbol: "TND" }, TOP: { displayName: "paanga", "displayName-count-one": "paanga", "displayName-count-other": "paangas", symbol: "TOP", "symbol-alt-narrow": "T$" }, TPE: { displayName: "escudo timorense", symbol: "TPE" }, TRL: { displayName: "lira turca (1922–2005)", "displayName-count-one": "lira turca (1922–2005)", "displayName-count-other": "liras turcas (1922–2005)", symbol: "TRL" }, TRY: { displayName: "lira turca", "displayName-count-one": "lira turca", "displayName-count-other": "liras turcas", symbol: "TRY", "symbol-alt-narrow": "₺", "symbol-alt-variant": "TL" }, TTD: { displayName: "dólar de Trinidad y Tobago", "displayName-count-one": "dólar de Trinidad y Tobago", "displayName-count-other": "dólares de Trinidad y Tobago", symbol: "TTD", "symbol-alt-narrow": "$" }, TWD: { displayName: "nuevo dólar taiwanés", "displayName-count-one": "nuevo dólar taiwanés", "displayName-count-other": "nuevos dólares taiwaneses", symbol: "TWD", "symbol-alt-narrow": "NT$" }, TZS: { displayName: "chelín tanzano", "displayName-count-one": "chelín tanzano", "displayName-count-other": "chelines tanzanos", symbol: "TZS" }, UAH: { displayName: "grivna", "displayName-count-one": "grivna", "displayName-count-other": "grivnas", symbol: "UAH", "symbol-alt-narrow": "₴" }, UAK: { displayName: "karbovanet ucraniano", "displayName-count-one": "karbovanet ucraniano", "displayName-count-other": "karbovanets ucranianos", symbol: "UAK" }, UGS: { displayName: "chelín ugandés (1966–1987)", symbol: "UGS" }, UGX: { displayName: "chelín ugandés", "displayName-count-one": "chelín ugandés", "displayName-count-other": "chelines ugandeses", symbol: "UGX" }, USD: { displayName: "dólar estadounidense", "displayName-count-one": "dólar estadounidense", "displayName-count-other": "dólares estadounidenses", symbol: "USD", "symbol-alt-narrow": "$" }, USN: { displayName: "dólar estadounidense (día siguiente)", "displayName-count-one": "dólar estadounidense (día siguiente)", "displayName-count-other": "dólares estadounidenses (día siguiente)", symbol: "USN" }, USS: { displayName: "dólar estadounidense (mismo día)", "displayName-count-one": "dólar estadounidense (mismo día)", "displayName-count-other": "dólares estadounidenses (mismo día)", symbol: "USS" }, UYI: { displayName: "peso uruguayo en unidades indexadas", "displayName-count-one": "peso uruguayo en unidades indexadas", "displayName-count-other": "pesos uruguayos en unidades indexadas", symbol: "UYI" }, UYP: { displayName: "peso uruguayo (1975–1993)", "displayName-count-one": "peso uruguayo (UYP)", "displayName-count-other": "pesos uruguayos (UYP)", symbol: "UYP" }, UYU: { displayName: "peso uruguayo", "displayName-count-one": "peso uruguayo", "displayName-count-other": "pesos uruguayos", symbol: "UYU", "symbol-alt-narrow": "$" }, UZS: { displayName: "sum", "displayName-count-one": "sum", "displayName-count-other": "sums", symbol: "UZS" }, VEB: { displayName: "bolívar venezolano (1871–2008)", "displayName-count-one": "bolívar venezolano (1871–2008)", "displayName-count-other": "bolívares venezolanos (1871–2008)", symbol: "VEB" }, VEF: { displayName: "bolívar venezolano", "displayName-count-one": "bolívar venezolano", "displayName-count-other": "bolívares venezolanos", symbol: "VEF", "symbol-alt-narrow": "BsF" }, VND: { displayName: "dong", "displayName-count-one": "dong", "displayName-count-other": "dongs", symbol: "VND", "symbol-alt-narrow": "₫" }, VNN: { displayName: "VNN", symbol: "VNN" }, VUV: { displayName: "vatu", "displayName-count-one": "vatu", "displayName-count-other": "vatus", symbol: "VUV" }, WST: { displayName: "tala", "displayName-count-one": "tala", "displayName-count-other": "talas", symbol: "WST" }, XAF: { displayName: "franco CFA BEAC", "displayName-count-one": "franco CFA BEAC", "displayName-count-other": "francos CFA BEAC", symbol: "XAF" }, XAG: { displayName: "plata", "displayName-count-one": "plata", "displayName-count-other": "plata", symbol: "XAG" }, XAU: { displayName: "oro", "displayName-count-one": "oro", "displayName-count-other": "oro", symbol: "XAU" }, XBA: { displayName: "unidad compuesta europea", "displayName-count-one": "unidad compuesta europea", "displayName-count-other": "unidades compuestas europeas", symbol: "XBA" }, XBB: { displayName: "unidad monetaria europea", "displayName-count-one": "unidad monetaria europea", "displayName-count-other": "unidades monetarias europeas", symbol: "XBB" }, XBC: { displayName: "unidad de cuenta europea (XBC)", "displayName-count-one": "unidad de cuenta europea (XBC)", "displayName-count-other": "unidades de cuenta europeas (XBC)", symbol: "XBC" }, XBD: { displayName: "unidad de cuenta europea (XBD)", "displayName-count-one": "unidad de cuenta europea (XBD)", "displayName-count-other": "unidades de cuenta europeas (XBD)", symbol: "XBD" }, XCD: { displayName: "dólar del Caribe Oriental", "displayName-count-one": "dólar del Caribe Oriental", "displayName-count-other": "dólares del Caribe Oriental", symbol: "XCD", "symbol-alt-narrow": "$" }, XDR: { displayName: "derechos especiales de giro", symbol: "XDR" }, XEU: { displayName: "unidad de moneda europea", "displayName-count-one": "unidad de moneda europea", "displayName-count-other": "unidades de moneda europeas", symbol: "XEU" }, XFO: { displayName: "franco oro francés", "displayName-count-one": "franco oro francés", "displayName-count-other": "francos oro franceses", symbol: "XFO" }, XFU: { displayName: "franco UIC francés", "displayName-count-one": "franco UIC francés", "displayName-count-other": "francos UIC franceses", symbol: "XFU" }, XOF: { displayName: "franco CFA BCEAO", "displayName-count-one": "franco CFA BCEAO", "displayName-count-other": "francos CFA BCEAO", symbol: "XOF" }, XPD: { displayName: "paladio", "displayName-count-one": "paladio", "displayName-count-other": "paladio", symbol: "XPD" }, XPF: { displayName: "franco CFP", "displayName-count-one": "franco CFP", "displayName-count-other": "francos CFP", symbol: "CFPF" }, XPT: { displayName: "platino", "displayName-count-one": "platino", "displayName-count-other": "platino", symbol: "XPT" }, XRE: { displayName: "fondos RINET", symbol: "XRE" }, XSU: { displayName: "XSU", symbol: "XSU" }, XTS: { displayName: "código reservado para pruebas", symbol: "XTS" }, XUA: { displayName: "XUA", symbol: "XUA" }, XXX: { displayName: "moneda desconocida", "displayName-count-one": "(unidad de moneda desconocida)", "displayName-count-other": "(moneda desconocida)", symbol: "XXX" }, YDD: { displayName: "dinar yemení", symbol: "YDD" }, YER: { displayName: "rial yemení", "displayName-count-one": "rial yemení", "displayName-count-other": "riales yemeníes", symbol: "YER" }, YUD: { displayName: "dinar fuerte yugoslavo", symbol: "YUD" }, YUM: { displayName: "super dinar yugoslavo", symbol: "YUM" }, YUN: { displayName: "dinar convertible yugoslavo", "displayName-count-one": "dinar convertible yugoslavo", "displayName-count-other": "dinares convertibles yugoslavos", symbol: "YUN" }, YUR: { displayName: "YUR", symbol: "YUR" }, ZAL: { displayName: "rand sudafricano (financiero)", symbol: "ZAL" }, ZAR: { displayName: "rand", "displayName-count-one": "rand", "displayName-count-other": "rands", symbol: "ZAR", "symbol-alt-narrow": "R" }, ZMK: { displayName: "kwacha zambiano (1968–2012)", "displayName-count-one": "kwacha zambiano (1968–2012)", "displayName-count-other": "kwachas zambianos (1968–2012)", symbol: "ZMK" }, ZMW: { displayName: "kuacha zambiano", "displayName-count-one": "kuacha zambiano", "displayName-count-other": "kuachas zambianos", symbol: "ZMW", "symbol-alt-narrow": "ZK" }, ZRN: { displayName: "nuevo zaire zaireño", symbol: "ZRN" }, ZRZ: { displayName: "zaire zaireño", symbol: "ZRZ" }, ZWD: { displayName: "dólar de Zimbabue", symbol: "ZWD" }, ZWL: { displayName: "dólar zimbabuense", symbol: "ZWL" }, ZWR: { displayName: "ZWR", symbol: "ZWR" } }, localeCurrency: "HNL" }, calendar: { patterns: { d: "d/M/y", D: "EEEE dd 'de' MMMM 'de' y", m: "d MMM", M: "d 'de' MMMM", y: "MMMM 'de' y", Y: "MMMM 'de' y", F: "EEEE dd 'de' MMMM 'de' y HH:mm:ss", g: "d/M/y HH:mm", G: "d/M/y HH:mm:ss", t: "HH:mm", T: "HH:mm:ss", s: "yyyy'-'MM'-'dd'T'HH':'mm':'ss", u: "yyyy'-'MM'-'dd HH':'mm':'ss'Z'" }, dateTimeFormats: { full: "{1}, {0}", long: "{1}, {0}", medium: "{1} {0}", short: "{1} {0}", availableFormats: { d: "d", E: "ccc", Ed: "E d", Ehm: "E, h:mm a", EHm: "E, HH:mm", Ehms: "E, h:mm:ss a", EHms: "E, HH:mm:ss", Gy: "y G", GyMMM: "MMM y G", GyMMMd: "d 'de' MMM 'de' y G", GyMMMEd: "E, d MMM y G", GyMMMM: "MMMM 'de' y G", GyMMMMd: "d 'de' MMMM 'de' y G", GyMMMMEd: "E, d 'de' MMMM 'de' y G", h: "h a", H: "HH", hm: "h:mm a", Hm: "HH:mm", hms: "h:mm:ss a", Hms: "HH:mm:ss", hmsv: "h:mm:ss a v", Hmsv: "H:mm:ss v", hmsvvvv: "h:mm:ss a (vvvv)", Hmsvvvv: "H:mm:ss (vvvv)", hmv: "h:mm a v", Hmv: "H:mm v", M: "L", Md: "d/M", MEd: "E, d/M", MMd: "d/M", MMdd: "d/M", MMM: "LLL", MMMd: "d MMM", MMMdd: "dd-MMM", MMMEd: "E, d MMM", MMMMd: "d 'de' MMMM", MMMMEd: "E, d 'de' MMMM", "MMMMW-count-one": "'semana' W 'de' MMM", "MMMMW-count-other": "'semana' W 'de' MMM", ms: "mm:ss", y: "y", yM: "M/y", yMd: "d/M/y", yMEd: "E d/M/y", yMM: "M/y", yMMM: "MMMM 'de' y", yMMMd: "d 'de' MMMM 'de' y", yMMMEd: "E, d 'de' MMM 'de' y", yMMMM: "MMMM 'de' y", yMMMMd: "d 'de' MMMM 'de' y", yMMMMEd: "EEE, d 'de' MMMM 'de' y", yQQQ: "QQQ 'de' y", yQQQQ: "QQQQ 'de' y", "yw-count-one": "'semana' w 'de' y", "yw-count-other": "'semana' w 'de' y" } }, timeFormats: { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" }, dateFormats: { full: "EEEE dd 'de' MMMM 'de' y", long: "dd 'de' MMMM 'de' y", medium: "d MMM y", short: "d/M/yy" }, days: { format: { abbreviated: [ "dom.", "lun.", "mar.", "mié.", "jue.", "vie.", "sáb." ], narrow: [ "d", "l", "m", "m", "j", "v", "s" ], short: [ "DO", "LU", "MA", "MI", "JU", "VI", "SA" ], wide: [ "domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado" ] }, "stand-alone": { abbreviated: [ "dom.", "lun.", "mar.", "mié.", "jue.", "vie.", "sáb." ], narrow: [ "D", "L", "M", "M", "J", "V", "S" ], short: [ "DO", "LU", "MA", "MI", "JU", "VI", "SA" ], wide: [ "domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado" ] } }, months: { format: { abbreviated: [ "ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic." ], narrow: [ "e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d" ], wide: [ "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre" ] }, "stand-alone": { abbreviated: [ "ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic." ], narrow: [ "E", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D" ], wide: [ "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre" ] } }, quarters: { format: { abbreviated: [ "T1", "T2", "T3", "T4" ], narrow: [ "1", "2", "3", "4" ], wide: [ "1.er trimestre", "2.º trimestre", "3.er trimestre", "4.º trimestre" ] }, "stand-alone": { abbreviated: [ "T1", "T2", "T3", "T4" ], narrow: [ "1", "2", "3", "4" ], wide: [ "1.er trimestre", "2.º trimestre", "3.er trimestre", "4.º trimestre" ] } }, dayPeriods: { format: { abbreviated: { am: "a. m.", noon: "del mediodía", pm: "p. m.", morning1: "de la madrugada", morning2: "de la mañana", evening1: "de la tarde", night1: "de la noche" }, narrow: { am: "a. m.", noon: "del mediodía", pm: "p. m.", morning1: "de la madrugada", morning2: "de la mañana", evening1: "de la tarde", night1: "de la noche" }, wide: { am: "a. m.", noon: "del mediodía", pm: "p. m.", morning1: "de la madrugada", morning2: "de la mañana", evening1: "de la tarde", night1: "de la noche" } }, "stand-alone": { abbreviated: { am: "a. m.", noon: "mediodía", pm: "p. m.", morning1: "madrugada", morning2: "mañana", evening1: "tarde", night1: "noche" }, narrow: { am: "a. m.", noon: "mediodía", pm: "p. m.", morning1: "madrugada", morning2: "mañana", evening1: "tarde", night1: "noche" }, wide: { am: "a. m.", noon: "mediodía", pm: "p. m.", morning1: "madrugada", morning2: "mañana", evening1: "tarde", night1: "noche" } } }, eras: { format: { wide: { 0: "antes de Cristo", 1: "después de Cristo", "0-alt-variant": "antes de la era común", "1-alt-variant": "era común" }, abbreviated: { 0: "a. C.", 1: "d. C.", "0-alt-variant": "a. e. c.", "1-alt-variant": "e. c." }, narrow: { 0: "a. C.", 1: "d. C.", "0-alt-variant": "a. e. c.", "1-alt-variant": "e. c." } } }, gmtFormat: "GMT{0}", gmtZeroFormat: "GMT", dateFields: { era: { wide: "era", short: "era", narrow: "era" }, year: { wide: "año", short: "a", narrow: "a" }, quarter: { wide: "trimestre", short: "trim.", narrow: "trim." }, month: { wide: "mes", short: "m", narrow: "m" }, week: { wide: "semana", short: "sem.", narrow: "sem." }, weekOfMonth: { wide: "Week Of Month", short: "Week Of Month", narrow: "Week Of Month" }, day: { wide: "día", short: "d", narrow: "d" }, dayOfYear: { wide: "Day Of Year", short: "Day Of Year", narrow: "Day Of Year" }, weekday: { wide: "día de la semana", short: "día de la semana", narrow: "día de la semana" }, weekdayOfMonth: { wide: "Weekday Of Month", short: "Weekday Of Month", narrow: "Weekday Of Month" }, dayperiod: { short: "a.m./p.m.", wide: "a.m./p.m.", narrow: "a.m./p.m." }, hour: { wide: "hora", short: "h", narrow: "h" }, minute: { wide: "minuto", short: "min", narrow: "min" }, second: { wide: "segundo", short: "s", narrow: "s" }, zone: { wide: "Zona horaria", short: "Zona horaria", narrow: "Zona horaria" } } }, firstDay: 0, likelySubtags: { es: "es-Latn-ES" } });
antpost/antpost-client
node_modules/@progress/kendo-angular-intl/locales/es-HN/all.js
JavaScript
mit
83,096
import React from 'react'; import ReactTestUtils from 'react-addons-test-utils'; import Pagination from '../src/Pagination'; describe('<Pagination>', () => { it('should have class', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination>Item content</Pagination> ); assert.ok(ReactTestUtils.findRenderedDOMComponentWithClass(instance, 'pagination')); }); it('should show the correct active button', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination items={5} activePage={3} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons.length, 5); pageButtons[2].className.should.match(/\bactive\b/); }); it('should call onSelect when page button is selected', (done) => { function onSelect(eventKey) { assert.equal(eventKey, 2); done(); } const instance = ReactTestUtils.renderIntoDocument( <Pagination items={5} onSelect={onSelect} /> ); ReactTestUtils.Simulate.click( ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'a')[1] ); }); it('should only show part of buttons and active button in the middle of buttons when given maxButtons', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination items={30} activePage={10} maxButtons={9} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); // 9 visible page buttons and 1 ellipsis button assert.equal(pageButtons.length, 10); // active button is the second one assert.equal(pageButtons[0].firstChild.textContent, '6'); pageButtons[4].className.should.match(/\bactive\b/); }); it('should show the ellipsis, boundaryLinks, first, last, prev and next button with default labels', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination first last prev next ellipsis maxButtons={3} activePage={10} items={20} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); // add first, last, prev, next and ellipsis button assert.equal(pageButtons.length, 8); assert.equal(pageButtons[0].textContent, '«'); assert.equal(pageButtons[1].textContent, '‹'); assert.equal(pageButtons[5].textContent, '…'); assert.equal(pageButtons[6].textContent, '›'); assert.equal(pageButtons[7].textContent, '»'); }); it('should show the boundaryLinks, first, last, prev and next button', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination first last prev next ellipsis boundaryLinks maxButtons={3} activePage={10} items={20} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); // add first, last, prev, next and ellipsis button assert.equal(pageButtons[2].textContent, '1'); assert.equal(pageButtons[3].textContent, '…'); assert.equal(pageButtons[7].textContent, '…'); assert.equal(pageButtons[8].textContent, '20'); }); it('should not render ellipsis with boundaryLinks near start', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination first last prev next boundaryLinks maxButtons={5} activePage={4} items={20} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[3].textContent, '2'); }); it('should not render ellipsis with boundaryLinks near end', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination first last prev next boundaryLinks maxButtons={5} activePage={17} items={20} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[pageButtons.length - 4].textContent, '19'); }); it('should show the ellipsis, first, last, prev and next button with custom labels', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination first="first" last="last" prev="prev" next="next" ellipsis="more" maxButtons={3} activePage={10} items={20} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); // add first, last, prev, next and ellipsis button assert.equal(pageButtons.length, 8); assert.equal(pageButtons[0].textContent, 'first'); assert.equal(pageButtons[1].textContent, 'prev'); assert.equal(pageButtons[5].textContent, 'more'); assert.equal(pageButtons[6].textContent, 'next'); assert.equal(pageButtons[7].textContent, 'last'); }); it('should enumerate pagenums correctly when ellipsis=true', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination first last prev next ellipsis maxButtons={5} activePage={1} items={1} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[0].textContent, '«'); assert.equal(pageButtons[1].textContent, '‹'); assert.equal(pageButtons[2].textContent, '1'); assert.equal(pageButtons[3].textContent, '›'); assert.equal(pageButtons[4].textContent, '»'); }); it('should render next and last buttons as disabled when items=0 and ellipsis=true', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination last next ellipsis maxButtons={1} activePage={1} items={0} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[0].textContent, '›'); assert.equal(pageButtons[1].textContent, '»'); assert.include(pageButtons[0].className, 'disabled'); assert.include(pageButtons[1].className, 'disabled'); }); it('should wrap buttons in SafeAnchor when no buttonComponentClass prop is supplied', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination maxButtons={2} activePage={1} items={2} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[0].children[0].tagName, 'A'); assert.equal(pageButtons[1].children[0].tagName, 'A'); assert.equal(pageButtons[0].children[0].getAttribute('href'), '#'); assert.equal(pageButtons[1].children[0].getAttribute('href'), '#'); }); it('should wrap each button in a buttonComponentClass when it is present', () => { class DummyElement extends React.Component { render() { return <div>{this.props.children}</div>; } } const instance = ReactTestUtils.renderIntoDocument( <Pagination maxButtons={2} activePage={1} items={2} buttonComponentClass={DummyElement} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[0].children[0].tagName, 'DIV'); assert.equal(pageButtons[1].children[0].tagName, 'DIV'); }); it('should call onSelect with custom buttonComponentClass', (done) => { class DummyElement extends React.Component { render() { return <div onClick={this.props.onClick} />; } } function onSelect(eventKey) { assert.equal(eventKey, 3); done(); } const instance = ReactTestUtils.renderIntoDocument( <Pagination items={5} onSelect={onSelect} buttonComponentClass={DummyElement} /> ); ReactTestUtils.Simulate.click( ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'div')[2] ); }); it('should not fire "onSelect" event on disabled buttons', () => { function onSelect() { throw Error('this event should not happen'); } const instance = ReactTestUtils.renderIntoDocument( <Pagination onSelect={onSelect} last next ellipsis maxButtons={1} activePage={1} items={0} /> ); const liElements = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); // buttons are disabled assert.include(liElements[0].className, 'disabled'); assert.include(liElements[1].className, 'disabled'); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'a'); const nextButton = pageButtons[0]; const lastButton = pageButtons[1]; ReactTestUtils.Simulate.click(nextButton); ReactTestUtils.Simulate.click(lastButton); }); it('should pass page number to buttonComponentClass', () => { class DummyElement extends React.Component { render() { return ( <a href={`?page=${this.props.eventKey}`}> {this.props.eventKey} </a> ); } } const instance = ReactTestUtils.renderIntoDocument( <Pagination items={5} buttonComponentClass={DummyElement} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'a'); assert.equal(pageButtons[1].getAttribute('href'), '?page=2'); }); it('should render three items from 1 to 3 when activePage=1', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination items={4} maxButtons={3} activePage={1} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[0].textContent, '1'); assert.equal(pageButtons[1].textContent, '2'); assert.equal(pageButtons[2].textContent, '3'); }); it('should render three items from 2 to 4 when activePage=3', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination onSelect={()=>{}} items={4} maxButtons={3} activePage={3} /> ); const pageButtons = ReactTestUtils.scryRenderedDOMComponentsWithTag(instance, 'li'); assert.equal(pageButtons[0].textContent, '2'); assert.equal(pageButtons[1].textContent, '3'); assert.equal(pageButtons[2].textContent, '4'); }); });
HPate-Riptide/react-bootstrap
test/PaginationSpec.js
JavaScript
mit
10,480
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_13) on Mon Dec 14 15:25:04 MSK 2009 --> <TITLE> Uses of Class org.apache.poi.POITextExtractor (POI API Documentation) </TITLE> <META NAME="date" CONTENT="2009-12-14"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.apache.poi.POITextExtractor (POI API Documentation)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/poi/\class-usePOITextExtractor.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="POITextExtractor.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>org.apache.poi.POITextExtractor</B></H2> </CENTER> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Packages that use <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi"><B>org.apache.poi</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.extractor"><B>org.apache.poi.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.hdgf.extractor"><B>org.apache.poi.hdgf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.hpbf.extractor"><B>org.apache.poi.hpbf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.hpsf.extractor"><B>org.apache.poi.hpsf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.hslf.extractor"><B>org.apache.poi.hslf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.hssf.extractor"><B>org.apache.poi.hssf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.hwpf.extractor"><B>org.apache.poi.hwpf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.xslf.extractor"><B>org.apache.poi.xslf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.xssf.extractor"><B>org.apache.poi.xssf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.apache.poi.xwpf.extractor"><B>org.apache.poi.xwpf.extractor</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/package-summary.html">org.apache.poi</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/package-summary.html">org.apache.poi</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/POIOLE2TextExtractor.html" title="class in org.apache.poi">POIOLE2TextExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Common Parent for OLE2 based Text Extractors of POI Documents, such as .doc, .xls You will typically find the implementation of a given format's text extractor under org.apache.poi.[format].extractor .</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/POIXMLPropertiesTextExtractor.html" title="class in org.apache.poi">POIXMLPropertiesTextExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi"><CODE>POITextExtractor</CODE></A> for returning the textual content of the OOXML file properties, eg author and title.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/POIXMLTextExtractor.html" title="class in org.apache.poi">POIXMLTextExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/apache/poi/package-summary.html">org.apache.poi</A> that return <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract &nbsp;<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></CODE></FONT></TD> <TD><CODE><B>POITextExtractor.</B><B><A HREF="../../../../org/apache/poi/POITextExtractor.html#getMetadataTextExtractor()">getMetadataTextExtractor</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns another text extractor, which is able to output the textual content of the document metadata / properties, such as author and title.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></CODE></FONT></TD> <TD><CODE><B>POIOLE2TextExtractor.</B><B><A HREF="../../../../org/apache/poi/POIOLE2TextExtractor.html#getMetadataTextExtractor()">getMetadataTextExtractor</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an HPSF powered text extractor for the document properties metadata, such as title and author.</TD> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../org/apache/poi/package-summary.html">org.apache.poi</A> with parameters of type <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../org/apache/poi/POITextExtractor.html#POITextExtractor(org.apache.poi.POITextExtractor)">POITextExtractor</A></B>(<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A>&nbsp;otherExtractor)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new text extractor, using the same document as another text extractor.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/extractor/package-summary.html">org.apache.poi.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/apache/poi/extractor/package-summary.html">org.apache.poi.extractor</A> that return <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></CODE></FONT></TD> <TD><CODE><B>ExtractorFactory.</B><B><A HREF="../../../../org/apache/poi/extractor/ExtractorFactory.html#createExtractor(java.io.File)">createExtractor</A></B>(java.io.File&nbsp;f)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></CODE></FONT></TD> <TD><CODE><B>ExtractorFactory.</B><B><A HREF="../../../../org/apache/poi/extractor/ExtractorFactory.html#createExtractor(java.io.InputStream)">createExtractor</A></B>(java.io.InputStream&nbsp;inp)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A>[]</CODE></FONT></TD> <TD><CODE><B>ExtractorFactory.</B><B><A HREF="../../../../org/apache/poi/extractor/ExtractorFactory.html#getEmbededDocsTextExtractors(org.apache.poi.POIOLE2TextExtractor)">getEmbededDocsTextExtractors</A></B>(<A HREF="../../../../org/apache/poi/POIOLE2TextExtractor.html" title="class in org.apache.poi">POIOLE2TextExtractor</A>&nbsp;ext)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of text extractors, one for each of the embeded documents in the file (if there are any).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A>[]</CODE></FONT></TD> <TD><CODE><B>ExtractorFactory.</B><B><A HREF="../../../../org/apache/poi/extractor/ExtractorFactory.html#getEmbededDocsTextExtractors(org.apache.poi.POIXMLTextExtractor)">getEmbededDocsTextExtractors</A></B>(<A HREF="../../../../org/apache/poi/POIXMLTextExtractor.html" title="class in org.apache.poi">POIXMLTextExtractor</A>&nbsp;ext)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of text extractors, one for each of the embeded documents in the file (if there are any).</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.hdgf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hdgf/extractor/package-summary.html">org.apache.poi.hdgf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hdgf/extractor/package-summary.html">org.apache.poi.hdgf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/hdgf/extractor/VisioTextExtractor.html" title="class in org.apache.poi.hdgf.extractor">VisioTextExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class to find all the text in a Visio file, and return it.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.hpbf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hpbf/extractor/package-summary.html">org.apache.poi.hpbf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hpbf/extractor/package-summary.html">org.apache.poi.hpbf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/hpbf/extractor/PublisherTextExtractor.html" title="class in org.apache.poi.hpbf.extractor">PublisherTextExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extract text from HPBF Publisher files</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.hpsf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hpsf/extractor/package-summary.html">org.apache.poi.hpsf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hpsf/extractor/package-summary.html">org.apache.poi.hpsf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/hpsf/extractor/HPSFPropertiesExtractor.html" title="class in org.apache.poi.hpsf.extractor">HPSFPropertiesExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts all of the HPSF properties, both build in and custom, returning them in textual form.</TD> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/apache/poi/hpsf/extractor/package-summary.html">org.apache.poi.hpsf.extractor</A> that return <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></CODE></FONT></TD> <TD><CODE><B>HPSFPropertiesExtractor.</B><B><A HREF="../../../../org/apache/poi/hpsf/extractor/HPSFPropertiesExtractor.html#getMetadataTextExtractor()">getMetadataTextExtractor</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prevent recursion!</TD> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../org/apache/poi/hpsf/extractor/package-summary.html">org.apache.poi.hpsf.extractor</A> with parameters of type <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../org/apache/poi/hpsf/extractor/HPSFPropertiesExtractor.html#HPSFPropertiesExtractor(org.apache.poi.POITextExtractor)">HPSFPropertiesExtractor</A></B>(<A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A>&nbsp;mainExtractor)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.hslf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hslf/extractor/package-summary.html">org.apache.poi.hslf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hslf/extractor/package-summary.html">org.apache.poi.hslf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/hslf/extractor/PowerPointExtractor.html" title="class in org.apache.poi.hslf.extractor">PowerPointExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This class can be used to extract text from a PowerPoint file.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.hssf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hssf/extractor/package-summary.html">org.apache.poi.hssf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hssf/extractor/package-summary.html">org.apache.poi.hssf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/hssf/extractor/EventBasedExcelExtractor.html" title="class in org.apache.poi.hssf.extractor">EventBasedExcelExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A text extractor for Excel files, that is based on the hssf eventusermodel api.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/hssf/extractor/ExcelExtractor.html" title="class in org.apache.poi.hssf.extractor">ExcelExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A text extractor for Excel files.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.hwpf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hwpf/extractor/package-summary.html">org.apache.poi.hwpf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/hwpf/extractor/package-summary.html">org.apache.poi.hwpf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/hwpf/extractor/WordExtractor.html" title="class in org.apache.poi.hwpf.extractor">WordExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class to extract the text from a Word Document.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.xslf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/xslf/extractor/package-summary.html">org.apache.poi.xslf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/xslf/extractor/package-summary.html">org.apache.poi.xslf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/xslf/extractor/XSLFPowerPointExtractor.html" title="class in org.apache.poi.xslf.extractor">XSLFPowerPointExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.xssf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/xssf/extractor/package-summary.html">org.apache.poi.xssf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/xssf/extractor/package-summary.html">org.apache.poi.xssf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/xssf/extractor/XSSFExcelExtractor.html" title="class in org.apache.poi.xssf.extractor">XSSFExcelExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper class to extract text from an OOXML Excel file</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.apache.poi.xwpf.extractor"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> Uses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/xwpf/extractor/package-summary.html">org.apache.poi.xwpf.extractor</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi">POITextExtractor</A> in <A HREF="../../../../org/apache/poi/xwpf/extractor/package-summary.html">org.apache.poi.xwpf.extractor</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/poi/xwpf/extractor/XWPFWordExtractor.html" title="class in org.apache.poi.xwpf.extractor">XWPFWordExtractor</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper class to extract text from an OOXML Word file</TD> </TR> </TABLE> &nbsp; <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/apache/poi/POITextExtractor.html" title="class in org.apache.poi"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/poi/\class-usePOITextExtractor.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="POITextExtractor.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> <i>Copyright 2009 The Apache Software Foundation or its licensors, as applicable.</i> </BODY> </HTML>
tobyclemson/msci-project
vendor/poi-3.6/doc/apidocs/org/apache/poi/class-use/POITextExtractor.html
HTML
mit
31,636
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>unimath-foundations: 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.2 / unimath-foundations - 0.1.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> unimath-foundations <small> 0.1.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-03-07 13:08:44 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-07 13:08:44 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.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: &quot;2.0&quot; maintainer: &quot;opam@clarus.me&quot; homepage: &quot;https://github.com/UniMath/UniMath&quot; dev-repo: &quot;git+https://github.com/UniMath/UniMath.git&quot; bug-reports: &quot;https://github.com/UniMath/UniMath/issues&quot; license: &quot;Kind of MIT&quot; authors: [&quot;The UniMath Development Team&quot;] build: [ [&quot;coq_makefile&quot; &quot;-f&quot; &quot;Make&quot; &quot;-o&quot; &quot;Makefile&quot;] [make &quot;-j%{jobs}%&quot;] ] install: [ [make &quot;install&quot;] ] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.5.0&quot; &amp; &lt; &quot;8.6&quot;} ] synopsis: &quot;Aims to formalize a substantial body of mathematics using the univalent point of view&quot; extra-files: [&quot;Make&quot; &quot;md5=a6a04d4d56f0d1edf996019e353ca316&quot;] url { src: &quot;https://github.com/UniMath/UniMath/archive/v0.1.tar.gz&quot; checksum: &quot;md5=1ed57c1028e227a309f428a6dc5f0866&quot; } </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-unimath-foundations.0.1.0 coq.8.11.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.11.2). The following dependencies couldn&#39;t be met: - coq-unimath-foundations -&gt; coq &lt; 8.6 -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; 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-unimath-foundations.0.1.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.11.2/unimath-foundations/0.1.0.html
HTML
mit
6,581
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>checker: 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.15.0 / checker - 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> checker <small> 8.9.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-03-09 10:04:44 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-09 10:04:44 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.15.0 Formal proof management system dune 3.0.3 Fast, portable, and opinionated build system 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.3 A library manager for OCaml zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/checker&quot; license: &quot;LGPL 2.1&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Checker&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.9&quot; &amp; &lt; &quot;8.10~&quot;} ] tags: [ &quot;keyword: checker&quot; &quot;keyword: dominos&quot; &quot;keyword: puzzles&quot; &quot;category: Miscellaneous/Logical Puzzles and Entertainment&quot; ] authors: [ &quot;Gérard Huet&quot; ] bug-reports: &quot;https://github.com/coq-contribs/checker/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/checker.git&quot; synopsis: &quot;The Mutilated Checkerboard&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/checker/archive/v8.9.0.tar.gz&quot; checksum: &quot;md5=dd97034f8e98abcb15c07471906588c5&quot; } </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-checker.8.9.0 coq.8.15.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.15.0). The following dependencies couldn&#39;t be met: - coq-checker -&gt; coq &lt; 8.10~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;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-checker.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/released/8.15.0/checker/8.9.0.html
HTML
mit
6,821
#include <gmcmc/gmcmc_model.h> #include <gmcmc/gmcmc_errno.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <math.h> /** * A model. */ struct gmcmc_model { double * params; /**< Initial parameter values (may be NULL) */ gmcmc_distribution ** priors; /**< A prior distribution for each parameter */ size_t n; /**< Number of parameters in model */ double stepsize; /**< Parameter stepsize (default 0.05) */ double lower_stepsize, upper_stepsize;/**< Lower and upper bounds for adapting stepsize */ size_t num_blocks; /**< Number of blocks to use to update parameters. Will always be >= 1. */ size_t * block_sizes; /**< The size of each block (length num_blocks) */ size_t * blocks; /**< The fixed permutation of parameter indices to use as the blocks (may be NULL for random blocking) */ void * modelspecific; /**< Model specific parameters and data (may be NULL) */ }; /** * Creates a model. * * @param [out] model the model to create * @param [in] n the number of parameters in the model * @param [in] priors an array of prior distributions for each parameter * * @return 0 on success, * GMCMC_ENOMEM if there is not enough memory to create a new model. */ int gmcmc_model_create(gmcmc_model ** model, size_t n, gmcmc_distribution ** priors) { // Allocate memory for the model if ((*model = calloc(1, sizeof(gmcmc_model))) == NULL) GMCMC_ERROR("Unable to allocate model", GMCMC_ENOMEM); // Allocate memory for the priors if (((*model)->priors = malloc(n * sizeof(gmcmc_distribution *))) == NULL) { free(*model); GMCMC_ERROR("Unable to allocate priors", GMCMC_ENOMEM); } // Create copies of all the priors passed in int error; for (size_t i = 0; i < n; i++) { if ((error = gmcmc_distribution_create_copy(&(*model)->priors[i], priors[i])) != 0) { for (size_t j = 0; j < i; j++) gmcmc_distribution_destroy((*model)->priors[j]); free(*model); GMCMC_ERROR("Unable to copy priors into model", error); } } // Set up default blocking (*model)->num_blocks = 1; if (((*model)->block_sizes = malloc(sizeof(size_t))) == NULL || ((*model)->blocks = malloc(n * sizeof(size_t))) == NULL) { for (size_t j = 0; j < n; j++) gmcmc_distribution_destroy((*model)->priors[j]); free((*model)->block_sizes); free((*model)->blocks); free(*model); GMCMC_ERROR("Failed to allocate default blocking", GMCMC_ENOMEM); } (*model)->block_sizes[0] = n; for (size_t i = 0; i < n; i++) (*model)->blocks[i] = i; // Copy the rest of the parameters and set default values (*model)->n = n; (*model)->stepsize = 0.05; (*model)->lower_stepsize = 0.0; (*model)->upper_stepsize = 1.0; return 0; } /** * Destroys a model. * * @param [in] model the model to destroy. */ void gmcmc_model_destroy(gmcmc_model * model) { for (size_t i = 0; i < model->n; i++) gmcmc_distribution_destroy(model->priors[i]); free(model->priors); free(model->params); free(model->block_sizes); free(model->blocks); free(model); } /** * Gets the number of parameters in the model. * * @param [in] model the model * * @return the number of parameters in the model. */ size_t gmcmc_model_get_num_params(const gmcmc_model * model) { return model->n; } /** * Sets the initial parameter values. * * @param [in,out] model the model * @param [in] params the parameter values (may be NULL) * * @return 0 on success, * GMCMC_ENOMEM if there is not enough memory to copy the initial * parameter values into the model. */ int gmcmc_model_set_params(gmcmc_model * model, const double * params) { free(model->params); if (params == NULL) model->params = NULL; else { if ((model->params = malloc(model->n * sizeof(double))) == NULL) GMCMC_ERROR("Unable to allocate model parameters", GMCMC_ENOMEM); memcpy(model->params, params, model->n * sizeof(double)); } return 0; } /** * Gets a pointer to the initial parameter values. * * @param [in] model the model * * @return a pointer to the initial parameter values. */ const double * gmcmc_model_get_params(const gmcmc_model * model) { return model->params; } /** * Gets a pointer to the priors for each parameter. * * @param [in] model the model * @param [in] i the parameter index * * @return the prior for the ith parameter or NULL if the i is out of range. */ const gmcmc_distribution * gmcmc_model_get_prior(const gmcmc_model * model, size_t i) { if (i > model->n) GMCMC_ERROR_VAL("Prior index is out of range", GMCMC_EINVAL, NULL); return model->priors[i]; } /** * Sets the parameter stepsize. * * @param [in] model the model * @param [in] stepsize the stepsize * * @return 0 on success, * GMCMC_EINVAL if the stepsize is less than or equal to zero. */ int gmcmc_model_set_stepsize(gmcmc_model * model, double stepsize) { if (islessequal(stepsize, 0.0)) GMCMC_ERROR("Invalid stepsize", GMCMC_EINVAL); model->stepsize = stepsize; return 0; } /** * Gets the parameter stepsize. * * @param [in] model the model * * @return the parameter stepsize. */ double gmcmc_model_get_stepsize(const gmcmc_model * model) { return model->stepsize; } /** * Sets the upper and lower limits for adapting stepsizes. * * @param [in] model the model * @param [in] lower the lower bound for the stepsizes * @param [in] upper the upper bound for the stepsizes * * @return 0 on success, GMCMC_EINVAL if lower is greater than upper. */ int gmcmc_model_set_stepsize_bounds(gmcmc_model * model, double lower, double upper) { if (isgreater(lower, upper)) GMCMC_ERROR("Lower stepsize bound is greater than upper stepsize bound", GMCMC_EINVAL); model->lower_stepsize = lower; model->upper_stepsize = upper; return 0; } /** * Gets the upper and lower limits for adapting stepsizes. * * @param [in] model the model * @param [out] lower the lower bound for the stepsizes * @param [out] upper the upper bound for the stepsizes */ void gmcmc_model_get_stepsize_bounds(const gmcmc_model * model, double * lower, double * upper) { *lower = model->lower_stepsize; *upper = model->upper_stepsize; } /** * Sets up parameter blocking. * * @param [in] model the model * @param [in] num_blocks the number of blocks (>= 1) * @param [in] block_sizes the size of each block (length num_blocks) * * @return 0 on success, * GMCMC_EINVAL if block_sizes does not sum to the number of parameters or if num_blocks is zero, * GMCMC_ENOMEM if the block sizes could not be allocated in the model. */ int gmcmc_model_set_blocking(gmcmc_model * model, size_t num_blocks, const size_t * block_sizes) { if (num_blocks == 0) GMCMC_ERROR("num_blocks must be greater than zero", GMCMC_EINVAL); size_t * new_block_sizes = NULL; // Check that the requested blocking is valid // The block sizes should sum to the number of parameters size_t sum = 0; for (size_t i = 0; i < num_blocks; i++) sum += block_sizes[i]; if (sum != model->n) GMCMC_ERROR("Invalid block sizes", GMCMC_EINVAL); if ((new_block_sizes = malloc(num_blocks * sizeof(size_t))) == NULL) GMCMC_ERROR("Failed to allocate new block sizes", GMCMC_ENOMEM); memcpy(new_block_sizes, block_sizes, num_blocks * sizeof(size_t)); // Update the blocks in the model free(model->block_sizes); model->num_blocks = num_blocks; model->block_sizes = new_block_sizes; return 0; } /** * Gets the number of blocks to use when updating parameters. * * @param [in] model the model * * @return the number of parameter blocks. */ size_t gmcmc_model_get_num_blocks(const gmcmc_model * model) { return model->num_blocks; } /** * Gets the size of a parameter block. * * @param [in] model the model * @param [in] i the index of the block * * @return the number of parameters in block i, or zero if i is out of range. */ size_t gmcmc_model_get_block_size(const gmcmc_model * model, size_t i) { if (i >= model->num_blocks) GMCMC_ERROR_VAL("Block index is out of range", GMCMC_EINVAL, 0); return model->block_sizes[i]; } /** * Sets the fixed permutation of parameter indices to use when blocking. * * @param [in] model the model * @param [in] blocks the indices of the parameters in each block (length * n, may be NULL for random blocking) * * @return 0 on success, * GMCMC_EINVAL if blocks is not a valid permutation of the parameter * indices, * GMCMC_ENOMEM if the blocks could not be allocated in the model. */ int gmcmc_model_set_blocks(gmcmc_model * model, const size_t * blocks) { size_t * new_blocks = NULL; if (blocks != NULL) { // If not NULL, the blocks should be a valid permutation of the parameter // indices. this is checked with a modified bucket sort bool * buckets; if ((buckets = calloc(model->n, sizeof(bool))) == NULL) GMCMC_ERROR("Failed to allocate temporary array for sorting blocks", GMCMC_ENOMEM); // Go through the block indices checking them against the bucket array for (size_t i = 0; i < model->n; i++) { if (blocks[i] >= model->n) { free(buckets); GMCMC_ERROR("Block index is out of range", GMCMC_EINVAL); } else if (buckets[blocks[i]]) { free(buckets); GMCMC_ERROR("Duplicate block index", GMCMC_EINVAL); } else buckets[blocks[i]] = true; } for (size_t i = 0; i < model->n; i++) { if (!buckets[i]) { free(buckets); GMCMC_ERROR("Missing block index", GMCMC_EINVAL); } } free(buckets); // Allocate an array for a copy of the new blocks if ((new_blocks = malloc(model->n * sizeof(size_t))) == NULL) { free(new_blocks); GMCMC_ERROR("Failed to allocate new block indices", GMCMC_ENOMEM); } // Copy the blocks into the new array memcpy(new_blocks, blocks, model->n * sizeof(size_t)); } // Update the blocks in the model free(model->blocks); model->blocks = new_blocks; return 0; } /** * Gets the fixed permutation of parameter indices to use when blocking. * * @param [in] model the model * * @return the permutation of parameter indices, or NULL for random blocking. */ const size_t * gmcmc_model_get_blocks(const gmcmc_model * model) { return model->blocks; } /** * Stores a pointer to any model-specific data and functions in the model. * * @param [in,out] model the model * @param [in] modelspecific model-specific data and functions (may be NULL) */ void gmcmc_model_set_modelspecific(gmcmc_model * model, void * modelspecific) { model->modelspecific = modelspecific; } /** * Gets a pointer to the model-specific data and functions. * * @param [in] model the model * * @return a pointer to the model-specific data and functions. */ const void * gmcmc_model_get_modelspecific(const gmcmc_model * model) { return model->modelspecific; }
UCL/GMCMC
src/model.c
C
mit
11,271
#include "precomp.h" #include "dte_model_decorator.h" #include "ml_model_impl.h" #include "models_interface.h" namespace lib_models { ModelsInterface& ModelsInterface::GetInstance() { static ModelsInterface instance; return instance; } sp<MlModel> ModelsInterface::CreateModel(sp<MlModelDecorator> decorator) { return std::make_shared<MlModelImpl>(decorator); } template <typename T> sp<lib_models::MlModelDecorator> ModelsInterface::CreateDteModelDecorator() { return std::make_shared<DteModelDecorator<T>>(); } template DLLExport sp<lib_models::MlModelDecorator> ModelsInterface::CreateDteModelDecorator<float>(); template DLLExport sp<lib_models::MlModelDecorator> ModelsInterface::CreateDteModelDecorator<double>(); }
KarlJansson/DataminingLibs
lib_models/source/models_interface.cc
C++
mit
734
namespace R3.Geometry { using OpenTK.Graphics.OpenGL; using R3.Math; using System; using System.Numerics; public enum HyperbolicModel { Poincare, Klein, Pseudosphere, Hyperboloid, Band, UpperHalfPlane, Orthographic, } public class HyperbolicModels { private static void Vertex( Vector3D v ) { GL.Vertex2( v.X, v.Y ); } private static void Vertex( Complex c ) { GL.Vertex2( c.Real, c.Imaginary ); } public static Vector3D PoincareToKlein( Vector3D p ) { double mag = 2 / (1 + p.Dot( p )); return p * mag; } public static Vector3D KleinToPoincare( Vector3D k ) { double dot = k.Dot( k ); if( dot > 1 ) // This avoids some NaN problems I saw. dot = 1; double mag = (1 - Math.Sqrt( 1 - dot )) / dot; return k * mag; } private static Mobius Upper { get { Cache(); return m_upper; } } private static Mobius UpperInv { get { Cache(); return m_upperInv; } } /// <summary> /// This was needed for performance. We don't want this Mobius transform calculated repeatedly. /// </summary> private static void Cache() { if( m_cached ) return; Mobius m1 = new Mobius(), m2 = new Mobius(); m2.Isometry( Geometry.Euclidean, 0, new Complex( 0, -1 ) ); m1.UpperHalfPlane(); m_upper = m2 * m1; m_upperInv = m_upper.Inverse(); m_cached = true; } private static bool m_cached = false; private static Mobius m_upper, m_upperInv; public static Vector3D PoincareToUpper( Vector3D v ) { v = Upper.Apply( v ); return v; } public static Vector3D UpperToPoincare( Vector3D v ) { v = UpperInv.Apply( v ); return v; } public static Vector3D PoincareToOrtho( Vector3D v ) { return SphericalModels.StereoToGnomonic( v ); } public static Vector3D OrthoToPoincare( Vector3D v ) { return SphericalModels.GnomonicToStereo( v ); } public static void DrawElements( HyperbolicModel model, Vector3D[] textureCoords, Vector3D[] textureVerts, int[] elements, Isometry mouseIsometry, double textureScale ) { ////////////////////// ZZZ - Use VBOs GL.Begin( BeginMode.Triangles ); { double factor = textureScale; int skipped = 0; for( int i=0; i<elements.Length; i++ ) { int idx = elements[i]; // In Poincare model. GL.TexCoord2( (textureCoords[idx].X * factor + 1) / 2, (textureCoords[idx].Y * factor + 1) / 2 ); Complex transformed = textureVerts[idx].ToComplex(); if( mouseIsometry != null ) transformed = mouseIsometry.Apply( transformed ); switch( model ) { case HyperbolicModel.Poincare: { Vertex( transformed ); break; } case HyperbolicModel.Klein: { Vector3D temp = Vector3D.FromComplex( transformed ); Vertex( PoincareToKlein( temp ) ); break; } case HyperbolicModel.UpperHalfPlane: { Vector3D temp = Vector3D.FromComplex( transformed ); Vertex( PoincareToUpper( temp ) ); break; } case HyperbolicModel.Orthographic: { Vector3D temp = Vector3D.FromComplex( transformed ); Vertex( PoincareToOrtho( temp ) ); break; } case HyperbolicModel.Pseudosphere: { Mobius m = new Mobius(); m.UpperHalfPlane(); Complex u = m.Apply( transformed ); double x = u.Real; double y = u.Imaginary; double max = 1 * System.Math.PI; double min = -1 * System.Math.PI; if( 0 == i % 3 && ( x < min - 1 || x > max + 1 || y < 0 ) ) { skipped = 1; continue; } if( skipped > 0 && skipped < 3 ) { skipped++; continue; } skipped = 0; GL.TexCoord2( ( textureCoords[idx].X * factor + 1 ) / 2, ( textureCoords[idx].Y * factor + 1 ) / 2 ); // Pseudosphere Func<double, Complex> tractrix = new Func<double, Complex>( ( t ) => { return new Complex( t - Math.Tanh( t ), 1.0 / Math.Cosh( t ) ); } ); //Vector3D temp1 = Vector3D.FromComplex( u ); if( x < min ) x = min; if( x > max ) x = max; if( y < 1 ) y = 1; Vector3D temp1 = new Vector3D( x, y ); double logy = Math.Log( temp1.Y ); Complex tract = tractrix( logy ); Vector3D temp2 = new Vector3D( Math.Cos( temp1.X ) * tract.Imaginary, Math.Sin( temp1.X ) * tract.Imaginary, tract.Real ); GL.Vertex3( temp2.X, temp2.Y, temp2.Z ); //temp1 = m.Inverse().Apply( temp1 ); //GL.Vertex3( temp1.X, temp1.Y, temp1.Z ); //Vertex( temp1 ); break; } case HyperbolicModel.Hyperboloid: { Vector3D hyper = Sterographic.PlaneToHyperboloid( Vector3D.FromComplex( transformed ) ); // Hyperboloid GL.Vertex3( hyper.X, hyper.Y, hyper.Z ); break; } default: { System.Diagnostics.Debug.Assert( false ); break; } } /* // PETALS int petals = 7; double newMag = transformed.Magnitude * ( 1 + 0.5 * Math.Sin( transformed.Phase * petals ) ); double newPhase = transformed.Phase + ( -0.2 * newMag * Math.Pow( Math.Sin( newMag * 3 ), 1 ) * Math.Cos( transformed.Phase * petals ) ); transformed = Complex.FromPolarCoordinates( newMag, newPhase ); Vertex( transformed ); * */ //double mag = System.Math.Pow( transformed.Magnitude, 3 ) / transformed.Magnitude; // nice //double mag = System.Math.Pow( transformed.Magnitude - 3, 2 ) + .0; // looks spherical //double mag = transformed.Magnitude + 0.1* System.Math.Sin( transformed.Magnitude * 15 ); // Fun warping (20 is cool too) //Vertex( transformed * mag ); /*double xmag = 1; double ymag = transformed.Imaginary + 0.1 * System.Math.Sin( transformed.Imaginary * 15 ); xmag = System.Math.Abs( xmag ); ymag = System.Math.Abs( ymag ); Vertex( new Complex( transformed.Real * xmag, transformed.Imaginary * ymag ) ); */ //Vertex( 2 / System.Math.PI * Complex.Log( ( 1 + transformed ) / ( 1 - transformed ) ) ); // Band model //Vertex( Complex.Pow( transformed, 3 ) / transformed.Magnitude ); // Spikey // Spiral //Complex band = 2 / System.Math.PI * Complex.Log( ( 1 + transformed ) / ( 1 - transformed ) ); //band = new Complex( band.Real, band.Imaginary + 0.3 * System.Math.Sin( band.Real * 2 ) ); //band = new Complex( band.Real * .5, band.Imaginary ); //band += new Complex( 0, .5 ); //Vertex( band ); /* double x = band.Real; double y = band.Imaginary; double r = System.Math.Exp( x ); double theta = 3*( x + y/1.75 ); */ //Vertex( new Complex( r * System.Math.Sin( theta ), r * System.Math.Cos( theta ) ) ); // Spiral } } GL.End(); } } }
roice3/MagicTile
R3/R3.Core/Geometry/HyperbolicModels.cs
C#
mit
6,908
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>star</title> <script src="http://code.jquery.com/jquery-3.2.1.min.js"></script> </head> <body> <div id="out"></div> <script type="text/javascript"> $.ajax({ url:'http://www.bringoo.com.tw/npo_map/show_star.php?org_id=3', type: "get", success(res){ console.log(res); } }); </script> </body> </html>
teacher144123/npo_map
server/star.html
HTML
mit
401
pre { background-color: #212121; color: #d9d9d9; } .keyword { color: #20bbfc; } .primitive { color: #6855de; } .global { color: #f3e430; } .number { color: #c30771; } .string { color: #5fd7af; } .comment { color: #767676; }
gummesson/fabulous
examples/css/highlight.css
CSS
mit
246
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coalgebras: 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.2~camlp4 / coalgebras - 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> coalgebras <small> 8.7.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2021-12-24 13:47:43 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-24 13:47:43 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 camlp4 4.05+1 Camlp4 is a system for writing extensible parsers for programming languages conf-findutils 1 Virtual package relying on findutils coq 8.5.2~camlp4 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 ocamlbuild 0.14.0 OCamlbuild is a build system with builtin rules to easily build most OCaml projects. # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/coalgebras&quot; license: &quot;LGPL&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Coalgebras&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.7&quot; &amp; &lt; &quot;8.8~&quot;} ] tags: [ &quot;keyword: coalgebra&quot; &quot;keyword: bisimulation&quot; &quot;keyword: weakly final&quot; &quot;keyword: coiteration&quot; &quot;keyword: co-inductive types&quot; &quot;category: Mathematics/Category Theory&quot; &quot;date: 2008-10&quot; ] authors: [ &quot;Milad Niqui &lt;M.Niqui@cwi.nl&gt; [http://www.cwi.nl/~milad]&quot; ] bug-reports: &quot;https://github.com/coq-contribs/coalgebras/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/coalgebras.git&quot; synopsis: &quot;Coalgebras, bisimulation and lambda-coiteration&quot; description: &quot;This contribution contains a formalisation of coalgebras, bisimulation on coalgebras, weakly final coalgebras, lambda-coiteration definition scheme (including primitive corecursion) and a version of lambda-bisimulation. The formalisation is modular. The implementation of the module types for streams and potentially infinite Peano numbers are provided using the coinductive types.&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/coalgebras/archive/v8.7.0.tar.gz&quot; checksum: &quot;md5=73818481b949ccbb1d4579b4da27c951&quot; } </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-coalgebras.8.7.0 coq.8.5.2~camlp4</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.2~camlp4). The following dependencies couldn&#39;t be met: - coq-coalgebras -&gt; coq &gt;= 8.7 Your request can&#39;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-coalgebras.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.2~camlp4/coalgebras/8.7.0.html
HTML
mit
7,437
return { floor_heightmap_scale = 0.002, ceiling_heightmap_scale = 0.002, floor_detail_scale = 0.5, ceiling_detail_scale = 0.02, floor_y_scale = 80.0, ceiling_y_scale = 150.0, floor_y_offset = -100.0, ceiling_y_offset = 100.0, fog_color = vec3(0, 1, 1), ambient = vec3(1), diffuse = vec3(0), }
ianmaclarty/vertex-meadow
settings4.lua
Lua
mit
337
<?php namespace Guzzle\Plugin\Cache; use Guzzle\Http\Message\RequestInterface; use Guzzle\Http\Message\Response; interface CanCacheStrategyInterface { public function canCacheRequest(RequestInterface $request); public function canCacheResponse(Response $response); }
TropicalRobot/finding-beyond
public/app/plugins/easyazon-pro-4.0.17/components/localization/lib/geoip/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CanCacheStrategyInterface.php
PHP
mit
288
package flame.client.xteam; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Map; import java.util.concurrent.Semaphore; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.RGB; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Group; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.List; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TabFolder; import org.eclipse.swt.widgets.TabItem; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableItem; import flame.Constants; import flame.ScreenLogger; import flame.client.FLAMEClient; /** * InfoTab is an XTEAM GUI tab that presents XTEAM analysis information for the given type of analysis * * @author <a href=mailto:jaeyounb@usc.edu>Jae young Bang</a> * @version 2013.05 */ public class InfoTab { /////////////////////////////////////////////// //Member Variables /////////////////////////////////////////////// /** * Only MRSV and LocalV will show if this value is true * All of MRSV, LSV, and LocalV will show if this value is false */ protected boolean twoColumnMode; /** * Display that the XTEAMGUI uses */ protected Display display; /** * FLAMEClient instance to invoke the Snapshot and Update methods */ protected FLAMEClient c; /** * ScreenLogger instance */ protected ScreenLogger sl; /** * Analysis ID */ protected int analysis_id; /** * Analysis type (e.g. Energy Consumption, Latency ...) */ protected String analysis_type; /** * Tab to be presented */ protected TabItem tabItem; /** * Group that takes the whole tab */ protected Group group; /** * List of Snapshot numbers */ protected List listLV; /** * List of Snapshot history */ protected List listSH; /** * Table that presents list of global syntactic errors */ protected Table tableGlobalSCL; /** * Table that presents list of local syntactic errors */ protected Table tableLocalSCL; /** * Global syntactic error label -- to present the absolute time of the analysis */ protected Label labelGlobalSCLTitle; /** * Local syntactic error label -- to present the absolute time of the analysis */ protected Label labelLocalSCLTitle; /** * Label that presents MRSV Overall analysis */ protected Label labelMRSVOverall; /** * Label that presents LSV Overall analysis */ protected Label labelLSVOverall; /** * Label that presents LocalV Overall analysis */ protected Label labelLocalVOverall; /** * List that presents MRSV per-element analysis */ protected List listMRSV; /** * List that presents LSV per-element analysis */ protected List listLSV; /** * List that presents LocalV per-element analysis */ protected List listLocalV; /** * Label that presents the on-going simulations at the MRSV engine */ protected Label labelMRSVSimStatus; /** * Label that presents the on-going simulations at the LSV engine */ protected Label labelLSVSimStatus; /** * Label that presents the on-going simulations at the LocalV engine */ protected Label labelLocalVSimStatus; /** * Status bar Label */ protected Label labelStatusBar; /** * Switch that turns on and off the XTEAM GUI window for experimental purposes */ protected boolean xteamGUISwitch; /** * Button "Local Check" */ protected Button buttonCheck; /** * Button "Commit" */ protected Button buttonSnapshot; protected String arrivalTime_MRSV_overall = "00000000_0000_00"; protected String arrivalTime_LSV_overall = "00000000_0000_00"; protected String arrivalTime_LocalV_overall = "00000000_0000_00"; protected String arrivalTime_MRSV_per_component = "00000000_0000_00"; protected String arrivalTime_LSV_per_component = "00000000_0000_00"; protected String arrivalTime_LocalV_per_component = "00000000_0000_00"; protected String arrivalTime_GlobalSCL = "00000000_0000_00"; protected String arrivalTime_LocalSCL = "00000000_0000_00"; /** * Semaphore to control the maximum number of concurrent XTEAM simulation threads. */ protected Semaphore mLockGUI; /** * Locks the outgoing Events semaphore */ public void getLock() { try { mLockGUI.acquire(); // get the semaphore } catch (InterruptedException ie) { printMsg("Thread interrupted while waiting for the semaphore"); } } /** * Releases the outgoing Event semaphore */ public void releaseLock() { mLockGUI.release(); } /////////////////////////////////////////////// //Constructors /////////////////////////////////////////////// /** * Default constructor * * @param client FLAMEClient instance * @param analysis_id Analysis ID * @param analysis_type Analysis type (e.g. Energy Consumption, Latency ...) * @param value_type Analysis value type (e.g. Average, Maximum, Total, Success, ... ) * @param display XTEAM GUI Display * @param mag Magnification multiplier * @param tabFolder TabFolder that this tab goes into * @param xteamGUISwitch Enable/disable some fields for experimental purposes * @param twoColumnMode Hide the LSV fields when true * @param screenLogger ScreenLogger instance */ public InfoTab( FLAMEClient client, int analysis_id, String analysis_type, String value_type, Display display, final Shell shell, int mag, TabFolder tabFolder, boolean xteamGUISwitch, boolean twoColumnMode, ScreenLogger screenLogger) { String font_face = "Courier New"; int font_size = 9; mLockGUI = new Semaphore (1, true); c = client; sl = screenLogger; this.display = display; this.analysis_id = analysis_id; this.analysis_type = analysis_type; this.xteamGUISwitch = xteamGUISwitch; this.twoColumnMode = twoColumnMode; int x_size = 235; // horizontal size int x_gap = 10; // horizontal gap int y_size = 16; String tabName = analysis_type; String groupName = analysis_type + " Analysis"; // Initialize the tab tabItem = new TabItem (tabFolder, SWT.NULL); tabItem.setText(tabName); // create a group that covers the entire tab group = new Group(tabFolder, SWT.NONE); group.setText(groupName); // XTEAM GUI switched off message String switchedOffMsg = "DISABLED BY CONFIGURATION"; // last versions Label labelLVTitle = new Label(group, SWT.NONE); labelLVTitle.setText("Commit counts:"); labelLVTitle.setSize(x_size * mag, 20 * mag); labelLVTitle.setLocation(x_gap * mag, 35 * mag); listLV = new List(group, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); listLV.setFont(new Font(display, font_face, font_size, SWT.NONE)); listLV.setSize(x_size * mag, 60 * mag); listLV.setLocation(x_gap * mag, 55 * mag); // Snapshot history Label labelSHTitle = new Label(group, SWT.NONE); labelSHTitle.setText("Commit history:"); labelSHTitle.setSize(x_size * mag, 20 * mag); labelSHTitle.setLocation(x_gap * mag, 120 * mag); listSH = new List(group, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); listSH.setFont(new Font(display, font_face, font_size, SWT.NONE)); listSH.setSize(x_size * mag, 150 * mag); listSH.setLocation(x_gap * mag, 140 * mag); ///////////////////////////////////////////////////////////////////// // MRSV Fields ///////////////////////////////////////////////////////////////////// // MRSV overall Label labelMRSVTitle = new Label(group, SWT.NONE); labelMRSVTitle.setText("Most recent version:"); labelMRSVTitle.setSize(x_size * mag, 20 * mag); labelMRSVTitle.setLocation((x_gap * 2 + x_size) * mag, 35 * mag); labelMRSVOverall = new Label(group, SWT.BORDER); labelMRSVOverall.setBackground(new Color(display, new RGB(230,230,230))); labelMRSVOverall.setFont(new Font(display, font_face, font_size, SWT.NONE)); labelMRSVOverall.setSize(x_size * mag, 60 * mag); labelMRSVOverall.setLocation((x_gap * 2 + x_size) * mag, 55 * mag); if(!xteamGUISwitch) { labelMRSVOverall.setText(switchedOffMsg); labelMRSVOverall.setEnabled(false); } // MRSV element list Label labelMRSVelement = new Label(group, SWT.NONE); labelMRSVelement.setText(value_type + " " + analysis_type.toLowerCase() + " values:"); labelMRSVelement.setSize(x_size * mag, 20 * mag); labelMRSVelement.setLocation((x_gap * 2 + x_size) * mag, 120 * mag); listMRSV = new List(group, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); listMRSV.setFont(new Font(display, font_face, font_size, SWT.NONE)); listMRSV.setSize(x_size * mag, (150-y_size) * mag); listMRSV.setLocation((x_gap * 2 + x_size) * mag, 140 * mag); if(!xteamGUISwitch) { listMRSV.add(switchedOffMsg); listMRSV.setEnabled(false); } // MRSV simulation status labelMRSVSimStatus = new Label(group, SWT.BORDER_SOLID); labelMRSVSimStatus.setText("MRSV Sim Stat"); labelMRSVSimStatus.setSize(x_size * mag, y_size * mag); labelMRSVSimStatus.setLocation((x_gap * 2 + x_size) * mag, (290-y_size) * mag); labelMRSVSimStatus.setBackground(display.getSystemColor(SWT.COLOR_GRAY)); ///////////////////////////////////////////////////////////////////// // LSV Fields ///////////////////////////////////////////////////////////////////// // LSV overall Label labelLSVTitle = new Label(group, SWT.NONE); labelLSVTitle.setText("Last committed version:"); labelLSVTitle.setSize(x_size * mag, 20 * mag); labelLSVTitle.setLocation((x_size * 2 + x_gap * 3) * mag, 35 * mag); labelLSVOverall = new Label(group, SWT.BORDER); labelLSVOverall.setBackground(new Color(display, new RGB(230,230,230))); labelLSVOverall.setFont(new Font(display, font_face, font_size, SWT.NONE)); labelLSVOverall.setSize(x_size * mag, 60 * mag); labelLSVOverall.setLocation((x_size * 2 + x_gap * 3) * mag, 55 * mag); if(!xteamGUISwitch) { labelLSVOverall.setText(switchedOffMsg); labelLSVOverall.setEnabled(false); } // LSV element list Label labelLSVelement = new Label(group, SWT.NONE); labelLSVelement.setText(value_type + " " + analysis_type.toLowerCase() + " values:"); labelLSVelement.setSize(x_size * mag, 20 * mag); labelLSVelement.setLocation((x_size * 2 + x_gap * 3) * mag, 120 * mag); listLSV = new List(group, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); listLSV.setFont(new Font(display, font_face, font_size, SWT.NONE)); listLSV.setSize(x_size * mag, (150-y_size) * mag); listLSV.setLocation((x_size * 2 + x_gap * 3) * mag, 140 * mag); if(!xteamGUISwitch) { listLSV.add(switchedOffMsg); listLSV.setEnabled(false); } // LSV simulation status labelLSVSimStatus = new Label(group, SWT.BORDER_SOLID); labelLSVSimStatus.setText("LSV Sim Stat"); labelLSVSimStatus.setSize(x_size * mag, y_size * mag); labelLSVSimStatus.setLocation((x_size * 2 + x_gap * 3) * mag, (290-y_size) * mag); labelLSVSimStatus.setBackground(display.getSystemColor(SWT.COLOR_GRAY)); ///////////////////////////////////////////////////////////////////// // LocalV Fields ///////////////////////////////////////////////////////////////////// // LocalV overall Label labelLocalVTitle = new Label(group, SWT.NONE); labelLocalVTitle.setText("Local version:"); labelLocalVTitle.setSize(x_size * mag, 20 * mag); labelLocalVTitle.setLocation((x_size * 3 + x_gap * 4) * mag, 35 * mag); labelLocalVOverall = new Label(group, SWT.BORDER); labelLocalVOverall.setBackground(new Color(display, new RGB(230,230,230))); labelLocalVOverall.setFont(new Font(display, font_face, font_size, SWT.NONE)); labelLocalVOverall.setSize(x_size * mag, 60 * mag); labelLocalVOverall.setLocation((x_size * 3 + x_gap * 4) * mag, 55 * mag); // LocalV element list Label labelLocalVelement = new Label(group, SWT.NONE); labelLocalVelement.setText(value_type + " " + analysis_type.toLowerCase() + " values:"); labelLocalVelement.setSize(x_size * mag, 20 * mag); labelLocalVelement.setLocation((x_size * 3 + x_gap * 4) * mag, 120 * mag); listLocalV = new List(group, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); listLocalV.setFont(new Font(display, font_face, font_size, SWT.NONE)); listLocalV.setSize(x_size * mag, (150-y_size) * mag); listLocalV.setLocation((x_size * 3 + x_gap * 4) * mag, 140 * mag); // LocalV simulation status labelLocalVSimStatus = new Label(group, SWT.BORDER_SOLID); labelLocalVSimStatus.setText("LocalV Sim Stat"); labelLocalVSimStatus.setSize(x_size * mag, y_size * mag); labelLocalVSimStatus.setLocation((x_size * 3 + x_gap * 4) * mag, (290-y_size) * mag); labelLocalVSimStatus.setBackground(display.getSystemColor(SWT.COLOR_GRAY)); ///////////////////////////////////////////////////////////////////// // Syntactic Conflict Fields ///////////////////////////////////////////////////////////////////// // Global syntactic conflict list labelGlobalSCLTitle = new Label(group, SWT.NONE); labelGlobalSCLTitle.setText("Global syntax errors (from MRV)"); labelGlobalSCLTitle.setSize((x_size*4 + x_gap*3) * mag, 20 * mag); labelGlobalSCLTitle.setLocation(x_gap * mag, 295 * mag); tableGlobalSCL = new Table(group, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); tableGlobalSCL.setFont(new Font(display, font_face, font_size, SWT.NONE)); tableGlobalSCL.setSize((x_size*4 + x_gap*3) * mag, 100 * mag); tableGlobalSCL.setLocation(x_gap * mag, 315 * mag); if(!xteamGUISwitch) { TableItem item = new TableItem(tableGlobalSCL, SWT.None); item.setText(switchedOffMsg); tableGlobalSCL.setEnabled(false); } // Local syntactic conflict list labelLocalSCLTitle = new Label(group, SWT.NONE); labelLocalSCLTitle.setText("Local syntax errors (from LocalV)"); labelLocalSCLTitle.setSize((x_size*4 + x_gap*3) * mag, 20 * mag); labelLocalSCLTitle.setLocation(x_gap * mag, 425 * mag); tableLocalSCL = new Table(group, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); tableLocalSCL.setFont(new Font(display, font_face, font_size, SWT.NONE)); tableLocalSCL.setSize((x_size*4 + x_gap*3) * mag, 100 * mag); tableLocalSCL.setLocation(x_gap * mag, 445 * mag); // commit button buttonSnapshot = new Button(group, SWT.PUSH); buttonSnapshot.setLocation(x_gap * mag, 560 * mag); buttonSnapshot.setSize(130 * mag, 23 * mag); buttonSnapshot.setText("Commit"); buttonSnapshot.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { printMsg("Commit button pressed"); c.commit(); } }); // Update button Button buttonUpdate = new Button(group, SWT.PUSH); buttonUpdate.setLocation((x_gap * 2 + 130) * mag, 560 * mag); buttonUpdate.setSize(130 * mag, 23 * mag); buttonUpdate.setText("Update"); buttonUpdate.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { printMsg("Update button pressed"); c.update(); } }); // Exit button Button buttonExit = new Button(group, SWT.PUSH); buttonExit.setLocation((x_gap * 3 + 130 * 2) * mag, 560 * mag); buttonExit.setSize(130 * mag, 23 * mag); buttonExit.setText("Exit"); buttonExit.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { printMsg("Exit button pressed"); c.getModelingTool().destroy(); shell.dispose(); } }); // Check Local button /* buttonCheck = new Button(group, SWT.PUSH); buttonCheck.setLocation(x_gap * 2 + 130, 660); buttonCheck.setSize(130, 23); buttonCheck.setText("Check Local"); if(xteamGUISwitch) { disableCheckButton(); } buttonCheck.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { printMsg("Check Local button pressed"); c.presentLocalInfo(); } }); */ // Status bar labelStatusBar = new Label(group, SWT.NONE); labelStatusBar.setText("Ready"); labelStatusBar.setSize(1000 * mag, 20 * mag); labelStatusBar.setLocation(0 * mag, 598 * mag); labelStatusBar.setBackground(display.getSystemColor(SWT.COLOR_GRAY)); tabItem.setControl(group); } /////////////////////////////////////////////// //Member Methods /////////////////////////////////////////////// public int getAnalisysID() { return analysis_id; } public String getAnalisysType() { return analysis_type; } // Data across all analysis results public void updateLV (ArrayList<String> data) { updateList(listLV, data); } public void updateSH (ArrayList<String> data) { updateList(listSH, data); } public void addToSH (String data) { addToList(listSH, data); } public void updateGlobalSCL (ArrayList<String> data, Map<String, java.util.List<String>> warnings, String arrivalTime) { // if the new data is from the past, throw it away if(arrivalTime_GlobalSCL.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_GlobalSCL = arrivalTime; ArrayList<String> scl = manipulateSCL(data, warnings); updateTable(tableGlobalSCL, scl); labelGlobalSCLTitle.setText("Global syntax errors (from MRV) @ " + arrivalTime); highlightGSCL(); releaseLock(); } } public void updateLocalSCL (ArrayList<String> data, Map<String, java.util.List<String>> warnings, String arrivalTime) { // if the new data is from the past, throw it away if(arrivalTime_LocalSCL.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_LocalSCL = arrivalTime; ArrayList<String> scl = manipulateSCL(data, warnings); updateTable(tableLocalSCL, scl); labelLocalSCLTitle.setText("Local syntax errors (from LocalV) @ " + arrivalTime); if(xteamGUISwitch) { highlightGSCL(); } releaseLock(); } } /** * Adds warning messages to the errors list and sorts it * * @param data The errors (conflicts) list * @param warnings The warning messages * @return Sorted List of errors and warnings */ protected ArrayList<String> manipulateSCL(ArrayList<String> data, Map<String, java.util.List<String>> warnings) { // creates a new list with the errors ArrayList<String> ret = new ArrayList<>(); ret.addAll(data); // only when there is warning messages if(warnings != null) { // adds warning messages to the list ArrayList<String> warningsForThisTab = (ArrayList<String>) warnings.get(analysis_type); if(warningsForThisTab != null) { for(String entry : warningsForThisTab) { String newConflict = "[WRN]:[" + analysis_type + "]:"; // pads the new conflict string with spaces for(int i=0; i < 18 - newConflict.length(); i++) { newConflict += " "; } newConflict += entry; ret.add(newConflict); } } } if(ret.size() == 0) { // adds "None" if the list is empty ret.add("None"); } else { // sorts the list Collections.sort(ret); } return ret; } /** * highlights elements in Global SCL that also appear in Local SCL */ protected void highlightGSCL () { for(int i=0; i < tableGlobalSCL.getItemCount(); i++) { // gets the current TableItem TableItem globalConflict = tableGlobalSCL.getItem(i); boolean found = false; // iterates through the local conflicts for(TableItem localConflict : tableLocalSCL.getItems()) { // compares a local conflict and a global conflict if(localConflict.getText().equals(globalConflict.getText())) { found = true; break; } } if(found) { // colors gray if a match setForegroundColor(globalConflict, SWT.COLOR_GRAY); } else { // colors black if not a match setForegroundColor(globalConflict, SWT.COLOR_BLACK); } } } /** * Sets background color of a TableItem * * @param item TableItem to change the background color * @param color Target color */ protected void setBackgroundColor(TableItem item, int color) { item.setBackground(display.getSystemColor(color)); } protected void setForegroundColor(TableItem item, int color) { item.setForeground(display.getSystemColor(color)); } // Analysis-type-specific results public void updateMRSVOverall (String analysisType, String data, String arrivalTime) { if(check(analysisType) && arrivalTime_MRSV_overall.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_MRSV_overall = arrivalTime; updateLabel(labelMRSVOverall, data); releaseLock(); } } public void outdateMRSVOverall (String analysisType, String arrivalTime) { if(check(analysisType) && arrivalTime_MRSV_overall.compareTo(arrivalTime) < 0) { getLock(); outdateLabel(labelMRSVOverall); releaseLock(); } } public void updateLSVOverall (String analysisType, String data, String arrivalTime) { if(check(analysisType) && arrivalTime_LSV_overall.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_LSV_overall = arrivalTime; updateLabel(labelLSVOverall, data); releaseLock(); } } public void outdateLSVOverall (String analysisType, String arrivalTime) { if(check(analysisType) && arrivalTime_LSV_overall.compareTo(arrivalTime) < 0) { getLock(); outdateLabel(labelLSVOverall); releaseLock(); } } public void updateLocalVOverall (String analysisType, String data, String arrivalTime) { if(check(analysisType) && arrivalTime_LocalV_overall.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_LocalV_overall = arrivalTime; updateLabel(labelLocalVOverall, data); releaseLock(); } } public void outdateLocalVOverall (String analysisType, String arrivalTime) { if(check(analysisType) && arrivalTime_LocalV_overall.compareTo(arrivalTime) < 0) { getLock(); outdateLabel(labelLocalVOverall); releaseLock(); } } public void updateListMRSV (String analysisType, ArrayList<String> data, String arrivalTime) { if(check(analysisType) && arrivalTime_MRSV_per_component.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_MRSV_per_component = arrivalTime; updateList(listMRSV, data); releaseLock(); } } public void updateListLSV (String analysisType, ArrayList<String> data, String arrivalTime) { if(check(analysisType) && arrivalTime_LSV_per_component.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_LSV_per_component = arrivalTime; updateList(listLSV, data); releaseLock(); } } public void updateListLocalV (String analysisType, ArrayList<String> data, String arrivalTime) { if(check(analysisType) && arrivalTime_LocalV_per_component.compareTo(arrivalTime) < 0) { getLock(); arrivalTime_LocalV_per_component = arrivalTime; updateList(listLocalV, data); releaseLock(); } } /** * Checks if the analysis type matches this InfoTab * * @param analysisType Analysis type * @return True if matches, false otherwise */ private boolean check (String analysisType) { if(this.analysis_type.equals(analysisType) || analysisType.toLowerCase().equals("all")) { return true; } else { return false; } } /** * Updates a Label with the new data * @param label Target Label * @param data New data */ protected void updateLabel(Label label, String data) { label.setText(data); } /** * Adds *OLD* message at the end of a label's first line of text * * @param label Target Label */ protected void outdateLabel(Label label) { String originalText = label.getText(); if(originalText.length() == 0) { return; } String[] tokens = originalText.split(Constants.endl); String phrase = "*OLD*"; // checks if the label has any text if(tokens.length > 0) { // checks if the first line already has the *OLD* phrase at the end String[] words = tokens[0].trim().split(" "); if(words.length > 0 && !words[words.length - 1].equals(phrase)) { tokens[0] += " " + phrase; } } else { return; } String newText = new String(); for(String token : tokens) { newText += token + Constants.endl; } label.setText(newText); } /** * Updates a List with the new data * @param list Target List * @param data New data */ protected void updateList(List list, ArrayList<String> data) { list.setItems(data.toArray(new String[data.size()])); } /** * Updates a Table with the new data * @param table Target Table * @param data New data */ protected void updateTable(Table table, ArrayList<String> new_data) { // old items existing in the table TableItem[] old_table_items = table.getItems(); // if the old data is empty if(old_table_items.length == 0) { for(String str : new_data) { TableItem item = new TableItem(table, SWT.None); item.setText(str); } return; } ///////////////////////////////////////////////////////////// // removes items that do not exist in the new data ///////////////////////////////////////////////////////////// ArrayList<Integer> items_to_remove = new ArrayList<>(); try { for(TableItem item : old_table_items) { boolean found = false; for(String new_item : new_data) { if(item.getText().equals(new_item)) { found = true; break; } } if(found == false) { items_to_remove.add(table.indexOf(item)); } } if(items_to_remove.size() > 0) { // converts the index arraylist into an int array int[] indexes = new int[items_to_remove.size()]; for(int i=0; i < items_to_remove.size(); i++) { indexes[i] = items_to_remove.get(i).intValue(); } // removes table.remove(indexes); } } catch (Exception e) { printMsg("Error: Failed to remove items from old data: " + e); } ///////////////////////////////////////////////////////////// // adds new items ///////////////////////////////////////////////////////////// int cursor_new_data = 0; int cursor_old_data = 0; int size_new_data = new_data.size(); try { // iterates through the new data while (cursor_new_data < size_new_data) { old_table_items = table.getItems(); int size_old_data = table.getItemCount(); String current_new_data = new_data.get(cursor_new_data); if(cursor_old_data >= size_old_data) { // no more old item: add the new item at the end of the old data TableItem item = new TableItem(table, SWT.None, cursor_old_data); item.setText(new_data.get(cursor_new_data)); cursor_new_data++; } else { // at least one more old item: the old item at the cursor String current_old_data = old_table_items[cursor_old_data].getText(); // compares the two strings int comparison = current_new_data.compareTo(current_old_data); if(comparison < 0) { // if the new item precedes TableItem item = new TableItem(table, SWT.None, cursor_old_data); item.setText(new_data.get(cursor_new_data)); cursor_new_data++; } else if (comparison == 0) { // if the current_new_data string equals cursor_new_data++; cursor_old_data++; } else { // if the current_new_data string follows cursor_old_data++; } } } } catch (Exception e) { printMsg("Error: Failed to add a new item to the table: " + e); } /* table.removeAll(); for(String str : data) { TableItem item = new TableItem(table, SWT.None); item.setText(str); } */ } /** * Adds an item to a List * @param list Target List * @param data New entry */ protected void addToList(List list, String data) { list.add(data); String[] items = list.getItems(); Arrays.sort(items, Collections.reverseOrder()); list.setItems(items); } /** * Sets the MRSV simulation status message * * @param thread_count Number of threads running simulation now */ public void setMRSVSimStatus(Integer thread_count) { int color = thread_count == 0 ? SWT.COLOR_GRAY : SWT.COLOR_CYAN; setStatus(labelMRSVSimStatus, thread_count + " simulations running", color); } /** * Sets the LSV simulation status message * * @param thread_count Number of threads running simulation now */ public void setLSVSimStatus(Integer thread_count) { int color = thread_count == 0 ? SWT.COLOR_GRAY : SWT.COLOR_CYAN; setStatus(labelLSVSimStatus, thread_count + " simulations running", color); } /** * Sets the LocalV simulation status message * * @param thread_count Number of threads running simulation now */ public void setLocalVSimStatus(Integer thread_count) { int color = thread_count == 0 ? SWT.COLOR_GRAY : SWT.COLOR_CYAN; setStatus(labelLocalVSimStatus, thread_count + " simulations running", color); } /** * Sets the status bar message in cyan * * @param message New message */ public void setInProgressStatus(String message) { setStatus(labelStatusBar, message, SWT.COLOR_CYAN); } /** * Sets the status bar message in gray * * @param message New message */ public void setIdleStatus(String message) { setStatus(labelStatusBar, message, SWT.COLOR_GRAY); } /** * Sets the status bar message with given background color * * @param message New message * @param color Target color */ protected void setStatus(Label label, String message, int color) { label.setText(message); label.setBackground(display.getSystemColor(color)); } public void disableSnapshotButton() { buttonSnapshot.setEnabled(false); } public void disableCheckButton() { buttonCheck.setEnabled(false); } public void enableSnapshotButton() { buttonSnapshot.setEnabled(true); } public void enableCheckButton() { buttonCheck.setEnabled(true); } /** * Print screen messages * * @param msg Message to print to screen */ private void printMsg(String msg) { sl.printMsg("InfoTab(" + analysis_type + ")", msg); } }
ronia/flame
src/flame/client/xteam/InfoTab.java
Java
mit
30,289
--- title : "Apache Spark - RDD" layout: post --- ## RDDs(Resilient Distributed Datasets) 분산되어 존재하는 데이터 요소들의 모임. 스파크에서 이루어지는 모든 작업의 기본 요소이자 핵심. 분산되어 있는 변경 불가능한 객체 모음. 각 RDD는 클러스터의 서로 다른 노드들에서 연산 가능하도록 여러 개의 파티션으로 나뉜다. RDD는 사용자 정의 클래스를 포함해서 파이썬, 자바, 스칼라의 어떤 타입의 객체든 가질 수 있다. 트랜스포메이션(transformation)과 액션(action) 두가지 타입의 연산을 지원한다. <br/> --- ## create RDDs RDDs를 만드는 방법은 두가지가 있다. 1. driver program의 collection을 parallelize. 2. 파일시스템이나 hdfs등의 외부 데이터를 불러오기. ### parallelize - python ```py lines = sc.parallelize(["pandas", "i like pandas"]) ``` - scala ```scala val lines = sc.parallelize(List("pandas", "i like pandas")) ``` 위의 두 예제 모두 파이썬과 스칼라의 리스트를 RDD로 parallelize 했다. ### external storage data - python ```py lines = sc.textFile("/path/to/README.md") ``` - scala ```scala val lines = sc.textFile("/path/to/README.md") ``` 외부 스토리지에서 데이터를 불러온다. <br/> --- ## operations RDD는 트랜스포메이션과 액션 연산 지원. <br/> ### transformation 존재하는 RDD에서 새로운 RDD를 만들어 낸다. example - 표현식과 일치하는 데이터를 걸러 낸다.(filter) - 두개의 RDD를 합친다.(union) - python ```py inputRDD = sc.textFile("log.txt") errorsRDD = inputRDD.filter(lambda x: "error" in x) ``` - scala ```scala val inputRDD = sc.textFile("log.txt") val errorsRDD = inputRDD.filter(line => line.contains("error")) ``` 이미 존재하는 RDD를 변경하지는 않음. 대신 새로운 RDD를 리턴. <br/> ### action RDD를 기초로 결과 값을 계산하며 그 값을 드라이버 프로그램에 되돌려주거나 외부 스토리지(ex. HDFS)에 저장. action이 실행될 때 마다 매번 새로 연산. 여러 액션 중 RDD 하나를 재사용하고 싶으면 `RDD.persist()`를 사용하여 결과를 유지할 수 있다. 데이터를 보존할 위치도 지정할 수 있다. 기본적으로는 메모리에 저장된다. - python ```py print "Input had " + badLinesRDD.count() + " concerning lines" print "Here are 10 examples:" for line in badLinesRDD.take(10): print line ``` - scala ```scala println("Input had " + badLinesRDD.count() + " concerning lines") println("Here are 10 examples: ") badLinesRDD.take(10).foreach(println) ``` * `take()` : 일부 데이터를 가져옴. 전체 데이터 셋이 단일 컴퓨터의 메모리에 올라올 수 있을 정도의 크기인 경우 `collect()` 사용 가능. <br/> ### passing function #### python ```py # lambda 식 예제 word = rdd.filter(lambda s: "error" in s) # 실제 함수 전달 예제 def containsError(s): return "error" in s word = rdd.filter(containsError) #필드 참조가 없는 파이썬 함수 전달 class WordFunctions(Object): ... def getMatchesNoReference(self, rdd): query = self.query return rdd.filter(lambda x: query in x) ``` <br/> ### scala ```scala class SearchFunctions(val query: String) { def isMatch(s: String): Boolean = { s.contain(query) } def getMatchesFunctionReference(rdd: RDD[String]): RDD[Boolean] = { // "isMatch"는 "this.isMatch"이므로 this의 모든 것이 전달된다. rdd.map(isMatch) } def getMatchesFieldReference(rdd: RDD[String]): RDD[Array[String]] = { // "query"는 "this.query"이므로 this의 모든 것이 전달된다. rdd.map(x => x.split(query)) } def getMatchesNoReference(rdd: RDD[String]): RDD[Array[String]] = { // 필요한 필드만 추출하여 지역 변수에 저장해 전달한다. val query_ = this.query rdd.map(x => x.split(query_)) } } ``` 1. 외부 데이터에서 입력 RDD를 만든다. 2. filter()같은 transformation을 써서 새로운 RDD를 정의한다. 3. 재사용을 위한 중간 단계의 RDD들을 보존하기 위해 스파크에 persist()를 요청한다. 4. 스파크가 최적화한 병렬 연산 수행을 위해 count()나 first() 같은 액션을 시작한다.
makeajourney/makeajourney.github.io
_posts/2016-09-27-spark-rdd.md
Markdown
mit
4,417
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; U; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;)</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; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;) </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>WhichBrowser<br /><small>v2.0.18</small><br /><small>vendor/whichbrowser/parser/tests/data/television/mitsubishi.yaml</small></td><td>NetFront NX 2.1</td><td>Webkit 534</td><td> </td><td style="border-left: 1px solid #555"></td><td></td><td>television</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-027cff01-4a76-491b-ace3-9289fcbc172f">Detail</a> <!-- Modal Structure --> <div id="modal-027cff01-4a76-491b-ace3-9289fcbc172f" class="modal modal-fixed-footer"> <div class="modal-content"> <h4>WhichBrowser result detail</h4> <p><pre><code class="php">Array ( [headers] => User-Agent: Mozilla/5.0 (Linux; U; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;) [result] => Array ( [browser] => Array ( [name] => NetFront NX [version] => 2.1 [type] => browser ) [engine] => Array ( [name] => Webkit [version] => 534 ) [device] => Array ( [type] => television [manufacturer] => Mitsubishi [series] => Smart TV ) ) [readable] => NetFront NX 2.1 on a Mitsubishi Smart TV ) </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 colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td> <td colspan="12" class="center-align red lighten-1"> <strong>No result found</strong> </td> </tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>AppleWebKit 534</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] => Linux [browser] => AppleWebKit [version] => 534 ) </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>Mozilla </td><td><i class="material-icons">close</i></td><td>Linux </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></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-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] => Mozilla [browserVersion] => [osName] => Linux [osVersion] => [deviceModel] => WebKit [isMobile] => [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>NetFront NX 2.1</td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555"></td><td></td><td>media-player</td><td></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.22201</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] => 0 [is_mobile] => [type] => media-player [mobile_brand] => [mobile_model] => [version] => 2.1 [is_android] => [browser_name] => NetFront NX [operating_system_family] => unknown [operating_system_version] => [is_ios] => [producer] => Mitsubishi [operating_system] => unknown [mobile_screen_width] => 0 [mobile_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><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td> </td><td> </td><td>GNU/Linux </td><td style="border-left: 1px solid #555"></td><td></td><td>desktop</td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.005</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] => [operatingSystem] => Array ( [name] => GNU/Linux [short_name] => LIN [version] => [platform] => ) [device] => Array ( [brand] => [brandName] => [model] => [device] => 0 [deviceName] => desktop ) [bot] => [extra] => Array ( [isBot] => [isBrowser] => [isFeedReader] => [isMobileApp] => [isPIM] => [isLibrary] => [isMediaPlayer] => [isCamera] => [isCarBrowser] => [isConsole] => [isFeaturePhone] => [isPhablet] => [isPortableMediaPlayer] => [isSmartDisplay] => [isSmartphone] => [isTablet] => [isTV] => [isDesktop] => 1 [isMobile] => [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>Mozilla 5.0</td><td><i class="material-icons">close</i></td><td>Linux </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></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.001</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; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;) ) [name:Sinergi\BrowserDetector\Browser:private] => Mozilla [version:Sinergi\BrowserDetector\Browser:private] => 5.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] => Linux [version:Sinergi\BrowserDetector\Os:private] => unknown [isMobile:Sinergi\BrowserDetector\Os:private] => [userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object ( [userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/5.0 (Linux; U; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;) ) ) [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; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;) ) ) ) </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> </td><td><i class="material-icons">close</i></td><td>Linux </td><td style="border-left: 1px solid #555"></td><td>0014GAIAV3</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] => [minor] => [patch] => [family] => Other ) [os] => UAParser\Result\OperatingSystem Object ( [major] => [minor] => [patch] => [patchMinor] => [family] => Linux ) [device] => UAParser\Result\Device Object ( [brand] => Generic_Inettv [model] => 0014GAIAV3 [family] => Inettv ) [originalUserAgent] => Mozilla/5.0 (Linux; U; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;) ) </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>Mozilla 5.0</td><td>WebKit 534</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>Desktop</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.15301</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] => Linux [platform_version] => Linux [platform_type] => Desktop [browser_name] => Mozilla [browser_version] => 5.0 [engine_name] => WebKit [engine_version] => 534 ) </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>Safari </td><td><i class="material-icons">close</i></td><td>Linux </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.065</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] => Safari [agent_version] => -- [os_type] => Linux [os_name] => Linux [os_versionName] => [os_versionNumber] => [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>Internet TV Browser 2.2</td><td>WebKit 534</td><td>Linux </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.24001</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] => Linux [simple_sub_description_string] => [simple_browser_string] => Internet TV Browser 2.2 on Linux (2.6.32) [browser_version] => 2.2 [extra_info] => stdClass Object ( [20] => Array ( [0] => Based on Opera ) ) [operating_platform] => [extra_info_table] => stdClass Object ( [NetFront NX Version] => 2.1 ) [layout_engine_name] => WebKit [detected_addons] => Array ( ) [operating_system_flavour_code] => [hardware_architecture] => [operating_system_flavour] => [operating_system_frameworks] => Array ( ) [browser_name_code] => internet-tv-browser [operating_system_version] => 2.6.32 [simple_operating_platform_string] => [is_abusive] => [layout_engine_version] => 534 [browser_capabilities] => Array ( ) [operating_platform_vendor_name] => [operating_system] => Linux (2.6.32) [operating_system_version_full] => [operating_platform_code] => [browser_name] => Internet TV Browser [operating_system_name_code] => linux [user_agent] => Mozilla/5.0 (Linux; U; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;) [browser_version_full] => 2.2 [browser] => Internet TV Browser 2.2 ) </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>NetFront NX 2.1</td><td>Webkit 534</td><td> </td><td style="border-left: 1px solid #555">Mitsubishi</td><td>Smart TV</td><td>television</td><td></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] => NetFront NX [version] => 2.1 [type] => browser ) [engine] => Array ( [name] => Webkit [version] => 534 ) [device] => Array ( [type] => television [manufacturer] => Mitsubishi [series] => Smart TV ) ) </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>InternetTVBrowser </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>appliance</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-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] => InternetTVBrowser [os] => DigitalTV [category] => appliance [version] => UNKNOWN [vendor] => UNKNOWN [os_version] => 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>Wurfl<br /><small>1.7.1.0</small><br /></td><td> </td><td><i class="material-icons">close</i></td><td>Linux </td><td style="border-left: 1px solid #555"></td><td>SmartTV</td><td>Smart-TV</td><td></td><td></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.016</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] => false [is_ios] => false [is_windows_phone] => false [is_app] => false [is_full_desktop] => false [is_largescreen] => true [is_mobile] => false [is_robot] => false [is_smartphone] => false [is_touchscreen] => false [is_wml_preferred] => false [is_xhtmlmp_preferred] => false [is_html_preferred] => true [advertised_device_os] => Linux [advertised_device_os_version] => [advertised_browser] => [advertised_browser_version] => [complete_device_name] => Generic SmartTV [device_name] => Generic SmartTV [form_factor] => Smart-TV [is_phone] => false [is_app_webview] => false ) [all] => Array ( [brand_name] => Generic [model_name] => SmartTV [unique] => true [ununiqueness_handler] => [is_wireless_device] => false [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] => [mobile_browser] => [mobile_browser_version] => [device_os_version] => [pointing_method] => [release_date] => 2011_january [marketing_name] => [model_extra_info] => [nokia_feature_pack] => 0 [can_assign_phone_number] => false [is_tablet] => false [manufacturer_name] => [is_bot] => false [is_google_glass] => false [proportional_font] => false [built_in_back_button_support] => false [card_title_support] => false [softkey_support] => false [table_support] => false [numbered_menus] => false [menu_with_select_element_recommended] => false [menu_with_list_of_links_recommended] => false [icons_on_menu_items_support] => false [break_list_of_links_with_br_element_recommended] => false [access_key_support] => false [wrap_mode_support] => false [times_square_mode_support] => false [deck_prefetch_support] => false [elective_forms_recommended] => false [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] => none [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] => true [xhtml_honors_bgcolor] => true [xhtml_supports_forms_in_table] => true [xhtml_support_wml2_namespace] => false [xhtml_autoexpand_select] => false [xhtml_select_as_dropdown] => true [xhtml_select_as_radiobutton] => true [xhtml_select_as_popup] => true [xhtml_display_accesskey] => false [xhtml_supports_invisible_text] => false [xhtml_supports_inline_input] => false [xhtml_supports_monospace_font] => false [xhtml_supports_table_for_layout] => false [xhtml_supports_css_cell_table_coloring] => false [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] => false [xhtml_document_title_support] => true [xhtml_preferred_charset] => utf8 [opwv_xhtml_extensions_support] => false [xhtml_make_phone_call_string] => none [xhtmlmp_preferred_mime_type] => text/html [xhtml_table_support] => false [xhtml_send_sms_string] => none [xhtml_send_mms_string] => none [xhtml_file_upload] => supported [cookie_support] => true [accept_third_party_cookie] => true [xhtml_supports_iframe] => full [xhtml_avoid_accesskeys] => true [xhtml_can_embed_video] => play_and_stop [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] => none [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] => false [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] => 685 [resolution_height] => 600 [columns] => 120 [max_image_width] => 650 [max_image_height] => 600 [rows] => 200 [physical_screen_width] => 400 [physical_screen_height] => 400 [dual_orientation] => false [density_class] => 1.0 [wbmp] => false [bmp] => true [epoc_bmp] => false [gif_animated] => true [jpg] => true [png] => true [tiff] => false [transparent_png_alpha] => false [transparent_png_index] => false [svgt_1_1] => true [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] => 3200 [wifi] => true [sdio] => false [vpn] => false [has_cellular_radio] => false [max_deck_size] => 100000 [max_url_length_in_requests] => 128 [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] => false [inline_support] => false [oma_support] => false [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] => false [streaming_3gpp] => false [streaming_mp4] => false [streaming_mov] => false [streaming_video_size_limit] => 0 [streaming_real_media] => none [streaming_flv] => false [streaming_3g2] => false [streaming_vcodec_h263_0] => -1 [streaming_vcodec_h263_3] => -1 [streaming_vcodec_mpeg4_sp] => -1 [streaming_vcodec_mpeg4_asp] => -1 [streaming_vcodec_h264_bp] => -1 [streaming_acodec_amr] => none [streaming_acodec_aac] => none [streaming_wmv] => none [streaming_preferred_protocol] => rtsp [streaming_preferred_http_protocol] => none [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] => false [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] => false [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] => false [mp3] => false [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] => none [css_rounded_corners] => none [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] => -1 [playback_vcodec_h263_3] => -1 [playback_vcodec_mpeg4_sp] => -1 [playback_vcodec_mpeg4_asp] => -1 [playback_vcodec_h264_bp] => -1 [playback_real_media] => none [playback_3gpp] => false [playback_3g2] => false [playback_mp4] => false [playback_mov] => false [playback_acodec_amr] => none [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] => false [html_preferred_dtd] => html4 [viewport_supported] => false [viewport_width] => width_equals_max_image_width [viewport_userscalable] => [viewport_initial_scale] => [viewport_maximum_scale] => [viewport_minimum_scale] => [mobileoptimized] => false [handheldfriendly] => false [canvas_support] => none [image_inlining] => true [is_smarttv] => true [is_console] => false [nfc_support] => false [ux_full_desktop] => false [jqm_grade] => A [is_sencha_touch_ok] => true ) ) </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> </td><td><i class="material-icons">close</i></td><td>GNU/Linux </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://www.mozilla.org/ [title] => Mozilla Compatible [name] => Mozilla Compatible [version] => [code] => mozilla [image] => img/16/browser/mozilla.png ) [os] => Array ( [link] => http://www.linux.org/ [name] => GNU/Linux [version] => [code] => linux [x64] => [title] => GNU/Linux [type] => os [dir] => os [image] => img/16/os/linux.png ) [device] => Array ( [link] => [title] => [model] => [brand] => [code] => null [dir] => device [type] => device [image] => img/16/device/null.png ) [platform] => Array ( [link] => http://www.linux.org/ [name] => GNU/Linux [version] => [code] => linux [x64] => [title] => GNU/Linux [type] => os [dir] => os [image] => img/16/os/linux.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:03:19</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>
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/98/8e/988ebb2c-e086-49df-99f7-9390f9e323b9.html
HTML
mit
49,400
# migl-pool Micro Game Library : Object pool The main use of the object pool pattern in javascript is to reduce the number of garbage collection by enforcing object reuse. Garbage collection can be quite taxing for real time application such as games and cause dropped frames (jank). This particular implementation of the object pool doesn't have a fixed size, new instances are dynamically added to the pool when needed. For further information, check [gameprogrammingpatterns.com](http://gameprogrammingpatterns.com/object-pool.html) and [html5rocks.com](http://www.html5rocks.com/en/tutorials/speed/static-mem-pools/)) ## Features * Doesn't force a specific interface onto the pooled objects. * Lightweight and simple. ## Basic example ### Pool creation for object literals : ```js var pool = require('migl-pool'); var literalPool = pool.create({ allocationNumber: 5, firstAllocationNumber: 10, factory: function literalPoolFactory () { return { value: 0, printValue: function () { console.log(this.value); } }; }, initialize: function literalPoolInitialize (element, options) { element.value = options.value; } }); var element = literalPool.get({ value: 2 }); element.printValue(); ``` ### Pool creation for classic prototype-based objects : ```js var MyObject = function () {}; MyObject.prototype.value = null; MyObject.prototype.printValue = function () { console.log(this.value); }; var pool = require('migl-pool'); var myObjectPool = pool.create({ allocationNumber: 5, firstAllocationNumber: 10, factory: function myObjectPoolFactory () { return new MyObject(); }, initialize: function myObjectPoolInitialize (element, options) { element.value = options.value; } }); var element = myObjectPool.get({ value: 2 }); element.printValue(); ``` ### General pool usage : ```js // where somePool is an instance of Pool var element = somePool.get({}); somePool.free(element); // place an element back into the pool of available instances console.log(somePool.toString()); // retrieve information about the pool, useful for debugging purpose somePool.clear(); //remove all the object from the pool ``` ## Roadmap * Make unit tests. * Better doc.
kchapelier/migl-pool
README.md
Markdown
mit
2,206
using System; namespace Acceleratio.SPDG.Generator { public class CredentialValidationException : ApplicationException { public CredentialValidationException(string message) : base(message) { } } }
Acceleratio/SPDG
src/Acceleratio.SPDG.Generator/CredentialValidationException.cs
C#
mit
237
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>three-gap: 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 / three-gap - 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> three-gap <small> 8.8.0 <span class="label label-info">Not compatible</span> </small> </h1> <p><em><script>document.write(moment("2020-03-15 06:26:03 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-03-15 06:26:03 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base camlp5 7.11 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-m4 1 Virtual package relying on m4 coq 8.9.0 Formal proof management system num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.09.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.09.0 Official release 4.09.0 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.8.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/three-gap&quot; license: &quot;LGPL 2.1&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/ThreeGap&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.8&quot; &amp; &lt; &quot;8.9~&quot;} ] tags: [ &quot;keyword: Real Numbers&quot; &quot;keyword: Steinhaus&quot; &quot;keyword: Three Gap Theorem&quot; &quot;category: Mathematics/Geometry/See also&quot; &quot;category: Mathematics/Arithmetic and Number Theory/Miscellaneous&quot; ] authors: [ &quot;Micaela Mayero&quot; ] bug-reports: &quot;https://github.com/coq-contribs/three-gap/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/three-gap.git&quot; synopsis: &quot;A Proof of the Three Gap Theorem (Steinhaus Conjecture)&quot; description: &quot;This proof uses the real numbers. It is a classical proof.&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/three-gap/archive/v8.8.0.tar.gz&quot; checksum: &quot;md5=9c01c608ed72ce065721d5de76f4cffb&quot; } </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-three-gap.8.8.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&#39;t be met: - coq-three-gap -&gt; coq &lt; 8.9~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;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-three-gap.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"> <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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.0-2.0.5/released/8.9.0/three-gap/8.8.0.html
HTML
mit
6,962
package utils object Messages { trait Reservation { val RESERVATION_CREATED = "Reservation created" val RESERVATION_CREATE_NO_AVAILABLE_SEAT = "There is no available seat for this movie!" val RESERVATION_CREATE_NO_AVAILABLE_MOVIE = "Requested movie does not exists!" } trait Movies { //from RFC 7231 val SOMETHING_WRONG_IN_CLIENT_REQUEST = "An error occurred while processing your request, please check your request payload" } trait Auth { } }
ziyasal/Reserveon
src/main/scala/utils/Messages.scala
Scala
mit
482
<!DOCTYPE html> <!--Made by Nadeem Shaik nadsaeae@gmail.com--> <html ng-app="weatherApp" ng-controller="mainCtrl"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>WeatherApp</title> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="css/materialize.css"> <link rel="stylesheet" type="text/css" href="css/index.css"> </head> <body class="cyan lighten-5" ng-cloak> <!--NAV BAR--> <div class="row nav"> <div class="col s12 m4 l4 button waves-effect"><!--NAV LOGO--> <nav > <div class="nav-wrapper cyan darken"> <a href="/" class="brand-logo center">WeatherApp</a> </div> </nav> </div> <div class="col s12 m8 l8 nav-search"> <!--NAV SEARCH--> <nav> <div class="nav-wrapper cyan"> <form ng-submit="getcity(name) ; show=true" > <div class="input-field"> <input ng-model="name" id="search" type="search" placeholder="Search for the Weather (Enter a City or Postal Code)" required> <label for="search"><i class="material-icons">search</i></label> <i class="material-icons">close</i> </div> </form> </div> </nav> </div> </div> <!--NAV BAR ENDS HERE--> <!--LAND MAIN --> <div ng-hide="show"> <div class="row land-main"> <div class="col s12 m6 l12 land-search "> <form ng-submit="getcity(name); show=true"> <div class="input-field"> <input respon ng-model="name" class="land-search" type="search" placeholder="Enter City" required> <label for="search"><i class="material-icons">search</i></label> <i class="material-icons">close</i> </div> </form> </div> </div> </div> <!--LAND MAIN ENDS HERE--> <!--WEATHER ROWS START HERE--> <div ng-if="show" > <div class="row"> <div class="col s12 m6 l6 week-box"> <div class="card cyan darken"> <div class="card-content black-text"> <span class="card-title">Weekly Forcast</span> </div> <div class="day-box"> <div class="day-panel cyan lighten-1" ng-repeat="item in weekly_list"> <ul class="collection"> <li class="collection-item cyan lighten-1"><b>{{getStamp(item.dt)}}</b></li> <li class="collection-item cyan lighten-1"><img class="weather-icon" src="{{owm + item.weather[0].icon + '.png'}}"></li> <li class="collection-item cyan lighten-1">max: {{item.temp.max}}&deg;C</li> <li class="collection-item cyan lighten-1">min: {{item.temp.min}}&deg;C</li> </ul> </div> </div> </div> </div> <div class="col s12 m6 l6 hour-box"> <div class="card cyan darken"> <div class="card-content black-text"> <span class="card-title">Upcoming Hourly Forcast</span> </div> <!---static table header--> <table class="bordered highlight centered highlight"> <thead class="responsive-table cyan"> <tr> <th> </th> <th >Time</th> <th >Temperature</th> <th >Humidity</th> <th >Wind</th> </tr> </thead> </table> <div class="table-box cyan lighten-1"> <table class="bordered highlight centered text"> <tbody class="responsive-table"> <tr ng-repeat="item in hourly_list" class="centered hour-item"> <td>{{timeSplit(item.dt_txt)}}</td> <!--time--> <td ><img src="{{owm + item.weather[0].icon + '.png'}}"/></td> <td>{{item.main.temp}}&deg;C</td> <td>{{item.main.humidity}}%</td> <td>{{item.wind.speed}} m/s</td> </tr> </tbody> </table> </div> </div> </div> <!-- <div class="col s12 m6 l6 news-box"> <div class="card cyan darken"> <div class="card-content black-text"> <span class="card-title">{{hourly.city.name}} Weather News</span> </div> <div class="table-box cyan lighten-1"> <table class="bordered highlight centered"> <tbody> <tr class="collection-item news-item" ng-repeat="item in news_data"> <td ><a href={{item.signedRedirectUrl}} alt={{content}}>{{item.titleNoFormatting}}</a></td> </tr> </tbody> </table> </div> </div> </div> --> <div class="col s12 m6 l6 location-box" ng-if="show"> <!--Using ng-if since the map has to be redrawn instead of hiding due to it prior initialization when the page is loaded--> <div class="card cyan darken"> <div class="card-content black-text"> <span class="card-title">Location Map</span> <div class="cyan lighten-1"> <ng-map center="[{{lat}}, {{lon}}]" zoom="11" pan-control="true" map-type-control="true" map-type-control-options="{style:'DROPDOWN_MENU'}" zoom-control="true" zoom-control-options="{style:'SMALL'}" class="map-box" map-type-id="MapTypeId.SATELLITE" > <marker position="{{lat}},{{lon}}" icon="{path:'BACKWARD_CLOSED_ARROW', scale: 4 , fillOpacity: 0.7 , fillColor: 'red', strokeOpacity: 0.3 ,strokeWeight: 3, strokeColor: 'red'}" draggable="false"> </marker> </ng-map> </div> </div> </div> </div> </div> <!--WEATHER ROWS END HERE--> </div> <div class="center footer cyan lighten-4"> <a href="https://github.com/707/">Created by Nadeem Shaik</a> </div> </body> <script type="text/javascript" src="lib/angular/materialize.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <script type="text/javascript" src="lib/angular/angular.min.js"></script> <script type="text/javascript" src="lib/angular/ng-map.min.js"></script> <script src="http://maps.google.com/maps/api/js"></script> <script type="text/javascript" src="js/app.js"></script> </html>
707/angular-weather
app/index.html
HTML
mit
6,376
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>antivalence: 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.0 / antivalence - 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> antivalence <small> 1.0.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-03-09 10:28:59 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-03-09 10:28:59 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-ocamlbuild base OCamlbuild binary and libraries 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.0 Formal proof management system num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.02.3 The OCaml compiler (virtual package) ocaml-base-compiler 4.02.3 Official 4.02.3 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.3 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; synopsis: &quot;A Coq plugin to generate type-inequality axioms for inductive definitions&quot; description: &quot;&quot;&quot; Antivalence generates universally-quantified type inequality axioms, letting you treat the set of inductive definitions in your program as a closed inductive definition itself. &quot;&quot;&quot; homepage: &quot;https://github.com/ivanbakel/coq-antivalence&quot; dev-repo: &quot;git+https://github.com/ivanbakel/coq-antivalence.git&quot; bug-reports: &quot;https://github.com/ivanbakel/coq-antivalence/issues&quot; maintainer: &quot;ivb@vanbakel.io&quot; authors: [ &quot;Isaac van Bakel&quot; ] license: &quot;MIT&quot; depends: [ &quot;coq&quot; {&gt;= &quot;8.11&quot; &amp; &lt; &quot;8.12~&quot;} ] build: [ [make &quot;-j%{jobs}%&quot;] ] install: [ [make &quot;install&quot;] ] url { src: &quot;https://github.com/ivanbakel/coq-antivalence/archive/1.0.0.tar.gz&quot; checksum: &quot;sha256=a367cf9cd74b5fc644a23a802e695646ff688869363812295472f9baba60021f&quot; } tags: [ &quot;category:Miscellaneous/Coq Extensions&quot; &quot;logpath:Antivalence&quot; &quot;date:2020-05-06&quot; ] </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-antivalence.1.0.0 coq.8.7.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.7.0). The following dependencies couldn&#39;t be met: - coq-antivalence -&gt; coq &gt;= 8.11 -&gt; ocaml &gt;= 4.05.0 base of this switch (use `--unlock-base&#39; 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-antivalence.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.0/antivalence/1.0.0.html
HTML
mit
7,052
var gulp = require('gulp'), sass = require('gulp-sass'), gp_concat = require('gulp-concat'), gp_uglify = require('gulp-uglify'), rename = require('gulp-rename'), minifyCss = require('gulp-minify-css'), rev = require('gulp-rev'), replace = require('gulp-replace'), notify = require('gulp-notify'), revReplace = require('gulp-rev-replace'); //var css_rev = gulp.src('.css/rev-manifest.json'); //var js_rev = gulp.src('.js/rev-manifest.json'); gulp.task('sass', function () { return gulp.src('./scss/main.scss') .pipe(sass({errLogToConsole: true})) .pipe(gulp.dest('./css')); }); gulp.task('mincss',['sass'],function(){ gulp.src(['./css/normalize.css','./css/main.css']) .pipe(gp_concat('main.big.css')) .pipe(gulp.dest('./css')) .pipe(minifyCss()) .pipe(rename('main.min.css')) .pipe(gulp.dest('./css')) }) gulp.task('watch',function(){ gulp.watch('./scss/*', function() { gulp.run(['mincss']); }); gulp.watch('./js/*.js', function() { gulp.run(['ugly']); }); }); gulp.task('ugly',function(){ return gulp.src(['./js/main.js']) .pipe(gp_uglify()) .pipe(rename('main.min.js')) .pipe(gulp.dest('./js/')) }) gulp.task('deploy',function(){ return gulp.src([ './css/main.min.css', './js/main.min.js' ], {base: './'}) .pipe(rev()) .pipe(gulp.dest('./')) .pipe(notify(this)) .pipe(rev.manifest()) .pipe(gulp.dest('./')) })
eulo/dumbways2
gulpfile.js
JavaScript
mit
1,504
Star Platinum Light Theme for Brackets ====================================== Inspired by the Stand of Jotaro Kujo; ORAORAORA. A Brackets original. ## HTML ![HTML Screenshot](https://github.com/Brackets-Themes/StarPlatinumLight/blob/master/screenshots/html.png) ## CSS ![CSS Screenshot](https://github.com/Brackets-Themes/StarPlatinumLight/blob/master/screenshots/css.png) ## JS ![JS Screenshot](https://github.com/Brackets-Themes/StarPlatinumLight/blob/master/screenshots/js.png)
Brackets-Themes/StarPlatinumLight
README.md
Markdown
mit
485
var BlockView = Backbone.View.extend({ tagName : 'div', initialize : function() { this.render(); }, render: function() { this.$el.attr({ class : 'block gimmick-' + this.model.get('gimmick'), 'data-gimmick' : this.model.get('gimmick') }); }, collide: function() { if (this.model.get('isDead')) return; var ballX = app.ball.model.get('ballX'), ballY = app.ball.model.get('ballY'), ballRadius = app.ball.model.get('ballRadius'), blockX = this.model.get('blockX'), blockY = this.model.get('blockY'), blockW = this.model.get('blockW'), blockH = this.model.get('blockH'); // Collision if (ballX + ballRadius < blockX || ballX - ballRadius > blockX + blockW) return; if (ballY + ballRadius < blockY || ballY - ballRadius > blockY + blockH) return; // Dead this.die(); this.model.set('isDead', true); // Updating ball var prevBallPos_x = app.ball.model.get('prevBallPos.x'); app.ball.model.set('ballX', prevBallPos_x); var prevBallPos_y = app.ball.model.get('prevBallPos.y'); app.ball.model.set('ballY', prevBallPos_y); var ballDirectionY = app.ball.model.get('ballDirectionY'); app.ball.model.set('ballDirectionY', ballDirectionY *= -1.0); }, die : function() { app.blockCount++; this.$el.remove(); this.remove(); } });
wfelius/arkanoid-2000
www/public/js/views/BlockView.js
JavaScript
mit
1,318
<?php namespace MCPI; // Constants require_once __DIR__ . DIRECTORY_SEPARATOR . "constants.php"; // Config require_once DIR_CONFIG . "general.php"; // Composer Autoloader require_once DIR_ROOT . DS . "vendor" . DS . "autoload.php"; /** * Main autoloader */ class Autoload { static public function load($class_name) { // Check if already loaded if (class_exists($class_name, false)) return true; $class_name = preg_replace('/^\\\\?MCPI\\\\/', '', $class_name); $file_name = __DIR__ . DS . strtolower(str_replace('_', DS, $class_name)) . ".php"; if (file_exists($file_name)) { require_once $file_name; return true; } return false; } } spl_autoload_register('\MCPI\Autoload::load', true, true);
chrisputnam9/money
app/code/autoload.php
PHP
mit
813
import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('plottable-chart', { unit: true // specify the other units that are required for this test // needs: ['component:foo', 'helper:bar'] }); test('it renders', function(assert) { assert.expect(2); // creates the component instance var component = this.subject(); assert.equal(component._state, 'preRender'); // renders the component to the page this.render(); assert.equal(component._state, 'inDOM'); });
karelvuong/ember-cli-plottable
tests/unit/components/plottable-chart-test.js
JavaScript
mit
504
//Запуск таймеров чаще раз в сек private static int Delay = 0; private static int FrameDuration = 20; const string Timer1Name = "Таймер"; const string Timer2Name = "Спуск"; void Main(){ Delay++; IMyTimerBlock timer1 = (IMyTimerBlock)GridTerminalSystem.GetBlockWithName(Timer1Name); timer1.GetActionWithName("TriggerNow").Apply(timer1); if (Delay == FrameDuration){ IMyTimerBlock timer2 = (IMyTimerBlock)GridTerminalSystem.GetBlockWithName(Timer2Name); timer2.GetActionWithName("TriggerNow").Apply(timer2); Delay = 0; } if (Delay < FrameDuration){ return; } }
FireVolkhov/space-engineers-scripts
timer.cs
C#
mit
660
/** @license MIT License (c) copyright 2014 original authors */ /** @author Karolis Narkevicius */ var path = require('path'); var knox = require('knox-s3'); var when = require('when'); var thunkify = require('thunkify'); var cp = require('fs-cp'); module.exports = function (config) { return new S3(config); }; /** * Amazon S3 Storage Adapter for CNPM * * @param {Object} knox config * @api public */ function S3(config) { this.config = config; this.client = knox.createClient(this.config); this.client.getFile = thunkify(this.client.getFile); this.client.deleteFile = thunkify(this.client.deleteFile); } /** * Upload a package from filepath to S3. * * @param {String} filepath the path of the file to upload * @param {Object} options with key and size * @return {Object} an object with the key * @api public */ S3.prototype.upload = function* (filepath, options) { var s3Config = this.config; var client = this.client; var dest = this.getPath(options.key); var uploadOptions = {}; if (s3Config.storageClass) { uploadOptions['x-amz-storage-class'] = s3Config.storageClass; } yield when.promise(function (resolve, reject) { client.putFile(filepath, dest, uploadOptions, function (err, res) { if (err) return reject(err); if (res.statusCode !== 200) { return reject(new Error('putFile failed with ' + res.statusCode)); } resolve(); }).on('error', function (err) { reject(new Error('Network error' + err.message)); }); }); return { key: options.key }; }; /** * Upload a package from filepath to S3. * * @param {String} contents of the file to upload * @param {Object} options with key and size * @return {Object} an object with the key * @api public */ S3.prototype.uploadBuffer = function* (content, options) { var client = this.client; var filepath = this.getPath(options.key); var headers = { 'Content-Type': 'application/x-gzip' }; yield when.promise(function (resolve, reject) { client.putBuffer(content, filepath, headers, function(err, res) { if (err) return reject(err); if (res.statusCode !== 200) return reject(new Error('putBuffer failed with ' + res.statusCode)); resolve(); }).on('error', function (err) { reject(new Error('Network error' + err.message)); }); }); return { key: options.key }; }; /** * Download a package from S3. * * @param {String} package key * @param {String} download path * @param {options} an object with timeout * @api public */ S3.prototype.download = function* (key, savePath) { var client = this.client; var filepath = this.getPath(key); var res = yield client.getFile(filepath); yield cp(res, savePath); }; /** * Remove a package from S3 * * @param {String} package key * @api public */ S3.prototype.remove = function* (key) { var client = this.client; var filepath = this.getPath(key); yield client.deleteFile(filepath); }; /** * escape '/' and '\' * prepend the config.folder */ S3.prototype.getPath = function (key) { key = key.replace(/\//g, '-').replace(/\\/g, '_'); key = path.join(this.config.folder, key); return key; };
QubitProducts/s3-cnpm
s3-cnpm.js
JavaScript
mit
3,164
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ipc: 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 / ipc - 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> ipc <small> 8.8.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2020-07-16 03:01:33 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-07-16 03:01:33 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.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.8.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/ipc&quot; license: &quot;Unknown&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/IPC&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.8&quot; &amp; &lt; &quot;8.9~&quot;} ] tags: [ &quot;keyword: intuitionistic logic &quot; &quot;keyword: proof search &quot; &quot;keyword: proof-as-programs &quot; &quot;keyword: correct-by-construction &quot; &quot;keyword: program verification&quot; &quot;keyword: program extraction&quot; &quot;category: Mathematics/Logic/Foundations&quot; &quot;category: Computer Science/Decision Procedures and Certified Algorithms/Decision procedures&quot; &quot;category: Miscellaneous/Extracted Programs/Decision procedures&quot; ] authors: [ &quot;Klaus Weich&quot; ] bug-reports: &quot;https://github.com/coq-contribs/ipc/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/ipc.git&quot; synopsis: &quot;Intuitionistic Propositional Checker&quot; description: &quot;&quot;&quot; This development treats proof search in intuitionistic propositional logic, a fragment of any constructive type theory. We present new and more efficient decision procedures for intuitionistic propositional logic. They themselves are given by (non-formal) constructive proofs. We take one of them to demonstrate that constructive type theory can be used in practice to develop a real, efficient, but error-free proof searcher. This was done by formally proving the decidability of intuitionistic propositional logic in Coq; the proof searcher was automatically extracted.&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/ipc/archive/v8.8.0.tar.gz&quot; checksum: &quot;md5=8f9183e947a86c68e3ddf83b851f18cc&quot; } </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-ipc.8.8.0 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&#39;t be met: - coq-ipc -&gt; coq &lt; 8.9~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;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-ipc.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/8.11.dev/ipc/8.8.0.html
HTML
mit
7,618
/** * Copyright 2000-2010 Geometria Contributors * http://geocentral.net/geometria * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License * http://www.gnu.org/licenses */ package net.geocentral.geometria.view; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; import javax.swing.AbstractAction; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; import net.geocentral.geometria.action.GDocumentHandler; import net.geocentral.geometria.model.GFace; import net.geocentral.geometria.model.GFigure; import net.geocentral.geometria.model.GPoint3d; import net.geocentral.geometria.model.GSelectable; import net.geocentral.geometria.model.GSolid; import net.geocentral.geometria.model.GStick; public class GFigurePopupMenu extends JPopupMenu { public GFigurePopupMenu(GFigure figure) { init(figure); } private void init(GFigure figure) { Set<String> viewGroup = new LinkedHashSet<String>(); Set<String> measureGroup = new LinkedHashSet<String>(); Set<String> drawGroup = new LinkedHashSet<String>(); Set<String> transformGroup = new LinkedHashSet<String>(); GSolid solid = figure.getSolid(); Set<GSelectable> selection = solid.getSelection(); viewGroup.add("view.toggleSelector"); viewGroup.add("view.fitToView"); viewGroup.add("view.initialAttitude"); Iterator<GSelectable> it = selection.iterator(); if (selection.size() == 1) { GSelectable element = it.next(); if (element instanceof GPoint3d) { String pLabel = ((GPoint3d)element).getLabel(); Collection<GFace> faces = solid.facesThroughPoint(pLabel); if (faces.size() == 1) { measureGroup.add("measure.area"); } } else if (element instanceof GStick) { transformGroup.add("transform.scale"); drawGroup.add("draw.drawMidpoint"); drawGroup.add("draw.divideLine"); measureGroup.add("measure.distance"); String p1Label = ((GStick)element).label1; String p2Label = ((GStick)element).label2; Collection<GFace> faces = solid.facesThroughPoints(new String[] { p1Label, p2Label }); if (faces.size() == 1) measureGroup.add("measure.area"); } else if (element instanceof GFace) measureGroup.add("measure.area"); } else if (selection.size() == 2) { GSelectable element1 = it.next(); GSelectable element2 = it.next(); if (element1 instanceof GPoint3d && element2 instanceof GPoint3d) { transformGroup.add("transform.scale"); String p1Label = ((GPoint3d)element1).getLabel(); String p2Label = ((GPoint3d)element2).getLabel(); Collection<GFace> faces = solid.facesThroughPoints(new String[] { p1Label, p2Label }); if (!faces.isEmpty()) { drawGroup.add("draw.drawLine"); measureGroup.add("measure.distance"); if (faces.size() == 1) measureGroup.add("measure.area"); } } else if (element1 instanceof GStick && element2 instanceof GStick) { String[] labels = { ((GStick)element1).label1, ((GStick) element1).label2, ((GStick)element2).label1, ((GStick) element2).label2 }; Collection<GFace> faces = solid.facesThroughPoints(labels); if (faces.isEmpty()) transformGroup.add("transform.cut"); else { if ((((GStick)element1).label1) .equals(((GStick)element2).label1) || (((GStick)element1).label1) .equals(((GStick)element2).label2) || (((GStick)element1).label2) .equals(((GStick)element2).label1) || (((GStick)element1).label2) .equals(((GStick)element2).label2)) { measureGroup.add("measure.angle"); drawGroup.add("draw.drawBisector"); drawGroup.add("draw.divideAngle"); } drawGroup.add("draw.intersectLines"); if (faces.size() == 1) measureGroup.add("measure.area"); } } else if (element1 instanceof GPoint3d && element2 instanceof GStick || element2 instanceof GPoint3d && element1 instanceof GStick) { String label; GStick s; String[] labels; if (element1 instanceof GPoint3d && element2 instanceof GStick) { label = ((GPoint3d)element1).getLabel(); s = (GStick)element2; labels = new String[] { label, s.label1, s.label2 }; } else { label = ((GPoint3d) element2).getLabel(); s = (GStick) element1; labels = new String[] { label, s.label1, s.label2 }; } Collection<GFace> faces = solid.facesThroughPoints(labels); if (faces.isEmpty()) transformGroup.add("transform.cut"); else { drawGroup.add("draw.drawPerpendicular"); drawGroup.add("draw.layDistance"); if (label.equals(s.label1) || label.equals(s.label2)) drawGroup.add("draw.layAngle"); if (faces.size() == 1) measureGroup.add("measure.area"); } } } else if (selection.size() == 3) { GSelectable element1 = it.next(); GSelectable element2 = it.next(); GSelectable element3 = it.next(); if (element1 instanceof GPoint3d && element2 instanceof GPoint3d && element3 instanceof GPoint3d) { String p1Label = ((GPoint3d)element1).getLabel(); String p2Label = ((GPoint3d)element2).getLabel(); String p3Label = ((GPoint3d)element3).getLabel(); Collection<GFace> faces = solid .facesThroughPoints(new String[] { p1Label, p2Label, p3Label }); if (faces.size() == 1) measureGroup.add("measure.area"); if (faces.isEmpty()) transformGroup.add("transform.cut"); } } for (String item : viewGroup) addItem(item); if (!drawGroup.isEmpty()) addSeparator(); for (String item : drawGroup) addItem(item); if (!measureGroup.isEmpty()) addSeparator(); for (String item : measureGroup) addItem(item); if (!transformGroup.isEmpty()) addSeparator(); for (String item : transformGroup) addItem(item); } private void addItem(String actionHandlerName) { GDocumentHandler documentHandler = GDocumentHandler.getInstance(); AbstractAction actionHandler = documentHandler.getActionHandler(actionHandlerName); JMenuItem menuItem = new JMenuItem(actionHandler); menuItem.setText(String.valueOf(actionHandler.getValue(AbstractAction.SHORT_DESCRIPTION))); add(menuItem); } private static final long serialVersionUID = 1L; }
stelian56/geometria
archive/3.0/src/net/geocentral/geometria/view/GFigurePopupMenu.java
Java
mit
8,053
<?php $router = new \Phalcon\Mvc\Router(false); // デフォルトルート無効化 $router->removeExtraSlashes(true); // 末尾のスラッシュを無視 $router->add('/', 'Index::index'); $router->add('/books/new', 'Books::new'); $router->add('/books/{id}/detail', 'Books::detail'); $router->add('/books/{id}/delete', 'Books::delete'); $router->add('/books/{id}/rate/{key}', 'Books::rate'); return $router;
ryo-utsunomiya/booklist
src/app/config/routes.php
PHP
mit
414
<?php return array( // Options relatives to the Table class 'table' => array( // An array of columns to never display 'ignore' => array(), // An array of classes to use for all tables // Example : ['bordered', 'striped', 'hover'] 'classes' => array(), ), // The base class to use for your icons. 'icon_class' => 'glyphicon', // The prefix you want to use for your icons. The closing dash is required 'icon_prefix' => 'glyphicon-', 'bootstrap_version' => '3.1.1', 'jquery_version' => '2.1.0', );
Vrian7ipx/cascadadev
vendor/patricktalmadge/bootstrapper/src/config/config.php
PHP
mit
579
define( "add", [ "../core/vi" ], function( vi ) { /** * func Add * @param {Int} a * @param {Int} b * @return {Int} a+b */ vi.add = function( a, b ) { return a + b; }; return vi.add; });
OhByeongYun/jsUMD
src/calc/add.js
JavaScript
mit
199
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coalgebras: 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 / coalgebras - 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> coalgebras <small> 8.7.0 <span class="label label-info">Not compatible</span> </small> </h1> <p><em><script>document.write(moment("2021-10-27 02:59:51 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-27 02:59:51 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.12.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.12.0 Official release 4.12.0 ocaml-config 2 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled 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: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/coalgebras&quot; license: &quot;LGPL&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Coalgebras&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.7&quot; &amp; &lt; &quot;8.8~&quot;} ] tags: [ &quot;keyword: coalgebra&quot; &quot;keyword: bisimulation&quot; &quot;keyword: weakly final&quot; &quot;keyword: coiteration&quot; &quot;keyword: co-inductive types&quot; &quot;category: Mathematics/Category Theory&quot; &quot;date: 2008-10&quot; ] authors: [ &quot;Milad Niqui &lt;M.Niqui@cwi.nl&gt; [http://www.cwi.nl/~milad]&quot; ] bug-reports: &quot;https://github.com/coq-contribs/coalgebras/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/coalgebras.git&quot; synopsis: &quot;Coalgebras, bisimulation and lambda-coiteration&quot; description: &quot;This contribution contains a formalisation of coalgebras, bisimulation on coalgebras, weakly final coalgebras, lambda-coiteration definition scheme (including primitive corecursion) and a version of lambda-bisimulation. The formalisation is modular. The implementation of the module types for streams and potentially infinite Peano numbers are provided using the coinductive types.&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/coalgebras/archive/v8.7.0.tar.gz&quot; checksum: &quot;md5=73818481b949ccbb1d4579b4da27c951&quot; } </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-coalgebras.8.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&#39;t be met: - coq-coalgebras -&gt; coq &lt; 8.8~ -&gt; ocaml &lt; 4.10 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;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-coalgebras.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"> <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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.12.0-2.0.8/extra-dev/dev/coalgebras/8.7.0.html
HTML
mit
7,513
#!/usr/bin/env perl ###################################################### #Created by Sarah Schmedes #Will run entire strainphlan workflow, including images #Designate -clade flag #designated clade when prompted in STDIN #Date Released: 08/01/2017 ##################################################### use strict; use warnings; use Genomix qw(:constants :meta); use Getopt::Long; #select samples to run through strainphlan my $metafile = $OH_METAFILE; my ($bodysite, $samplelist, $sampath, $straindir, $straindbpath); #set flags GetOptions('bodysite=s' => \$bodysite, 'samplelist=s' => \$samplelist, 'sampath=s' => \$sampath, 'output=s' => \$straindir 'straindb_path=s' => \$straindbpath) or die "Must use bodysite, sampelist, sampath, and output flags\n"; #collect all SRSs for a particular body site my @allbodySRS = queryDB($metafile, $bodysite, "bodysiteID", "srsID"); my $samplename_ref = samplename(@allbodySRS); my %bodysamplename = %$samplename_ref; open SAMPLES, "<$samplelist" or die "Could not open revised sample list for reading! $!\n"; my %samplenames; while (<SAMPLES>) { my $line = $_; chomp $line; if ($line =~ /^Bodysite/) { next; } my ($body, $ind, $time, @data) = split /\t/, $line; if ($body eq $bodysite) { my $samplename = "$ind\_$body\_$time"; $samplenames{$samplename} = 1; } } close(SAMPLES); my @sortednames = sort {$a cmp $b} keys %samplenames; my @SRSlist; foreach my $samplename (@sortednames) { foreach my $key (keys %bodysamplename) { if ($bodysamplename{$key} eq $samplename) { push(@SRSlist, $key); } } } #run strainphlan on all samples #all metaphlan2/strainphlan scripts must be in the environmental path foreach my $sample (@SRSlist) { #Generate a marker file for each sample. #The marker file contains the consensus of unique marker genes for each species found in the sample #This marker file will be used for SNP profiling if (! -f "$straindir/$bodysite/consensus_markers/$sample\.markers") { if (system("sample2markers.py --ifn_samples $sampath/$sample\.sam.bz2 --input_type sam --output_dir $straindir/$bodysite/consensus_markers --nprocs 20 1> $straindir/$bodysite/consensus_markers/$sample\_log.txt 2> $straindir/$bodysite/consensus_markers/$sample\_error.txt")) { die "Strainphlan sample2markers.py ERROR: $!\n"; } } } #Run strainphlan to identify clades that were detected in all samples #providing the marker files generated in the prior step #to see which clades can be SNP-profiled if (! -f "$straindir/$bodysite/clades/$bodysite\_clades.txt") { if (system("strainphlan.py --ifn_samples $straindir/$bodysite/consensus_markers/*.markers --output_dir $straindir/$bodysite/clades --print_clades_only --nprocs_main 20 1> $straindir/$bodysite/clades/$bodysite\_clades.txt 2> $straindir/$bodysite/clades/$bodysite\_errorlog.txt")) { die "strainphlan.py ERROR: $!\n"; } } print "Clade to analyze\n"; my $clade = <STDIN>; chomp $clade; print "Please specify reference genome NAME (NAME.fna.bz2)\n"; my $refgen = <STDIN>; chomp $refgen; if (! -f "$straindir/db_markers/$clade\.markers.fasta") { #Build reference database for the designated clade #This step only needs to be done once for each species for all projects if (system("extract_markers.py --mpa_pkl $straindbpath/mpa_v20_m200.pkl --ifn_markers $straindir/db_markers/all_markers.fasta --clade $clade --ofn_markers $straindir/db_markers/$clade\.markers.fasta")) { die "Strainphlan extract_markers.py ERROR: $!\n"; } } else { print "$clade\.markers.fasta already exits\n"; } #Build the multiple sequence alignment and phylogenetic tree #Will align and clean sample-reconstructed strains (stored in .markers) #and reference-genome-reconstructed strains (from clade.markers.fasta) #Builds tree using RAxML #If a reference genome is not specified or if no clade is specified then #strainphlan.py will build the tree for all species it can detect if (system("strainphlan.py --mpa_pkl $straindbpath/mpa_v20_m200.pkl --ifn_samples $straindir/$bodysite/consensus_markers/*.markers --ifn_markers $straindir/db_markers/$clade\.markers.fasta --ifn_ref_genomes $straindir/reference_genomes/$refgen\.fna.bz2 --output_dir $straindir/$bodysite/output --relaxed_parameters2 --nprocs_main 5 --clades $clade 1> $straindir/$bodysite/output/log_full.txt 2> $straindir/$bodysite/output/error_full.txt")) { die "strainphlan.py ERROR: $!\n"; } #Add metadata to the tree #must of metadata file in strainphlan group directory #multiple trees and multiple metadata files can be used (space separated, and wild card can be used) #metadata file (tab separated, can have multiple columns) my $metadata = "SubjectID"; #change based on what metadata you want listed on the tree if (system("add_metadata_tree.py --ifn_trees $straindir/$bodysite/output/RAxML_bestTree.$clade\.tree --ifn_metadatas $straindir/$bodysite/$bodysite\_metadata.txt --metadatas $metadata")) { die "Strainphlan add_metadata_tree.py ERROR: $!\n"; } #Plot tree using Graphlan (graphlan scripts must be in path) if (system("plot_tree_graphlan.py --ifn_tree $straindir/$bodysite/output/RAxML_bestTree.$clade\.tree.metadata --colorized_metadata $metadata --leaf_marker_size 60 --legend_marker_size 60")) { die "Graphlan plot_tree_graphlan.py ERROR: $!\n"; } #Create dendrogram using ggtree script #breadcrumbs directory must be in path if (system("strainphlan_ggtree_Mod.R $straindir/$bodysite/output/RAxML_bestTree.$clade\.tree $straindir/$bodysite/$bodysite\_metadata.txt $straindir/$bodysite/output/$clade\.fasta $straindir/$bodysite/output/$bodysite\_$clade\_ggtree_1.png $straindir/$bodysite/output/$bodysite\_$clade\_ggtree_2.png")) { die "strainphlan_ggtree_Mod.R ERROR: $!\n"; } #Create a distance matrix if (system("distmat -sequence $straindir/$bodysite/output/$clade\.fasta -nucmethod 2 -outfile $straindir/$bodysite/output/$clade\.distmat")) { die "distmat ERROR: $!\n"; } if (system("strainphlan_ordination_Mod.R $straindir/$bodysite/output/$clade\.distmat $straindir/$bodysite/$bodysite\_metadata.txt $straindir/$bodysite/output/$bodysite\_$clade\_strainord.png")) { die "strainphlan_ordination_Mod.R ERROR: $!\n"; }
SESchmedes/HIDskinmicrobiome
strainID.pl
Perl
mit
6,271
# FPSGame
954818696/FPSGame
README.md
Markdown
mit
9
/** * Error parser for apeman. * @module apemanerror * @version 5.3.2 */ 'use strict'; var _assign = require('babel-runtime/core-js/object/assign'); var _assign2 = _interopRequireDefault(_assign); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var apemanerror = require('./apemanerror'); var buildin = require('./buildin'); var lib = apemanerror.bind(undefined); (0, _assign2.default)(lib, apemanerror, { buildin: buildin }); module.exports = lib; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbImFwZW1hbmVycm9yIiwicmVxdWlyZSIsImJ1aWxkaW4iLCJsaWIiLCJiaW5kIiwibW9kdWxlIiwiZXhwb3J0cyJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztBQU1BOzs7Ozs7OztBQUVBLElBQU1BLGNBQWNDLFFBQVEsZUFBUixDQUFwQjtBQUNBLElBQU1DLFVBQVVELFFBQVEsV0FBUixDQUFoQjs7QUFFQSxJQUFJRSxNQUFNSCxZQUFZSSxJQUFaLFdBQVY7O0FBRUEsc0JBQWNELEdBQWQsRUFBbUJILFdBQW5CLEVBQWdDO0FBQzlCRTtBQUQ4QixDQUFoQzs7QUFJQUcsT0FBT0MsT0FBUCxHQUFpQkgsR0FBakIiLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoibGliIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBFcnJvciBwYXJzZXIgZm9yIGFwZW1hbi5cbiAqIEBtb2R1bGUgYXBlbWFuZXJyb3JcbiAqIEB2ZXJzaW9uIDUuMy4yXG4gKi9cblxuJ3VzZSBzdHJpY3QnXG5cbmNvbnN0IGFwZW1hbmVycm9yID0gcmVxdWlyZSgnLi9hcGVtYW5lcnJvcicpXG5jb25zdCBidWlsZGluID0gcmVxdWlyZSgnLi9idWlsZGluJylcblxubGV0IGxpYiA9IGFwZW1hbmVycm9yLmJpbmQodGhpcylcblxuT2JqZWN0LmFzc2lnbihsaWIsIGFwZW1hbmVycm9yLCB7XG4gIGJ1aWxkaW5cbn0pXG5cbm1vZHVsZS5leHBvcnRzID0gbGliXG4iXX0=
apeman-labo/apemanerror
shim/browser/index.js
JavaScript
mit
1,481
package connect.utils.okhttp; import android.text.TextUtils; import android.widget.Toast; import com.google.protobuf.ByteString; import com.google.protobuf.GeneratedMessageV3; import connect.db.MemoryDataManager; import connect.db.SharedPreferenceUtil; import connect.db.green.DaoHelper.ParamManager; import connect.ui.activity.R; import connect.ui.activity.home.bean.HttpRecBean; import connect.ui.activity.login.bean.UserBean; import connect.ui.base.BaseApplication; import connect.utils.cryption.EncryptionUtil; import connect.utils.cryption.SupportKeyUril; import connect.utils.log.LogManager; import protos.Connect; /** * OkHttp network tool */ public class OkHttpUtil { private static OkHttpUtil mInstance; public static OkHttpUtil getInstance() { if (mInstance == null) { synchronized (OkHttpUtil.class) { if (mInstance == null) { mInstance = new OkHttpUtil(); } } } return mInstance; } public void get(String url, final ResultCall resultCall){ HttpRequest.getInstance().get(url,resultCall); } /** * post(receive ProtoBuff) * @param url * @param body * @param resultCall */ public void postEncrySelf(String url, GeneratedMessageV3 body, final ResultCall resultCall){ LogManager.getLogger().http("param:" + body.toString()); ByteString bytes = body == null ? ByteString.copyFrom(new byte[]{}) : body.toByteString(); postEncrySelf(url,bytes,resultCall); } /** * post(receive ByteString) * @param url * @param bytes * @param resultCall */ public void postEncrySelf(String url, ByteString bytes, final ResultCall resultCall){ Connect.IMRequest imRequest = getIMRequest(MemoryDataManager.getInstance().getPriKey(), MemoryDataManager.getInstance().getPubKey(),bytes); if(null == imRequest) return; HttpRequest.getInstance().post(url,imRequest,resultCall); } /** * post(receive ProtoBuff) * @param url * @param body * @param exts * @param resultCall */ public void postEncrySelf(String url, GeneratedMessageV3 body,SupportKeyUril.EcdhExts exts, final ResultCall resultCall){ LogManager.getLogger().http("param:" + body.toString()); ByteString bytes = body == null ? ByteString.copyFrom(new byte[]{}) : body.toByteString(); Connect.IMRequest imRequest = getIMRequest(exts,MemoryDataManager.getInstance().getPriKey(), MemoryDataManager.getInstance().getPubKey(),bytes); if(null == imRequest) return; HttpRequest.getInstance().post(url,imRequest,resultCall); } /** * post(receive ProtoBuff) * @param url * @param body * @param exts * @param priKey * @param pubKey * @param resultCall */ public void postEncry(String url, GeneratedMessageV3 body, SupportKeyUril.EcdhExts exts, String priKey, String pubKey,final ResultCall resultCall){ LogManager.getLogger().http("param:" + body.toString()); ByteString bytes = body == null ? ByteString.copyFrom(new byte[]{}) : body.toByteString(); postEncry(url,bytes,exts,priKey,pubKey,resultCall); } public void postEncry(String url, ByteString body, SupportKeyUril.EcdhExts exts, String priKey, String pubKey,final ResultCall resultCall){ Connect.IMRequest imRequest = getIMRequest(exts,priKey,pubKey,body); if(null == imRequest) return; HttpRequest.getInstance().post(url,imRequest,resultCall); } /** * encrypt param * @param priKey * @param pubKey * @param bytes * @return */ private Connect.IMRequest getIMRequest(String priKey, String pubKey, ByteString bytes) { String index = ParamManager.getInstance().getString(ParamManager.GENERATE_TOKEN_SALT); if(TextUtils.isEmpty(index)){ HttpRecBean.sendHttpRecMsg(HttpRecBean.HttpRecType.SALTEXPIRE); Toast.makeText(BaseApplication.getInstance(), R.string.ErrorCode_Request_Error,Toast.LENGTH_LONG).show(); return null; } return getIMRequest(SupportKeyUril.EcdhExts.SALT, priKey, pubKey, bytes); } private Connect.IMRequest getIMRequest(SupportKeyUril.EcdhExts exts, String priKey, String pubKey, ByteString bytes) { Connect.GcmData gcmData = EncryptionUtil.encodeAESGCMStructData(exts, priKey, bytes); if(null == gcmData){ LogManager.getLogger().i("-----ecdh-----","ecdh null"); return null; } Connect.IMRequest imRequest = Connect.IMRequest.newBuilder() .setPubKey(pubKey) .setCipherData(gcmData) .setSign(SupportKeyUril.signHash(priKey, gcmData.toByteArray())).build(); return imRequest; } }
connectim/Android
app/src/main/java/connect/utils/okhttp/OkHttpUtil.java
Java
mit
4,931
dojo.provide("t.unit.plugins.dojox.module"); try{ dojo.require("t.unit.plugins.dojox.timing.test"); } catch(e) { doh.debug(e); }
aguadev/aguadev
t/unit/html/plugins/dojox/module.js
JavaScript
mit
138
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>automata: 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 / automata - 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> automata <small> 8.9.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2020-07-27 01:07:00 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-07-27 01:07:00 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.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.8.1 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;Hugo.Herbelin@inria.fr&quot; homepage: &quot;https://github.com/coq-contribs/automata&quot; license: &quot;LGPL 2.1&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Automata&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.9&quot; &amp; &lt; &quot;8.10~&quot;} ] tags: [ &quot;keyword: formal language theory&quot; &quot;keyword: finite automatas&quot; &quot;keyword: push-down automatas&quot; &quot;keyword: rational langages&quot; &quot;keyword: kleene&quot; &quot;category: Computer Science/Formal Languages Theory and Automata&quot; &quot;date: June-July 1993&quot; ] authors: [ &quot;Judicaël Courant&quot; &quot;Jean-Christophe Filliâtre&quot; ] bug-reports: &quot;https://github.com/coq-contribs/automata/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/automata.git&quot; synopsis: &quot;Beginning of formal language theory&quot; description: &quot;&quot;&quot; This library formalises the beginning of formal language theory: finite automata and rational languages, context-free grammars and push-down automata.&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/automata/archive/v8.9.0.tar.gz&quot; checksum: &quot;md5=98caef7226a4a97b79be89f7ef0c742c&quot; } </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-automata.8.9.0 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&#39;t be met: - coq-automata -&gt; coq &lt; 8.10~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;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-automata.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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/8.11.dev/automata/8.9.0.html
HTML
mit
7,139
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>infotheo: Error with dependencies 🚒</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 / infotheo - 0.3.4</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> infotheo <small> 0.3.4 <span class="label label-warning">Error with dependencies 🚒</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: &quot;2.0&quot; maintainer: &quot;Reynald Affeldt &lt;reynald.affeldt@aist.go.jp&gt;&quot; homepage: &quot;https://github.com/affeldt-aist/infotheo&quot; dev-repo: &quot;git+https://github.com/affeldt-aist/infotheo.git&quot; bug-reports: &quot;https://github.com/affeldt-aist/infotheo/issues&quot; license: &quot;LGPL-2.1-or-later&quot; synopsis: &quot;Discrete probabilities and information theory for Coq&quot; description: &quot;&quot;&quot; Infotheo is a Coq library for reasoning about discrete probabilities, information theory, and linear error-correcting codes.&quot;&quot;&quot; build: [ [make &quot;-j%{jobs}%&quot; ] [make &quot;-C&quot; &quot;extraction&quot; &quot;tests&quot;] {with-test} ] install: [make &quot;install&quot;] depends: [ &quot;coq&quot; { (&gt;= &quot;8.13&quot; &amp; &lt; &quot;8.15~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-ssreflect&quot; { (&gt;= &quot;1.13.0&quot; &amp; &lt; &quot;1.14~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-fingroup&quot; { (&gt;= &quot;1.13.0&quot; &amp; &lt; &quot;1.14~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-algebra&quot; { (&gt;= &quot;1.13.0&quot; &amp; &lt; &quot;1.14~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-solvable&quot; { (&gt;= &quot;1.13.0&quot; &amp; &lt; &quot;1.14~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-field&quot; { (&gt;= &quot;1.13.0&quot; &amp; &lt; &quot;1.14~&quot;) | (= &quot;dev&quot;) } &quot;coq-mathcomp-analysis&quot; { (&gt;= &quot;0.3.11&quot;) &amp; (&lt; &quot;0.4~&quot;)} ] tags: [ &quot;keyword:information theory&quot; &quot;keyword:probability&quot; &quot;keyword:error-correcting codes&quot; &quot;keyword:convexity&quot; &quot;logpath:infotheo&quot; &quot;date:2021-11-20&quot; ] authors: [ &quot;Reynald Affeldt, AIST&quot; &quot;Manabu Hagiwara, Chiba U. (previously AIST)&quot; &quot;Jonas Senizergues, ENS Cachan (internship at AIST)&quot; &quot;Jacques Garrigue, Nagoya U.&quot; &quot;Kazuhiko Sakaguchi, Tsukuba U.&quot; &quot;Taku Asai, Nagoya U. (M2)&quot; &quot;Takafumi Saikawa, Nagoya U.&quot; &quot;Naruomi Obata, Titech (M2)&quot; ] url { http: &quot;https://github.com/affeldt-aist/infotheo/archive/0.3.4.tar.gz&quot; checksum: &quot;sha512=31e31c8a6304e8fb28dffb11f490ac3b937dfa9bbc9d3d0256216a9a2dd8f052a7d4129af621805dd6a59f8924cd84d2697a96da26d4fc0ee6407a7f34a6fc76&quot; } </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-infotheo.0.3.4 coq.dev</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-infotheo.0.3.4 coq.dev</code></dd> <dt>Return code</dt> <dd>7936</dd> <dt>Duration</dt> <dd>41 m 45 s</dd> <dt>Output</dt> <dd><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 The following actions will be performed: - install sexplib0 v0.14.0 - install coq-mathcomp-ssreflect dev - install ppx_derivers 1.2.1 - install seq base - install cppo 1.6.8 - install result 1.5 - install conf-perl 1 - install ocaml-compiler-libs v0.12.4 - install stdlib-shims 0.3.0 - install coq-mathcomp-finmap dev - install coq-mathcomp-fingroup dev - install coq-mathcomp-bigenough dev - install re 1.10.3 - install camlp5 7.14 - install ppxlib 0.24.0 - install coq-mathcomp-algebra dev - install ppx_deriving 5.2.1 - install coq-mathcomp-solvable dev - install elpi 1.13.8 - install coq-mathcomp-field dev - install coq-elpi dev - install coq-hierarchy-builder dev - install coq-mathcomp-analysis 0.3.11 ===== 23 to install ===== &lt;&gt;&lt;&gt; Gathering sources &gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt; [camlp5.7.14] downloaded from cache at https://opam.ocaml.org/cache [coq-hierarchy-builder.dev] synchronised from git+https://github.com/math-comp/hierarchy-builder.git#coq-master [coq-mathcomp-analysis.0.3.11] downloaded from https://github.com/math-comp/analysis/archive/0.3.11.tar.gz [coq-elpi.dev] synchronised from git+https://github.com/LPCIC/coq-elpi.git#coq-master [coq-mathcomp-algebra.dev] synchronised from git+https://github.com/math-comp/math-comp.git [coq-mathcomp-fingroup.dev] synchronised from git+https://github.com/math-comp/math-comp.git [coq-mathcomp-bigenough.dev] synchronised from git+https://github.com/math-comp/bigenough.git#master [coq-mathcomp-solvable.dev] synchronised from git+https://github.com/math-comp/math-comp.git [coq-mathcomp-ssreflect.dev] synchronised from git+https://github.com/math-comp/math-comp.git#master [coq-mathcomp-field.dev] synchronised from git+https://github.com/math-comp/math-comp.git [cppo.1.6.8] downloaded from cache at https://opam.ocaml.org/cache [elpi.1.13.8] downloaded from cache at https://opam.ocaml.org/cache [ocaml-compiler-libs.v0.12.4] downloaded from cache at https://opam.ocaml.org/cache [coq-mathcomp-finmap.dev] synchronised from git+https://github.com/math-comp/finmap.git#master [ppx_derivers.1.2.1] downloaded from cache at https://opam.ocaml.org/cache [ppx_deriving.5.2.1] downloaded from cache at https://opam.ocaml.org/cache [ppxlib.0.24.0] downloaded from cache at https://opam.ocaml.org/cache [re.1.10.3] downloaded from cache at https://opam.ocaml.org/cache [result.1.5] downloaded from cache at https://opam.ocaml.org/cache [stdlib-shims.0.3.0] downloaded from cache at https://opam.ocaml.org/cache [sexplib0.v0.14.0] downloaded from cache at https://opam.ocaml.org/cache &lt;&gt;&lt;&gt; Processing actions &lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt; -&gt; installed conf-perl.1 -&gt; installed cppo.1.6.8 -&gt; installed ocaml-compiler-libs.v0.12.4 -&gt; installed ppx_derivers.1.2.1 -&gt; installed result.1.5 -&gt; installed seq.base -&gt; installed sexplib0.v0.14.0 -&gt; installed stdlib-shims.0.3.0 -&gt; installed re.1.10.3 -&gt; installed ppxlib.0.24.0 -&gt; installed ppx_deriving.5.2.1 -&gt; installed coq-mathcomp-ssreflect.dev -&gt; installed coq-mathcomp-bigenough.dev -&gt; installed camlp5.7.14 -&gt; installed elpi.1.13.8 -&gt; installed coq-mathcomp-finmap.dev -&gt; installed coq-mathcomp-fingroup.dev -&gt; installed coq-mathcomp-algebra.dev -&gt; installed coq-elpi.dev -&gt; installed coq-hierarchy-builder.dev -&gt; installed coq-mathcomp-solvable.dev -&gt; installed coq-mathcomp-field.dev [ERROR] The compilation of coq-mathcomp-analysis failed at &quot;/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4&quot;. #=== ERROR while compiling coq-mathcomp-analysis.0.3.11 =======================# # context 2.0.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/coq-mathcomp-analysis.0.3.11 # command ~/.opam/opam-init/hooks/sandbox.sh build make -j4 # exit-code 2 # env-file ~/.opam/log/coq-mathcomp-analysis-3540-1b476f.env # output-file ~/.opam/log/coq-mathcomp-analysis-3540-1b476f.out ### output ### # [...] # specifying an explicit locality attribute is therefore deprecated. It is # recommended to use &quot;export&quot; whenever possible. Use the attributes #[local], # #[global] and #[export] depending on your choice. For example: &quot;#[export] # Instance Foo : Bar := baz.&quot; [deprecated-instance-without-locality,deprecated] # File &quot;./theories/topology.v&quot;, line 1037, characters 0-67: # Error: Anomaly &quot;Uncaught exception Not_found.&quot; # Please report at http://coq.inria.fr/bugs/. # # make[2]: *** [Makefile.coq:763: theories/topology.vo] Error 129 # make[1]: *** [Makefile.coq:387: all] Error 2 # make[1]: Leaving directory &#39;/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/coq-mathcomp-analysis.0.3.11&#39; # make: *** [Makefile.common:63: this-build] Error 2 &lt;&gt;&lt;&gt; Error report &lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt; +- The following actions failed | - build coq-mathcomp-analysis 0.3.11 +- +- The following changes have been performed | - install camlp5 7.14 | - install conf-perl 1 | - install coq-elpi dev | - install coq-hierarchy-builder dev | - install coq-mathcomp-algebra dev | - install coq-mathcomp-bigenough dev | - install coq-mathcomp-field dev | - install coq-mathcomp-fingroup dev | - install coq-mathcomp-finmap dev | - install coq-mathcomp-solvable dev | - install coq-mathcomp-ssreflect dev | - install cppo 1.6.8 | - install elpi 1.13.8 | - install ocaml-compiler-libs v0.12.4 | - install ppx_derivers 1.2.1 | - install ppx_deriving 5.2.1 | - install ppxlib 0.24.0 | - install re 1.10.3 | - install result 1.5 | - install seq base | - install sexplib0 v0.14.0 | - install stdlib-shims 0.3.0 +- # Run eval $(opam env) to update the current shell environment The former state can be restored with: opam switch import &quot;/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/backup/state-20211222184100.export&quot; </pre></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>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/infotheo/0.3.4.html
HTML
mit
16,245
/* * gameobjects.cpp * * Created on: Aug 31, 2013 * Author: antidotcb */ #include "minimi.h"
antidotcb/minimi-robot
jni/minimi/minimi.cpp
C++
mit
109
require 'test_helper' module Settings class PlanTest < ActiveSupport::TestCase setup do @org = Org.last scaffold_plan end def settings(extras = {}) {margin: (@margin || { top: 10, bottom: 10, left: 10, right: 10 }), font_face: (@font_face || Settings::Template::VALID_FONT_FACES.first), font_size: (@font_size || 11) }.merge(extras) end def default_formatting Settings::Template::DEFAULT_SETTINGS[:formatting] end # --------------------------------------------------- test "settings should use defaults if none are defined" do assert(!@plan.settings(:export).value?) assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "settings should use defined valid settings" do @plan.settings(:export).formatting = settings @plan.save! assert(@plan.settings(:export).value?) assert_equal(settings, @plan.settings(:export).formatting) assert_not_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting negative margin should not be valid" do @margin = { top: -10, bottom: 10, left: 10, right: 10 } @plan.settings(:export).formatting = settings assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Margin cannot be negative'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting unknown margin should not be valid" do @margin = { top: 10, bottom: 10, left: 10, right: 10, top_left: 10 } @plan.settings(:export).formatting = settings assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Unknown margin. Can only be \'top\', \'bottom\', \'left\' or \'right\''), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting negative font-size should not be valid" do @font_size = -11 @plan.settings(:export).formatting = settings assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Invalid font size'), @plan.errors.messages[:"template.setting_objects.formatting"].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting unknown key should not be valid" do @plan.settings(:export).formatting = settings(foo: :bar) assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Unknown formatting setting'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "not setting font_face should not be valid" do @plan.settings(:export).formatting = settings.reject {|k,v| k == :font_face } assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('A required setting has not been provided'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "not setting font_size should not be valid" do @plan.settings(:export).formatting = settings.reject {|k,v| k == :font_size } assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('A required setting has not been provided'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "not setting margin should not be valid" do @plan.settings(:export).formatting = settings.reject {|k,v| k == :margin } assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('A required setting has not been provided'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting non-hash as margin should not be valid" do @margin = :foo @plan.settings(:export).formatting = settings assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Margin value is invalid'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting non-integer as font_size should not be valid" do @font_size = "foo" @plan.settings(:export).formatting = settings assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Invalid font size'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting non-string as font_face should not be valid" do @font_face = 1 @plan.settings(:export).formatting = settings assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Invalid font face'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end # --------------------------------------------------- test "setting unknown string as font_face should not be valid" do @font_face = 'Monaco, Monospace, Sans-Serif' @plan.settings(:export).formatting = settings assert(!@plan.valid?) assert(!@plan.save) assert_equal(_('Invalid font face'), @plan.errors.messages[:'template.setting_objects.formatting'].first) @plan.reload assert_equal(default_formatting, @plan.settings(:export).formatting) end end end
briri/roadmap
test/unit/settings/plan_test.rb
Ruby
mit
6,757
package algo.lecture.elementarysort; import java.util.Arrays; /** * Created on 15/11/1. * Author: ylgrgyq */ public class MergeSort { @SuppressWarnings("unchecked") public static <T extends Comparable<? super T>> void sort(T[] a){ T[] aux = (T[])new Comparable[a.length]; for (int i = 0; i < a.length; i++) { aux[i] = a[i]; } // we have sorted results in aux for every recursion // so we should exchange a and aux in the very first time we calling sort sort(a, aux, 0, a.length); } private static <T extends Comparable<? super T>> void sort(T[] aux, T[] a, int lo, int hi) { for (int i = lo; i < hi; i++) { assert a[i] == aux[i]; } if (hi <= lo + 1){ return; } int mid = lo + (hi - lo) / 2; // sort a from lo to mid and sort a from mid to hi sort(a, aux, lo, mid); sort(a, aux, mid, hi); // then merge left part of a and right part of a into aux // so the final sorted result is in aux // and we switch a and aux in every recursion merge(aux, a, lo, hi, mid); } private static <T extends Comparable<? super T>> void merge(T[] aux, T[] a, int lo, int hi, int mid) { assert Helper.isSorted(a, lo, mid); assert Helper.isSorted(a, mid, hi); int i = lo; int j = mid; for (int cur = lo; cur < hi; cur++) { if (i >= mid){ aux[cur] = a[j++]; } else if (j >= hi){ aux[cur] = a[i++]; } else if (Helper.less(a[i], a[j])){ aux[cur] = a[i++]; } else { aux[cur] = a[j++]; } } } public static void main(String[] args) { Integer[] a = {98, 21, 45, 91, 87, 66, 53, 120, 111}; MergeSort.sort(a); assert Helper.isSorted(a); System.out.println(Arrays.toString(a)); } }
ylgrgyq/coursa-algorithm
src/main/java/algo/lecture/elementarysort/MergeSort.java
Java
mit
1,983
html, body { margin: 0; height: 100%; font-family: Raleway; background-color: #F2F2F2; } nav { position: fixed; padding: 10px 0; width: 100%; background-color: #494949; text-align: center; font-size: 1.5em; font-family: Lato; font-weight: bold; border-bottom: 1px solid black; box-shadow: 10px 10px 5px #888888; } nav a { margin: 0em 1em; color: white; text-decoration: none; } nav a:visited { color: white; } nav a:hover { color: #0099CC; } main { margin: 0px auto; padding: 60px 25px 25px 25px; width: 700px; min-height: 86%; background-color: white; border-left: 1px solid black; border-right: 1px solid black; } h1, h2 { text-align: center; } h1, h4 { color: #0099CC; } #date { text-align: center; color: black; } footer { margin: 0px; padding: 5px 0px; bottom: 0; width: 100%; min-height: 14%; text-align: center; background-color: #0099CC; font-family: Lato; border-top: 1px solid black; } footer a { font-size: 1.25em; margin: 0 1em; color: black; text-decoration: none; } footer a:visited { color: black; } footer a:hover { color: white; } .space { height: 10px; } .space2 { height: 10px; background-color: #333333; }
shmartin/shmartin.github.io
stylesheets/default.css
CSS
mit
1,332
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('task', 'Unit | Model | task', { // Specify the other units that are required for this test. needs: ['model:unfuddle-project'] }); test('it exists', function(assert) { let model = this.subject(); // let store = this.store(); assert.ok(!!model); });
chinthakagodawita/dashfuddle
tests/unit/models/task-test.js
JavaScript
mit
328
<?php class Migration_Create_subjectpergradelevel extends CI_Migration { public function up() { $this->dbforge->add_field(array( 'id' => array( 'type' => 'INT', 'constraint' => 11, 'unsigned' => TRUE, 'auto_increment' => TRUE ), 'subject_id' => array( 'type' => 'INT', 'constraint' => 11 ), 'number_of_minutes' => array( 'type' => 'VARCHAR', 'constraint' => '4' ), 'grade_level_id' => array( 'type' => 'INT', 'constraint' => 11 ), 'remarks' => array( 'type' => 'VARCHAR', 'constraint' => '10', 'default' => 0 ), 'status' => array( 'type' => 'VARCHAR', 'constraint' => '10', 'default' => 1 ) )); $this->dbforge->add_key('id', TRUE); $this->dbforge->create_table('subjects_per_grade_level'); } public function down() { $this->dbforge->drop_table('subjects_per_grade_level'); } }
theallenquinto/depedschedulingsystem
application/migrations/007_create_subjectpergradelevel.php
PHP
mit
897
#ifndef ERROR_H #define ERROR_H #include <stdio.h> #include <stdlib.h> void throw_error(const char *error_msg); #endif // ERROR_H
Ludusamo/Genetic-Algorithm-Stardew
header/error.h
C
mit
133
<!doctype html> <!--[if IE 7]> <html class="ie7 lt-ie10 lt-ie9 lt-ie8 no-js" lang="ru"><![endif]--> <!--[if IE 8]> <html class="ie8 lt-ie10 lt-ie9 no-js" lang="ru"><![endif]--> <!--[if IE 9 ]> <html class="ie9 lt-ie10 no-js" lang="ru"><![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="ru"><!--<![endif]--> {{#with page_master_stat}} <head> {{> head/head head}} </head> <body class="page"> <section class="page__wrapper"> {{> header/header header}} <div block="main-page" mix="block:container"> <div elem="top"> {{> breadcrumbs/breadcrumbs breadcrumbs}} </div><!--top--> <div elem="column-3"> {{> bookmark-search/bookmark-search}} </div><!--column-3--> <div elem="column-header"> {{> user-info-head/user-info-head user-info-head}} </div><!--column-header--> <div elem="column-1"> {{> lk-menu/lk-menu lk-menu}} {{> notice/notice notice}} </div><!--column-1--> <div elem="column-2"> {{> master-block/master-stat-list/master-stat-list master-stat-list}} </div><!--column-2--> </div><!--main-page--> <div class="page__buffer"></div> </section><!--wrapper--> <footer class="page__footer"> {{> footer/footer footer}} </footer><!--footer--> </body> {{/with}} </html>
dumperize/fm-lk
markup/pages/master-stat/master-stat.html
HTML
mit
1,372
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting ## Our Responsibilities Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at gourabnag12@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org [version]: http://contributor-covenant.org/version/1/4/
SaitamaSama/LogZ
CODE_OF_CONDUCT.md
Markdown
mit
3,218