text
stringlengths 2
1.05M
| repo_name
stringlengths 5
101
| path
stringlengths 4
991
| language
stringclasses 3
values | license
stringclasses 5
values | size
int64 2
1.05M
|
---|---|---|---|---|---|
version https://git-lfs.github.com/spec/v1
oid sha256:d5cc128e23de4db1491cefafea31b5214603d86c06f1a6748cde6e53907b6a95
size 4880
| xiangzhuyuan/cron-jlpt | jlpt/288807773129079274432992910168785584342.html | HTML | mit | 129 |
<!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_65) on Sun Jun 29 05:13:55 IDT 2014 -->
<TITLE>
casimir.cryptoAPI
</TITLE>
<META NAME="date" CONTENT="2014-06-29">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameTitleFont">
<A HREF="../../casimir/cryptoAPI/package-summary.html" target="classFrame">casimir.cryptoAPI</A></FONT>
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
<TR>
<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont">
Classes</FONT>
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="BitcoinAPI.html" title="class in casimir.cryptoAPI" target="classFrame">BitcoinAPI</A>
<BR>
<A HREF="MastercoinAPI.html" title="class in casimir.cryptoAPI" target="classFrame">MastercoinAPI</A></FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
| thehobbit85/coinpowers | javadoc/casimir/cryptoAPI/package-frame.html | HTML | mit | 953 |
---
---
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>StateMatcher | @uirouter/core</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<link rel="stylesheet" href="../assets/css/uirouter.css">
<script src="../assets/js/modernizr.js"></script>
<script src="../assets/js/reset.js"></script>
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">@uirouter/core</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<!--
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
-->
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Internal UI-Router API</label>
<!--
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
-->
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../index.html">@uirouter/core</a>
</li>
<li>
<a href="../modules/state.html">state</a>
</li>
<li>
<a href="state.statematcher.html">StateMatcher</a>
</li>
</ul>
<h1>Class StateMatcher</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<span class="target">StateMatcher</span>
</li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Constructors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="state.statematcher.html#constructor" class="tsd-kind-icon">constructor</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-private tsd-is-private-protected">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="state.statematcher.html#_states" class="tsd-kind-icon">_states</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class"><a href="state.statematcher.html#find" class="tsd-kind-icon">find</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="state.statematcher.html#isrelative" class="tsd-kind-icon">is<wbr>Relative</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="state.statematcher.html#resolvepath" class="tsd-kind-icon">resolve<wbr>Path</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Constructors</h2>
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
<a name="constructor" class="tsd-anchor"></a>
<!--
<h3>constructor</h3>
-->
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">new <wbr>State<wbr>Matcher<span class="tsd-signature-symbol">(</span>_states<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="state.statematcher.html" class="tsd-signature-type">StateMatcher</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>_states <span class="tsd-signature-type">object</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="state.stateobject.html" class="tsd-signature-type">StateObject</a></h5>
</li>
</ul>
</li>
</ul>
<div class="tsd-returns">
<h4 class="tsd-returns-title">Returns <a href="state.statematcher.html" class="tsd-signature-type">StateMatcher</a></h4>
</div>
<hr>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ui-router/core/blob/8ed691b/src/state/stateMatcher.ts#L7">state/stateMatcher.ts:7</a></li>
</ul>
</aside> </li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-private tsd-is-private-protected">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a name="_states" class="tsd-anchor"></a>
<!--
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _states</h3>
-->
<div class="tsd-signature tsd-kind-icon">_states<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<div class="tsd-declaration">
</div>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="state.stateobject.html" class="tsd-signature-type">StateObject</a></h5>
</li>
</ul>
</div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ui-router/core/blob/8ed691b/src/state/stateMatcher.ts#L8">state/stateMatcher.ts:8</a></li>
</ul>
</aside>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="find" class="tsd-anchor"></a>
<!--
<h3>find</h3>
-->
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">find<span class="tsd-signature-symbol">(</span>stateOrName<span class="tsd-signature-symbol">: </span><a href="../modules/state.html#stateorname" class="tsd-signature-type">StateOrName</a>, base<span class="tsd-signature-symbol">?: </span><a href="../modules/state.html#stateorname" class="tsd-signature-type">StateOrName</a>, matchGlob<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="state.stateobject.html" class="tsd-signature-type">StateObject</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>stateOrName <a href="../modules/state.html#stateorname" class="tsd-signature-type">StateOrName</a></h5>
</li>
<li>
<h5>base: <span class="tsd-flag ts-flagOptional">Optional</span> <a href="../modules/state.html#stateorname" class="tsd-signature-type">StateOrName</a></h5>
</li>
<li>
<h5>matchGlob: <span class="tsd-flag ts-flagDefault value">Default value</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5>
</li>
</ul>
<div class="tsd-returns">
<h4 class="tsd-returns-title">Returns <a href="state.stateobject.html" class="tsd-signature-type">StateObject</a></h4>
</div>
<hr>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ui-router/core/blob/8ed691b/src/state/stateMatcher.ts#L15">state/stateMatcher.ts:15</a></li>
</ul>
</aside> </li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="isrelative" class="tsd-anchor"></a>
<!--
<h3>is<wbr>Relative</h3>
-->
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">is<wbr>Relative<span class="tsd-signature-symbol">(</span>stateName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>stateName <span class="tsd-signature-type">string</span></h5>
</li>
</ul>
<div class="tsd-returns">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
</div>
<hr>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ui-router/core/blob/8ed691b/src/state/stateMatcher.ts#L10">state/stateMatcher.ts:10</a></li>
</ul>
</aside> </li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="resolvepath" class="tsd-anchor"></a>
<!--
<h3>resolve<wbr>Path</h3>
-->
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">resolve<wbr>Path<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, base<span class="tsd-signature-symbol">: </span><a href="../modules/state.html#stateorname" class="tsd-signature-type">StateOrName</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>name <span class="tsd-signature-type">string</span></h5>
</li>
<li>
<h5>base <a href="../modules/state.html#stateorname" class="tsd-signature-type">StateOrName</a></h5>
</li>
</ul>
<div class="tsd-returns">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
</div>
<hr>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/ui-router/core/blob/8ed691b/src/state/stateMatcher.ts#L43">state/stateMatcher.ts:43</a></li>
</ul>
</aside> </li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../index.html"><em>@uirouter/core</em></a>
</li>
<li class="label tsd-is-external">
<span>Public API</span>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/common.html">common</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/core.html">core</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/params.html">params</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/resolve.html">resolve</a>
</li>
<li class="current tsd-kind-external-module">
<a href="../modules/state.html">state</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/transition.html">transition</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/url.html">url</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/view.html">view</a>
</li>
<li class="label tsd-is-external">
<span>Internal UI-<wbr><wbr>Router API</span>
</li>
<li class=" tsd-kind-external-module tsd-is-external">
<a href="../modules/common_hof.html">common_<wbr>hof</a>
</li>
<li class=" tsd-kind-external-module tsd-is-external">
<a href="../modules/common_predicates.html">common_<wbr>predicates</a>
</li>
<li class=" tsd-kind-external-module tsd-is-external">
<a href="../modules/common_strings.html">common_<wbr>strings</a>
</li>
<li class=" tsd-kind-external-module tsd-is-external">
<a href="../modules/hooks.html">hooks</a>
</li>
<li class=" tsd-kind-external-module tsd-is-external">
<a href="../modules/path.html">path</a>
</li>
<li class=" tsd-kind-external-module tsd-is-external">
<a href="../modules/trace.html">trace</a>
</li>
<li class=" tsd-kind-external-module tsd-is-external">
<a href="../modules/vanilla.html">vanilla</a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-is-external">
<a href="state.statebuilder.html" class="tsd-kind-icon">State<wbr>Builder</a>
</li>
</ul>
<ul class="current">
<li class="current tsd-kind-class tsd-parent-kind-external-module">
<a href="state.statematcher.html" class="tsd-kind-icon">State<wbr>Matcher</a>
<ul>
<li class=" tsd-kind-constructor tsd-parent-kind-class">
<a href="state.statematcher.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="state.statematcher.html#_states" class="tsd-kind-icon">_states</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="state.statematcher.html#find" class="tsd-kind-icon">find</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="state.statematcher.html#isrelative" class="tsd-kind-icon">is<wbr>Relative</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="state.statematcher.html#resolvepath" class="tsd-kind-icon">resolve<wbr>Path</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-class tsd-parent-kind-external-module">
<a href="state.stateobject.html" class="tsd-kind-icon">State<wbr>Object</a>
</li>
<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-is-external">
<a href="state.statequeuemanager.html" class="tsd-kind-icon">State<wbr>Queue<wbr>Manager</a>
</li>
<li class=" tsd-kind-class tsd-parent-kind-external-module">
<a href="state.stateregistry.html" class="tsd-kind-icon">State<wbr>Registry</a>
</li>
<li class=" tsd-kind-class tsd-parent-kind-external-module">
<a href="state.stateservice.html" class="tsd-kind-icon">State<wbr>Service</a>
</li>
<li class=" tsd-kind-class tsd-parent-kind-external-module">
<a href="state.targetstate.html" class="tsd-kind-icon">Target<wbr>State</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../interfaces/state.builders.html" class="tsd-kind-icon">Builders</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/state.hrefoptions.html" class="tsd-kind-icon">Href<wbr>Options</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/state.lazyloadresult.html" class="tsd-kind-icon">Lazy<wbr>Load<wbr>Result</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/state.statedeclaration.html" class="tsd-kind-icon">State<wbr>Declaration</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/state.targetstatedef.html" class="tsd-kind-icon">Target<wbr>State<wbr>Def</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module tsd-is-external">
<a href="../interfaces/state.transitionpromise.html" class="tsd-kind-icon">Transition<wbr>Promise</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module tsd-is-external">
<a href="../interfaces/state._viewdeclaration.html" class="tsd-kind-icon">_<wbr>View<wbr>Declaration</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/state.html#builderfunction" class="tsd-kind-icon">Builder<wbr>Function</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/state.html#oninvalidcallback" class="tsd-kind-icon">On<wbr>Invalid<wbr>Callback</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/state.html#redirecttoresult" class="tsd-kind-icon">Redirect<wbr>ToResult</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/state.html#resolvetypes" class="tsd-kind-icon">Resolve<wbr>Types</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/state.html#stateorname" class="tsd-kind-icon">State<wbr>OrName</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/state.html#stateregistrylistener" class="tsd-kind-icon">State<wbr>Registry<wbr>Listener</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/state.html#_statedeclaration" class="tsd-kind-icon">_<wbr>State<wbr>Declaration</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#databuilder" class="tsd-kind-icon">data<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#getnavigablebuilder" class="tsd-kind-icon">get<wbr>Navigable<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#getparamsbuilder" class="tsd-kind-icon">get<wbr>Params<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#geturlbuilder" class="tsd-kind-icon">get<wbr>Url<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#includesbuilder" class="tsd-kind-icon">includes<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#namebuilder" class="tsd-kind-icon">name<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#parseurl" class="tsd-kind-icon">parse<wbr>Url</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#pathbuilder" class="tsd-kind-icon">path<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module">
<a href="../modules/state.html#resolvablesbuilder" class="tsd-kind-icon">resolvables<wbr>Builder</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported">
<a href="../modules/state.html#selfbuilder" class="tsd-kind-icon">self<wbr>Builder</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
<li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
<li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
<li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
</ul>
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
<li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
</ul>
</div>
</div>
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="http://typedoc.io" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
</body>
</html> | ui-router/ui-router.github.io | _core_docs/5.0.21/classes/state.statematcher.html | HTML | mit | 26,523 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>LUIGI</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Widget Types</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../widget types/button.html">button</a></li>
<li><a href="../widget types/check.html">check</a></li>
<li><a href="../widget types/menu.html">menu</a></li>
<li><a href="../widget types/menu.item.html">menu.item</a></li>
<li><a href="../widget types/progress.html">progress</a></li>
<li><a href="../widget types/radio.html">radio</a></li>
<li><a href="../widget types/sash.html">sash</a></li>
<li><a href="../widget types/slider.html">slider</a></li>
<li><a href="../widget types/status.html">status</a></li>
<li><strong>stepper</strong></li>
<li><a href="../widget types/text.html">text</a></li>
</ul>
<h2>Modules</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../modules/attribute.html">attribute</a></li>
</ul>
<h2>Classes</h2>
<ul class="$(kind=='Topics' and '' or 'nowrap'">
<li><a href="../classes/Event.html">Event</a></li>
<li><a href="../classes/Layout.html">Layout</a></li>
<li><a href="../classes/Widget.html">Widget</a></li>
</ul>
</div>
<div id="content">
<h1>Widget <code>stepper</code></h1>
<p>A stepper.</p>
<p>This widget is composed of two buttons and a content area.
Upon creation, this widget's children are moved into an
<code>items</code> property. The items are displayed one at a time in
the content area. Pressing the buttons cycles through the
item displayed in the content area.</p>
<br/>
<br/>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-12-05 16:15:11 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>
| airstruck/luigi | doc/widget types/stepper.html | HTML | mit | 2,385 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>newest</title>
<link rel="stylesheet" media="screen" href="css/index.css">
<link rel="stylesheet" type="text/css" href="font/font.css">
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/GlobalValue.js"></script>
<style>
.review{
float: left;
font-size: 13px;
height: 30px;
line-height: 30px;
}
ul img{
height: 20px;
margin: 5px;
float: left;
}
#right-container .review{
height: 20px;
font-size: 14px;
line-height: 20px;
margin-left: 10px;
}
</style>
<!--
作者:[email protected]
时间:2017-07-22
描述:验证登录与加载用户数据
-->
<script>
if($.cookie('newestUserId')==null || $.cookie('newestUserName')==null){
window.location.href = "login-register.html";
}
</script>
</head>
<body>
<div id="index-container">
<div id="index-head">
<div id="index-head-inner">
<a href="index.html"><img style="height: 50px; float: left;" src="pic/title.png"></a>
<ul id="index-head-nav">
<li><a href="index.html">新鲜事</a>
<ul>
<li><a href="publish-post.html">发布</a></li>
<li><a href="mypost.html">我的</a></li>
</ul>
</li>
<li><a>新闻</a>
<ul>
<li><a id="new-tech">要闻</a></li>
<li><a id="new-science">科学</a></li>
<li><a id="new-soft">软件</a></li>
<li><a id="new-game">游戏</a></li>
<li><a id="new-movie">影视</a></li>
<li><a id="new-comic">动漫</a></li>
<li><a id="new-funny">趣闻</a></li>
</ul>
</li>
</ul>
<div class="search-bar">
<div id="popver">
<div id="search-bar-container">
<input id="search-bar-input" type="text" placeholder="搜索你感兴趣的内容">
<button id="search-bar-button"></button>
</div>
</div>
</div>
<button class="search-button" id="search">搜索</button>
</div>
</div>
<div style="padding: 0 16px;margin: 65px auto auto auto">
<div id="new-content">
<div id="mylike">
<div style="padding-left: 20px;">我的喜欢</div>
</div>
<div id="new-container">
<div id="content-main">
<ul id="ul-for-new">
</ul>
<div id="none">没有更多啦</div>
</div>
</div>
</div>
<div id="index-right">
<div id="right-container">
<div class="person-head" id="myHeadPic"></div>
<div class="person-name" id="myName"></div>
<div class="person-piece">
<img height="20px" style="float: left;" src="pic/review.png">
<div class="review" id="myReview">@我的</div>
</div>
<div class="person-piece">
<img height="20px" style="float: left;" src="pic/like.png">
<div class="review" id="myLike">我的喜欢</div>
</div>
<div class="person-piece">
<img height="20px" style="float: left;" src="pic/setup.png">
<div class="review" id="mySetting">我的设置</div>
</div>
<button id="log-out">注 销</button>
</div>
</div>
</div>
</div>
<!--
作者:[email protected]
时间:2017-07-21
描述:全局变量
-->
<script>
var u1 = u + "my-like";
var u3 = u + "like";
var u4 = "news.html?postId=";
var ajaxobj;
var list =
'<li class="list-news">' +
'<div class="list-news-top">' +
'<div class="media-head"></div>' +
'<div class="media-name"></div>' +
'<div class="news-classify">'+
'<div class="review" style="margin-right:4px;"></div>' +
'</div>' +
'</div>' +
'<div class="new-item-content">' +
'<h3><a></a></h3>' +
'<div class="new-item-content-inner"></div>' +
'</div>' +
'<div class="list-news-action">' +
'<div class="list-news-action-review">' +
'<img src="pic/review.png">' +
'<a class="review" style="padding: 0;">评论</a>' +
'</div>' +
'<div class="list-news-action-like">' +
'<img>' +
'<div class="review"></div>' +
'<div class="review">喜欢</div>' +
'</div>' +
'<div class="list-news-action-time"></div>' +
'</div>' +
'</li>';
</script>
<!--
作者:[email protected]
时间:2017-07-21
描述:喜欢的切换
-->
<script>
function sendAddLike(dataId){
$.ajax({
type:"post",
url:u3,
async:true,
contentType: "application/x-www-form-urlencoded; charset=utf-8",
data:{
post_id: dataId,
user_id: $.cookie('newestUserId'),
liked: +1
}
});
}
function sendSubLike(dataId){
$.ajax({
type:"post",
url:u3,
async:true,
contentType: "application/x-www-form-urlencoded; charset=utf-8",
data:{
post_id: dataId,
user_id: $.cookie('newestUserId'),
liked: -1
}
});
}
$("body").on("click","img", function(){
if($(this).attr("src") == "pic/like.png" && $(this).attr("id") == null){
$(this).attr("src","pic/like-click.png");
var likeNum = $(this).next().html();
$(this).next().html(Number(likeNum)+1);
sendAddLike($(this).parent().parent().parent().data("postId"));
}
else if($(this).attr("src") == "pic/like-click.png" && $(this).attr("id") == null){
$(this).attr("src","pic/like.png");
var likeNum = $(this).next().html();
$(this).next().html(Number(likeNum)-1);
sendSubLike($(this).parent().parent().parent().data("postId"));
$(this).parent().parent().parent().remove();
}
else{
//do nothing
}
});
</script>
<!--
作者:[email protected]
时间:2017-07-22
描述:点击查看详情
-->
<script>
$("body").on("click","h3 a:first-child", function(){
window.location.href = u4 +
$(this).parent().parent().parent().data("postId") + "=category=" +
$(this).parent().parent().parent().data("category");
});
$("body").on("click",".new-item-content-inner", function(){
window.location.href = u4 +
$(this).parent().parent().data("postId") + "=category=" +
$(this).parent().parent().parent().data("category");
});
$("body").on("click",".list-news-action-review", function(){
window.location.href = u4 +
$(this).parent().parent().data("postId") + "=category=" +
$(this).parent().parent().data("category") + "=reviews";
});
</script>
<!--
作者:[email protected]
时间:2017-07-22
描述:验证登录与加载用户数据
-->
<script>
function sendMyLike(){
$.ajax({
type:"post",
url:u1,
async:true,
contentType: "application/x-www-form-urlencoded; charset=utf-8",
data:{
user_id: $.cookie('newestUserId')
},
success:function(data){
ajaxobj = JSON.parse(data);
if(ajaxobj.isOk == true){
if(ajaxobj.posts.length > 0){
for(var i=0; i<ajaxobj.posts.length; i++){
appendList(ajaxobj.posts[i].post_id,ajaxobj.posts[i].author_name,
ajaxobj.posts[i].author_id,ajaxobj.posts[i].title,
ajaxobj.posts[i].content,ajaxobj.posts[i].time,
ajaxobj.posts[i].author_pic,
ajaxobj.posts[i].category,
ajaxobj.posts[i].isLiked,ajaxobj.posts[i].liked);
}
}
}
}
});
}
if($.cookie('newestUserId') && $.cookie('newestUserName')){
$("#myName").html($.cookie('newestUserName'));
$("#myHeadPic").css("background-image","url("+$.cookie('newestUserPic')+")");
$("#myHeadPic").css("background-size","100px 100px");
sendMyLike();
}
</script>
<!--
作者:[email protected]
时间:2017-07-22
描述:注销
-->
<script>
function logOut(){
// $.cookie('newestUserId', null, {
// expires : -1,
// });
$.cookie('newestUserPassword', null, {
expires : -1,
});
$.cookie('newestUserName',null, {
expires : -1,
});
$.cookie('newestUserPic',null, {
expires : -1,
});
}
$("#log-out").click(function(){
logOut();
window.location.reload();
})
</script>
<!--
作者:[email protected]
时间:2017-07-21
描述:动态添加
-->
<script>
function appendList(postId,authorName,authorId,title,content,time,author_pic,category,isLiked,liked){
$("#ul-for-new").append(list);
$("#ul-for-new li:last-child").data("postId",postId);
$("#ul-for-new li:last-child").data("category",category);
$("#ul-for-new li:last-child").children(".list-news-top").children(".media-head").css("background-image","url("+author_pic+")");
$("#ul-for-new li:last-child").children(".list-news-top").children(".media-head").css("background-size","26px 26px");
$("#ul-for-new li:last-child").children(".list-news-top").children(".media-name").html(authorName);
if(category == "game"){
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("游戏");
}
else if(category == "science"){
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("科学");
}
else if(category == "tech"){
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("要闻");
}
else if(category == "soft"){
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("软件");
}
else if(category == "funny"){
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("趣闻");
}
else if(category == "comic"){
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("动漫");
}
else if(category == "新鲜事"){
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("新鲜事");
}
else{
$("#ul-for-new li:last-child").children(".list-news-top").children(".news-classify").children(".review").html("影视");
}
$("#ul-for-new li:last-child").children(".new-item-content").children("h3").children("a").html(title);
$("#ul-for-new li:last-child").children(".new-item-content").children(".new-item-content-inner").html(content);
$("#ul-for-new li:last-child").children(".list-news-action").children(".list-news-action-like").children(".review").first().html(liked);
if(isLiked){
$("#ul-for-new li:last-child").children(".list-news-action").children(".list-news-action-like").children("img").attr("src","pic/like-click.png");
}
else{
$("#ul-for-new li:last-child").children(".list-news-action").children(".list-news-action-like").children("img").attr("src","pic/like.png");
}
$("#ul-for-new li:last-child").children(".list-news-action").children(".list-news-action-time").html(time);
}
</script>
<!--
作者:[email protected]
时间:2017-07-24
描述:选择新闻种类
-->
<script>
$("#new-funny").click(function(){
window.location.href = "subnew.html?category=funny";
});
$("#new-game").click(function(){
window.location.href = "subnew.html?category=game";
});
$("#new-movie").click(function(){
window.location.href = "subnew.html?category=movie";
});
$("#new-comic").click(function(){
window.location.href = "subnew.html?category=comic";
});
$("#new-soft").click(function(){
window.location.href = "subnew.html?category=soft";
});
$("#new-tech").click(function(){
window.location.href = "subnew.html?category=tech";
});
$("#new-science").click(function(){
window.location.href = "subnew.html?category=science";
})
</script>
<!--
作者:[email protected]
时间:2017-07-25
描述:@我的
-->
<script>
$("#myReview").click(function(){
window.location.href = "review-list.html";
});
</script>
<!--
作者:[email protected]
时间:2017-07-25
描述:我的设置
-->
<script>
$("#mySetting").click(function(){
window.location.href = "setup.html";
});
$("#myLike").click(function(){
window.location.href = "mylike.html";
});
</script>
<!--
作者:[email protected]
时间:2017-07-26
描述:搜索
-->
<script>
$("#search").click(function(){
if($("#search-bar-input").val() != ""){
window.location.href = "search-user.html?keyword=" + $("#search-bar-input").val();
}
});
</script>
</body>
</html> | SCU-Newest/Newest | mylike.html | HTML | mit | 13,057 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="HTTrack is an easy-to-use website mirror utility. It allows you to download a World Wide website from the Internet to a local directory,building recursively all structures, getting html, images, and other files from the server to your computer. Links are rebuiltrelatively so that you can freely browse to the local site (works with any browser). You can mirror several sites together so that you can jump from one toanother. You can, also, update an existing mirror site, or resume an interrupted download. The robot is fully configurable, with an integrated help" />
<meta name="keywords" content="httrack, HTTRACK, HTTrack, winhttrack, WINHTTRACK, WinHTTrack, offline browser, web mirror utility, aspirateur web, surf offline, web capture, www mirror utility, browse offline, local site builder, website mirroring, aspirateur www, internet grabber, capture de site web, internet tool, hors connexion, unix, dos, windows 95, windows 98, solaris, ibm580, AIX 4.0, HTS, HTGet, web aspirator, web aspirateur, libre, GPL, GNU, free software" />
<title>List of available projects - HTTrack Website Copier</title>
<!-- Mirror and index made by HTTrack Website Copier/3.47-21 [XR&CO'2013] -->
<style type="text/css">
<!--
body {
margin: 0; padding: 0; margin-bottom: 15px; margin-top: 8px;
background: #77b;
}
body, td {
font: 14px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}
#subTitle {
background: #000; color: #fff; padding: 4px; font-weight: bold;
}
#siteNavigation a, #siteNavigation .current {
font-weight: bold; color: #448;
}
#siteNavigation a:link { text-decoration: none; }
#siteNavigation a:visited { text-decoration: none; }
#siteNavigation .current { background-color: #ccd; }
#siteNavigation a:hover { text-decoration: none; background-color: #fff; color: #000; }
#siteNavigation a:active { text-decoration: none; background-color: #ccc; }
a:link { text-decoration: underline; color: #00f; }
a:visited { text-decoration: underline; color: #000; }
a:hover { text-decoration: underline; color: #c00; }
a:active { text-decoration: underline; }
#pageContent {
clear: both;
border-bottom: 6px solid #000;
padding: 10px; padding-top: 20px;
line-height: 1.65em;
background-image: url(backblue.gif);
background-repeat: no-repeat;
background-position: top right;
}
#pageContent, #siteNavigation {
background-color: #ccd;
}
.imgLeft { float: left; margin-right: 10px; margin-bottom: 10px; }
.imgRight { float: right; margin-left: 10px; margin-bottom: 10px; }
hr { height: 1px; color: #000; background-color: #000; margin-bottom: 15px; }
h1 { margin: 0; font-weight: bold; font-size: 2em; }
h2 { margin: 0; font-weight: bold; font-size: 1.6em; }
h3 { margin: 0; font-weight: bold; font-size: 1.3em; }
h4 { margin: 0; font-weight: bold; font-size: 1.18em; }
.blak { background-color: #000; }
.hide { display: none; }
.tableWidth { min-width: 400px; }
.tblRegular { border-collapse: collapse; }
.tblRegular td { padding: 6px; background-image: url(fade.gif); border: 2px solid #99c; }
.tblHeaderColor, .tblHeaderColor td { background: #99c; }
.tblNoBorder td { border: 0; }
// -->
</style>
</head>
<body>
<table width="76%" border="0" align="center" cellspacing="0" cellpadding="3" class="tableWidth">
<tr>
<td id="subTitle">HTTrack Website Copier - Open Source offline browser</td>
</tr>
</table>
<table width="76%" border="0" align="center" cellspacing="0" cellpadding="0" class="tableWidth">
<tr class="blak">
<td>
<table width="100%" border="0" align="center" cellspacing="1" cellpadding="0">
<tr>
<td colspan="6">
<table width="100%" border="0" align="center" cellspacing="0" cellpadding="10">
<tr>
<td id="pageContent">
<!-- ==================== End prologue ==================== -->
<h1 ALIGN=Center>Index of locally available projects:</H1>
<table border="0" width="100%" cellspacing="1" cellpadding="0">
<TH>
<BR/>
No categories
</TH>
<TR>
<TD BACKGROUND="fade.gif">
· <A HREF="CodeIgniter%202.1.4/index.html">CodeIgniter 2.1.4</A>
</TD>
</TR>
</TABLE>
<BR>
<H6 ALIGN="RIGHT">
<I>Mirror and index made by HTTrack Website Copier [XR&CO'2008]</I>
</H6>
<!-- Mirror and index made by HTTrack Website Copier/3.47-21 [XR&CO'2013] -->
<!-- Thanks for using HTTrack Website Copier! -->
<!-- ==================== Start epilogue ==================== -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="76%" border="0" align="center" valign="bottom" cellspacing="0" cellpadding="0">
<tr>
<td id="footer"><small>© 2008 Xavier Roche & other contributors - Web Design: Leto Kauler.</small></td>
</tr>
</table>
</body>
</html>
| pulipulichen/php-file-converter | user_guide_zh_tw/index.html | HTML | mit | 5,078 |
<h1>Book Detail</h1>
{% if book %}
Title: {{ book.name }}
{% else % }
Book not found: {{ error }}
{% endif %}
| oliverroick/django-tests | books/templates/book_detail.html | HTML | mit | 111 |
<div class="notifications">
<!-- _ASSIGN_ MSN -->
<div class="notifications-inner" ng-repeat="notification in notifications track by notification.id">
<comp-notification notification=notification></comp-notification>
</div>
</div> | Chillybyte/GlobalComments | web/app/components/comp-notifications/template.html | HTML | mit | 246 |
---
layout: layout
title: "Jared Wright"
---
<br>
<title>Jared Wright</title>
<section class="content">
<p>Hi, I'm <b>Jared</b>
<span style="font-style:italic"><br><br>
Developer, Student, and (aspiring) Entrepreneur
<br><br></span>
All of my open source projects are hosted on Github <a href='http://github.com/jawerty'>@jawerty</a>
</p>
<br><br>
<h2>* Articles</h2>
{% for post in site.posts %}
<a href="{{ post.url }}">{{ post.title }}</a><span> - {{ post.date | date: "%B %e, %Y" }}</span>
<br>
<br>
{% endfor %}
</section>
| jawerty/mygithubpage | index.html | HTML | mit | 615 |
---
layout: compress
---
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"><!--<![endif]-->
<head>
{% include head.html %}
</head>
<body>
{% include nav.html %}
<!-- Header -->
<header class="header" role="banner">
<div class="wrapper animated fadeIn">
<div class="content">
<div class="post-title">
<h1>{{ page.title }}</h1>
<a class="btn zoombtn" href="{{site.url}}">
<i class="fa fa-home"></i>
</a>
</div>
<div class="post-list">
{% for post in site.posts %}
{% if post.project == null and post.experience == null%}
<ul>
<li class="wow fadeInLeft" data-wow-duration="1.5s">
<a class="zoombtn" href="{{ site.url }}{{ post.url }}">{{ post.title }}</a>
<p>{{ post.excerpt }}</p>
<a href="{{ site.url }}{{ post.url }}" class="btn zoombtn">Read More</a>
</li>
</ul>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</header>
{% include scripts.html %}
<script src="{{ site.url }}/assets/js/wow.min.js"></script>
<script type="text/javascript">(new WOW).init();</script>
</body>
</html>
| quido3/quido3.github.io | _layouts/post-list.html | HTML | mit | 1,686 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>V8 API Reference Guide for node.js v0.10.2 - v0.10.3: v8::Isolate::Scope Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">V8 API Reference Guide for node.js v0.10.2 - v0.10.3
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="classv8_1_1_isolate.html">Isolate</a></li><li class="navelem"><a class="el" href="classv8_1_1_isolate_1_1_scope.html">Scope</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classv8_1_1_isolate_1_1_scope-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">v8::Isolate::Scope Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="v8_8h_source.html">v8.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a43889336478a5625e095c4444b9dd684"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43889336478a5625e095c4444b9dd684"></a>
 </td><td class="memItemRight" valign="bottom"><b>Scope</b> (<a class="el" href="classv8_1_1_isolate.html">Isolate</a> *isolate)</td></tr>
<tr class="separator:a43889336478a5625e095c4444b9dd684"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Stack-allocated class which sets the isolate for all operations executed within a local scope. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>deps/v8/include/<a class="el" href="v8_8h_source.html">v8.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 11 2015 23:45:04 for V8 API Reference Guide for node.js v0.10.2 - v0.10.3 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
| v8-dox/v8-dox.github.io | 14417fd/html/classv8_1_1_isolate_1_1_scope.html | HTML | mit | 5,626 |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>成語 </b></th><td class="ztd2">罪不容宥</td></tr>
<tr><th class="ztd1"><b>注音 </b></th><td class="ztd2">ㄗㄨㄟ<sup class="subfont">ˋ</sup> ㄅㄨ<sup class="subfont">ˋ</sup> ㄖㄨㄥ<sup class="subfont">ˊ</sup> |ㄡ<sup class="subfont">ˋ</sup></td></tr>
<tr><th class="ztd1"><b>漢語拼音 </b></th><td class="ztd2"><font class="english_word">zuì bù róng yòu</font></td></tr>
<tr><th class="ztd1"><b>釋義 </b></th><td class="ztd2"> 義參「<a href="/cgi-bin/cydic/gsweb.cgi?o=dcydic&schfmt=text&gourl=%3De0%26sec%3Dsec1%26op%3Dsid%3D%22CW0000000772%22.%26v%3D-1" class="clink" target=_blank>罪不容誅</a>」。見「<a href="/cgi-bin/cydic/gsweb.cgi?o=dcydic&schfmt=text&gourl=%3De0%26sec%3Dsec1%26op%3Dsid%3D%22CW0000000772%22.%26v%3D-1" class="clink" target=_blank>罪不容誅</a>」條。</font></td></tr>
<tr><th class="ztd1"><b><style>.tableoutfmt2 .std1{width:3%;}</style></b></th><td class="ztd2"><table class="fmt16_table"><tr><td width=150 style="text-align:left;" class="fmt16_td1" ><b>參考詞語︰</b></td><td width=150 style="text-align:left;" class="fmt16_td2" ><a href="/cgi-bin/cydic/gsweb.cgi?o=dcydic&schfmt=text&gourl=%3De0%26sec%3Dsec1%26op%3Dsid%3D%22CW0000000772%22.%26v%3D-1" class="clink" target=_blank>罪不容誅</a></td></tr><tr><td width=150 style="text-align:left;" class="fmt16_td1" ><b>注音︰</b></td><td width=150 style="text-align:left;" class="fmt16_td2" >ㄗㄨㄟ<sup class="subfont">ˋ</sup> ㄅㄨ<sup class="subfont">ˋ</sup> ㄖㄨㄥ<sup class="subfont">ˊ</sup> ㄓㄨ</td></tr><tr><td width=150 style="text-align:left;" class="fmt16_td1" ><b>漢語拼音︰</b></td><td width=150 style="text-align:left;" class="fmt16_td2" ><font class="english_word">zuì bù róng zhū</font></td></tr></table><br><br></td></tr>
</td></tr></table></div> <!-- layoutclass_first_pic --><div class="layoutclass_second_pic"></div> <!-- layoutclass_second_pic --></div> <!-- layoutclass_pic --></td></tr></table>
| BuzzAcademy/idioms-moe-unformatted-data | all-data/3000-3999/3698-34.html | HTML | mit | 2,325 |
<!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_26) on Sat Nov 05 23:16:32 EST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck (checkstyle 5.5 API)
</TITLE>
<META NAME="date" CONTENT="2011-11-05">
<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 com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck (checkstyle 5.5 API)";
}
}
</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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../com/puppycrawl/tools/checkstyle/checks/coding/MissingCtorCheck.html" title="class in com.puppycrawl.tools.checkstyle.checks.coding"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?com/puppycrawl/tools/checkstyle/checks/coding/\class-useMissingCtorCheck.html" target="_top"><B>FRAMES</B></A>
<A HREF="MissingCtorCheck.html" target="_top"><B>NO FRAMES</B></A>
<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>com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck</B></H2>
</CENTER>
No usage of com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck
<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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../com/puppycrawl/tools/checkstyle/checks/coding/MissingCtorCheck.html" title="class in com.puppycrawl.tools.checkstyle.checks.coding"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?com/puppycrawl/tools/checkstyle/checks/coding/\class-useMissingCtorCheck.html" target="_top"><B>FRAMES</B></A>
<A HREF="MissingCtorCheck.html" target="_top"><B>NO FRAMES</B></A>
<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>
Copyright © 2001-2011. All Rights Reserved.
</BODY>
</HTML>
| kentwang/algs4 | checkstyle-5.5/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/MissingCtorCheck.html | HTML | mit | 6,404 |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>最短路径 | chenfy27的博客</title>
<meta name="author" content="chenfy27">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:site_name" content="chenfy27的博客"/>
<meta property="og:image" content=""/>
<link href="/favicon.png" rel="icon">
<!-- CSS -->
<link rel="stylesheet" href="/css/themes/yeti.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/font-awesome.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/style.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/responsive.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/highlight.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/highlight-default.min.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/google-fonts.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/comment.css" media="screen" type="text/css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"></script>
<![endif]-->
<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/marked.js"></script>
<script src="/js/comment.js"></script>
<script src="/js/timeago.min.js"></script>
<script src="/js/highlight.min.js"></script>
<script src="/js/spin.min.js"></script>
<!-- analytics -->
</head>
<body>
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<button type="button" class="navbar-header navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">chenfy27的博客</a>
<div class="collapse navbar-collapse nav-menu">
<ul class="nav navbar-nav">
<li>
<a href="/archives" title="All the articles.">
<i class="fa fa-archive"></i>归档
</a>
</li>
<li>
<a href="/categories" title="All the categories.">
<i class="fa fa-folder"></i>分类
</a>
</li>
<li>
<a href="/tags" title="All the tags.">
<i class="fa fa-tags"></i>标签
</a>
</li>
<li>
<a href="/about" title="About me.">
<i class="fa fa-user"></i>关于
</a>
</li>
</ul>
</div>
</div> <!-- container -->
</nav>
<div class="clearfix"></div>
<div class="container">
<div class="content">
<!-- title -->
<div class="page-header ">
<h1 class="archive-title-tag title ">最短路径</h1>
</div>
<div class="row page">
<!-- cols -->
<div class="col-md-9">
<div id="top_search"></div>
<!-- display as entry -->
<div class="mypage">
<!-- display as entry -->
<h3 class="title">
<div class="date"> 2016-08-29 </div>
<div class="article-title"><a href="/2016/08/29/shortest-path/" >常用的最短路径算法</a></div>
</h3>
<div class="entry">
<div class="row">
<h3 id="floyd算法"><a href="#floyd算法" class="headerlink" title="floyd算法"></a>floyd算法</h3><p>floyd算法用于求加权图中任意两点之间的最短路径,即多源最短路,是动态规划思想的一个典型应用。</p>
<h4 id="算法流程"><a href="#算法流程" class="headerlink" title="算法流程"></a>算法流程</h4><ul>
<li>初始化任意两点之间的距离为正无穷;</li>
<li>加入一个点,遍历任意两点的距离,检查两点之间如果经过新加点的话路径是否会缩短,如果会则更新;</li>
<li>重复上一步直到所有点都加完;</li>
</ul>
</div>
<a type="button" href="/2016/08/29/shortest-path/#more" class="btn btn-default more">阅读此文</a>
</div>
</div>
<div>
<center>
<div class="pagination">
<ul class="pagination">
</ul>
</div>
</center>
</div>
</div> <!-- col-md-9/col-md-12 -->
<div class="col-md-3">
<div id="sidebar">
<div id="site_search">
<div class="form-group">
<input type="text" id="local-search-input" name="q" results="0" placeholder="搜索" class="st-search-input st-default-search-input form-control"/>
</div>
<div id="local-search-result"></div>
</div>
<div class="widget">
<h4>分类</h4>
<ul class="tag_box inline list-unstyled">
<li><a href="/categories/平台/">平台<span>17</span></a></li>
<li><a href="/categories/算法/">算法<span>13</span></a></li>
<li><a href="/categories/运维/">运维<span>1</span></a></li>
</ul>
</div>
<div class="widget">
<h4>标签云</h4>
<ul class="tag_box inline list-unstyled">
<li><a href="/tags/algorithm/">algorithm<span>13</span></a></li>
<li><a href="/tags/二分图/">二分图<span>1</span></a></li>
<li><a href="/tags/多线程/">多线程<span>8</span></a></li>
<li><a href="/tags/多进程/">多进程<span>6</span></a></li>
<li><a href="/tags/select/">select<span>2</span></a></li>
<li><a href="/tags/gcd/">gcd<span>1</span></a></li>
<li><a href="/tags/xml/">xml<span>1</span></a></li>
<li><a href="/tags/c/">c<span>1</span></a></li>
<li><a href="/tags/log/">log<span>1</span></a></li>
<li><a href="/tags/hexdump/">hexdump<span>1</span></a></li>
<li><a href="/tags/openssl/">openssl<span>1</span></a></li>
<li><a href="/tags/cpp/">cpp<span>2</span></a></li>
<li><a href="/tags/python/">python<span>2</span></a></li>
<li><a href="/tags/快速幂/">快速幂<span>1</span></a></li>
<li><a href="/tags/shell/">shell<span>1</span></a></li>
<li><a href="/tags/最短路径/">最短路径<span>1</span></a></li>
<li><a href="/tags/字符串/">字符串<span>1</span></a></li>
<li><a href="/tags/kmp/">kmp<span>1</span></a></li>
<li><a href="/tags/哈希/">哈希<span>1</span></a></li>
<li><a href="/tags/平台/">平台<span>1</span></a></li>
<li><a href="/tags/网络/">网络<span>2</span></a></li>
<li><a href="/tags/epoll/">epoll<span>1</span></a></li>
<li><a href="/tags/tcp/">tcp<span>1</span></a></li>
<li><a href="/tags/udp/">udp<span>1</span></a></li>
<li><a href="/tags/stl/">stl<span>1</span></a></li>
</ul>
</div>
<div class="widget">
<h4>链接</h4>
<ul class="blogroll list-unstyled">
<li><i class=""></i><a href="http://www.github.com/chenfy27" title="" target="_blank"]);">Github</a></li>
<li><i class=""></i><a href="https://theboostcpplibraries.com" title="" target="_blank"]);">Boost库</a></li>
<li><i class=""></i><a href="https://deerchao.net/tutorials/regex/regex.htm" title="" target="_blank"]);">正则表达式</a></li>
<li><i class=""></i><a href="https://docs.python.org/3/library/index.html" title="" target="_blank"]);">python标准库</a></li>
<li><i class=""></i><a href="http://www.cplusplus.com/reference" title="" target="_blank"]);">C++标准库</a></li>
<li><i class=""></i><a href="https://www.jb51.net/shouce/autoit" title="" target="_blank"]);">AutoIt参考</a></li>
<li><i class=""></i><a href="https://chenfy27.gitee.io/blog" title="" target="_blank"]);">旧版博客</a></li>
</ul>
</div>
<div class="widget">
<h4 class="dsq-widget-title">最新留言</h4>
<div id="recent-comments"></div>
<script type="text/javascript">
getRecentCommentsList({
type: "github" ? "github" : "github",
user: "chenfy27",
repo: "chenfy27.github.io",
client_id: "9debc16a49221a5c03d3",
client_secret: "6fa5f9d947d5b1cbcd91f2cb16636553b13a5a33",
count: "10" ? "10" : 5,
recent_comments_target: "#recent-comments"
});
</script>
</div>
</div> <!-- sidebar -->
</div> <!-- col-md-3 -->
</div>
</div>
<div class="container-narrow">
<footer> <p>
© 2019 chenfy27
with help from <a href="http://hexo.io/" target="_blank">Hexo</a> and <a href="http://getbootstrap.com/" target="_blank">Twitter Bootstrap</a>. Theme by <a href="http://github.com/wzpan/hexo-theme-freemind/">Freemind</a>.
</p> </footer>
</div> <!-- container-narrow -->
<a id="gotop" href="#">
<span>▲</span>
</a>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main.js"></script>
<script src="/js/search.js"></script>
<script type="text/javascript">
var search_path = "search.xml";
if (search_path.length == 0) {
search_path = "search.xml";
}
var path = "/" + search_path;
searchFunc(path, 'local-search-input', 'local-search-result');
</script>
<!-- syntax highlighting -->
<script>
marked.setOptions({
highlight: function (code, lang) {
return hljs.highlightAuto(code).value;
}
});
function Highlighting(){
var markdowns = document.getElementsByClassName('markdown');
for(var i=0;i<markdowns.length;i++){
if(markdowns[i].innerHTML) markdowns[i].innerHTML =marked(markdowns[i].innerHTML);
}
}
window.addEventListener('DOMContentLoaded', Highlighting, false);
window.addEventListener('load', Highlighting, false);
</script>
</body>
</html>
| boyfaceone/boyfaceone.github.io | tags/最短路径/index.html | HTML | mit | 9,776 |
<!DOCTYPE html>
<html>
<head>
<title> demo </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css">
<link rel="stylesheet" type"text/css" href="../styles/demo.css">
<link rel="shortcut icon" href="favicon.ico" type="favicon.ico">
<link rel="icon" href="favicon.ico" type="favicon.ico">
</head>
<body>
<header class="blogHeader">
<!-- ..............MENU ...............-->
<nav class="container row">
<ul>
<li>
<a href="../index.html" class="active">home</a>
<a href="a-work.html">school work</a>
<a href="a-index.html">blog</a>
<a href="a-contact-me.html">contact</a>
</li>
</ul>
<ul class="mobileIndex">
<li>
<a href="../index.html" class="active">home</a>
<a href="a-index.html">blog</a>
<a href="a-contact-me.html">contact</a>
</li>
</ul>
</nav>
<!-- ..............MENU ...............-->
</header>
<div class="table-container">
<div class="table-block footer-push">
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container">
<div class="row">
<div class="twelve column Hulk">
<h4>mybcito app</h4>
<h6>quick demo from development environment for internal purposes</h6>
<p>
This gif shows captures from myBcito app registration process,
adding student work projects, marking those projects as completed,
adding qualifications to the profile page.
It also shows how all those actions are reflected on achieving badges
by the user.
</p>
<p>
Please note that the video may be lagging a bit and is made for internal purposes.
</p>
<img class= "demoImg" src="../images/myBcitoDemoGif_normalSpeed.gif"></img>
<p class="tag reflection"> #demo #davanti <p>
</div>
</div>
</div> <!-- end primary div.container -->
</div> <!-- end primary div.table-block -->
<div class="table-block">
<!-- Page Footer Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container">
<footer class="blogFooter" class="twelve columns">
<ul>
<li><a id="footerParrotLink" href="../index.html"><img src="../images/Parrot_Icon.png"></a></li>
<!-- <li>
<a href="https://www.facebook.com">facebook</a>
<a href="https://www.instagram.com/ania_podh/">instagram</a> <a href="tel:333 444 333"> call me</a>
</li> -->
</footer>
</div> <!-- end footer div.container -->
</div> <!-- end footer div.table-block -->
</div>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<!--
<iframe width="0" height="0" src="https://www.youtube.com/embed/1frLJSKKCx8?rel=0&autoplay=1&controls=0&showinfo=0"
frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> -->
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/345676171&color=%23ff5500&auto_play=true&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"></iframe>
</body>
</html>
| anna-podhajska/anna-podhajska.github.io | blog/demo.html | HTML | mit | 4,027 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Thu Oct 27 12:13:59 EEST 2016 -->
<title>Uses of Class com.skobbler.ngx.map.SKAnimationSettings.SKAnimationType (SKMaps Framework)</title>
<meta name="date" content="2016-10-27">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.skobbler.ngx.map.SKAnimationSettings.SKAnimationType (SKMaps Framework)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/skobbler/ngx/map/class-use/SKAnimationSettings.SKAnimationType.html" target="_top">Frames</a></li>
<li><a href="SKAnimationSettings.SKAnimationType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.skobbler.ngx.map.SKAnimationSettings.SKAnimationType" class="title">Uses of Class<br>com.skobbler.ngx.map.SKAnimationSettings.SKAnimationType</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.skobbler.ngx.map">com.skobbler.ngx.map</a></td>
<td class="colLast">
<div class="block">Constains classses needed to show the map and information on the map.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.skobbler.ngx.map">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a> in <a href="../../../../../com/skobbler/ngx/map/package-summary.html">com.skobbler.ngx.map</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/skobbler/ngx/map/package-summary.html">com.skobbler.ngx.map</a> that return <a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a></code></td>
<td class="colLast"><span class="strong">SKAnimationSettings.</span><code><strong><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.html#getAnimationType()">getAnimationType</a></strong>()</code>
<div class="block">Gets the annotation animation type</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a></code></td>
<td class="colLast"><span class="strong">SKAnimationSettings.SKAnimationType.</span><code><strong><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String name)</code>
<div class="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a>[]</code></td>
<td class="colLast"><span class="strong">SKAnimationSettings.SKAnimationType.</span><code><strong><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html#values()">values</a></strong>()</code>
<div class="block">Returns an array containing the constants of this enum type, in
the order they are declared.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../com/skobbler/ngx/map/package-summary.html">com.skobbler.ngx.map</a> with parameters of type <a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="strong">SKAnimationSettings.</span><code><strong><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.html#setAnimationType(com.skobbler.ngx.map.SKAnimationSettings.SKAnimationType)">setAnimationType</a></strong>(<a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a> animationType)</code>
<div class="block">Sets the annotation animation type</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../com/skobbler/ngx/map/package-summary.html">com.skobbler.ngx.map</a> with parameters of type <a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.html#SKAnimationSettings(com.skobbler.ngx.map.SKAnimationSettings.SKAnimationType,%20com.skobbler.ngx.map.SKAnimationSettings.SKEasingType,%20int)">SKAnimationSettings</a></strong>(<a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKAnimationType</a> animationType,
<a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKEasingType.html" title="enum in com.skobbler.ngx.map">SKAnimationSettings.SKEasingType</a> animationEasingType,
int duration)</code> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../com/skobbler/ngx/map/SKAnimationSettings.SKAnimationType.html" title="enum in com.skobbler.ngx.map">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/skobbler/ngx/map/class-use/SKAnimationSettings.SKAnimationType.html" target="_top">Frames</a></li>
<li><a href="SKAnimationSettings.SKAnimationType.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
<i>Copyright © 2014 skobbler GmbH, Luisenstr. 41, 10117 Berlin, Germany. All rights reserved.</i></small></p>
</body>
</html>
| TrekDev/Xamarin.Android.Skobbler | src/Skobbler.Binding/Jars/docs/com/skobbler/ngx/map/class-use/SKAnimationSettings.SKAnimationType.html | HTML | mit | 10,481 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Quotes Blog</title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Theme CSS -->
<link href="css/clean-blog.min.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- 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/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
Menu <i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="index.html">Quotes Blog</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="about.html">About</a>
</li>
<li>
<a href="contact.html">Contact</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Page Header -->
<!-- Set your background image for this header on the line below. -->
<header class="intro-header" style="background-image: url('https://px.multiscreensite.com/index.php?url=http%3A%2F%2Fwallpapercave.com%2Fwp%2FC6Vvy9v.jpg')">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="site-heading">
<h1>Quotes Blog</h1>
<hr class="small">
<span class="subheading">A collection of great quotes I have encountered in a form of a Blogging Website :)
By John Ivan R. Divina</span>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-preview">
<a href="post1.html">
<h2 class="post-title">Yesterday is history, tomorrow is a mystery, and today is a gift that's why they call it the present </h2>
<h3 class="post-subtitle">
A quote from Kung-fu Panda that teaches us that we should never let the past define who we are
</h3>
</a>
<p class="post-meta">Posted by <a href="#">John Divina</a> on October 28, 2016</p>
</div>
<hr>
<div class="post-preview">
<a href="post2.html">
<h2 class="post-title">
"You gave me forever within a number of days and I'm grateful for that "
</h2>
<h3 class="post-subtitle">
One of the quotes that seriously broke my heart; it is about and from an anime called "Your lie in April" or Shigatsu Wa Kami. The quote is about maximizing the time with a person you love before they are gone.
</h3>
</a>
<p class="post-meta">Posted by <a href="#">John Divina</a> on October 29, 2016</p>
</div>
<hr>
<div class="post-preview">
<a href="post3.html">
<h2 class="post-title">
"Have a nice life, I am done trying to be in it"
</h2>
<h3 class="post-subtitle">
We sometimes fall inlove with the people we can't have, we should realize that some may just be a chapter or our life, we can't turn back the pages of time or rewrite our story with them, We eventually get tired of chase and we somehow learn to let go.
</h3>
</a>
<p class="post-meta">Posted by <a href="#">John Divina</a> on October 29, 2016</p>
</div>
</div>
</div>
</div>
<hr>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<li>
<a href="#">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="#">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="#">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-muted">Copyright JohnDivina 2016</p>
</div>
</div>
</div>
</footer>
<!-- jQuery -->
<script src="vendor/jquery/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<!-- Contact Form JavaScript -->
<script src="js/jqBootstrapValidation.js"></script>
<script src="js/contact_me.js"></script>
<!-- Theme JavaScript -->
<script src="js/clean-blog.min.js"></script>
</body>
</html>
| JohnDivina0908/Blog | index.html | HTML | mit | 7,828 |
<!-- <section data-ng-controller="HomeController"> -->
<div ng-include=" '/modules/core/views/partials/page1.view.html' "></div>
<!--END HEADER SECTION -->
<div ng-include=" '/modules/core/views/partials/orderform.view.html' "></div>
<div ng-include=" '/modules/core/views/partials/paralax2.view.html' "></div>
<div class="space-bottom"></div>
<!-- ABOUT SECTION -->
<div ng-include=" '/modules/core/views/partials/page2.view.html' "></div>
<div class="space-bottom"></div>
<!--END ABOUT SECTION -->
<!--PARALLAX SECTION ONE-->
<!--<div ng-include=" '/modules/core/views/partials/paralax1.view.html' "></div>-->
<!-- END PARALLAX SECTION ONE -->
<!--PARALLAX SECTION TWO -->
<!--PRICE SECTION -->
<!--<div ng-include=" '/modules/core/views/partials/page3.view.html' "></div>-->
<!--END PRICE SECTION -->
<!--END PARALLAX SECTION TWO -->
<!--CONTACT SECTION -->
<div ng-include=" '/modules/core/views/partials/page4.view.html' "></div>
<div class="space-bottom"></div>
<!--END CONTACT SECTION -->
<!--FOOTER SECTION -->
<div ng-include=" '/modules/core/views/partials/footer.view.html' "></div>
<!-- </section> -->
| lwhiteley/superfly | public/modules/core/views/home.client.view.html | HTML | mit | 1,150 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./42b41b3f1eada6aad6c6c3276a9cc0e06849ff9ca0619de07e48f43e03dfbafa.html">Teleport</a>
<hr>
<a href="./../../about.md">About</a> (Spoilers! )
<script src="./../../assets/md5.js"></script>
<script>
window.currentLevel = 7;
</script>
<script src="./../../assets/script.js"></script>
</body>
</html> | simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/6b5ba6626f729d3a74196f8609b00d92e3a15c98f72a5a0628d0ce632059e5ef.html | HTML | mit | 550 |
<!DOCTYPE html>
<html>
<head>
<title>RESTQuery.java</title>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
<link rel='stylesheet' type='text/css' href='../../../../coverage.css'/>
<link rel='shortcut icon' type='image/png' href='../../../../logo.png'/>
<script type='text/javascript' src='../../../../coverage.js'></script>
<script type='text/javascript' src='../../../../prettify.js'></script>
</head>
<body onload='prettyPrint()'>
<table cellpadding='0' cellspacing='1'>
<caption>basex-api/src/main/java/org/basex/http/rest/RESTQuery.java</caption>
<tr>
<td class='line'>1</td><td> </td>
<td><pre class='prettyprint'>package org.basex.http.rest;</pre></td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'></td><td> </td>
<td><pre class='imports prettyprint' onclick='showHideLines(this)'><div>import java.io.*;
import java.util.*;
import java.util.Map.Entry;
import org.basex.core.*;
import org.basex.core.cmd.*;
import org.basex.http.*;
import org.basex.query.value.type.*;
</div><span>import ...</span></pre></td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'></td><td> </td>
<td class='comment' onclick='showHideLines(this)'><div>/**
* Evaluate queries via REST.
*
* @author BaseX Team 2005-16, BSD License
* @author Christian Gruen
*/</div><span>/*...*/</span></td>
</tr>
<tr>
<td class='line'>18</td><td> </td>
<td><pre class='prettyprint'>class RESTQuery extends RESTCmd {</pre></td>
</tr>
<tr>
<td class='line'>19</td><td> </td>
<td><pre class='comment'> /** External variables. */</pre></td>
</tr>
<tr>
<td class='line'>20</td><td> </td>
<td><pre class='prettyprint'> private final Map<String, String[]> vars;</pre></td>
</tr>
<tr>
<td class='line'>21</td><td> </td>
<td><pre class='comment'> /** Optional context value. */</pre></td>
</tr>
<tr>
<td class='line'>22</td><td> </td>
<td><pre class='prettyprint'> private final String value;</pre></td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'></td><td> </td>
<td class='comment' onclick='showHideLines(this)'><div> /**
* Constructor.
* @param session REST Session
* @param vars external variables
* @param value context value
*/</div><span> /*...*/</span></td>
</tr>
<tr>
<td class='line'>30</td><td> </td>
<td><pre class='prettyprint'> RESTQuery(final RESTSession session, final Map<String, String[]> vars, final String value) {</pre></td>
</tr>
<tr>
<td class='line'>31</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l31s0'> super(session);</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>32</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l32s0'> this.vars = vars;</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>33</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l33s0'> this.value = value;</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>34</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l34s0'> }</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'>36</td><td> </td>
<td><pre class='prettyprint'> @Override</pre></td>
</tr>
<tr>
<td class='line'>37</td><td> </td>
<td><pre class='prettyprint'> protected void run0() throws IOException {</pre></td>
</tr>
<tr>
<td class='line'>38</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l38s0'> query(session.context.soptions.get(StaticOptions.WEBPATH));</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>39</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l39s0'> }</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'></td><td> </td>
<td class='comment' onclick='showHideLines(this)'><div> /**
* Evaluates the specified query.
* @param path query path
* @throws HTTPException REST exception
* @throws IOException I/O exception
*/</div><span> /*...*/</span></td>
</tr>
<tr>
<td class='line'>47</td><td> </td>
<td><pre class='prettyprint'> final void query(final String path) throws IOException {</pre></td>
</tr>
<tr>
<td class='line'>48</td><td> </td>
<td><pre class='comment'> // set base path and serialization parameters</pre></td>
</tr>
<tr>
<td class='line'>49</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l49s0'> final HTTPContext http = session.http;</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>50</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l50s0'> context.options.set(MainOptions.QUERYPATH, path);</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>51</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l51s0'> context.options.set(MainOptions.SERIALIZER, http.sopts());</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>52</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l52s0'> http.initResponse();</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'>54</td><td class='count'>20</td>
<td><pre class='prettyprint jmp'> <span id='l54s0' title='Executions: 20' class='covered'>for(final Command cmd</span> : <span id='l54s1' title='Executions: 21' class='covered'>session.commands)</span> {</pre>
<ol style='display:none'></ol>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>55</td><td class='count'>21</td>
<td><pre class='prettyprint jmp'> <span id='l55s0' title='Executions: 21' class='covered'>if(cmd instanceof XQuery)</span> {</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>56</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l56s0'> final XQuery xq = (XQuery) cmd;</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>57</td><td> </td>
<td><pre class='comment'> // create query instance</pre></td>
</tr>
<tr>
<td class='line'>58</td><td class='count'>20</td>
<td><pre class='prettyprint jmp'> <span id='l58s0' title='Executions: 20' class='covered'>if(value != null)</span> <span id='l58s1' title='Executions: 0' class='uncovered'>xq.bind(null, value, NodeType.DOC.toString());</span></pre>
<ol style='display:none'></ol>
<ol style='display:none'></ol>
</td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'>60</td><td> </td>
<td><pre class='comment'> // bind HTTP context and external variables</pre></td>
</tr>
<tr>
<td class='line'>61</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l61s0'> xq.http(http);</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>62</td><td class='count'>20</td>
<td><pre class='prettyprint jmp'> <span id='l62s0' title='Executions: 20' class='covered'>for(final Entry<String, String[]> e</span> : <span id='l62s1' title='Executions: 6' class='covered'>vars.entrySet())</span> {</pre>
<ol style='display:none'></ol>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>63</td><td class='count'>6</td>
<td><pre class='prettyprint covered' id='l63s0'> final String key = e.getKey();</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>64</td><td class='count'>6</td>
<td><pre class='prettyprint covered' id='l64s0'> final String[] val = e.getValue();</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>65</td><td class='count'>6</td>
<td><pre class='prettyprint jmp'> <span id='l65s0' title='Executions: 6' class='covered'>if(val.length == 2)</span> <span id='l65s1' title='Executions: 0' class='uncovered'>xq.bind(key, val[0], val[1]);</span></pre>
<ol style='display:none'></ol>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>66</td><td class='count'>6</td>
<td><pre class='prettyprint jmp'> <span id='l66s0' title='Executions: 6' class='covered'>if(val.length == 1)</span> <span id='l66s1' title='Executions: 6' class='covered'>xq.bind(key, val[0]);</span></pre>
<ol style='display:none'></ol>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>67</td><td class='count'>6</td>
<td><pre class='prettyprint covered' id='l67s0'> }</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'>69</td><td> </td>
<td><pre class='comment'> // initializes the response with query serialization options</pre></td>
</tr>
<tr>
<td class='line'>70</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l70s0'> http.sopts().assign(xq.parameters(context));</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>71</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l71s0'> http.initResponse();</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>72</td><td> </td>
<td><pre class='prettyprint'> }</pre></td>
</tr>
<tr>
<td class='line'>73</td><td> </td>
<td><pre class='comment'> // run command</pre></td>
</tr>
<tr>
<td class='line'>74</td><td class='count'>21</td>
<td><pre class='prettyprint covered' id='l74s0'> run(cmd, http.res.getOutputStream());</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>75</td><td class='count'>21</td>
<td><pre class='prettyprint covered' id='l75s0'> }</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>76</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l76s0'> }</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr><td class='line'></td><td colspan='2'> </td></tr>
<tr>
<td class='line'></td><td> </td>
<td class='comment' onclick='showHideLines(this)'><div> /**
* Creates a new instance of this command.
* @param session REST session
* @param query query
* @param vars external variables
* @param val context value
* @return command
* @throws IOException I/O exception
*/</div><span> /*...*/</span></td>
</tr>
<tr>
<td class='line'>87</td><td> </td>
<td><pre class='prettyprint'> @SuppressWarnings("unused")</pre></td>
</tr>
<tr>
<td class='line'>88</td><td> </td>
<td><pre class='prettyprint'> static RESTQuery get(final RESTSession session, final String query,</pre></td>
</tr>
<tr>
<td class='line'>89</td><td> </td>
<td><pre class='prettyprint'> final Map<String, String[]> vars, final String val) throws IOException {</pre></td>
</tr>
<tr>
<td class='line'>90</td><td class='count'>20</td>
<td><pre class='prettyprint covered' id='l90s0'> return new RESTQuery(session.add(new XQuery(query)), vars, val);</pre>
<ol style='display:none'></ol>
</td>
</tr>
<tr>
<td class='line'>91</td><td> </td>
<td><pre class='prettyprint'> }</pre></td>
</tr>
<tr>
<td class='line'>92</td><td> </td>
<td><pre class='prettyprint'>}</pre></td>
</tr>
</table>
</body>
</html>
| hideshis/scripts_for_research | MSRMiningChallenge2017/coverage-report_basex-api/org/basex/http/rest/RESTQuery.html | HTML | mit | 12,789 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>知乎 - 与世界分享你的知识、经验和见解</title>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<style>
body{padding: 0;margin: 0;background: #F7FAFC;}
a{text-decoration: none;}
.index-box{width:300px;height: auto;margin:0 auto;margin-top: 40px;}
.logo{background: url(QQ截图20161109160412.png) no-repeat;;width: 185px;height: 90px;margin:0 auto}
.title{font-size: 18px;text-align: center;color: #707171;font-weight: bold;margin: 30px auto;}
.index-body{text-align: center;}
.nav-sliders{position: relative;display: inline-block;margin-bottom: 20px;}
.nav-sliders>a{font-size: 20px;display: inline-block;width:60px ;font-family: "微软雅黑";color: #999;cursor: pointer;float: left;$width}
.nav-sliders>a.active{color: #0f88eb;}
.nav-sliders>span{position: absolute;height: 2px;background:#0f88eb;display:block;left: 5px;width: 50px;bottom:-8px;}
.login-box{width: 300px;display: none;}
.wrap{border:1px solid #d5d5d5;border-radius: 5px;background: #fff;}
.wrap>div{position: relative;overflow: hidden;}
.wrap>div>input{width: 95%;border:none;padding:17px 2.5%;border-radius: 5px;}
.wrap>div>label.error{position: absolute;color: #c33;top: 0;line-height: 50px;transform: translate(25px,0);transition: all 0.5s ease-out;-webkit-transform: translate(25px,0);-moz-transform: translate(25px,0);opacity: 0;visibility:hidden;cursor: text;}
.wrap>div>label.move{transform: translate(0,0);transition: all 0.5s ease-out;-webkit-transform: translate(0,0);-moz-transform: translate(0,0);opacity: 1;visibility: visible;}
.password{border-top: solid 1px #d5d5d5 ;}
.code{right:115px ;}
.button{height: 40px;background:#0f88eb;text-align: center;line-height: 40px;border-radius: 5px;margin-top: 25px;color: #fff;font-family: "微软雅黑";cursor: pointer;}
.remember{text-align: left;margin-top: 20px;font-family: "微软雅黑";color: #666666;}
.remember>a{float:right;cursor: pointer;color: #666666;}
.other{text-align: left;margin-top: 20px;font-family: "微软雅黑";color: #666666;overflow: hidden;}
.other>span{font-size: 14px;float: left;margin-top: 2px;cursor: pointer;}
.other>div{float: left; transition: all 1s ease-in;-webkit-transition: all 0.3s ease-in;opacity: 0;transform: translateX(-20px);-webkit-transform: translateX(-18px);-moz-transform: translateX(-18px);visibility: hidden;}
.other>div>a{margin-left: 20px;color: #666666;font-size: 15px;}
.other>.hidden{ transition: all 1s ease-in;display: block;-webkit-transition: all 0.3s ease-in;opacity: 1;transform: translateX(0);-webkit-transform: translateX(0);-moz-transform: translateX(0);visibility: visible;}
.download{border:solid 1px #0f88eb;height: 40px;line-height: 40px;border-radius: 5px;color:#0f88eb ;font-family: "微软雅黑";margin-top: 50px;cursor: pointer;position: relative;}
.download>.close{display: none;}
.download .pic{display:none;position: absolute;background: #fff;bottom: 78px;width: 310px;left: -10px;z-index: 5;padding: 40px 0;border-radius: 8px;box-shadow: 0 0 8px 0 rgba(0,0,0,.15);}
.registered-box{width: 300px;}
.text{font-size: 14px;margin-top: 20px;font-family: "微软雅黑";color: #666666;}
.text>a{color: #0f88eb;}
.verification-code{position: absolute;right:22px;top: 14px;font-family: "微软雅黑";font-size: 18px;cursor: pointer;}
#register:hover{opacity: 0.7;}
#login:hover{opacity: 0.7;}
</style>
</head>
<body>
<div class="index-box">
<div class="index-header">
<h1 class="logo"></h1>
<h2 class="title">与世界分享你的知识、经验和见解</h2>
</div>
<div class="index-body">
<div class="nav-sliders">
<a class="registered active">注册</a>
<a class="login">登录</a>
<span class="on"></span>
</div>
<div class="change">
<!--注册开始-->
<div class="registered-box">
<div class="wrap">
<div class="phone">
<input type="text" name="" value="" id="name" placeholder="姓名">
<label class="error name">请输入姓名</label>
</div>
<div class="password">
<input type="tel" id="phone" value="" placeholder="手机号" max="11">
<label class="error phone restet">请输入手机号</label>
</div>
<div class="password">
<input type="password" id="passwor" name="" maxlength="6" value="" placeholder="密码(不少于6位)">
<label class="error passwor" >请输入密码</label>
</div>
<div class="password">
<input type="text" id="code" name="" maxlength="6" value="" placeholder="验证码">
<label class="error passwor code">请输入验证码</label>
<div class="verification-code" id="createCade"></div>
</div>
</div>
<div class="button" id="register">注册</div>
<div class="text">点击「注册」按钮,即代表你同意<a href="/terms" target="_blank">《知乎协议》</a></div>
<div class="download">
<span>下载知乎app</span>
<span class="close">关闭二维码</span>
<div class="pic"><img src="QQ截图20161109160031.png"></div>
</div>
</div>
<!--注册结束-->
<!--登录开始-->
<div class="login-box">
<div class="wrap">
<div class="phone">
<input type="text" name="" id="login-phone" value="" placeholder="手机号或邮箱">
<label class="error phone restet">请输入手机号</label>
</div>
<div class="password">
<input type="password" name="" id="login-password" placeholder="密码" maxlength="6">
<label class="error phone">请输入密码</label>
</div>
</div>
<div class="button" id="login">登录</div>
<div class="remember">
<label><input type="checkbox">记住我:</label>
<a>无法登陆?</a>
</div>
<div class="other">
<span>社交账号登录</span>
<div class="other-login">
<a href="#">扣扣</a>
<a href="#">微信</a>
<a href="#">微博</a>
</div>
</div>
<div class="download">
<span>下载知乎app</span>
<span class="close">关闭二维码</span>
<div class="pic"><img src="QQ截图20161109160031.png"></div>
</div>
</div>
<!--登录结束-->
</div>
</div>
</div>
<script>
var code;//定义一个全局验证码
$(function(){
jcPublic.register();
jcPublic.Tab();
jcPublic.login();
jcPublic.downLoad();
jcPublic.createCode();
jcPublic.clickCode();
$(".wrap>div>input").focus(function(){
$(this).css({"outline": "none" });
var $this = $(this);
$this.next("label").removeClass("move")//隐藏提示信息
})
$(".other>span").on("click",function(){
$(this).parent().children("div").toggleClass("hidden");
})
})
var jcPublic = {
register:function(){//注册
var currentThis = this//当前对象
$("#register").on("click",function(){
var $this = $(this);
var name = $("#name").val();//姓名
var phone = $("#phone").val();//电话
var passwor = $("#passwor").val();
var Code = $("#code").val();//验证码
var p_reg = /^0{0,1}(13[0-9]|15[0-9]|153|156|18[0-9])[0-9]{8}$/;//电话验证
if(name.length==0 && phone.length==0 && passwor.length==0){//同时为空
$this.prev(".wrap").find("label").addClass("move");
return false;
}else if(name == "" || name == "undefined" || name == "null"){
$this.prev(".wrap").find(".name").addClass("move");
return false;
}else if(phone == "" || phone == "undefined" || phone == "null"){
$this.prev(".wrap").find(".phone").addClass("move");
return false;
}else if(passwor == "" || passwor == "undefined" || passwor == null ){
$this.prev(".wrap").find(".passwor").addClass("move");
return false;
}else if(Code == "" || Code == "undefined" || Code == null ){
$this.prev(".wrap").find(".code").addClass("move");
return false;
}else if(code !== Code ){
$this.prev(".wrap").find(".code").html("验证码有误").addClass("move");
return currentThis.createCode();//验证码输入有误就刷新验证码重新输入
}else if(!p_reg.test(phone)){
$this.prev(".wrap").find(".restet").html("手机号码格式不正确").addClass("move");
return false;
}
})
},
Tab:function(){//切换注册和登录
$(".nav-sliders>a").on("click",function(){
$(this).addClass("active").siblings().removeClass("active");
var $width = $(this).width();//当前a的宽度
var $index = $(this).index();//索引
$(".on").stop(true,true).animate({"left":$width*$index+5+"px"},300);
$(this).parents(".index-body").children(".change").children().eq($index).stop(true,false).show().siblings().hide();
})
},
login:function(){
$("#login").on("click",function(){
var $this = $(this);
var phone = $("#login-phone").val();//电话
var passwor = $("#login-password").val();
var p_reg = /^0{0,1}(13[0-9]|15[0-9]|153|156|18[0-9])[0-9]{8}$/;//电话验证
if(phone.length==0 && passwor.length==0){//同时为空
$this.prev(".wrap").find("label").addClass("move");
return false;
}else if(phone == "" || phone == "undefined" || phone == "null"){
$this.prev(".wrap").find(".phone").addClass("move");
return false;
}else if(passwor == "" || passwor == "undefined" || passwor == null ){
$this.prev(".wrap").find(".passwor").addClass("move");
return false;
}else if(!p_reg.test(phone)){
$this.prev(".wrap").find(".restet").html("手机号码格式不正确").addClass("move");
return false;
}
})
},
downLoad:function(){
$(".download").on("click",function(){
$(this).children(".pic").toggle(300);
})
},
createCode:function(){//验证码
var selectChar = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9,'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');//所有候选组成验证码的字符,也可以用中文的
code="";
var codeLength=4;//验证码的长度
for(var i =0;i<codeLength;i++){
var index = Math.floor(Math.random()*selectChar.length)//随机数
code +=selectChar[index];
//$("#createCade").html(code)
}
return $("#createCade").html(code)
},
clickCode:function(){//切换验证码
var $this = this;
$("#createCade").on("click",function(){
return $this.createCode();
})
}
}
</script>
</body>
</html>
| wangyongtan/H5 | 2016/1109-知乎登录页/index.html | HTML | mit | 10,852 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./b1990c652889aea27b93c1bb3778412399d0673cda53efcd892bf98991711d89.html">Teleport</a>
<hr>
<a href="./../../about.md">About</a> (Spoilers! )
<script src="./../../assets/md5.js"></script>
<script>
window.currentLevel = 7;
</script>
<script src="./../../assets/script.js"></script>
</body>
</html> | simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/36ad9dfde804dc007212275b0d841509d8b8b89803049dbb722857e5e7eb1f96.html | HTML | mit | 550 |
<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.5.1 by Michael Rose
Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
-->
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!-- begin SEO -->
<title>IPOP</title>
<meta name="description" content="IP-Over-P2P, Open-source User-centric Software Virtual Network">
<meta name="author" content="">
<meta property="og:locale" content="en">
<meta property="og:site_name" content="IPOP">
<meta property="og:title" content="IPOP">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Person",
"name" : "IPOP",
"url" : null,
"sameAs" : null
}
</script>
<!-- end SEO -->
<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="IPOP Feed">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
</script>
<!-- For all browsers -->
<link rel="stylesheet" href="/assets/css/main.css">
<!--[if lte IE 9]>
<style>
/* old IE unsupported flexbox fixes */
.greedy-nav .site-title {
padding-right: 3em;
}
.greedy-nav button {
position: absolute;
top: 0;
right: 0;
height: 100%;
}
</style>
<![endif]-->
<meta http-equiv="cleartype" content="on">
<!-- start custom head snippets -->
<!-- insert favicons. use http://realfavicongenerator.net/ -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
<!-- end custom head snippets -->
</head>
<body class="layout--wiki">
<!--[if lt IE 9]>
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
<![endif]-->
<div class="masthead">
<div class="masthead__inner-wrap">
<div class="masthead__menu">
<nav id="site-nav" class="greedy-nav">
<a class="site-title" href="/">IPOP</a>
<ul class="visible-links">
<li class="masthead__menu-item"><a href="/about/">About</a></li>
<li class="masthead__menu-item"><a href="/wiki/Quick-Start">Quick Start</a></li>
<li class="masthead__menu-item"><a href="/download">Download</a></li>
<li class="masthead__menu-item"><a href="/learn/">Learn</a></li>
<li class="masthead__menu-item"><a href="/wiki/">Wiki</a></li>
<li class="masthead__menu-item"><a href="/whitepaper/">White Paper</a></li>
<li class="masthead__menu-item"><a href="/contribute/">Contribute</a></li>
<li class="masthead__menu-item"><a href="/contact/">Contact</a></li>
</ul>
<button><div class="navicon"></div></button>
<ul class="hidden-links hidden"></ul>
</nav>
</div>
</div>
</div>
<div id="main" role="main">
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
<div class="page__inner-wrap">
<section class="page__content" itemprop="text">
<aside class="sidebar__right">
<nav class="toc">
<header><h4 class="nav__title"><i class="fa fa-file-text"></i> On This Page</h4></header>
<ul class="section-nav">
<li class="toc-entry toc-h1"><a href="#configuration">Configuration</a>
<ul>
<li class="toc-entry toc-h2"><a href="#required-external-configuration-file-keys">Required External Configuration File Keys</a></li>
<li class="toc-entry toc-h2"><a href="#optionaldefault-keys">Optional/Default Keys</a></li>
</ul>
</li>
</ul>
</nav>
</aside>
<h1 id="configuration">Configuration</h1>
<p>An external configuration file is needed when running IPOP. A
<a href="https://github.com/ipop-project/Controllers/blob/master/controller/sample-gvpn-config.json">sample configuration file</a> is provided with the Controllers source code. Default configuration settings are provided in <a href="https://github.com/ipop-project/Controllers/blob/master/controller/framework/fxlib.py">fxlib.py</a>.</p>
<p>The external configuration file and the settings in fxlib.py are merged. If a key is provided in both files, the key in the external configuration file will take precedence.</p>
<h2 id="required-external-configuration-file-keys">Required External Configuration File Keys</h2>
<table>
<thead>
<tr>
<th>Qualified Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>XmppClient.XmppDetails[0].AddressHost</td>
<td>XMPP server domain or IP address</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].Port</td>
<td>XMPP port</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].TapName</td>
<td>Tap device name used matching one specified in TincanInterface.Vnets</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].AuthenticationMethod</td>
<td>Node authentication mode (values: “password” or “x509”)</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].Username</td>
<td>XMPP credential user ID (AuthenticationMethod=”password”)</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].Password</td>
<td>XMPP credential password (AuthenticationMethod=”password”)</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].TrustStore</td>
<td>Truststore path containing XMPP server certificate file (AuthenticationMethod=”x509”)</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].CertDirectory</td>
<td>IPOP node certificate directory (AuthenticationMethod=”x509”)</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].CertFile</td>
<td>IPOP node public key filename (AuthenticationMethod=”x509”)</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].keyfile</td>
<td>IPOP node private key filename (AuthenticationMethod=”x509”)</td>
</tr>
<tr>
<td>XmppClient.XmppDetails[0].AcceptUntrustedServer</td>
<td>Trusted XMPP server</td>
</tr>
<tr>
<td>TincanInterface.Vnets[0].Name</td>
<td>Name of Tap Device</td>
</tr>
<tr>
<td>TincanInterface.Vents[0].IP4</td>
<td>Virtual ipv4 address given to the node</td>
</tr>
<tr>
<td>TincanInterface.Vnets[0].IP4PrefixLen</td>
<td>Virtual ipv4 address prefix</td>
</tr>
<tr>
<td>TincanInteface.Vnets[0].MTU4</td>
<td>Maximum Transmission Unit for Virtual net</td>
</tr>
<tr>
<td>TincanInteface.Vnets[0].XMPPModuleName</td>
<td>Name of XMPP Module to use</td>
</tr>
<tr>
<td>TincanInteface.Vnets[0].TapName</td>
<td>Name of Tap Device</td>
</tr>
<tr>
<td>TincanInteface.Vnets[0].Description</td>
<td> </td>
</tr>
<tr>
<td>TincanInteface.Vnets[0].IgnoredNetworkInterfaces</td>
<td> </td>
</tr>
<tr>
<td>TincanInteface.Vnets[0].L2TunnellingEnabled</td>
<td> </td>
</tr>
<tr>
<td>CFx.Model</td>
<td>Type of VPN (“SocialVPN” or “GroupVPN”)</td>
</tr>
</tbody>
</table>
<h2 id="optionaldefault-keys">Optional/Default Keys</h2>
<table>
<thead>
<tr>
<th>Qualified Name</th>
<th>Default Value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>XmppClient.Enabled</td>
<td>true</td>
<td>Enable XmppClient module(Required by current codebase)</td>
</tr>
<tr>
<td>XmppClient.TimerInterval</td>
<td>10</td>
<td>Timer thread interval in seconds</td>
</tr>
<tr>
<td>XmppClient.MessagePerIntervalDelay</td>
<td>10</td>
<td>No. of XMPP messages after which the delay has to be increased</td>
</tr>
<tr>
<td>XmppClient.InitialAdvertismentDelay</td>
<td>5</td>
<td>Intitial delay for Peer XMPP messages</td>
</tr>
<tr>
<td>XmppClient.XmppAdvrtDelay</td>
<td>5</td>
<td>Incremental delay for XMPP messages</td>
</tr>
<tr>
<td>XmppClient.MaxAdvertismentDelay</td>
<td>30</td>
<td>Max XMPP Message delay</td>
</tr>
<tr>
<td>XmppClient.dependencies</td>
<td><code class="highlighter-rouge">["Logger", "TincanInterface", "XmppClient"]</code></td>
<td>XMPP module dependencies</td>
</tr>
<tr>
<td>TincanInterface.buf_size</td>
<td>65507</td>
<td>Max buffer size for Tincan Messages</td>
</tr>
<tr>
<td>TincanInterface.SocketReadWaitTime</td>
<td>15</td>
<td>Socket read wait time for Tincan Messages</td>
</tr>
<tr>
<td>TincanInterface.ctr_recv_port</td>
<td>5801</td>
<td>Controller UDP Listening Port</td>
</tr>
<tr>
<td>TincanInterface.ip6_prefix</td>
<td>“fd50:0dbc:41f2:4a3c”</td>
<td> </td>
</tr>
<tr>
<td>TincanInterface.ctrl_send_port</td>
<td>5800</td>
<td>Tincan UDP Listening Port</td>
</tr>
<tr>
<td>TincanInterface.localhost</td>
<td>“127.0.0.1”</td>
<td> </td>
</tr>
<tr>
<td>TincanInterface.localhost6</td>
<td>”::1”</td>
<td> </td>
</tr>
<tr>
<td>TincanInterface.dependencies</td>
<td><code class="highlighter-rouge">["Logger"]</code></td>
<td>dependencies of TincanInterface module</td>
</tr>
<tr>
<td>TincanInterface.Stun</td>
<td>None</td>
<td>List of usable STUN servers e.g.: <code class="highlighter-rouge">["stun.l.google.com:19302"]</code></td>
</tr>
<tr>
<td>TincanInterface.Turn</td>
<td>None</td>
<td>List of usable TURN servers with transport address, username, and password in format <code class="highlighter-rouge">[{ "Address": "***:19302", "User": "***", "Password": "***"}]</code></td>
</tr>
<tr>
<td>Logger.LogLevel</td>
<td>“WARNING”</td>
<td>Level of logging verbosity (values: “ERROR”, “INFO”, “DEBUG”, “WARNING”)</td>
</tr>
<tr>
<td>Logger.LogOption</td>
<td>“FILE”</td>
<td>Method of Logging output (values: “FILE”, “CONSOLE”)</td>
</tr>
<tr>
<td>Logger.LogFilePath</td>
<td>”./logs/”</td>
<td>If LogOption=”FILE”, specify path log files will output</td>
</tr>
<tr>
<td>Logger.CtrlLogFileName</td>
<td>“ctrl.log”</td>
<td>If LogOption=”FILE”, specify file name of Controller log</td>
</tr>
<tr>
<td>Logger.TincanLogFileName</td>
<td>“tincan.log”</td>
<td>If LogOption=”FILE”, specify file name of Tincan log</td>
</tr>
<tr>
<td>Logger.LogFileSize</td>
<td>1000000</td>
<td>Log file size specified in bytes</td>
</tr>
<tr>
<td>Logger.ConsoleLevel</td>
<td>None</td>
<td> </td>
</tr>
<tr>
<td>Logger.BackupFileCount</td>
<td>5</td>
<td># of files to hold logging history</td>
</tr>
<tr>
<td>CFx.local_uid</td>
<td>””</td>
<td>Attribute to store node UID needed by Statereport and SVPN</td>
</tr>
<tr>
<td>CFx.uid_size</td>
<td>40</td>
<td># of bytes for node UID</td>
</tr>
<tr>
<td>CFx.ipopVerRel</td>
<td>ipopVerRel (Variable in fxlib.py)</td>
<td>Release Version String</td>
</tr>
<tr>
<td>LinkManager.Enabled</td>
<td>true</td>
<td>Enables LinkManager module (Required by current codebase)</td>
</tr>
<tr>
<td>LinkManager.TimerInterval</td>
<td>10</td>
<td>Timer thread interval in seconds</td>
</tr>
<tr>
<td>LinkManager.InitialLinkTTL</td>
<td>120</td>
<td>Intial Time to Live for a p2p link in seconds</td>
</tr>
<tr>
<td>LinkManager.LinkPulse</td>
<td>180</td>
<td>Time to Live for an online p2p link in seconds</td>
</tr>
<tr>
<td>LinkManager.MaxConnRetry</td>
<td>5</td>
<td>Max connection retry attempts for each p2p link</td>
</tr>
<tr>
<td>LinkManager.dependencies</td>
<td><code class="highlighter-rouge">["Logger", "TincanInterface"]</code></td>
<td>LinkManager module dependencies</td>
</tr>
<tr>
<td>BroadcastForwarder.Enabled</td>
<td>true</td>
<td>Enables BroadcastForwarder module</td>
</tr>
<tr>
<td>BroadcastForwarder.TimerInterval</td>
<td>10</td>
<td>Timer thread interval in seconds</td>
</tr>
<tr>
<td>BroadcastForwarder.dependencies</td>
<td><code class="highlighter-rouge">["Logger", "TincanInterface", "LinkManager"]</code></td>
<td>BroadcastForwarder module dependencies</td>
</tr>
<tr>
<td>ArpCache.Enabled</td>
<td>true</td>
<td>Enables ArpCache module</td>
</tr>
<tr>
<td>ArpCache.dependencies</td>
<td><code class="highlighter-rouge">["Logger", "TincanInterface", "LinkManager"]</code></td>
<td>ArpCache module dependencies</td>
</tr>
<tr>
<td>IPMulticast.Enabled</td>
<td>false</td>
<td>Enables IPMulticast module</td>
</tr>
<tr>
<td>IPMulticast.dependencies</td>
<td><code class="highlighter-rouge">["Logger", "TincanInterface", "LinkManager"]</code></td>
<td>IPMulticast module dependencies</td>
</tr>
<tr>
<td>BaseTopologyManager.Enabled</td>
<td>true</td>
<td>Enables BaseTopologyManager module</td>
</tr>
<tr>
<td>BaseTopologyManager.TimerInterval</td>
<td>10</td>
<td>Timer thread interval in seconds</td>
</tr>
<tr>
<td>BaseTopologyManager.dependencies</td>
<td><code class="highlighter-rouge">["Logger", "TincanInterface", "XmppClient"]</code></td>
<td>BaseTopologyManager module dependencies</td>
</tr>
<tr>
<td>OverlayVisualizer.Enabled</td>
<td>false</td>
<td>Enables OverlayVisualizer module</td>
</tr>
<tr>
<td>OverlayVisualizer.TimerInterval</td>
<td>5</td>
<td>Timer thread interval in seconds</td>
</tr>
<tr>
<td>OverlayVisualizer.WebServiceAddress</td>
<td>“:8080/insertdata”</td>
<td>Visualizer webservice URL</td>
</tr>
<tr>
<td>OverlayVisualizer.NodeName</td>
<td>””</td>
<td>Interval to send data to the visualizer</td>
</tr>
<tr>
<td>OverlayVisualizer.dependencies</td>
<td><code class="highlighter-rouge">["Logger", "BaseTopologyManager"]</code></td>
<td>OverlayVisualizer module dependencies</td>
</tr>
<tr>
<td>StatReport.Enabled</td>
<td>false</td>
<td>Enables StatReport module</td>
</tr>
<tr>
<td>StatReport.TimerInterval</td>
<td>200</td>
<td>Timer thread interval in seconds</td>
</tr>
<tr>
<td>StatReport.StatServerAddress</td>
<td>“metrics.ipop-project.org”</td>
<td>Webservice to send stats</td>
</tr>
<tr>
<td>StatReport.StatServerPort</td>
<td>8080</td>
<td>Port of StatReport webservice</td>
</tr>
<tr>
<td>StatReport.dependencies</td>
<td><code class="highlighter-rouge">["Logger"]</code></td>
<td>StatReport module dependencies</td>
</tr>
</tbody>
</table>
</section>
</div>
</article>
<div class="sidebar">
<nav class="nav__list">
<div class="wiki-top-links">
<a href="../wiki" class="display-unset">Wiki Home</a> / <a href="../wikipages" class="display-unset">Wiki Pages</a>
</div>
<ul>
<li><strong>Deploying IPOP-VPN</strong>
<ul>
<li><a href="Quick-Start">Quick Start</a></li>
<li><a href="Use-IPOP,-Intro">Installation</a></li>
<li>
<table>
<tbody>
<tr>
<td>[[Configuration</td>
<td>Understanding the IPOP Configuration]]</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
<li><strong>Development Guide</strong>
<ul>
<li><a href="Development-Workflow">Development Workflow</a></li>
<li><a href="Coding-Guidelines">Coding Guidelines</a></li>
<li><a href="Build-IPOP,-Intro">Building the Code</a></li>
<li><a href="IPOP-Scale-test-Walkthrough">Testing Your Build</a></li>
<li><a href="Controller-Framework">Controller Framework</a></li>
<li><a href="Controller-API">Controller API</a></li>
<li><a href="Build-WebRTC-Libraries,-Intro">Building WebRTC Libraries</a></li>
</ul>
</li>
<li><strong>General Documentation</strong>
<ul>
<li><a href="FAQs">FAQs</a></li>
<li><a href="Troubleshooting">Troubleshooting</a></li>
<li><a href="Planning-Your-Network">Planning Your Network</a></li>
<li><a href="Coding-Challenges">Coding Challenges</a></li>
<li><a href="Known-Issues">Known Issues</a></li>
<li><a href="Getting-Help">Getting Help</a></li>
<li><a href="How-to-Contribute">How to Contribute</a></li>
</ul>
</li>
</ul>
</section>
</div>
</article>
</div>
</nav>
</div>
</div>
<div class="page__footer">
<footer>
<!-- start custom footer snippets -->
<!-- end custom footer snippets -->
<!-- <div class="page__footer-follow">
<ul class="social-icons">
<li><strong>Follow:</strong></li>
-->
<!-- <li><a href="/feed.xml"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> Feed</a></li> -->
<!-- </ul>
</div> -->
<div class="page__footer-copyright footer-address">
<div class="float-left">
<img src="/assets/images/uf_small.png" class="padding-bottom-right" /><img src="/assets/images/nsf_small.png" class="padding-bottom-right" />
</div>
<i class="fa fa-address-card-o" aria-hidden="true"></i>
<a href="http://www.acis.ufl.edu" rel="nofollow" target="_blank">ACIS Lab</a>, P.O. Box 116200, 339 Larsen Hall, Gainesville, FL 32611-6200; 352.392.4964<br />
<a href="http://www.ece.ufl.edu/" rel="nofollow" target="_blank">Department of Electrical & Computer Engineering</a><br />
<a href="http://www.eng.ufl.edu/" rel="nofollow" target="_blank">College of Engineering</a>, <a href="http://www.ufl.edu/" rel="nofollow" target="_blank">University of Florida</a>
</div>
<div class="page__footer-copyright footer-links">
<div>
<a href="/contact">Contact</a> | <a href="/contact/#mailing-list-subscription">Mailing List</a> | <a href="https://ipopvpn.slack.com/">Slack Channel</a> | <a href="/sitemap">Sitemap</a><br />
<div>Powered by <a href="http://jekyllrb.com" rel="nofollow" target="_blank">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow" target="_blank">Minimal Mistakes</a><br />
© 2019 IPOP - <a href="http://www.acis.ufl.edu" rel="nofollow" target="_blank">ACIS Lab</a>
</div>
</div>
</div>
<div class="page__footer-copyright footer-sponsor clear-both">This material is based upon work supported in part by the National Science Foundation under Grants No. 1234983, 1339737 and 1527415.</div>
</footer>
</div>
<script src="/assets/js/main.min.js"></script>
</body>
</html>
| vahid-dan/ipop-project.github.io | _site/wiki/Configuration.html | HTML | mit | 20,183 |
<!DOCTYPE html>
<html ng-app="OgilvyOne">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Log in</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Theme style -->
<link rel="stylesheet" href="/ng-dist/dist/admin.css">
<!-- 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.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition login-page" ng-cloak>
<div ng-view></div>
<script src="/ng-dist/dist/lib.js"></script>
<script src="/ng-dist/dist/app.js"></script>
<script src="/ng-dist/dist/admin.js"></script>
</body>
</html>
| trantuanckc/ogilvyone-blog | server/views/login.html | HTML | mit | 1,001 |
<div class="form-group">
<label for="Username" class="control-label">Username</label>
<input class="form-control" #name type="text" autofocus placeholder="Username">
</div>
<div class="form-group">
<label for="Password" class="control-label">Password</label>
<input class="form-control" #pwd type="password" placeholder="Password">
</div>
<div class="form-group">
<label for="SecretKey" class="control-label">Secret Key</label>
<p>
Secret key (supplied by admin) has to be provided in order to register.
</p>
<input class="form-control" #key type="password" placeholder="SecretKey">
</div>
<div class="form-group">
</div>
<div class="form-group">
<button type="button" (click)="register(name.value, pwd.value, key.value)" class="btn btn-success custom-btn">Register</button>
</div>
<error-notification [errorMessage]="errorMessage"></error-notification>
| antonsirocka/angular2-moviedb | src/MovieDatabase_NetCoreApp/wwwroot/app/components/register/register.component.html | HTML | mit | 922 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="It is only with the heart that one can see rightly; what is essentiall is invisiable to the eye.">
<meta name="keywords" content="">
<meta name="theme-color" content="#000000">
<title>凸集优化(1) - 鱼叔叔写字的地方 | Roth's Blog</title>
<!-- Web App Manifest -->
<link rel="manifest" href="/pwa/manifest.json">
<!-- Favicon -->
<link rel="shortcut icon" href="/img/myicon.ico">
<!-- Canonical URL -->
<link rel="canonical" href="http://localhost:4000/optimization/2016/11/07/CH2.1/">
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="/css/bootstrap.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="/css/hux-blog.min.css">
<!-- Pygments Github CSS -->
<link rel="stylesheet" href="/css/syntax.css">
<!-- search -->
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- Custom Fonts -->
<!-- <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
<!-- Hux change font-awesome CDN to qiniu -->
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [ ['$$', '$$'], ["\[", "\]"] ],
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'],
processEscapes: true
},
displayAlign: "center",
displayIndent: "2em",
TeX: {
equationNumbers: {
autoNumber: ["AMS"],
useLabelIds: true
}
},
"HTML-CSS": {
linebreaks: {
automatic: true
},
scale: 85
},
SVG: {
linebreaks: {
automatic: true
}
}
});
</script>
<!-- Hux Delete, sad but pending in China
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/
css'>
-->
<!-- 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/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- ga & ba script hoook -->
<script></script>
</head>
<!-- hack iOS CSS :active style -->
<body ontouchstart="">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div id="huxblog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/about/">It's me</a>
</li>
<li>
<a href="/Projects/">Projetcs</a>
</li>
<li>
<a href="/RMD/">Rmarkdown Posts</a>
</li>
<li>
<a href="/tags/">Tags</a>
</li>
</ul>
</div>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<script>
// Drop Bootstarp low-performance Navbar
// Use customize navbar with high-quality material design animation
// in high-perf jank-free CSS3 implementation
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $collapse = document.querySelector('.navbar-collapse');
var __HuxNav__ = {
close: function(){
$navbar.className = " ";
// wait until animation end.
setTimeout(function(){
// prevent frequently toggle
if($navbar.className.indexOf('in') < 0) {
$collapse.style.height = "0px"
}
},400)
},
open: function(){
$collapse.style.height = "auto"
$navbar.className += " in";
}
}
// Bind Event
$toggle.addEventListener('click', function(e){
if ($navbar.className.indexOf('in') > 0) {
__HuxNav__.close()
}else{
__HuxNav__.open()
}
})
/**
* Since Fastclick is used to delegate 'touchstart' globally
* to hack 300ms delay in iOS by performing a fake 'click',
* Using 'e.stopPropagation' to stop 'touchstart' event from
* $toggle/$collapse will break global delegation.
*
* Instead, we use a 'e.target' filter to prevent handler
* added to document close HuxNav.
*
* Also, we use 'click' instead of 'touchstart' as compromise
*/
document.addEventListener('click', function(e){
if(e.target == $toggle) return;
if(e.target.className == 'icon-bar') return;
__HuxNav__.close();
})
</script>
<!-- Image to hack wechat -->
<!-- <img src="/img/icon_wechat.png" width="0" height="0"> -->
<!-- <img src="/img/home-bg.jpg" width="0" height="0"> -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
<!-- Post Header -->
<style type="text/css">
header.intro-header{
position: relative;
background-image: url('/img/home-bg.jpg')
}
</style>
<header class="intro-header" >
<div class="header-mask"></div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="post-heading">
<div class="tags">
<a class="tag" href="/tags/#optimization" title="optimization">optimization</a>
</div>
<h1>凸集优化(1)</h1>
<h2 class="subheading"></h2>
<span class="meta">Posted by 鱼叔叔|Roth on November 7, 2016</span>
</div>
</div>
</div>
</div>
</header>
<!-- Post Content -->
<article>
<div class="container">
<div class="row">
<!-- Post Container -->
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
post-container">
<p>该系列posts是笔者学习Dimitri .P Bertsekas所写的 Nonlinear Programming 2ed 中文版时整理的笔记。
下面是关于第二章无约束优化内容的整理。</p>
<p>这一章打算分成二篇posts来展现,分别讨论</p>
<ul>
<li>约束优化问题的最优性条件</li>
<li>可行方向法求解凸集上的优化问题</li>
</ul>
<p>本文讨论约束优化问题的最优性条件。</p>
<ul id="markdown-toc">
<li><a href="#section" id="markdown-toc-section">约束优化问题</a> <ul>
<li><a href="#section-1" id="markdown-toc-section-1">最优解的存在性</a></li>
<li><a href="#section-2" id="markdown-toc-section-2">最优解的充要条件</a></li>
<li><a href="#section-3" id="markdown-toc-section-3">凸集上的投影</a></li>
</ul>
</li>
</ul>
<p>这一章我们考虑带约束的优化问题</p>
<script type="math/tex; mode=display">\mathop{min}_{x\in X}\qquad f(x)</script>
<p>其中</p>
<ul>
<li>X是非空凸集</li>
<li>函数 $f$ 是连续可微的</li>
</ul>
<p>另外我们称$X$为可行域,里面的点$x$为可行解。</p>
<h2 id="section">约束优化问题</h2>
<h3 id="section-1">最优解的存在性</h3>
<p>不像在无约束优化问题,在一定条件下我们可以使用Weisterass保证最优解的存在性,带约束的问题中往往不能满足这些条件。所幸的是Marguerite Frank and Philip Wolfe给出了如下定理:</p>
<p>If a quadratic function $f$ is bounded below on a nonempty polyhedron $X$, then $f$ attains its infimum on $X$. (That is, there exists a vector $x_* \in X$ such that $f(x_* )\leq f(x),\forall x\in X$.)</p>
<p>其中$f$形如</p>
<script type="math/tex; mode=display">f(x)=x^TQx+c^Tx+d</script>
<p>且只要求$Q$是对称矩阵,不需要半正定。</p>
<h3 id="section-2">最优解的充要条件</h3>
<p>【最优解的一阶必要性条件】如果 $x_* $ 是 $f$ 在 凸集$X$ 上的局部最小值点,那么$\forall x\in X$有</p>
<script type="math/tex; mode=display">\nabla f(x_* )(x-x_* )\geq 0</script>
<p>【最优解的一阶充要条件】如果 $f$ 是 凸集$X$ 上的凸函数,那么$x_* $ 是 $f$ 在 $X$ 上的全局最小值点$\Leftrightarrow$$\forall x\in X$有</p>
<script type="math/tex; mode=display">\nabla f(x_* )(x-x_* )\geq 0</script>
<p>【最优解的二阶必要性条件】如果 $x_* $ 是二阶可微连续函数 $f$ 在 凸集$X$ 上的局部最小值点,那么对一切满足$\nabla f(x_* )(x-x_* )\geq 0$的$x$,有</p>
<script type="math/tex; mode=display">(x-x_* )^T\nabla^2 f(x_* )(x-x_* )\geq 0</script>
<p>【最优解的二阶充分性条件】如果 $f$ 是 凸集$X$ 上的二阶连续可导凸函数,且存在$x_* \in X$,使得对于任意的$x\in X$,$\nabla f(x_* )(x-x_* )\geq 0$。若下面任意条件成立,则$x_* $是局部最小值点:</p>
<ul>
<li>X是一个多面体,并且对于一切满足$\nabla f(x_* )(x-x_* )\geq 0$及$x\neq x_* $的$x\in X$,成立</li>
</ul>
<script type="math/tex; mode=display">(x-x_* )^T\nabla^2 f(x_* )(x-x_* )>0</script>
<ul>
<li>存在$a>0$,使得对于任意$x\in X$,成立</li>
</ul>
<script type="math/tex; mode=display">(x-x_* )^T\nabla^2 f(x_* )(x-x_* )\geq a\vert \vert x-x_* \vert \vert ^2</script>
<p><strong>Remark</strong></p>
<ol>
<li>
<p><code class="highlighter-rouge">最优解的一阶必要性条件</code>的几何解释: 在局部最小值点$x_* $处的梯度$\nabla f(x_* )$与所有的可行变分,$x-x_* ,x\in X$,的夹角都小于等于$90^\circ$。 特别当约束集 $X$ 非凸时,最优性的必要条件不成立。
<img src="http://ogfa13jyv.bkt.clouddn.com/Snip20161109_9.png" alt="Snip20161109_9" />
<img src="http://ogfa13jyv.bkt.clouddn.com/Snip20161109_11.png" alt="Snip20161109_11" /></p>
</li>
<li>
<p><code class="highlighter-rouge">最优解的一阶充要条件</code>中,运用了平行于Chapter 1中的结论,即:令 $f:X\vert \rightarrow R$为凸集 $X$ 上的一个凸函数,则在 $X$上的 $f$最小值点也是 $X$上的全局最小值点。</p>
</li>
</ol>
<p><strong>例: 带边界约束的优化问题</strong></p>
<p>考虑带边界的优化问题</p>
<script type="math/tex; mode=display">\mathop{min}_{x\in X}\qquad f(x)</script>
<p>其中可行域$X={x\in R^n\vert a_i\leq x\leq b_i, i=1,2,..,n}$, $a_i,b_i$是给定的常数,下面分三种情况讨论:</p>
<ul>
<li>
<p>最小值点$x_* $在下边界点处取到,即${x_* }_i=a_i$</p>
<p>利用最优解的一阶必要性条件,我们可以得到</p>
<script type="math/tex; mode=display">\sum_{i=1}^n \frac{\partial f(x_* )}{\partial x_i}(x_i-{x_* }_i) \geq 0</script>
<p>固定$i$, 构造如下的$x$: $x_i=a_i+\delta_i$,其中$\delta_i>0$ ,且对一切$j\neq i,x_j={x_* }_j$。</p>
<p>则有$\frac{\partial f(x_* )}{\partial x_i}\delta_i\geq 0$,进而推出</p>
<script type="math/tex; mode=display">\frac{\partial f(x_* )}{\partial x_i}\geq 0</script>
</li>
<li>
<p>最小值点$x_* $在上边界点处取到,即${x_* }_i=b_i$</p>
<p>与上例类似,只需取$x_i=b_j-\delta_j$,其中$\delta_i>0$, 易得</p>
<script type="math/tex; mode=display">\frac{\partial f(x_* )}{\partial x_i}\leq 0</script>
</li>
<li>
<p>最小值点$x_* $在内部取到,即$a_i <{x_* }_i <b_i$</p>
<p>固定$i$, 构造如下的$x$:</p>
<script type="math/tex; mode=display">x_i={x_* }_i+\delta_i</script>
<p>其中$\delta_i>0$且保证$x_i ={x_* }_i+\delta_i<b_i$.同时对一切$j\neq i$</p>
<script type="math/tex; mode=display">x_j={x_* }_j</script>
<p>则有$\frac{\partial f(x_* )}{\partial x_i }\geq 0$; 如果构造$x$为</p>
<script type="math/tex; mode=display">x_i={x_*}_i -\delta_i</script>
<p>其中$\delta_i>0$且保证$x_i ={x_* }_i -\delta_i > a_i$, 且对一切$ j\neq i, x_j ={x*}_j $。则有</p>
<script type="math/tex; mode=display">\frac{\partial f(x_* )}{\partial x_i }\leq 0</script>
<p>综上可得</p>
<script type="math/tex; mode=display">\frac{\partial f(x_* )}{\partial x_i}=0</script>
</li>
</ul>
<h3 id="section-3">凸集上的投影</h3>
<p>现在考虑一个有很强直观几何意义的优化问题</p>
<script type="math/tex; mode=display">\mathop{min}_{x\in X}\qquad \vert \vert z-x\vert \vert ^2</script>
<p>其中 $z\in R^n$。从几何上理解这个问题就是,在$R^n$的子集$X$中找到一个点$x_* \in X$,使得$x_* $与$z$在欧式距离意义下最近,我们称这个优化问题为投影问题</p>
<p>为了解决这个,优化问题,我们引入下面这个定理</p>
<p>【投影定理】设$X$是$R^n$的非空闭凸子集:</p>
<ul>
<li>【存在性命题】对每一$z\in R^n$,存在唯一的$x_* \in X$,使得对一切$x\in X,\vert \vert z-x\vert \vert $达到最小。我们称$x_* $为$z$在$X$上的投影,用$[z]^+$表示。</li>
<li>【判定条件】给定$z\in R^n$,一个向量$x_* $等于$[z]^+$当且仅当对一切$x\in X$</li>
</ul>
<script type="math/tex">(z-x_* )(x-x_* )\leq 0</script>
<ul>
<li>当$X$是一个子空间时,一个向量$x_* $等于$[z]^+$当且仅当$z-x_* $正交于$X$,即对一切$x\in X$</li>
</ul>
<script type="math/tex; mode=display">x^T(z-x_* )=0</script>
<p><strong>Remark</strong></p>
<ol>
<li>
<p><code class="highlighter-rouge">判定条件</code>的几何解释</p>
<p><img src="http://ogfa13jyv.bkt.clouddn.com/Snip20161110_4.png" alt="Snip20161110_4" /></p>
</li>
<li>
<p>子空间情形的几何解释</p>
<p><img src="http://ogfa13jyv.bkt.clouddn.com/projection.png" alt="projection" /></p>
</li>
</ol>
<p><strong>例子:等式约束的二次问题</strong></p>
<p><img src="http://ogfa13jyv.bkt.clouddn.com/Snip20161110_6.png" alt="Snip20161110_6" /></p>
<hr style="visibility: hidden;">
<ul class="pager">
<li class="previous">
<a href="/optimization/2016/11/02/CH1.5/" data-toggle="tooltip" data-placement="top" title="无约束优化(5)">
Previous<br>
<span>无约束优化(5)</span>
</a>
</li>
<li class="next">
<a href="/optimization/2016/11/14/CH2.2/" data-toggle="tooltip" data-placement="top" title="凸集优化(2)">
Next<br>
<span>凸集优化(2)</span>
</a>
</li>
</ul>
<!-- 多说评论框 start -->
<div class="comment">
<div class="ds-thread"
data-thread-key="/optimization/2016/11/07/CH2.1"
data-title="凸集优化(1)"
data-url="http://localhost:4000/optimization/2016/11/07/CH2.1/" >
</div>
</div>
<!-- 多说评论框 end -->
</div>
<!-- Side Catalog Container -->
<!-- Sidebar Container -->
<div class="
col-lg-8 col-lg-offset-2
col-md-10 col-md-offset-1
sidebar-container">
<!-- Featured Tags -->
<section>
<hr class="hidden-sm hidden-xs">
<h5><a href="/tags/">FEATURED TAGS</a></h5>
<div class="tags">
<a href="/tags/#optimization" title="optimization" rel="12">
optimization
</a>
</div>
</section>
<!-- Friends Blog -->
</div>
</div>
</div>
</article>
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
// dynamic User by Hux
var _user = 'rothdyt';
// duoshuo comment query.
var duoshuoQuery = {short_name: _user };
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!-- 多说公共JS代码 end -->
<!-- async load function -->
<script>
function async(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<!-- anchor-js, Doc:http://bryanbraun.github.io/anchorjs/ -->
<script>
async("//cdnjs.cloudflare.com/ajax/libs/anchor-js/1.1.1/anchor.min.js",function(){
anchors.options = {
visible: 'always',
placement: 'right',
icon: '#'
};
anchors.add().remove('.intro-header h1').remove('.subheading').remove('.sidebar-container h5');
})
</script>
<style>
/* place left on bigger screen */
@media all and (min-width: 800px) {
.anchorjs-link{
position: absolute;
left: -0.75em;
font-size: 1.1em;
margin-top : -0.1em;
}
}
</style>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<!-- add Weibo, Zhihu by Hux, add target = "_blank" to <a> by Hux -->
<li>
<a target="_blank" href="https://github.com/Rothdyt">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-muted">
Copyright © 2016
<br>
Theme by <a href="http://huangxuan.me">Hux</a> |
<iframe
style="margin-left: 2px; margin-bottom:-5px;"
frameborder="0" scrolling="0" width="91px" height="20px"
src="https://ghbtns.com/github-btn.html?user=huxpro&repo=huxpro.github.io&type=star&count=true" >
</iframe>
</p>
</div>
</div>
</div>
<div class="cb-search-tool" style="position: fixed; top: 0px ; bottom: 0px; left: 0px; right: 0px;
opacity: 0.95; background-color: #111111; z-index: 9999; display: none;">
<input type="text" class="form-control cb-search-content" id="cb-search-content" style="position: fixed; top: 60px" placeholder="Tittle Date Tags" >
<div style="position: fixed; top: 16px; right: 16px;">
<img src="/search/img/cb-close.png" id="cb-close-btn"/>
</div>
</div>
<div style="position: fixed; right: 16px; bottom: 20px;">
<img src="/search/img/cb-search.png" id="cb-search-btn" title="双击ctrl试一下"/>
</div>
<link rel="stylesheet" href="/search/css/cb-search.css">
<!-- jQuery -->
<script src="//cdn.bootcss.com/jquery/2.2.2/jquery.min.js"></script>
<script src="/search/js/bootstrap3-typeahead.min.js"></script>
<script src="/search/js/cb-search.js"></script>
</footer>
<!-- Bootstrap Core JavaScript -->
<script src="/js/bootstrap.min.js "></script>
<!-- Bootstrap Core JavaScript -->
<script src="//cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="/js/hux-blog.min.js "></script>
<!-- Service Worker -->
<script type="text/javascript">
if(navigator.serviceWorker){
// For security reasons, a service worker can only control the pages that are in the same directory level or below it. That's why we put sw.js at ROOT level.
navigator.serviceWorker
.register('/sw.js')
.then((registration) => {console.log('Service Worker Registered. ', registration)})
.catch((error) => {console.log('ServiceWorker registration failed: ', error)})
}
</script>
<!-- async load function -->
<script>
function async(u, c) {
var d = document, t = 'script',
o = d.createElement(t),
s = d.getElementsByTagName(t)[0];
o.src = u;
if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); }
s.parentNode.insertBefore(o, s);
}
</script>
<!--
Because of the native support for backtick-style fenced code blocks
right within the Markdown is landed in Github Pages,
From V1.6, There is no need for Highlight.js,
so Huxblog drops it officially.
- https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0
- https://help.github.com/articles/creating-and-highlighting-code-blocks/
- https://github.com/jneen/rouge/wiki/list-of-supported-languages-and-lexers
-->
<!--
<script>
async("http://cdn.bootcss.com/highlight.js/8.6/highlight.min.js", function(){
hljs.initHighlightingOnLoad();
})
</script>
<link href="http://cdn.bootcss.com/highlight.js/8.6/styles/github.min.css" rel="stylesheet">
-->
<!-- jquery.tagcloud.js -->
<script>
// only load tagcloud.js in tag.html
if($('#tag_cloud').length !== 0){
async('/js/jquery.tagcloud.js',function(){
$.fn.tagcloud.defaults = {
//size: {start: 1, end: 1, unit: 'em'},
color: {start: '#bbbbee', end: '#0085a1'},
};
$('#tag_cloud a').tagcloud();
})
}
</script>
<!--fastClick.js -->
<script>
async("//cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js", function(){
var $nav = document.querySelector("nav");
if($nav) FastClick.attach($nav);
})
</script>
<!-- Google Analytics -->
<!-- Baidu Tongji -->
<!-- Side Catalog -->
<!-- Image to hack wechat -->
<img src="/img/icon_wechat.png" width="0" height="0" />
<!-- Migrate from head to bottom, no longer block render and still work -->
</body>
</html>
| Rothdyt/rothdyt.github.com | _site/optimization/2016/11/07/CH2.1/index.html | HTML | mit | 25,275 |
<extend name="template/base_index" />
<block name="area_header">
<link rel="stylesheet" href="__CSS__/shangjia.css">
</block>
<block name="area_body">
<include file='Widget/sjtop' />
<div class="seller_main clearfix" controller="seller/common">
<div class="seller_content_wrap">
<div class="seller_content" style="padding-top: 10px;">
<div class="content">
<h1> 账户安全 </h1>
<div>
<table class="renzheng-table">
<colgroup>
<col width="100px">
<col width="620px">
<col width="120px">
</colgroup>
<tbody>
<tr>
<td>
<div style="width: 520px; padding: 50px;">
<if condition="$entity['email'] eq ''">
<i class="am-icon-envelope-o" font-size: 60px;width: 80px; margin-left: 15px;></i>
<span class="text-warning">你尚未绑定邮箱</span>
<else/>
<i class="am-icon-envelope-o" style="color: deeppink; font-size: 60px;width: 80px; margin-left: 15px;"></i>
<span class="text-success">你已绑定邮箱[ {$entity['email']}]</span>
</if>
</div>
</td>
<td>
<div class="am-modal am-modal-no-btn" tabindex="-1" id="doc-modal-1" >
<div class="am-modal-dialog">
<div class="am-modal-hd">邮箱验证
<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>×</a>
</div>
<form action="{:U('Home/Usersj/email')}" method="post">
<div class="am-modal-bd">
<input type="hidden" name="id" value="{$entity['id']}" />
<input type="text" name="email" value="{$entity['email']}">
<input style="font-family: '微软雅黑'; font-size: 13px; border-radius:5px ; margin-top: -8px;" class="am-btn-danger am-btn-xs" type="submit" value="确认" />
</div>
</form>
</div>
</div>
<div class="am-modal am-modal-no-btn" tabindex="-1" id="doc-modal-2" >
<div class="am-modal-dialog">
<div class="am-modal-hd">手机更换
<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>×</a>
</div>
<form action="{:U('Home/Usersj/phone')}" method="post">
<div class="am-modal-bd">
<input type="hidden" name="id" value="{$entity['id']}" />
<input type="text" class="email" name="phone" value="{$entity['mobile']}">
<input style="font-family: '微软雅黑'; font-size: 13px; border-radius:5px ; margin-top: -8px;" class="am-btn-danger am-btn-xs" type="submit" value="确认" />
</div>
</form>
</div>
</div>
<button class="am-btn am-btn-primary am-btn-xs" style="font-family: '微软雅黑'; font-size: 13px; width: 60px; height: 30px;line-height: 10px; padding: 10px; border-radius:5px ;" data-am-modal="{target: '#doc-modal-1', closeViaDimmer: 0, width: 400, height: 225}">修改</button>
</tr>
</tbody>
</table>
<table class="renzheng-table">
<colgroup>
<col width="100px">
<col width="620px">
<col width="120px">
</colgroup>
<tbody>
<tr>
<td>
<div style="width: 520px; padding: 50px;">
<if condition="$entity['mobile'] eq ''">
<i class="am-icon-mobile" style="font-size: 60px;width: 80px; margin-left: 15px;"></i>
<span class="text-warning">你尚未绑定手机</span>
<else/>
<i class="am-icon-mobile" style="color: deeppink; font-size: 60px; width: 80px; margin-left: 15px;"></i>
<span class="text-success">你已绑定手机[ {$entity['mobile']}]</span>
</if>
</div>
</td>
<td>
<button class="am-btn am-btn-primary am-btn-xs" style="font-family: '微软雅黑'; font-size: 13px; width: 60px; height: 30px;line-height: 10px; padding: 10px; border-radius:5px ;" data-am-modal="{target: '#doc-modal-2', closeViaDimmer: 0, width: 400, height: 225}">更换</button>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<include file='Widget/sjleft' />
</div>
</block>
<block name="area_footer">
</block> | h136799711/201506bbjie | Application/Home/View/default/Usersj/sj_zhaq.html | HTML | mit | 4,402 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.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">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<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="../../..">Unstable</a></li>
<li><a href=".">8.4pl4 / contrib:railroad-crossing 8.4.dev</a></li>
<li class="active"><a href="">2014-12-05 05:10:05</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="../../../../../about.html">About</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href=".">« Up</a>
<h1>
contrib:railroad-crossing
<small>
8.4.dev
<span class="label label-success">5 s</span>
</small>
</h1>
<p><em><script>document.write(moment("2014-12-05 05:10:05 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2014-12-05 05:10:05 UTC)</em><p>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>ruby lint.rb unstable ../unstable/packages/coq:contrib:railroad-crossing/coq:contrib:railroad-crossing.8.4.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
<dt>Output</dt>
<dd><pre>The package is valid.
</pre></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 --dry-run coq:contrib:railroad-crossing.8.4.dev coq.8.4pl4</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 s</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.4pl4).
The following actions will be performed:
- install coq:contrib:railroad-crossing.8.4.dev
=== 1 to install ===
=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building coq:contrib:railroad-crossing.8.4.dev:
coq_makefile -f Make -o Makefile
make -j4
make install
Installing coq:contrib:railroad-crossing.8.4.dev.
</pre></dd>
</dl>
<p>Dry install without Coq, to test if the problem was incompatibility with the current Coq version:</p>
<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 dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --deps-only coq:contrib:railroad-crossing.8.4.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 s</dd>
</dl>
<h2>Install</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --verbose coq:contrib:railroad-crossing.8.4.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>5 s</dd>
<dt>Output</dt>
<dd><pre>The following actions will be performed:
- install coq:contrib:railroad-crossing.8.4.dev
=== 1 to install ===
=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[coq:contrib:railroad-crossing] Fetching https://gforge.inria.fr/git/coq-contribs/railroad-crossing.git#v8.4
Initialized empty Git repository in /home/bench/.opam/packages.dev/coq:contrib:railroad-crossing.8.4.dev/.git/
[master (root-commit) 315f366] opam-git-init
From https://gforge.inria.fr/git/coq-contribs/railroad-crossing
* [new branch] v8.4 -> opam-ref
* [new branch] v8.4 -> origin/v8.4
LICENSE
Make
Makefile
TemporalOperators.v
bench.log
description
railroad_crossing.v
time_clocks.v
HEAD is now at 201c2b0 Sauvegarde des bench.log
=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building coq:contrib:railroad-crossing.8.4.dev:
coq_makefile -f Make -o Makefile
make -j4
make install
coqdep -c -slash -R . RailroadCrossing "railroad_crossing.v" > "railroad_crossing.v.d" || ( RV=$?; rm -f "railroad_crossing.v.d"; exit ${RV} )
coqdep -c -slash -R . RailroadCrossing "time_clocks.v" > "time_clocks.v.d" || ( RV=$?; rm -f "time_clocks.v.d"; exit ${RV} )
coqc -q -R . RailroadCrossing time_clocks
coqc -q -R . RailroadCrossing railroad_crossing
for i in time_clocks.vo railroad_crossing.vo; do \
install -d `dirname /home/bench/.opam/system/lib/coq/user-contrib/RailroadCrossing/$i`; \
install -m 0644 $i /home/bench/.opam/system/lib/coq/user-contrib/RailroadCrossing/$i; \
done
Installing coq:contrib:railroad-crossing.8.4.dev.
</pre></dd>
</dl>
<h2>Installation size</h2>
<p>Total: 508 K</p>
<ul>
<li>494 K <code>/home/bench/.opam/system/lib/coq/user-contrib/RailroadCrossing/railroad_crossing.vo</code></li>
<li>14 K <code>/home/bench/.opam/system/lib/coq/user-contrib/RailroadCrossing/time_clocks.vo</code></li>
<li>1 K <code>/home/bench/.opam/system/lib/coq:contrib:railroad-crossing/opam.config</code></li>
<li>1 K <code>/home/bench/.opam/system/install/coq:contrib:railroad-crossing.install</code></li>
</ul>
<h2>Uninstall</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq:contrib:railroad-crossing.8.4.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 s</dd>
<dt>Output</dt>
<dd><pre>The following actions will be performed:
- remove coq:contrib:railroad-crossing.8.4.dev
=== 1 to remove ===
=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[coq:contrib:railroad-crossing] Fetching https://gforge.inria.fr/git/coq-contribs/railroad-crossing.git#v8.4
=-=- Removing Packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Removing coq:contrib:railroad-crossing.8.4.dev.
rm -R /home/bench/.opam/system/lib/coq/user-contrib/RailroadCrossing
</pre></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-old | clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4pl4/contrib:railroad-crossing/8.4.dev/2014-12-05_05-10-05.html | HTML | mit | 8,884 |
<!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:07 MSK 2009 -->
<TITLE>
Uses of Class org.apache.poi.hssf.usermodel.HSSFFontFormatting (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.hssf.usermodel.HSSFFontFormatting (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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/apache/poi/hssf/usermodel/HSSFFontFormatting.html" title="class in org.apache.poi.hssf.usermodel"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/apache/poi/hssf/usermodel/\class-useHSSFFontFormatting.html" target="_top"><B>FRAMES</B></A>
<A HREF="HSSFFontFormatting.html" target="_top"><B>NO FRAMES</B></A>
<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.hssf.usermodel.HSSFFontFormatting</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/hssf/usermodel/HSSFFontFormatting.html" title="class in org.apache.poi.hssf.usermodel">HSSFFontFormatting</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.apache.poi.hssf.usermodel"><B>org.apache.poi.hssf.usermodel</B></A></TD>
<TD>usermodel package maps HSSF low level strutures to familiar workbook/sheet model </TD>
</TR>
</TABLE>
<P>
<A NAME="org.apache.poi.hssf.usermodel"><!-- --></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/hssf/usermodel/HSSFFontFormatting.html" title="class in org.apache.poi.hssf.usermodel">HSSFFontFormatting</A> in <A HREF="../../../../../../org/apache/poi/hssf/usermodel/package-summary.html">org.apache.poi.hssf.usermodel</A></FONT></TH>
</TR>
</TABLE>
<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/hssf/usermodel/package-summary.html">org.apache.poi.hssf.usermodel</A> that return <A HREF="../../../../../../org/apache/poi/hssf/usermodel/HSSFFontFormatting.html" title="class in org.apache.poi.hssf.usermodel">HSSFFontFormatting</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../../org/apache/poi/hssf/usermodel/HSSFFontFormatting.html" title="class in org.apache.poi.hssf.usermodel">HSSFFontFormatting</A></CODE></FONT></TD>
<TD><CODE><B>HSSFConditionalFormattingRule.</B><B><A HREF="../../../../../../org/apache/poi/hssf/usermodel/HSSFConditionalFormattingRule.html#createFontFormatting()">createFontFormatting</A></B>()</CODE>
<BR>
create a new font formatting structure if it does not exist,
otherwise just return existing object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../../org/apache/poi/hssf/usermodel/HSSFFontFormatting.html" title="class in org.apache.poi.hssf.usermodel">HSSFFontFormatting</A></CODE></FONT></TD>
<TD><CODE><B>HSSFConditionalFormattingRule.</B><B><A HREF="../../../../../../org/apache/poi/hssf/usermodel/HSSFConditionalFormattingRule.html#getFontFormatting()">getFontFormatting</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/apache/poi/hssf/usermodel/HSSFFontFormatting.html" title="class in org.apache.poi.hssf.usermodel"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/apache/poi/hssf/usermodel/\class-useHSSFFontFormatting.html" target="_top"><B>FRAMES</B></A>
<A HREF="HSSFFontFormatting.html" target="_top"><B>NO FRAMES</B></A>
<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/hssf/usermodel/class-use/HSSFFontFormatting.html | HTML | mit | 9,218 |
<h1>{.title} {{edit}}</h1>
{.text}
| ramainen/doit-cms | app/mod_pages/_show.html | HTML | mit | 37 |
<form name="reviewForm" class="form-horizontal" ng-submit="reviewFormCtrl.addReview(reviewForm, reviewFormCtrl.book)">
<section class="row well live-preview" ng-show="reviewFormCtrl.book.isbn">
<aside class="col-sm-3">
<!-- no, no! <book-cover></book-cover> -->
<a href="http://www.amazon.com/gp/product/{{reviewFormCtrl.book.isbn}}">
<img ng-src="http://images.amazon.com/images/P/{{reviewFormCtrl.book.isbn}}.01.ZTZZZZZZ.jpg" alt="Cover of {{reviewFormCtrl.book.title}}" class="full">
</a>
<p>{{reviewFormCtrl.book.rating}}/5</p>
</aside>
<div class="col-sm-9">
<h3>
<a href="http://www.amazon.com/gp/product/{{reviewFormCtrl.book.isbn}}">
{{reviewFormCtrl.book.title}}
</a>
</h3>
<cite class="text-muted">Written by {{reviewFormCtrl.book.author}}</cite>
<p>{{reviewFormCtrl.book.review}}</p>
<ul class="list-unstyled">
<li ng-repeat="(genre, state) in reviewFormCtrl.book.genres">
<span class="label label-primary" ng-show="state">{{genre}}</span>
</li>
</ul>
</div>
</section>
<div class="input-container">
<fieldset class="form-group">
<label for="title" class="col-sm-2 control-label">Title:</label>
<span class="col-sm-9">
<input type="text" class="form-control" id="title" placeholder="Book Title" ng-model="reviewFormCtrl.book.title">
</span>
</fieldset>
<fieldset class="form-group">
<label for="isbn" class="control-label col-sm-2">ISBN:</label>
<span class="col-sm-9">
<input type="text" id="isbn" class="form-control"
maxLength="10" placeholder="ISBN-10" ng-model="reviewFormCtrl.book.isbn">
</span>
</fieldset>
<fieldset class="form-group">
<label class="control-label col-sm-2" for="author">Author</label>
<span class="col-sm-9">
<input type="text" id="author" class="form-control"
placeholder="Name of the Author" ng-model="reviewFormCtrl.book.author"></span>
</fieldset>
<fieldset class="form-group">
<label class="control-label col-sm-2" for="review">Review</label>
<span class="col-sm-9">
<textarea id="review" class="form-control" cols="30" rows="3"
placeholder="Book Review" ng-model="reviewFormCtrl.book.review"></textarea>
</span>
</fieldset>
<fieldset class="form-group">
<label for="rating" class="control-label col-sm-2">Rating:</label>
<span class="col-sm-9">
<select class="form-control" id="rating" value="5" ng-model="reviewFormCtrl.book.rating">
<option>5</option>
<option>4</option>
<option>3</option>
<option>2</option>
<option>1</option>
</select>
</span>
</fieldset>
<fieldset class="form-group">
<label class="control-label col-sm-2" >Genre:</label>
<div class="genre">
<label for="{{genre}}" class="genre-label form-control" ng-repeat="genre in genres">
<input type="checkbox" name="genre" id="{{genre}}" ng-model="reviewFormCtrl.book.genres[genre]"/>
{{genre}}
</label>
</div>
</fieldset>
<fieldset class="form-group">
<span class="col-sm-9 col-sm-offset-2 button-from-hell">
<button class="btn btn-primary">Save Review</button>
</span>
</fieldset>
</div>
</form> | tgrud/stb_suwa | app/partials/review-form.html | HTML | mit | 3,373 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./a4b6b685941f3271cfbc32c80586ac1143811d797b6345e9623db4cf2dadf676.html">Teleport</a>
<hr>
<a href="./../../about.md">About</a> (Spoilers! )
<script src="./../../assets/md5.js"></script>
<script>
window.currentLevel = 7;
</script>
<script src="./../../assets/script.js"></script>
</body>
</html> | simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/ee973c9984ea417cd31ac27f49065918de4bd82acc2bf17bb5353a48435e4427.html | HTML | mit | 550 |
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="no-js ie6"><![endif]-->
<!--[if IE 7 ]><html class="no-js ie7"><![endif]-->
<!--[if IE 8 ]><html class="no-js ie8"><![endif]-->
<!--[if IE 9 ]><html class="no-js ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1">
<title>StringReplace - Expreduce</title>
<meta property="og:url" content="None">
<meta property="og:title" content="Expreduce">
<meta property="og:image" content="None/../../../assets/images/logo.png">
<meta name="apple-mobile-web-app-title" content="Expreduce">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="apple-touch-icon" href="../../../assets/images/logo.png">
<link rel="shortcut icon" type="image/x-icon" href="../../../assets/images/favicon-e565ddfa3b.ico">
<link rel="icon" type="image/x-icon" href="../../../assets/images/favicon-e565ddfa3b.ico">
<style>
@font-face {
font-family: 'Icon';
src: url('../../../assets/fonts/icon.eot?52m981');
src: url('../../../assets/fonts/icon.eot?#iefix52m981')
format('embedded-opentype'),
url('../../../assets/fonts/icon.woff?52m981')
format('woff'),
url('../../../assets/fonts/icon.ttf?52m981')
format('truetype'),
url('../../../assets/fonts/icon.svg?52m981#icon')
format('svg');
font-weight: normal;
font-style: normal;
}
</style>
<link rel="stylesheet" href="../../../assets/stylesheets/application-a422ff04cc.css">
<link rel="stylesheet" href="../../../assets/stylesheets/mma.css">
<link rel="stylesheet" href="../../../assets/stylesheets/palettes-05ab2406df.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,700|Roboto+Mono">
<style>
body, input {
font-family: 'Roboto', Helvetica, Arial, sans-serif;
}
pre, code {
font-family: 'Roboto Mono', 'Courier New', 'Courier', monospace;
}
</style>
<script src="../../../assets/javascripts/modernizr-4ab42b99fd.js"></script>
</head>
<body class="palette-primary-red palette-accent-light-blue">
<div class="backdrop">
<div class="backdrop-paper"></div>
</div>
<input class="toggle" type="checkbox" id="toggle-drawer">
<input class="toggle" type="checkbox" id="toggle-search">
<label class="toggle-button overlay" for="toggle-drawer"></label>
<header class="header">
<nav aria-label="Header">
<div class="bar default">
<div class="button button-menu" role="button" aria-label="Menu">
<label class="toggle-button icon icon-menu" for="toggle-drawer">
<span></span>
</label>
</div>
<div class="stretch">
<div class="title">
<span class="path">
Language reference <i class="icon icon-link"></i>
</span>
StringReplace
</div>
</div>
<div class="button button-search" role="button" aria-label="Search">
<label class="toggle-button icon icon-search" title="Search" for="toggle-search"></label>
</div>
</div>
<div class="bar search">
<div class="button button-close" role="button" aria-label="Close">
<label class="toggle-button icon icon-back" for="toggle-search"></label>
</div>
<div class="stretch">
<div class="field">
<input class="query" type="text" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck>
</div>
</div>
<div class="button button-reset" role="button" aria-label="Search">
<button class="toggle-button icon icon-close" id="reset-search"></button>
</div>
</div>
</nav>
</header>
<main class="main">
<div class="drawer">
<nav aria-label="Navigation">
<a href="https://github.com/corywalker/expreduce" class="project">
<div class="banner">
<div class="logo">
<img src="../../../assets/images/logo.png">
</div>
<div class="name">
<strong>
Expreduce
<span class="version">
</span>
</strong>
<br>
corywalker/expreduce
</div>
</div>
</a>
<div class="scrollable">
<div class="wrapper">
<ul class="repo">
<li class="repo-download">
<a href="https://github.com/corywalker/expreduce/archive/master.zip" target="_blank" title="Download" data-action="download">
<i class="icon icon-download"></i> Download
</a>
</li>
<li class="repo-stars">
<a href="https://github.com/corywalker/expreduce/stargazers" target="_blank" title="Stargazers" data-action="star">
<i class="icon icon-star"></i> Stars
<span class="count">–</span>
</a>
</li>
</ul>
<hr>
<div class="toc">
<ul>
<li>
<a class="" title="Home" href="../../..">
Home
</a>
</li>
<li>
<span class="section">Language reference</span>
<ul>
<li>
<a class="" title="combinatorics" href="../../combinatorics/">
combinatorics
</a>
</li>
<li>
<a class="" title="calculus" href="../../calculus/">
calculus
</a>
</li>
<li>
<a class="" title="comparison" href="../../comparison/">
comparison
</a>
</li>
<li>
<a class="" title="atoms" href="../../atoms/">
atoms
</a>
</li>
<li>
<a class="" title="functional" href="../../functional/">
functional
</a>
</li>
<li>
<a class="" title="expression" href="../../expression/">
expression
</a>
</li>
<li>
<a class="" title="equationdata" href="../../equationdata/">
equationdata
</a>
</li>
<li>
<a class="" title="solve" href="../../solve/">
solve
</a>
</li>
<li>
<a class="" title="flowcontrol" href="../../flowcontrol/">
flowcontrol
</a>
</li>
<li>
<a class="" title="list" href="../../list/">
list
</a>
</li>
<li>
<a class="" title="matrix" href="../../matrix/">
matrix
</a>
</li>
<li>
<a class="" title="arithmetic" href="../../arithmetic/">
arithmetic
</a>
</li>
<li>
<a class="" title="specialsyms" href="../../specialsyms/">
specialsyms
</a>
</li>
<li>
<a class="" title="power" href="../../power/">
power
</a>
</li>
<li>
<a class="" title="random" href="../../random/">
random
</a>
</li>
<li>
<a class="" title="replacement" href="../../replacement/">
replacement
</a>
</li>
<li>
<a class="" title="sort" href="../../sort/">
sort
</a>
</li>
<li>
<a class="" title="system" href="../../system/">
system
</a>
</li>
<li>
<a class="" title="trig" href="../../trig/">
trig
</a>
</li>
<li>
<a class="" title="plot" href="../../plot/">
plot
</a>
</li>
<li>
<a class="" title="string" href="../">
string
</a>
</li>
<li>
<a class="" title="time" href="../../time/">
time
</a>
</li>
<li>
<a class="" title="pattern" href="../../pattern/">
pattern
</a>
</li>
<li>
<a class="" title="boolean" href="../../boolean/">
boolean
</a>
</li>
<li>
<a class="" title="simplify" href="../../simplify/">
simplify
</a>
</li>
<li>
<a class="" title="numbertheory" href="../../numbertheory/">
numbertheory
</a>
</li>
<li>
<a class="" title="stats" href="../../stats/">
stats
</a>
</li>
<li>
<a class="" title="manip" href="../../manip/">
manip
</a>
</li>
<li>
<a class="" title="rubi" href="../../rubi/">
rubi
</a>
</li>
<li>
<a class="" title="tests" href="../../tests/">
tests
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</nav>
</div>
<article class="article">
<div class="wrapper">
<h1 id="stringreplace">StringReplace</h1>
<p><code>StringReplace[str, before->after]</code> replaces any occurrence of <code>before</code> with <code>after</code> in <code>str</code>.</p>
<p><code>Attributes[StringReplace] := {Protected}</code></p>
<h2 id="simple-examples">Simple examples</h2>
<div class="language-wl"><pre><span></span><span class="nb">In</span><span class="p">[</span><span class="m">1</span><span class="p">]</span><span class="o">:=</span><span class="w"> </span><span class="nb">StringReplace</span><span class="p">[</span><span class="s">"hello world"</span><span class="p">,</span><span class="w"> </span><span class="s">"world"</span><span class="w"> </span><span class="o">-></span><span class="w"> </span><span class="s">"foo"</span><span class="p">]</span><span class="w"></span>
<span class="nb">Out</span><span class="p">[</span><span class="m">1</span><span class="p">]</span><span class="o">=</span><span class="w"> </span><span class="s">"hello foo"</span><span class="w"></span>
</pre></div>
<aside class="copyright" role="note">
Documentation built with
<a href="http://www.mkdocs.org" target="_blank">MkDocs</a>
using the
<a href="http://squidfunk.github.io/mkdocs-material/" target="_blank">
Material
</a>
theme.
</aside>
<footer class="footer">
<nav class="pagination" aria-label="Footer">
<div class="previous">
<a href="../stringtake/" title="StringTake ">
<span class="direction">
Previous
</span>
<div class="page">
<div class="button button-previous" role="button" aria-label="Previous">
<i class="icon icon-back"></i>
</div>
<div class="stretch">
<div class="title">
StringTake
</div>
</div>
</div>
</a>
</div>
<div class="next">
<a href="../exportstring/" title="ExportString ">
<span class="direction">
Next
</span>
<div class="page">
<div class="stretch">
<div class="title">
ExportString
</div>
</div>
<div class="button button-next" role="button" aria-label="Next">
<i class="icon icon-forward"></i>
</div>
</div>
</a>
</div>
</nav>
</footer>
</div>
</article>
<div class="results" role="status" aria-live="polite">
<div class="scrollable">
<div class="wrapper">
<div class="meta"></div>
<div class="list"></div>
</div>
</div>
</div>
</main>
<script>
var base_url = '../../..';
var repo_id = 'corywalker/expreduce';
</script>
<script src="../../../assets/javascripts/application-997097ee0c.js"></script>
</body>
</html> | corywalker/expreduce-docs | docs/builtin/string/stringreplace/index.html | HTML | mit | 18,433 |
<!doctype html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<title>pythongis.vector.data API documentation</title>
<meta name="description" content="Module containing the data structures and interfaces for operating with vector datasets." />
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300' rel='stylesheet' type='text/css'>
<style type="text/css">
* {
box-sizing: border-box;
}
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
* Known issue: no IE 6 support.
*/
[hidden] {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Prevent system color scheme's background color being used in Firefox, IE,
* and Opera.
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
* Opera.
* 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units.
* 4. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
background: #fff; /* 1 */
color: #000; /* 2 */
font-size: 100%; /* 3 */
-webkit-text-size-adjust: 100%; /* 4 */
-ms-text-size-adjust: 100%; /* 4 */
}
/**
* Address `font-family` inconsistency between `textarea` and other form
* elements.
*/
html,
button,
input,
select,
textarea {
font-family: sans-serif;
}
/**
* Address margins handled incorrectly in IE 6/7.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address font sizes and margins set differently in IE 6/7.
* Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
* and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
h2 {
font-size: 1.5em;
margin: 0.83em 0;
}
h3 {
font-size: 1.17em;
margin: 1em 0;
}
h4 {
font-size: 1em;
margin: 1.33em 0;
}
h5 {
font-size: 0.83em;
margin: 1.67em 0;
}
h6 {
font-size: 0.67em;
margin: 2.33em 0;
}
/**
* Address styling not present in IE 7/8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
blockquote {
margin: 1em 40px;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
* Known issue: no IE 6/7 normalization.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 6/7/8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address margins set differently in IE 6/7.
*/
p,
pre {
margin: 1em 0;
}
/**
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
/**
* Address CSS quotes not supported in IE 6/7.
*/
q {
quotes: none;
}
/**
* Address `quotes` property not supported in Safari 4.
*/
q:before,
q:after {
content: '';
content: none;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Lists
========================================================================== */
/**
* Address margins set differently in IE 6/7.
*/
dl,
menu,
ol,
ul {
margin: 1em 0;
}
dd {
margin: 0 0 0 40px;
}
/**
* Address paddings set differently in IE 6/7.
*/
menu,
ol,
ul {
padding: 0 0 0 40px;
}
/**
* Correct list images handled incorrectly in IE 7.
*/
nav ul,
nav ol {
list-style: none;
list-style-image: none;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improve image quality when scaled in IE 7.
*/
img {
border: 0; /* 1 */
-ms-interpolation-mode: bicubic; /* 2 */
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Correct margin displayed oddly in IE 6/7.
*/
form {
margin: 0;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct color not being inherited in IE 6/7/8/9.
* 2. Correct text not wrapping in Firefox 3.
* 3. Correct alignment displayed oddly in IE 6/7.
*/
legend {
border: 0; /* 1 */
padding: 0;
white-space: normal; /* 2 */
*margin-left: -7px; /* 3 */
}
/**
* 1. Correct font size not being inherited in all browsers.
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
* and Chrome.
* 3. Improve appearance and consistency in all browsers.
*/
button,
input,
select,
textarea {
font-size: 100%; /* 1 */
margin: 0; /* 2 */
vertical-align: baseline; /* 3 */
*vertical-align: middle; /* 3 */
}
/**
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
*overflow: visible; /* 4 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to content-box in IE 8/9.
* 2. Remove excess padding in IE 8/9.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
*height: 13px; /* 3 */
*width: 13px; /* 3 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 3+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
</style>
<style type="text/css">
html, body {
margin: 0;
padding: 0;
min-height: 100%;
}
body {
background: #fff;
font-family: "Source Sans Pro", "Helvetica Neueue", Helvetica, sans;
font-weight: 300;
font-size: 16px;
line-height: 1.6em;
}
#content {
width: 70%;
max-width: 850px;
float: left;
padding: 30px 60px;
border-left: 1px solid #ddd;
}
#sidebar {
width: 25%;
float: left;
padding: 30px;
overflow: hidden;
}
#nav {
font-size: 130%;
margin: 0 0 15px 0;
}
#top {
display: block;
position: fixed;
bottom: 5px;
left: 5px;
font-size: .85em;
text-transform: uppercase;
}
#footer {
font-size: .75em;
padding: 5px 30px;
border-top: 1px solid #ddd;
text-align: right;
}
#footer p {
margin: 0 0 0 30px;
display: inline-block;
}
h1, h2, h3, h4, h5 {
font-weight: 300;
}
h1 {
font-size: 2.5em;
line-height: 1.1em;
margin: 0 0 .50em 0;
}
h2 {
font-size: 1.75em;
margin: 1em 0 .50em 0;
}
h3 {
margin: 25px 0 10px 0;
}
h4 {
margin: 0;
font-size: 105%;
}
a {
color: #058;
text-decoration: none;
transition: color .3s ease-in-out;
}
a:hover {
color: #e08524;
transition: color .3s ease-in-out;
}
pre, code, .mono, .name {
font-family: "Ubuntu Mono", "Cousine", "DejaVu Sans Mono", monospace;
}
.title .name {
font-weight: bold;
}
.section-title {
margin-top: 2em;
}
.ident {
color: #900;
}
code {
background: #f9f9f9;
}
pre {
background: #fefefe;
border: 1px solid #ddd;
box-shadow: 2px 2px 0 #f3f3f3;
margin: 0 30px;
padding: 15px 30px;
}
.codehilite {
margin: 0 30px 10px 30px;
}
.codehilite pre {
margin: 0;
}
.codehilite .err { background: #ff3300; color: #fff !important; }
table#module-list {
font-size: 110%;
}
table#module-list tr td:first-child {
padding-right: 10px;
white-space: nowrap;
}
table#module-list td {
vertical-align: top;
padding-bottom: 8px;
}
table#module-list td p {
margin: 0 0 7px 0;
}
.def {
display: table;
}
.def p {
display: table-cell;
vertical-align: top;
text-align: left;
}
.def p:first-child {
white-space: nowrap;
}
.def p:last-child {
width: 100%;
}
#index {
list-style-type: none;
margin: 0;
padding: 0;
}
ul#index .class_name {
/* font-size: 110%; */
font-weight: bold;
}
#index ul {
margin: 0;
}
.item {
margin: 0 0 15px 0;
}
.item .class {
margin: 0 0 25px 30px;
}
.item .class ul.class_list {
margin: 0 0 20px 0;
}
.item .name {
background: #fafafa;
margin: 0;
font-weight: bold;
padding: 5px 10px;
border-radius: 3px;
display: inline-block;
min-width: 40%;
}
.item .name:hover {
background: #f6f6f6;
}
.item .empty_desc {
margin: 0 0 5px 0;
padding: 0;
}
.item .inheritance {
margin: 3px 0 0 30px;
}
.item .inherited {
color: #666;
}
.item .desc {
padding: 0 8px;
margin: 0;
}
.item .desc p {
margin: 0 0 10px 0;
}
.source_cont {
margin: 0;
padding: 0;
}
.source_link a {
background: #ffc300;
font-weight: 400;
font-size: .75em;
text-transform: uppercase;
color: #fff;
text-shadow: 1px 1px 0 #f4b700;
padding: 3px 8px;
border-radius: 2px;
transition: background .3s ease-in-out;
}
.source_link a:hover {
background: #FF7200;
text-shadow: none;
transition: background .3s ease-in-out;
}
.source {
display: none;
max-height: 600px;
overflow-y: scroll;
margin-bottom: 15px;
}
.source .codehilite {
margin: 0;
}
.desc h1, .desc h2, .desc h3 {
font-size: 100% !important;
}
.clear {
clear: both;
}
@media all and (max-width: 950px) {
#sidebar {
width: 35%;
}
#content {
width: 65%;
}
}
@media all and (max-width: 650px) {
#top {
display: none;
}
#sidebar {
float: none;
width: auto;
}
#content {
float: none;
width: auto;
padding: 30px;
}
#index ul {
padding: 0;
margin-bottom: 15px;
}
#index ul li {
display: inline-block;
margin-right: 30px;
}
#footer {
text-align: left;
}
#footer p {
display: block;
margin: inherit;
}
}
/*****************************/
</style>
<style type="text/css">
/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */
@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}
/* ==========================================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== */
@media print {
* {
background: transparent !important;
color: #000 !important; /* Black prints faster: h5bp.com/s */
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
/*
* Don't show links for images, or javascript/internal links
*/
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group; /* h5bp.com/t */
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: 0.5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
</style>
<script type="text/javascript">
function toggle(id, $link) {
$node = document.getElementById(id);
if (!$node)
return;
if (!$node.style.display || $node.style.display == 'none') {
$node.style.display = 'block';
$link.innerHTML = 'Hide source ≢';
} else {
$node.style.display = 'none';
$link.innerHTML = 'Show source ≡';
}
}
</script>
</head>
<body>
<a href="#" id="top">Top</a>
<div id="container">
<div id="sidebar">
<h1>Index</h1>
<ul id="index">
<li class="set"><h3><a href="#header-functions">Functions</a></h3>
<ul>
<li class="mono"><a href="#pythongis.vector.data.ID_generator">ID_generator</a></li>
<li class="mono"><a href="#pythongis.vector.data.Name_generator">Name_generator</a></li>
<li class="mono"><a href="#pythongis.vector.data.is_missing">is_missing</a></li>
</ul>
</li>
<li class="set"><h3><a href="#header-classes">Classes</a></h3>
<ul>
<li class="mono">
<span class="class_name"><a href="#pythongis.vector.data.Feature">Feature</a></span>
<ul>
<li class="mono"><a href="#pythongis.vector.data.Feature.__init__">__init__</a></li>
<li class="mono"><a href="#pythongis.vector.data.Feature.copy">copy</a></li>
<li class="mono"><a href="#pythongis.vector.data.Feature.dataset">dataset</a></li>
<li class="mono"><a href="#pythongis.vector.data.Feature.get_shapely">get_shapely</a></li>
<li class="mono"><a href="#pythongis.vector.data.Feature.iter_points">iter_points</a></li>
<li class="mono"><a href="#pythongis.vector.data.Feature.map">map</a></li>
<li class="mono"><a href="#pythongis.vector.data.Feature.transform">transform</a></li>
<li class="mono"><a href="#pythongis.vector.data.Feature.view">view</a></li>
</ul>
</li>
<li class="mono">
<span class="class_name"><a href="#pythongis.vector.data.VectorData">VectorData</a></span>
<ul>
<li class="mono"><a href="#pythongis.vector.data.VectorData.__init__">__init__</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.add_feature">add_feature</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.add_field">add_field</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.aggregate">aggregate</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.browse">browse</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.compute">compute</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.convert_field">convert_field</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.copy">copy</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.create_spatial_index">create_spatial_index</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.describe">describe</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.drop_field">drop_field</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.drop_fields">drop_fields</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.duplicates">duplicates</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.field_type">field_type</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.field_values">field_values</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.get">get</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.group">group</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.has_geometry">has_geometry</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.histogram">histogram</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.interpolate">interpolate</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.join">join</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.keep_fields">keep_fields</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.map">map</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.moving_window">moving_window</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.quick_disjoint">quick_disjoint</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.quick_nearest">quick_nearest</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.quick_overlap">quick_overlap</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.rename_field">rename_field</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.save">save</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.select">select</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.sort">sort</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.summarystats">summarystats</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.tab">tab</a></li>
<li class="mono"><a href="#pythongis.vector.data.VectorData.view">view</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<article id="content">
<header id="section-intro">
<h1 class="title"><span class="name">pythongis.vector.data</span> module</h1>
<p>Module containing the data structures and interfaces for operating with vector datasets.</p>
</header>
<section id="section-items">
<h2 class="section-title" id="header-functions">Functions</h2>
<div class="item">
<div class="name def" id="pythongis.vector.data.ID_generator">
<p>def <span class="ident">ID_generator</span>(</p><p>)</p>
</div>
<div class="desc"><p>Used internally for ensuring default feature IDs are unique for each VectorData instance.
TODO: Maybe make private.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Name_generator">
<p>def <span class="ident">Name_generator</span>(</p><p>)</p>
</div>
<div class="desc"><p>Used internally for ensuring default data names are unique for each Python session.
TODO: Maybe make private.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.is_missing">
<p>def <span class="ident">is_missing</span>(</p><p>val)</p>
</div>
<div class="source_cont">
</div>
</div>
<h2 class="section-title" id="header-classes">Classes</h2>
<div class="item">
<p id="pythongis.vector.data.Feature" class="name">class <span class="ident">Feature</span></p>
<div class="desc"><p>Class representing a vector data feature.
A feature object contains attributes/properties describing the feature,
equivalent to a row in a table, and a geometry describing its spatial representation. </p>
<p>Supports getting and setting feature properties/attributes via indexing, e.g. feat["name"]
gets or sets the feature's value for the name field. Raises an error if no such field name exists. </p>
<p>Supports the <strong>geo_interface</strong> protocol, returning a GeoJSON feature object dictionary. </p>
<p>TODO:
- Change the geometry property, represented as a Geometry class instead of a pure GeoJSON dictinoary.
- Move all geometry calculations such as length, area, etc., to the geometry class. </p>
<p>Attributes:
row: A list of values describing the feature properties as listed in the parent dataset's fields.
geometry: A GeoJSON dictionary describing the feature geometry, or None for features without geometry.
bbox: The bounding box of the feature, as a list of [xmin,ymin,xmax,ymax].
_cached_bbox: A cached version of the feature's bounding box, to avoid having to repeat the calculation each time.
All methods that change the feature's geometry should reset this cache to None in order to recalculate the bbox.
In case of errors, the user may reset this themselves by setting it to None. </p>
<pre><code> TODO:
- Make sure all methods that alter the geometry indeed does reset the cache.
length: Returns the cartesian length of the feature geometry, expressed in units of the coordinate system.
See Shapely docs for more.
geodetic_length: Returns the geodetic length of the feature geometry, expressed as km distance as calculated by the
vincenty algorithm.
area: Returns the cartesian area of the feature geometry, expressed in units of the coordinate system.
See Shapely docs for more.
id: The feature's ID in the parent vector dataset.
_data: The parent vector dataset to which the feature belongs.
</code></pre></div>
<div class="source_cont">
</div>
<div class="class">
<h3>Ancestors (in MRO)</h3>
<ul class="class_list">
<li><a href="#pythongis.vector.data.Feature">Feature</a></li>
</ul>
<h3>Methods</h3>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.__init__">
<p>def <span class="ident">__init__</span>(</p><p>self, data, row=None, geometry=None, id=None)</p>
</div>
<div class="desc"><p>Creates new feature class.
Mostly used internally by the VectorData class.
The user should instead use the VectorData's add_feature() method. </p>
<p>Args:
data: The parent vector dataset to which the feature belongs. Necessary in order to access the feature row's field names.
row (optional): A list or dictionary of values describing the feature properties as listed in the parent dataset's fields.
Lists must be of the same sequence and length as the dataset fields.
Dictionaries sets only the specified fields, the rest defaulting to None.
geometry (optional): A GeoJSON dictionary describing the feature geometry, or None.
id (optional): If given, manually sets the feature's ID in the parent vector dataset. Otherwise, automatically assigned.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.copy">
<p>def <span class="ident">copy</span>(</p><p>self)</p>
</div>
<div class="desc"><p>Copies the feature and returns a new instance.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.dataset">
<p>def <span class="ident">dataset</span>(</p><p>self)</p>
</div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.get_shapely">
<p>def <span class="ident">get_shapely</span>(</p><p>self)</p>
</div>
<div class="desc"><p>Creates and returns the shapely object of the feature geometry. </p>
<p>NOTE:
- Repeated calling of this method can cause considerable overhead.
- Will be depreceated once all geometry operations are outsourced to a Geometry class.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.iter_points">
<p>def <span class="ident">iter_points</span>(</p><p>self)</p>
</div>
<div class="desc"><p>Yields every point in the geometry as a flat generator,
useful for quick inspecting of dimensions so don't have to
worry about nested coordinates and geometry types. For polygons
this includes the coordinates of both exterior and holes.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.map">
<p>def <span class="ident">map</span>(</p><p>self, width=None, height=None, bbox=None, title='', background=None, **styleoptions)</p>
</div>
<div class="desc"><p>Shortcut for easily creating a Map instance containing this feature as a layer.</p>
<p>Args:
width/height (optional): Desired width/height of the map. This can be changed again later.
bbox (optional): If given, only renders the given bbox, specified as (xmin,ymin,xmax,ymax).
title (optional): Title to be shown on the map.
background (optional): Background color of the map.
**styleoptions (optional): How to style the feature geometry, as documented in "renderer.VectorLayer".</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.transform">
<p>def <span class="ident">transform</span>(</p><p>self, func)</p>
</div>
<div class="desc"><p>Transforms the feature geometry in place.
Func is a function that takes a flat list of coordinates, does something, and returns them.
For points, the function is applied to a list containing a single coordinate, separately for each multipart.
For linestrings, the function is applied to each multipart.
For polygons, the function is applied to the exterior, and to each hole if any.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.Feature.view">
<p>def <span class="ident">view</span>(</p><p>self, bbox=None, title='', background=None, **styleoptions)</p>
</div>
<div class="desc"><p>Opens a Tkinter window for viewing and interacting with the feature on a map.</p>
<p>Args are same as for "map()".</p></div>
<div class="source_cont">
</div>
</div>
</div>
</div>
<div class="item">
<p id="pythongis.vector.data.VectorData" class="name">class <span class="ident">VectorData</span></p>
<div class="desc"><p>Class representing a vector dataset. </p>
<p>Calling len() returns the number of features in the dataset, and iterating over the dataset
loops through the dataset features one by one. </p>
<p>Supports getting and setting feature instances via indexing, e.g. feat[13] gets or sets the feature
located at the given index position. </p>
<p>Supports the <strong>geo_interface</strong> protocol, returning a GeoJSON feature collection object dictionary. </p>
<p>TODO:
- Currently, loads all features into memory. Maybe outsource to format-specific classes that iterate over each feature
without loading into memory (or allow via streaming option or a separate Streaming class). </p>
<p>Attributes:
filepath:
name:
type:
fields:
features:
crs:
bbox: </p>
<pre><code>manage: Access all methods from the manager module, passing self as first arg.
analyze: Access all methods from the analyzer module, passing self as first arg.
convert: Access all methods from the converter module, passing self as first arg.
</code></pre></div>
<div class="source_cont">
</div>
<div class="class">
<h3>Ancestors (in MRO)</h3>
<ul class="class_list">
<li><a href="#pythongis.vector.data.VectorData">VectorData</a></li>
</ul>
<h3>Methods</h3>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.__init__">
<p>def <span class="ident">__init__</span>(</p><p>self, filepath=None, type=None, name=None, fields=None, rows=None, geometries=None, features=None, crs=None, **kwargs)</p>
</div>
<div class="desc"><p>A vector dataset can be created in several ways. </p>
<p>To create an empty dataset, simply initiate the class with no args. A list of field names can be set with the fields arg,
or set after creation. </p>
<p>To load from a file, specify the filepath argument. The "select" option can be used to only populate the data with a subsample of
features instead of the entire dataset. When loading non-spatial file formats, the "x/yfield" and "geokey" args can be set to calculate
the geometry based on the attributes of each row. Optional **kwargs can be used to pass on format-specific loading options.
Supported reading fileformats include:
- fdsfds...</p>
<p>TODO:
- Ensure that select applies to all file formats, not just the non-spatial ones. </p>
<p>To initiate from a list of existing Feature instances, pass in to the features arg.
Alternatively, to load a dataset from separate lists of row values and geometry GeoJSON dictionaries, pass in the rows and geometries args
as lists of equal length. </p>
<p>Optional metadata can also be specified with args such as name, type, and crs. </p>
<p>Args:
fields: List of field names. </p>
<pre><code>rows: List of row lists to load from, of equal length and sequence as geometries.
geometries: List of GeoJSON dictionaries to load from, of equal length and sequence as rows.
features: List of Feature instances to load from.
filepath: Filepath of the dataset to load.
name (optional): Gives the dataset a name, which is used mostly for esthetic reasons and identification in visual lists.
TODO: Make this more meaningful, so that various functions can make use of the names to reference specific datasets.
type (optional): Geometry type of the dataset. If set, will make the features ensure that all geometries are of the
specified type. Otherwise, type enforcement will be based on first geometry found.
crs (optional): The coordinate system specified as a Proj4 string, defaults to unprojected WGS84.
TODO: Currently holds no meaning, makes no difference for any methods or functions. Maybe add on-the-fly reprojection?
select (optional): Function that takes a fieldname-value dictionary mapping and returns True for features that should be loaded.
x/yfield (optional): Specifies the field name containing the x/y coordinates of each feature, used for creating the feature
geometries of non-spatial fileformat point data.
geokey (optional): Function for creating more advanced types of geometries of non-spatial fileformats. The function takes
a fieldname-value dictionary mapping and returns a GeoJSON dictionary, or None for null-geometries.
**kwargs: File-format specific loading options. See `vector.loader` for details.
</code></pre></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.add_feature">
<p>def <span class="ident">add_feature</span>(</p><p>self, row=None, geometry=None)</p>
</div>
<div class="desc"><p>Adds and returns a new feature, given a row list or dict, and a geometry GeoJSON dictionary.
If neither are set, populates row with None values, and empty geometry.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.add_field">
<p>def <span class="ident">add_field</span>(</p><p>self, field, index=None)</p>
</div>
<div class="desc"><p>Adds a new field by the name of 'field', optionally at the specified index position.
All existing feature rows are updated accordingly.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.aggregate">
<p>def <span class="ident">aggregate</span>(</p><p>self, key, geomfunc=None, fieldmapping=[])</p>
</div>
<div class="desc"><p>Aggregate values and geometries within key groupings.</p>
<p>Arguments:
key: List of field names or a function to group by.
geomfunc (optional): Specifies how to aggregate geometries, either intersection, union, difference,
or a function that takes all geometries to aggregate. If not set (default), does not aggregate geometries,
returning a non-spatial table with only null-geometries.
fieldmapping: Specifies a set of aggregation rules used to calculate the new value for each group.
Specified as a list of (outfield,valuefield,stat) tuples, where outfield is the field name
of a new or existing field to write, valuefield is the field name or function that retrieves the value
to calculate statistics on, and stat is the name of the statistic to calculate or a function that takes
the list of values from the group as defined by valuefield.
Valid stat values include:
- fdsf...</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.browse">
<p>def <span class="ident">browse</span>(</p><p>self, limit=None)</p>
</div>
<div class="desc"><p>Opens a Tkinter window for viewing and interacting with the rows contained in this dataset.</p>
<p>Args:
limit (optional): Limits the number of rows to be displayed, in case of very large datasets.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.compute">
<p>def <span class="ident">compute</span>(</p><p>self, field, value, by=None, stat=None)</p>
</div>
<div class="desc"><p>Loops through all features and sets the row field to the given value.
If the value is a function, it will take each Feature object as input and uses it to calculate and return a new value.
If the field name does not already exist, one will be created.
If by and stat is given, 'by' will be used to group features, and for each group, 'stat' will be used to calculate a
statistic and write the results to the members of the group. </p>
<p>Arguments:
field: Name of the field to compute. Existing name will overwrite all values, new name will create new field.
value: Any value or object to be written to the field, or a callable that expects a Feature as its input and outputs
the value to write.
by: A field name by which to group, or a callable that expects a Feature as its input and outputs the group-by value.
stat: The name of a summary statistic to calculate and write for each by-group, or a callable that expects a list of
Feature instances as input and returns the aggregated value to write.
Valid stat values include:
- fdsf...</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.convert_field">
<p>def <span class="ident">convert_field</span>(</p><p>self, field, valfunc)</p>
</div>
<div class="desc"><p>Applies the given valfunc function to force convert all values in a field.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.copy">
<p>def <span class="ident">copy</span>(</p><p>self)</p>
</div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.create_spatial_index">
<p>def <span class="ident">create_spatial_index</span>(</p><p>self, type=None, backend=None, **kwargs)</p>
</div>
<div class="desc"><p>Creates spatial index to allow quick overlap search methods.
If features are changed, added, or dropped, the index must be created again.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.describe">
<p>def <span class="ident">describe</span>(</p><p>self)</p>
</div>
<div class="desc"><p>Prints a description of the dataset, such as geometry type, length, bbox, and lists each
field along with their name, type, valid, and missing.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.drop_field">
<p>def <span class="ident">drop_field</span>(</p><p>self, field)</p>
</div>
<div class="desc"><p>Drops the specified field, changing the dataset in-place.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.drop_fields">
<p>def <span class="ident">drop_fields</span>(</p><p>self, fields)</p>
</div>
<div class="desc"><p>Drops all of the specified fields, changing the dataset in-place.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.duplicates">
<p>def <span class="ident">duplicates</span>(</p><p>self, subkey=None, fieldmapping=[])</p>
</div>
<div class="desc"><p>Removes duplicate geometries by grouping and aggregating their values.</p>
<p>Arguments:
subkey (optional): If specified, for each set of duplicate geometries will perform separate aggregations
for each subgroup defined by subkey. Geometry duplicates will continue to exist if they have more than
one subkey grouping.
fieldmapping: Defines the value aggregations. See aggregate().</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.field_type">
<p>def <span class="ident">field_type</span>(</p><p>self, field)</p>
</div>
<div class="desc"><p>Determines and returns field type of field based on its values (ignoring missing values).
For now, only detects int, float, and text.</p>
<p>TODO: also detect other types eg datetime, etc.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.field_values">
<p>def <span class="ident">field_values</span>(</p><p>self, field)</p>
</div>
<div class="desc"><p>Returns sorted list of all the unique values in this field.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.get">
<p>def <span class="ident">get</span>(</p><p>self, func)</p>
</div>
<div class="desc"><p>Iterates over features that meet filter conditions.
Func takes a Feature instance as input and yield only those where it returns True.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.group">
<p>def <span class="ident">group</span>(</p><p>self, key)</p>
</div>
<div class="desc"><p>Iterates over keyvalue-group pairs based on key</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.has_geometry">
<p>def <span class="ident">has_geometry</span>(</p><p>self)</p>
</div>
<div class="desc"><p>Returns True if at least one feature has non-null geometry.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.histogram">
<p>def <span class="ident">histogram</span>(</p><p>self, field, width=None, height=None, bins=10)</p>
</div>
<div class="desc"><p>Renders the value distribution of a given field in a histogram plot,
returned as a PyAgg Canvas of size width/height. This canvas can be used
to call "save()" or "view()". Default histogram bins is 10.</p>
<p>TODO:
- Should it return Canvas, or just straight view() it?</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.interpolate">
<p>def <span class="ident">interpolate</span>(</p><p>self, step)</p>
</div>
<div class="desc"><p>Interpolates missing values between known values.</p>
<p>NOT YET IMPLEMENTED.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.join">
<p>def <span class="ident">join</span>(</p><p>self, other, key, fieldmapping=[], collapse=False, keepall=True)</p>
</div>
<div class="desc"><p>Matches and joins the features in this dataset with the features in another dataset.
Returns a new joined dataset.</p>
<p>Note: if the other dataset has fields with the same name as the main dataset, those will not be joined, keeping
only the ones in the main dataset. </p>
<p>Arguments:
other: The other VectorData dataset to join to this one.
key: Can be a single fieldname, multiple fieldnames, or function that returns the link for both tables.</p>
<pre><code> TODO:
- Maybe introduce separate lkey and rkey args...
collapse (optional): If True, collapses and aggregates all matching features in the other dataset (default), otherwise
adds a new row for each matching pair.
fieldmapping (optional): If collapse is True, this determines the aggregation rules. See aggregate().
keepall (optional): If True, keeps all features in the main dataset regardless (default), otherwise only keeps the
ones that match.
</code></pre></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.keep_fields">
<p>def <span class="ident">keep_fields</span>(</p><p>self, fields)</p>
</div>
<div class="desc"><p>Keeps only the fields specified, changing the dataset in-place.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.map">
<p>def <span class="ident">map</span>(</p><p>self, width=None, height=None, bbox=None, title='', background=None, crs=None, **styleoptions)</p>
</div>
<div class="desc"><p>Shortcut for easily creating a Map instance containing this dataset as a layer.</p>
<p>Args:
width/height (optional): Desired width/height of the map. This can be changed again later.
bbox (optional): If given, only renders the given bbox, specified as (xmin,ymin,xmax,ymax).
title (optional): Title to be shown on the map.
background (optional): Background color of the map.
**styleoptions (optional): How to style the feature geometry, as documented in "renderer.VectorLayer".</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.moving_window">
<p>def <span class="ident">moving_window</span>(</p><p>self, n, fieldmapping, groupby=None)</p>
</div>
<div class="desc"><p>Loops through the features in the dataset, and calculates one or more new values based
on aggregate statistics of a moving window of previously visited rows.</p>
<p>Arguments:
n: Size of the moving window specified as number of rows.
fieldmapping: Specifies a set of aggregation rules used to calculate the new values based on the moving
window. Specified as a list of (outfield,valuefield,stat) tuples, where outfield is the field name
of a new or existing field to write, valuefield is the field name or function that retrieves the value
to calculate statistics on, and stat is the name of the statistic to calculate or a function that takes
the list of values from the moving window as defined by valuefield.
Valid stat values include:
- fdsf...
groupby (optional): If specified, the moving window will run separately for each group of features as defined
by the groupby field name or grouping function.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.quick_disjoint">
<p>def <span class="ident">quick_disjoint</span>(</p><p>self, bbox)</p>
</div>
<div class="desc"><p>Quickly get features whose bbox do -not- overlap the specified bbox via the spatial index.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.quick_nearest">
<p>def <span class="ident">quick_nearest</span>(</p><p>self, bbox, n=None, radius=None)</p>
</div>
<div class="desc"><p>Quickly get n features whose bbox are nearest the specified bbox via the spatial index.</p>
<p>TODO: radius option not yet implemented.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.quick_overlap">
<p>def <span class="ident">quick_overlap</span>(</p><p>self, bbox)</p>
</div>
<div class="desc"><p>Quickly get features whose bbox overlap the specified bbox via the spatial index.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.rename_field">
<p>def <span class="ident">rename_field</span>(</p><p>self, oldname, newname)</p>
</div>
<div class="desc"><p>Changes the name of a field from oldname to newname.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.save">
<p>def <span class="ident">save</span>(</p><p>self, savepath, **kwargs)</p>
</div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.select">
<p>def <span class="ident">select</span>(</p><p>self, func)</p>
</div>
<div class="desc"><p>Returns new filtered VectorData instance.
Func takes a Feature instance as input and keeps only those where it returns True.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.sort">
<p>def <span class="ident">sort</span>(</p><p>self, key, reverse=False)</p>
</div>
<div class="desc"><p>Sorts the feature order in-place using a key function and optional reverse flag.</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.summarystats">
<p>def <span class="ident">summarystats</span>(</p><p>self, *fields)</p>
</div>
<div class="desc"><p>Prints summary statistics for all fields.
If specified, only calculates for the fields listed in *fields.</p>
<p>TODO: maybe also return a dict?</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.tab">
<p>def <span class="ident">tab</span>(</p><p>self, field)</p>
</div>
<div class="desc"><p>Prints a frequency count of the unique values for a single field.</p>
<p>TODO: split into multiple methods, eg field_stats vs field_values/frequencies
TODO: standardize table string formatting, eg as a vectordata.stringformat() method, and simply populate a stats vectordata table and call its method
TODO: sort freq table by percentages
TODO: fix unicode print error
TODO: maybe also return a dict?</p></div>
<div class="source_cont">
</div>
</div>
<div class="item">
<div class="name def" id="pythongis.vector.data.VectorData.view">
<p>def <span class="ident">view</span>(</p><p>self, width=None, height=None, bbox=None, title='', background=None, crs=None, **styleoptions)</p>
</div>
<div class="desc"><p>Opens a Tkinter window for viewing and interacting with the dataset on a map.</p>
<p>Args are same as for "map()".</p></div>
<div class="source_cont">
</div>
</div>
</div>
</div>
</section>
</article>
<div class="clear"> </div>
<footer id="footer">
<p>
Documentation generated by
<a href="https://github.com/BurntSushi/pdoc">pdoc 0.3.2</a>
</p>
<p>pdoc is in the public domain with the
<a href="http://unlicense.org">UNLICENSE</a></p>
<p>Design by <a href="http://nadh.in">Kailash Nadh</a></p>
</footer>
</div>
</body>
</html> | karimbahgat/PythonGis | docs/vector/data.m.html | HTML | mit | 53,934 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.13.2 / pi-agm - 1.2.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
pi-agm
<small>
1.2.0
<span class="label label-info">Not compatible</span>
</small>
</h1>
<p><em><script>document.write(moment("2021-11-05 09:57:39 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-05 09:57:39 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-gmp 3 Virtual package relying on a GMP lib system installation
coq 8.13.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
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: "2.0"
name: "coq-pi-agm"
version: "1.2.0"
maintainer: "[email protected]"
homepage: "http://www-sop.inria.fr/members/Yves.Bertot/"
bug-reports: "[email protected]"
license: "CeCILL-B"
build: [["coq_makefile" "-f" "_CoqProject" "-o" "Makefile" ]
[ make "-j" "%{jobs}%" ]]
install: [ make "install" "DEST='%{lib}%/coq/user-contrib/pi_agm'" ]
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/pi_agm'" ]
depends: [
"ocaml"
"coq" {>= "8.6" & < "8.7~"}
"coq-coquelicot" {>= "3" & < "4~"}
"coq-interval" {>= "3"}
]
tags: [ "keyword:real analysis" "keyword:pi" "category:Mathematics/Real Calculus and Topology" ]
authors: [ "Yves Bertot <[email protected]>" ]
synopsis:
"Computing thousands or millions of digits of PI with arithmetic-geometric means"
description: """
This is a proof of correctness for two algorithms to compute PI to high
precision using arithmetic-geometric means. A first file contains
the calculus-based proofs for an abstract view of the algorithm, where all
numbers are real numbers. A second file describes how to approximate all
computations using large integers. Other files describe the second algorithm
which is close to the one used in mpfr, for instance.
The whole development can be used to produce mathematically proved and
formally verified approximations of PI."""
url {
src: "https://github.com/ybertot/pi-agm/archive/v1.1.9.tar.gz"
checksum: "md5=59bb22e2081c7f5dd200a4b35726acfe"
}
</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-pi-agm.1.2.0 coq.8.13.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.13.2).
The following dependencies couldn't be met:
- coq-pi-agm -> coq < 8.7~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-pi-agm.1.2.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/released/8.13.2/pi-agm/1.2.0.html | HTML | mit | 7,734 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/static/img/ruby.ico" />
<title>笨方法学Ruby第二十二天 - LJZN</title>
<meta name="author" content="LJZN" />
<meta name="description" content="笨方法学Ruby第二十二天" />
<meta name="keywords" content="笨方法学Ruby第二十二天, LJZN, LRTHW" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="/feed.xml">
<!-- syntax highlighting CSS -->
<link rel="stylesheet" href="/static/css/syntax.css">
<!-- Bootstrap core CSS -->
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="/static/css/main.css">
</head>
<body>
<div class="container">
<div class="col-sm-3">
<a href="/"><img id="about" src="/static/img/ruby.png" height="75px" width="75px" /></a>
<h1 class="author-name">LJZN</h1>
<div id="about">
每天更新Rails练习项目到Github~
</div>
<hr size=2>
» <a href="/">Home</a> <br />
» <a href="/category/original">Category</a> <br />
» <a class="about" href="/about/">About Me</a><br />
» <a class="about" href="https://github.com/ljzn">Github</a><br />
</div>
<div class="col-sm-8 col-offset-1">
<h1>笨方法学Ruby第二十二天</h1>
<span class="time">28 Jun 2016</span>
<span class="categories">
» <a href="/category/LRTHW">LRTHW</a>
</span>
<div class="content">
<div class="post">
<figure class="highlight"><pre><code class="language-ruby" data-lang="ruby"><span class="nb">puts</span> <span class="s2">"复习之前所学的代码。"</span></code></pre></figure>
</div>
</div>
<div class="panel-body">
<h4>Related Posts</h4>
<ul>
<li class="relatedPost">
<a href="https://ljzn.github.io/lrthw/2016/07/10/lrhw-50.html">50sinatra建造网站</a>
(Categories: <a href="/category/LRTHW">LRTHW</a>)
</li>
<li class="relatedPost">
<a href="https://ljzn.github.io/lrthw/2016/07/09/lrhw-49.html">49创建句子</a>
(Categories: <a href="/category/LRTHW">LRTHW</a>)
</li>
<li class="relatedPost">
<a href="https://ljzn.github.io/lrthw/2016/07/08/lrhw-48.html">48进阶用户输入</a>
(Categories: <a href="/category/LRTHW">LRTHW</a>)
</li>
<li class="relatedPost">
<a href="https://ljzn.github.io/lrthw/2016/07/08/lrhw-47.html">47自动化测试</a>
(Categories: <a href="/category/LRTHW">LRTHW</a>)
</li>
<li class="relatedPost">
<a href="https://ljzn.github.io/lrthw/2016/07/06/lrhw-46.html">46项目骨架</a>
(Categories: <a href="/category/LRTHW">LRTHW</a>)
</li>
<li class="relatedPost">
<a href="https://ljzn.github.io/lrthw/2016/07/05/lrhw-45.html">45制作一个游戏</a>
(Categories: <a href="/category/LRTHW">LRTHW</a>)
</li>
</ul>
</div>
<div class="PageNavigation">
<a class="prev" href="/lrthw/2016/06/28/lrhw-21.html">« 笨方法学Ruby第二十一天</a>
<a class="next" href="/lrthw/2016/06/28/lrhw-23.html">笨方法学Ruby第二十三天 »</a>
</div>
<div class="disqus-comments">
<div id="disqus_thread"></div>
<script>
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = '//ljzn.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>
<footer>
© LJZN
- <a href="https://github.com/ljzn">https://github.com/ljzn</a> - Powered by Jekyll.
</footer>
</div><!-- end /.col-sm-8 -->
</div><!-- end /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script id="dsq-count-scr" src="//ljzn.disqus.com/count.js" async></script>
</body>
</html>
| Ljzn/ljzn.github.io | _site/lrthw/2016/06/28/lrhw-22.html | HTML | mit | 9,657 |
<html><body>
<h4>Windows 10 x64 (18362.329)</h4><br>
<h2>_FAULT_INFORMATION_ARM64_TYPE</h2>
<font face="arial"> UnsupportedUpstreamTransaction = 0n0<br>
AddressSizeFault = 0n1<br>
TlbMatchConflict = 0n2<br>
ExternalFault = 0n3<br>
PermissionFault = 0n4<br>
AccessFlagFault = 0n5<br>
TranslationFault = 0n6<br>
MaxFaultType = 0n7<br>
</font></body></html> | epikcraw/ggool | public/Windows 10 x64 (18362.329)/_FAULT_INFORMATION_ARM64_TYPE.html | HTML | mit | 388 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_05) on Tue Jun 10 20:54:55 BST 2014 -->
<title>ddm.IntegrationTests</title>
<meta name="date" content="2014-06-10">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ddm.IntegrationTests";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../ddm/factory/classifiers/package-summary.html">Prev Package</a></li>
<li><a href="../../ddm/jade/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?ddm/IntegrationTests/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package ddm.IntegrationTests</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../ddm/IntegrationTests/TestClassifierFactory.html" title="class in ddm.IntegrationTests">TestClassifierFactory</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../ddm/IntegrationTests/TestConfiguration.html" title="class in ddm.IntegrationTests">TestConfiguration</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../ddm/IntegrationTests/TestDatasetManager.html" title="class in ddm.IntegrationTests">TestDatasetManager</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../ddm/IntegrationTests/TestDecisionMaker.html" title="class in ddm.IntegrationTests">TestDecisionMaker</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../ddm/factory/classifiers/package-summary.html">Prev Package</a></li>
<li><a href="../../ddm/jade/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?ddm/IntegrationTests/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| JordiCorbilla/DDM | doc/ddm/IntegrationTests/package-summary.html | HTML | mit | 5,245 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Rose</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link rel="stylesheet" href="./vendor/codemirror/codemirror.css">
<script type="text/javascript" src="./vendor/codemirror/codemirror.js"></script>
<script type="text/javascript" src="./vendor/codemirror/javascript.js"></script>
<script type="text/javascript" src="./vendor/codemirror/closebrackets.js"></script>
<script type="text/javascript" src="./vendor/codemirror/javascript-hint.js"></script>
<script type="text/javascript" src="./vendor/codemirror/javascript-lint.js"></script>
<script type="text/javascript" src="./vendor/codemirror/matchbrackets.js"></script>
<script type="text/javascript" src="./vendor/codemirror/search.js"></script>
<script type="text/javascript" src="./vendor/codemirror/searchcursor.js"></script>
<script type="text/javascript" src="./vendor/codemirror/show-hint.js"></script>
<script type="text/javascript" src="./vendor/codemirror/comment.js"></script>
<script type="text/javascript" src="./vendor/codemirror/sublime.js"></script>
<script type="text/javascript" src="./vendor/codemirror/foldcode.js"></script>
<link rel="stylesheet" href="./vendor/codemirror/foldgutter.css" />
<script src="./vendor/codemirror/foldcode.js"></script>
<script src="./vendor/codemirror/foldgutter.js"></script>
<script src="./vendor/codemirror/brace-fold.js"></script>
<script src="./vendor/codemirror/comment-fold.js"></script>
<link rel="stylesheet" href="./vendor/codemirror/dialog.css">
<link rel="stylesheet" href="./vendor/codemirror/show-hint.css">
<script src="./vendor/codemirror/dialog.js"></script>
<link rel="stylesheet" href="./vendor/codemirror/lint.css">
<script src="./vendor/codemirror/jshint.min.js"></script>
<script src="./vendor/codemirror/lint.js"></script>
<style>
html {
height: 100%;
}
body {
display: flex;
font-size: 16px;
height: 100%;
}
#preview {
border: none;
outline: none;
width: 50%;
height: 100%;
}
</style>
</head>
<body>
<div id="app"></div>
<iframe id="preview"></iframe>
<script src="dist/woof-bundle.js"></script>
</body>
</html> | stevekrouse/rose | woof.html | HTML | mit | 2,518 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Phaser - ES6 - Webpack</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta http-equiv="cleartype" content="on">
<link rel="stylesheet" type="text/css" href="fonts.css">
<style>
html,
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="content"></div>
<script src="dist/vendor.bundle.js"></script>
<script src="dist/bundle.js"></script>
</body>
</html>
| KillerKodersKode/captain_slayer | index.html | HTML | mit | 676 |
<div class="commune_descr limited">
<p>
Iville est
un village
localisé dans le département de l'Eure en Haute-Normandie. Elle comptait 452 habitants en 2008.</p>
<p>À proximité de Iville sont positionnées géographiquement les villes de
<a href="{{VLROOT}}/immobilier/fouqueville_27261/">Fouqueville</a> située à 4 km, 409 habitants,
<a href="{{VLROOT}}/immobilier/marbeuf_27389/">Marbeuf</a> à 4 km, 340 habitants,
<a href="{{VLROOT}}/immobilier/epegard_27219/">Épégard</a> localisée à 3 km, 415 habitants,
<a href="{{VLROOT}}/immobilier/crosville-la-vieille_27192/">Crosville-la-Vieille</a> située à 2 km, 555 habitants,
<a href="{{VLROOT}}/immobilier/crestot_27185/">Crestot</a> située à 4 km, 368 habitants,
<a href="{{VLROOT}}/immobilier/amfreville-la-campagne_27011/">Amfreville-la-Campagne</a> située à 4 km, 896 habitants,
entre autres. De plus, Iville est située à seulement 26 km de <a href="{{VLROOT}}/immobilier/saint-pierre_97416/">Saint-Pierre</a>.</p>
<p>Si vous pensez venir habiter à Iville, vous pourrez facilement trouver une maison à acheter. </p>
<p>Le parc de logements, à Iville, se décomposait en 2011 en quatre appartements et 182 maisons soit
un marché plutôt équilibré.</p>
</div>
| donaldinou/frontend | src/Viteloge/CoreBundle/Resources/descriptions/27354.html | HTML | mit | 1,289 |
<!doctype html>
<html>
<head>
<title>D-Kapstory</title>
<meta charset="utf-8">
<script src="./vendor/three.js/three.min.js"></script>
<script src="./js/dk.js"></script>
<link href="css/main.css" rel="stylesheet" />
</head>
<body>
<div id="container" width="512" height="512"></div>
<script type="text/javascript">
/*global THREE getClass DFK*/
// this factory hold some 3D Objects
var factory = new DFK.Factory();
factory.add("mesh::caps", function()
{
var material = new THREE.MeshLambertMaterial({ color: 0xFC0C20 });
var geometry;
if(!factory.contains("geom::caps"))
{
geometry = new THREE.CylinderGeometry(6, 6.2, 2);
factory.add("geom::caps", geometry);
}
var caps = new THREE.Mesh(factory.create("geom::caps"), material);
caps.castShadow = true;
return caps;
});
factory.add("mesh::bottle", function()
{
var baseradius = 10;
var topradius = 5;
var baseheight = 30;
var topheight = 10;
var ringheight = 2;
var ringradius = 5.5;
var base, top, ring;
var material = new THREE.MeshLambertMaterial({ color: 0xCCFCC0 });
var bottle = new THREE.Object3D();
base = new THREE.Mesh(new THREE.CylinderGeometry(baseradius, baseradius, baseheight, 10, 10), material);
base.position.y = baseheight / 2;
top = new THREE.Mesh(new THREE.CylinderGeometry(topradius, baseradius, topheight, 10, 10), material);
top.position.y = baseheight + topheight / 2;
ring = new THREE.Mesh(new THREE.CylinderGeometry(ringradius, ringradius, ringheight, 10, 10), material);
ring.position.y = baseheight + topheight + ringheight / 2;
base.castShadow = true;
top.castShadow = true;
ring.castShadow = true;
base.receiveShadow = true;
top.receiveShadow = true;
ring.receiveShadow = true;
bottle.add(top);
bottle.add(base);
bottle.add(ring);
return bottle;
});
factory.add("mesh::floor", function(floorRadius){
var geometry = new THREE.CylinderGeometry(floorRadius, floorRadius, 0.1, 20, 8);
var material = new THREE.MeshPhongMaterial({ color: 0x42AF33 });
var mesh = new THREE.Mesh(geometry, material);
mesh.receiveShadow = true;
return mesh;
});
// create a simple gravity particule system with capsCount elements centered on pos
function df_caps_animator(capsCount, pos) {
var d = {};
d.obj = new THREE.Object3D();
d.particules = [];
for (var i = 0; i < capsCount; ++i) {
d.obj.add(factory.create("mesh::caps")());
// create the physics engine for each particule
var part = new DFK.particule(
0.32,
DFK.P,
{
onDie : function (part) {
var min = 5;
if (part.v.y < min) // Full reset
part.reset(DFK.v3(pos.x + DFK.rnd(-1, 1),
pos.y + DFK.rnd(0, 1),
pos.z),
DFK.v3(Math.sin(DFK.rnd(-3.1415, 3.1415)),
4 + DFK.rnd(-1, 1.5),
Math.cos(DFK.rnd(-3.1415, 3.1415))));
else // bounce
{
part.p.y = min;
part.reset(part.p, DFK.v3(2*part.v.x,
0.7*part.v.y,
2*part.v.z));
}
},
shouldDie : function(p, v) { return p.y < 0; }
});
d.particules.push(part);
}
d.animate = function (dt) {
for (var i = 0; i < d.particules.length; ++i) {
// get the new particule position
var new_pos = d.particules[i].next(dt);
var mesh = d.obj.children[i];
//update the mesh position and little hack on the rotation
mesh.position.set(new_pos.x, new_pos.y, new_pos.z);
mesh.rotation.x = new_pos.z / 10;
mesh.rotation.z = new_pos.y / 10;
}
}
return d;
}
// create a light and mak sure the the floor kept in the fustrum
function df_dlight(lightPos, lightTarget, floorRadius) {
var dist = DFK.v3dist(lightPos, lightTarget);
var light = new THREE.DirectionalLight(0x444444);
light.position.set(lightPos.x, lightPos.y, lightPos.z);
light.target.position.set(lightTarget.x, lightTarget.y, lightTarget.z);
light.castShadow = true;
light.shadowDarkness = 0.5;
light.shadowCameraNear = dist - floorRadius;
light.shadowCameraFar = dist + floorRadius;
light.shadowCameraLeft = -floorRadius;
light.shadowCameraRight = floorRadius;
light.shadowCameraTop = floorRadius;
light.shadowCameraBottom = -floorRadius;
return light;
}
var renderer, scene, camera, animator;
init();
animate();
function init() {
var width = 512;
var height = 512;
// on initialise le moteur de rendu
renderer = new THREE.WebGLRenderer();
// si WebGL ne fonctionne pas sur votre navigateur vous pouvez utiliser le moteur de rendu Canvas à la place
//renderer = new THREE.CanvasRenderer();
renderer.setSize(width, height);//window.innerWidth, window.innerHeight);
document.getElementById('container').appendChild(renderer.domElement);
// on initialise la scène
scene = new THREE.Scene();
// setting up the camera
camera = new THREE.PerspectiveCamera(50, width / height, 1, 1000);
camera.position.set(0, 150, 250);
camera.lookAt(new THREE.Vector3(0.0, 50.0, 0.0));
scene.add(camera);
// add a bottle first
scene.add(factory.create("mesh::bottle")());
// then create 500 animated caps on top of the bottle
animator = new df_caps_animator(500, new THREE.Vector3(0, 48, 0));
// and add them to the scene
scene.add(animator.obj);
// Finally add a floor to don't lost the others 3D objects in the space
var floorRadius = 200;
scene.add(factory.create("mesh::floor")(200));
// adding 4 lights around the bottle
var lightPos = DFK.v3(floorRadius + 50, 2*floorRadius, 0.5*floorRadius + 50);
scene.add(df_dlight(lightPos, DFK.v3(0, 30, 0), floorRadius));
lightPos.x *= -1;
scene.add(df_dlight(lightPos, DFK.v3(0, 30, 0), floorRadius));
lightPos.z *= -1;
scene.add(df_dlight(lightPos, DFK.v3(0, 30, 0), floorRadius));
lightPos.x *= -1;
scene.add(df_dlight(lightPos, DFK.v3(0, 30, 0), floorRadius));
// Enabling the shadow
renderer.shadowMapEnabled = true;
renderer.shadowMapSoft = true;
renderer.shadowCameraNear = camera.near;
renderer.shadowCameraFar = camera.far;
renderer.shadowCameraFov = 50;
renderer.shadowMapBias = 0.0039;
renderer.shadowMapDarkness = 0.5;
renderer.shadowMapWidth = 1024;
renderer.shadowMapHeight = 1024;
// on effectue le rendu de la scène
//renderer.render( scene, camera );
}
var gt = 0; // a global timer
function animate() {
requestAnimationFrame(animate);
// updating the caps
animator.animate(0.10510);
gt += 0.01;//0.02510;
camera.position.set((150 + 50*Math.cos(gt/3))*Math.sin(gt), 150 + 100*(1+Math.sin(gt)), (250 + 50*Math.sin(gt/3))*Math.cos(gt));
camera.lookAt(new THREE.Vector3(0.0, 50.0, 0.0));
render();
}
function render() {
renderer.setClearColor(0);
renderer.render(scene, camera);
}
</script>
</body>
</html> | twxs/dkapstory.js | index.html | HTML | mit | 9,609 |
---
layout: page
title: Landing
header: Landing Page
tagline: "All the elemets to improve the sites with this theme"
group: navigation
img : 4.jpg
img-mobile : 4-mobile.jpg
---
{% include JB/setup %}
{% include themes/bootstrap/nav-bar.html %}
<div class="page-wrapper">
<!-- header-10 -->
<section class="header-10-sub v-center bg-midnight-blue">
<div class="background">
</div>
<div>
<div class="container">
<div class="hero-unit">
<h1>Startup Framework is a set of components</h1>
<p>
We’ve created the product that will help your
<br/>
startup to look even better.
</p>
</div>
</div>
</div>
<a class="control-btn fui-check" href="#"> </a>
</section>
<!-- content-7 -->
<section class="content-7 v-center">
<div>
<div class="container">
<h3>Take a look in our awesome product</h3>
<div class="row v-center">
<div class="col-sm-3">
<div>
Of course we haven’t forgotten about the responsive layout. Create a website with full mobile
support.
</div>
</div>
<div class="col-sm-4">
<div class="col-sm-offset-1">
<div class="screen-wrapper">
<div class="screen">
<img src="{{ BASE_PATH }}/assets/images/screen-popup.png" alt="">
<img src="{{ BASE_PATH }}/assets/images/screen.png" alt="">
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="col-sm-offset-2">
<h6>Responsive Layout</h6>
Of course we haven’t forgotten about the responsive layout. Full mobile support.
<h6>Retina Ready</h6>
Startup Framework works fine on devices supporting Retina Display. Feel the clarity!
</div>
</div>
</div>
</div>
</div>
</section>
<!-- content-23 -->
<section class="content-23 v-center bg-midnight-blue custom-bg">
<div>
<div class="container">
<div class="hero-unit hero-unit-bordered">
<h1>Scenic Nature</h1>
</div>
</div>
</div>
<a class="control-btn fui-check" href="#"> </a>
</section>
<!-- content-8 -->
<section class="content-8 v-center">
<div>
<div class="container">
<img src="{{ BASE_PATH }}/assets/images/[email protected]" width="397" height="193" alt="">
<h3>Take a look to our amazing Kit</h3>
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<p>We have a great surprise for Designmodo fans – our first free HTML user interface kit.
Flat UI Free is made on the basis of Twitter Bootstrap in a stunning flat-style.
</p>
<a class="btn btn-large btn-clear" href="#">TRY IT NOW</a>
</div>
</div>
</div>
</div>
</section>
<!-- content-23 -->
<section class="content-23 v-center bg-midnight-blue">
<div id="bgVideo" class="background"></div>
<div>
<div class="container">
<div class="hero-unit">
<h1>Find a perfect suit for
<br class="hidden-phone">
your startup</h1>
</div>
</div>
</div>
<a class="control-btn fui-check" href="#sample"> </a>
</section>
<!-- content-8 -->
<section id="sample" class="content-8 v-center">
<div>
<div class="container">
<img width="380" height="187" alt="" src="{{ BASE_PATH }}/assets/images/[email protected]"/>
<h3>Twenty Five Awesome Samples</h3>
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
<p>
The most important part of the Startup Framework is the samples.
The samples form a set of 25 usable pages or you can add new blocks from UI Kit.
</p>
<a class="btn btn-large btn-clear" href="#">TRY IT NOW</a>
</div>
</div>
</div>
</div>
</section>
<!-- content-11 -->
<section class="content-11">
<div class="container">
<span>You have the design, you have the code</span>
<a class="btn btn-large btn-danger" href="#">TRY IT NOW</a>
</div>
</section>
<!-- footer-3 -->
<footer class="footer-3">
<div class="container">
<div class="row v-center">
<div class="col-sm-2">
<a class="brand" href="#">Startup</a>
</div>
<div class="col-sm-7">
<div class="additional-links">
Be sure to take a look to our <a href="#">Terms of Use</a> and <a href="#">Privacy Policy</a>
</div>
</div>
<div class="col-sm-3">
<h6>New York, NY</h6>
<div class="address">
62 West 55th Street, Suite 302<br>New York, NY, 10230
</div>
</div>
</div>
</div>
</footer>
</div>
| startupui/startupui.github.io | landing.html | HTML | mit | 6,085 |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>條目 </b></th><td class="std2">反掌折枝</td></tr>
<tr><th class="std1"><b>注音 </b></th><td class="std2">ㄈㄢ<sup class="subfont">ˇ</sup> ㄓㄤ<sup class="subfont">ˇ</sup> ㄓㄜ<sup class="subfont">ˊ</sup> ㄓ</td></tr>
<tr><th class="std1"><b>漢語拼音 </b></th><td class="std2"><font class="english_word">fǎn zhǎng zhé zhī</font></td></tr>
<tr><th class="std1"><b>釋義 </b></th><td class="std2">反轉手掌,折取樹枝。比喻至簡易之事。</td></tr>
<tr><th class="std1"><b><font class="fltypefont">附錄</font> </b></th><td class="std2">修訂本參考資料</td></tr>
</td></tr></table></div> <!-- flayoutclass_first --><div class="flayoutclass_second"></div> <!-- flayoutclass_second --></div> <!-- flayoutclass --></td></tr></table>
| BuzzAcademy/idioms-moe-unformatted-data | all-data/9000-9999/9814-22.html | HTML | mit | 1,125 |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>條目 </b></th><td class="std2">歸真反璞</td></tr>
<tr><th class="std1"><b>注音 </b></th><td class="std2">ㄍㄨㄟ ㄓㄣ ㄈㄢ<sup class="subfont">ˇ</sup> ㄆㄨ<sup class="subfont">ˊ</sup></td></tr>
<tr><th class="std1"><b>漢語拼音 </b></th><td class="std2"><font class="english_word">guī zhēn fǎn pú</font></td></tr>
<tr><th class="std1"><b>釋義 </b></th><td class="std2"><img src=/cydic/dicword/fe59.jpg border=0 alt=* class=fontimg valign=center>除去外飾,回復淳樸的本性。戰國策˙齊策四:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>歸真反璞,則終身不辱。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center><img src=/cydic/dicword/fe5a.jpg border=0 alt=* class=fontimg valign=center>死亡。常用於弔喪輓聯。或作<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>歸真返璞<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>。</td></tr>
<tr><th class="std1"><b><font class="fltypefont">附錄</font> </b></th><td class="std2">修訂本參考資料</td></tr>
</td></tr></table></div> <!-- flayoutclass_first --><div class="flayoutclass_second"></div> <!-- flayoutclass_second --></div> <!-- flayoutclass --></td></tr></table>
| BuzzAcademy/idioms-moe-unformatted-data | all-data/10000-10999/10738-22.html | HTML | mit | 1,651 |
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# " lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Posts about Support Worker | Minstry Of Education Jobs</title>
<link href="../assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="../assets/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">
<link href="../assets/css/rst.css" rel="stylesheet" type="text/css">
<link href="../assets/css/code.css" rel="stylesheet" type="text/css">
<link href="../assets/css/colorbox.css" rel="stylesheet" type="text/css">
<link href="../assets/css/theme.css" rel="stylesheet" type="text/css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="../rss.xml">
<link rel="canonical" href="http://wcmckee.com/minedujobs/categories/support-worker.html">
<!--[if lt IE 9]><script src="../assets/js/html5.js"></script><![endif]--><link rel="alternate" type="application/rss+xml" title="RSS for tag Support Worker" href="support-worker.xml">
</head>
<body class="home blog">
<div id="wrap" style="width:850px">
<div id="container" style="width:560px">
<article class="tagpage"><header><h1>Posts about Support Worker</h1>
<div class="metadata">
<p class="feedlink"><a href="support-worker.xml" type="application/rss+xml">RSS feed</a></p>
</div>
</header><ul class="postlist">
<li>
<time class="listdate" datetime="2015-10-01T09:00:00+13:00" title="2015-10-01 09:00">2015-10-01 09:00</time><a href="../posts/1184055.html" class="listtitle">1184055</a><a></a>
</li>
</ul></article>
</div>
<div id="sidebar">
<!--Sidebar content-->
<h1 id="blog-title">
<a href="http://wcmckee.com/minedujobs/" title="Minstry Of Education Jobs">Minstry Of Education Jobs</a>
</h1>
<ul class="unstyled">
<li>
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
<img alt="Creative Commons Attribution 4.0 International License" style="border-width:0; margin-bottom:12px;" src="https://i.creativecommons.org/l/by/4.0/88x31.png"></a>
</li>
<li>
<a href="../archive.html">Archives</a>
</li>
<li>
<a href="index.html">Tags</a>
</li>
<li>
<a href="../rss.xml">RSS feed</a>
</li>
<li>
</ul>
</div>
<div id="footer">
Contents © 2015 <a href="mailto:[email protected]">Ministry Of Education</a> - Powered by <a href="https://getnikola.com" rel="nofollow">Nikola</a>
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
<img alt="Creative Commons Attribution 4.0 International License" style="border-width:0; margin-bottom:12px;" src="https://i.creativecommons.org/l/by/4.0/88x31.png"></a>
</div>
</div>
<script src="../assets/js/jquery.min.js"></script><script src="../assets/js/bootstrap.min.js"></script><script src="../assets/js/moment-with-locales.min.js"></script><script src="../assets/js/fancydates.js"></script><script src="../assets/js/jquery.colorbox-min.js"></script><script type="text/javascript">jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
</body>
</html>
| wcmckee/moejobs-site | output/categories/support-worker.html | HTML | mit | 3,428 |
---
layout: post
title: Totem - Ruby Without Rails
comments: false
share: false
date: 2014-03-13
type: post
tags:
- jruby
- ruby
- ruby on rails
- totem
---
<p><a title="Totem" href="https://github.com/chadrem/totem">Totem</a> is my new Ruby gem for creating Ruby projects without having to depend on Rails. Some of the features it provides are:</p>
<ul>
<li>Interactive console</li>
<li>Logging</li>
<li>Standard folder structure (very Rails like)</li>
<li>Environments (development, production, etc)</li>
<li>Generators</li>
<li>Easy database access (via an add-on)</li>
</ul>
<p><a title="Totem" href="https://github.com/chadrem/totem">Totem</a> and <a title="Totem - Activerecord" href="https://github.com/chadrem/totem_activerecord">Totem - Activerecord</a> seek to bring these and many other features to your non-Rails application. Give it a try and feel free to contact me with your feedback.</p>
| chadrem/chadrem.github.io | _posts/2014-03-13-totem-ruby-without-rails.html | HTML | mit | 909 |
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>gymsystems_client documentation</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top visible-xs">
<a href="../" class="navbar-brand">gymsystems_client documentation</a>
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
</div>
<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>
<div class="container-fluid main">
<div class="row main">
<div class="hidden-xs menu">
<compodoc-menu mode="normal"></compodoc-menu>
</div>
<!-- START CONTENT -->
<div class="content class">
<div class="content-data">
<ol class="breadcrumb">
<li>Classes</li>
<li>ExpansionSource</li>
</ol>
<ul class="nav nav-tabs" role="tablist">
<li class="active">
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
</li>
<li >
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active in" id="c-info">
<p class="comment">
<h3>File</h3>
</p>
<p class="comment">
<code>src/app/shared/services/expansion-source.ts</code>
</p>
<p class="comment">
<h3>Extends</h3>
</p>
<p class="comment">
<code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</p>
<section>
<h3 id="index">Index</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
<tr>
<td class="col-md-4">
<h6><b>Properties</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<span class="modifier">Private</span>
<a href="#alternateSubject">alternateSubject</a>
</li>
<li>
<a href="#currentSort">currentSort</a>
</li>
<li>
<a href="#isExpansionDetailRow">isExpansionDetailRow</a>
</li>
<li>
<span class="modifier">Public</span>
<a href="#subject">subject</a>
</li>
<li>
<a href="#sortChanged">sortChanged</a>
</li>
<li>
<span class="modifier">Public</span>
<a href="#subject">subject</a>
</li>
</ul>
</td>
</tr>
<tr>
<td class="col-md-4">
<h6><b>Methods</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#add">add</a>
</li>
<li>
<a href="#clearSelection">clearSelection</a>
</li>
<li>
<a href="#connect">connect</a>
</li>
<li>
<a href="#disconnect">disconnect</a>
</li>
<li>
<a href="#findIndexOf">findIndexOf</a>
</li>
<li>
<a href="#select">select</a>
</li>
<li>
<a href="#sortData">sortData</a>
</li>
<li>
<a href="#add">add</a>
</li>
<li>
<a href="#connect">connect</a>
</li>
<li>
<a href="#disconnect">disconnect</a>
</li>
<li>
<a href="#findIndexOf">findIndexOf</a>
</li>
<li>
<a href="#sortData">sortData</a>
</li>
</ul>
</td>
</tr>
<tr>
<td class="col-md-4">
<h6><b>Accessors</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#realRows">realRows</a>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="constructor">Constructor</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<code>constructor(subject: BehaviorSubject<T[]>)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/shared/services/expansion-source.ts:15</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div>
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>subject</td>
<td>
<code>BehaviorSubject<T[]></code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="inputs">
Properties
</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="alternateSubject"></a>
<span class="name">
<b>
<span class="modifier">Private</span>
alternateSubject</b>
<a href="#alternateSubject"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new BehaviorSubject<T[]>(null)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">src/app/shared/services/expansion-source.ts:12</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="currentSort"></a>
<span class="name">
<b>
currentSort</b>
<a href="#currentSort"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>Sort</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/shared/services/expansion-source.ts:15</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="isExpansionDetailRow"></a>
<span class="name">
<b>
isExpansionDetailRow</b>
<a href="#isExpansionDetailRow"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>() => {...}</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/app/shared/services/expansion-source.ts:30</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="subject"></a>
<span class="name">
<b>
<span class="modifier">Public</span>
subject</b>
<a href="#subject"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>BehaviorSubject<T[]></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/shared/services/expansion-source.ts:17</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="sortChanged"></a>
<span class="name">
<b>
sortChanged</b>
<a href="#sortChanged"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new BehaviorSubject(undefined)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <code><a href="../classes/SubjectSource.html#source" target="_self" >SubjectSource:9</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="subject"></a>
<span class="name">
<b>
<span class="modifier">Public</span>
subject</b>
<a href="#subject"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>BehaviorSubject<T[]></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <code><a href="../classes/SubjectSource.html#source" target="_self" >SubjectSource:13</a></code>
</div>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="methods">
Methods
</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="add"></a>
<span class="name">
<b>
add
</b>
<a href="#add"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>add(element: T)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="37"
class="link-to-prism">src/app/shared/services/expansion-source.ts:37</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>element</td>
<td>
<code>T</code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="clearSelection"></a>
<span class="name">
<b>
clearSelection
</b>
<a href="#clearSelection"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>clearSelection()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="55"
class="link-to-prism">src/app/shared/services/expansion-source.ts:55</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="connect"></a>
<span class="name">
<b>
connect
</b>
<a href="#connect"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>connect()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="26"
class="link-to-prism">src/app/shared/services/expansion-source.ts:26</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Observable<T[]></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="disconnect"></a>
<span class="name">
<b>
disconnect
</b>
<a href="#disconnect"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>disconnect()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="59"
class="link-to-prism">src/app/shared/services/expansion-source.ts:59</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="findIndexOf"></a>
<span class="name">
<b>
findIndexOf
</b>
<a href="#findIndexOf"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>findIndexOf(element: T)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="51"
class="link-to-prism">src/app/shared/services/expansion-source.ts:51</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>element</td>
<td>
<code>T</code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="select"></a>
<span class="name">
<b>
select
</b>
<a href="#select"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>select(element: T, row?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="42"
class="link-to-prism">src/app/shared/services/expansion-source.ts:42</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>element</td>
<td>
<code>T</code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>row</td>
<td>
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
</td>
<td>
Yes
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="sortData"></a>
<span class="name">
<b>
sortData
</b>
<a href="#sortData"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>sortData($event: Sort, elements?: T[])</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="32"
class="link-to-prism">src/app/shared/services/expansion-source.ts:32</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>$event</td>
<td>
<code>Sort</code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>elements</td>
<td>
<code>T[]</code>
</td>
<td>
Yes
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="add"></a>
<span class="name">
<b>
add
</b>
<a href="#add"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>add(element: T)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <code><a href="../classes/SubjectSource.html#source" target="_self" >SubjectSource:40</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>element</td>
<td>
<code>T</code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="connect"></a>
<span class="name">
<b>
connect
</b>
<a href="#connect"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>connect()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <code><a href="../classes/SubjectSource.html#source" target="_self" >SubjectSource:17</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Observable<T[]></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="disconnect"></a>
<span class="name">
<b>
disconnect
</b>
<a href="#disconnect"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>disconnect()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <code><a href="../classes/SubjectSource.html#source" target="_self" >SubjectSource:51</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="findIndexOf"></a>
<span class="name">
<b>
findIndexOf
</b>
<a href="#findIndexOf"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>findIndexOf(element: T)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <code><a href="../classes/SubjectSource.html#source" target="_self" >SubjectSource:47</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>element</td>
<td>
<code>T</code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="sortData"></a>
<span class="name">
<b>
sortData
</b>
<a href="#sortData"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>sortData($event: Sort, elements?: T[])</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Inherited from <code><a href="../classes/SubjectSource.html" target="_self" >SubjectSource</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <code><a href="../classes/SubjectSource.html#source" target="_self" >SubjectSource:21</a></code>
</div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>$event</td>
<td>
<code>Sort</code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>elements</td>
<td>
<code>T[]</code>
</td>
<td>
Yes
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="accessors">
Accessors
</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="realRows"></a>
<span class="name"><b>realRows</b><a href="#realRows"><span class="icon ion-ios-link"></span></a></span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="accessor"><b>get</b><code>realRows()</code></span>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/app/shared/services/expansion-source.ts:13</a></div>
</td>
</tr>
</tbody>
</table>
</section>
</div>
<div class="tab-pane fade tab-source-code" id="c-source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DataSource } from '@angular/cdk/table';
import { Observable, BehaviorSubject } from 'rxjs';
import { Sort } from '@angular/material';
import { SubjectSource } from 'app/shared/services/subject-source';
export interface ExpansionRow<T> {
detailRow: boolean;
expanded: boolean;
T;
}
export class ExpansionSource<T> extends SubjectSource<T> {
private alternateSubject = new BehaviorSubject<T[]>(null);
private get realRows() { return <(T|ExpansionRow<T>)[]> this.alternateSubject.value; }
currentSort: Sort;
constructor(public subject: BehaviorSubject<T[]>) {
super(subject);
this.subject.subscribe(values => {
const rows = [];
values.forEach(element => rows.push(element, {detailRow: true, expanded: false, element}));
this.alternateSubject.next(rows);
});
}
connect(): Observable<T[]> {
return this.alternateSubject;
}
isExpansionDetailRow = (row: any) => row.hasOwnProperty('detailRow');
sortData($event: Sort, elements?: T[]) {
this.clearSelection();
super.sortData($event, elements);
}
add(element: T): number {
this.clearSelection();
return super.add(element);
}
select(element: T, row?: number) {
this.clearSelection();
if (element != null) {
row = row || this.alternateSubject.value.findIndex(m => m === element);
(<ExpansionRow<T>> this.realRows[row + 1]).expanded = true;
}
}
findIndexOf(element: T) {
return this.alternateSubject.value.findIndex(m => m === element);
}
clearSelection() {
this.realRows.filter(r => r.hasOwnProperty('detailRow')).forEach(r => (<ExpansionRow<T>> r).expanded = false );
}
disconnect() {}
}
</code></pre>
</div>
</div>
</div><div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
<!-- END CONTENT -->
</div>
</div>
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'class';
var COMPODOC_CURRENT_PAGE_URL = 'ExpansionSource.html';
</script>
<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
<script src="../js/menu-wc.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script>
<script src="../js/libs/es6-shim.min.js"></script>
<script src="../js/libs/EventDispatcher.js"></script>
<script src="../js/libs/promise.min.js"></script>
<script src="../js/libs/zepto.min.js"></script>
<script src="../js/compodoc.js"></script>
<script src="../js/tabs.js"></script>
<script src="../js/menu.js"></script>
<script src="../js/libs/clipboard.min.js"></script>
<script src="../js/libs/prism.js"></script>
<script src="../js/sourceCode.js"></script>
<script src="../js/search/search.js"></script>
<script src="../js/search/lunr.min.js"></script>
<script src="../js/search/search-lunr.js"></script>
<script src="../js/search/search_index.js"></script>
<script src="../js/lazy-load-graphs.js"></script>
</body>
</html>
| OysteinAmundsen/gymsystems | client/documentation/classes/ExpansionSource.html | HTML | mit | 46,275 |
{% extends "backoffice/base.html" %}
{% block active_bdata3 %}active{% endblock %}
{% block title %}Bdata Mode 3{% endblock %}
{% block title_mini %}{{city.name}}{% endblock %}
{% block content %}
<div class="space-6"></div>
<div class="row-fluid">
<div class="span6">
<div class="widget-box transparent">
<div class="widget-body">
<div class="widget-main no-padding">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>
<i class="icon-caret-right blue"></i>
NBusstop
</th>
<th class="hidden-phone">
<i class="icon-caret-right blue"></i>
Названия маршрутов
</th>
</tr>
</thead>
<tbody>
{%for k,v in bdata3.items%}
<tr>
<td>{{k}}</td>
<td>{{v}}</td>
</tr>
{%endfor%}
</tbody>
</table>
</div><!-- /widget-main -->
</div><!-- /widget-body -->
</div><!-- /widget-box -->
</div>
</div>
<div class="hr hr32 hr-dotted"></div>
{% endblock %} | norn/bustime | backoffice/templates/backoffice/bdata3.html | HTML | mit | 1,060 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.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">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<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="../../..">Unstable</a></li>
<li><a href=".">8.4.dev / contrib:color dev</a></li>
<li class="active"><a href="">2015-01-07 03:53:32</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="../../../../../about.html">About</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href=".">« Up</a>
<h1>
contrib:color
<small>
dev
<span class="label label-info">Not compatible with this Coq</span>
</small>
</h1>
<p><em><script>document.write(moment("2015-01-07 03:53:32 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2015-01-07 03:53:32 UTC)</em><p>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>ruby lint.rb unstable ../unstable/packages/coq:contrib:color/coq:contrib:color.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
<dt>Output</dt>
<dd><pre>The package is valid.
</pre></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 --dry-run coq:contrib:color.dev coq.8.4.dev</code></dd>
<dt>Return code</dt>
<dd>768</dd>
<dt>Duration</dt>
<dd>0 s</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.4.dev).
The following dependencies couldn't be met:
- coq:contrib:color -> coq >= dev
Your request can't be satisfied:
- Conflicting version constraints for coq
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq, to test if the problem was incompatibility with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --dry-run coq:contrib:color.dev</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>3 s</dd>
<dt>Output</dt>
<dd><pre>The following actions will be performed:
- remove coq.8.4.dev
=== 1 to remove ===
=-=- Removing Packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Removing coq.8.4.dev.
[WARNING] Directory /home/bench/.opam/system/lib/coq is not empty, not removing
[WARNING] Directory /home/bench/.opam/system/share/coq is not empty, not removing
The following actions will be performed:
- install coq.hott [required by coq:contrib:color]
- install coq:contrib:color.dev
=== 2 to install ===
=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building coq.hott:
./configure -configdir /home/bench/.opam/system/lib/coq/config -mandir /home/bench/.opam/system/man -docdir /home/bench/.opam/system/doc -prefix /home/bench/.opam/system -usecamlp5 -camlp5dir /home/bench/.opam/system/lib/camlp5 -coqide no
make -j4
make install
Installing coq.hott.
Building coq:contrib:color.dev:
coq_makefile -f Make -o Makefile
make -j4
make install
Installing coq:contrib:color.dev.
</pre></dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</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-old | clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4.dev/contrib:color/dev/2015-01-07_03-53-32.html | HTML | mit | 6,890 |
<!-- 来必力City版安装代码 -->
<div id="lv-container" data-id="city" data-uid="MTAyMC80MDcxOC8xNzI0NA==">
<script type="text/javascript">
(function(d, s) {
var j, e = d.getElementsByTagName(s)[0];
if (typeof LivereTower === 'function') { return; }
j = d.createElement(s);
j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
j.async = true;
e.parentNode.insertBefore(j, e);
})(document, 'script');
</script>
<noscript> 为正常使用来必力评论功能请激活JavaScript</noscript>
</div>
<!-- City版安装代码已完成 -->
| linexjlin/linexjlin.github.io | _includes/livere.html | HTML | mit | 594 |
<!--body content start-->
<!--about audrey -->
<section id= "about-audrey"class="body-content gray-bg" >
<div class="container">
<div class="row page-content">
<div class="post-list-aside">
<div class="post-single">
<div class="col-md-6">
<div class="post-slider post-img text-center">
<ul class="slides">
<li data-thumb="/static/img/post/post-pic1.jpg">
<a href="javascript:;" title="Freshness Photo">
<img src="/static/img/post/post-pic1.jpg" alt="">
</a>
</li>
<li data-thumb="/static/img/post/post-pic2.jpg">
<a href="javascript:;" title="Awesome Lightbox">
<img src="/static/img/post/post-pic2.jpg" alt="">
</a>
</li>
<li data-thumb="/static/img/post/post-pic3.png">
<a href="javascript:;" title="Massive UI Components">
<img src="/static/img/post/post-pic3.png" alt="">
</a>
</li>
<li data-thumb="/static/img/post/post-pic4.jpg">
<a href="javascript:;" title="Massive UI Components">
<img src="/static/img/post/post-pic4.jpg" alt="">
</a>
</li>
</ul>
</div>
</div>
<div class="col-md-6">
<div class="">
<h4 class="text-uppercase">
G'DAY YOGIS
</h4>
<p>
Lid est laborum dolo rumes fugats untras. Etharums ser quidem rerum facilis dolores nemis omnis fugats vitaes nemo minima rerums unsers sadips amets.. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam
rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni
dolores. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt
explicabo.
</p>
<p>
Lid est laborum dolo rumes fugats untras. Etharums ser quidem rerum facilis dolores nemis omnis fugats vitaes nemo minima rerums unsers sadips amets..
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--who i am -->
<section class="body-content">
<!--post-->
<div class="page-content ">
<div class="container">
<div class="row">
<!--post style 4 start-->
<div class="post-list-aside">
<div class="post-single">
<div class="col-md-6">
<div class="post-img m-top-50">
<img src="{{ site.static-image-url }}/audreyprofile.png" alt="" style="border-radius:15px; width:300px; height:250px;">
</div>
</div>
<div class="col-md-6">
<div class="post-desk">
<div class="m-bot-30">
<span class="post-sub-title text-uppercase">who i am </span>
<h4 class="text-uppercase">
I am a traveler yogi
</h4>
</div>
<p>
Phasellus fringilla suscipit risus nec eleifend. Pellentesque eu quam sem, ac malesuada leo sem quam pellente. Awesome sliders give you the opportunity to showcase your content.
</p>
<ul class="m-bot-30 circle-list inline-block">
<li>
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</li>
<li>
Adipisci blanditiis delectus deserunt dolorem
</li>
<li>
Impedit inventore itaque iure libero maiores simso.
</li>
</ul>
<div>
<a href="/yoga/#about-audrey" class="btn btn-small btn-dark-solid "> Read More </a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- timeline-->
<section class="body-content ">
<div class="page-content timeline-parallax-1">
<div class="container">
<div class="row">
<div class="heading-title text-center">
<h3 class="text-uppercase">Timeline </h3>
<span class="text-uppercase">Happy life </span>
</div>
<div class="col-md-12">
<!--time line dark -->
<div class="timeline dark-1">
<article class="timeline-item alt">
<div class="timeline-desk">
<div class="panel">
<div class="panel-body">
<span class="timeline-icon">
<i class="icon-mobile"></i>
</span>
<span class="timeline-date">08:25 am</span>
<h1 class="text-uppercase">1 hour ago</h1>
<p><a href='http://www.freepik.com/free-vector/world-map-blue-template_718596.htm'>Designed by Freepik</a></p>
</div>
</div>
</div>
</article>
<article class="timeline-item ">
<div class="timeline-desk">
<div class="panel">
<div class="panel-body">
<span class="timeline-icon">
<i class="icon-lightbulb"></i>
</span>
<span class="timeline-date">10:00 am</span>
<h1 class="text-uppercase">2 hours ago</h1>
<p>Completed Coffee meeting with <a href="#">Stive Martin</a> regarding the Product Promotion</p>
</div>
</div>
</div>
</article>
<article class="timeline-item alt">
<div class="timeline-desk">
<div class="panel">
<div class="panel-body">
<span class="timeline-icon">
<i class="icon-strategy"></i>
</span>
<span class="timeline-date">11:35 am</span>
<h1 class="text-uppercase">10 hours ago</h1>
<p>3 new photo Uploaded on facebook fan page</p>
</div>
</div>
</div>
</article>
<article class="timeline-item">
<div class="timeline-desk">
<div class="panel">
<div class="panel-body">
<span class="timeline-icon">
<i class="icon-telescope"></i>
</span>
<span class="timeline-date">3:20 pm</span>
<h1 class="text-uppercase">4:30</h1>
<p>Outdoor visit at California State Route 85 with John Boltana & Harry Piterson regarding to setup a new show room.</p>
<p>
<i class=" fa fa-exclamation-sign"></i> New task added for <span><a href="#" >Denial Collins</a></span>
</p>
</div>
</div>
</div>
</article>
</div>
<!--time line dark -->
</div>
</div>
</div>
</section>
<!--skills-->
<section class="body-content"
<div class="row m-bot-80">
<div class="col-md-6">
<div class="">
<p></p>
<p></p>
<p></p>
<h4 class="text-uppercase">
who we are
</h4>
<p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas
sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore
veritatis et quasi architecto beatae vitae dicta sunt explicabo.
</p>
</div>
</div>
<div class="col-md-6">
<p></p>
<p></p>
<p></p>
<h4 class="text-uppercase">
Massive Skills
</h4>
<!-- progress bar start -->
<div class="progress massive-progress">
<div class="progress-bar" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100">
HTML / CSS / JQUERY <span>80%</span>
</div>
</div>
<!-- progress bar end -->
<!-- progress bar start -->
<div class="progress massive-progress">
<div class="progress-bar" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100">
PHOTOSHOP <span>90%</span>
</div>
</div>
<!-- progress bar end -->
<!-- progress bar start -->
<div class="progress massive-progress">
<div class="progress-bar" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
GRAPHIC DESIGN <span>75% </span>
</div>
</div>
<!-- progress bar end -->
<!-- progress bar start -->
<div class="progress massive-progress">
<div class="progress-bar" role="progressbar" aria-valuenow="82" aria-valuemin="0" aria-valuemax="100">
PHP / WORDPRESS <span>82%</span>
</div>
</div>
<!-- progress bar end -->
</div>
</div>
</section>
<section class="body-content">
<img src="/static/img/worldtravel-audrey.png" style=" display: block; width:auto; height: 700px;">
<a href='http://www.freepik.com/free-vector/world-map-blue-template_718596.htm'>Designed by Freepik</a>
</section>
<section class="body-content gray-bg">
<!-- testimonial -->
<div class="page-content">
<div class="container">
<div class="row">
<div class="heading-title text-center">
<h3 class="text-uppercase">Testimonial </h3>
<span class="text-uppercase">Some testimonials examples</span>
</div>
<div id="testimonial-centered"class="col-md-6">
<!--testimonial start -->
<div id="testimonial-4" class="testimonial-alt">
<div class="item">
<div class="content">
<p>
Nam nec dui dolor. Curabitur in laoreet erat. Nam nec dui dolor. Aliquam varius dolor nunc, interdum commodo justoporttitor vitae. Quisque fermentum purus.
</p>
</div>
<div class="testi-auth">
<div class="avatar">
<a href="#">
<img src="/static/img/testimonial/1.jpg" alt="Customer Testimonails">
</a>
</div>
<div class="testimonial-meta">
Kevin Paige
<span>ABC</span>
</div>
</div>
</div>
<div class="item">
<div class="content">
<p>
Nam nec dui dolor. Curabitur in laoreet erat. Nam nec dui dolor. Aliquam varius dolor nunc, interdum commodo justoporttitor vitae. Quisque fermentum purus.
</p>
</div>
<div class="testi-auth">
<div class="avatar">
<a href="#">
<img src="/static/img/testimonial/2.jpg" alt="Customer Testimonails">
</a>
</div>
<div class="testimonial-meta">
John Doe
<span>DEF</span>
</div>
</div>
</div>
<div class="item">
<div class="content">
<p>
Nam nec dui dolor. Curabitur in laoreet erat. Nam nec dui dolor. Aliquam varius dolor nunc, interdum commodo justoporttitor vitae. Quisque fermentum purus.
</p>
</div>
<div class="testi-auth">
<div class="avatar">
<a href="#">
<img src="/static/img/testimonial/3.jpg" alt="Customer Testimonails">
</a>
</div>
<div class="testimonial-meta">
Martin Smith
<span>GEF</span>
</div>
</div>
</div>
</div>
<!--testimonial end-->
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--body content end--> | jordanrancie/jordanrancie.github.io | _includes/yoga/about-audrey.html | HTML | mit | 19,523 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
<title>DataTables example - Ordering plug-ins (with type detection)</title>
<link rel="stylesheet" type="text/css" href="../../media/css/jquery.dataTables.css">
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
<style type="text/css" class="init">
</style>
<script type="text/javascript" language="javascript" src="//code.jquery.com/jquery-1.12.3.min.js">
</script>
<script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js">
</script>
<script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js">
</script>
<script type="text/javascript" language="javascript" src="../resources/demo.js">
</script>
<script type="text/javascript" language="javascript" class="init">
$.fn.dataTable.ext.type.detect.unshift(
function ( d ) {
return d === 'Low' || d === 'Medium' || d === 'High' ?
'salary-grade' :
null;
}
);
$.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
switch ( d ) {
case 'Low': return 1;
case 'Medium': return 2;
case 'High': return 3;
}
return 0;
};
$(document).ready(function() {
$('#example').DataTable();
} );
</script>
</head>
<body class="dt-example">
<div class="container">
<section>
<h1>DataTables example <span>Ordering plug-ins (with type detection)</span></h1>
<div class="info">
<p>Although DataTables will automatically order data from a number of different data types using the built in methods, When dealing with more complex formatted
data, it can be desirable to define the ordering order yourself. Using plug-in ordering functions, you have have DataTables sort data in any manner you wish.</p>
<p>Formatted data of a particular kind can be automatically detected and a suitable ordering plug-in assigned to it by making use of DataTables' plug-in type
detection abilities. For complete information about type detection and ordering plug-ins; creating them and their requirements, please refer to the plug-in
development documentation.</p>
<p>This example shows ordering with using an enumerated type.</p>
<p>A wide variety of ready made ordering plug-ins can be found on <a href="//datatables.net/plug-ins/sorting">the DataTables plug-ins page</a>.</p>
</div>
<table id="example" class="display" cellspacing="0" width="100%">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</tfoot>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
<td>61</td>
<td>2011/04/25</td>
<td>Low</td>
</tr>
<tr>
<td>Garrett Winters</td>
<td>Accountant</td>
<td>Tokyo</td>
<td>63</td>
<td>2011/07/25</td>
<td>Low</td>
</tr>
<tr>
<td>Ashton Cox</td>
<td>Junior Technical Author</td>
<td>San Francisco</td>
<td>66</td>
<td>2009/01/12</td>
<td>Low</td>
</tr>
<tr>
<td>Cedric Kelly</td>
<td>Senior Javascript Developer</td>
<td>Edinburgh</td>
<td>22</td>
<td>2012/03/29</td>
<td>Medium</td>
</tr>
<tr>
<td>Airi Satou</td>
<td>Accountant</td>
<td>Tokyo</td>
<td>33</td>
<td>2008/11/28</td>
<td>Low</td>
</tr>
<tr>
<td>Brielle Williamson</td>
<td>Integration Specialist</td>
<td>New York</td>
<td>61</td>
<td>2012/12/02</td>
<td>Medium</td>
</tr>
<tr>
<td>Herrod Chandler</td>
<td>Sales Assistant</td>
<td>San Francisco</td>
<td>59</td>
<td>2012/08/06</td>
<td>Low</td>
</tr>
<tr>
<td>Rhona Davidson</td>
<td>Integration Specialist</td>
<td>Tokyo</td>
<td>55</td>
<td>2010/10/14</td>
<td>Low</td>
</tr>
<tr>
<td>Colleen Hurst</td>
<td>Javascript Developer</td>
<td>San Francisco</td>
<td>39</td>
<td>2009/09/15</td>
<td>Low</td>
</tr>
<tr>
<td>Sonya Frost</td>
<td>Software Engineer</td>
<td>Edinburgh</td>
<td>23</td>
<td>2008/12/13</td>
<td>Low</td>
</tr>
<tr>
<td>Jena Gaines</td>
<td>Office Manager</td>
<td>London</td>
<td>30</td>
<td>2008/12/19</td>
<td>Low</td>
</tr>
<tr>
<td>Quinn Flynn</td>
<td>Support Lead</td>
<td>Edinburgh</td>
<td>22</td>
<td>2013/03/03</td>
<td>Low</td>
</tr>
<tr>
<td>Charde Marshall</td>
<td>Regional Director</td>
<td>San Francisco</td>
<td>36</td>
<td>2008/10/16</td>
<td>Medium</td>
</tr>
<tr>
<td>Haley Kennedy</td>
<td>Senior Marketing Designer</td>
<td>London</td>
<td>43</td>
<td>2012/12/18</td>
<td>Low</td>
</tr>
<tr>
<td>Tatyana Fitzpatrick</td>
<td>Regional Director</td>
<td>London</td>
<td>19</td>
<td>2010/03/17</td>
<td>Medium</td>
</tr>
<tr>
<td>Michael Silva</td>
<td>Marketing Designer</td>
<td>London</td>
<td>66</td>
<td>2012/11/27</td>
<td>Low</td>
</tr>
<tr>
<td>Paul Byrd</td>
<td>Chief Financial Officer (CFO)</td>
<td>New York</td>
<td>64</td>
<td>2010/06/09</td>
<td>High</td>
</tr>
<tr>
<td>Gloria Little</td>
<td>Systems Administrator</td>
<td>New York</td>
<td>59</td>
<td>2009/04/10</td>
<td>Low</td>
</tr>
<tr>
<td>Bradley Greer</td>
<td>Software Engineer</td>
<td>London</td>
<td>41</td>
<td>2012/10/13</td>
<td>Low</td>
</tr>
<tr>
<td>Dai Rios</td>
<td>Personnel Lead</td>
<td>Edinburgh</td>
<td>35</td>
<td>2012/09/26</td>
<td>Low</td>
</tr>
<tr>
<td>Jenette Caldwell</td>
<td>Development Lead</td>
<td>New York</td>
<td>30</td>
<td>2011/09/03</td>
<td>Low</td>
</tr>
<tr>
<td>Yuri Berry</td>
<td>Chief Marketing Officer (CMO)</td>
<td>New York</td>
<td>40</td>
<td>2009/06/25</td>
<td>High</td>
</tr>
<tr>
<td>Caesar Vance</td>
<td>Pre-Sales Support</td>
<td>New York</td>
<td>21</td>
<td>2011/12/12</td>
<td>Low</td>
</tr>
<tr>
<td>Doris Wilder</td>
<td>Sales Assistant</td>
<td>Sidney</td>
<td>23</td>
<td>2010/09/20</td>
<td>Low</td>
</tr>
<tr>
<td>Angelica Ramos</td>
<td>Chief Executive Officer (CEO)</td>
<td>London</td>
<td>47</td>
<td>2009/10/09</td>
<td>High</td>
</tr>
<tr>
<td>Gavin Joyce</td>
<td>Developer</td>
<td>Edinburgh</td>
<td>42</td>
<td>2010/12/22</td>
<td>Low</td>
</tr>
<tr>
<td>Jennifer Chang</td>
<td>Regional Director</td>
<td>Singapore</td>
<td>28</td>
<td>2010/11/14</td>
<td>Medium</td>
</tr>
<tr>
<td>Brenden Wagner</td>
<td>Software Engineer</td>
<td>San Francisco</td>
<td>28</td>
<td>2011/06/07</td>
<td>Low</td>
</tr>
<tr>
<td>Fiona Green</td>
<td>Chief Operating Officer (COO)</td>
<td>San Francisco</td>
<td>48</td>
<td>2010/03/11</td>
<td>High</td>
</tr>
<tr>
<td>Shou Itou</td>
<td>Regional Marketing</td>
<td>Tokyo</td>
<td>20</td>
<td>2011/08/14</td>
<td>Low</td>
</tr>
<tr>
<td>Michelle House</td>
<td>Integration Specialist</td>
<td>Sidney</td>
<td>37</td>
<td>2011/06/02</td>
<td>Low</td>
</tr>
<tr>
<td>Suki Burks</td>
<td>Developer</td>
<td>London</td>
<td>53</td>
<td>2009/10/22</td>
<td>Low</td>
</tr>
<tr>
<td>Prescott Bartlett</td>
<td>Technical Author</td>
<td>London</td>
<td>27</td>
<td>2011/05/07</td>
<td>Low</td>
</tr>
<tr>
<td>Gavin Cortez</td>
<td>Team Leader</td>
<td>San Francisco</td>
<td>22</td>
<td>2008/10/26</td>
<td>Low</td>
</tr>
<tr>
<td>Martena Mccray</td>
<td>Post-Sales support</td>
<td>Edinburgh</td>
<td>46</td>
<td>2011/03/09</td>
<td>Low</td>
</tr>
<tr>
<td>Unity Butler</td>
<td>Marketing Designer</td>
<td>San Francisco</td>
<td>47</td>
<td>2009/12/09</td>
<td>Low</td>
</tr>
<tr>
<td>Howard Hatfield</td>
<td>Office Manager</td>
<td>San Francisco</td>
<td>51</td>
<td>2008/12/16</td>
<td>Low</td>
</tr>
<tr>
<td>Hope Fuentes</td>
<td>Secretary</td>
<td>San Francisco</td>
<td>41</td>
<td>2010/02/12</td>
<td>Low</td>
</tr>
<tr>
<td>Vivian Harrell</td>
<td>Financial Controller</td>
<td>San Francisco</td>
<td>62</td>
<td>2009/02/14</td>
<td>Medium</td>
</tr>
<tr>
<td>Timothy Mooney</td>
<td>Office Manager</td>
<td>London</td>
<td>37</td>
<td>2008/12/11</td>
<td>Low</td>
</tr>
<tr>
<td>Jackson Bradshaw</td>
<td>Director</td>
<td>New York</td>
<td>65</td>
<td>2008/09/26</td>
<td>Medium</td>
</tr>
<tr>
<td>Olivia Liang</td>
<td>Support Engineer</td>
<td>Singapore</td>
<td>64</td>
<td>2011/02/03</td>
<td>Low</td>
</tr>
<tr>
<td>Bruno Nash</td>
<td>Software Engineer</td>
<td>London</td>
<td>38</td>
<td>2011/05/03</td>
<td>Low</td>
</tr>
<tr>
<td>Sakura Yamamoto</td>
<td>Support Engineer</td>
<td>Tokyo</td>
<td>37</td>
<td>2009/08/19</td>
<td>Low</td>
</tr>
<tr>
<td>Thor Walton</td>
<td>Developer</td>
<td>New York</td>
<td>61</td>
<td>2013/08/11</td>
<td>Low</td>
</tr>
<tr>
<td>Finn Camacho</td>
<td>Support Engineer</td>
<td>San Francisco</td>
<td>47</td>
<td>2009/07/07</td>
<td>Low</td>
</tr>
<tr>
<td>Serge Baldwin</td>
<td>Data Coordinator</td>
<td>Singapore</td>
<td>64</td>
<td>2012/04/09</td>
<td>Low</td>
</tr>
<tr>
<td>Zenaida Frank</td>
<td>Software Engineer</td>
<td>New York</td>
<td>63</td>
<td>2010/01/04</td>
<td>Low</td>
</tr>
<tr>
<td>Zorita Serrano</td>
<td>Software Engineer</td>
<td>San Francisco</td>
<td>56</td>
<td>2012/06/01</td>
<td>Low</td>
</tr>
<tr>
<td>Jennifer Acosta</td>
<td>Junior Javascript Developer</td>
<td>Edinburgh</td>
<td>43</td>
<td>2013/02/01</td>
<td>Low</td>
</tr>
<tr>
<td>Cara Stevens</td>
<td>Sales Assistant</td>
<td>New York</td>
<td>46</td>
<td>2011/12/06</td>
<td>Low</td>
</tr>
<tr>
<td>Hermione Butler</td>
<td>Regional Director</td>
<td>London</td>
<td>47</td>
<td>2011/03/21</td>
<td>Medium</td>
</tr>
<tr>
<td>Lael Greer</td>
<td>Systems Administrator</td>
<td>London</td>
<td>21</td>
<td>2009/02/27</td>
<td>Low</td>
</tr>
<tr>
<td>Jonas Alexander</td>
<td>Developer</td>
<td>San Francisco</td>
<td>30</td>
<td>2010/07/14</td>
<td>Low</td>
</tr>
<tr>
<td>Shad Decker</td>
<td>Regional Director</td>
<td>Edinburgh</td>
<td>51</td>
<td>2008/11/13</td>
<td>Low</td>
</tr>
<tr>
<td>Michael Bruce</td>
<td>Javascript Developer</td>
<td>Singapore</td>
<td>29</td>
<td>2011/06/27</td>
<td>Low</td>
</tr>
<tr>
<td>Donna Snider</td>
<td>Customer Support</td>
<td>New York</td>
<td>27</td>
<td>2011/01/25</td>
<td>Low</td>
</tr>
</tbody>
</table>
<ul class="tabs">
<li class="active">Javascript</li>
<li>HTML</li>
<li>CSS</li>
<li>Ajax</li>
<li>Server-side script</li>
</ul>
<div class="tabs">
<div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$.fn.dataTable.ext.type.detect.unshift(
function ( d ) {
return d === 'Low' || d === 'Medium' || d === 'High' ?
'salary-grade' :
null;
}
);
$.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
switch ( d ) {
case 'Low': return 1;
case 'Medium': return 2;
case 'High': return 3;
}
return 0;
};
$(document).ready(function() {
$('#example').DataTable();
} );</code>
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
<ul>
<li>
<a href="//code.jquery.com/jquery-1.12.3.min.js">//code.jquery.com/jquery-1.12.3.min.js</a>
</li>
<li>
<a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a>
</li>
</ul>
</div>
<div class="table">
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
</div>
<div class="css">
<div>
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
additional CSS used is shown below:</p><code class="multiline language-css"></code>
</div>
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
<ul>
<li>
<a href="../../media/css/jquery.dataTables.css">../../media/css/jquery.dataTables.css</a>
</li>
</ul>
</div>
<div class="ajax">
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
loaded.</p>
</div>
<div class="php">
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
documentation</a>.</p>
</div>
</div>
</section>
</div>
<section>
<div class="footer">
<div class="gradient"></div>
<div class="liner">
<h2>Other examples</h2>
<div class="toc">
<div class="toc-group">
<h3><a href="../basic_init/index.html">Basic initialisation</a></h3>
<ul class="toc">
<li>
<a href="../basic_init/zero_configuration.html">Zero configuration</a>
</li>
<li>
<a href="../basic_init/filter_only.html">Feature enable / disable</a>
</li>
<li>
<a href="../basic_init/table_sorting.html">Default ordering (sorting)</a>
</li>
<li>
<a href="../basic_init/multi_col_sort.html">Multi-column ordering</a>
</li>
<li>
<a href="../basic_init/multiple_tables.html">Multiple tables</a>
</li>
<li>
<a href="../basic_init/hidden_columns.html">Hidden columns</a>
</li>
<li>
<a href="../basic_init/complex_header.html">Complex headers (rowspan and colspan)</a>
</li>
<li>
<a href="../basic_init/dom.html">DOM positioning</a>
</li>
<li>
<a href="../basic_init/flexible_width.html">Flexible table width</a>
</li>
<li>
<a href="../basic_init/state_save.html">State saving</a>
</li>
<li>
<a href="../basic_init/alt_pagination.html">Alternative pagination</a>
</li>
<li>
<a href="../basic_init/scroll_y.html">Scroll - vertical</a>
</li>
<li>
<a href="../basic_init/scroll_y_dynamic.html">Scroll - vertical, dynamic height</a>
</li>
<li>
<a href="../basic_init/scroll_x.html">Scroll - horizontal</a>
</li>
<li>
<a href="../basic_init/scroll_xy.html">Scroll - horizontal and vertical</a>
</li>
<li>
<a href="../basic_init/comma-decimal.html">Language - Comma decimal place</a>
</li>
<li>
<a href="../basic_init/language.html">Language options</a>
</li>
</ul>
</div>
<div class="toc-group">
<h3><a href="../advanced_init/index.html">Advanced initialisation</a></h3>
<ul class="toc">
<li>
<a href="../advanced_init/events_live.html">DOM / jQuery events</a>
</li>
<li>
<a href="../advanced_init/dt_events.html">DataTables events</a>
</li>
<li>
<a href="../advanced_init/column_render.html">Column rendering</a>
</li>
<li>
<a href="../advanced_init/length_menu.html">Page length options</a>
</li>
<li>
<a href="../advanced_init/dom_multiple_elements.html">Multiple table control elements</a>
</li>
<li>
<a href="../advanced_init/complex_header.html">Complex headers with column visibility</a>
</li>
<li>
<a href="../advanced_init/object_dom_read.html">Read HTML to data objects</a>
</li>
<li>
<a href="../advanced_init/html5-data-options.html">HTML5 data-* attributes - table options</a>
</li>
<li>
<a href="../advanced_init/html5-data-attributes.html">HTML5 data-* attributes - cell data</a>
</li>
<li>
<a href="../advanced_init/language_file.html">Language file</a>
</li>
<li>
<a href="../advanced_init/defaults.html">Setting defaults</a>
</li>
<li>
<a href="../advanced_init/row_callback.html">Row created callback</a>
</li>
<li>
<a href="../advanced_init/row_grouping.html">Row grouping</a>
</li>
<li>
<a href="../advanced_init/footer_callback.html">Footer callback</a>
</li>
<li>
<a href="../advanced_init/dom_toolbar.html">Custom toolbar elements</a>
</li>
<li>
<a href="../advanced_init/sort_direction_control.html">Order direction sequence control</a>
</li>
</ul>
</div>
<div class="toc-group">
<h3><a href="../styling/index.html">Styling</a></h3>
<ul class="toc">
<li>
<a href="../styling/display.html">Base style</a>
</li>
<li>
<a href="../styling/no-classes.html">Base style - no styling classes</a>
</li>
<li>
<a href="../styling/cell-border.html">Base style - cell borders</a>
</li>
<li>
<a href="../styling/compact.html">Base style - compact</a>
</li>
<li>
<a href="../styling/hover.html">Base style - hover</a>
</li>
<li>
<a href="../styling/order-column.html">Base style - order-column</a>
</li>
<li>
<a href="../styling/row-border.html">Base style - row borders</a>
</li>
<li>
<a href="../styling/stripe.html">Base style - stripe</a>
</li>
<li>
<a href="../styling/bootstrap.html">Bootstrap 3</a>
</li>
<li>
<a href="../styling/foundation.html">Foundation</a>
</li>
<li>
<a href="../styling/jqueryUI.html">jQuery UI ThemeRoller</a>
</li>
<li>
<a href="../styling/bootstrap4.html">Bootstrap 4 (Tech. preview)</a>
</li>
<li>
<a href="../styling/semanticui.html">Semantic UI (Tech. preview)</a>
</li>
<li>
<a href="../styling/material.html">Material Design (Tech. preview)</a>
</li>
<li>
<a href="../styling/uikit.html">UIKit (Tech. preview)</a>
</li>
</ul>
</div>
<div class="toc-group">
<h3><a href="../data_sources/index.html">Data sources</a></h3>
<ul class="toc">
<li>
<a href="../data_sources/dom.html">HTML (DOM) sourced data</a>
</li>
<li>
<a href="../data_sources/ajax.html">Ajax sourced data</a>
</li>
<li>
<a href="../data_sources/js_array.html">Javascript sourced data</a>
</li>
<li>
<a href="../data_sources/server_side.html">Server-side processing</a>
</li>
</ul>
</div>
<div class="toc-group">
<h3><a href="../api/index.html">API</a></h3>
<ul class="toc">
<li>
<a href="../api/add_row.html">Add rows</a>
</li>
<li>
<a href="../api/multi_filter.html">Individual column searching (text inputs)</a>
</li>
<li>
<a href="../api/multi_filter_select.html">Individual column searching (select inputs)</a>
</li>
<li>
<a href="../api/highlight.html">Highlighting rows and columns</a>
</li>
<li>
<a href="../api/row_details.html">Child rows (show extra / detailed information)</a>
</li>
<li>
<a href="../api/select_row.html">Row selection (multiple rows)</a>
</li>
<li>
<a href="../api/select_single_row.html">Row selection and deletion (single row)</a>
</li>
<li>
<a href="../api/form.html">Form inputs</a>
</li>
<li>
<a href="../api/counter_columns.html">Index column</a>
</li>
<li>
<a href="../api/show_hide.html">Show / hide columns dynamically</a>
</li>
<li>
<a href="../api/api_in_init.html">Using API in callbacks</a>
</li>
<li>
<a href="../api/tabs_and_scrolling.html">Scrolling and Bootstrap tabs</a>
</li>
<li>
<a href="../api/regex.html">Search API (regular expressions)</a>
</li>
</ul>
</div>
<div class="toc-group">
<h3><a href="../ajax/index.html">Ajax</a></h3>
<ul class="toc">
<li>
<a href="../ajax/simple.html">Ajax data source (arrays)</a>
</li>
<li>
<a href="../ajax/objects.html">Ajax data source (objects)</a>
</li>
<li>
<a href="../ajax/deep.html">Nested object data (objects)</a>
</li>
<li>
<a href="../ajax/objects_subarrays.html">Nested object data (arrays)</a>
</li>
<li>
<a href="../ajax/orthogonal-data.html">Orthogonal data</a>
</li>
<li>
<a href="../ajax/null_data_source.html">Generated content for a column</a>
</li>
<li>
<a href="../ajax/custom_data_property.html">Custom data source property</a>
</li>
<li>
<a href="../ajax/custom_data_flat.html">Flat array data source</a>
</li>
<li>
<a href="../ajax/defer_render.html">Deferred rendering for speed</a>
</li>
</ul>
</div>
<div class="toc-group">
<h3><a href="../server_side/index.html">Server-side</a></h3>
<ul class="toc">
<li>
<a href="../server_side/simple.html">Server-side processing</a>
</li>
<li>
<a href="../server_side/custom_vars.html">Custom HTTP variables</a>
</li>
<li>
<a href="../server_side/post.html">POST data</a>
</li>
<li>
<a href="../server_side/ids.html">Automatic addition of row ID attributes</a>
</li>
<li>
<a href="../server_side/object_data.html">Object data source</a>
</li>
<li>
<a href="../server_side/row_details.html">Row details</a>
</li>
<li>
<a href="../server_side/select_rows.html">Row selection</a>
</li>
<li>
<a href="../server_side/jsonp.html">JSONP data source for remote domains</a>
</li>
<li>
<a href="../server_side/defer_loading.html">Deferred loading of data</a>
</li>
<li>
<a href="../server_side/pipeline.html">Pipelining data to reduce Ajax calls for paging</a>
</li>
</ul>
</div>
<div class="toc-group">
<h3><a href="./index.html">Plug-ins</a></h3>
<ul class="toc active">
<li>
<a href="./api.html">API plug-in methods</a>
</li>
<li class="active">
<a href="./sorting_auto.html">Ordering plug-ins (with type detection)</a>
</li>
<li>
<a href="./sorting_manual.html">Ordering plug-ins (no type detection)</a>
</li>
<li>
<a href="./range_filtering.html">Custom filtering - range search</a>
</li>
<li>
<a href="./dom_sort.html">Live DOM ordering</a>
</li>
</ul>
</div>
</div>
<div class="epilogue">
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
Additionally, there are a wide range of <a href="http://www.datatables.net/extensions">extensions</a> and <a href=
"http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.</p>
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2016<br>
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
</div>
</div>
</div>
</section>
</body>
</html> | dialv/tesisControl | src/tesisControl/tesisBundle/Resources/public/DataTables-1.10.12/examples/plug-ins/sorting_auto.html | HTML | mit | 27,122 |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- this tag is necessary to use the emulator -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="stylesheet.css">
<title>Responsive Design and Fluid Layouts</title>
</head>
<body>
<div id="wrapper">
<div id="header">
HEADER with some other stuff written along the top
</div>
<div id="container">
<div id="side-a">
<ul>
<li><a href="#"> Home </a></li>
<li><a href="#"> Profile </a></li>
<li><a href="#"> Stuff </a></li>
<li><a href="#"> Pictures </a></li>
</ul>
</div>
<div id="content">
<img src='http://placekitten.com/g/800/300'>
<p>Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic.
Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.
</p>
<img src='http://placekitten.com/g/800/300'>
<p>Beetroot water spinach okra water chestnut ricebean pea catsear courgette summer purslane. Water spinach arugula pea tatsoi aubergine spring onion bush tomato kale radicchio turnip chicory salsify pea sprouts fava bean. Dandelion zucchini burdock yarrow chickpea dandelion sorrel courgette turnip greens tigernut soybean radish artichoke wattle seed endive groundnut broccoli arugula.
</p>
<div class="reflection">
<h2>My Reflection</h2>
<p><span class="inline_title">My Reflection:</span>I really enjoyed learning about responsive web design, although I feel as though I have only scratched the surface. I would love to get better at it. I'm still not sure that I am using CSS media queries properly or that I understand the best practices of setting up the CSS.</p>
<p>This was a pairing challenge. We initially misunderstood the directions. I didn't understand that we were supposed to create a page that toggled in and out of two states, meaning that the nav bar would move when the browser window was shrunk to a certain width, and so forth. Instead, we implemented the changes in the main part of the CSS. We also got stuck on how to use CSS media queries, even after googling together. We ended up not finishing the challenge, but then working independently later in the day before getting back together on chat in the evening. My pair was lovely to work with and I felt like we were really collaborating during the initial hangout, so that was good.</p>
<p>Some notes on pairing: I've identified this as an area where I need improvement. I need to get better at working through ideas WITH my pair, and fighting the urge to just table issues to go back to them later on my own. I need to work on not being afraid to show that I don't know things, and have more confidence in the things I do know. My tendency is to go back and revisit the work on my own, because I feel like this is the best way I learn. I plan on doing some research on pair programming in the coming weeks, and maybe also practicing thinking through things out loud when I am working by myself.</p>
<p>I didn't discover the emulator in dev tools until after we had finished. I had a lot of trouble setting it up but once I did, I thought it was the coolest thing ever.
</div>
</div>
</div>
<div id="footer">
FOOTER
</div>
</div>
</body>
</html>
| valeriesmith/valeriesmith.github.io | week-2-challenge-5/starting-point.html | HTML | mit | 3,570 |
<div class="profile">
<section id="wrapper">
<header id="header">
{% if site.aboutPage %}
<a href="{{ site.baseurl }}/about">
<img id="avatar" class="2x" src="{{ "/assets/images/avatar.png" | prepend: site.baseurl }}"/>
</a>
{% else %}
<img id="avatar" class="2x" src="{{ "/assets/images/avatar.png" | prepend: site.baseurl }}"/>
{% endif %}
<h1>{{ site.author }}</h1>
<h2>{{ site.description }}</h2>
</header>
</section>
</div>
| itsdn/kactus | _includes/profile.html | HTML | mit | 505 |
<div class="panel-heading row">
<h3 class="panel-title text-center">Best Variety Show</h3>
</div>
<div class="panel-body">
<ul class="list-group">
<li class="list-group-item">
<div class="radio">
<label>
<input type="radio" name="BestVarietyShow" ng-model="vm.varietyShow" value="Showtime (ABS-CBN)" ng-change='vm.ngWatchVarietyShow( vm.varietyShow )'/>Showtime (ABS-CBN)
</label>
</div>
</li>
<li class="list-group-item">
<div class="radio">
<label>
<input type="radio" name="BestVarietyShow" ng-model="vm.varietyShow" value="Eat Bulaga (GMA)" ng-change='vm.ngWatchVarietyShow( vm.varietyShow )'/>Eat Bulaga (GMA)
</label>
</div>
</li>
</ul>
</div>
| caninojories/jrc_admin | front-end/views/paragalaQuestions/questionnaire/thirteen.html | HTML | mit | 749 |
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://www.dropbox.com/request/gaLlPaZ3avkMlWcikmdr">
<link rel="canonical" href="https://www.dropbox.com/request/gaLlPaZ3avkMlWcikmdr" />
</head>
</html>
| Visgean/blog | requests.html | HTML | mit | 223 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>/home/pavm/programming/lib/gft/include/gft_matrix.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#namespaces">Namespaces</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">gft_matrix.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include "<a class="el" href="gft__common_8h_source.html">gft_common.h</a>"</code><br/>
<code>#include "<a class="el" href="gft__image32_8h_source.html">gft_image32.h</a>"</code><br/>
</div>
<p><a href="gft__matrix_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structgft_1_1Matrix_1_1__matrix.html">gft::Matrix::_matrix</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegft"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft.html">gft</a></td></tr>
<tr class="memdesc:namespacegft"><td class="mdescLeft"> </td><td class="mdescRight">Base namespace for common definitions and prototypes. <br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:namespacegft_1_1Matrix"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html">gft::Matrix</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aac4dc9ea9c8dc9abade70a84fbea7939"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structgft_1_1Matrix_1_1__matrix.html">gft::Matrix::_matrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aac4dc9ea9c8dc9abade70a84fbea7939">gft::Matrix::Matrix</a></td></tr>
<tr class="separator:aac4dc9ea9c8dc9abade70a84fbea7939"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae6a2a044a2d14349592a86c7c6818617"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ae6a2a044a2d14349592a86c7c6818617">gft::Matrix::Create</a> (int ncols, int nrows)</td></tr>
<tr class="separator:ae6a2a044a2d14349592a86c7c6818617"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3cb60e1ef34405968cd04d0749309cae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a3cb60e1ef34405968cd04d0749309cae">gft::Matrix::Destroy</a> (Matrix **mat)</td></tr>
<tr class="separator:a3cb60e1ef34405968cd04d0749309cae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a260d70969b2b5d491db627a0f37c840e"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a260d70969b2b5d491db627a0f37c840e">gft::Matrix::Clone</a> (Matrix *mat)</td></tr>
<tr class="separator:a260d70969b2b5d491db627a0f37c840e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f9aec9897cada536ccc04375bb41de6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a6f9aec9897cada536ccc04375bb41de6">gft::Matrix::Copy</a> (Matrix *dest, Matrix *src)</td></tr>
<tr class="separator:a6f9aec9897cada536ccc04375bb41de6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a35846f5ffcd9e19e3958681e4e399bb7"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a35846f5ffcd9e19e3958681e4e399bb7">gft::Matrix::Invert</a> (Matrix *A)</td></tr>
<tr class="separator:a35846f5ffcd9e19e3958681e4e399bb7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb597972edec29ec6aa64603b30663a7"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#afb597972edec29ec6aa64603b30663a7">gft::Matrix::Transpose</a> (Matrix *A)</td></tr>
<tr class="separator:afb597972edec29ec6aa64603b30663a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0d1066ccb59072a0577e3ca9c68fb5ae"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a0d1066ccb59072a0577e3ca9c68fb5ae">gft::Matrix::Mult</a> (Matrix *A, Matrix *B)</td></tr>
<tr class="separator:a0d1066ccb59072a0577e3ca9c68fb5ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad68411dccb25c13df2a15bde1b075511"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ad68411dccb25c13df2a15bde1b075511">gft::Matrix::MultByScalar</a> (Matrix *A, float k)</td></tr>
<tr class="separator:ad68411dccb25c13df2a15bde1b075511"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa0eb01485f2ee434e78d6e8187afe13d"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aa0eb01485f2ee434e78d6e8187afe13d">gft::Matrix::Sub</a> (Matrix *A, Matrix *B)</td></tr>
<tr class="separator:aa0eb01485f2ee434e78d6e8187afe13d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a6b0a2470987697fe14353484672aea"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a4a6b0a2470987697fe14353484672aea">gft::Matrix::Add</a> (Matrix *A, Matrix *B)</td></tr>
<tr class="separator:a4a6b0a2470987697fe14353484672aea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ed2b387eef5ab3335c6a23050225355"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a9ed2b387eef5ab3335c6a23050225355">gft::Matrix::GetTrace</a> (Matrix *M)</td></tr>
<tr class="separator:a9ed2b387eef5ab3335c6a23050225355"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada9e9fba8fee3797821a84cd4c574ed1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ada9e9fba8fee3797821a84cd4c574ed1">gft::Matrix::Print</a> (Matrix *M)</td></tr>
<tr class="separator:ada9e9fba8fee3797821a84cd4c574ed1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8a4a23e3bb76f54412a6a254e63f6cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ab8a4a23e3bb76f54412a6a254e63f6cd">gft::Matrix::PrintDimension</a> (Matrix *M)</td></tr>
<tr class="separator:ab8a4a23e3bb76f54412a6a254e63f6cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ccc9b1d85321f55f60ad2de8afcea03"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a7ccc9b1d85321f55f60ad2de8afcea03">gft::Matrix::ComputeDistanceL2</a> (Matrix *Y, Matrix *X)</td></tr>
<tr class="separator:a7ccc9b1d85321f55f60ad2de8afcea03"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abda1b97e822504017275cb46f3e702ec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#abda1b97e822504017275cb46f3e702ec">gft::Matrix::Fill</a> (Matrix *M, float value)</td></tr>
<tr class="separator:abda1b97e822504017275cb46f3e702ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aba52e5904870a4e515a8516864ea1f02"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aba52e5904870a4e515a8516864ea1f02">gft::Matrix::ChangeValue</a> (Matrix *M, float old_value, float new_value)</td></tr>
<tr class="separator:aba52e5904870a4e515a8516864ea1f02"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab48b98d11734286a7b9066253460aa2e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ab48b98d11734286a7b9066253460aa2e">gft::Matrix::IsValidEntry</a> (Matrix *M, int i, int j)</td></tr>
<tr class="separator:ab48b98d11734286a7b9066253460aa2e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a723e5bc1d8a1d76372cfa52f7097c6fa"><td class="memItemLeft" align="right" valign="top">Image32::Image32 * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a723e5bc1d8a1d76372cfa52f7097c6fa">gft::Matrix::Convert2Image</a> (Matrix *M)</td></tr>
<tr class="separator:a723e5bc1d8a1d76372cfa52f7097c6fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ac0577e95b5b062f96501e9d470ca0b"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a5ac0577e95b5b062f96501e9d470ca0b">gft::Matrix::Read</a> (char *filename)</td></tr>
<tr class="separator:a5ac0577e95b5b062f96501e9d470ca0b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abcf44518e519452765be89bfe38e9ba2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#abcf44518e519452765be89bfe38e9ba2">gft::Matrix::Write</a> (Matrix *M, char *filename)</td></tr>
<tr class="separator:abcf44518e519452765be89bfe38e9ba2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c79e498a23a2769eea14de3addbbc78"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a0c79e498a23a2769eea14de3addbbc78">gft::Matrix::GetMinimumValue</a> (Matrix *M)</td></tr>
<tr class="separator:a0c79e498a23a2769eea14de3addbbc78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47e3aeb2a3ea13db9551eda65f3230ff"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a47e3aeb2a3ea13db9551eda65f3230ff">gft::Matrix::GetMaximumValue</a> (Matrix *M)</td></tr>
<tr class="separator:a47e3aeb2a3ea13db9551eda65f3230ff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb27ac9716ff7edc884741481d125da5"><td class="memItemLeft" align="right" valign="top">Image32::Image32 * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aeb27ac9716ff7edc884741481d125da5">gft::Matrix::Threshold</a> (Matrix *M, float lower, float higher)</td></tr>
<tr class="separator:aeb27ac9716ff7edc884741481d125da5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9329f1fa07d1f1eeab81e1991ad6eea4"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a9329f1fa07d1f1eeab81e1991ad6eea4">gft::Matrix::RotationMatrix3</a> (int axis, float th)</td></tr>
<tr class="separator:a9329f1fa07d1f1eeab81e1991ad6eea4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af29dec6cfd7cb57b50e3b16b9cd4652d"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#af29dec6cfd7cb57b50e3b16b9cd4652d">gft::Matrix::TranslationMatrix3</a> (float dx, float dy, float dz)</td></tr>
<tr class="separator:af29dec6cfd7cb57b50e3b16b9cd4652d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefbf44b7059c7c386f0f7c85e22207be"><td class="memItemLeft" align="right" valign="top">Matrix * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aefbf44b7059c7c386f0f7c85e22207be">gft::Matrix::TransformVoxel</a> (Matrix *m, <a class="el" href="namespacegft.html#a16db894075bb714f877a3c5733772db6">gft::Voxel</a> v)</td></tr>
<tr class="separator:aefbf44b7059c7c386f0f7c85e22207be"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 25 2015 10:27:50 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
| ademirtc/bandeirantes | lib/gft/doc/html/gft__matrix_8h.html | HTML | mit | 15,521 |
<HTML>
<HEAD>
<TITLE>
ZCL_WB_VIEW
</TITLE>
<link rel="stylesheet" type="text/css" href="css/style_class.css" />
<link rel="stylesheet" type="text/css" href="css/style_function_groups.css" />
<link rel="stylesheet" type="text/css" href="css/style_object_list.css" />
</HEAD>
<BODY>
<H1>ZCL_WB_VIEW</H1>
<BR/>
Description:
Database View
<BR/>
Visibility:
Public
<BR/>
<H2>Attributes: </H2>
<TABLE width="100%">
<TR class="top">
<TD>Name</TD>
<TD>Level</TD>
<TD>Visibility</TD>
<TD>Read-Only</TD>
<TD>Typing</TD>
<TD>Associated Type</TD>
<TD>Description</TD>
<TD>Initial Value</TD>
</TR>
<TR>
<TD>NAME</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>DDOBJNAME</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>STATE</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>DDOBJSTATE</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>LANGU</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>SY-LANGU</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>GOTSTATE</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>DDGOTSTATE</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>DD25V_WA</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>DD25V</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>DD09L_WA</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>DD09V</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>DD26V_TAB</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>TY_TT_DD26V</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>DD27P_TAB</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>TY_TT_DD27P</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>DD28J_TAB</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>TY_TT_DD28J</TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD>DD28V_TAB</TD>
<TD>Instance Attribute</TD>
<TD>Public</TD>
<TD>Yes</TD>
<TD>Type</TD>
<TD>TY_TT_DD28V</TD>
<TD></TD>
<TD></TD>
</TR>
</TABLE>
<H2>Events: </H2>
<BR/>
</BODY>
</HTML>
| fabiopagoti/WB-Objects | last_release/abapdoc/ZWB_OBJECTS/ZCL_WB_VIEW.html | HTML | mit | 2,154 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>doc</title>
<style>
/*github.com style (c) Vasily Polovnyov <[email protected]>*/
pre code {
display: block; padding: 0.5em;
color: #333;
background: #f8f8ff
}
pre .comment,
pre .template_comment,
pre .diff .header,
pre .javadoc {
color: #998;
font-style: italic
}
pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .nginx .title,
pre .subst,
pre .request,
pre .status {
color: #333;
font-weight: bold
}
pre .number,
pre .hexcolor,
pre .ruby .constant {
color: #099;
}
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula {
color: #d14
}
pre .title,
pre .id {
color: #900;
font-weight: bold
}
pre .javascript .title,
pre .lisp .title,
pre .clojure .title,
pre .subst {
font-weight: normal
}
pre .class .title,
pre .haskell .type,
pre .vhdl .literal,
pre .tex .command {
color: #458;
font-weight: bold
}
pre .tag,
pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
color: #000080;
font-weight: normal
}
pre .attribute,
pre .variable,
pre .lisp .body {
color: #008080
}
pre .regexp {
color: #009926
}
pre .class {
color: #458;
font-weight: bold
}
pre .symbol,
pre .ruby .symbol .string,
pre .lisp .keyword,
pre .tex .special,
pre .prompt {
color: #990073
}
pre .built_in,
pre .lisp .title,
pre .clojure .built_in {
color: #0086b3
}
pre .preprocessor,
pre .pi,
pre .doctype,
pre .shebang,
pre .cdata {
color: #999;
font-weight: bold
}
pre .deletion {
background: #fdd
}
pre .addition {
background: #dfd
}
pre .diff .change {
background: #0086b3
}
pre .chunk {
color: #aaa
}
</style>
</head>
<body>
<p>This is a mix-and-match set of utilities that you can use to write test
harnesses and frameworks that communicate with one another using the
Test Anything Protocol.</p>
<p>If you don't yet know what TAP is, <a href="http://testanything.org/">you better ask
somebody</a>.</p>
<p>Default Usage:</p>
<ol>
<li>Make a directory. Maybe call it 'test'. That'd be nice and obvious.</li>
<li>Put a bunch of test scripts in there. If they're node programs, then
they should be ".js". Anything else is assumed to be some kind of shell
script, which should have a shebang line.</li>
<li><code>npm install tap</code></li>
<li>Update package.json scripts.test to include <code>tap ./test</code> <a href="https://gist.github.com/4469613">example
gist</a></li>
<li><code>npm test</code></li>
</ol>
<p>The output will be TAP-compliant.</p>
<p>For extra special bonus points, you can do something like this:</p>
<pre><code>var test = require("tap").test
test("make sure the thingie is a thing", function (t) {
t.equal(thingie, "thing", "thingie should be thing")
t.deepEqual(array, ["foo", "bar"], "array has foo and bar elements")
t.deepEqual(object, {foo: 42}, "object has foo property")
t.type(thingie, "string", "type of thingie is string")
t.ok(true, "this is always true")
t.notOk(false, "this is never true")
t.test("a child test", function (t) {
t.equal(this, superEasy, "right!?")
t.similar(7, 2, "ever notice 7 is kinda like 2?", {todo: true})
t.test("so skippable", {skip: true}, function (t) {
t.plan(1) // only one test in this block
t.ok(true, "but when the flag changes, it'll pass")
// no need to end, since we had a plan.
})
t.end()
})
t.ok(99, "can also skip individual assertions", {skip: true})
// end lets it know it's over.
t.end()
})
test("another one", function (t) {
t.plan(1)
t.ok(true, "It's ok to plan, and also end. Watch.")
t.end() // but it must match the plan!
})</code></pre>
<p>Node-tap is actually a collection of several modules, any of which may be
mixed and matched however you please.</p>
<p>If you don't like this test framework, and think you can do much much
better, <em>I strongly encourage you to do so!</em> If you use this library,
however, at least to output TAP-compliant results when <code>process.env.TAP</code>
is set, then the data coming out of your framework will be much more
consumable by machines.</p>
<p>You can also use this to build programs that <em>consume</em> the TAP data, so
this is very useful for CI systems and such.</p>
<ul>
<li>tap-assert: A collection of assert functions that return TAP result
objects.</li>
<li>tap-consumer: A stream interface for consuming TAP data.</li>
<li>tap-producer: A class that produces a TAP stream by taking in result
objects.</li>
<li>tap-results: A class for keeping track of TAP result objects as they
pass by, counting up skips, passes, fails, and so on.</li>
<li>tap-runner: A program that runs through a directory running all the
tests in it. (Tests which may or may not be TAP-outputting tests. But
it's better if they are.)</li>
<li>tap-test: A class for actually running tests.</li>
<li>tap-harness: A class that runs tests. (Tests are also Harnesses,
which is how sub-tests run.)</li>
<li>tap-global-harness: A default harness that provides the top-level
support for running TAP tests.</li>
</ul>
<h2 id="experimental-code-coverage-with-runforcover-bunker-">Experimental Code Coverage with runforcover & bunker:</h2>
<pre><code>TAP_COV=1 tap ./test [--cover=./lib,foo.js] [--coverage-dir=./coverage]</code></pre>
<p>This feature is experimental, and will most likely change somewhat
before being finalized. Feedback welcome.</p>
</body>
</html>
| quattromani/placewise | node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/README.html | HTML | mit | 6,300 |
<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<title>OpenCV: Member List</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
TeX: {
Macros: {
matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
hdotsfor: ["\\dots", 1],
mathbbm: ["\\mathbb{#1}", 1],
bordermatrix: ["\\matrix{#1}", 1]
}
}
}
);
//]]>
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">OpenCV
 <span id="projectnumber">3.2.0</span>
</div>
<div id="projectbrief">Open Source Computer Vision</div>
</td>
</tr>
</tbody>
</table>
</div>
<script type="text/javascript">
//<![CDATA[
function getLabelName(innerHTML) {
var str = innerHTML.toLowerCase();
// Replace all '+' with 'p'
str = str.split('+').join('p');
// Replace all ' ' with '_'
str = str.split(' ').join('_');
// Replace all '#' with 'sharp'
str = str.split('#').join('sharp');
// Replace other special characters with 'ascii' + code
for (var i = 0; i < str.length; i++) {
var charCode = str.charCodeAt(i);
if (!(charCode == 95 || (charCode > 96 && charCode < 123) || (charCode > 47 && charCode < 58)))
str = str.substr(0, i) + 'ascii' + charCode + str.substr(i + 1);
}
return str;
}
function addToggle() {
var $getDiv = $('div.newInnerHTML').last();
var buttonName = $getDiv.html();
var label = getLabelName(buttonName.trim());
$getDiv.attr("title", label);
$getDiv.hide();
$getDiv = $getDiv.next();
$getDiv.attr("class", "toggleable_div label_" + label);
$getDiv.hide();
}
//]]>
</script>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">FileNodeIterator</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">cv::FileNodeIterator Member List</div> </div>
</div><!--header-->
<div class="contents">
<p>This is the complete list of members for <a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a213590d07fed11f1a2a588400e05b8f8">container</a></td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ad83667c1a044b9638d02c57e165e41bb">cvStartWriteRawData_Base64</a>(::CvFileStorage *fs, const char *name, int len, const char *dt)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"><span class="mlabel">related</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#aa048945804bcbd368db919ce3ef775e5">FileNodeIterator</a>()</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a60b85a8659ece30ebf09721bdd16885c">FileNodeIterator</a>(const CvFileStorage *fs, const CvFileNode *node, size_t ofs=0)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a0e43453413ee5ee52b51c4061733aeb1">FileNodeIterator</a>(const FileNodeIterator &it)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ac674a613a4ed775ae15b55a7aa17c061">fs</a></td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a1e00cee62e8034030ff99abf2b902487">operator!=</a>(const FileNodeIterator &it1, const FileNodeIterator &it2)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"><span class="mlabel">related</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a73e4a0844474b25bf254b08c7e4978d6">operator*</a>() const</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a6a06cf1a5b94057476a925f3f758c490">operator++</a>()</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a4daed1197209314a7a9bada1cb21af53">operator++</a>(int)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a77b08ee6b326b9d83ed01de4b30930d2">operator+=</a>(int ofs)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a4ec58573be20ff741b7f4d21bc223635">operator-</a>(const FileNodeIterator &it1, const FileNodeIterator &it2)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"><span class="mlabel">related</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a527f6537606d4bd66626a54c814bd610">operator--</a>()</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a6a1d757fdad6bb3ccca73f9f767b90c3">operator--</a>(int)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a6910b1f94c1d9a2f4030fd6deab0b4f4">operator-=</a>(int ofs)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#adc777a683bdadcf17534f4c2c1b1a21c">operator-></a>() const</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ada726685b67ed5fa4432cc30fb854d34">operator<</a>(const FileNodeIterator &it1, const FileNodeIterator &it2)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"><span class="mlabel">related</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a52f26a2fbe666de1926f67be05ee9dee">operator==</a>(const FileNodeIterator &it1, const FileNodeIterator &it2)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"><span class="mlabel">related</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a0e9987928ef46a3fe99b3fe02b659dd4">operator>></a>(FileNodeIterator &it, _Tp &value)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"><span class="mlabel">related</span></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a1b91e417a7103145b4997e086aec99df">operator>></a>(FileNodeIterator &it, std::vector< _Tp > &vec)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"><span class="mlabel">related</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#ab8b976a97cc6496a51857ef518027ed0">reader</a></td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a64ef557e066e7a877ee7e376cd0ecd49">readRaw</a>(const String &fmt, uchar *vec, size_t maxCount=(size_t) INT_MAX)</td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html#a5cba97d39d41f0e52d64b677ad392143">remaining</a></td><td class="entry"><a class="el" href="../../d7/d4e/classcv_1_1FileNodeIterator.html">cv::FileNodeIterator</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 23 2016 13:00:27 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
<script type="text/javascript">
//<![CDATA[
function addButton(label, buttonName) {
var b = document.createElement("BUTTON");
b.innerHTML = buttonName;
b.setAttribute('class', 'toggleable_button label_' + label);
b.onclick = function() {
$('.toggleable_button').css({
border: '2px outset',
'border-radius': '4px'
});
$('.toggleable_button.label_' + label).css({
border: '2px inset',
'border-radius': '4px'
});
$('.toggleable_div').css('display', 'none');
$('.toggleable_div.label_' + label).css('display', 'block');
};
b.style.border = '2px outset';
b.style.borderRadius = '4px';
b.style.margin = '2px';
return b;
}
function buttonsToAdd($elements, $heading, $type) {
if ($elements.length === 0) {
$elements = $("" + $type + ":contains(" + $heading.html() + ")").parent().prev("div.newInnerHTML");
}
var arr = jQuery.makeArray($elements);
var seen = {};
arr.forEach(function(e) {
var txt = e.innerHTML;
if (!seen[txt]) {
$button = addButton(e.title, txt);
if (Object.keys(seen).length == 0) {
var linebreak1 = document.createElement("br");
var linebreak2 = document.createElement("br");
($heading).append(linebreak1);
($heading).append(linebreak2);
}
($heading).append($button);
seen[txt] = true;
}
});
return;
}
$("h2").each(function() {
$heading = $(this);
$smallerHeadings = $(this).nextUntil("h2").filter("h3").add($(this).nextUntil("h2").find("h3"));
if ($smallerHeadings.length) {
$smallerHeadings.each(function() {
var $elements = $(this).nextUntil("h3").filter("div.newInnerHTML");
buttonsToAdd($elements, $(this), "h3");
});
} else {
var $elements = $(this).nextUntil("h2").filter("div.newInnerHTML");
buttonsToAdd($elements, $heading, "h2");
}
});
$(".toggleable_button").first().click();
var $clickDefault = $('.toggleable_button.label_python').first();
if ($clickDefault.length) {
$clickDefault.click();
}
$clickDefault = $('.toggleable_button.label_cpp').first();
if ($clickDefault.length) {
$clickDefault.click();
}
//]]>
</script>
</body>
</html>
| lucasbrsa/OpenCV-3.2 | docs/3.2/d2/d6d/classcv_1_1FileNodeIterator-members.html | HTML | mit | 15,632 |
<!DOCTYPE html>
<html ng-app="waitStaffApp">
<head>
<title>WaitStaff Calculator</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container">
<header>
<h1 class="text-center border-bottom">WaitStaff Calculator</h1>
</header>
<div class="row">
<div class="col-md-12">
<nav>
<ul>
<li><a href="#/">Home</a></li>
<li><a href="#/newMeal">New Meal</a></li>
<li><a href="#/myEarnings">My Earnings</a></li>
</ul>
</nav>
<div class="center-content" ng-view></div>
</div>
</div>
</div>
<script type="text/javascript" src="angular.js"></script>
<script type="text/javascript" src="angular-messages.js"></script>
<script type="text/javascript" src="angular-route.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="myEarningsService.js"></script>
<script type="text/ng-template" id="number-error-messages">
<p ng-message="number">Enter a number</p>
<p ng-message="required">Number is required.</p>
</script>
</body>
</html> | MasoodGit/ngWaitStaffCalculator | index.html | HTML | mit | 1,202 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>stream_socket_service::receive</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../stream_socket_service.html" title="stream_socket_service">
<link rel="prev" href="protocol_type.html" title="stream_socket_service::protocol_type">
<link rel="next" href="remote_endpoint.html" title="stream_socket_service::remote_endpoint">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../stream_socket_service.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="remote_endpoint.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.stream_socket_service.receive"></a><a class="link" href="receive.html" title="stream_socket_service::receive">stream_socket_service::receive</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="idp161246352"></a>
Receive some data from the peer.
</p>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
<span class="keyword">typename</span> <a class="link" href="../MutableBufferSequence.html" title="Mutable buffer sequence requirements">MutableBufferSequence</a><span class="special">></span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">receive</span><span class="special">(</span>
<span class="identifier">implementation_type</span> <span class="special">&</span> <span class="identifier">impl</span><span class="special">,</span>
<span class="keyword">const</span> <span class="identifier">MutableBufferSequence</span> <span class="special">&</span> <span class="identifier">buffers</span><span class="special">,</span>
<span class="identifier">socket_base</span><span class="special">::</span><span class="identifier">message_flags</span> <span class="identifier">flags</span><span class="special">,</span>
<span class="identifier">asio</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&</span> <span class="identifier">ec</span><span class="special">);</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2014 Christopher M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="protocol_type.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../stream_socket_service.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="remote_endpoint.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
| dhh1128/intent | old/src/external/asio-1.10.2/doc/asio/reference/stream_socket_service/receive.html | HTML | mit | 3,747 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="../css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../css/fonts.css">
<link rel="stylesheet" type="text/css" href="../css/sweetalert.css">
<link rel="stylesheet" type="text/css" href="../css/game.css">
<title>C.A.S.E.O.</title>
</head>
<body>
<div class="center-align-container">
<canvas id="myCanvas" class="myCanvas"></canvas>
</div>
<div class="center-align-container" style="font-size:1.4em;margin-top:0;padding-top:0">
<a href="../menu.html" style="color:rgba(150, 146, 130, 0.7)"><i class="fa fa-bars fa-3x" aria-hidden="true"></i></a>
<span> </span>
<a id="LOCK_BTN" style="color:rgba(150, 146, 130, 0.7);cursor:pointer"><i class="fa fa-lock fa-3x" aria-hidden="true"></i></a>
<span> </span>
<a id="UNDO_BTN" style="color:rgba(150, 146, 130, 0.7);cursor:pointer"><i class="fa fa-times fa-3x" aria-hidden="true"></i></a>
<span> </span>
<a id="BOOKMARK_BTN" style="color:rgba(150, 146, 130, 0.7);cursor:pointer"><i class="fa fa-bookmark-o fa-3x" aria-hidden="true"></i></a>
<span> </span>
<a onclick="ReloadPage()" style="color:#DB7093;cursor:pointer"><i class="fa fa-repeat fa-3x" aria-hidden="true"></i></a>
</div>
<script src="../js/jquery-3.2.1.min.js"></script>
<script src="../js/sweetalert.min.js"></script>
<script src="../js/js.cookie.js"></script>
<script src="../js/utils.js"></script>
<script src="../js/board.js"></script>
<script>
$(document).ready(function() {
let R = 3;
let C = 3;
let row_data = [[0, 0, 2], [1, 1, 1], [1, 1, 1], [0, 0, 2]];
let col_data = [[0, 1, 0, 0], [2, 1, 1, 0], [0, 1, 1, 0]];
let win_h = $(window).height();
let win_w = $(window).width();
let FONT = "Courier, monospace";
let fh = 2;
let font_dim = MeasureText("A", true, FONT, fh);
let char_h = font_dim[1];
let char_w = font_dim[0];
let req_h = R * 5 * char_h + (R+1) * char_h + 80;
let req_w = C * 11 * char_w + (C+1) * char_w + 80;
while (req_h < win_h && req_w < win_w) {
++fh;
font_dim = MeasureText("A", true, FONT, fh);
char_h = font_dim[1];
char_w = font_dim[0];
req_h = R * 5 * char_h + (R+1) * char_h + 80;
req_w = C * 11 * char_w + (C+1) * char_w + 80;
}
var _b = new board(R, C, "myCanvas", FONT, fh-1);
_b.RestoreBookmark(row_data, col_data);
function getMousePos(canvas, evt) {
let rect = canvas.getBoundingClientRect();
return {
x: (evt.clientX-rect.left) / (rect.right-rect.left) * canvas.width,
y: (evt.clientY-rect.top) / (rect.bottom-rect.top) * canvas.height
};
}
var canvas = document.getElementById("myCanvas");
var _ctx = canvas.getContext("2d");
_ctx.strokeStyle = "#E6E6FA";
_ctx.lineWidth = Math.floor(fh*1.33);
var _drawing = false;
var _mousePos = { x : -1, y : -1 };
var _lastPos = _mousePos;
$('body').on('contextmenu', '#myCanvas', function(e) {
// Disable default right-click - it is used for creating helper walls
return false;
});
canvas.addEventListener("mousedown", function (e) {
_ctx.beginPath();
_drawing = true;
_lastPos = getMousePos(canvas, e);
_ctx.lineJoin = _ctx.lineCap = 'round';
}, false);
canvas.addEventListener("mouseup", function (e) {
if (_drawing) {
_ctx.closePath();
_mousePos = getMousePos(canvas, e);
if (e.which && e.which == 3)
_b.AddHelperWall(_mousePos.x, _mousePos.y);
else
_b.Clicked(_mousePos.x, _mousePos.y);
_lastPos = _mousePos;
_drawing = false;
}
}, false);
canvas.addEventListener("mousemove", function (e) {
_mousePos = getMousePos(canvas, e);
}, false);
canvas.addEventListener("mouseout", function (e) {
var mouseEvent = new MouseEvent("mouseup", {});
canvas.dispatchEvent(mouseEvent);
}, false);
function renderCanvas() {
if (_drawing) {
if (_lastPos.x > 0 && _lastPos.y > 0 &&
_mousePos.x > 0 && _mousePos.y > 0) {
_ctx.moveTo(_lastPos.x, _lastPos.y);
_ctx.lineTo(_mousePos.x, _mousePos.y);
_ctx.stroke();
}
_lastPos = _mousePos;
_b.LogDragClick(_mousePos.x, _mousePos.y);
}
}
(function drawLoop () {
requestAnimFrame(drawLoop);
renderCanvas();
})();
// TOUCH EVENTS
// Prevent scrolling when touching the canvas
canvas.addEventListener("touchstart", function (e) {
e.preventDefault();
var touch = e.touches[0];
var mouseEvent = new MouseEvent("mousedown", {
clientX: touch.clientX,
clientY: touch.clientY
});
canvas.dispatchEvent(mouseEvent);
}, false);
canvas.addEventListener("touchend", function (e) {
var mouseEvent = new MouseEvent("mouseup", {});
canvas.dispatchEvent(mouseEvent);
}, false);
canvas.addEventListener("touchmove", function (e) {
e.preventDefault();
var touch = e.touches[0];
var mouseEvent = new MouseEvent("mousemove", {
clientX: touch.clientX,
clientY: touch.clientY
});
canvas.dispatchEvent(mouseEvent);
}, false);
$("#LOCK_BTN").click(function() {
_b.ToggleLock();
});
$("#UNDO_BTN").click(function() {
_b.RestoreLockedState();
});
$("#BOOKMARK_BTN").click(function() {
_b.Bookmark();
});
});
</script>
</body>
</html>
| grunfeld/grunfeld.github.io | levels/t4.html | HTML | mit | 6,024 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Una modelo nos enseña a saber si una mujer tiene implantes | La Red Semanario</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="sexy,senos,implantes" />
<meta name="description" content="Hay ciertas preguntas en la vida que merecen dedicarles un poco de nuestro tiempo para encontrar su respuesta. De vez en cuando nos cuestionamos cosas como: Cuál es nuestro propósito en la vida, si e">
<meta property="og:type" content="article">
<meta property="og:title" content="Una modelo nos enseña a saber si una mujer tiene implantes">
<meta property="og:url" content="https://laredsemanario.com/2016/05/Una-modelo-nos-ensena-a-saber-si-una-mujer-tiene-implantes/index.html">
<meta property="og:site_name" content="La Red Semanario">
<meta property="og:description" content="Hay ciertas preguntas en la vida que merecen dedicarles un poco de nuestro tiempo para encontrar su respuesta. De vez en cuando nos cuestionamos cosas como: Cuál es nuestro propósito en la vida, si e">
<meta property="og:image" content="https://laredsemanario.com/images/implantes-senos-1.png">
<meta property="og:updated_time" content="2016-05-06T14:21:51.732Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Una modelo nos enseña a saber si una mujer tiene implantes">
<meta name="twitter:description" content="Hay ciertas preguntas en la vida que merecen dedicarles un poco de nuestro tiempo para encontrar su respuesta. De vez en cuando nos cuestionamos cosas como: Cuál es nuestro propósito en la vida, si e">
<meta name="twitter:image" content="https://laredsemanario.com/images/implantes-senos-1.png">
<meta name="twitter:creator" content="@3171117842">
<meta property="fb:app_id" content="956176474392711">
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/vendor/titillium-web/styles.css">
<link rel="stylesheet" href="/vendor/source-code-pro/styles.css">
<link rel="stylesheet" href="/css/style.css">
<script src="/vendor/jquery/2.0.3/jquery.min.js"></script>
<link rel="stylesheet" href="/vendor/fancybox/jquery.fancybox.css">
<link rel="stylesheet" href="/vendor/scrollLoading/style.css">
<script type="text/javascript">
(function(i,s,o,g,r,a,m) {i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() {
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-62238178-1', 'auto');
ga('send', 'pageview');
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-4967243132865960",
enable_page_level_ads: true
});
</script>
</head>
<body>
<div id="wrap">
<header id="header">
<div id="header-outer" class="outer">
<div class="container">
<div class="container-inner">
<div id="header-title">
<h1 class="logo-wrap">
<a href="/" class="logo"></a>
</h1>
<div id="ads">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- header-lared -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4967243132865960"
data-ad-slot="2438400321"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
</div>
<div id="header-inner" class="nav-container">
<a id="main-nav-toggle" class="nav-icon fa fa-bars"></a>
<div class="nav-container-inner">
<ul id="main-nav">
<li class="main-nav-list-item" >
<a class="main-nav-list-link" href="/">Inicio</a>
</li>
</ul>
<nav id="sub-nav">
<div id="search-form-wrap">
<form class="search-form">
<input type="text" class="ins-search-input search-form-input" placeholder="Buscar" />
<button type="submit" class="search-form-submit"></button>
</form>
<div class="ins-search">
<div class="ins-search-mask"></div>
<div class="ins-search-container">
<div class="ins-input-wrapper">
<input type="text" class="ins-search-input" placeholder="Escribe algo..." />
<span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
</div>
<div class="ins-section-wrapper">
<div class="ins-section-container"></div>
</div>
</div>
</div>
<script>
(function (window) {
var INSIGHT_CONFIG = {
TRANSLATION: {
POSTS: 'Entradas',
PAGES: 'Pages',
CATEGORIES: 'Categorias',
TAGS: 'Etiquetas',
UNTITLED: '(Sin titulo)',
},
ROOT_URL: '/',
CONTENT_URL: '/content.json',
};
window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>
<script src="/js/insight.js"></script>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<div class="main-body container-inner">
<div class="main-body-inner">
<section id="main">
<div class="main-body-header">
<h1 class="header">
<a class="page-title-link" href="/categories/Internacional/">Internacional</a>
</h1>
</div>
<div class="main-body-content">
<article id="post-Una-modelo-nos-ensena-a-saber-si-una-mujer-tiene-implantes" class="article article-single article-type-post" itemscope itemprop="blogPost">
<header class="article-header" itemprop="headline">
<h1 class="article-title" itemprop="name">
Una modelo nos enseña a saber si una mujer tiene implantes
</h1>
</header>
<div class="article-subtitle" itemprop="description">
<a href="/2016/05/Una-modelo-nos-ensena-a-saber-si-una-mujer-tiene-implantes/" class="article-date">
<time datetime="2016-05-06T14:12:21.000Z" itemprop="datePublished">2016-05-06</time>
</a>
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/implantes/">implantes</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/senos/">senos</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/sexy/">sexy</a></li></ul>
</div>
<div class="article-entry" itemprop="articleBody">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- articulos -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4967243132865960"
data-ad-slot="5586146720"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p><img src="/images/implantes-senos-1.png" alt=""></p>
<p>Hay ciertas preguntas en la vida que merecen dedicarles un poco de nuestro tiempo para encontrar su respuesta. De vez en cuando nos cuestionamos cosas como: Cuál es nuestro propósito en la vida, si encontraremos el amor o <strong>si la chica que acabamos de ver pasar por la calle tenía implantes de senos</strong>.</p>
<p><img src="/images/implantes-senos-3.gif" alt=""></p>
<p>Algunas veces es demasiado obvio cuando una chica se hace una cirugía para resaltar sus atributos, pero hay otras en las que el trabajo está tan bien hecho, que es casi imposible darnos cuenta a simple vista. Por eso, hoy <strong>una modelo nos va a enseñar un método práctico para responder a esa gran incógnita</strong>.</p>
<p><img src="/images/modelo-implantes-1.jpg" alt=""></p>
<p><strong>Wichooda Cheycom</strong>, originaria de Tailandia, es la chica que nos va a mostrar una técnica infalible para saber si una chica se operó el busto, con tan sólo la luz de un celular. En el video que mostraremos a continuación, podremos ver cómo es que <strong>unos implantes de silicona brillan en la oscuridad si encienden la luz de un teléfono</strong>.</p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/n2iJwmEywC0" frameborder="0" allowfullscreen></iframe>
<p>Obviamente, el video se hizo totalmente viral en toda internet, y es que no todos los días nos damos cuenta de que los senos falsos tienen esa cualidad tan curiosa. Pero bueno, ahora que ya saben cómo detectar este tipo de cosas, <strong>usen este conocimiento con extrema precaución</strong>; más que nada por respeto a quienes han decidido hacerse alguna cirugía de aumento.</p>
<p><strong><em>Vía dailymail</em></strong></p>
<h6 itemprop="author" itemscope itemtype="https://schema.org/Person">
<span itemprop="name">La Red Semanario</span>
</h6>
<footer class="article-footer">
<a data-url="https://laredsemanario.com/2016/05/Una-modelo-nos-ensena-a-saber-si-una-mujer-tiene-implantes/" data-id="cio2yy4st005e6nkn64nh9je4" class="article-share-link"><i class="fa fa-share"></i>Compartir</a>
<script>
(function ($) {
$('body').on('click', function() {
$('.article-share-box.on').removeClass('on');
}).on('click', '.article-share-link', function(e) {
e.stopPropagation();
var $this = $(this),
url = $this.attr('data-url'),
encodedUrl = encodeURIComponent(url),
id = 'article-share-box-' + $this.attr('data-id'),
offset = $this.offset(),
box;
if ($('#' + id).length) {
box = $('#' + id);
if (box.hasClass('on')){
box.removeClass('on');
return;
}
} else {
var html = [
'<div id="' + id + '" class="article-share-box">',
'<input class="article-share-input" value="' + url + '">',
'<div class="article-share-links">',
'<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="article-share-twitter" target="_blank" title="Twitter"></a>',
'<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="article-share-facebook" target="_blank" title="Facebook"></a>',
'<a href="http://pinterest.com/pin/create/button/?url=' + encodedUrl + '" class="article-share-pinterest" target="_blank" title="Pinterest"></a>',
'<a href="https://plus.google.com/share?url=' + encodedUrl + '" class="article-share-google" target="_blank" title="Google+"></a>',
'</div>',
'</div>'
].join('');
box = $(html);
$('body').append(box);
}
$('.article-share-box.on').hide();
box.css({
top: offset.top + 25,
left: offset.left
}).addClass('on');
}).on('click', '.article-share-box', function (e) {
e.stopPropagation();
}).on('click', '.article-share-box-input', function () {
$(this).select();
}).on('click', '.article-share-box-link', function (e) {
e.preventDefault();
e.stopPropagation();
window.open(this.href, 'article-share-box-window-' + Date.now(), 'width=500,height=450');
});
})(jQuery);
</script>
</footer>
</div>
</article>
<section id="comments">
<div id="disqus_thread">
<noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div>
</section>
</div>
</section>
<aside id="sidebar">
<a class="sidebar-toggle" title="Expand Sidebar"><i class="toggle icon"></i></a>
<div class="sidebar-top">
<p>seguir:</p>
<ul class="social-links">
<li>
<a class="social-tooltip" title="twitter" href="https://twitter.com/RedSemanario" target="_blank">
<i class="icon fa fa-twitter"></i>
</a>
</li>
<li>
<a class="social-tooltip" title="facebook" href="https://www.facebook.com/laredsemanario" target="_blank">
<i class="icon fa fa-facebook"></i>
</a>
</li>
<li>
<a class="social-tooltip" title="google-plus" href="https://google.com/+Laredsemanariocom" target="_blank">
<i class="icon fa fa-google-plus"></i>
</a>
</li>
<li>
<a class="social-tooltip" title="youtube" href="https://www.youtube.com/channel/UCnaA5qW5xL0WHoABQQRRTSw" target="_blank">
<i class="icon fa fa-youtube"></i>
</a>
</li>
<li>
<a class="social-tooltip" title="rss" href="http://feeds.feedburner.com/laredsemanario/huQt" target="_blank">
<i class="icon fa fa-rss"></i>
</a>
</li>
</ul>
</div>
<nav id="article-nav">
<a href="/2016/05/PRI-quita-registro-a-sus-3-narcocandidatos/" id="article-nav-newer" class="article-nav-link-wrap">
<strong class="article-nav-caption">más nuevo</strong>
<p class="article-nav-title">
PRI quita registro a sus 3 “narcocandidatos”; Beltrones debe comparecer ante PGR: PRD
</p>
<i class="icon fa fa-chevron-right" id="icon-chevron-right"></i>
</a>
<a href="/2016/05/Emiten-orden-de-aprehension-contra-Gerardo-Ortiz-por-el-video-Fuiste-Mia/" id="article-nav-older" class="article-nav-link-wrap">
<strong class="article-nav-caption">antiguo</strong>
<p class="article-nav-title">Emiten orden de aprehensión contra Gerardo Ortiz por el video de Fuiste Mía</p>
<i class="icon fa fa-chevron-left" id="icon-chevron-left"></i>
</a>
</nav>
<div class="widgets-container">
<div class="widget-wrap">
<h3 class="widget-title">recientes</h3>
<div class="widget">
<ul id="recent-post" class="">
<li>
<div class="item-thumbnail">
<a href="/2016/05/Detienen-a-Leopoldo-Duarte-acusado-de-abuso-sexual-en-el-Colegio-Matatena/" class="thumbnail">
<span style="background-image:url(https://res.cloudinary.com/pidmx/image/upload/v1462977034/pederasta_montesori_2_wunyo5.jpg)" alt="Detienen a Leopoldo Duarte, acusado de abuso sexual en el Colegio Matatena" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Nacional/">Nacional</a></p>
<p class="item-title"><a href="/2016/05/Detienen-a-Leopoldo-Duarte-acusado-de-abuso-sexual-en-el-Colegio-Matatena/" class="title">Detienen a Leopoldo Duarte, acusado de abuso sexual en el Colegio Matatena</a></p>
<p class="item-date"><time datetime="2016-05-11T14:29:50.000Z" itemprop="datePublished">2016-05-11</time></p>
</div>
</li>
<li>
<div class="item-thumbnail">
<a href="/2016/05/Telescopio-espacial-Kepler-descubre-1284-nuevos-planetas-fuera-del-sistema-solar/" class="thumbnail">
<span style="background-image:url(https://res.cloudinary.com/pidmx/image/upload/v1462976759/NASA-nuevos-planetas-e1462972761598_jyf4qz.jpg)" alt="Telescopio espacial Kepler descubre 1284 nuevos planetas fuera del sistema solar" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Ciencia/">Ciencia</a></p>
<p class="item-title"><a href="/2016/05/Telescopio-espacial-Kepler-descubre-1284-nuevos-planetas-fuera-del-sistema-solar/" class="title">Telescopio espacial Kepler descubre 1284 nuevos planetas fuera del sistema solar</a></p>
<p class="item-date"><time datetime="2016-05-11T14:24:56.000Z" itemprop="datePublished">2016-05-11</time></p>
</div>
</li>
<li>
<div class="item-thumbnail">
<a href="/2016/05/Billy-Alvarez-dejaria-Cruz-Azul/" class="thumbnail">
<span style="background-image:url(https://res.cloudinary.com/pidmx/image/upload/v1462976365/billy-alvarez-cruz-azul_vz32jv.jpg)" alt="Billy Álvarez dejaría Cruz Azul" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Deportes/">Deportes</a></p>
<p class="item-title"><a href="/2016/05/Billy-Alvarez-dejaria-Cruz-Azul/" class="title">Billy Álvarez dejaría Cruz Azul</a></p>
<p class="item-date"><time datetime="2016-05-11T14:14:24.000Z" itemprop="datePublished">2016-05-11</time></p>
</div>
</li>
<li>
<div class="item-thumbnail">
<a href="/2016/05/Por-ser-desproporcionadas-El-Bronco-cancelara-10-mil-becas-estudiantiles/" class="thumbnail">
<span style="background-image:url(/images/bronco-gobernador.jpg)" alt="Por ser desproporcionadas, El Bronco cancelará 10 mil becas estudiantiles" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Politica/">Politica</a></p>
<p class="item-title"><a href="/2016/05/Por-ser-desproporcionadas-El-Bronco-cancelara-10-mil-becas-estudiantiles/" class="title">Por ser desproporcionadas, El Bronco cancelará 10 mil becas estudiantiles</a></p>
<p class="item-date"><time datetime="2016-05-11T14:08:06.000Z" itemprop="datePublished">2016-05-11</time></p>
</div>
</li>
<li>
<div class="item-thumbnail">
<a href="/2016/05/Los-11-mandamientos-de-la-Iglesia-de-Satan-son-mucho-mas-sensatos-de-lo-que-imaginarias/" class="thumbnail">
<span style="background-image:url(/images/934606971.jpg)" alt="Los 11 mandamientos de la Iglesia de Satán son mucho más sensatos de lo que imaginarías" class="thumbnail-image"></span>
</a>
</div>
<div class="item-inner">
<p class="item-category"><a class="article-category-link" href="/categories/Cultura/">Cultura</a></p>
<p class="item-title"><a href="/2016/05/Los-11-mandamientos-de-la-Iglesia-de-Satan-son-mucho-mas-sensatos-de-lo-que-imaginarias/" class="title">Los 11 mandamientos de la Iglesia de Satán son mucho más sensatos de lo que imaginarías</a></p>
<p class="item-date"><time datetime="2016-05-10T14:05:56.000Z" itemprop="datePublished">2016-05-10</time></p>
</div>
</li>
</ul>
</div>
</div>
</div>
</aside>
</div>
</div>
</div>
<footer id="footer">
<div class="container">
<div class="container-inner">
<a id="back-to-top" href="javascript:;"><i class="icon fa fa-angle-up"></i></a>
<div class="credit">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Primera página - 1 (www.laredsemanario.com) -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4967243132865960"
data-ad-slot="4621813528"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p>© 2014 - 2016 La Red Semanario</p>
</div>
</div>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "WebSite",
"name" : "La Red Semanario",
"alternateName" : "La Red",
"url" : "https://www.laredsemanario.com"
}
</script>
</div>
</footer>
<script>
var disqus_shortname = 'laredsemanario';
var disqus_url = 'https://laredsemanario.com/2016/05/Una-modelo-nos-ensena-a-saber-si-una-mujer-tiene-implantes/';
(function() {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<script src="/vendor/fancybox/jquery.fancybox.pack.js"></script>
<script src="/vendor/scrollLoading/jquery.scrollLoading.js"></script>
<script src="/vendor/scrollLoading/main.js"></script>
<!-- Custom Scripts -->
<script src="/js/main.js"></script>
</div>
</body>
</html>
| reneisrael/reneisrael.github.io | 2016/05/Una-modelo-nos-ensena-a-saber-si-una-mujer-tiene-implantes/index.html | HTML | mit | 23,967 |
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "{{ site.url }}",
"name": "Articles"
}
},
{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "{{ page.url | absolute_url }}",
"name": "{{ page.title | strip_html }}"
}
}
]
}
</script>
| NSHipster/nshipster.com | _includes/json-ld/breadcrumblist.html | HTML | mit | 462 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>RepoView: overbox-base-repo</title>
<link href="layout/repostyle.css" type="text/css" rel="stylesheet" />
<meta content="noindex,follow" name="robots" />
</head>
<body>
<div class="levbar">
<p class="pagetitle">applications/system</p>
<ul class="levbarlist">
<li>
<a href="applications.system.group.html" class="nlink" title="Back to package listing">« Back to group</a>
</li>
</ul>
</div>
<div class="main">
<p class="nav">Jump to letter: [
<span class="letterlist">
<a href="letter_c.group.html" class="nlink">C</a><a href="letter_e.group.html" class="nlink">E</a><a href="letter_j.group.html" class="nlink">J</a><a href="letter_r.group.html" class="nlink">R</a><a href="letter_v.group.html" class="nlink">V</a>
</span>]
</p>
<h2>vboxadditions-download - VirtualBox guest additions downloader and installer</h2>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<th>Website:</th>
<td><a href="http://www.virtualbox.org/">http://www.virtualbox.org/</a></td>
</tr>
<tr>
<th>License:</th>
<td>GPL2</td>
</tr>
<tr>
<th>Vendor:</th>
<td>Oracle</td>
</tr>
</table>
<dl>
<dt>Description:</dt>
<dd><pre>Downloads and installs the VirtualBox guest additions.
Installation is done in a first-boot-service.
So you can quickly update to the newest kernel in your kickstart file before
the guest additions are installed.
A shutdown is performed afterwards!</pre></dd>
</dl>
<h3>Packages</h3>
<table cellpadding="0" cellspacing="10" border="0">
<tr>
<td valign="top"><a href="../vboxadditions-download-4.1.0-1.noarch.rpm" class="inpage">vboxadditions-download-4.1.0-1.noarch</a>
[<span style="white-space: nowrap">2 KiB</span>]</td>
<td valign="top">
<strong>Changelog</strong>
by <span>https://github.com/AncientLeGrey - 4.1.0-1 (2011-08-07)</span>:
<pre style="margin: 0pt 0pt 5pt 5pt">- Update to version 4.1.0</pre>
</td>
</tr><tr>
<td valign="top"><a href="../vboxadditions-download-4.0.8-1.noarch.rpm" class="inpage">vboxadditions-download-4.0.8-1.noarch</a>
[<span style="white-space: nowrap">2 KiB</span>]</td>
<td valign="top">
<em>(no changelog entry)</em>
</td>
</tr>
</table>
<p class="footernote">
Listing created by
<a href="https://fedorahosted.org/repoview/" class="repoview">Repoview-0.6.5-1.el5</a>
</p>
</div>
</body>
</html> | AncientLeGrey/overbox-base-repo | noarch/repoview/vboxadditions-download.html | HTML | mit | 2,973 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>aInstaller - updating...</title>
<link rel="stylesheet" type="text/css" href="./app/icons.less">
<link rel="stylesheet" href="./app/index.less">
</head>
<body>
<div id="loading">
<h4 class="title afont ashadow absolute-center">
updating ainstaller
</h4>
<div class="spinner absolute-center">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</div>
</body>
</html> | ainstaller/aInstaller | app/update.html | HTML | mit | 528 |
<!--
> Muaz Khan - github.com/muaz-khan
> MIT License - www.webrtc-experiment.com/licence
> Documentation - www.RTCMultiConnection.org
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>WebRTC Remote Stream Forwarding ® Muaz Khan</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="author" type="text/html" href="https://plus.google.com/+MuazKhan">
<meta name="author" content="Muaz Khan">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="//cdn.webrtc-experiment.com/style.css">
<style>
audio,
video {
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-o-transition: all 1s ease;
-webkit-transition: all 1s ease;
transition: all 1s ease;
vertical-align: top;
width: 40%;
}
input {
border: 1px solid #d9d9d9;
border-radius: 1px;
font-size: 2em;
margin: .2em;
width: 30%;
}
.setup {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
font-size: 102%;
height: 47px;
margin-left: -9px;
margin-top: 8px;
position: absolute;
}
p {
padding: 1em;
}
li {
border-bottom: 1px solid rgb(189, 189, 189);
border-left: 1px solid rgb(189, 189, 189);
padding: .5em;
}
</style>
<script>
document.createElement('article');
document.createElement('footer');
</script>
<script src="//cdn.webrtc-experiment.com/RTCMultiConnection.js">
</script>
<script src="//cdn.webrtc-experiment.com/firebase.js">
</script>
</head>
<body>
<article>
<header style="text-align: center;">
<h1>
<a href="https://www.webrtc-experiment.com/">WebRTC</a> <a href="https://github.com/muaz-khan/WebRTC-Experiment/issues/2#issuecomment-33593799">remote media stream forwarding</a> using <a href="http://www.rtcmulticonnection.org/docs/">RTCMultiConnection.js</a>
</h1>
<p>
<a href="https://www.webrtc-experiment.com/">HOME</a>
<span> © </span>
<a href="http://www.MuazKhan.com/" target="_blank">Muaz Khan</a> .
<a href="http://twitter.com/WebRTCWeb" target="_blank" title="Twitter profile for WebRTC Experiments">@WebRTCWeb</a> .
<a href="https://github.com/muaz-khan?tab=repositories" target="_blank" title="Github Profile">Github</a> .
<a href="https://github.com/muaz-khan/WebRTC-Experiment/issues?state=open" target="_blank">Latest issues</a> .
<a href="https://github.com/muaz-khan/WebRTC-Experiment/commits/master" target="_blank">What's New?</a>
</p>
</header>
<div class="github-stargazers"></div>
<blockquote class="inner" style="text-align: center;">
Chrome is <a href="https://code.google.com/p/webrtc/issues/detail?id=2192#c15">still not supporting</a> remote audio forwarding. It will forward only remote
<strong>video</strong> stream. There is another demo: <a href="https://github.com/muaz-khan/WebRTC-Scalable-Broadcast">WebRTC Scalable Broadcast</a> which can broadcast video/screen over unlimited users!
</blockquote>
<section class="experiment">
<div id="videos-container"></div>
<table>
<tr>
<td>
<button id="open-main-session">open main session</button>
</td>
<td>
<button id="forward-main-session" disabled>forward main session</button>
</td>
</tr>
<tr>
<td>
<button id="join-main-session">join main session</button>
</td>
<td>
<button id="join-forwarded-session">join forwarded session</button>
</td>
</tr>
</table>
<h2>How to use?</h2>
<ol>
<li>
Click "open main session" button from 1st computer.
</li>
<li>
Click "join main session" button from 2nd computer.
</li>
<li>
Click "forward main session" button from the same 2nd computer.
</li>
<li>
Click "join forwarded session" button from 3rd computer.
</li>
</ol>
<script>
// http://www.rtcmulticonnection.org/docs/constructor/
var mainConnection = new RTCMultiConnection();
// http://www.rtcmulticonnection.org/docs/session/
mainConnection.session = {
video: true
};
// http://www.rtcmulticonnection.org/docs/direction/
mainConnection.direction = 'one-way';
mainConnection.onNewSession = function(session) {
mainConnection.sdpConstraints.mandatory = {
OfferToReceiveVideo: true
};
mainConnection.join(session);
};
// http://www.rtcmulticonnection.org/docs/constructor/
var dummyConnection = new RTCMultiConnection('dummy-connection');
dummyConnection.onNewSession = function(session) {
dummyConnection.sdpConstraints.mandatory = {
OfferToReceiveVideo: true
};
dummyConnection.join(session);
};
// http://www.rtcmulticonnection.org/docs/direction/
dummyConnection.direction = 'one-way';
// http://www.rtcmulticonnection.org/docs/dontCaptureUserMedia/
dummyConnection.dontCaptureUserMedia = true;
var videosContainer = document.getElementById('videos-container');
// http://www.rtcmulticonnection.org/docs/onstream/
mainConnection.onstream = function(e) {
dummyConnection.attachStreams.push(e.stream);
videosContainer.appendChild(e.mediaElement);
document.querySelector('#forward-main-session').disabled = false;
};
// http://www.rtcmulticonnection.org/docs/onstream/
dummyConnection.onstream = function(e) {
document.querySelector('h1').innerHTML = 'Wow, got forwarded stream!';
videosContainer.appendChild(e.mediaElement);
};
document.querySelector('#join-main-session').onclick = function() {
this.disabled = true;
// http://www.rtcmulticonnection.org/docs/connect/
mainConnection.connect();
};
document.querySelector('#join-forwarded-session').onclick = function() {
this.disabled = true;
// http://www.rtcmulticonnection.org/docs/connect/
dummyConnection.connect();
};
document.querySelector('#open-main-session').onclick = function() {
this.disabled = true;
mainConnection.sdpConstraints.mandatory = {
OfferToReceiveVideo: false
};
// http://www.rtcmulticonnection.org/docs/open/
mainConnection.open();
};
document.querySelector('#forward-main-session').onclick = function() {
this.disabled = true;
dummyConnection.sdpConstraints.mandatory = {
OfferToReceiveVideo: false
};
// http://www.rtcmulticonnection.org/docs/open/
dummyConnection.open();
};
</script>
</section>
<section class="experiment">
<h2 class="header" id="feedback">Feedback</h2>
<div>
<textarea id="message" style="border: 1px solid rgb(189, 189, 189); height: 8em; margin: .2em; outline: none; resize: vertical; width: 98%;" placeholder="Have any message? Suggestions or something went wrong?"></textarea>
</div>
<button id="send-message" style="font-size: 1em;">Send Message</button>
<small style="margin-left: 1em;">Enter your email too; if you want "direct" reply!</small>
</section>
<section class="experiment own-widgets latest-commits">
<h2 class="header" id="updates" style="color: red; padding-bottom: .1em;"><a href="https://github.com/muaz-khan/WebRTC-Experiment/commits/master" target="_blank">Latest Updates</a>
</h2>
<div id="github-commits"></div>
</section>
</article>
<a href="https://github.com/muaz-khan/WebRTC-Experiment" class="fork-left"></a>
<footer>
<p>
<a href="https://www.webrtc-experiment.com/">WebRTC Experiments</a> © <a href="https://plus.google.com/+MuazKhan" rel="author" target="_blank">Muaz Khan</a>
<a href="mailto:[email protected]" target="_blank">[email protected]</a>
</p>
</footer>
<!-- commits.js is useless for you! -->
<script src="//cdn.webrtc-experiment.com/commits.js" async>
</script>
</body>
</html> | garyfeng/WebRTC-Experiment | RTCMultiConnection/demos/remote-stream-forwarding.html | HTML | mit | 9,771 |
---
layout: default
---
<div class="container">
<div class="article">
<h2 class="article-title">{{ page.title }}</h2>
<div class="article-meta">{{ page.date | date: "%Y年%m月%d日" }}</div>
<div class="article-body">
{{ content }}
</div>
<div class="article-footer">
<a href="/archives/index.html">記事一覧へ</a>
</div>
</div>
</div> | pipboy3000/count0.org | src/_layouts/post.html | HTML | mit | 382 |
{% extends "base.html" %}
{% load cms_tags %}
{% block title %}{{ block.super }}{% endblock %}
{% block main %}
<section>
{% placeholder "content" %}
</section>
{% endblock main %}
{% block bodyclasses %}{{ block.super }} full{% endblock %}
{% block sidebar %}
{% endblock %} | frinat/fribourg-natation.ch | frinat/frontend/templates/full.html | HTML | mit | 284 |
<section data-ng-controller="ProjectsController" data-ng-init="findOne()">
<div class="page-header">
<h1>Edit Project Proposal</h1>
</div>
<div class="col-md-12">
<form name="projectForm" class="form-horizontal" data-ng-submit="update(projectForm.$valid)" novalidate>
<fieldset>
<div class="form-group" ng-class="{ 'has-error' : submitted && projectForm.title.$invalid}">
<label class="control-label" for="title">Title</label>
<div class="controls">
<input name="title" type="text" data-ng-model="project.title" id="title" class="form-control" placeholder="Title" required>
</div>
<div ng-show="submitted && projectForm.title.$invalid" class="help-block">
<p ng-show="projectForm.title.$error.required" class="text-danger">Title is required</p>
</div>
</div>
<div class="form-group" ng-class="{ 'has-error' : submitted && projectForm.content.$invalid}">
<label class="control-label" for="content">Content</label>
<div class="controls">
<textarea name="content" data-ng-model="project.content" id="content" class="form-control" cols="30" rows="10" placeholder="Content" required></textarea>
</div>
<div ng-show="submitted && projectForm.content.$invalid" class="help-block">
<p ng-show="projectForm.content.$error.required" class="text-danger">Content is required</p>
</div>
</div>
<div class="form-group">
<input type="submit" value="Update" class="btn btn-default">
</div>
<div data-ng-show="error" class="text-danger">
<strong data-ng-bind="error"></strong>
</div>
</fieldset>
</form>
</div>
</section> | keegansanford/Colab | public/modules/projects/views/edit-project.client.view.html | HTML | mit | 1,636 |
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Using RingOpenGL and RingAllegro for 3D Graphics — Ring 1.17 documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/custom.css" type="text/css" />
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="The Gold Magic 800 Game" href="goldmagic800.html" />
<link rel="prev" title="Using RingOpenGL and RingFreeGLUT for 3D Graphics" href="usingopengl.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html">
<img src="_static/ringdoclogo.jpg" class="logo" alt="Logo"/>
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="ringapps.html">Applications developed in a few hours</a></li>
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringnotepad.html">Using Ring Notepad</a></li>
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started - First Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="getting_started2.html">Getting Started - Second Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="getting_started3.html">Getting Started - Third Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="variables.html">Variables</a></li>
<li class="toctree-l1"><a class="reference internal" href="operators.html">Operators</a></li>
<li class="toctree-l1"><a class="reference internal" href="controlstructures.html">Control Structures - First Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="controlstructures2.html">Control Structures - Second Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="controlstructures3.html">Control Structures - Third Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="getinput.html">Getting Input</a></li>
<li class="toctree-l1"><a class="reference internal" href="functions.html">Functions - First Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="functions2.html">Functions - Second Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="functions3.html">Functions - Third Style</a></li>
<li class="toctree-l1"><a class="reference internal" href="programstructure.html">Program Structure</a></li>
<li class="toctree-l1"><a class="reference internal" href="lists.html">Lists</a></li>
<li class="toctree-l1"><a class="reference internal" href="strings.html">Strings</a></li>
<li class="toctree-l1"><a class="reference internal" href="dateandtime.html">Date and Time</a></li>
<li class="toctree-l1"><a class="reference internal" href="checkandconvert.html">Check Data Type and Conversion</a></li>
<li class="toctree-l1"><a class="reference internal" href="mathfunc.html">Mathematical Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="files.html">Files</a></li>
<li class="toctree-l1"><a class="reference internal" href="systemfunc.html">System Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="evaldebug.html">Eval() and Debugging</a></li>
<li class="toctree-l1"><a class="reference internal" href="demo.html">Demo Programs</a></li>
<li class="toctree-l1"><a class="reference internal" href="odbc.html">ODBC Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="mysql.html">MySQL Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="sqlite.html">SQLite Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="postgresql.html">PostgreSQL Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="secfunc.html">Security and Internet Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="oop.html">Object Oriented Programming (OOP)</a></li>
<li class="toctree-l1"><a class="reference internal" href="fp.html">Functional Programming (FP)</a></li>
<li class="toctree-l1"><a class="reference internal" href="metaprog.html">Reflection and Meta-programming</a></li>
<li class="toctree-l1"><a class="reference internal" href="declarative.html">Declarative Programming using Nested Structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="natural.html">Natural language programming</a></li>
<li class="toctree-l1"><a class="reference internal" href="naturallibrary.html">Using the Natural Library</a></li>
<li class="toctree-l1"><a class="reference internal" href="scope.html">Scope Rules for Variables and Attributes</a></li>
<li class="toctree-l1"><a class="reference internal" href="scope2.html">Scope Rules for Functions and Methods</a></li>
<li class="toctree-l1"><a class="reference internal" href="syntaxflexibility.html">Syntax Flexibility</a></li>
<li class="toctree-l1"><a class="reference internal" href="typehints.html">The Type Hints Library</a></li>
<li class="toctree-l1"><a class="reference internal" href="debug.html">The Trace Library and the Interactive Debugger</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringemb.html">Embedding Ring Language in Ring Programs</a></li>
<li class="toctree-l1"><a class="reference internal" href="stdlib.html">Stdlib Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="stdlibclasses.html">Stdlib Classes</a></li>
<li class="toctree-l1"><a class="reference internal" href="qt.html">Desktop, WebAssembly and Mobile development using RingQt</a></li>
<li class="toctree-l1"><a class="reference internal" href="formdesigner.html">Using the Form Designer</a></li>
<li class="toctree-l1"><a class="reference internal" href="qt3d.html">Graphics Programming using RingQt3D</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringqtobjects.html">Objects Library for RingQt Application</a></li>
<li class="toctree-l1"><a class="reference internal" href="multilanguage.html">Multi-language Applications</a></li>
<li class="toctree-l1"><a class="reference internal" href="qtmobile.html">Building RingQt Applications for Mobile</a></li>
<li class="toctree-l1"><a class="reference internal" href="qtwebassembly.html">Building RingQt Applications for WebAssembly</a></li>
<li class="toctree-l1"><a class="reference internal" href="web.html">Web Development (CGI Library)</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployincloud.html">Deploying Web Applications in the Cloud</a></li>
<li class="toctree-l1"><a class="reference internal" href="allegro.html">Graphics and 2D Games programming using RingAllegro</a></li>
<li class="toctree-l1"><a class="reference internal" href="gameengine.html">Demo Project - Game Engine for 2D Games</a></li>
<li class="toctree-l1"><a class="reference internal" href="gameengineandorid.html">Building Games For Android</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringraylib.html">Developing Games using RingRayLib</a></li>
<li class="toctree-l1"><a class="reference internal" href="usingopengl.html">Using RingOpenGL and RingFreeGLUT for 3D Graphics</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Using RingOpenGL and RingAllegro for 3D Graphics</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#d-cube-and-texture">3D Cube and Texture</a></li>
<li class="toctree-l2"><a class="reference internal" href="#many-cubes">Many Cubes</a></li>
<li class="toctree-l2"><a class="reference internal" href="#tictactoe-3d-game">TicTacToe 3D Game</a></li>
<li class="toctree-l2"><a class="reference internal" href="#more-3d-samples">More 3D Samples</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="goldmagic800.html">Demo Project - The Gold Magic 800 Game</a></li>
<li class="toctree-l1"><a class="reference internal" href="tilengine.html">Using RingTilengine</a></li>
<li class="toctree-l1"><a class="reference internal" href="performancetips.html">Performance Tips</a></li>
<li class="toctree-l1"><a class="reference internal" href="compiler.html">Command Line Options</a></li>
<li class="toctree-l1"><a class="reference internal" href="distribute.html">Distributing Ring Applications (Manual)</a></li>
<li class="toctree-l1"><a class="reference internal" href="distribute_ring2exe.html">Distributing Ring Applications using Ring2EXE</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringpm.html">The Ring Package Manager (RingPM)</a></li>
<li class="toctree-l1"><a class="reference internal" href="zerolib.html">ZeroLib Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="foxringfuncsdoc.html">FoxRing Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="bignumber.html">BigNumber Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="csvlib.html">CSVLib Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="jsonlib.html">JSONLib Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="tokenslib.html">TokensLib Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="libcurl.html">Using RingLibCurl</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringlibcurlfuncsdoc.html">RingLibCurl Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="socket.html">Using RingSockets</a></li>
<li class="toctree-l1"><a class="reference internal" href="threads.html">Using RingThreads</a></li>
<li class="toctree-l1"><a class="reference internal" href="libui.html">Using RingLibui</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringzip.html">Using RingZip</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringlibzipfuncsdoc.html">RingLibZip Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringmurmurhashfuncsdoc.html">RingMurmurHash Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringconsolecolorsfuncsdoc.html">RingConsoleColors Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringallegrofuncsdoc.html">RingAllegro Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="libsdl.html">Using RingLibSDL</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringlibsdlfuncsdoc.html">RingLibSDL Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="libuv.html">Using Ringlibuv</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringlibuvfuncsdoc.html">RingLibuv Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringfreeglutfuncsdoc.html">RingFreeGLUT Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringstbimage.html">RingStbImage Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringopengl32funcsdoc.html">RingOpenGL (OpenGL 3.2) Functions Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="qtclassesdoc.html">RingQt Classes and Methods Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="lowlevel.html">Low Level Functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="extension_tutorial.html">Tutorial: Ring Extensions in C/C++</a></li>
<li class="toctree-l1"><a class="reference internal" href="extension.html">Extension using the C/C++ languages</a></li>
<li class="toctree-l1"><a class="reference internal" href="embedding.html">Embedding Ring Language in C/C++ Programs</a></li>
<li class="toctree-l1"><a class="reference internal" href="codegenerator.html">Code Generator for wrapping C/C++ Libraries</a></li>
<li class="toctree-l1"><a class="reference internal" href="ringbeep.html">Create your first extension using the Code Generator</a></li>
<li class="toctree-l1"><a class="reference internal" href="languagedesign.html">Release Notes: Version 1.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew.html">Release Notes: Version 1.1</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew2.html">Release Notes: Version 1.2</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew3.html">Release Notes: Version 1.3</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew4.html">Release Notes: Version 1.4</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew5.html">Release Notes: Version 1.5</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew6.html">Release Notes: Version 1.6</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew7.html">Release Notes: Version 1.7</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew8.html">Release Notes: Version 1.8</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew9.html">Release Notes: Version 1.9</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew10.html">Release Notes: Version 1.10</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew11.html">Release Notes: Version 1.11</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew12.html">Release Notes: Version 1.12</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew13.html">Release Notes: Version 1.13</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew14.html">Release Notes: Version 1.14</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew15.html">Release Notes: Version 1.15</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew16.html">Release Notes: Version 1.16</a></li>
<li class="toctree-l1"><a class="reference internal" href="whatisnew17.html">Release Notes: Version 1.17</a></li>
<li class="toctree-l1"><a class="reference internal" href="codeeditors.html">Using Other Code Editors</a></li>
<li class="toctree-l1"><a class="reference internal" href="faq.html">Frequently Asked Questions (FAQ)</a></li>
<li class="toctree-l1"><a class="reference internal" href="sourcecode.html">How to Compile Ring From Source Code?</a></li>
<li class="toctree-l1"><a class="reference internal" href="contribute.html">How to contribute?</a></li>
<li class="toctree-l1"><a class="reference internal" href="reference.html">Language Specification</a></li>
<li class="toctree-l1"><a class="reference internal" href="resources.html">Resources</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Ring</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home"></a> »</li>
<li>Using RingOpenGL and RingAllegro for 3D Graphics</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="using-ringopengl-and-ringallegro-for-3d-graphics">
<span id="index-0"></span><h1>Using RingOpenGL and RingAllegro for 3D Graphics<a class="headerlink" href="#using-ringopengl-and-ringallegro-for-3d-graphics" title="Permalink to this headline">¶</a></h1>
<p>In this chapter we will learn about using RingOpenGL and RingAllegro</p>
<div class="section" id="d-cube-and-texture">
<span id="index-1"></span><h2>3D Cube and Texture<a class="headerlink" href="#d-cube-and-texture" title="Permalink to this headline">¶</a></h2>
<p>Source Code:</p>
<div class="highlight-ring notranslate"><div class="highlight"><pre><span></span><span class="c"># Load Libraries</span>
<span class="k">load</span> <span class="s">"gamelib.ring"</span> <span class="c"># RingAllegro Library</span>
<span class="k">load</span> <span class="s">"opengl21lib.ring"</span> <span class="c"># RingOpenGL Library</span>
<span class="c">#==============================================================</span>
<span class="c"># To Support MacOS X</span>
<span class="n">al_run_main</span><span class="p">()</span>
<span class="k">func</span> <span class="n">al_game_start</span> <span class="c"># Called by al_run_main()</span>
<span class="n">main</span><span class="p">()</span> <span class="c"># Now we call our main function</span>
<span class="c">#==============================================================</span>
<span class="k">func</span> <span class="n">main</span>
<span class="k">new</span> <span class="n">GraphicsApp</span> <span class="p">{</span>
<span class="n">start</span><span class="p">()</span>
<span class="p">}</span>
<span class="k">class</span> <span class="n">GraphicsApp</span> <span class="k">from</span> <span class="n">GraphicsAppBase</span>
<span class="n">TITLE</span> <span class="o">=</span> <span class="s">"Ring Cube"</span>
<span class="n">bitmap</span> <span class="n">texture</span>
<span class="n">xrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">yrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">zrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="n">bitmap</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"ring.bmp"</span><span class="p">)</span>
<span class="n">texture</span> <span class="o">=</span> <span class="n">al_get_opengl_texture</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="k">func</span> <span class="n">drawScene</span>
<span class="n">w</span> <span class="o">=</span> <span class="mi">800</span> <span class="n">h</span> <span class="o">=</span> <span class="mi">600</span>
<span class="n">ratio</span> <span class="o">=</span> <span class="n">w</span> <span class="o">/</span> <span class="n">h</span>
<span class="n">glViewport</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="n">w</span><span class="p">,</span> <span class="n">h</span><span class="p">)</span>
<span class="n">glMatrixMode</span><span class="p">(</span><span class="n">GL_PROJECTION</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">gluPerspective</span><span class="p">(</span><span class="mi">45</span><span class="p">,</span><span class="n">ratio</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="mi">100</span><span class="p">)</span>
<span class="n">glMatrixMode</span><span class="p">(</span><span class="n">GL_MODELVIEW</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">)</span>
<span class="n">glShadeModel</span><span class="p">(</span><span class="n">GL_SMOOTH</span><span class="p">)</span>
<span class="n">glClearColor</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.5</span><span class="p">)</span>
<span class="n">glClearDepth</span><span class="p">(</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_DEPTH_TEST</span><span class="p">)</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_CULL_FACE</span><span class="p">)</span>
<span class="n">glDepthFunc</span><span class="p">(</span><span class="n">GL_LEQUAL</span><span class="p">)</span>
<span class="n">glHint</span><span class="p">(</span><span class="n">GL_PERSPECTIVE_CORRECTION_HINT</span><span class="p">,</span> <span class="n">GL_NICEST</span><span class="p">)</span>
<span class="n">glClear</span><span class="p">(</span><span class="n">GL_COLOR_BUFFER_BIT</span> <span class="o">|</span> <span class="n">GL_DEPTH_BUFFER_BIT</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">glTranslatef</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="o">-</span><span class="mf">5.0</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">xrot</span><span class="p">,</span><span class="mf">1.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">yrot</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">1.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">zrot</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glBindTexture</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">,</span> <span class="n">texture</span><span class="p">)</span>
<span class="n">glBegin</span><span class="p">(</span><span class="n">GL_QUADS</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Front</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Back</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Top</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Bottom</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Right</span> <span class="n">face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Left</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glEnd</span><span class="p">()</span>
<span class="n">xrot</span> <span class="o">+=</span> <span class="mf">0.3</span>
<span class="n">yrot</span> <span class="o">+=</span> <span class="mf">0.2</span>
<span class="n">zrot</span> <span class="o">+=</span> <span class="mf">0.4</span>
<span class="k">class</span> <span class="n">GraphicsAppBase</span>
<span class="n">display</span> <span class="n">event_queue</span> <span class="n">ev</span> <span class="n">timeout</span>
<span class="n">timer</span> <span class="n">redraw</span> <span class="o">=</span> <span class="kp">true</span>
<span class="n">FPS</span> <span class="o">=</span> <span class="mi">60</span>
<span class="n">SCREEN_W</span> <span class="o">=</span> <span class="mi">800</span>
<span class="n">SCREEN_H</span> <span class="o">=</span> <span class="mi">600</span>
<span class="n">KEY_UP</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">KEY_DOWN</span> <span class="o">=</span> <span class="mi">2</span>
<span class="n">KEY_LEFT</span> <span class="o">=</span> <span class="mi">3</span>
<span class="n">KEY_RIGHT</span> <span class="o">=</span> <span class="mi">4</span>
<span class="n">Key</span> <span class="o">=</span> <span class="o">[</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="o">]</span>
<span class="n">TITLE</span> <span class="o">=</span> <span class="s">"Graphics Application"</span>
<span class="k">func</span> <span class="n">start</span>
<span class="n">SetUp</span><span class="p">()</span>
<span class="n">loadResources</span><span class="p">()</span>
<span class="n">eventsLoop</span><span class="p">()</span>
<span class="n">destroy</span><span class="p">()</span>
<span class="k">func</span> <span class="n">setup</span>
<span class="n">al_init</span><span class="p">()</span>
<span class="n">al_init_image_addon</span><span class="p">()</span>
<span class="n">al_set_new_display_flags</span><span class="p">(</span><span class="n">ALLEGRO_OPENGL</span><span class="p">)</span>
<span class="n">display</span> <span class="o">=</span> <span class="n">al_create_display</span><span class="p">(</span><span class="n">SCREEN_W</span><span class="p">,</span><span class="n">SCREEN_H</span><span class="p">)</span>
<span class="n">al_set_Window_title</span><span class="p">(</span><span class="n">display</span><span class="p">,</span><span class="n">TITLE</span><span class="p">)</span>
<span class="n">al_clear_to_color</span><span class="p">(</span><span class="n">al_map_rgb</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">))</span>
<span class="n">event_queue</span> <span class="o">=</span> <span class="n">al_create_event_queue</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_display_event_source</span><span class="p">(</span><span class="n">display</span><span class="p">))</span>
<span class="n">ev</span> <span class="o">=</span> <span class="n">al_new_allegro_event</span><span class="p">()</span>
<span class="n">timeout</span> <span class="o">=</span> <span class="n">al_new_allegro_timeout</span><span class="p">()</span>
<span class="n">al_init_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">,</span> <span class="mf">0.06</span><span class="p">)</span>
<span class="n">timer</span> <span class="o">=</span> <span class="n">al_create_timer</span><span class="p">(</span><span class="mf">1.0</span> <span class="o">/</span> <span class="n">FPS</span><span class="p">)</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_timer_event_source</span><span class="p">(</span><span class="n">timer</span><span class="p">))</span>
<span class="n">al_start_timer</span><span class="p">(</span><span class="n">timer</span><span class="p">)</span>
<span class="n">al_install_mouse</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_mouse_event_source</span><span class="p">())</span>
<span class="n">al_install_keyboard</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_keyboard_event_source</span><span class="p">())</span>
<span class="k">func</span> <span class="n">eventsLoop</span>
<span class="k">while</span> <span class="kp">true</span>
<span class="n">al_init_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">,</span> <span class="mf">0.06</span><span class="p">)</span>
<span class="n">al_wait_for_event_until</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span> <span class="n">ev</span><span class="p">,</span> <span class="n">timeout</span><span class="p">)</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_type</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_DISPLAY_CLOSE</span>
<span class="k">exit</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_TIMER</span>
<span class="n">redraw</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_AXES</span>
<span class="n">mouse_x</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_x</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">mouse_y</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_y</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_ENTER_DISPLAY</span>
<span class="n">mouse_x</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_x</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">mouse_y</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_y</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_BUTTON_UP</span>
<span class="k">exit</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_KEY_DOWN</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_keyboard_keycode</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_UP</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_UP</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_DOWN</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_DOWN</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_LEFT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_LEFT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_RIGHT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_RIGHT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">off</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_KEY_UP</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_keyboard_keycode</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_UP</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_UP</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_DOWN</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_DOWN</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_LEFT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_LEFT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_RIGHT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_RIGHT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_ESCAPE</span>
<span class="k">exit</span>
<span class="k">off</span>
<span class="k">off</span>
<span class="k">if</span> <span class="n">redraw</span> <span class="ow">and</span> <span class="n">al_is_event_queue_empty</span><span class="p">(</span><span class="n">event_queue</span><span class="p">)</span>
<span class="n">redraw</span> <span class="o">=</span> <span class="kp">false</span>
<span class="n">drawScene</span><span class="p">()</span>
<span class="n">al_flip_display</span><span class="p">()</span>
<span class="k">ok</span>
<span class="n">callgc</span><span class="p">()</span>
<span class="k">end</span>
<span class="k">func</span> <span class="n">destroy</span>
<span class="n">destroyResources</span><span class="p">()</span>
<span class="n">al_destroy_timer</span><span class="p">(</span><span class="n">timer</span><span class="p">)</span>
<span class="n">al_destroy_allegro_event</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">al_destroy_allegro_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">)</span>
<span class="n">al_destroy_event_queue</span><span class="p">(</span><span class="n">event_queue</span><span class="p">)</span>
<span class="n">al_destroy_display</span><span class="p">(</span><span class="n">display</span><span class="p">)</span>
<span class="n">al_exit</span><span class="p">()</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="k">func</span> <span class="n">drawScene</span>
<span class="k">func</span> <span class="n">destroyResources</span>
</pre></div>
</div>
<p>Screen Shot:</p>
<img alt="Ring Cube" src="_images/ringcube3d.png" />
</div>
<div class="section" id="many-cubes">
<span id="index-2"></span><h2>Many Cubes<a class="headerlink" href="#many-cubes" title="Permalink to this headline">¶</a></h2>
<p>Source Code:</p>
<div class="highlight-ring notranslate"><div class="highlight"><pre><span></span><span class="c"># Load Libraries</span>
<span class="k">load</span> <span class="s">"gamelib.ring"</span> <span class="c"># RingAllegro Library</span>
<span class="k">load</span> <span class="s">"opengl21lib.ring"</span> <span class="c"># RingOpenGL Library</span>
<span class="c">#==============================================================</span>
<span class="c"># To Support MacOS X</span>
<span class="n">al_run_main</span><span class="p">()</span>
<span class="k">func</span> <span class="n">al_game_start</span> <span class="c"># Called by al_run_main()</span>
<span class="n">main</span><span class="p">()</span> <span class="c"># Now we call our main function</span>
<span class="c">#==============================================================</span>
<span class="k">func</span> <span class="n">main</span>
<span class="k">new</span> <span class="n">GraphicsApp</span> <span class="p">{</span>
<span class="n">start</span><span class="p">()</span>
<span class="p">}</span>
<span class="k">class</span> <span class="n">GraphicsApp</span> <span class="k">from</span> <span class="n">GraphicsAppBase</span>
<span class="n">TITLE</span> <span class="o">=</span> <span class="s">"Many Cubes"</span>
<span class="n">bitmap</span> <span class="n">bitmap2</span> <span class="n">bitmap3</span>
<span class="n">texture</span> <span class="n">texture2</span> <span class="n">texture3</span>
<span class="n">fps</span> <span class="o">=</span> <span class="mi">120</span>
<span class="n">xrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">yrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">zrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">nPerspective</span> <span class="o">=</span> <span class="mi">100</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="n">bitmap</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"sky1.jpg"</span><span class="p">)</span>
<span class="n">texture</span> <span class="o">=</span> <span class="n">al_get_opengl_texture</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="n">bitmap2</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"sky2.jpg"</span><span class="p">)</span>
<span class="n">texture2</span> <span class="o">=</span> <span class="n">al_get_opengl_texture</span><span class="p">(</span><span class="n">bitmap2</span><span class="p">)</span>
<span class="n">bitmap3</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"sky3.jpg"</span><span class="p">)</span>
<span class="n">texture3</span> <span class="o">=</span> <span class="n">al_get_opengl_texture</span><span class="p">(</span><span class="n">bitmap3</span><span class="p">)</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap2</span><span class="p">)</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap3</span><span class="p">)</span>
<span class="k">func</span> <span class="n">drawScene</span>
<span class="n">prepare</span><span class="p">()</span>
<span class="n">cubes</span><span class="p">()</span>
<span class="n">rotate</span><span class="p">()</span>
<span class="k">func</span> <span class="n">Prepare</span>
<span class="n">w</span> <span class="o">=</span> <span class="mi">800</span> <span class="n">h</span> <span class="o">=</span> <span class="mi">600</span>
<span class="n">ratio</span> <span class="o">=</span> <span class="n">w</span> <span class="o">/</span> <span class="n">h</span>
<span class="n">glViewport</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="n">w</span><span class="p">,</span> <span class="n">h</span><span class="p">)</span>
<span class="n">glMatrixMode</span><span class="p">(</span><span class="n">GL_PROJECTION</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">gluPerspective</span><span class="p">(</span><span class="o">-</span><span class="n">nPerspective</span><span class="p">,</span><span class="n">ratio</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="n">nPerspective</span><span class="p">)</span>
<span class="n">glMatrixMode</span><span class="p">(</span><span class="n">GL_MODELVIEW</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">)</span>
<span class="n">glShadeModel</span><span class="p">(</span><span class="n">GL_SMOOTH</span><span class="p">)</span>
<span class="n">glClearColor</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.5</span><span class="p">)</span>
<span class="n">glClearDepth</span><span class="p">(</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_DEPTH_TEST</span><span class="p">)</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_CULL_FACE</span><span class="p">)</span>
<span class="n">glDepthFunc</span><span class="p">(</span><span class="n">GL_LEQUAL</span><span class="p">)</span>
<span class="n">glHint</span><span class="p">(</span><span class="n">GL_PERSPECTIVE_CORRECTION_HINT</span><span class="p">,</span> <span class="n">GL_NICEST</span><span class="p">)</span>
<span class="n">glClear</span><span class="p">(</span><span class="n">GL_COLOR_BUFFER_BIT</span> <span class="o">|</span> <span class="n">GL_DEPTH_BUFFER_BIT</span><span class="p">)</span>
<span class="k">func</span> <span class="n">Cubes</span>
<span class="n">cube</span><span class="p">(</span><span class="mi">5</span><span class="p">,</span><span class="o">-</span><span class="mf">3.4</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky1</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="o">-</span><span class="mi">3</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky1</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="o">-</span><span class="mi">5</span><span class="p">,</span><span class="o">-</span><span class="mi">3</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky1</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="mi">5</span><span class="p">,</span><span class="mf">0.5</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky2</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mf">0.5</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky2</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="o">-</span><span class="mi">5</span><span class="p">,</span><span class="mf">0.5</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky2</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="mi">5</span><span class="p">,</span><span class="mi">4</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky3</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">4</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky3</span><span class="p">)</span>
<span class="n">cube</span><span class="p">(</span><span class="o">-</span><span class="mi">5</span><span class="p">,</span><span class="mi">4</span><span class="p">,</span><span class="o">-</span><span class="mi">5</span><span class="p">,:</span><span class="n">sky3</span><span class="p">)</span>
<span class="k">func</span> <span class="n">Rotate</span>
<span class="n">xrot</span> <span class="o">+=</span> <span class="mf">0.3</span> <span class="o">*</span> <span class="mi">5</span>
<span class="n">yrot</span> <span class="o">+=</span> <span class="mf">0.2</span> <span class="o">*</span> <span class="mi">5</span>
<span class="n">zrot</span> <span class="o">+=</span> <span class="mf">0.4</span> <span class="o">*</span> <span class="mi">5</span>
<span class="n">nPerspective</span> <span class="o">+=</span> <span class="mf">0.5</span>
<span class="k">func</span> <span class="n">cube</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="n">y</span><span class="p">,</span><span class="n">z</span><span class="p">,</span><span class="n">nTexture</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">glTranslatef</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="n">y</span><span class="p">,</span><span class="n">z</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">xrot</span><span class="p">,</span><span class="mf">1.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">yrot</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">1.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">zrot</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">drawcube</span><span class="p">(</span><span class="n">nTexture</span><span class="p">)</span>
<span class="k">func</span> <span class="n">drawcube</span><span class="p">(</span><span class="n">cTexture</span><span class="p">)</span>
<span class="k">switch</span> <span class="n">cTexture</span>
<span class="k">on</span> <span class="p">:</span><span class="n">sky1</span>
<span class="n">glBindTexture</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">,</span> <span class="n">texture</span><span class="p">)</span>
<span class="k">on</span> <span class="p">:</span><span class="n">sky2</span>
<span class="n">glBindTexture</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">,</span> <span class="n">texture2</span><span class="p">)</span>
<span class="k">on</span> <span class="p">:</span><span class="n">sky3</span>
<span class="n">glBindTexture</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">,</span> <span class="n">texture3</span><span class="p">)</span>
<span class="k">off</span>
<span class="n">glBegin</span><span class="p">(</span><span class="n">GL_QUADS</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Front</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Back</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Top</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Bottom</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Right</span> <span class="n">face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Left</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glEnd</span><span class="p">()</span>
<span class="k">class</span> <span class="n">GraphicsAppBase</span>
<span class="n">display</span> <span class="n">event_queue</span> <span class="n">ev</span> <span class="n">timeout</span>
<span class="n">timer</span> <span class="n">redraw</span> <span class="o">=</span> <span class="kp">true</span>
<span class="n">FPS</span> <span class="o">=</span> <span class="mi">60</span>
<span class="n">SCREEN_W</span> <span class="o">=</span> <span class="mi">800</span>
<span class="n">SCREEN_H</span> <span class="o">=</span> <span class="mi">600</span>
<span class="n">KEY_UP</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">KEY_DOWN</span> <span class="o">=</span> <span class="mi">2</span>
<span class="n">KEY_LEFT</span> <span class="o">=</span> <span class="mi">3</span>
<span class="n">KEY_RIGHT</span> <span class="o">=</span> <span class="mi">4</span>
<span class="n">Key</span> <span class="o">=</span> <span class="o">[</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="o">]</span>
<span class="n">TITLE</span> <span class="o">=</span> <span class="s">"Graphics Application"</span>
<span class="k">func</span> <span class="n">start</span>
<span class="n">SetUp</span><span class="p">()</span>
<span class="n">loadResources</span><span class="p">()</span>
<span class="n">eventsLoop</span><span class="p">()</span>
<span class="n">destroy</span><span class="p">()</span>
<span class="k">func</span> <span class="n">setup</span>
<span class="n">al_init</span><span class="p">()</span>
<span class="n">al_init_image_addon</span><span class="p">()</span>
<span class="n">al_set_new_display_flags</span><span class="p">(</span><span class="n">ALLEGRO_OPENGL</span><span class="p">)</span>
<span class="n">display</span> <span class="o">=</span> <span class="n">al_create_display</span><span class="p">(</span><span class="n">SCREEN_W</span><span class="p">,</span><span class="n">SCREEN_H</span><span class="p">)</span>
<span class="n">al_set_Window_title</span><span class="p">(</span><span class="n">display</span><span class="p">,</span><span class="n">TITLE</span><span class="p">)</span>
<span class="n">al_clear_to_color</span><span class="p">(</span><span class="n">al_map_rgb</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">))</span>
<span class="n">event_queue</span> <span class="o">=</span> <span class="n">al_create_event_queue</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_display_event_source</span><span class="p">(</span><span class="n">display</span><span class="p">))</span>
<span class="n">ev</span> <span class="o">=</span> <span class="n">al_new_allegro_event</span><span class="p">()</span>
<span class="n">timeout</span> <span class="o">=</span> <span class="n">al_new_allegro_timeout</span><span class="p">()</span>
<span class="n">al_init_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">,</span> <span class="mf">0.06</span><span class="p">)</span>
<span class="n">timer</span> <span class="o">=</span> <span class="n">al_create_timer</span><span class="p">(</span><span class="mf">1.0</span> <span class="o">/</span> <span class="n">FPS</span><span class="p">)</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_timer_event_source</span><span class="p">(</span><span class="n">timer</span><span class="p">))</span>
<span class="n">al_start_timer</span><span class="p">(</span><span class="n">timer</span><span class="p">)</span>
<span class="n">al_install_mouse</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_mouse_event_source</span><span class="p">())</span>
<span class="n">al_install_keyboard</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_keyboard_event_source</span><span class="p">())</span>
<span class="k">func</span> <span class="n">eventsLoop</span>
<span class="k">while</span> <span class="kp">true</span>
<span class="n">al_init_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">,</span> <span class="mf">0.06</span><span class="p">)</span>
<span class="n">al_wait_for_event_until</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span> <span class="n">ev</span><span class="p">,</span> <span class="n">timeout</span><span class="p">)</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_type</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_DISPLAY_CLOSE</span>
<span class="k">exit</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_TIMER</span>
<span class="n">redraw</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_AXES</span>
<span class="n">mouse_x</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_x</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">mouse_y</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_y</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_ENTER_DISPLAY</span>
<span class="n">mouse_x</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_x</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">mouse_y</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_y</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_BUTTON_UP</span>
<span class="k">exit</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_KEY_DOWN</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_keyboard_keycode</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_UP</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_UP</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_DOWN</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_DOWN</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_LEFT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_LEFT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_RIGHT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_RIGHT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">off</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_KEY_UP</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_keyboard_keycode</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_UP</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_UP</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_DOWN</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_DOWN</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_LEFT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_LEFT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_RIGHT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_RIGHT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_ESCAPE</span>
<span class="k">exit</span>
<span class="k">off</span>
<span class="k">off</span>
<span class="k">if</span> <span class="n">redraw</span> <span class="ow">and</span> <span class="n">al_is_event_queue_empty</span><span class="p">(</span><span class="n">event_queue</span><span class="p">)</span>
<span class="n">redraw</span> <span class="o">=</span> <span class="kp">false</span>
<span class="n">drawScene</span><span class="p">()</span>
<span class="n">al_flip_display</span><span class="p">()</span>
<span class="k">ok</span>
<span class="n">callgc</span><span class="p">()</span>
<span class="k">end</span>
<span class="k">func</span> <span class="n">destroy</span>
<span class="n">destroyResources</span><span class="p">()</span>
<span class="n">al_destroy_timer</span><span class="p">(</span><span class="n">timer</span><span class="p">)</span>
<span class="n">al_destroy_allegro_event</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">al_destroy_allegro_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">)</span>
<span class="n">al_destroy_event_queue</span><span class="p">(</span><span class="n">event_queue</span><span class="p">)</span>
<span class="n">al_destroy_display</span><span class="p">(</span><span class="n">display</span><span class="p">)</span>
<span class="n">al_exit</span><span class="p">()</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="k">func</span> <span class="n">drawScene</span>
<span class="k">func</span> <span class="n">destroyResources</span>
</pre></div>
</div>
<p>Screen Shot:</p>
<img alt="Many Cubes" src="_images/manycubes.png" />
</div>
<div class="section" id="tictactoe-3d-game">
<span id="index-3"></span><h2>TicTacToe 3D Game<a class="headerlink" href="#tictactoe-3d-game" title="Permalink to this headline">¶</a></h2>
<p>Source Code:</p>
<div class="highlight-ring notranslate"><div class="highlight"><pre><span></span><span class="c"># Load Libraries</span>
<span class="k">load</span> <span class="s">"gamelib.ring"</span> <span class="c"># RingAllegro Library</span>
<span class="k">load</span> <span class="s">"opengl21lib.ring"</span> <span class="c"># RingOpenGL Library</span>
<span class="c">#==============================================================</span>
<span class="c"># To Support MacOS X</span>
<span class="n">al_run_main</span><span class="p">()</span>
<span class="k">func</span> <span class="n">al_game_start</span> <span class="c"># Called by al_run_main()</span>
<span class="n">main</span><span class="p">()</span> <span class="c"># Now we call our main function</span>
<span class="c">#==============================================================</span>
<span class="k">func</span> <span class="n">main</span>
<span class="k">new</span> <span class="n">TicTacToe3D</span> <span class="p">{</span>
<span class="n">start</span><span class="p">()</span>
<span class="p">}</span>
<span class="k">class</span> <span class="n">TicTacToe3D</span> <span class="k">from</span> <span class="n">GameLogic</span>
<span class="n">FPS</span> <span class="o">=</span> <span class="mi">60</span>
<span class="n">TITLE</span> <span class="o">=</span> <span class="s">"TicTacToe 3D"</span>
<span class="n">oBackground</span> <span class="o">=</span> <span class="k">new</span> <span class="n">GameBackground</span>
<span class="n">oGameSound</span> <span class="o">=</span> <span class="k">new</span> <span class="n">GameSound</span>
<span class="n">oGameCube</span> <span class="o">=</span> <span class="k">new</span> <span class="n">GameCube</span>
<span class="n">oGameOver</span> <span class="o">=</span> <span class="k">new</span> <span class="n">GameOver</span>
<span class="n">oGameInterface</span> <span class="o">=</span> <span class="k">new</span> <span class="n">GameInterface</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="n">oGameOver</span><span class="p">.</span><span class="n">loadresources</span><span class="p">()</span>
<span class="n">oGameSound</span><span class="p">.</span><span class="n">loadresources</span><span class="p">()</span>
<span class="n">oBackGround</span><span class="p">.</span><span class="n">loadresources</span><span class="p">()</span>
<span class="n">oGameCube</span><span class="p">.</span><span class="n">loadresources</span><span class="p">()</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="n">oGameOver</span><span class="p">.</span><span class="n">destroyResources</span><span class="p">()</span>
<span class="n">oGameSound</span><span class="p">.</span><span class="n">destroyResources</span><span class="p">()</span>
<span class="n">oBackGround</span><span class="p">.</span><span class="n">destroyResources</span><span class="p">()</span>
<span class="n">oGameCube</span><span class="p">.</span><span class="n">destroyResources</span><span class="p">()</span>
<span class="k">func</span> <span class="n">drawScene</span>
<span class="n">oBackground</span><span class="p">.</span><span class="n">update</span><span class="p">()</span>
<span class="n">oGameInterface</span><span class="p">.</span><span class="n">update</span><span class="p">(</span><span class="n">self</span><span class="p">)</span>
<span class="k">func</span> <span class="n">MouseClickEvent</span>
<span class="n">oGameInterface</span><span class="p">.</span><span class="n">MouseClickEvent</span><span class="p">(</span><span class="n">self</span><span class="p">)</span>
<span class="k">class</span> <span class="n">GameInterface</span>
<span class="k">func</span> <span class="n">Update</span> <span class="n">oGame</span>
<span class="n">prepare</span><span class="p">()</span>
<span class="n">cubes</span><span class="p">(</span><span class="n">oGame</span><span class="p">)</span>
<span class="k">func</span> <span class="n">Prepare</span>
<span class="n">w</span> <span class="o">=</span> <span class="mi">1024</span> <span class="n">h</span> <span class="o">=</span> <span class="mi">768</span>
<span class="n">ratio</span> <span class="o">=</span> <span class="n">w</span> <span class="o">/</span> <span class="n">h</span>
<span class="n">glViewport</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="n">w</span><span class="p">,</span> <span class="n">h</span><span class="p">)</span>
<span class="n">glMatrixMode</span><span class="p">(</span><span class="n">GL_PROJECTION</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">gluPerspective</span><span class="p">(</span><span class="o">-</span><span class="mi">120</span><span class="p">,</span><span class="n">ratio</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="mi">120</span><span class="p">)</span>
<span class="n">glMatrixMode</span><span class="p">(</span><span class="n">GL_MODELVIEW</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">)</span>
<span class="n">glShadeModel</span><span class="p">(</span><span class="n">GL_SMOOTH</span><span class="p">)</span>
<span class="n">glClearColor</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.5</span><span class="p">)</span>
<span class="n">glClearDepth</span><span class="p">(</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_DEPTH_TEST</span><span class="p">)</span>
<span class="n">glEnable</span><span class="p">(</span><span class="n">GL_CULL_FACE</span><span class="p">)</span>
<span class="n">glDepthFunc</span><span class="p">(</span><span class="n">GL_LEQUAL</span><span class="p">)</span>
<span class="n">glHint</span><span class="p">(</span><span class="n">GL_PERSPECTIVE_CORRECTION_HINT</span><span class="p">,</span> <span class="n">GL_NICEST</span><span class="p">)</span>
<span class="k">func</span> <span class="n">Cubes</span> <span class="n">oGame</span>
<span class="n">oGame</span><span class="p">.</span><span class="n">oGameCube</span> <span class="p">{</span>
<span class="n">aGameMap</span> <span class="o">=</span> <span class="n">oGame</span><span class="p">.</span><span class="n">aGameMap</span>
<span class="n">cube</span><span class="p">(</span> <span class="mi">5</span> <span class="p">,</span> <span class="o">-</span><span class="mi">3</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">1</span><span class="o">][</span><span class="mi">1</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="mi">0</span> <span class="p">,</span> <span class="o">-</span><span class="mi">3</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">1</span><span class="o">][</span><span class="mi">2</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="o">-</span><span class="mi">3</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">1</span><span class="o">][</span><span class="mi">3</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="mi">5</span> <span class="p">,</span> <span class="mi">1</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">2</span><span class="o">][</span><span class="mi">1</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="mi">0</span> <span class="p">,</span> <span class="mi">1</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">2</span><span class="o">][</span><span class="mi">2</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="mi">1</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">2</span><span class="o">][</span><span class="mi">3</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="mi">5</span> <span class="p">,</span> <span class="mi">5</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">3</span><span class="o">][</span><span class="mi">1</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="mi">0</span> <span class="p">,</span> <span class="mi">5</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">3</span><span class="o">][</span><span class="mi">2</span><span class="o">]</span> <span class="p">)</span>
<span class="n">cube</span><span class="p">(</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="mi">5</span> <span class="p">,</span> <span class="o">-</span><span class="mi">5</span> <span class="p">,</span> <span class="n">aGameMap</span><span class="o">[</span><span class="mi">3</span><span class="o">][</span><span class="mi">3</span><span class="o">]</span> <span class="p">)</span>
<span class="n">rotate</span><span class="p">()</span>
<span class="p">}</span>
<span class="k">func</span> <span class="n">MouseClickEvent</span> <span class="n">oGame</span>
<span class="n">oGame</span> <span class="p">{</span>
<span class="n">aBtn</span> <span class="o">=</span> <span class="n">Point2Button</span><span class="p">(</span><span class="n">Mouse_X</span><span class="p">,</span><span class="n">Mouse_Y</span><span class="p">)</span>
<span class="n">nRow</span> <span class="o">=</span> <span class="n">aBtn</span><span class="o">[</span><span class="mi">1</span><span class="o">]</span>
<span class="n">nCol</span> <span class="o">=</span> <span class="n">aBtn</span><span class="o">[</span><span class="mi">2</span><span class="o">]</span>
<span class="k">if</span> <span class="n">nRow</span> <span class="o">!=</span> <span class="mi">0</span> <span class="ow">and</span> <span class="n">nCol</span> <span class="o">!=</span> <span class="mi">0</span>
<span class="k">if</span> <span class="n">aGameMap</span><span class="o">[</span><span class="n">nRow</span><span class="o">][</span><span class="n">nCol</span><span class="o">]</span> <span class="o">=</span> <span class="p">:</span><span class="n">n</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="n">nRow</span><span class="o">][</span><span class="n">nCol</span><span class="o">]</span> <span class="o">=</span> <span class="n">cActivePlayer</span>
<span class="n">ChangeActivePlayer</span><span class="p">()</span>
<span class="n">CheckGameOver</span><span class="p">()</span>
<span class="k">ok</span>
<span class="k">ok</span>
<span class="p">}</span>
<span class="k">Class</span> <span class="n">GameLogic</span> <span class="k">from</span> <span class="n">GraphicsAppBase</span>
<span class="n">aGameMap</span> <span class="o">=</span> <span class="o">[</span>
<span class="o">[</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="o">]</span> <span class="p">,</span>
<span class="o">[</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="o">]</span> <span class="p">,</span>
<span class="o">[</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="o">]</span>
<span class="o">]</span>
<span class="n">aGameButtons</span> <span class="o">=</span> <span class="o">[</span> <span class="c"># x1,y1,x2,y2</span>
<span class="o">[</span><span class="mi">176</span><span class="p">,</span><span class="mi">88</span><span class="p">,</span><span class="mi">375</span><span class="p">,</span><span class="mi">261</span><span class="o">]</span><span class="p">,</span> <span class="c"># [1,1]</span>
<span class="o">[</span><span class="mi">423</span><span class="p">,</span><span class="mi">88</span><span class="p">,</span><span class="mi">591</span><span class="p">,</span><span class="mi">261</span><span class="o">]</span><span class="p">,</span> <span class="c"># [1,2]</span>
<span class="o">[</span><span class="mi">645</span><span class="p">,</span><span class="mi">88</span><span class="p">,</span><span class="mi">876</span><span class="p">,</span><span class="mi">261</span><span class="o">]</span><span class="p">,</span> <span class="c"># [1,3]</span>
<span class="o">[</span><span class="mi">176</span><span class="p">,</span><span class="mi">282</span><span class="p">,</span><span class="mi">375</span><span class="p">,</span><span class="mi">428</span><span class="o">]</span><span class="p">,</span> <span class="c"># [2,1]</span>
<span class="o">[</span><span class="mi">423</span><span class="p">,</span><span class="mi">282</span><span class="p">,</span><span class="mi">591</span><span class="p">,</span><span class="mi">428</span><span class="o">]</span><span class="p">,</span> <span class="c"># [2,2]</span>
<span class="o">[</span><span class="mi">645</span><span class="p">,</span><span class="mi">282</span><span class="p">,</span><span class="mi">876</span><span class="p">,</span><span class="mi">428</span><span class="o">]</span><span class="p">,</span> <span class="c"># [2,3]</span>
<span class="o">[</span><span class="mi">176</span><span class="p">,</span><span class="mi">454</span><span class="p">,</span><span class="mi">375</span><span class="p">,</span><span class="mi">678</span><span class="o">]</span><span class="p">,</span> <span class="c"># [3,1]</span>
<span class="o">[</span><span class="mi">423</span><span class="p">,</span><span class="mi">454</span><span class="p">,</span><span class="mi">591</span><span class="p">,</span><span class="mi">678</span><span class="o">]</span><span class="p">,</span> <span class="c"># [3,2]</span>
<span class="o">[</span><span class="mi">645</span><span class="p">,</span><span class="mi">454</span><span class="p">,</span><span class="mi">876</span><span class="p">,</span><span class="mi">678</span><span class="o">]</span> <span class="c"># [3,3]</span>
<span class="o">]</span>
<span class="n">cActivePlayer</span> <span class="o">=</span> <span class="p">:</span><span class="n">x</span>
<span class="k">func</span> <span class="n">point2button</span> <span class="n">x</span><span class="p">,</span><span class="n">y</span>
<span class="n">nRow</span> <span class="o">=</span> <span class="mi">0</span>
<span class="n">nCol</span> <span class="o">=</span> <span class="mi">0</span>
<span class="k">for</span> <span class="n">t</span> <span class="o">=</span> <span class="mi">1</span> <span class="k">to</span> <span class="n">len</span><span class="p">(</span><span class="n">aGameButtons</span><span class="p">)</span>
<span class="n">rect</span> <span class="o">=</span> <span class="n">aGameButtons</span><span class="o">[</span><span class="n">t</span><span class="o">]</span>
<span class="k">if</span> <span class="n">x</span> <span class="o">>=</span> <span class="n">rect</span><span class="o">[</span><span class="mi">1</span><span class="o">]</span> <span class="ow">and</span> <span class="n">x</span> <span class="o"><=</span> <span class="n">rect</span><span class="o">[</span><span class="mi">3</span><span class="o">]</span> <span class="ow">and</span>
<span class="n">y</span> <span class="o">>=</span> <span class="n">rect</span><span class="o">[</span><span class="mi">2</span><span class="o">]</span> <span class="ow">and</span> <span class="n">y</span> <span class="o"><=</span> <span class="n">rect</span><span class="o">[</span><span class="mi">4</span><span class="o">]</span>
<span class="k">switch</span> <span class="n">t</span>
<span class="k">on</span> <span class="mi">1</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">1</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">on</span> <span class="mi">2</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">1</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">2</span>
<span class="k">on</span> <span class="mi">3</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">1</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">3</span>
<span class="k">on</span> <span class="mi">4</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">2</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">on</span> <span class="mi">5</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">2</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">2</span>
<span class="k">on</span> <span class="mi">6</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">2</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">3</span>
<span class="k">on</span> <span class="mi">7</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">3</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">on</span> <span class="mi">8</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">3</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">2</span>
<span class="k">on</span> <span class="mi">9</span> <span class="n">nRow</span> <span class="o">=</span> <span class="mi">3</span> <span class="n">nCol</span> <span class="o">=</span> <span class="mi">3</span>
<span class="k">off</span>
<span class="k">exit</span>
<span class="k">ok</span>
<span class="k">next</span>
<span class="k">return</span> <span class="o">[</span><span class="n">nRow</span><span class="p">,</span><span class="n">nCol</span><span class="o">]</span>
<span class="k">func</span> <span class="n">ChangeActivePlayer</span><span class="p">()</span>
<span class="k">if</span> <span class="n">cActivePlayer</span> <span class="o">=</span> <span class="p">:</span><span class="n">x</span>
<span class="n">cActivePlayer</span> <span class="o">=</span> <span class="p">:</span><span class="n">o</span>
<span class="k">else</span>
<span class="n">cActivePlayer</span> <span class="o">=</span> <span class="p">:</span><span class="n">x</span>
<span class="k">ok</span>
<span class="k">func</span> <span class="n">CheckGameOver</span>
<span class="n">aList</span> <span class="o">=</span> <span class="o">[</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">1</span><span class="o">][</span><span class="mi">1</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">1</span><span class="o">][</span><span class="mi">2</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">1</span><span class="o">][</span><span class="mi">3</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">2</span><span class="o">][</span><span class="mi">1</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">2</span><span class="o">][</span><span class="mi">2</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">2</span><span class="o">][</span><span class="mi">3</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">3</span><span class="o">][</span><span class="mi">1</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">3</span><span class="o">][</span><span class="mi">2</span><span class="o">]</span><span class="p">,</span>
<span class="n">aGameMap</span><span class="o">[</span><span class="mi">3</span><span class="o">][</span><span class="mi">3</span><span class="o">]</span>
<span class="o">]</span>
<span class="k">for</span> <span class="n">item</span> <span class="k">in</span> <span class="n">aList</span>
<span class="k">switch</span> <span class="n">item</span>
<span class="k">on</span> <span class="p">:</span><span class="n">x</span> <span class="n">item</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">on</span> <span class="p">:</span><span class="n">o</span> <span class="n">item</span> <span class="o">=</span> <span class="mi">2</span>
<span class="k">on</span> <span class="p">:</span><span class="n">n</span> <span class="n">item</span> <span class="o">=</span> <span class="mi">0</span>
<span class="k">off</span>
<span class="k">next</span>
<span class="n">nStatus</span> <span class="o">=</span> <span class="n">CheckWinner</span><span class="p">(</span><span class="n">aList</span><span class="p">)</span>
<span class="k">if</span> <span class="n">nStatus</span>
<span class="n">oGameOver</span> <span class="p">{</span>
<span class="k">Switch</span> <span class="n">nStatus</span>
<span class="k">on</span> <span class="mi">1</span> <span class="n">Player1Win</span><span class="p">(</span><span class="n">this</span><span class="p">)</span>
<span class="k">on</span> <span class="mi">2</span> <span class="n">Player2Win</span><span class="p">(</span><span class="n">this</span><span class="p">)</span>
<span class="k">on</span> <span class="mi">3</span> <span class="n">NoOneWin</span><span class="p">(</span><span class="n">this</span><span class="p">)</span>
<span class="k">off</span>
<span class="p">}</span>
<span class="n">refreshGame</span><span class="p">()</span>
<span class="k">ok</span>
<span class="k">func</span> <span class="n">refreshGame</span>
<span class="n">aGameMap</span> <span class="o">=</span> <span class="o">[</span>
<span class="o">[</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="o">]</span> <span class="p">,</span>
<span class="o">[</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="o">]</span> <span class="p">,</span>
<span class="o">[</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="p">,</span> <span class="p">:</span><span class="n">n</span> <span class="o">]</span>
<span class="o">]</span>
<span class="n">cActivePlayer</span> <span class="o">=</span> <span class="p">:</span><span class="n">x</span>
<span class="k">func</span> <span class="n">CheckWinner</span> <span class="n">lst</span>
<span class="o">//</span><span class="n">vertical</span> <span class="n">check</span>
<span class="k">for</span> <span class="n">v</span><span class="o">=</span><span class="mi">1</span> <span class="k">to</span> <span class="mi">9</span> <span class="k">step</span> <span class="mi">3</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">+</span><span class="mi">1</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">+</span><span class="mi">2</span><span class="o">]!=</span><span class="mi">0</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">+</span><span class="mi">1</span><span class="o">]</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">+</span><span class="mi">1</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">+</span><span class="mi">2</span><span class="o">]</span>
<span class="k">return</span> <span class="n">lst</span><span class="o">[</span><span class="n">v</span><span class="o">]</span>
<span class="k">ok</span>
<span class="k">ok</span>
<span class="k">next</span>
<span class="o">//</span><span class="n">horizontal</span>
<span class="k">for</span> <span class="n">h</span><span class="o">=</span><span class="mi">1</span> <span class="k">to</span> <span class="mi">3</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">+</span><span class="mi">3</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">+</span><span class="mi">6</span><span class="o">]!=</span><span class="mi">0</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">+</span><span class="mi">3</span><span class="o">]</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">+</span><span class="mi">3</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">+</span><span class="mi">6</span><span class="o">]</span>
<span class="k">return</span> <span class="n">lst</span><span class="o">[</span><span class="n">h</span><span class="o">]</span>
<span class="k">ok</span>
<span class="k">ok</span>
<span class="k">next</span>
<span class="o">//</span><span class="n">Cross</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="mi">1</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="mi">5</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="mi">9</span><span class="o">]!=</span><span class="mi">0</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="mi">1</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="mi">5</span><span class="o">]</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="mi">5</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="mi">9</span><span class="o">]</span> <span class="k">return</span> <span class="n">lst</span><span class="o">[</span><span class="mi">1</span><span class="o">]</span> <span class="k">ok</span>
<span class="k">ok</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="mi">3</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="mi">5</span><span class="o">]!=</span><span class="mi">0</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="mi">7</span><span class="o">]!=</span><span class="mi">0</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="mi">3</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="mi">5</span><span class="o">]</span> <span class="ow">and</span> <span class="n">lst</span><span class="o">[</span><span class="mi">5</span><span class="o">]=</span><span class="n">lst</span><span class="o">[</span><span class="mi">7</span><span class="o">]</span> <span class="k">return</span> <span class="n">lst</span><span class="o">[</span><span class="mi">3</span><span class="o">]</span> <span class="k">ok</span>
<span class="k">ok</span>
<span class="o">//</span><span class="n">tie</span>
<span class="n">tie</span><span class="o">=</span><span class="kp">true</span>
<span class="k">for</span> <span class="n">i</span><span class="o">=</span><span class="mi">1</span> <span class="k">to</span> <span class="mi">9</span>
<span class="k">if</span> <span class="n">lst</span><span class="o">[</span><span class="n">i</span><span class="o">]=</span><span class="mi">0</span> <span class="n">tie</span><span class="o">=</span><span class="kp">false</span> <span class="k">exit</span> <span class="k">ok</span>
<span class="k">next</span>
<span class="k">if</span> <span class="n">tie</span><span class="o">=</span><span class="kp">true</span> <span class="k">return</span> <span class="mi">3</span> <span class="k">ok</span> <span class="k">return</span> <span class="mi">0</span>
<span class="k">class</span> <span class="n">GameOver</span>
<span class="n">font</span> <span class="n">bitmap</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="n">font</span> <span class="o">=</span> <span class="n">al_load_ttf_font</span><span class="p">(</span><span class="s">"font/pirulen.ttf"</span><span class="p">,</span><span class="mi">54</span><span class="p">,</span><span class="mi">0</span> <span class="p">)</span>
<span class="n">bitmap</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"image/ballon.png"</span><span class="p">)</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="n">al_destroy_font</span><span class="p">(</span><span class="n">font</span><span class="p">)</span>
<span class="k">func</span> <span class="n">Player1Win</span> <span class="n">oGame</span>
<span class="n">showMsg</span><span class="p">(</span><span class="n">oGame</span><span class="p">,</span><span class="mi">80</span><span class="p">,</span><span class="mi">430</span><span class="p">,</span><span class="s">"Good job X you won!"</span><span class="p">)</span>
<span class="k">func</span> <span class="n">Player2Win</span> <span class="n">oGame</span>
<span class="n">showMsg</span><span class="p">(</span><span class="n">oGame</span><span class="p">,</span><span class="mi">80</span><span class="p">,</span><span class="mi">430</span><span class="p">,</span><span class="s">"Good job O you won!"</span><span class="p">)</span>
<span class="k">func</span> <span class="n">NoOneWin</span> <span class="n">oGame</span>
<span class="n">showMsg</span><span class="p">(</span><span class="n">oGame</span><span class="p">,</span><span class="mi">150</span><span class="p">,</span><span class="mi">430</span><span class="p">,</span><span class="s">"Oh no it's a tie!"</span><span class="p">)</span>
<span class="k">func</span> <span class="n">ShowMsg</span> <span class="n">oGame</span><span class="p">,</span><span class="n">x</span><span class="p">,</span><span class="n">y</span><span class="p">,</span><span class="n">cMsg</span>
<span class="n">oGame</span> <span class="p">{</span>
<span class="n">drawScene</span><span class="p">()</span>
<span class="n">al_flip_display</span><span class="p">()</span>
<span class="n">al_rest</span><span class="p">(</span><span class="mf">0.3</span><span class="p">)</span>
<span class="n">newdisplay</span> <span class="o">=</span> <span class="n">al_create_display</span><span class="p">(</span><span class="n">SCREEN_W</span><span class="p">,</span><span class="n">SCREEN_H</span><span class="p">)</span>
<span class="n">al_set_window_title</span><span class="p">(</span><span class="n">newdisplay</span><span class="p">,</span><span class="n">TITLE</span><span class="p">)</span>
<span class="n">al_clear_to_color</span><span class="p">(</span><span class="n">al_map_rgb</span><span class="p">(</span><span class="mi">255</span><span class="p">,</span><span class="mi">255</span><span class="p">,</span><span class="mi">255</span><span class="p">))</span>
<span class="n">al_draw_bitmap</span><span class="p">(</span><span class="n">this</span><span class="p">.</span><span class="n">bitmap</span><span class="p">,</span><span class="mi">200</span><span class="p">,</span><span class="mi">50</span><span class="p">,</span><span class="mi">1</span><span class="p">)</span>
<span class="n">al_draw_text</span><span class="p">(</span><span class="n">this</span><span class="p">.</span><span class="n">font</span><span class="p">,</span>
<span class="n">al_map_rgb</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">255</span><span class="p">),</span> <span class="n">x</span><span class="p">,</span><span class="n">y</span><span class="p">,</span>
<span class="n">ALLEGRO_ALIGN_LEFT</span><span class="p">,</span><span class="n">cMsg</span><span class="p">)</span>
<span class="n">al_flip_display</span><span class="p">()</span>
<span class="n">al_rest</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span>
<span class="n">al_destroy_display</span><span class="p">(</span><span class="n">newdisplay</span><span class="p">)</span>
<span class="n">al_set_target_backbuffer</span><span class="p">(</span><span class="n">display</span><span class="p">)</span>
<span class="p">}</span>
<span class="k">class</span> <span class="n">GameCube</span>
<span class="n">bitmap</span> <span class="n">bitmap2</span> <span class="n">bitmap3</span>
<span class="n">textureX</span> <span class="n">textureO</span> <span class="n">textureN</span>
<span class="n">xrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">yrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">zrot</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="n">bitmap</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"image/o.png"</span><span class="p">)</span>
<span class="n">textureO</span> <span class="o">=</span> <span class="n">al_get_opengl_texture</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="n">bitmap2</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"image/x.png"</span><span class="p">)</span>
<span class="n">textureX</span> <span class="o">=</span> <span class="n">al_get_opengl_texture</span><span class="p">(</span><span class="n">bitmap2</span><span class="p">)</span>
<span class="n">bitmap3</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"image/empty.png"</span><span class="p">)</span>
<span class="n">textureN</span> <span class="o">=</span> <span class="n">al_get_opengl_texture</span><span class="p">(</span><span class="n">bitmap3</span><span class="p">)</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap2</span><span class="p">)</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap3</span><span class="p">)</span>
<span class="k">func</span> <span class="n">cube</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="n">y</span><span class="p">,</span><span class="n">z</span><span class="p">,</span><span class="n">nTexture</span><span class="p">)</span>
<span class="n">glLoadIdentity</span><span class="p">()</span>
<span class="n">glTranslatef</span><span class="p">(</span><span class="n">x</span><span class="p">,</span><span class="n">y</span><span class="p">,</span><span class="n">z</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">xrot</span><span class="p">,</span><span class="mf">1.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">yrot</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">1.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">)</span>
<span class="n">glRotatef</span><span class="p">(</span><span class="n">zrot</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">0.0</span><span class="p">,</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">setCubeTexture</span><span class="p">(</span><span class="n">nTexture</span><span class="p">)</span>
<span class="n">drawCube</span><span class="p">()</span>
<span class="k">func</span> <span class="n">setCubeTexture</span> <span class="n">cTexture</span>
<span class="k">switch</span> <span class="n">cTexture</span>
<span class="k">on</span> <span class="p">:</span><span class="n">x</span>
<span class="n">glBindTexture</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">,</span> <span class="n">textureX</span><span class="p">)</span>
<span class="k">on</span> <span class="p">:</span><span class="n">o</span>
<span class="n">glBindTexture</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">,</span> <span class="n">textureO</span><span class="p">)</span>
<span class="k">on</span> <span class="p">:</span><span class="n">n</span>
<span class="n">glBindTexture</span><span class="p">(</span><span class="n">GL_TEXTURE_2D</span><span class="p">,</span> <span class="n">textureN</span><span class="p">)</span>
<span class="k">off</span>
<span class="k">func</span> <span class="n">Rotate</span>
<span class="n">xrot</span> <span class="o">+=</span> <span class="mf">0.3</span> <span class="o">*</span> <span class="mi">5</span>
<span class="n">yrot</span> <span class="o">+=</span> <span class="mf">0.2</span> <span class="o">*</span> <span class="mi">5</span>
<span class="n">zrot</span> <span class="o">+=</span> <span class="mf">0.4</span> <span class="o">*</span> <span class="mi">5</span>
<span class="k">func</span> <span class="n">drawcube</span>
<span class="n">glBegin</span><span class="p">(</span><span class="n">GL_QUADS</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Front</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Back</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Top</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Bottom</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Right</span> <span class="n">face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="o">//</span> <span class="n">Left</span> <span class="n">Face</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span>
<span class="n">glTexCoord2f</span><span class="p">(</span><span class="mf">0.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">)</span> <span class="n">glVertex3f</span><span class="p">(</span><span class="o">-</span><span class="mf">1.0</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="o">-</span><span class="mf">1.0</span><span class="p">)</span>
<span class="n">glEnd</span><span class="p">()</span>
<span class="k">class</span> <span class="n">GameBackground</span>
<span class="n">nBackX</span> <span class="o">=</span> <span class="mi">0</span>
<span class="n">nBackY</span> <span class="o">=</span> <span class="mi">0</span>
<span class="n">nBackDiffx</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span>
<span class="n">nBackDiffy</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span>
<span class="n">nBackMotion</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">aBackMotionList</span> <span class="o">=</span> <span class="o">[</span>
<span class="o">[</span> <span class="o">-</span><span class="mi">1</span><span class="p">,</span> <span class="o">-</span><span class="mi">1</span> <span class="o">]</span> <span class="p">,</span> <span class="c"># Down - Right</span>
<span class="o">[</span> <span class="mi">0</span> <span class="p">,</span> <span class="mi">1</span> <span class="o">]</span> <span class="p">,</span> <span class="c"># Up</span>
<span class="o">[</span> <span class="o">-</span><span class="mi">1</span><span class="p">,</span> <span class="o">-</span><span class="mi">1</span> <span class="o">]</span> <span class="p">,</span> <span class="c"># Down - Right</span>
<span class="o">[</span> <span class="mi">0</span> <span class="p">,</span> <span class="mi">1</span> <span class="o">]</span> <span class="p">,</span> <span class="c"># Up</span>
<span class="o">[</span> <span class="mi">1</span> <span class="p">,</span> <span class="o">-</span><span class="mi">1</span> <span class="o">]</span> <span class="p">,</span> <span class="c"># Down - Left</span>
<span class="o">[</span> <span class="mi">0</span> <span class="p">,</span> <span class="mi">1</span> <span class="o">]</span> <span class="p">,</span> <span class="c"># Up</span>
<span class="o">[</span> <span class="mi">1</span> <span class="p">,</span> <span class="o">-</span><span class="mi">1</span> <span class="o">]</span> <span class="p">,</span> <span class="c"># Down - Left</span>
<span class="o">[</span> <span class="mi">0</span> <span class="p">,</span> <span class="mi">1</span> <span class="o">]</span> <span class="c"># Up</span>
<span class="o">]</span>
<span class="n">bitmap</span>
<span class="k">func</span> <span class="n">Update</span>
<span class="n">draw</span><span class="p">()</span>
<span class="n">motion</span><span class="p">()</span>
<span class="k">func</span> <span class="n">draw</span>
<span class="n">al_draw_bitmap</span><span class="p">(</span><span class="n">bitmap</span><span class="p">,</span><span class="n">nBackX</span><span class="p">,</span><span class="n">nBackY</span><span class="p">,</span><span class="mi">1</span><span class="p">)</span>
<span class="k">func</span> <span class="n">motion</span>
<span class="n">nBackX</span> <span class="o">+=</span> <span class="n">nBackDiffx</span>
<span class="n">nBackY</span> <span class="o">+=</span> <span class="n">nBackDiffy</span>
<span class="k">if</span> <span class="p">(</span><span class="n">nBackY</span> <span class="o">=</span> <span class="o">-</span><span class="mi">350</span><span class="p">)</span> <span class="ow">or</span> <span class="p">(</span><span class="n">nBackY</span> <span class="o">=</span> <span class="mi">0</span><span class="p">)</span>
<span class="n">nBackMotion</span><span class="o">++</span>
<span class="k">if</span> <span class="n">nBackMotion</span> <span class="o">></span> <span class="n">len</span><span class="p">(</span><span class="n">aBackMotionList</span><span class="p">)</span>
<span class="n">nBackMotion</span> <span class="o">=</span> <span class="mi">1</span>
<span class="k">ok</span>
<span class="n">nBackDiffx</span> <span class="o">=</span> <span class="n">aBackMotionList</span><span class="o">[</span><span class="n">nBackMotion</span><span class="o">][</span><span class="mi">1</span><span class="o">]</span>
<span class="n">nBackDiffy</span> <span class="o">=</span> <span class="n">aBackMotionList</span><span class="o">[</span><span class="n">nBackMotion</span><span class="o">][</span><span class="mi">2</span><span class="o">]</span>
<span class="k">ok</span>
<span class="k">func</span> <span class="n">loadResources</span>
<span class="n">bitmap</span> <span class="o">=</span> <span class="n">al_load_bitmap</span><span class="p">(</span><span class="s">"image/back.jpg"</span><span class="p">)</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="n">al_destroy_bitmap</span><span class="p">(</span><span class="n">bitmap</span><span class="p">)</span>
<span class="k">class</span> <span class="n">GameSound</span>
<span class="n">sample</span> <span class="n">sampleid</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="n">sample</span> <span class="o">=</span> <span class="n">al_load_sample</span><span class="p">(</span> <span class="s">"sound/music1.wav"</span> <span class="p">)</span>
<span class="n">sampleid</span> <span class="o">=</span> <span class="n">al_new_allegro_sample_id</span><span class="p">()</span>
<span class="n">al_play_sample</span><span class="p">(</span><span class="n">sample</span><span class="p">,</span> <span class="mf">1.0</span><span class="p">,</span> <span class="mf">0.0</span><span class="p">,</span><span class="mf">1.0</span><span class="p">,</span><span class="n">ALLEGRO_PLAYMODE_LOOP</span><span class="p">,</span><span class="n">sampleid</span><span class="p">)</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="n">al_destroy_allegro_sample_id</span><span class="p">(</span><span class="n">sampleid</span><span class="p">)</span>
<span class="n">al_destroy_sample</span><span class="p">(</span><span class="n">sample</span><span class="p">)</span>
<span class="k">class</span> <span class="n">GraphicsAppBase</span>
<span class="n">display</span> <span class="n">event_queue</span> <span class="n">ev</span> <span class="n">timeout</span>
<span class="n">timer</span>
<span class="n">redraw</span> <span class="o">=</span> <span class="kp">true</span>
<span class="n">FPS</span> <span class="o">=</span> <span class="mi">60</span>
<span class="n">SCREEN_W</span> <span class="o">=</span> <span class="mi">1024</span>
<span class="n">SCREEN_H</span> <span class="o">=</span> <span class="mi">700</span>
<span class="n">KEY_UP</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">KEY_DOWN</span> <span class="o">=</span> <span class="mi">2</span>
<span class="n">KEY_LEFT</span> <span class="o">=</span> <span class="mi">3</span>
<span class="n">KEY_RIGHT</span> <span class="o">=</span> <span class="mi">4</span>
<span class="n">Key</span> <span class="o">=</span> <span class="o">[</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="p">,</span><span class="kp">false</span><span class="o">]</span>
<span class="n">Mouse_X</span> <span class="o">=</span> <span class="mi">0</span>
<span class="n">Mouse_Y</span> <span class="o">=</span> <span class="mi">0</span>
<span class="n">TITLE</span> <span class="o">=</span> <span class="s">"Graphics Application"</span>
<span class="n">PRINT_MOUSE_XY</span> <span class="o">=</span> <span class="kp">False</span>
<span class="k">func</span> <span class="n">start</span>
<span class="n">SetUp</span><span class="p">()</span>
<span class="n">loadResources</span><span class="p">()</span>
<span class="n">eventsLoop</span><span class="p">()</span>
<span class="n">destroy</span><span class="p">()</span>
<span class="k">func</span> <span class="n">setup</span>
<span class="n">al_init</span><span class="p">()</span>
<span class="n">al_init_font_addon</span><span class="p">()</span>
<span class="n">al_init_ttf_addon</span><span class="p">()</span>
<span class="n">al_init_image_addon</span><span class="p">()</span>
<span class="n">al_install_audio</span><span class="p">()</span>
<span class="n">al_init_acodec_addon</span><span class="p">()</span>
<span class="n">al_reserve_samples</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span>
<span class="n">al_set_new_display_flags</span><span class="p">(</span><span class="n">ALLEGRO_OPENGL</span><span class="p">)</span>
<span class="n">display</span> <span class="o">=</span> <span class="n">al_create_display</span><span class="p">(</span><span class="n">SCREEN_W</span><span class="p">,</span><span class="n">SCREEN_H</span><span class="p">)</span>
<span class="n">al_set_window_title</span><span class="p">(</span><span class="n">display</span><span class="p">,</span><span class="n">TITLE</span><span class="p">)</span>
<span class="n">al_clear_to_color</span><span class="p">(</span><span class="n">al_map_rgb</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">,</span><span class="mi">0</span><span class="p">))</span>
<span class="n">event_queue</span> <span class="o">=</span> <span class="n">al_create_event_queue</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_display_event_source</span><span class="p">(</span><span class="n">display</span><span class="p">))</span>
<span class="n">ev</span> <span class="o">=</span> <span class="n">al_new_allegro_event</span><span class="p">()</span>
<span class="n">timeout</span> <span class="o">=</span> <span class="n">al_new_allegro_timeout</span><span class="p">()</span>
<span class="n">al_init_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">,</span> <span class="mf">0.06</span><span class="p">)</span>
<span class="n">timer</span> <span class="o">=</span> <span class="n">al_create_timer</span><span class="p">(</span><span class="mf">1.0</span> <span class="o">/</span> <span class="n">FPS</span><span class="p">)</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_timer_event_source</span><span class="p">(</span><span class="n">timer</span><span class="p">))</span>
<span class="n">al_start_timer</span><span class="p">(</span><span class="n">timer</span><span class="p">)</span>
<span class="n">al_install_mouse</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_mouse_event_source</span><span class="p">())</span>
<span class="n">al_install_keyboard</span><span class="p">()</span>
<span class="n">al_register_event_source</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span>
<span class="n">al_get_keyboard_event_source</span><span class="p">())</span>
<span class="k">func</span> <span class="n">eventsLoop</span>
<span class="k">while</span> <span class="kp">true</span>
<span class="n">al_init_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">,</span> <span class="mf">0.06</span><span class="p">)</span>
<span class="n">al_wait_for_event_until</span><span class="p">(</span><span class="n">event_queue</span><span class="p">,</span> <span class="n">ev</span><span class="p">,</span> <span class="n">timeout</span><span class="p">)</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_type</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_DISPLAY_CLOSE</span>
<span class="n">CloseEvent</span><span class="p">()</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_TIMER</span>
<span class="n">redraw</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_AXES</span>
<span class="n">mouse_x</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_x</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">mouse_y</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_y</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">if</span> <span class="n">PRINT_MOUSE_XY</span>
<span class="k">see</span> <span class="s">"x = "</span> <span class="o">+</span> <span class="n">mouse_x</span> <span class="o">+</span> <span class="n">nl</span>
<span class="k">see</span> <span class="s">"y = "</span> <span class="o">+</span> <span class="n">mouse_y</span> <span class="o">+</span> <span class="n">nl</span>
<span class="k">ok</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_ENTER_DISPLAY</span>
<span class="n">mouse_x</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_x</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">mouse_y</span> <span class="o">=</span> <span class="n">al_get_allegro_event_mouse_y</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_MOUSE_BUTTON_UP</span>
<span class="n">MouseClickEvent</span><span class="p">()</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_KEY_DOWN</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_keyboard_keycode</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_UP</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_UP</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_DOWN</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_DOWN</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_LEFT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_LEFT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_RIGHT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_RIGHT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">true</span>
<span class="k">off</span>
<span class="k">on</span> <span class="n">ALLEGRO_EVENT_KEY_UP</span>
<span class="k">switch</span> <span class="n">al_get_allegro_event_keyboard_keycode</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_UP</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_UP</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_DOWN</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_DOWN</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_LEFT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_LEFT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_RIGHT</span>
<span class="n">key</span><span class="o">[</span><span class="n">KEY_RIGHT</span><span class="o">]</span> <span class="o">=</span> <span class="kp">false</span>
<span class="k">on</span> <span class="n">ALLEGRO_KEY_ESCAPE</span>
<span class="k">exit</span>
<span class="k">off</span>
<span class="k">off</span>
<span class="k">if</span> <span class="n">redraw</span> <span class="ow">and</span> <span class="n">al_is_event_queue_empty</span><span class="p">(</span><span class="n">event_queue</span><span class="p">)</span>
<span class="n">redraw</span> <span class="o">=</span> <span class="kp">false</span>
<span class="n">drawScene</span><span class="p">()</span>
<span class="n">al_flip_display</span><span class="p">()</span>
<span class="k">ok</span>
<span class="n">callgc</span><span class="p">()</span>
<span class="k">end</span>
<span class="k">func</span> <span class="n">destroy</span>
<span class="n">destroyResources</span><span class="p">()</span>
<span class="n">al_destroy_timer</span><span class="p">(</span><span class="n">timer</span><span class="p">)</span>
<span class="n">al_destroy_allegro_event</span><span class="p">(</span><span class="n">ev</span><span class="p">)</span>
<span class="n">al_destroy_allegro_timeout</span><span class="p">(</span><span class="n">timeout</span><span class="p">)</span>
<span class="n">al_destroy_event_queue</span><span class="p">(</span><span class="n">event_queue</span><span class="p">)</span>
<span class="n">al_destroy_display</span><span class="p">(</span><span class="n">display</span><span class="p">)</span>
<span class="n">al_exit</span><span class="p">()</span>
<span class="k">func</span> <span class="n">loadresources</span>
<span class="k">func</span> <span class="n">drawScene</span>
<span class="k">func</span> <span class="n">destroyResources</span>
<span class="k">func</span> <span class="n">MouseClickEvent</span>
<span class="k">exit</span> <span class="c"># Exit from the Events Loop</span>
<span class="k">func</span> <span class="n">CloseEvent</span>
<span class="k">exit</span> <span class="c"># Exit from the Events Loop</span>
</pre></div>
</div>
<p>Screen Shot:</p>
<a class="reference internal image-reference" href="_images/tictactoe3d.png"><img alt="TicTacToe 3D Game" src="_images/tictactoe3d.png" style="width: 450pt; height: 350pt;" /></a>
</div>
<div class="section" id="more-3d-samples">
<span id="index-4"></span><h2>More 3D Samples<a class="headerlink" href="#more-3d-samples" title="Permalink to this headline">¶</a></h2>
<p>You will find the samples in ring/samples/3D folder</p>
<p>The next screen shot for the Top-Down view - Many levels of cubes sample</p>
<img alt="3D samples" src="_images/more3dsamples.jpg" />
<p>The next screen shot for the Camera Sample</p>
<img alt="3D samples" src="_images/more3dsamples2.jpg" />
<p>The next screen shot for the Camera and background sample</p>
<p>Developer : Azzeddine Remmal</p>
<img alt="Camera and background" src="_images/cameraandbackground.png" />
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="goldmagic800.html" class="btn btn-neutral float-right" title="The Gold Magic 800 Game" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="usingopengl.html" class="btn btn-neutral float-left" title="Using RingOpenGL and RingFreeGLUT for 3D Graphics" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2016-2022, Ring Team
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(false);
});
</script>
</body>
</html> | ring-lang/ring | documents/build/html/usingopengl2.html | HTML | mit | 167,763 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<title>The Component Hierarchy</title>
</head>
<body BGCOLOR="#ffffff">
<table width="100%">
<tr>
<td align=left>
<a href="egClasses.html"><img src="../../images/PreviousArrow.gif" width=26 height=26 align=bottom border=0 alt="Previous | "></a><a
href="drawing.html"><img src="../../images/NextArrow.gif" width=26 height=26 align=bottom border=0 alt="Next | "></a><a
href="../../trailmap.html"><img src="../../images/WayUpArrow.gif" width=26 height=26 align=bottom border=0 alt="Trail Map | "></a><a
href="../index.html"><img src="../../images/uiHeader.gif" width=26 height=26 align=bottom border=0 alt="Creating a User Interface | "></a>
</td>
<td align=right>
<a href="index.html"><strong><em>Overview of the Java UI</em></strong></a>
</td>
</tr>
</table>
<p>
<hr size=4>
<h2>
The Component Hierarchy
</h2>
<p>
<blockquote>
<blockquote><IMG SRC="../../figures/ui/13ui4.gif" WIDTH="436" HEIGHT="247" ALIGN="BOTTOM" NATURALSIZEFLAG="3"></blockquote>
<p>
The example program (see above)
has several levels in its Component hierarchy.
The parent of each level is a Container
(which inherits from Component).
Below is a figure of the hierarchy.
<blockquote><IMG SRC="../../figures/ui/13ui5.gif" WIDTH="462" HEIGHT="181" ALIGN="BOTTOM" NATURALSIZEFLAG="3"></blockquote>
<h4>Explanation</h4>
<blockquote>
At the top of the hierarchy is the window (Frame instance)
that displays the program.
When the example program runs as an application,
the Frame is created in the program's <code>main()</code> method.
When the example runs as an applet within a browser,
the Frame is the browser window.
<p>
Under the Frame is a Converter object,
which inherits from Applet and
thus is a Container (specifically, a Panel).
Depending on what viewer the applet is displayed in,
one or more Containers might be between the Converter object
and the Frame at the top of the Component hierarchy.
<p>
Directly under the Converter object
are two ConversionPanels.
The following code puts them under the Converter,
using the <code>add()</code> method.
Converter inherits the <code>add()</code> method
from the Container class
(Converter extends Applet,
which extends Panel,
which extends Container).
<blockquote>
<pre>
public class Converter extends Applet {
. . .
public void init() {
<em>...//Create metricPanel and usaPanel, two ConversionPanels.</em>
add(metricPanel);
add(usaPanel);
. . .
}
</pre>
</blockquote>
Each ConversionPanel has four children:
a Label, a TextField, a Scrollbar, and a Choice.
Here's the code that adds the children:
<blockquote>
<pre>
class ConversionPanel extends Panel {
. . .
ConversionPanel(Converter myController, String myTitle, Unit myUnits[]) {
. . .
//Add the label. It displays this panel's title, centered.
Label label = new Label(myTitle, Label.CENTER);
<em>...//Set up GridBagConstraints for this Component.</em>
gridbag.setConstraints(label, c);
add(label);
//Add the text field. It initially displays "0" and needs
//to be at least 10 columns wide.
textField = new TextField("0", 10);
<em>...//Set up GridBagConstraints for this Component.</em>
gridbag.setConstraints(textField, c);
add(textField);
//Add the pop-up list (Choice).
unitChooser = new Choice();
<em>...//Populate it with items.</em>
<em>...//Set up GridBagConstraints for this Component.</em>
gridbag.setConstraints(unitChooser, c);
add(unitChooser);
//Add the slider. It's horizontal, its initial value is 0,
//a click increments the value by 100 pixels, and it has the
//minimum and maximum values specified by the instance variables
//min and max.
slider = new Scrollbar(Scrollbar.HORIZONTAL, 0, 100, min, max);
<em>...//Set up GridBagConstraints for this Component.</em>
gridbag.setConstraints(slider, c);
add(slider);
}
</pre>
</blockquote>
GridBagConstraints is an object
that tells the GridBagLayout
(the layout manager for each ConversionPanel)
how to place a particular component.
GridBagLayout, along with the other AWT layout managers,
is discussed in
<a target="_top" href="../layout/index.html">Laying Out Components within a Container</a><a target="_top" href="../layout/index.html"><img src="../../images/uiIcon.gif" width=20 height=20 border=0 alt="(in the Creating a User Interface trail)"></a>.
</blockquote>
<h4>Summary</h4>
<blockquote>
The example program's Component hierarchy
contains eight non-Container Components --
Components that present the graphical UI of the program.
These are the Labels, TextFields, Choices, and Scrollbars
the program displays.
There might be additional Components
such as window controls under the Frame.
<p>
This program's Component hierarchy has at least four Containers --
a Frame (window),
a Converter (a custom kind of Panel),
and two ConversionPanels (another custom Panel).
<p>
Note that if we add a window --
for example, a Frame that contains a Converter instance
that handles distance conversion --
the new window will have its own Component hierarchy,
unattached to the hierarchy this lesson presents.
</blockquote>
</blockquote>
<p>
<hr size=4>
<p>
<table width="100%">
<tr>
<td align=left>
<a href="egClasses.html"><img src="../../images/PreviousArrow.gif" width=26 height=26 align=top border=0 alt="Previous | "></a><a
href="drawing.html"><img src="../../images/NextArrow.gif" width=26 height=26 align=top border=0 alt="Next | "></a><a
href="../../trailmap.html"><img src="../../images/WayUpArrow.gif" width=26 height=26 align=top border=0 alt="Trail Map | "></a><a
href="../index.html"><img src="../../images/uiHeader.gif" width=26 height=26 align=top border=0 alt="Creating a User Interface | "></a>
</td>
<td align=right>
<a href="index.html"><strong><em>Overview of the Java UI</em></strong></a>
</td>
</tr>
</table>
</body>
</html>
| pitpitman/GraduateWork | Java_tutorial/ui/overview/compHierarchy.html | HTML | mit | 6,051 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>AngularJS Tutorials</title>
<link href="../Content/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<div ng-app="app">
<dumb-password></dumb-password>
</div>
<script src="../scripts/angular.min.js"></script>
<script src="main.js"></script>
</body>
</html>
| danielmackay/Angular-Egghead | AngularEggHead/app17-elements/Index.html | HTML | mit | 373 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class ApiAxleTest\AllTests | fillup/apiaxle</title>
<script type="text/javascript" src="resources/combined.js?3551695169"></script>
<script type="text/javascript" src="elementlist.js?887202800"></script>
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li><a href="namespace-ApiAxle.html">ApiAxle<span></span></a>
<ul>
<li><a href="namespace-ApiAxle.Api.html">Api</a>
</li>
<li><a href="namespace-ApiAxle.Shared.html">Shared</a>
</li>
</ul></li>
<li class="active"><a href="namespace-ApiAxleTest.html">ApiAxleTest<span></span></a>
<ul>
<li><a href="namespace-ApiAxleTest.Api.html">Api</a>
</li>
<li><a href="namespace-ApiAxleTest.Shared.html">Shared</a>
</li>
</ul></li>
<li><a href="namespace-PHP.html">PHP</a>
</li>
</ul>
</div>
<hr />
<div id="elements">
<h3>Classes</h3>
<ul>
<li class="active"><a href="class-ApiAxleTest.AllTests.html">AllTests</a></li>
</ul>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" class="text" />
<input type="submit" value="Search" />
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<a href="namespace-ApiAxleTest.html" title="Summary of ApiAxleTest"><span>Namespace</span></a>
</li>
<li class="active">
<span>Class</span> </li>
</ul>
<ul>
<li>
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
</li>
<li>
<a href="todo.html" title="Todo list"><span>Todo</span></a>
</li>
</ul>
<ul>
</ul>
</div>
<div id="content" class="class">
<h1>Class AllTests</h1>
<div class="info">
<b>Namespace:</b> <a href="namespace-ApiAxleTest.html">ApiAxleTest</a><br />
<b>Located at</b> <a href="source-class-ApiAxleTest.AllTests.html#9-20" title="Go to source code">tests/AllTests.php</a><br />
</div>
<table class="summary" id="methods">
<caption>Methods summary</caption>
<tr data-order="suite" id="_suite">
<td class="attributes"><code>
public static
</code>
</td>
<td class="name"><div>
<a class="anchor" href="#_suite">#</a>
<code><a href="source-class-ApiAxleTest.AllTests.html#11-19" title="Go to source code">suite</a>( )</code>
<div class="description short">
</div>
<div class="description detailed hidden">
</div>
</div></td>
</tr>
</table>
</div>
<div id="footer">
fillup/apiaxle API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
</div>
</div>
</div>
</body>
</html>
| fillup/apiaxle-module | docs/class-ApiAxleTest.AllTests.html | HTML | mit | 3,198 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Mon Jun 30 01:29:13 PDT 2014 -->
<title>algorithms.compGeometry.clustering.twopointcorrelation</title>
<meta name="date" content="2014-06-30">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="algorithms.compGeometry.clustering.twopointcorrelation";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../algorithms/compGeometry/package-summary.html">Prev Package</a></li>
<li><a href="../../../../algorithms/compGeometry/convexHull/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?algorithms/compGeometry/clustering/twopointcorrelation/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package algorithms.compGeometry.clustering.twopointcorrelation</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/IGroupFinder.html" title="interface in algorithms.compGeometry.clustering.twopointcorrelation">IGroupFinder</a></td>
<td class="colLast">
<div class="block">interface for classes that find groups of points based upon the background threshhold density.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/IPointBackgroundStats.html" title="interface in algorithms.compGeometry.clustering.twopointcorrelation">IPointBackgroundStats</a></td>
<td class="colLast">
<div class="block">interface for classes which supply an estimate of the background void density</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/ITwoPointIdentity.html" title="interface in algorithms.compGeometry.clustering.twopointcorrelation">ITwoPointIdentity</a></td>
<td class="colLast">
<div class="block">interface for classes used to hold a point identity pair uniquely.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/IVoidFinder.html" title="interface in algorithms.compGeometry.clustering.twopointcorrelation">IVoidFinder</a></td>
<td class="colLast">
<div class="block">interface for classes that find the voids (that is, space between points)
in the dataset</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/AbstractGroupFinder.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">AbstractGroupFinder</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/AbstractPointBackgroundStats.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">AbstractPointBackgroundStats</a></td>
<td class="colLast">
<div class="block">abstract class for implementations of IPointBackgroundStats to do some of the
boiler plate code such as file persistence</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/AbstractVoidFinder.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">AbstractVoidFinder</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/AxisIndexer.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">AxisIndexer</a></td>
<td class="colLast">
<div class="block">
Class to hold x and y array of points whose values have been
indexed by increasing x and y.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/CompleteSamplingVoidFinder.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">CompleteSamplingVoidFinder</a></td>
<td class="colLast">
<div class="block">
an implementation of VoidFinder that uses complete sampling to determine
the background (void) point density.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/DFSGroupFinder.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">DFSGroupFinder</a></td>
<td class="colLast">
<div class="block">
An implementation of IGroupFinder that uses a depth first search algorithm
to visit all nodes in a dataset and put into groups those within
distance < threshhold * threshholdFactor from each other.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/DivideAndConquerVoidFinder.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">DivideAndConquerVoidFinder</a></td>
<td class="colLast">
<div class="block">an implementation of IVoidFinder that uses a divide and conquer approach to sampling the
data.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/Main.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">Main</a></td>
<td class="colLast">
<div class="block">
Usage from the command line:
Requires a tab delimited text file with 4 columns: x, y, xErrors, yErrors.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/PerformanceMetricsRunner.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">PerformanceMetricsRunner</a></td>
<td class="colLast">
<div class="block">estimates performance metrics for TwoPointCorrelation as
the dependencies upon N of the amount of memory needed and the runtime.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/RandomClusterAndBackgroundGenerator.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">RandomClusterAndBackgroundGenerator</a></td>
<td class="colLast">
<div class="block">utility class for unit tests which need to create random background points and
points in clusters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/SerializerUtil.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">SerializerUtil</a></td>
<td class="colLast">
<div class="block">a utility class for serializing and de-serializing the indexer contents to the file system</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/SimpleLinkedListNode.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">SimpleLinkedListNode</a></td>
<td class="colLast">
<div class="block">a node holding only a integer key and the next reference.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/SubsetSamplingVoidFinder.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">SubsetSamplingVoidFinder</a></td>
<td class="colLast">
<div class="block">an instance of IVoidFinder that uses a subsection of the AxisIndexer data.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointBinarySearchTree.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointBinarySearchTree</a></td>
<td class="colLast">
<div class="block">
A holder for two-point identities, where the identities are the indexes
of the indexer internal arrays.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointCorrelation.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointCorrelation</a></td>
<td class="colLast">
<div class="block">
Find clusters in data.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointCorrelationPlotter.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointCorrelationPlotter</a></td>
<td class="colLast">
<div class="block">
Convenience class to create a plot to visualize results of the
Two-Point correlation code.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointHashMap.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointHashMap</a></td>
<td class="colLast">
<div class="block">
A holder for two-point identities, where the identities are the indexes
of the indexer internal arrays.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointIdentityFactory.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointIdentityFactory</a></td>
<td class="colLast">
<div class="block">creates an instance of ITwoPointIdentity</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointVoidStats.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointVoidStats</a></td>
<td class="colLast">
<div class="block">
Class to estimate a background density for a set of points in which
the background density will be used by the calling program to find
clusters, that is groups of points associated by proximity, in the data.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointVoidStatsPlotter.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointVoidStatsPlotter</a></td>
<td class="colLast">
<div class="block">code to produce plots for visualizing the results of and debugging TwoPointVoidStats</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/VoidReader.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">VoidReader</a></td>
<td class="colLast">
<div class="block">a class to read a persisted set of background void points</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/RandomClusterAndBackgroundGenerator.CLUSTER_SEPARATION.html" title="enum in algorithms.compGeometry.clustering.twopointcorrelation">RandomClusterAndBackgroundGenerator.CLUSTER_SEPARATION</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointCorrelation.BACKGROUND_METHOD.html" title="enum in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointCorrelation.BACKGROUND_METHOD</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointCorrelation.STATE.html" title="enum in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointCorrelation.STATE</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointVoidStats.State.html" title="enum in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointVoidStats.State</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/VoidSampling.html" title="enum in algorithms.compGeometry.clustering.twopointcorrelation">VoidSampling</a></td>
<td class="colLast">
<div class="block">enumeration of types of sampling for the background void points</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Exception</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../algorithms/compGeometry/clustering/twopointcorrelation/TwoPointVoidStatsException.html" title="class in algorithms.compGeometry.clustering.twopointcorrelation">TwoPointVoidStatsException</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../algorithms/compGeometry/package-summary.html">Prev Package</a></li>
<li><a href="../../../../algorithms/compGeometry/convexHull/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?algorithms/compGeometry/clustering/twopointcorrelation/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| tectronics/two-point-correlation | docs/api/algorithms/compGeometry/clustering/twopointcorrelation/package-summary.html | HTML | mit | 17,410 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" content = "user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>FloraJS | Simulate natural systems with JavaScript</title>
<link rel="stylesheet" href="css/Burner.min.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="css/Flora.min.css" type="text/css" charset="utf-8">
<script src="scripts/Burner.min.js" type="text/javascript" charset="utf-8"></script>
<script src="scripts/Flora.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<script src="scripts/roll.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
| vinceallenvince/FloraJS-Flocking | public/roll.html | HTML | mit | 881 |
<template>
<h1>Order Search</h1>
</template> | cmichaelgraham/aurelia-axel-northwind | aurelia-axel-northwind/views/search/order/search-order.html | HTML | mit | 51 |
<!DOCTYPE html>
<html>
<title>Chen's Resume</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="w3.css">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto'>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- old font {font-family: "Roboto", sans-serif} -->
<style>
html,body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif}
</style>
<body class="w3-light-grey">
<!-- Page Container -->
<div class="w3-content w3-margin-top" style="max-width:1400px;">
<!-- The Grid -->
<div class="w3-row-padding">
<!-- Left Column -->
<div class="w3-third">
<div class="w3-white w3-text-grey w3-card-4">
<div class="w3-display-container">
<img src="avatar_hat.jpg" style="width:100%" alt="Avatar">
<div class="w3-display-bottomleft w3-container w3-text-teal">
</div>
</div>
<div class="w3-container">
<p><i class="fa fa-briefcase fa-fw w3-margin-right w3-large w3-text-teal"></i>Operations Analyst</p>
<p><i class="fa fa-home fa-fw w3-margin-right w3-large w3-text-teal"></i>Salt Lake City</p>
<p><i class="fa fa-envelope fa-fw w3-margin-right w3-large w3-text-teal"></i>[email protected]</p>
<p><i class="fa fa-phone fa-fw w3-margin-right w3-large w3-text-teal"></i>8329048912</p>
<hr>
<p class="w3-large"><b><i class="fa fa-asterisk fa-fw w3-margin-right w3-text-teal"></i>Skills</b></p>
<p>Distribution Planning</p>
<p>Data Analysis</p>
<p>Inventory Control</p>
<p>Python</p>
<p>Java</p>
<p>R</p>
<p>SQL</p>
<br>
<p class="w3-large w3-text-theme"><b><i class="fa fa-globe fa-fw w3-margin-right w3-text-teal"></i>Languages</b></p>
<p>English</p>
<p>Chinese</p>
<p>Cantonese</p>
<br>
</div>
</div><br>
<!-- End Left Column -->
</div>
<!-- Right Column -->
<div class="w3-twothird">
<!-- Work Experience -->
<div class="w3-container w3-card-2 w3-white w3-margin-bottom">
<h2 class="w3-text-grey w3-padding-16"><i class="fa fa-suitcase fa-fw w3-margin-right w3-xxlarge w3-text-teal"></i>Work Experience</h2>
<div class="w3-container">
<h5 class="w3-opacity"><b>Operations Analyst / OOCL USA</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>Dec 2015 - <span class="w3-tag w3-teal w3-round">Current</span></h6>
<p>• Forecast and balanced weekly equipment level based on the data of export/domestic demands, import returns, and reposition plans with both qualitative and quantitative methods.</p>
<p>• Combined and reorganized historical sales data to analyze demand patterns and customer behaviour</p>
<p>• Performed equipment inventory analysis and implemented strategies to avoid low stock and overstock</p>
<hr>
</div>
<div class="w3-container">
<h5 class="w3-opacity"><b>Account Manager / OOCL USA</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>Mar 2015 - Dec 2015</h6>
<p>• Drove vendors and cross-functional teams to provide quality logistics support to key cotton export accounts</p>
<p>• Worked with intermodal and terminal operations team on demurrage minimization, which reduced the operational cost of intermodal shipments out of West Coast by 5%</p>
<hr>
</div>
<div class="w3-container">
<h5 class="w3-opacity"><b>Supply Chain Intern / Green America</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>Oct 2014 - Dec 2014</h6>
<p>• Research the supply chain and manufacturing processes in electronics industry, with a focus on mapping out major issues related to toxic chemicals used in consumer electronics production </p><br>
</div>
</div>
<!-- Projects -->
<div class="w3-container w3-card-2 w3-white w3-margin-bottom">
<h2 class="w3-text-grey w3-padding-16"><i class="fa fa-file-code-o fa-fw w3-margin-right w3-xxlarge w3-text-teal"></i>Projects</h2>
<div class="w3-container">
<h5 class="w3-opacity"><b>OpenStreetMap Data Wrangling / Udacity</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>Oct 2016 - Dec 2016</h6>
<p>Pre-processed over 200Mb of Las Vegas area map data extracted from OpenStreenMap. XML data was parsed and stored in multi-dimensional NumPy arrays using ElementTree XML API in Python. Each entry was fed through a custom built filter for abnormalities, validated with a predefined SQL schema and stored in a relational database, SQLite.</p>
<hr>
</div>
<div class="w3-container">
<h5 class="w3-opacity"><b>Exploratory Data Analysis with R / Udacity</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>Oct 2016 - Dec 2016</h6>
<p>Used R language and deployed various exploratory data visualization techniques, including box charts, heat maps, and regression curves, to explore the correlation between chemical compositions of 1600 different red wines and their quality ratings. A linear regression model was established to predict the quality of a wine given its chemical compositions.</p>
<hr>
</div>
<div class="w3-container">
<h5 class="w3-opacity"><b>Vessel Price Forecast Project / University of Maryland</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>Oct 2016 - Dec 2016</h6>
<p>Statistically analyzed factors affecting the price of secondhand ships, including ship age, size, freight rate and world trade. Used time series forecasting models to forecast the price of secondhand Aframax tanker with 200 quarterly price observations starting from 1963, and optimized the forecasting model with qualitative factors.</p><br>
</div>
</div>
<!-- Education -->
<div class="w3-container w3-card-2 w3-white">
<h2 class="w3-text-grey w3-padding-16"><i class="fa fa-graduation-cap fa-fw w3-margin-right w3-xxlarge w3-text-teal"></i>Education</h2>
<div class="w3-container">
<h5 class="w3-opacity"><b>University Of Maryland - College Park</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>2013-2014</h6>
<p>Master of Science in Supply Chain Management</p>
<hr>
</div>
<div class="w3-container">
<h5 class="w3-opacity"><b>Hong Kong Polytechnic University</b></h5>
<h6 class="w3-text-teal"><i class="fa fa-calendar fa-fw w3-margin-right"></i>2009 - 2013</h6>
<p>BBA International Shipping and Transport Logistics</p>
<hr>
</div>
</div>
<!-- End Right Column -->
</div>
<!-- End Grid -->
</div>
<!-- End Page Container -->
</div>
<footer class="w3-container w3-padding-16 w3-center w3-teal w3-xlarge w3-margin-top">
<i class="fa fa-github w3-hover-text-purple" >
<a href="http://github.com/wangc528"> Chen's GitHub</a>
</i>
</footer>
</body>
</html>
| wangc528/portfolio | myresume.html | HTML | mit | 7,605 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Chris Turner" />
<meta name="description" content="Personal blog and resume">
<link rel="favicon" href="/sustain/static/img/favicon.ico">
<title>The Art of Delegation</title>
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"
integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ=="
crossorigin="anonymous">
<!-- 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/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Custom styles for this template -->
<link rel="stylesheet" type="text/css" href="/sustain/static/css/main.css" />
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,200bold,400old" />
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="/sustain/static/css/syntax.css" />
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69391421-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<!-- Main Body-->
<body>
<!-- Wrap all page content here -->
<div id="wrap">
<!-- Navbar header -->
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/sustain/"><i class="fa fa-home"></i></a>
</div>
<div id="navbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="/sustain/blog.html">Words</a></li>
<li><a href="/sustain/projects.html">Work</a></li>
<li><div class="col-sm-12 col-md-12 col-lg-12 social">
<h4>
<a href="http://twitter.com/username"><i class="fa fa-twitter"></i></a>
<a href="http://github.com/biomadeira/sustain"><i class="fa fa-github"></i></a>
<a href="mailto:[email protected]"><i class="fa fa-envelope"></i></a>
</h4>
</div>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="blog-post">
<h3>
<strong><a href="/art-of-delegation.html">The Art of Delegation</a></strong>
</h3>
</div>
<div class="blog-title">
<h5>
October 8, 2015
</h5>
</div>
<div class="panel panel-default">
<div class="panel-body">
<div class="blogpost">
<p>Over the past year at <a href="http://torque.digital">Torque</a>, we’ve been sharing skills and knowledge with each other in small, periodical workshops. These days, that looks like a weekly 2:30pm ‘tea time’ in the conference room. For this week’s workshop, Partner and Creative Director <a href="http://torque.digital/team/jennifer-masi">Jennifer Masi</a> gave us tips and tricks about <em>The Art of Delegating</em>, also known by her actionable phrase, “Delegate to Elevate.”</p>
<p>I’m morphing her presentation into a post so I can share it with you because I believe it’s really important, and it’s something I need to learn myself. Many people I know work alone – sometimes literally alone, other times they’re not working collaboratively with their teammates. I am definitely guilty of this. If we work alone, we may let strong skills for teamwork, collaboration, and trust for others atrophy. We need these traits to provide a necessary foundation for delegation, and we need the practice of delegation to strengthen those traits in us. It can be scary to invite someone else in to your creative process, but your work – <em>and sanity</em> – may suffer if you always do it alone.</p>
<h3>Goals of Delegation</h3>
<p>Delegating helps elevate you to your best use and elevates helpers as they learn and grow. Delegating helps you learn to trust others, gets the job done well, and diversifies perspectives going into the project.</p>
<h3>Ask yourself, is this a delegation moment?</h3>
<p>Just because a task is assigned to you, doesn’t mean you need to be the one to complete it – it can often be delegated. Delegation is also not a status indicator. Jennifer makes an important note:</p>
<blockquote><p>No job is beneath anyone. All jobs are important. Leaders know how and are willing to do all the jobs. Remember, if someone doesn’t buy the toilet paper, <em>what would happen to the office?</em></p></blockquote>
<h3>Keys to Delegate like a Pro</h3>
<ol>
<li><p><strong>Give time frame & details.</strong> Be specific about the details of the project to set a strong foundation and make sure everyone is on the same page. Establishing a clear, shared idea about the outcome of the project will ensure its success.</p></li>
<li><p><strong>Delegate the objective, not the procedure.</strong> This is where trust comes in heavily. Successful delegation respects the opinion and process of everyone involved. Delegating projects or tasks comes with understanding that different people have different ways of doing the same thing. Dictating every facet of a project strangles it; let the project thrive on the contributions of others.</p></li>
<li><p><strong>Ensure your delegatee has whatever they need to be successful.</strong> Equip everyone helping you with the right tools so they can do their best work for your project. Check in with them periodically to make sure their tools are working well for them.</p></li>
<li><p><strong>Give your delegatee the opportunity to ask questions.</strong> Setting aside time for questions and conversations about the project will give your helpers a feeling of ownership and involvement in the project. Strong communication with people to whom you delegate is investing in the quality of the end product.</p></li>
<li><p><strong>Check in through project completion.</strong> Gotta stay on task! Follow up and check in with everyone on the project. Touching base more often makes sure the project doesn’t go off track so you can acheive the outcome you need. Make sure they confirm with you when their tasks are finished and follow up after the project.</p></li>
<li><p><strong>Show your appreciation for the people who invested in your project with you.</strong> A big ‘thank you’ goes a long way. I know I don’t always go the extra step to vocalize my thankfulness. Showing gratitude increases personal growth on both sides and better partnerships going forward.</p></li>
</ol>
<h3>Go do it</h3>
<p>Go delegate! <a href="http://twitter.com/lenamasek">Let me know</a> how delegation is working best for you.</p>
<!-- <hr>
<div class="related-posts">
<h5>Related Posts</h5>
<div class="row">
<div class="col-sm-4 col-md-4 col-lg-4">
<h6 style="text-align: right">
September 22, 2015
</h6>
</div>
<div class="col-sm-8 col-md-8 col-lg-8">
<h6 style="text-align: left">
<strong><a href="/sustain//manifold-garden.html">Manifold Garden</a></strong>
</h6>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-md-4 col-lg-4">
<h6 style="text-align: right">
August 22, 2015
</h6>
</div>
<div class="col-sm-8 col-md-8 col-lg-8">
<h6 style="text-align: left">
<strong><a href="/sustain//bitbash.html">Bit Bash</a></strong>
</h6>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-md-4 col-lg-4">
<h6 style="text-align: right">
July 20, 2015
</h6>
</div>
<div class="col-sm-8 col-md-8 col-lg-8">
<h6 style="text-align: left">
<strong><a href="/sustain//priester-aviation-brand-update.html">Priester Aviation Brand Update</a></strong>
</h6>
</div>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<div id="footer">
<div class="container">
<p class="text-muted">© all rights reserved. powered by <a href="http://jekyllrb.com/">jekyll</a> and
<a href="http://www.github.com/biomadeira/sustain">sustain</a>.</p>
</div>
</div>
</footer>
<div class="footer"></div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"
integrity="sha256-Sk3nkD6mLTMOF0EOpNtsIry+s1CsaqQC1rVLTAy+0yc= sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ=="
crossorigin="anonymous"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/sustain/static/js/docs.min.js"></script>
<script src="/sustain/static/js/main.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="/sustain/static/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html> | lenamasek/lenamasek.github.io | _site/art-of-delegation.html | HTML | mit | 9,992 |
<!doctype>
<html>
<head>
<title>CSS GRID</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet">
<style>
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
#particles-js {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: hsl(220, 50%, 30%);
}
body {
display: flex;
font-family: 'Montserrat', sans-serif;
height: 100%;
}
.banner {
margin: auto;
position: relative;
background: hsl(220, 40%, 15%);
color: hsl(220, 50%, 80%);
text-align: center;
width: 85vw;
padding-top: 3vw;
padding-bottom: 7vw;
transform: scale(0.7);
}
h1 {
font-weight: bold;
font-size: 15vw;
}
h2 {
font-weight: 400;
font-size: 2.2vw;
margin-top: -1vw;
}
</style>
</head>
<body>
<div id="particles-js"></div>
<div class="banner">
<h1>CSS GRID</h1>
<h2>A tale of Hypnotoad and ALL GLORY TO THE NEW CSS LAYOUT</h2>
</div>
<script src="particles.js"></script>
<script src="code.js"></script>
<!-- http://vincentgarreau.com/particles.js/ -->
</body>
</html> | filR/course-advanced-web-dev-2017 | 02 - Particles Library/solution/index.html | HTML | mit | 1,522 |
<html><body>
<h4>Windows 10 x64 (18363.535)</h4><br>
<h2>_LOADER_RESET_REASON</h2>
<font face="arial"> +0x000 Supplied : UChar<br>
+0x008 Basic : <a href="./<anonymous-tag>.html"><anonymous-tag></a><br>
+0x010 AdditionalInfo : [8] Uint4B<br>
</font></body></html> | epikcraw/ggool | public/Windows 10 x64 (18363.535)/_LOADER_RESET_REASON.html | HTML | mit | 298 |
---
layout: default
---
<article class="post">
<h1>{{ page.title }}</h1>
<div class="entry">
{{ content }}
</div>
<div class="date">
Last updated {{ page.date | date: "%B %e, %Y" }}
</div>
{% include disqus.html %}
</article>
{% for js in page.jsarr %}
<script type="text/javascript">
{% include {{ js }} %}
</script>
{% endfor %}
| qst0/taut.tech | _layouts/post.html | HTML | mit | 370 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>LIIS - Laboratory Information Indexing System: application/views/install/sidebar.php File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="liislogo.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">LIIS - Laboratory Information Indexing System
 <span id="projectnumber">0.10.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d75c23162a2652451dce46d2e7e8aead.html">application</a></li><li class="navelem"><a class="el" href="dir_47696c67d24d00a376c580718bcb3d63.html">views</a></li><li class="navelem"><a class="el" href="dir_8a4ceba5b00294cf26dd69e05bfa807d.html">install</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">sidebar.php File Reference</div> </div>
</div><!--header-->
<div class="contents">
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 17 2014 19:50:05 for LIIS - Laboratory Information Indexing System by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
| forstermatth/LIIS | refman/install_2sidebar_8php.html | HTML | mit | 5,102 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.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">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<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="../../..">Unstable</a></li>
<li class="active"><a href="">8.5.dev / contrib:generic-environments dev</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="../../../../../about.html">About</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../../..">« Up</a>
<h1>contrib:generic-environments <small>dev</small></h1>
<table class="table table-striped text-center">
<thead>
<tr>
<td>Date</td>
<td>Time</td>
<td>Relative</td>
<td>Status</td>
</tr>
</thead>
<tbody>
<tr>
<td>2015-02-03</td>
<td>00:28:27</td>
<td><script>document.write(moment("2015-02-03 00:28:27 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script></td>
<td class="success"><a href="2015-02-03_00-28-27.html">7 s</a></td>
</tr>
<tr>
<td>2015-01-30</td>
<td>20:36:42</td>
<td><script>document.write(moment("2015-01-30 20:36:42 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script></td>
<td class="success"><a href="2015-01-30_20-36-42.html">8 s</a></td>
</tr>
</tbody>
</table>
</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-old | clean/Linux-x86_64-4.02.1-1.2.0/unstable/8.5.dev/contrib:generic-environments/dev/index.html | HTML | mit | 3,655 |
<!DOCTYPE HTML>
<html>
<head>
<title>math.js | an extensive math library for JavaScript and Node.js</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="title" content="math.js">
<meta name="keywords" content="mathjs, math.js, math, js, javascript, node, library, expression, parser, numeric, number, bignumber, complex, matrix, unit, function, variable, string, value, node.js, mathematics, extensive, advanced">
<meta name="description" content="Math.js is an extensive math library for JavaScript and Node.js. It features big numbers, complex numbers, matrices, units, and a flexible expression parser.">
<meta name="author" content="Jos de Jong">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="../../../css/style.css" rel="stylesheet" type="text/css">
<link href="../../../css/commandline.css" rel="stylesheet" type="text/css">
<link href="../../../css/code.css" rel="stylesheet" type="text/css">
<script src="../../../js/lib/es5-shim.min.js" type="text/javascript"></script>
<script src="../../../js/lib/es5-sham.min.js" type="text/javascript"></script>
<script src="../../../js/lib/math.js" type="text/javascript"></script>
<script src="../../../js/commandline.js" type="text/javascript"></script>
</head>
<!-- itemscope, itemtype, and itemprop for google+ meta information -->
<body itemscope itemtype="http://schema.org/Product">
<div id="page">
<div>
<a href="../../../index.html">
<img src="../../../css/img/mathjs_330x100.png" id="logo" alt="math.js" itemprop="image" >
</a>
</div>
<div id="search">
<script>
(function() {
var cx = '017327835323070913148:__zkzh4scga';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
</div>
<div id="menu">
<a href="../../../index.html">
Home
</a><a href="../../../download.html">
Download
</a><a href="../../getting_started.html">
Get started
</a><a href="../../index.html">
Docs
<div class="selection"></div>
</a><a href="../../../examples/index.html">
Examples
</a>
</div>
<div id="content">
<h1 id="function-sec">Function sec <a href="sec.html#function-sec" title="Permalink">#</a></h1>
<p>Calculate the secant of a value, defined as <code>sec(x) = 1/cos(x)</code>.</p>
<p>For matrices, the function is evaluated element wise.</p>
<h2 id="syntax">Syntax <a href="sec.html#syntax" title="Permalink">#</a></h2>
<div class="highlight"><pre><code class="language-js" data-lang="js"><span class="nx">math</span><span class="p">.</span><span class="nx">sec</span><span class="p">(</span><span class="nx">x</span><span class="p">)</span>
</code></pre></div>
<h3 id="parameters">Parameters <a href="sec.html#parameters" title="Permalink">#</a></h3>
<table><thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td><code>x</code></td>
<td>Number | Boolean | Complex | Unit | Array | Matrix | null</td>
<td>Function input</td>
</tr>
</tbody></table>
<h3 id="returns">Returns <a href="sec.html#returns" title="Permalink">#</a></h3>
<table><thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>Number | Complex | Array | Matrix</td>
<td>Secant of x</td>
</tr>
</tbody></table>
<h2 id="examples">Examples <a href="sec.html#examples" title="Permalink">#</a></h2>
<div class="highlight"><pre><code class="language-js" data-lang="js"><span class="nx">math</span><span class="p">.</span><span class="nx">sec</span><span class="p">(</span><span class="mi">2</span><span class="p">);</span> <span class="c1">// returns Number -2.4029979617223822</span>
<span class="mi">1</span> <span class="o">/</span> <span class="nx">math</span><span class="p">.</span><span class="nx">cos</span><span class="p">(</span><span class="mi">2</span><span class="p">);</span> <span class="c1">// returns Number -2.4029979617223822</span>
</code></pre></div>
<h2 id="see-also">See also <a href="sec.html#see-also" title="Permalink">#</a></h2>
<p><a href="cos.html">cos</a>,
<a href="csc.html">csc</a>,
<a href="cot.html">cot</a></p>
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
</div>
</div>
<div id="footer">
<a href="../../../index.html">mathjs.org</a> •
<a href="https://github.com/josdejong/mathjs#license" target="_blank">copyright © 2013-2015 jos de jong</a> •
<a href="http://subtlepatterns.com/bright-squares/" target="_blank">background by waseem dahman</a>
</div>
<div id="forkme">
<a href="https://github.com/josdejong/mathjs" target="_blank">
<img src="../../../css/img/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" >
</a>
</div>
<script type="text/javascript">
// change layout for different screen sizes
function resize () {
var width = document.body.clientWidth;
var page = document.getElementById('page');
page.className = (width < 810) ? 'small' : 'normal';
if (width < 620) {
page.className += ' tiny';
}
var forkme = document.getElementById('forkme');
forkme.className = (width < 810) ? 'small' : 'normal';
}
resize();
window.onresize = resize;
</script>
</body>
</html> | jneuendorf/mathJS | info/mathjs.org/docs/reference/functions/sec.html | HTML | mit | 5,751 |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>條目 </b></th><td class="std2">驚弓之鳥</td></tr>
<tr><th class="std1"><b>注音 </b></th><td class="std2">ㄐ|ㄥ ㄍㄨㄥ ㄓ ㄋ|ㄠ<sup class="subfont">ˇ</sup></td></tr>
<tr><th class="std1"><b>漢語拼音 </b></th><td class="std2"><font class="english_word">jīng gōng zhī niǎo</font></td></tr>
<tr><th class="std1"><b>釋義 </b></th><td class="std2">魏國射箭能手更羸僅是拉動弓弦,不用箭,一隻受過箭傷的大雁便因過度驚懼而落下的故事。典出戰國策˙楚策四。比喻曾受打擊或驚嚇,心有餘悸,稍有動靜就害怕的人。晉書˙卷七十一˙王鑒傳:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>黷武之眾易動,驚弓之鳥難安。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>歧路燈˙第八十一回:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>紹是驚弓之鳥,嚇了一跳。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>亦作<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>傷弓之鳥<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>。</td></tr>
<tr><th class="std1"><b><font class="fltypefont">附錄</font> </b></th><td class="std2">修訂本參考資料</td></tr>
</td></tr></table></div> <!-- flayoutclass_first --><div class="flayoutclass_second"></div> <!-- flayoutclass_second --></div> <!-- flayoutclass --></td></tr></table>
| BuzzAcademy/idioms-moe-unformatted-data | all-data/5000-5999/5170-22.html | HTML | mit | 1,868 |
{% extends "layout.html" %}
{% block page_title %}
Apprenticeships
{% endblock %}
{% block content %}
<link href="/public/stylesheets/filtering.css" media="screen" rel="stylesheet" type="text/css" />
<style>
.apprentice-nav a {
{% include "includes/nav-on-state-css.html" %}
}
</style>
<main id="content" role="main">
{% include "includes/phase_banner_beta.html" %}
{% include "includes/secondary-nav-people.html" %}
<div class="breadcrumbs">
<ol role="breadcrumbs">
<li><a href="/{% include "includes/sprint-link.html" %}/balance">Account home</a></li>
<li><a href="/{% include "includes/sprint-link.html" %}/apprentice-view/people">Apprentices</a></li>
<li id="removeWithNav">Your apprentices</li>
</ol>
</div>
<!--h1 class="heading-large">Levy account</h1-->
<!--h2 class="bold-medium">Acme Ltd Levy Account</h2-->
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge" >{% include "includes/account-name-number.html" %}Your apprentices</h1>
<!--p class="lede">All apprentices who are currently on your programme and need no action.</p-->
</div>
</div>
<div class="grid-row">
<div class="column-one-third">
<div class="filter-form filtering ">
<div id="finder-frontend" class="inner-block">
<form method="get" action="/" class="js-live-search-form">
<div class="filter text-filter">
<label class="legend" for="finder-keyword-search">Search</label>
<input value="" type="text" name="keywords" id="finder-keyword-search" aria-controls="js-search-results-info" class="text">
</div>
<!--div class="govuk-option-select js-collapsible" >
<button class="js-container-head" type="button" aria-expanded="false" aria-controls="case_state">
<div class="option-select-label">Commitment status</div>
<div class="js-selected-counter"></div></button>
<div class="options-container" id="case_state">
<div class="js-auto-height-inner">
<label for="new">
<input name="case_type[]" value="acme-cov" id="status-new" type="checkbox" aria-controls="js-search-results-info">
New (1)
</label>
<label for="Awaiting - Provider input">
<input name="case_type[]" value="Cyberdyne" id="Cyberdyne" type="checkbox" aria-controls="js-search-results-info">
Needs your input (1)
</label>
<label for="Awaiting - Employer input">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
In progress with employer (1)
</label>
<label for="Approved by employer">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
Approved by employer (1)
</label>
</div>
</div>
</div-->
<div class="govuk-option-select js-collapsible" >
<button class="js-container-head" type="button" aria-expanded="false" aria-controls="case_state">
<div class="option-select-label">Status</div>
<div class="js-selected-counter"></div></button>
<div class="options-container" id="case_state">
<div class="js-auto-height-inner">
<label for="Approval needed">
<input name="case_type[]" value="acme-cov" id="acme-cov" type="checkbox" aria-controls="js-search-results-info">
Approval needed
</label>
<label for="epa-update">
<input name="case_type[]" value="acme-cov" id="acme-cov" type="checkbox" aria-controls="js-search-results-info">
EPA update required
</label>
<label for="Paused">
<input name="case_type[]" value="Cyberdyne" id="Cyberdyne" type="checkbox" aria-controls="js-search-results-info">
Paused
</label>
<label for="Stopped">
<input name="case_type[]" value="Cyberdyne" id="Cyberdyne" type="checkbox" aria-controls="js-search-results-info">
Stopped
</label>
<label for="Finished">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
Finished
</label>
<label for="Live">
<input name="case_type[]" value="acme-cov" id="acme-cov" type="checkbox" aria-controls="js-search-results-info">
Live
</label>
</div>
</div>
</div>
<div class="govuk-option-select js-collapsible" >
<button class="js-container-head" type="button" aria-expanded="false" aria-controls="case_state">
<div class="option-select-label">Training</div>
<div class="js-selected-counter"></div></button>
<div class="options-container" id="case_state">
<div class="js-auto-height-inner">
<label for="Acme Coventry Ltd">
<input name="case_type[]" value="acme-cov" id="acme-cov" type="checkbox" aria-controls="js-search-results-info">
Mechatronics engineers
</label>
<label for="Cyberdyne Systems Inc">
<input name="case_type[]" value="Cyberdyne" id="Cyberdyne" type="checkbox" aria-controls="js-search-results-info">
Manufacturing engineers
</label>
<label for="Tyrell Corp">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
Survival equipment fitter
</label>
<label for="Tyrell Corp">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
Network engineer
</label>
<label for="Tyrell Corp">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
Cyber intrusion analyst
</label>
<label for="Tyrell Corp">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
Cyber security technologist
</label>
<label for="Tyrell Corp">
<input name="case_type[]" value="Tyrell" id="Tyrell" type="checkbox" aria-controls="js-search-results-info">
Embedded Electronic Systems Design and Development Engineer
</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="column-two-thirds">
<table class="">
<thead>
<tr>
<th scope="col" style="padding-top:0">Name</th>
<th scope="col" style="padding-top:0">Date of birth</th>
<th scope="col" style="padding-top:0">Status</th>
<th scope="col" style="padding-top:0"></th>
</tr>
</thead>
<tbody>
<tr>
<!--quick hack, will fix -->
<td class="rjTabWidth">Rob Edwards</td>
<td class="">03/06/97</td>
<td class="">On programme</td>
<td><a href="/{% include "includes/sprint-link.html" %}/apprentice-view/individual-apprentice">View</a></td>
</tr>
<tr>
<td class="rjTabWidth">Susan Hamazaki</td>
<td class="">12/10/95</td>
<td class="">Paused</td>
<td><a href="/{% include "includes/sprint-link.html" %}/apprentice-view/individual-apprentice-authorise-amends">View</a></td>
</tr>
<tr>
<td class="rjTabWidth">David Jenkins</td>
<td class="">05/09/99</td>
<td class="">Approval needed</td>
<td class="looks-like-a-link-underline">View</td>
</tr>
<tr>
<td class="rjTabWidth">Mel O'Connor</td>
<td class="">01/05/98</td>
<td class="">Stopped</td>
<td class="looks-like-a-link-underline">View</td>
</tr>
</tbody>
</table>
</div>
</div>
</main>
{% endblock %}
| SkillsFundingAgency/das-alpha-ui | app/views/programmeTwo/apprentice-view/index.html | HTML | mit | 10,250 |
<link rel="stylesheet" type="text/css" href="/Public/Home/Css/showOrder.css?v=0.2">
<div class="container">
<div class="suibian">
<ul class="middle_nav">
<li><a href="/User/showUser">我的资料</a></li>
<li><a href="/Good/getUserList">商品管理</a></li>
<li><a href="/Beg/getUserList">求购管理</a></li>
<li><a href="/Lost/getUserList">招领管理</a></li>
<li><a href="/User/showCollect">收藏管理</a></li>
<li><a href="/User/showAddress">地址管理</a></li>
<li class="personalhover"><a href="/Order/showOrder">订单管理</a></li>
<li><a href="/Switch/showSwitch">换购管理</a></li>
<li><a href="/Message/showMessage">消息管理</a></li>
<li><a href="/User/showReal">认证管理</a></li>
</ul>
<div class="clear"></div>
</div>
<div id="container">
<div class="w">
<div id="content">
<div id="main">
<div id="order01" class="mod-main mod-comm mod-order">
<div class="mt">
<h3 onclick="showOrderType(0);" class="<neq name="Think.get.type" value="1">curr</neq>">买家订单</h3>
<h3 onclick="showOrderType(1);" class="<eq name="Think.get.type" value="1">curr</eq>">卖家订单</h3>
<div class="extra-r"></div>
</div>
</div>
<div id="order02" class="mod-main mod-comm lefta-box">
<div class="mt">
<ul class="extra-l">
<li class="fore1"><a class="txt <neq name="Think.get.status" value="0">curr</neq>" onclick="showNotFull(0);">全部订单</a></li>
<!-- <li>
<a class="txt" clstag="click|keycount|orderinfo|waitPay" id="ordertoPay" href="//order.jd.com/center/list.action?s=1">待付款</a>
</li> -->
<li>
<a class="txt <eq name="Think.get.status" value="0">curr</eq>" clstag="" id="ordertoReceive" href="#" onclick="showNotFull(1);">待完成<em>{$notFull}</em></a>
</li>
<li>
<!-- <a clstag="click|keycount|orderinfo|daipingjia" class="txt" target="_blank" id="ordertoComment" href="//club.jd.com/mycomments.aspx">待评价</a><a href="http://club.jd.com/mycomments.aspx"><em>25</em></a> -->
</li>
<!-- <li class="fore2">
<a id="ordertoRecycle" class="ftx-03" clstag="click|keycount|orderlist|dingdanhuishouzhan" href="//order.jd.com/center/recycle.action?d=1">订单回收站</a>
</li> -->
</ul>
<div class="extra-r">
<div class="search">
<input type="text" placeholder="商品名称/订单号" class="itxt" id="ip_keyword" style="color: rgb(204, 204, 204);" name="keyword">
<a clstag="click|keycount|orderinfo|search" class="search-btn" onclick="searchOrder(this);">搜索<b></b></a>
<!-- <a class="default-btn high-search" clstag="click|keycount|orderlist|gaoji" href="#none">高级<b></b></a> -->
</div>
</div>
</div>
<div class="mc">
<table class="td-void order-tb">
<colgroup>
<col class="number-col">
<col class="consignee-col">
<col class="amount-col">
<col class="status-col">
<col class="operate-col">
</colgroup>
<thead>
<tr>
<th>
<div class="ordertime-cont" onclick="showTimeOrder(event);">
<div class="time-txt">近三个月订单<b></b><span class="blank"></span> </div>
<div class="time-list">
<ul>
<li><a class="curr" clstag="click|keycount|orderlist|zuijinsangeyue" _val="1" href="#none"><b></b>近三个月订单</a></li>
<li><a clstag="click|keycount|orderlist|jinniannei" _val="2" href="#none"><b></b>今年内订单</a></li>
<li><a clstag="click|keycount|orderlist|2015" _val="3" href="#none"><b></b>2015年订单</a></li>
<li><a clstag="click|keycount|orderlist|2014" _val="4" href="#none"><b></b>2014年订单</a></li>
<li><a clstag="click|keycount|orderlist|2013" _val="5" href="#none"><b></b>2013年订单</a></li>
<li><a clstag="click|ke ycount|orderlist|before_2013" _val="6" href="#none"><b></b>2013年以前订单</a></li>
</ul>
</div>
</div>
<div class="order-detail-txt ac">订单详情</div>
</th>
<th>收货人</th>
<th>金额</th>
<th>
<div>
<div>状态<!-- <b></b> --><span class="blank"></span></div>
<!-- <div class="state-list">
<ul>
<li value="4096">
<a class="curr" clstag="click|keycount|orderlist|quanbuzhuangtai" href="#none"><b></b>全部状态</a>
</li>
<li value="1">
<a clstag="click|keycount|orderlist|dengdaifukuan" href="#none"><b></b>等待付款</a>
</li>
<li clstag="click|keycount|orderlist|dengdaishouhuo" value="128">
<a href="#none"><b></b>等待收货</a>
</li>
<li value="1024">
<a clstag="click|keycount|orderlist|yiwancheng" href="#none"><b></b>已完成</a>
</li>
<li value="-1">
<a clstag="click|keycount|orderlist|yiquxiao" href="#none"><b></b>已取消</a>
</li>
</ul>
</div> -->
</div>
</th>
<th>操作</th>
</tr>
</thead>
<!-- 一个订单一个tbody -->
<foreach name="orderList" item="order" key="key">
<tbody id="tb-12251082074">
<tr class="sep-row"><td colspan="5"></td></tr>
<tr class="tr-th">
<td colspan="5">
<span class="gap"></span>
<span title="{$order.add_time|date="Y-m-d H:i:s",###}" class="dealtime">{$order.add_time|date="Y-m-d H:i:s",###}</span>
<input type="hidden" value="2016-02-29 23:00:47" id="datasubmit-12251082074">
<span class="number">订单号:<a clstag="click|keycount|orderinfo|order_num" target="_blank" id="idUrl12251082074" name="orderIdLinks">{$order.order_sn}</a></span>
<div class="tr-operate">
<span class="order-shop">
<span>卖家:</span>
<span class="shop-txt"><a href="/User/showUser/user_id/{$order.seller_id}">{$order.seller_name}</a></span>
<a clstag="click|keycount|orderlist|ziyingchatim" title="联系他/她" href="#none" class="btn-im btn-im-jd" onclick="addLetter({$order.seller_id}, '{$order.seller_name}', {$Think.session.shop.user|default=-1});"></a>
</span>
<span class="order-shop">
<span>买家:</span>
<span class="shop-txt"><a href="/User/showUser/user_id/{$order.user_id}">{$order.user_name}</a></span>
<a clstag="click|keycount|orderlist|ziyingchatim" title="联系他/她" href="#none" class="btn-im btn-im-jd" onclick="addLetter({$order.user_id}, '{$order.seller_name}', {$Think.session.shop.user|default=-1});"></a>
</span>
<!-- <a _passkey="25D65818AA427ED48B8CB7B385AC42DB" _orderid="12251082074" class="order-del" clstag="click|keycount|orderlist|dingdanshanchu" href="#none" style="display: none;" title="删除"></a> -->
</div>
</td>
</tr>
<!-- 一个商品一个tr -->
<foreach name="goodList[$key]" item="good" key="key2">
<eq name="key2" value="0">
<!-- 仅第一个进入 -->
<tr oty="0,4,70" id="track12251082074" class="tr-bd">
<td>
<div class="goods-item p-188078">
<div class="p-img">
<a target="_blank" clstag="click|keycount|orderinfo|order_product" href="/{$good.good_id}.html">
<img width="60" height="60" data-lazy-img="done" title="{$good.good_name}" src="{$good.thumb_img}" class="">
</a>
</div>
<div class="p-msg">
<div class="p-name"><a title="{$good.good_name}" target="_blank" clstag="click|keycount|orderinfo|order_product" class="a-link" href="/{$good.good_id}.html">{$good.good_name}</a></div>
</div>
</div>
<div class="goods-number">
x{$good.num}
</div>
<div class="clr"></div>
</td>
<td rowspan="{$goodList.$key|count=###}">
<div class="consignee tooltip">
<span class="txt">{$order.address_name}</span><b></b>
<div class="prompt-01 prompt-02">
<div class="pc">
<strong>{$order.address_name}</strong>
<p>{$order.address_location}</p>
<p>{$order.phone}</p>
</div>
<div class="p-arrow p-arrow-left"></div>
</div>
</div>
</td>
<td rowspan="{$goodList.$key|count=###}">
<div class="amount">
<span>总额 ¥{$order.total_price}</span>
</div>
</td>
<td rowspan="{$goodList.$key|count=###}">
<div class="status">
<span class="order-status ftx-03">
<eq name="order.status" value="1">
已完成
<else />
未完成
</eq>
</span>
<br>
<!-- <a target="_blank" clstag="click|keycount|orderlist|dingdanxiangqing" href="//order.jd.com/normal/item.action?orderid=12251082074&PassKey=5A96D671ADFB10FDD0E03545550AD4CB">订单详情</a> -->
</div>
</td>
<td id="operate12251082074" rowspan="{$goodList.$key|count=###}">
<div class="operate">
<div _baina="0" id="pay-button-12251082074"></div>
<neq name="order.status" value="1">
<span target="_blank" class="btn-again" onclick="fullOrder({$order.order_id})"><b></b>完成</span>
</neq>
<br>
</div>
</td>
</tr>
<else />
<!-- 仅在不是第一个进入 -->
<tr oty="0,4,70" id="track12251082074" class="tr-bd">
<td>
<div class="goods-item p-830486">
<div class="p-img">
<a target="_blank" clstag="click|keycount|orderinfo|order_product" href="{$good.good_name}">
<img width="60" height="60" data-lazy-img="done" title="{$good.good_name}" src="{$good.thumb_img}" class="">
</a>
</div>
<div class="p-msg">
<div class="p-name"><a title="{$good.good_name}" target="_blank" clstag="click|keycount|orderinfo|order_product" class="a-link" href="/{$good.good_id}.html">{$good.good_name}</a>
</div>
</div>
</div>
<div class="goods-number">
x1
</div>
<div class="clr"></div>
</td>
</tr>
</eq>
</foreach>
</tbody>
</foreach>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="mt20">
<div class="pagin fr">
<div>{$page}</div>
</div>
<div class="clr"></div>
</div>
<script type="text/javascript">
var _status = {$Think.get.status|default=2}; // 0:未完成,1:已完成
var _type = {$Think.get.type|default=0}; // 0:买家订单
// 自动选中正确的时间类别
var _timeType = {$Think.get.timeType|default=1}; // 查看一定时间范围内的订单
if (_timeType) {
var _obj = $('.time-list ul li').eq(_timeType-1);
_obj.find('a').addClass('curr');
_obj.siblings().find('a').removeClass('curr');
$('.ordertime-cont .time-txt').html(_obj.text() + '<b></b>');
}
// 收货人信息的查看和隐藏
$('.consignee').mouseenter(function () {
$(this).find('.prompt-01').show();
}).mouseleave(function () {
$(this).find('.prompt-01').hide();
});
function fullOrder (order_id) {
if (confirm('确定执行该操作?')) {
$.post('/Order/fullOrder', {'order_id': order_id}, function (msg) {
backAppend(msg);
});
}
return false;
}
function showNotFull (status) {
var type = {$Think.get.type|default=0}; // 0:买家订单
status = status ? 0 : 1; // 为1,说明要查看未完成订单,所以status=0
location.href = '/Order/showOrder/status/' + status + '/type/' + type;
}
function searchOrder (e) {
var _this = $(e);
var val = _this.prev().val();
location.href = '/Order/showOrder/keyword/' + val;
}
function showOrderType (type) {
location.href = '/Order/showOrder/type/' + type;
}
function showTimeOrder(e, timeType) {
var status = {$Think.get.status|default=2}; // 0:未完成,1:已完成
var type = {$Think.get.type|default=0}; // 0:买家订单
var timeType = {$Think.get.timeType|default=1}; // 查看一定时间范围内的订单
$('.ordertime-cont .time-list').toggle();
var target = $(e.target);
var timeType = target.attr('_val');
$('.ordertime-cont .time-txt').html(target.text() + '<b></b>');
if (timeType) {
location.href = "/Order/showOrder/timeType/" + timeType + '/type/' + type + '/status/' + status;
}
}
</script>
| hookidea/yiwukongjian | Application/Home/View/Order/showOrder.html | HTML | mit | 15,806 |
<!DOCTYPE html>
<html class="theme-next gemini use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.8.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">
<script src="/lib/pace/pace.min.js?v=1.0.2"></script>
<link href="/lib/pace/pace-theme-minimal.min.css?v=1.0.2" rel="stylesheet">
<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
<link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">
<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">
<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">
<link rel="apple-touch-icon" sizes="180x180" href="/images/logo.png?v=5.1.4">
<link rel="icon" type="image/png" sizes="32x32" href="/images/logo.png?v=5.1.4">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.icon?v=5.1.4">
<link rel="mask-icon" href="/images/logo.png?v=5.1.4" color="#222">
<meta name="keywords" content="StefanJi, China, Android, Codeing, 纪阳">
<link rel="alternate" href="/atom.xml" title="Stefan Blog" type="application/atom+xml">
<meta name="description" content="Don't be evil.">
<meta name="keywords" content="Android, Python, Coding">
<meta property="og:type" content="website">
<meta property="og:title" content="Stefan Blog">
<meta property="og:url" content="https://stefanji.github.io/tags/哈希/index.html">
<meta property="og:site_name" content="Stefan Blog">
<meta property="og:description" content="Don't be evil.">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Stefan Blog">
<meta name="twitter:description" content="Don't be evil.">
<script type="text/javascript" id="hexo.configurations">
var NexT = window.NexT || {};
var CONFIG = {
root: '/',
scheme: 'Gemini',
version: '5.1.4',
sidebar: {"position":"right","display":"post","offset":12,"b2t":true,"scrollpercent":true,"onmobile":false},
fancybox: true,
tabs: true,
motion: {"enable":true,"async":true,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
duoshuo: {
userId: '0',
author: '博主'
},
algolia: {
applicationID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
}
};
</script>
<link rel="canonical" href="https://stefanji.github.io/tags/哈希/">
<title>标签: 哈希 | Stefan Blog</title>
<link rel="stylesheet" href="/css/prism.css" type="text/css">
<link rel="stylesheet" href="/css/prism-line-numbers.css" type="text/css"></head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<div class="container sidebar-position-right ">
<div class="headband"></div>
<header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-wrapper">
<div class="site-meta ">
<div class="custom-logo-site-title">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">Stefan Blog</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<h1 class="site-subtitle" itemprop="description">A android developer who wants to learn more.</h1>
</div>
<div class="site-nav-toggle">
<button>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section">
<i class="menu-item-icon fa fa-fw fa-home"></i> <br>
首页
</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section">
<i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
归档
</a>
</li>
<li class="menu-item menu-item-about">
<a href="/about/" rel="section">
<i class="menu-item-icon fa fa-fw fa-user"></i> <br>
关于
</a>
</li>
<li class="menu-item menu-item-search">
<a href="javascript:;" class="popup-trigger">
<i class="menu-item-icon fa fa-search fa-fw"></i> <br>
搜索
</a>
</li>
</ul>
<div class="site-search">
<div class="popup search-popup local-search-popup">
<div class="local-search-header clearfix">
<span class="search-icon">
<i class="fa fa-search"></i>
</span>
<span class="popup-btn-close">
<i class="fa fa-times-circle"></i>
</span>
<div class="local-search-input-wrapper">
<input autocomplete="off" placeholder="搜索..." spellcheck="false" type="text" id="local-search-input">
</div>
</div>
<div id="local-search-result"></div>
</div>
</div>
</nav>
</div>
</header>
<main id="main" class="main">
<div class="main-inner">
<div class="content-wrap">
<div id="content" class="content">
<div class="post-block tag">
<div id="posts" class="posts-collapse">
<div class="collection-title">
<h2>哈希<small>标签</small>
</h2>
</div>
<article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h3 class="post-title">
<a class="post-title-link" href="/2017/07/27/HashCode作用/" itemprop="url">
<span itemprop="name">HashCode作用.md</span>
</a>
</h3>
<div class="post-meta">
<time class="post-time" itemprop="dateCreated" datetime="2017-07-27T13:00:00+08:00" content="2017-07-27">
07-27
</time>
</div>
</header>
</article>
</div>
</div>
</div>
</div>
<div class="sidebar-toggle">
<div class="sidebar-toggle-line-wrap">
<span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
<span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
</div>
</div>
<aside id="sidebar" class="sidebar">
<div class="sidebar-inner">
<section class="site-overview-wrap sidebar-panel sidebar-panel-active">
<div class="site-overview">
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
<img class="site-author-image" itemprop="image" src="/images/logo.png" alt="Stefanji">
<p class="site-author-name" itemprop="name">Stefanji</p>
<p class="site-description motion-element" itemprop="description"></p>
</div>
<nav class="site-state motion-element">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">108</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
<div class="site-state-item site-state-categories">
<a href="/categories/index.html">
<span class="site-state-item-count">14</span>
<span class="site-state-item-name">分类</span>
</a>
</div>
<div class="site-state-item site-state-tags">
<a href="/tags/index.html">
<span class="site-state-item-count">69</span>
<span class="site-state-item-name">标签</span>
</a>
</div>
</nav>
<div class="feed-link motion-element">
<a href="/atom.xml" rel="alternate">
<i class="fa fa-rss"></i>
RSS
</a>
</div>
<div class="links-of-author motion-element">
<span class="links-of-author-item">
<a href="https://github.com/stefanji" target="_blank" title="GitHub">
<i class="fa fa-fw fa-github"></i>GitHub</a>
</span>
<span class="links-of-author-item">
<a href="mailto:[email protected]" target="_blank" title="E-Mail">
<i class="fa fa-fw fa-envelope"></i>E-Mail</a>
</span>
</div>
</div>
</section>
<div class="back-to-top">
<i class="fa fa-arrow-up"></i>
<span id="scrollpercent"><span>0</span>%</span>
</div>
</div>
</aside>
</div>
</main>
<footer id="footer" class="footer">
<div class="footer-inner">
<div class="copyright">© 2016 — <span itemprop="copyrightYear">2019</span>
<span class="with-love">
<i class="fa fa-user"></i>
</span>
<span class="author" itemprop="copyrightHolder">Stefanji</span>
</div>
<div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>
</div>
</footer>
</div>
<script type="text/javascript">
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script>
<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
<script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/lib/canvas-nest/canvas-nest.min.js"></script>
<script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>
<script type="text/javascript">
// Popup Window;
var isfetched = false;
var isXml = true;
// Search DB path;
var search_path = "search.json";
if (search_path.length === 0) {
search_path = "search.xml";
} else if (/json$/i.test(search_path)) {
isXml = false;
}
var path = "/" + search_path;
// monitor main search box;
var onPopupClose = function (e) {
$('.popup').hide();
$('#local-search-input').val('');
$('.search-result-list').remove();
$('#no-result').remove();
$(".local-search-pop-overlay").remove();
$('body').css('overflow', '');
}
function proceedsearch() {
$("body")
.append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
.css('overflow', 'hidden');
$('.search-popup-overlay').click(onPopupClose);
$('.popup').toggle();
var $localSearchInput = $('#local-search-input');
$localSearchInput.attr("autocapitalize", "none");
$localSearchInput.attr("autocorrect", "off");
$localSearchInput.focus();
}
// search function;
var searchFunc = function(path, search_id, content_id) {
'use strict';
// start loading animation
$("body")
.append('<div class="search-popup-overlay local-search-pop-overlay">' +
'<div id="search-loading-icon">' +
'<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
'</div>' +
'</div>')
.css('overflow', 'hidden');
$("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');
$.ajax({
url: path,
dataType: isXml ? "xml" : "json",
async: true,
success: function(res) {
// get the contents from search data
isfetched = true;
$('.popup').detach().appendTo('.header-inner');
var datas = isXml ? $("entry", res).map(function() {
return {
title: $("title", this).text(),
content: $("content",this).text(),
url: $("url" , this).text()
};
}).get() : res;
var input = document.getElementById(search_id);
var resultContent = document.getElementById(content_id);
var inputEventFunction = function() {
var searchText = input.value.trim().toLowerCase();
var keywords = searchText.split(/[\s\-]+/);
if (keywords.length > 1) {
keywords.push(searchText);
}
var resultItems = [];
if (searchText.length > 0) {
// perform local searching
datas.forEach(function(data) {
var isMatch = false;
var hitCount = 0;
var searchTextCount = 0;
var title = data.title.trim();
var titleInLowerCase = title.toLowerCase();
var content = data.content.trim().replace(/<[^>]+>/g,"");
var contentInLowerCase = content.toLowerCase();
var articleUrl = decodeURIComponent(data.url);
var indexOfTitle = [];
var indexOfContent = [];
// only match articles with not empty titles
if(title != '') {
keywords.forEach(function(keyword) {
function getIndexByWord(word, text, caseSensitive) {
var wordLen = word.length;
if (wordLen === 0) {
return [];
}
var startPosition = 0, position = [], index = [];
if (!caseSensitive) {
text = text.toLowerCase();
word = word.toLowerCase();
}
while ((position = text.indexOf(word, startPosition)) > -1) {
index.push({position: position, word: word});
startPosition = position + wordLen;
}
return index;
}
indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
});
if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
isMatch = true;
hitCount = indexOfTitle.length + indexOfContent.length;
}
}
// show search results
if (isMatch) {
// sort index by position of keyword
[indexOfTitle, indexOfContent].forEach(function (index) {
index.sort(function (itemLeft, itemRight) {
if (itemRight.position !== itemLeft.position) {
return itemRight.position - itemLeft.position;
} else {
return itemLeft.word.length - itemRight.word.length;
}
});
});
// merge hits into slices
function mergeIntoSlice(text, start, end, index) {
var item = index[index.length - 1];
var position = item.position;
var word = item.word;
var hits = [];
var searchTextCountInSlice = 0;
while (position + word.length <= end && index.length != 0) {
if (word === searchText) {
searchTextCountInSlice++;
}
hits.push({position: position, length: word.length});
var wordEnd = position + word.length;
// move to next position of hit
index.pop();
while (index.length != 0) {
item = index[index.length - 1];
position = item.position;
word = item.word;
if (wordEnd > position) {
index.pop();
} else {
break;
}
}
}
searchTextCount += searchTextCountInSlice;
return {
hits: hits,
start: start,
end: end,
searchTextCount: searchTextCountInSlice
};
}
var slicesOfTitle = [];
if (indexOfTitle.length != 0) {
slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
}
var slicesOfContent = [];
while (indexOfContent.length != 0) {
var item = indexOfContent[indexOfContent.length - 1];
var position = item.position;
var word = item.word;
// cut out 100 characters
var start = position - 20;
var end = position + 80;
if(start < 0){
start = 0;
}
if (end < position + word.length) {
end = position + word.length;
}
if(end > content.length){
end = content.length;
}
slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
}
// sort slices in content by search text's count and hits' count
slicesOfContent.sort(function (sliceLeft, sliceRight) {
if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
return sliceRight.searchTextCount - sliceLeft.searchTextCount;
} else if (sliceLeft.hits.length !== sliceRight.hits.length) {
return sliceRight.hits.length - sliceLeft.hits.length;
} else {
return sliceLeft.start - sliceRight.start;
}
});
// select top N slices in content
var upperBound = parseInt('1');
if (upperBound >= 0) {
slicesOfContent = slicesOfContent.slice(0, upperBound);
}
// highlight title and content
function highlightKeyword(text, slice) {
var result = '';
var prevEnd = slice.start;
slice.hits.forEach(function (hit) {
result += text.substring(prevEnd, hit.position);
var end = hit.position + hit.length;
result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
prevEnd = end;
});
result += text.substring(prevEnd, slice.end);
return result;
}
var resultItem = '';
if (slicesOfTitle.length != 0) {
resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
} else {
resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
}
slicesOfContent.forEach(function (slice) {
resultItem += "<a href='" + articleUrl + "'>" +
"<p class=\"search-result\">" + highlightKeyword(content, slice) +
"...</p>" + "</a>";
});
resultItem += "</li>";
resultItems.push({
item: resultItem,
searchTextCount: searchTextCount,
hitCount: hitCount,
id: resultItems.length
});
}
})
};
if (keywords.length === 1 && keywords[0] === "") {
resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
} else if (resultItems.length === 0) {
resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
} else {
resultItems.sort(function (resultLeft, resultRight) {
if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
return resultRight.searchTextCount - resultLeft.searchTextCount;
} else if (resultLeft.hitCount !== resultRight.hitCount) {
return resultRight.hitCount - resultLeft.hitCount;
} else {
return resultRight.id - resultLeft.id;
}
});
var searchResultList = '<ul class=\"search-result-list\">';
resultItems.forEach(function (result) {
searchResultList += result.item;
})
searchResultList += "</ul>";
resultContent.innerHTML = searchResultList;
}
}
if ('auto' === 'auto') {
input.addEventListener('input', inputEventFunction);
} else {
$('.search-icon').click(inputEventFunction);
input.addEventListener('keypress', function (event) {
if (event.keyCode === 13) {
inputEventFunction();
}
});
}
// remove loading animation
$(".local-search-pop-overlay").remove();
$('body').css('overflow', '');
proceedsearch();
}
});
}
// handle and trigger popup window;
$('.popup-trigger').click(function(e) {
e.stopPropagation();
if (isfetched === false) {
searchFunc(path, 'local-search-input', 'local-search-result');
} else {
proceedsearch();
};
});
$('.popup-btn-close').click(onPopupClose);
$('.popup').click(function(e){
e.stopPropagation();
});
$(document).on('keyup', function (event) {
var shouldDismissSearchPopup = event.which === 27 &&
$('.search-popup').is(':visible');
if (shouldDismissSearchPopup) {
onPopupClose();
}
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true,
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
}
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Queue(function() {
var all = MathJax.Hub.getAllJax(), i;
for (i=0; i < all.length; i += 1) {
all[i].SourceElement().parentNode.className += ' has-jax';
}
});
</script>
<script type="text/javascript" src="//cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
</body>
</html>
| jiyangg/jiyangg.github.io | tags/哈希/index.html | HTML | mit | 25,385 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>V8 API Reference Guide for node.js v0.11.4: v8::AssertNoGCScope Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">V8 API Reference Guide for node.js v0.11.4
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="classv8_1_1_assert_no_g_c_scope.html">AssertNoGCScope</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="classv8_1_1_assert_no_g_c_scope-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">v8::AssertNoGCScope Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <<a class="el" href="v8_8h_source.html">v8.h</a>></code></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Asserts that no action is performed that could cause a handle's value to be modified. Useful when otherwise unsafe handle operations need to be performed. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>deps/v8/include/<a class="el" href="v8_8h_source.html">v8.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 11 2015 23:46:01 for V8 API Reference Guide for node.js v0.11.4 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
| v8-dox/v8-dox.github.io | 588040d/html/classv8_1_1_assert_no_g_c_scope.html | HTML | mit | 4,948 |
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content=" ">
<title>Get Default Predefined Content Items | LivePerson Technical Documentation</title>
<link rel="stylesheet" href="css/syntax.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css">
<!--<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">-->
<link rel="stylesheet" href="css/modern-business.css">
<link rel="stylesheet" href="css/lavish-bootstrap.css">
<link rel="stylesheet" href="css/customstyles.css">
<link rel="stylesheet" href="css/theme-blue.css">
<!-- <script src="assets/js/jsoneditor.js"></script> -->
<script src="assets/js/jquery-3.1.0.min.js"></script>
<!-- <link rel='stylesheet' id='theme_stylesheet' href='//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css'> -->
<!-- <link rel='stylesheet' id='theme_stylesheet' href='//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css'>
-->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> -->
<script src="assets/js/jquery.cookie-1.4.1.min.js"></script>
<script src="js/jquery.navgoco.min.js"></script>
<script src="assets/js/bootstrap-3.3.4.min.js"></script>
<script src="assets/js/anchor-2.0.0.min.js"></script>
<script src="js/toc.js"></script>
<script src="js/customscripts.js"></script>
<link rel="shortcut icon" href="images/favicon.ico">
<!-- 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/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="" href="http://0.0.0.0:4005feed.xml">
<script>
$(document).ready(function() {
// Initialize navgoco with default options
$("#mysidebar").navgoco({
caretHtml: '',
accordion: true,
openClass: 'active', // open
save: false, // leave false or nav highlighting doesn't work right
cookie: {
name: 'navgoco',
expires: false,
path: '/'
},
slide: {
duration: 400,
easing: 'swing'
}
});
$("#collapseAll").click(function(e) {
e.preventDefault();
$("#mysidebar").navgoco('toggle', false);
});
$("#expandAll").click(function(e) {
e.preventDefault();
$("#mysidebar").navgoco('toggle', true);
});
});
</script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container topnavlinks">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="fa fa-home fa-lg navbar-brand" href="index.html"> <span class="projectTitle"> LivePerson Technical Documentation</span></a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<!-- entries without drop-downs appear here -->
<!-- entries with drop-downs appear here -->
<!-- conditional logic to control which topnav appears for the audience defined in the configuration file.-->
<li><a class="email" title="Submit feedback" href="https://github.com/LivePersonInc/dev-hub/issues" ><i class="fa fa-github"></i> Issues</a><li>
<!--comment out this block if you want to hide search-->
<li>
<!--start search-->
<div id="search-demo-container">
<input type="text" id="search-input" placeholder="search...">
<ul id="results-container"></ul>
</div>
<script src="js/jekyll-search.js" type="text/javascript"></script>
<script type="text/javascript">
SimpleJekyllSearch.init({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
dataSource: 'search.json',
searchResultTemplate: '<li><a href="{url}" title="Get Default Predefined Content Items">{title}</a></li>',
noResultsText: 'No results found.',
limit: 10,
fuzzy: true,
})
</script>
<!--end search-->
</li>
</ul>
</div>
</div>
<!-- /.container -->
</nav>
<!-- Page Content -->
<div class="container">
<div class="col-lg-12"> </div>
<!-- Content Row -->
<div class="row">
<!-- Sidebar Column -->
<div class="col-md-3">
<ul id="mysidebar" class="nav">
<li class="sidebarTitle"> </li>
<li>
<a href="#">Common Guidelines</a>
<ul>
<li class="subfolders">
<a href="#">Introduction</a>
<ul>
<li class="thirdlevel"><a href="index.html">Home</a></li>
<li class="thirdlevel"><a href="getting-started.html">Getting Started with LiveEngage APIs</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Guides</a>
<ul>
<li class="thirdlevel"><a href="guides-customizedchat.html">Customized Chat Windows</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">Account Configuration</a>
<ul>
<li class="subfolders">
<a href="#">Predefined Content API</a>
<ul>
<li class="thirdlevel"><a href="account-configuration-predefined-content-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-get-items.html">Get Predefined Content Items</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-get-by-id.html">Get Predefined Content by ID</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-query-delta.html">Predefined Content Query Delta</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-create-content.html">Create Predefined Content</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-update-content.html">Update Predefined Content</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-update-content-items.html">Update Predefined Content Items</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-delete-content.html">Delete Predefined Content</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-delete-content-items.html">Delete Predefined Content Items</a></li>
<li class="active thirdlevel"><a href="account-configuration-predefined-content-get-default-items.html">Get Default Predefined Content Items</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-get-default-items-by-id.html">Get Default Predefined Content by ID</a></li>
<li class="thirdlevel"><a href="account-configuration-predefined-content-appendix.html">Appendix</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Automatic Messages API</a>
<ul>
<li class="thirdlevel"><a href="account-configuration-automatic-messages-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="account-configuration-automatic-messages-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="account-configuration-automatic-messages-get-automatic-messages.html">Get Automatic Messages</a></li>
<li class="thirdlevel"><a href="account-configuration-automatic-messages-get-automatic-message-by-id.html">Get Automatic Message by ID</a></li>
<li class="thirdlevel"><a href="account-configuration-automatic-messages-update-an-automatic-message.html">Update an Automatic Message</a></li>
<li class="thirdlevel"><a href="account-configuration-automatic-messages-appendix.html">Appendix</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">Administration</a>
<ul>
<li class="subfolders">
<a href="#">Users API</a>
<ul>
<li class="thirdlevel"><a href="administration-users-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="administration-users-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="administration-get-all-users.html">Get all users</a></li>
<li class="thirdlevel"><a href="administration-get-user-by-id.html">Get user by ID</a></li>
<li class="thirdlevel"><a href="administration-create-users.html">Create users</a></li>
<li class="thirdlevel"><a href="administration-update-users.html">Update users</a></li>
<li class="thirdlevel"><a href="administration-update-user.html">Update user</a></li>
<li class="thirdlevel"><a href="administration-delete-users.html">Delete users</a></li>
<li class="thirdlevel"><a href="administration-delete-user.html">Delete user</a></li>
<li class="thirdlevel"><a href="administration-change-users-password.html">Change user's password</a></li>
<li class="thirdlevel"><a href="administration-reset-users-password.html">Reset user's password</a></li>
<li class="thirdlevel"><a href="administration-user-query-delta.html">User query delta</a></li>
<li class="thirdlevel"><a href="administration-users-appendix.html">Appendix</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Skills API</a>
<ul>
<li class="thirdlevel"><a href="administration-skills-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="administration-skills-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="administration-get-all-skills.html">Get all skills</a></li>
<li class="thirdlevel"><a href="administration-get-skill-by-id.html">Get skill by ID</a></li>
<li class="thirdlevel"><a href="administration-create-skills.html">Create skills</a></li>
<li class="thirdlevel"><a href="administration.update-skills.html">Update skills</a></li>
<li class="thirdlevel"><a href="administration-update-skill.html">Update skill</a></li>
<li class="thirdlevel"><a href="administration-delete-skills.html">Delete skills</a></li>
<li class="thirdlevel"><a href="administration-delete-skill.html">Delete skill</a></li>
<li class="thirdlevel"><a href="administration-skills-query-delta.html">Skills Query Delta</a></li>
<li class="thirdlevel"><a href="administration-skills-appendix.html">Appendix</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Agent Groups API</a>
<ul>
<li class="thirdlevel"><a href="administration-agent-groups-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="administration-agent-groups-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="administration-get-all-agent-groups.html">Get all agent groups</a></li>
<li class="thirdlevel"><a href="administration-get-agent-groups-by-id.html">Get agent group by ID</a></li>
<li class="thirdlevel"><a href="administration-create-agent-groups.html">Create agent groups</a></li>
<li class="thirdlevel"><a href="administration-update-agent-groups.html">Update agent groups</a></li>
<li class="thirdlevel"><a href="administration-update-agent-group.html">Update agent group</a></li>
<li class="thirdlevel"><a href="administration-delete-agent-groups.html">Delete agent groups</a></li>
<li class="thirdlevel"><a href="administration-delete-agent-group.html">Delete agent group</a></li>
<li class="thirdlevel"><a href="administration-get-subgroups-and-members.html">Get subgroups and members of an agent group</a></li>
<li class="thirdlevel"><a href="administration-agent-groups-query-delta.html">Agent Groups Query Delta</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">Consumer Experience</a>
<ul>
<li class="subfolders">
<a href="#">JavaScript Chat SDK</a>
<ul>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getting-started.html">Getting Started</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-chat-states.html">Chat States</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-surveys.html">Surveys</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-creating-an-instance.html">Creating an Instance</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getestimatedwaittime.html">getEstimatedWaitTime</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getprechatsurvey.html">getPreChatSurvey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getengagement.html">getEngagement</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-requestchat.html">requestChat</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-addline.html">addLine</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-setvisitortyping.html">setVisitorTyping</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-setvisitorname.html">setVisitorName</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-endchat.html">endChat</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-requesttranscript.html">requestTranscript</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getexitsurvey.html">getExitSurvey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-submitexitsurvey.html">submitExitSurvey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getofflinesurvey.html">getOfflineSurvey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-submitofflinesurvey.html">submitOfflineSurvey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getstate.html">getState</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getagentloginname.html">getAgentLoginName</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getvisitorname.html">getVisitorName</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getagentid.html">getAgentId</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getrtsessionid.html">getRtSessionId</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getsessionkey.html">getSessionKey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-getagenttyping.html">getAgentTyping</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-events.html">Events</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onload.html">onLoad</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-oninit.html">onInit</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onestimatedwaittime.html">onEstimatedWaitTime</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onengagement.html">onEngagement</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onprechatsurvey.html">onPreChatSurvey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onstart.html">onStart</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onstop.html">onStop</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onrequestchat.html">onRequestChat</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-ontranscript.html">onTranscript</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-online.html">onLine</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onstate.html">onState</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-oninfo.html">onInfo</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onagenttyping.html">onAgentTyping</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onexitsurvey.html">onExitSurvey</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-onaccounttoaccounttransfer.html">onAccountToAccountTransfer</a></li>
<li class="thirdlevel"><a href="rt-interactions-example.html">Engagement Attributes Body Example</a></li>
<li class="thirdlevel"><a href="consumer-experience-javascript-chat-demo.html">Demo App</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Server Chat API</a>
<ul>
<li class="thirdlevel"><a href="consumer-experience-server-chat-getting-started.html">Getting Started</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-availability.html">Retrieve Availability</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-available-slots.html">Retrieve Available Slots</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-estimated-wait-time.html">Retrieve Estimated Wait Time</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-offline-survey.html">Retrieve an Offline Survey</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-start-chat.html">Start a Chat</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-chat-resources.html">Retrieve Chat Resources, Events and Information</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-chat-events.html">Retrieve Chat Events</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-add-lines.html">Add Lines / End Chat</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-chat-information.html">Retrieve Chat Information</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-visitor-name.html">Retrieve the Visitor's Name</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-set-visitor-name.html">Set the Visitor's Name</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-agent-typing-status.html">Retrieve the Agent's Typing Status</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-visitor-typing-status.html">Retrieve the Visitor's Typing Status</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-set-visitor-typing-status.html">Set the Visitor's Typing Status</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-retrieve-exit-survey-structure.html">Retrieve Exit Survey Structure</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-submit-survey-data.html">Submit Survey Data</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-send-transcript.html">Send a Transcript</a></li>
<li class="thirdlevel"><a href="consumer-experience-server-chat-sample.html">Sample Postman Collection</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Push Service API</a>
<ul>
<li class="thirdlevel"><a href="push-service-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="push-service-tls-html">TLS Authentication</a></li>
<li class="thirdlevel"><a href="push-service-codes-html">HTTP Response Codes</a></li>
<li class="thirdlevel"><a href="push-service-configuration-html">Configuration of Push Proxy</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">In-App Messaging SDK iOS (2.0)</a>
<ul>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-quick-start.html">Quick Start</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-advanced-configurations.html">Advanced Configurations</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-initialize.html">initialize</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-showconversation.html">showConversation</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-removeconversation.html">removeConversation</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-reconnect.html">reconnect</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-togglechatactions.html">toggleChatActions</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-checkactiveconversation.html">checkActiveConversation</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-markasurgent.html">markAsUrgent</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-isurgent.html">isUrgent</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-dismissurgent.html">dismissUrgent</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-resolveconversation.html">resolveConversation</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-clearhistory.html">clearHistory</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-logout.html">logout</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-destruct.html">destruct</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-handlepush.html">handlePush</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-registerpushnotifications.html">registerPushNotifications</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-setuserprofile.html">setUserProfile</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-getassignedagent.html">getAssignedAgent</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-subscribelogevents.html">subscribeLogEvents</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-getsdkversion.html">getSDKVersion</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-printalllocalizedkeys.html">printAllLocalizedKeys</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-printsupportedlanguages.html">printSupportedLanguages</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-getallsupportedlanguages.html">getAllSupportedLanguages</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-interfacedefinitions.html">Interface and Class Definitions</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-callbacks-index.html">Callbacks index</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-configuring-the-sdk.html">Configuring the SDK</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-attributes.html">Attributes</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-deprecated-attributes.html">Deprecated Attributes</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-stringlocalization.html">String localization in SDK</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-localizationkeys.html">Localization Keys</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-timestamps.html">Timestamps Formatting</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-createcertificate.html">OS Certificate Creation</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-advanced-csat.html">CSAT UI Content</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-photosharing.html">Photo Sharing (Beta)</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-pushnotifications.html">Configuring Push Notifications</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-opensource.html">Open Source List</a></li>
<li class="thirdlevel"><a href="consumer-experience-ios-sdk-security.html">Security</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">In-App Messaging SDK Android (2.0)</a>
<ul>
<li class="thirdlevel"><a href="android-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="android-prerequisites.html">Prerequisites</a></li>
<li class="thirdlevel"><a href="android-download-and-unzip.html">Step 1: Download and Unzip the SDK</a></li>
<li class="thirdlevel"><a href="android-configure-project-settings.html">Step 2: Configure project settings to connect LiveEngage SDK</a></li>
<li class="thirdlevel"><a href="android-code-integration.html">Step 3: Code integration for basic deployment</a></li>
<li class="thirdlevel"><a href="android-initialization.html">SDK Initialization and Lifecycle</a></li>
<li class="thirdlevel"><a href="android-authentication.html">Authentication</a></li>
<li class="thirdlevel"><a href="android-conversations-lifecycle.html">Conversations Lifecycle</a></li>
<li class="thirdlevel"><a href="android-callbacks-interface.html">LivePerson Callbacks Interface</a></li>
<li class="thirdlevel"><a href="android-notifications.html">Notifications</a></li>
<li class="thirdlevel"><a href="android-user-data.html">User Data</a></li>
<li class="thirdlevel"><a href="android-logs.html">Logs and Info</a></li>
<li class="thirdlevel"><a href="android-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="android-initializedeprecated.html">initialize (Deprecated)</a></li>
<li class="thirdlevel"><a href="android-initializeproperties.html">initialize (with SDK properties object)</a></li>
<li class="thirdlevel"><a href="android-showconversation.html">showConversation</a></li>
<li class="thirdlevel"><a href="android-showconversationauth.html">showConversation (with authentication support)</a></li>
<li class="thirdlevel"><a href="android-hideconversation.html">hideConversation</a></li>
<li class="thirdlevel"><a href="android-getconversationfrag.html">getConversationFragment</a></li>
<li class="thirdlevel"><a href="android-getconversationfragauth.html">getConversationFragment with authentication support</a></li>
<li class="thirdlevel"><a href="android-reconnect.html">reconnect</a></li>
<li class="thirdlevel"><a href="android-setuserprofile.html">setUserProfile</a></li>
<li class="thirdlevel"><a href="android-setuserprofiledeprecated.html">setUserProfile (Deprecated)</a></li>
<li class="thirdlevel"><a href="android-registerlppusher.html">registerLPPusher</a></li>
<li class="thirdlevel"><a href="android-unregisterlppusher.html">unregisterLPPusher</a></li>
<li class="thirdlevel"><a href="android-handlepush.html">handlePush</a></li>
<li class="thirdlevel"><a href="android-getsdkversion.html">getSDKVersion</a></li>
<li class="thirdlevel"><a href="android-setcallback.html">setCallback</a></li>
<li class="thirdlevel"><a href="android-removecallback.html">removeCallBack</a></li>
<li class="thirdlevel"><a href="android-checkactiveconversation.html">checkActiveConversation</a></li>
<li class="thirdlevel"><a href="android-checkagentid.html">checkAgentID</a></li>
<li class="thirdlevel"><a href="android-markurgent.html">markConversationAsUrgent</a></li>
<li class="thirdlevel"><a href="android-marknormal.html">markConversationAsNormal</a></li>
<li class="thirdlevel"><a href="android-checkurgent.html">checkConversationIsMarkedAsUrgent</a></li>
<li class="thirdlevel"><a href="android-resolveconversation.html">resolveConversation</a></li>
<li class="thirdlevel"><a href="android-shutdown.html">shutDown</a></li>
<li class="thirdlevel"><a href="android-shutdowndeprecated.html">shutDown (Deprecated)</a></li>
<li class="thirdlevel"><a href="android-clearhistory.html">clearHistory</a></li>
<li class="thirdlevel"><a href="android-logout.html">logOut</a></li>
<li class="thirdlevel"><a href="android-callbacks-index.html">Callbacks Index</a></li>
<li class="thirdlevel"><a href="android-configuring-sdk.html">Configuring the SDK</a></li>
<li class="thirdlevel"><a href="android-attributes.html">Attributes</a></li>
<li class="thirdlevel"><a href="android-configuring-edittext.html">Configuring the message’s EditText</a></li>
<li class="thirdlevel"><a href="android-proguard.html">Proguard Configuration</a></li>
<li class="thirdlevel"><a href="android-modifying-string.html">Modifying Strings</a></li>
<li class="thirdlevel"><a href="android-modifying-resources.html">Modifying Resources</a></li>
<li class="thirdlevel"><a href="android-plural-string.html">Plural String Resource Example</a></li>
<li class="thirdlevel"><a href="android-timestamps.html">Timestamps Formatting</a></li>
<li class="thirdlevel"><a href="android-off-hours.html">Date and Time</a></li>
<li class="thirdlevel"><a href="android-bubble.html">Bubble Timestamp</a></li>
<li class="thirdlevel"><a href="android-separator.html">Separator Timestamp</a></li>
<li class="thirdlevel"><a href="android-resolve.html">Resolve Message</a></li>
<li class="thirdlevel"><a href="android-csat.html">CSAT Behavior</a></li>
<li class="thirdlevel"><a href="android-photo-sharing.html">Photo Sharing - Beta</a></li>
<li class="thirdlevel"><a href="android-push-notifications.html">Enable Push Notifications</a></li>
<li class="thirdlevel"><a href="android-appendix.html">Appendix</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">Real-time Interactions</a>
<ul>
<li class="subfolders">
<a href="#">Visit Information API</a>
<ul>
<li class="thirdlevel"><a href="rt-interactions-visit-information-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="rt-interactions-visit-information-visit-information.html">Visit Information</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">App Engagement API</a>
<ul>
<li class="thirdlevel"><a href="rt-interactions-app-engagement-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="rt-interactions-app-engagement-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="rt-interactions-create-session.html">Create Session</a></li>
<li class="thirdlevel"><a href="rt-interactions-update-session.html">Update Session</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Engagement Attributes</a>
<ul>
<li class="thirdlevel"><a href="rt-interactions-engagement-attributes-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="rt-interactions-engagement-attributes-engagement-attributes.html">Engagement Attributes</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">IVR Engagement API</a>
<ul>
<li class="thirdlevel"><a href="rt-interactions-ivr-engagement-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="rt-interactions-ivr-engagement-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="rt-interactions-ivr-engagement-external engagement.html">External Engagement</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Validate Engagement</a>
<ul>
<li class="thirdlevel"><a href="rt-interactions-validate-engagement-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="rt-interactions-validate-engagement-validate-engagement.html">Validate Engagement API</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Engagement Trigger API</a>
<ul>
<li class="thirdlevel"><a href="trigger-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="trigger-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="trigger-click.html">Click</a></li>
<li class="thirdlevel"><a href="trigger-getinfo.html">getEngagementInfo</a></li>
<li class="thirdlevel"><a href="trigger-getstate.html">getEngagementState</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Engagement Window Widget SDK</a>
<ul>
<li class="thirdlevel"><a href="rt-interactions-window-sdk-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="rt-interactions-window-sdk-getting-started.html">Getting Started</a></li>
<li class="thirdlevel"><a href="rt-interactions-window-sdk-limitations.html">Limitations</a></li>
<li class="thirdlevel"><a href="rt-interactions-window-sdk-configuration.html">Configuration</a></li>
<li class="thirdlevel"><a href="rt-interactions-window-sdk-how-to-use.html">How to use the SDK</a></li>
<li class="thirdlevel"><a href="rt-interactions-window-sdk-code-examples.html">Code Examples</a></li>
<li class="thirdlevel"><a href="rt-interactions-window-sdk-event-structure.html">Event Structure</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">Agent</a>
<ul>
<li class="subfolders">
<a href="#">Agent Workspace Widget SDK</a>
<ul>
<li class="thirdlevel"><a href="agent-workspace-sdk-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="agent-workspace-sdk-getting-started.html">Getting Started</a></li>
<li class="thirdlevel"><a href="agent-workspace-sdk-limitations.html">Limitations</a></li>
<li class="thirdlevel"><a href="agent-workspace-sdk-how-to-use.html">How to use the SDK</a></li>
<li class="thirdlevel"><a href="agent-workspace-sdk-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="agent-workspace-sdk-public-model.html">Public Model Structure</a></li>
<li class="thirdlevel"><a href="agent-workspace-sdk-public-properties.html">Public Properties</a></li>
<li class="thirdlevel"><a href="agent-workspace-sdk-code-examples.html">Code Examples</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">LivePerson Domain API</a>
<ul>
<li class="thirdlevel"><a href="agent-domain-domain-api.html">Domain API</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Login Service API</a>
<ul>
<li class="thirdlevel"><a href="login-getting-started.html">Getting Started</a></li>
<li class="thirdlevel"><a href="agent-login-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="agent-login.html">Login</a></li>
<li class="thirdlevel"><a href="agent-refresh.html">Refresh</a></li>
<li class="thirdlevel"><a href="agent-refresh.html">Logout</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Chat Agent API</a>
<ul>
<li class="thirdlevel"><a href="chat-agent-getting-started.html">Getting Started</a></li>
<li class="thirdlevel"><a href="agent-chat-agent-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="agent-start-agent-session.html">Start Agent Session</a></li>
<li class="thirdlevel"><a href="agent-retrieve-current-availability.html">Retrieve Current Availability</a></li>
<li class="thirdlevel"><a href="agent-set-agent-availability.html">Set Agent Availability</a></li>
<li class="thirdlevel"><a href="agent-retrieve-available-agents.html">Retrieve Available Agents</a></li>
<li class="thirdlevel"><a href="agent-retrieve-available-slots.html">Retrieve Available Slots</a></li>
<li class="thirdlevel"><a href="agent-retrieve-agent-information.html">Retrieve Agent Information</a></li>
<li class="thirdlevel"><a href="agent-determine-incoming.html">Determine Incoming Chat Requests</a></li>
<li class="thirdlevel"><a href="agent-accept-chat.html">Accept a Chat</a></li>
<li class="thirdlevel"><a href="agent-retrieve-chat-sessions.html">Retrieve Chat Sessions</a></li>
<li class="thirdlevel"><a href="agent-retrieve-chat-resources.html">Retrieve Chat Resources, Events and Information</a></li>
<li class="thirdlevel"><a href="agent-retrieve-data.html">Retrieve Data for Multiple Chats</a></li>
<li class="thirdlevel"><a href="agent-retrieve-chat-events.html">Retrieve Chat Events</a></li>
<li class="thirdlevel"><a href="agent-add-lines.html">Add Lines</a></li>
<li class="thirdlevel"><a href="agent-end-chat.html">End Chat</a></li>
<li class="thirdlevel"><a href="agent-retrieve-chat-info.html">Retrieve Chat Information</a></li>
<li class="thirdlevel"><a href="">Retrieve Visitor’s Name</a></li>
<li class="thirdlevel"><a href="agent-retrieve-agent-typing.html">Retrieve Agent's Typing Status</a></li>
<li class="thirdlevel"><a href="agent-set-agent-typing.html">Set Agent’s Typing Status</a></li>
<li class="thirdlevel"><a href="agent-retrieve-visitor-typing.html">Retrieve Visitor's Typing Status</a></li>
<li class="thirdlevel"><a href="agent-chat-agent-retrieve-skills.html">Retrieve Available Skills</a></li>
<li class="thirdlevel"><a href="agent-transfer-chat.html">Transfer a Chat</a></li>
<li class="thirdlevel"><a href="agent-retrieve-survey-structure.html">Retrieve Agent Survey Structure</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Messaging Agent SDK</a>
<ul>
<li class="thirdlevel"><a href="messaging-agent-sdk-overview.html">Overview</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">Data</a>
<ul>
<li class="subfolders">
<a href="#">Data Access API (Beta)</a>
<ul>
<li class="thirdlevel"><a href="data-data-access-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="data-data-access-architecture.html">Architecture</a></li>
<li class="thirdlevel"><a href="data-data-access-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="data-data-access-base-resource.html">Base Resource</a></li>
<li class="thirdlevel"><a href="data-data-access-agent-activity.html">Agent Activity</a></li>
<li class="thirdlevel"><a href="data-data-access-web-session.html">Web Session</a></li>
<li class="thirdlevel"><a href="data-data-access-engagement.html">Engagement</a></li>
<li class="thirdlevel"><a href="data-data-access-survey.html">Survey</a></li>
<li class="thirdlevel"><a href="data-data-access-schema.html">Schema</a></li>
<li class="thirdlevel"><a href="data-data-access-appendix.html">Appendix</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Messaging Operations API</a>
<ul>
<li class="thirdlevel"><a href="data-messaging-operations-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="data-messaging-operations-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="data-messaging-operations-messaging-conversation.html">Messaging Conversation</a></li>
<li class="thirdlevel"><a href="data-messaging-operations-messaging-csat-distribution.html">Messaging CSAT Distribution</a></li>
<li class="thirdlevel"><a href="data-messaging-operations-appendix.html">Appendix</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Messaging Interactions API (Beta)</a>
<ul>
<li class="thirdlevel"><a href="data-messaging-interactions-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="data-messaging-interactions-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="data-messaging-interactions-conversations.html">Conversations</a></li>
<li class="thirdlevel"><a href="data-messaging-interactions-get-conversation-by-conversation-id.html">Get conversation by conversation ID</a></li>
<li class="thirdlevel"><a href="data-messaging-interactions-get-conversations-by-consumer-id.html">Get Conversations by Consumer ID</a></li>
<li class="thirdlevel"><a href="data-messaging-interactions-sample-code.html">Sample Code</a></li>
<li class="thirdlevel"><a href="data-messaging-interactions-appendix.html">Appendix</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Engagement History API</a>
<ul>
<li class="thirdlevel"><a href="data-engagement-history-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="data-engagement-history-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="data-engagement-history-retrieve-engagement-list-by-criteria.html">Retrieve Engagement List by Criteria</a></li>
<li class="thirdlevel"><a href="data-engagement-history-sample-code.html">Sample Code</a></li>
<li class="thirdlevel"><a href="data-engagement-history-appendix.html">Appendix</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Operational Real-time API</a>
<ul>
<li class="thirdlevel"><a href="data-operational-realtime-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="data-operational-realtime-methods.html">Methods</a></li>
<li class="thirdlevel"><a href="data-operational-realtime-queue-health.html">Queue Health</a></li>
<li class="thirdlevel"><a href="data-operational-realtime-engagement-activity.html">Engagement Activity</a></li>
<li class="thirdlevel"><a href="data-operational-realtime-agent-activity.html">Agent Activity</a></li>
<li class="thirdlevel"><a href="data-operational-realtime-current-queue-state.html">Current Queue State</a></li>
<li class="thirdlevel"><a href="data-operational-realtime-sla-histogram.html">SLA Histogram</a></li>
<li class="thirdlevel"><a href="data-operational-realtime-sample-code.html">Sample Code</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">LiveEngage Tag</a>
<ul>
<li class="subfolders">
<a href="#">LE Tag Events</a>
<ul>
<li class="thirdlevel"><a href="lp-tag-tag-events-overview.html">Overview</a></li>
<li class="thirdlevel"><a href="lp-tag-tag-events-how.html">How to use these Events</a></li>
<li class="thirdlevel"><a href="lp-tag-tag-events-events.html">Events</a></li>
<li class="thirdlevel"><a href="lp-tag-visitor-flow.html">Visitor Flow Events</a></li>
<li class="thirdlevel"><a href="lp-tag-engagement.html">Engagement Events</a></li>
<li class="thirdlevel"><a href="lp-tag-engagement-window.html">Engagement Window Events</a></li>
</ul>
</li>
</ul>
<li>
<a href="#">Messaging Window API</a>
<ul>
<li class="subfolders">
<a href="#">Introduction</a>
<ul>
<li class="thirdlevel"><a href="consumer-interation-index.html">Home</a></li>
<li class="thirdlevel"><a href="consumer-int-protocol-overview.html">Protocol Overview</a></li>
<li class="thirdlevel"><a href="consumer-int-getting-started.html">Getting Started</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Tutorials</a>
<ul>
<li class="thirdlevel"><a href="consumer-int-get-msg.html">Get Messages</a></li>
<li class="thirdlevel"><a href="consumer-int-conversation-md.html">Conversation Metadata</a></li>
<li class="thirdlevel"><a href="consumer-int-readaccept-events.html">Read/Accept events</a></li>
<li class="thirdlevel"><a href="consumer-int-authentication.html">Authentication</a></li>
<li class="thirdlevel"><a href="consumer-int-agent-profile.html">Agent Profile</a></li>
<li class="thirdlevel"><a href="consumer-int-post-survey.html">Post Conversation Survey</a></li>
<li class="thirdlevel"><a href="consumer-int-client-props.html">Client Properties</a></li>
<li class="thirdlevel"><a href="consumer-int-no-headers.html">Avoid Webqasocket Headers</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">Samples</a>
<ul>
<li class="thirdlevel"><a href="consumer-int-js-sample.html">JavaScript Messenger</a></li>
</ul>
</li>
<li class="subfolders">
<a href="#">API Reference</a>
<ul>
<li class="thirdlevel"><a href="consumer-int-api-reference.html">Overview</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-reqs.html">Request Builder</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-resps.html">Response Builder</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-notifications.html">Notification Builder</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-req-conv.html">New Conversation</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-close-conv.html">Close Conversation</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-conv-ttr.html">Urgent Conversation</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-csat-conv.html">Update CSAT</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-sub-conv.html">Subscribe Conversations Metadata</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-unsub-conv.html">Unsubscribe Conversations Metadata</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-text-cont.html">Publish Content</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-sub-events.html">Subscribe Conversation Content</a></li>
<li class="thirdlevel"><a href="consumer-int-msg-init-con.html">Browser Init Connection</a></li>
</ul>
</li>
</ul>
<!-- if you aren't using the accordion, uncomment this block:
<p class="external">
<a href="#" id="collapseAll">Collapse All</a> | <a href="#" id="expandAll">Expand All</a>
</p>
-->
</li>
</ul>
</div>
<!-- this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page. This must appear below the sidebar code above. Otherwise, if placed inside customscripts.js, the script runs before the sidebar code runs and the class never gets inserted.-->
<script>$("li.active").parents('li').toggleClass("active");</script>
<!-- Content Column -->
<div class="col-md-9">
<div class="post-header">
<h1 class="post-title-main">Get Default Predefined Content Items</h1>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-96175782-1', 'auto');
ga('send', 'pageview');
</script>
<div class="post-content">
<p>Retrieves default Predefined Content items from a specific account.</p>
<h2 id="request">Request</h2>
<table>
<thead>
<tr>
<th style="text-align: left">Method</th>
<th style="text-align: left">URL</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">GET</td>
<td style="text-align: left">/api/configuration/defaults/engagement-window/canned-responses/</td>
</tr>
</tbody>
</table>
<h2 id="response">Response</h2>
<p><strong>Response Codes</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left">Code</th>
<th style="text-align: left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">200</td>
<td style="text-align: left">OK</td>
</tr>
<tr>
<td style="text-align: left">404</td>
<td style="text-align: left">Data Not Found</td>
</tr>
</tbody>
</table>
<p><strong>Response Body</strong></p>
<div class="highlighter-rouge"><pre class="highlight"><code>[
{
"templateId": "canned-response-template-1",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Introduction",
"msg": "Allow me to introduce myself as your chat agent.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-2",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Hello",
"msg": "Hello, How may I assist you?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-3",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Welcome",
"msg": "Welcome to our live chat service. My name is $!{operator.nickname} and I am here to assist you.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-4",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Help",
"msg": "Hello, you're chatting with $!{operator.nickname}. How may I help you?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-5",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Welcome to website",
"msg": "Welcome to COMPANY name, what brings you to our website today?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-6",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Question",
"msg": "Is there a specific question I can help you with?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-7",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Staller",
"msg": "Your patience is appreciated. I will be with you shortly.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-8",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Non Responsive",
"msg": "Was there something in particular that you were looking for?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-9",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Happy to Help",
"msg": "I will be happy to help you with that!",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-10",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "One moment please",
"msg": "Can you please wait for a moment while I find that information for you.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-11",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Thanks for waiting",
"msg": "Thank you for waiting. I have some information for you.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-12",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Good-bye",
"msg": "Thank you for chatting. Good-bye.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-13",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Chat Again",
"msg": "Thank you for visiting. Please contact us at anytime.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-14",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Have I answered all of your questions today?",
"msg": "Have I answered all of your questions today?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-15",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "FAIR Warning",
"msg": "I haven't heard from you for a while. Are you still there?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-16",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "FINAL Warning",
"msg": "Sorry we couldn't finish our chat. As I haven't heard from you for some time, I'm going to close this chat. If you need any help in future, please do not hesitate to chat with us again.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-17",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Goodbye with option to fill survey",
"msg": "Thank you for chatting with me today. We really value your feedback. Please click the \"Close\" button at top right to answer a few questions about your experience with us. Thanks and have a good day!",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-18",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Transfer to alternate chat group",
"msg": "I can certainly help you with that. I would be happy to transfer you to the appropriate group so they can answer your question as quickly as possible. Is that OK?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-19",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Transfer to Manager",
"msg": "I can transfer you to my manager who can better assist you. Is that OK?",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-20",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Abusive Fair Warning",
"msg": "Our company considers that content and language to be inappropriate. If you continue to send improper messages, I will have to end our chat session.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-21",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Abusive Final Warning",
"msg": "We will not tolerate the use of inappropriate language. I am required to terminate our chat session immediately.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
},
{
"templateId": "canned-response-template-22",
"templateDeleted": false,
"deleted": false,
"enabled": true,
"data": [
{
"title": "Permission Based Service",
"msg": "This chat service is permission based. Before a chat begins, no data is collected about you beyond the information which websites usually collect. Once an invitation is accepted, all chats are monitored for quality assurance purposes. Any information gathered is for internal use only.",
"lang": "en-US",
"isDefault": true
}
],
"type": 0
}
]
</code></pre>
</div>
<div class="tags">
</div>
</div>
<hr class="shaded"/>
<footer>
<div class="row">
<div class="col-lg-12 footer">
©2017 LivePerson. All rights reserved.<br />This documentation is subject to change without notice.<br />
Site last generated: Mar 27, 2017 <br />
<p><img src="img/company_logo.png" alt="Company logo"/></p>
</div>
</div>
</footer>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</div>
</body>
</html> | LivePersonInc/dev-hub | content_ga3/account-configuration-predefined-content-get-default-items.html | HTML | mit | 175,353 |
---
layout: page
title: Últimos Posts
excerpt: "A simple and clean responsive Jekyll theme for words and photos."
---
<ul class="post-list">
{% for post in site.posts limit:10 %}
<li><article><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%d/%m/%Y" }}</time></span></a></article></li>
{% endfor %}
</ul> | robsonbittencourt/rbittencourt.com | index.html | HTML | mit | 417 |
{% extends "base.html" %}
{% load static %}
{% block extra_head %}
<style>
#chart_zoom g.stack._0 > rect.bar {
stroke: none;
fill: blue;
}
#chart_zoom g.stack._1 > rect.bar {
stroke: none;
fill: red;
}
#chart_zoom g.stack._2 > rect.bar {
stroke: none;
fill: green;
}
#chart_zoom g.dc-legend-item:nth-child(1) > rect:nth-child(1) {
stroke: none;
fill: blue;
}
#chart_zoom g.dc-legend-item:nth-child(2) > rect:nth-child(1) {
stroke: none;
fill: red;
}
#chart_zoom g.dc-legend-item:nth-child(3) > rect:nth-child(1) {
stroke: none;
fill: green;
}
</style>
{% endblock %}
{% block navbar_right %}
<li><a href="{% url 'stats_dashboard' %}">All</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">By Origin <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
{% for origin in origins %}
<li><a href="{% url 'stats_dashboard_origin' origin.name %}">{{ origin.name }}</a></li>
{% endfor %}
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">By Source <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
{% for source in sources %}
<li><a href="{% url 'stats_dashboard_source' source.name %}">{{ source.name }}</a></li>
{% endfor %}
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">By Date <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
{% for date in dates %}
<li><a href="{% url 'stats_dashboard_date' date %}">{{ date }}</a></li>
{% endfor %}
</ul>
</li>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-12">
<div class="page-header" style="padding-left:10px;"><h3>Dashboard
{% if origin %}: {{ origin.name }}{% endif %}
{% if source %}: {{ source.name }}{% endif %}
{% if date %}: {{ date }}{% endif %}
</h3></div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="nav nav-tabs">
<li class="active"><a href="#overview" data-toggle="tab"><i class=""></i>Overview</a></li>
<li><a href="#cache" data-toggle="tab"><i class="fa fa-square-o rotate-45"></i>Cache Performance</a></li>
</ul>
<div class="tab-content">
<div id="overview" class="tab-pane active">
<div class="col-md-8">
<div><h4>Tile Requests by Date</h4></div>
<div id="chart_dates"></div>
</div>
<div class="col-md-4">
<div style="margin-bottom:8px;"><a class="btn btn-primary" href="{% url 'stats_map' %}">Map: All</a></div>
{% if origin %}
<div style="margin-bottom:8px;"><a class="btn btn-primary" href="{% url 'stats_map_origin' origin.name %}">Map: {{ origin.name }}</a></div>
{% endif %}
{% if source %}
<div style="margin-bottom:8px;"><a class="btn btn-primary" href="{% url 'stats_map_source' source.name %}">Map: {{ source.name }}</a></div>
{% endif %}
{% if date %}
<div style="margin-bottom:8px;"><a class="btn btn-primary" href="{% url 'stats_map_date' date %}">Map for Date {{ date }}</a></div>
{% endif %}
</div>
</div>
<div id="cache" class="tab-pane">
<div class="col-md-4">
<div><h4>Overall Cache Ratio</h4></div>
<div id="chart_status"></div>
</div>
<div class="col-md-8">
<div><h4>Cache Ratio by Zoom Level</h4></div>
<div id="chart_zoom"></div>
</div>
</div>
</div>
<script>
var origin = {% if origin %}"{{ origin }}"{% else %}undefined{% endif %};
var source = {% if source %}"{{ source }}"{% else %}undefined{% endif %};
var date = {% if date %}"{{ date }}"{% else %}undefined{% endif %};
//////////////////////////////////
var initPieChart = function(pieChart, stats)
{
var data_by_status = []
if(origin!=undefined)
{
for (var k in stats.by_origin_status[origin])
{
data_by_status.push({'status':k,'count':stats.by_origin_status[origin][k]})
}
}
else if(source!=undefined)
{
for (var k in stats.by_source_status[source])
{
data_by_status.push({'status':k,'count':stats.by_source_status[source][k]})
}
}
else
{
for (var k in stats.by_status)
{
data_by_status.push({'status':k,'count':stats.by_status[k]})
}
}
var ndx = crossfilter(data_by_status);
var dim = ndx.dimension(function(d) {return d.status;});
var group = dim.group().reduceSum(function(d) {return d.count;});
var colors = ["red","green","blue","gray"];
pieChart
//.margins({top: 50, right: 20, left: 50, bottom: 50})
.width(240)
.height(240)
.slicesCap(4)
.innerRadius(40)
.dimension(dim)
.group(group)
//.xAxisLabel("Request Status")
.legend(dc.legend())
.colors(colors)
.colorAccessor(function(d, i)
{
if(d.data.key=="miss")
return 0;
else if(d.data.key=="hit")
return 1
else if(d.data.key=="bypass")
return 2;
else
return 3;
});
}
var initLineChart = function(lineChart, stats)
{
var parseDate = d3.time.format("%Y-%m-%d").parse;
var data_by_date = [];
if(origin!=undefined)
{
for (var k in stats.by_date_origin)
{
if(origin in stats.by_date_origin[k])
{
data_by_date.push({'date':parseDate(k), 'count':stats.by_date_origin[k][origin]*1.0});
}
else
{
data_by_date.push({'date':parseDate(k), 'count':0.0});
}
}
}
else if(source!=undefined)
{
for (var k in stats.by_date_source)
{
if(source in stats.by_date_source[k])
{
data_by_date.push({'date':parseDate(k), 'count':stats.by_date_source[k][source]*1.0});
}
else
{
data_by_date.push({'date':parseDate(k), 'count':0.0});
}
}
}
else
{
for (var k in stats.by_date)
{
data_by_date.push({'date':parseDate(k), 'count':stats.by_date[k]*1.0})
}
}
var ndx = crossfilter(data_by_date);
var dim = ndx.dimension(function(d) {return d.date;});
var group = dim.group().reduceSum(function(d) {return d.count;});
//var colors = ["red","green","blue","gray"];
var width = 660;
var height = 300;
var x = d3.time.scale().range([0, width]);
var y = d3.scale.linear().range([height, 0]);
x.domain(d3.extent(data_by_date, function(d) { return d.date; }));
y.domain(d3.extent(data_by_date, function(d) { return d.count; }));
lineChart
.margins({top: 50, right: 20, left: 50, bottom: 50})
.width(width)
.height(height)
.renderArea(true)
//.chart(function(c) { return dc.lineChart(c).interpolate('basis');})
.interpolate('basis')
.x(x)
.y(y)
//.brushOn(false)
.yAxisLabel("Tile Requests")
.xAxisLabel("Date")
//.clipPadding(10)
//.elasticY(true)
.dimension(dim)
.group(group)
.legend(dc.legend());
};
var initColumnChart = function(columnChart, stats)
{
var data_by_zoom = []
if(origin!=undefined)
{
for (var z in stats.by_origin_zoom_status[origin])
{
var obj = stats.by_origin_zoom_status[origin][z];
var out = {'zoom': parseInt(z,10)};
var statuses = ["miss","hit","bypass"];
for(var i = 0; i < statuses.length; i++)
{
var status = statuses[i];
if(status in obj)
{
out[status] = obj[status];
}
else
{
out[status] = 0;
}
}
data_by_zoom.push(out);
}
}
else if(source!=undefined)
{
for (var z in stats.by_source_zoom_status[source])
{
var obj = stats.by_source_zoom_status[source][z];
var out = {'zoom': parseInt(z,10)};
var statuses = ["miss","hit","bypass"];
for(var i = 0; i < statuses.length; i++)
{
var status = statuses[i];
if(status in obj)
{
out[status] = obj[status];
}
else
{
out[status] = 0;
}
}
data_by_zoom.push(out);
}
}
else
{
for (var z in stats.by_zoom_status)
{
var obj = stats.by_zoom_status[z];
var out = {'zoom': parseInt(z,10)};
var statuses = ["miss","hit","bypass"];
for(var i = 0; i < statuses.length; i++)
{
var status = statuses[i];
if(status in obj)
{
out[status] = obj[status];
}
else
{
out[status] = 0;
}
}
data_by_zoom.push(out);
}
}
var ndx = crossfilter(data_by_zoom);
var dim = ndx.dimension(function(d) {return d.zoom;});
//var group = dim.group().reduceSum(function(d) {return d});
var group = dim.group().reduce(
function (p, v) {
p.miss += v.miss;
p.hit += v.hit;
p.bypass += v.bypass;
return p;
},
function (p, v) {
p.miss -= v.miss;
p.hit -= v.hit;
p.bypass -= v.bypass;
return p;
},
function () {
return {
miss: 0,
hit: 0,
bypass: 0
};
}
);
//var colors = ["red","green","blue","gray"];
var width = 660;
var height = 240;
var x = d3.scale.linear().range([0, width]);
x.domain([0,22.5]);
//var y = d3.scale.linear().range([height, 0]);
//x.domain(d3.extent(data_by_date, function(d) { return d.date; }));
//y.domain(d3.extent(data_by_date, function(d) { return d.count; }));
var colorRenderlet = function (_chart) {
_chart.selectAll("rect.bar")
.on("click", function (d) {
function setAttr(selection, keyName) {
selection.style("fill", function (d) {
if (d[keyName] == "miss") return "red";
else if (d[keyName] == "bypass") return "blue";
else if (d[keyName] == "hit") return "green";
});
};
setAttr(_chart.selectAll("g.stack").selectAll("rect.bar"), "layer")
setAttr(_chart.selectAll("g.dc-legend-item").selectAll("rect"), "name")
});
};
columnChart
.margins({top: 50, right: 20, left: 50, bottom: 50})
.width(width)
.height(height)
.gap(4)
.x(x)
.centerBar(true)
.elasticY(true)
.dimension(dim)
.group(group, "bypass")
.valueAccessor(function(d){
return d.value.bypass;
})
.stack(group, "miss", function(d){
return d.value.miss;
})
.stack(group, "hit", function(d){
return d.value.hit;
})
.renderlet(colorRenderlet)
.legend(dc.legend());
}
var pieChart = dc.pieChart("#chart_status");
var lineChart = dc.lineChart("#chart_dates");
var columnChart = dc.barChart("#chart_zoom");
d3.json("{% url 'stats_json' %}", function(error, stats)
{
initPieChart(pieChart, stats)
initLineChart(lineChart, stats)
initColumnChart(columnChart, stats)
pieChart.render();
lineChart.render();
columnChart.render();
});
</script>
{% endblock %}
{% block footer %}
{% endblock %}
| state-hiu/ittc-server-django | ittc/cache/templates/cache/stats_dashboard.html | HTML | mit | 11,900 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>The Red Matrix: mod/editpost.php File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="rhash-64.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">The Red Matrix
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('editpost_8php.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">editpost.php File Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a34011690864d122680c802e9e748ccfb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="editpost_8php.html#a34011690864d122680c802e9e748ccfb">editpost_content</a> (&$a)</td></tr>
<tr class="separator:a34011690864d122680c802e9e748ccfb"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a34011690864d122680c802e9e748ccfb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">editpost_content </td>
<td>(</td>
<td class="paramtype">& </td>
<td class="paramname"><em>$a</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
| waitman/red | doc/html/editpost_8php.html | HTML | mit | 6,316 |
{% extends '../base.html' %}
{% block title %}
<title>
Agregar Número
</title>
{% endblock %}
{% block content %}
<h2>Agregar número telefónico</h2>
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Agregar</button>
</form>
<a href="{% url "home:new_message" %}" class="link">Enviar mensaje</a> |
<a href="{% url "home:number_list" %}" class="link">Números actuales</a>
{% endblock content %}
| rafaelmv/smsuela | home/templates/home/new_number.html | HTML | mit | 489 |
<ul class="breadcrumb">
<li><a href="#">Front End Template</a></li>
<li class="active">Home</li>
</ul> | Ali-Baba-Tajine/Ali-Baba-Tajine-Jekyll01 | _includes/abtbreadcrumb.html | HTML | mit | 105 |
<!DOCTYPE html>
<html>
<head>
<title>Doge Social Network</title>
</head>
<body style="background-color: skyblue">
<p style="font-size:30px; font-weight:bold">Doge Social Network</p>
<ul type="disc">
<li><a href="home.html"> Home</a></li>
<li><a href="profile.html">Profile</a></li>
<li><a href="friends.html">Friends</a></li>
</ul>
<hr />
<h2>Friends of Doge</h2>
<hr />
<em>
Such Friend<br />
best friend<br />
Many Friends<br />
unknown<br />
Wow<br />
yeah, right
</em>
</body>
</html> | fr0wsTyl/TelerikAcademy-2015 | Telerik - HTML/Homework evaluation/01. 1/Problem 3/friends.html | HTML | mit | 596 |
<section data-ng-controller="CategoriesController">
<div class="container">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon" id="basic-addon1">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
</span>
<input type="text" id="firstName" name="firstName" class="form-control" placeholder="Enter Zip Code ...">
</div>
</div>
</div>
<div class="col-md-4"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-3">
<span class="glyphicon glyphicon-education alert-info" aria-hidden="true"></span>
<span>School Ressources</span>
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span>
</div>
<div class="col-md-3"></div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-3">
<span class="glyphicon glyphicon-header alert-danger" aria-hidden="true"></span>
<span>Health Ressources</span>
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span>
</div>
<div class="col-md-3"></div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-3">
<span class="glyphicon glyphicon-flash alert-success" aria-hidden="true"></span>
<span>Emergency Ressources</span>
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span>
</div>
<div class="col-md-3"></div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-3">
<span class="glyphicon glyphicon-home alert-warning" aria-hidden="true"></span>
<span>Home and Shelter Ressources</span>
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span>
</div>
<div class="col-md-3"></div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-3">
<span class="glyphicon glyphicon-cutlery alert-info" aria-hidden="true"></span>
<span>Food Ressources</span>
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span>
</div>
<div class="col-md-3"></div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-3">
<span class="glyphicon glyphicon-flag alert-danger" aria-hidden="true"></span>
<span>Other Ressources</span>
<span class="glyphicon glyphicon-triangle-right" aria-hidden="true"></span>
</div>
<div class="col-md-3"></div>
<div class="col-md-3"></div>
</div>
</div>
</section> | Highgalaxy3r1/metroApp | public/modules/categories/views/categories.client.view.html | HTML | mit | 2,771 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.