code
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
{{<govuk_template}} {{$head}} {{>includes/elements_head}} <script type="text/javascript" src="/public/javascripts/jquery-1.11.0.min.js"></script> <script type="text/javascript" src="/public/javascripts/application.js"></script> <script type="text/javascript" src="/public/javascripts/selection-buttons.js"></script> {{/head}} {{$content}} <link href="/public/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" /> <main id="content" role="main"> <div> <a class="back-to-previous" href="evl-11">Back <span class="visuallyhidden"> to the previous question</span></a> </div> <br clear="all"> <form action="evl-3-flow" method="get" class="form"> <input type="hidden" name="nextlink" value="evl-vehicle-details"> <input type="hidden" name="nextbacklink" value="evl-3-v5c2"> <h1 class="form-title heading-large" style="margin:0 0 1em 0;padding:0"> Taxing a vehicle as a new keeper </h1> <h2 class="heading-medium" style="font-weight:normal;padding:0;margin:1em 0 1em 0">Using a V5C/2 new keeper supplement (green slip)</h2> <img src="/public/images/v5c2-diagram.png" width="280" height="162" align="middle" style="padding:0 0 1em 0"> <div class="form-group form-group-compound"> <div class="grid-row"> <div class="column-two-thirds"> <div class="help-notice" style="font-weight:700;padding-left:3em;margin-bottom:1em;width:93%;padding-top:0.2em">Do not use this number if you have received a V11 reminder letter, or if you have a V5C in your name. It is intended for new keepers only.</div> <label class="form-label" for="nationality-other-v11" style="font-size:120%;padding-top:0.75em"> 12 digit reference number</label> <input class="form-control" type="text" id="ref-v5c2" style="border:#ccc solid 2px;font-size:120%;width:280px;border-radius:4px;line-height:1.6;margin-bottom:1em" size="16"> <label class="form-label" for="vehicle-reg" style="font-size:120%;padding-top:0.75em"> Vehicle registration</label> <input class="form-control" type="text" id="regmark" name="regmark" style="border:#ccc solid 2px;font-size:120%;width:280px;border-radius:4px;line-height:1.6;text-transform:uppercase" size="8"> <p>You should have received your V5C/2 new keeper supplement (green slip) when you acquired the vehicle.</p> </div> </div> </div> </fieldset> <!-- Primary buttons, secondary links --> <div class="form-group" style="padding-top:0.2em"> <input type="submit" class="button" value="Continue"> </div> </form> </main><!-- / #page-container --> {{/content}} {{$bodyEnd}} {{>includes/elements_scripts}} {{/bodyEnd}} {{/govuk_template}}
paulpod/wedding
app/views/examples/evl/evl-11-v5c2 old.html
HTML
mit
2,737
<!DOCTYPE html> <html> <head> <meta http-equiv='content-type' content='text/html; charset=utf-8' /> <meta http-equiv='refresh' content='0;url={{site.baseurl}}{{page.redirect}}' /> </head> </html>
jackhummah/bootles
vendor/mapbox/mapbox.js-2.4.0/docs/_layouts/redirect.html
HTML
mit
200
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../../../libc/constant.ERA_D_T_FMT.html"> </head> <body> <p>Redirecting to <a href="../../../../libc/constant.ERA_D_T_FMT.html">../../../../libc/constant.ERA_D_T_FMT.html</a>...</p> <script>location.replace("../../../../libc/constant.ERA_D_T_FMT.html" + location.search + location.hash);</script> </body> </html>
IllinoisRoboticsInSpace/Arduino_Control
rust-serial/target/doc/libc/unix/bsd/apple/constant.ERA_D_T_FMT.html
HTML
mit
409
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.7.0 Domain Admin API Reference </span> <p></p> <h1>updateFirewallRule</h1> <p>Updates firewall rule </p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../TOC_Domain_Admin.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;"><strong>the ID of the firewall rule</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><i>customid</i></td><td style="width:500px;"><i>an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>fordisplay</i></td><td style="width:500px;"><i>an optional field, whether to the display the rule to the end user or not</i></td><td style="width:180px;"><i>false</i></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;">the ID of the firewall rule</td> </tr> <tr> <td style="width:200px;"><strong>cidrlist</strong></td><td style="width:500px;">the cidr list to forward traffic from</td> </tr> <tr> <td style="width:200px;"><strong>endport</strong></td><td style="width:500px;">the ending port of firewall rule's port range</td> </tr> <tr> <td style="width:200px;"><strong>fordisplay</strong></td><td style="width:500px;">is rule for display to the regular user</td> </tr> <tr> <td style="width:200px;"><strong>icmpcode</strong></td><td style="width:500px;">error code for this icmp message</td> </tr> <tr> <td style="width:200px;"><strong>icmptype</strong></td><td style="width:500px;">type of the icmp message being sent</td> </tr> <tr> <td style="width:200px;"><strong>ipaddress</strong></td><td style="width:500px;">the public ip address for the firewall rule</td> </tr> <tr> <td style="width:200px;"><strong>ipaddressid</strong></td><td style="width:500px;">the public ip address id for the firewall rule</td> </tr> <tr> <td style="width:200px;"><strong>networkid</strong></td><td style="width:500px;">the network id of the firewall rule</td> </tr> <tr> <td style="width:200px;"><strong>protocol</strong></td><td style="width:500px;">the protocol of the firewall rule</td> </tr> <tr> <td style="width:200px;"><strong>startport</strong></td><td style="width:500px;">the starting port of firewall rule's port range</td> </tr> <tr> <td style="width:200px;"><strong>state</strong></td><td style="width:500px;">the state of the rule</td> </tr> <tr> <td style="width:200px;"><strong>tags(*)</strong></td><td style="width:500px;">the list of resource tags associated with the rule</td> <tr> <td style="width:180px; padding-left:25px;"><strong>account</strong></td><td style="width:500px;">the account associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>customer</strong></td><td style="width:500px;">customer associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>domain</strong></td><td style="width:500px;">the domain associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>domainid</strong></td><td style="width:500px;">the ID of the domain associated with the tag</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>key</strong></td><td style="width:500px;">tag key name</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>project</strong></td><td style="width:500px;">the project name where tag belongs to</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>projectid</strong></td><td style="width:500px;">the project id the tag belongs to</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>resourceid</strong></td><td style="width:500px;">id of the resource</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>resourcetype</strong></td><td style="width:500px;">resource type</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>value</strong></td><td style="width:500px;">tag value</td> </tr> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="footer_mainmaster"> <p>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
terbolous/cloudstack-www
source/api/apidocs-4.7/domain_admin/updateFirewallRule.html
HTML
apache-2.0
5,977
<html> <body> <font face="verdana" size="-1"> This inspection reports any instances of division by zero or remainder by zero in Groovy code. </font><br><small>Powered by InspectorGroovy</small></body> </html>
lshain-android-source/tools-idea
plugins/groovy/resources/inspectionDescriptions/GroovyDivideByZero.html
HTML
apache-2.0
209
<!-- @BLINK-ALLOW:id* --> <!DOCTYPE html> <html> <body> <pre id="pre">This test is to check pre formatting.</pre> <div id="div-pre" style="white-space:pre">This test is to check pre formatting</div> <div id="div-pre-wrap" style="white-space:pre-wrap">This test is to check pre formatting.</div> <div id="div-normal">This test is to check pre formatting.</div> </body> </html>
scheib/chromium
content/test/data/accessibility/html/pre.html
HTML
bsd-3-clause
387
<!DOCTYPE html> <html> <body> <div id="live" aria-live="polite">Text before</div> <script> function go() { document.getElementById('live').innerHTML = 'Text after'; } </script> </body> </html>
nwjs/chromium.src
content/test/data/accessibility/event/live-region-change-innerhtml.html
HTML
bsd-3-clause
201
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>reveal.js - The HTML Presentation Framework</title> <meta name="description" content="A framework for easily creating beautiful presentations using HTML"> <meta name="author" content="Hakim El Hattab"> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/theme/default.css"> <!-- For syntax highlighting --> <link rel="stylesheet" href="lib/css/zenburn.css"> <script> // If the query includes 'print-pdf' we'll use the PDF print sheet document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' ); </script> <!--[if lt IE 9]> <script src="lib/js/html5shiv.js"></script> <![endif]--> </head> <body> <div class="reveal"> <!-- Used to fade in a background when a specific slide state is reached --> <div class="state-background"></div> <!-- Any section element inside of this container is displayed as a slide --> <div class="slides"> <section> <h1>Reveal.js</h1> <h3>HTML Presentations Made Easy</h3> </section> <section> <h2>Heads Up</h2> <p> reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with support for CSS 3D transforms to see it in its full glory. </p> <p> <i><small>- <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small></i> </p> <aside class="notes"> Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you run the speaker notes server. </aside> </section> <!-- Example of nested vertical slides --> <section> <section> <h2>Vertical Slides</h2> <p> Slides can be nested inside of other slides, try pressing <a href="#/2/1">down</a>. </p> <a href="#/2/1" class="image"> <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow"> </a> </section> <section> <h2>Basement Level 1</h2> <p>Press down or up to navigate.</p> </section> <section> <h2>Basement Level 2</h2> <p>Cornify</p> <a class="test" href="http://cornify.com"> <img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn"> </a> </section> <section> <h2>Basement Level 3</h2> <p>That's it, time to go back up.</p> <a href="#/2" class="image"> <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);"> </a> </section> </section> <section> <h2>Holistic Overview</h2> <p> Press <strong>ESC</strong> to enter the slide overview! </p> </section> <section> <h2>Works in Mobile Safari</h2> <p> Try it out! You can swipe through the slides pinch your way to the overview. </p> </section> <section> <h2>Marvelous Unordered List</h2> <ul> <li>No order here</li> <li>Or here</li> <li>Or here</li> <li>Or here</li> </ul> </section> <section> <h2>Fantastic Ordered List</h2> <ol> <li>One is smaller than...</li> <li>Two is smaller than...</li> <li>Three!</li> </ol> </section> <section data-markdown> ## Markdown support For those of you who like that sort of thing. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown). <pre><code contenteditable style="margin-top: 20px;">&lt;section data-markdown&gt; ## Markdown support For those of you who like that sort of thing. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown). &lt;/section&gt; </code></pre> </section> <section> <h2>Transition Styles</h2> <p> You can select from different transitions, like: </p> <ul> <li><a href="http://lab.hakim.se/reveal-js/?transition=cube">Cube</a></li> <li><a href="http://lab.hakim.se/reveal-js/?transition=page">Page</a></li> <li><a href="http://lab.hakim.se/reveal-js/?transition=concave">Concave</a></li> <li><a href="http://lab.hakim.se/reveal-js/?transition=linear">Linear</a></li> </ul> </section> <section> <section data-state="alert"> <h2>Global State</h2> <p> Set <code>data-state="something"</code> on a slide and <code>"something"</code> will be added as a class to the document element when the slide is open. This lets you apply broader style changes, like switching the background. </p> <a href="#/7/1" class="image"> <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow"> </a> </section> <section data-state="blackout"> <h2>"blackout"</h2> <a href="#/7/2" class="image"> <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow"> </a> </section> <section data-state="soothe"> <h2>"soothe"</h2> <a href="#/7/0" class="image"> <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);"> </a> </section> </section> <section data-state="customevent"> <h2>Custom Events</h2> <p> Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name. </p> <pre><code contenteditable style="font-size: 18px; margin-top: 20px;">Reveal.addEventListener( 'customevent', function() { console.log( '"customevent" has fired' ); } ); </code></pre> </section> <section> <h2>Clever Quotes</h2> <p> These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations"> The nice thing about standards is that there are so many to choose from</q> and block: </p> <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations"> For years there has been a theory that millions of monkeys typing at random on millions of typewriters would reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue. </blockquote> </section> <section> <h2>Pretty Code</h2> <pre><code contenteditable> function linkify( selector ) { if( supports3DTransforms ) { var nodes = document.querySelectorAll( selector ); for( var i = 0, len = nodes.length; i &lt; len; i++ ) { var node = nodes[i]; if( !node.className ) ) { node.className += ' roll'; } }; } } </code></pre> <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p> </section> <section> <h2>Intergalactic Interconnections</h2> <p> You can link between slides internally, <a href="#/2/3">like this</a>. </p> </section> <section> <h2>Fragmented Views</h2> <p>Hit the next arrow...</p> <p class="fragment">... to step through ...</p> <ol> <li class="fragment"><code>any type</code></li> <li class="fragment"><em>of view</em></li> <li class="fragment"><strong>fragments</strong></li> </ol> </section> <section> <h2>Spectacular image!</h2> <a class="image" href="http://hakim.se/experiments/html5/breakdom/" target="_blank"> <img width="320" height="412" src="https://s3.amazonaws.com/hakim-static/reveal-js/breakdom.png" alt="BreakDOM game screenshot"> </a> </section> <section> <h2>Export to PDF</h2> <p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, below is an example that's been uploaded to SlideShare.</p> <iframe id="slideshare" src="http://www.slideshare.net/slideshow/embed_code/13872948" width="455" height="356" style="margin:0;overflow:hidden;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen> </iframe> <script> document.getElementById('slideshare').attributeName = 'allowfullscreen'; </script> </section> <section> <h2>Stellar Links</h2> <ul> <li><a href="https://github.com/hakimel/reveal.js">Source code on github</a></li> <li><a href="http://hakim.se/projects/reveal-js">Read more on my site</a></li> <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li> </ul> </section> <section> <h1>THE END</h1> <h3>BY Hakim El Hattab / hakim.se</h3> </section> </div> <!-- The navigational controls UI --> <aside class="controls"> <a class="left" href="#">&#x25C4;</a> <a class="right" href="#">&#x25BA;</a> <a class="up" href="#">&#x25B2;</a> <a class="down" href="#">&#x25BC;</a> </aside> <!-- Presentation progress bar --> <div class="progress"><span></span></div> </div> <script src="lib/js/head.min.js"></script> <script src="js/reveal.min.js"></script> <script> // Full list of configuration options available here: // https://github.com/hakimel/reveal.js#configuration Reveal.initialize({ controls: true, progress: true, history: true, transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/linear(2d) // Optional libraries used to extend on reveal.js dependencies: [ { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } }, { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }, { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, ] }); </script> </body> </html>
gjmurakami-10gen/talk-mother-lode
reveal-example.html
HTML
mit
10,977
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>waitable_timer_service::expires_from_now (2 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../expires_from_now.html" title="waitable_timer_service::expires_from_now"> <link rel="prev" href="overload1.html" title="waitable_timer_service::expires_from_now (1 of 2 overloads)"> <link rel="next" href="../get_io_service.html" title="waitable_timer_service::get_io_service"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../expires_from_now.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../get_io_service.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> <a name="boost_asio.reference.waitable_timer_service.expires_from_now.overload2"></a><a class="link" href="overload2.html" title="waitable_timer_service::expires_from_now (2 of 2 overloads)">waitable_timer_service::expires_from_now (2 of 2 overloads)</a> </h5></div></div></div> <p> Set the expiry time for the timer relative to now. </p> <pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">expires_from_now</span><span class="special">(</span> <span class="identifier">implementation_type</span> <span class="special">&amp;</span> <span class="identifier">impl</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">duration</span> <span class="special">&amp;</span> <span class="identifier">expiry_time</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span> <span class="special">&amp;</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 &#169; 2003-2012 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="overload1.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../expires_from_now.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../boost_asio.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../get_io_service.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
mxrrow/zaicoin
src/deps/boost/doc/html/boost_asio/reference/waitable_timer_service/expires_from_now/overload2.html
HTML
mit
4,125
<!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_22) on Mon Jan 03 13:10:13 GMT 2011 --> <TITLE> X-Index </TITLE> <META NAME="date" CONTENT="2011-01-03"> <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="X-Index"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-22.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-24.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-23.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-23.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">J</A> <A HREF="index-11.html">L</A> <A HREF="index-12.html">M</A> <A HREF="index-13.html">N</A> <A HREF="index-14.html">O</A> <A HREF="index-15.html">P</A> <A HREF="index-16.html">Q</A> <A HREF="index-17.html">R</A> <A HREF="index-18.html">S</A> <A HREF="index-19.html">T</A> <A HREF="index-20.html">U</A> <A HREF="index-21.html">V</A> <A HREF="index-22.html">W</A> <A HREF="index-23.html">X</A> <A HREF="index-24.html">Y</A> <A HREF="index-25.html">Z</A> <HR> <A NAME="_X_"><!-- --></A><H2> <B>X</B></H2> <DL> <DT><A HREF="../toxi/geom/Quaternion.html#x"><B>x</B></A> - Variable in class toxi.geom.<A HREF="../toxi/geom/Quaternion.html" title="class in toxi.geom">Quaternion</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/ReadonlyVec2D.html#x()"><B>x()</B></A> - Method in interface toxi.geom.<A HREF="../toxi/geom/ReadonlyVec2D.html" title="interface in toxi.geom">ReadonlyVec2D</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/ReadonlyVec3D.html#x()"><B>x()</B></A> - Method in interface toxi.geom.<A HREF="../toxi/geom/ReadonlyVec3D.html" title="interface in toxi.geom">ReadonlyVec3D</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/Rect.html#x"><B>x</B></A> - Variable in class toxi.geom.<A HREF="../toxi/geom/Rect.html" title="class in toxi.geom">Rect</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/Vec2D.html#x"><B>x</B></A> - Variable in class toxi.geom.<A HREF="../toxi/geom/Vec2D.html" title="class in toxi.geom">Vec2D</A> <DD>X coordinate <DT><A HREF="../toxi/geom/Vec2D.html#x()"><B>x()</B></A> - Method in class toxi.geom.<A HREF="../toxi/geom/Vec2D.html" title="class in toxi.geom">Vec2D</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/Vec3D.html#x"><B>x</B></A> - Variable in class toxi.geom.<A HREF="../toxi/geom/Vec3D.html" title="class in toxi.geom">Vec3D</A> <DD>X coordinate. <DT><A HREF="../toxi/geom/Vec3D.html#x()"><B>x()</B></A> - Method in class toxi.geom.<A HREF="../toxi/geom/Vec3D.html" title="class in toxi.geom">Vec3D</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/Vec2D.html#X_AXIS"><B>X_AXIS</B></A> - Static variable in class toxi.geom.<A HREF="../toxi/geom/Vec2D.html" title="class in toxi.geom">Vec2D</A> <DD>Defines positive X axis <DT><A HREF="../toxi/geom/Vec3D.html#X_AXIS"><B>X_AXIS</B></A> - Static variable in class toxi.geom.<A HREF="../toxi/geom/Vec3D.html" title="class in toxi.geom">Vec3D</A> <DD>Defines positive X axis. <DT><A HREF="../toxi/geom/XAxisCylinder.html" title="class in toxi.geom"><B>XAxisCylinder</B></A> - Class in <A HREF="../toxi/geom/package-summary.html">toxi.geom</A><DD>&nbsp;<DT><A HREF="../toxi/geom/XAxisCylinder.html#XAxisCylinder(toxi.geom.ReadonlyVec3D, float, float)"><B>XAxisCylinder(ReadonlyVec3D, float, float)</B></A> - Constructor for class toxi.geom.<A HREF="../toxi/geom/XAxisCylinder.html" title="class in toxi.geom">XAxisCylinder</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/Plane.html#XY"><B>XY</B></A> - Static variable in class toxi.geom.<A HREF="../toxi/geom/Plane.html" title="class in toxi.geom">Plane</A> <DD>&nbsp; <DT><A HREF="../toxi/geom/Plane.html#XZ"><B>XZ</B></A> - Static variable in class toxi.geom.<A HREF="../toxi/geom/Plane.html" title="class in toxi.geom">Plane</A> <DD>&nbsp; </DL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-22.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-24.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-23.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-23.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">J</A> <A HREF="index-11.html">L</A> <A HREF="index-12.html">M</A> <A HREF="index-13.html">N</A> <A HREF="index-14.html">O</A> <A HREF="index-15.html">P</A> <A HREF="index-16.html">Q</A> <A HREF="index-17.html">R</A> <A HREF="index-18.html">S</A> <A HREF="index-19.html">T</A> <A HREF="index-20.html">U</A> <A HREF="index-21.html">V</A> <A HREF="index-22.html">W</A> <A HREF="index-23.html">X</A> <A HREF="index-24.html">Y</A> <A HREF="index-25.html">Z</A> <HR> </BODY> </HTML>
aleeds/Underwater_Scene
libraries/toxiclibscore/docs/index-files/index-23.html
HTML
mit
9,353
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script charset="utf-8" src="js/jquery.min.js"></script> <script charset="utf-8" src="js/bootstrap.min.js"></script> <script charset="utf-8" src="js/bootbox.min.js"></script> <script charset="utf-8" src="js/bootstrap-switch.js"></script> <script charset="utf-8" src="js/bootbox.min.js"></script> <script charset="utf-8" src="js/bootstrap-dialog.min.js"></script> <script charset="utf-8" src="js/yloader.js"></script> <link href="css/bootstrap-switch.css" rel="stylesheet"> <link href="css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="css/bootstrap-theme.css" rel="stylesheet" type="text/css"> #(styles) </head> <body> <div class="tnContainer"> #(pageSourceCode) </div> </body> #(scripts) </html>
EDortta/YeAPF
0.8.64/skel/workbench/tp_app_index.html
HTML
mit
946
{% extends "base.html" %} {% block title %}404{% endblock %} {% block yield %} <div class="container"> <div class="row"> <div id="form" class="span6 offset3"> <h1>404</h1> <p>This page does not exist.</p> </div> </div> </div> {% endblock %}
supervacuo/pinry
pinry/templates/404.html
HTML
bsd-2-clause
323
<!DOCTYPE html> <title>Service Worker: Fetch event network error</title> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script src="resources/test-helpers.js"></script> <script> var resolve_test_done; var test_done_promise = new Promise(function(resolve) { resolve_test_done = resolve; }); // Called by the child frame. function notify_test_done(result) { resolve_test_done(result); } promise_test(function(t) { var scope = 'resources/fetch-event-network-error-controllee-iframe.html'; var script = 'resources/fetch-event-network-error-worker.js'; var frame; return service_worker_unregister_and_register(t, script, scope) .then(function(registration) { return wait_for_state(t, registration.installing, 'activated'); }) .then(function() { return with_iframe(scope); }) .then(function(f) { frame = f; return test_done_promise; }) .then(function(result) { frame.remove(); assert_equals(result, 'PASS'); return service_worker_unregister_and_done(t, scope); }); }, 'Rejecting the fetch event or using preventDefault() causes a network ' + 'error'); </script>
danakj/chromium
third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-event-network-error.html
HTML
bsd-3-clause
1,281
<h1>The Canterbury Tales</h1> <h2>Prologue</h2> <h3 class="translation">Middle English</h3> But nathelees, whil I have tyme and space, Er that I ferther in this tale I pace, Me thynketh it acordaunt to resoun To telle yow al the condicioun Of ech of hem, so as it semed me, And whiche they weren, and of what degree, And eek in what array that they were inne; And at a knyght than than wol I first bigynne.
quattromani/Cypress-brookwood-email
node_modules/assemble/test/actual/postprocess.html
HTML
mit
406
$r.render("backLink") <fieldset> <legend>$r.translate("title.mail")</legend> $r.render("mailform") </fieldset>
RLDevOps/Demo
target/classes/org/olat/admin/user/_content/usermanagerMail.html
HTML
apache-2.0
113
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"> <title>Apache CloudStack | The Power Behind Your Cloud</title> </head> <body> <div id="insidetopbg"> <div id="inside_wrapper"> <div class="uppermenu_panel"> <div class="uppermenu_box"></div> </div> <div id="main_master"> <div id="inside_header"> <div class="header_top"> <a class="cloud_logo" href="http://cloudstack.org"></a> <div class="mainemenu_panel"></div> </div> </div> <div id="main_content"> <div class="inside_apileftpanel"> <div class="inside_contentpanel" style="width:930px;"> <div class="api_titlebox"> <div class="api_titlebox_left"> <span> Apache CloudStack v4.9.0 Root Admin API Reference </span> <p></p> <h1>createPod</h1> <p>Creates a new Pod.</p> </div> <div class="api_titlebox_right"> <a class="api_backbutton" href="../index.html"></a> </div> </div> <div class="api_tablepanel"> <h2>Request parameters</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Parameter Name</strong></td><td style="width:500px;">Description</td><td style="width:180px;">Required</td> </tr> <tr> <td style="width:200px;"><strong>gateway</strong></td><td style="width:500px;"><strong>the gateway for the Pod</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><strong>name</strong></td><td style="width:500px;"><strong>the name of the Pod</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><strong>netmask</strong></td><td style="width:500px;"><strong>the netmask for the Pod</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><strong>startip</strong></td><td style="width:500px;"><strong>the starting IP address for the Pod</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><strong>zoneid</strong></td><td style="width:500px;"><strong>the Zone ID in which the Pod will be created</strong></td><td style="width:180px;"><strong>true</strong></td> </tr> <tr> <td style="width:200px;"><i>allocationstate</i></td><td style="width:500px;"><i>Allocation state of this Pod for allocation of new resources</i></td><td style="width:180px;"><i>false</i></td> </tr> <tr> <td style="width:200px;"><i>endip</i></td><td style="width:500px;"><i>the ending IP address for the Pod</i></td><td style="width:180px;"><i>false</i></td> </tr> </table> </div> <div class="api_tablepanel"> <h2>Response Tags</h2> <table class="apitable"> <tr class="hed"> <td style="width:200px;"><strong>Response Name</strong></td><td style="width:500px;">Description</td> </tr> <tr> <td style="width:200px;"><strong>id</strong></td><td style="width:500px;">the ID of the Pod</td> </tr> <tr> <td style="width:200px;"><strong>allocationstate</strong></td><td style="width:500px;">the allocation state of the Pod</td> </tr> <tr> <td style="width:200px;"><strong>endip</strong></td><td style="width:500px;">the ending IP for the Pod</td> </tr> <tr> <td style="width:200px;"><strong>gateway</strong></td><td style="width:500px;">the gateway of the Pod</td> </tr> <tr> <td style="width:200px;"><strong>name</strong></td><td style="width:500px;">the name of the Pod</td> </tr> <tr> <td style="width:200px;"><strong>netmask</strong></td><td style="width:500px;">the netmask of the Pod</td> </tr> <tr> <td style="width:200px;"><strong>startip</strong></td><td style="width:500px;">the starting IP for the Pod</td> </tr> <tr> <td style="width:200px;"><strong>zoneid</strong></td><td style="width:500px;">the Zone ID of the Pod</td> </tr> <tr> <td style="width:200px;"><strong>zonename</strong></td><td style="width:500px;">the Zone name of the Pod</td> </tr> <tr> <td style="width:200px;"><strong>capacity(*)</strong></td><td style="width:500px;">the capacity of the Pod</td> <tr> <td style="width:180px; padding-left:25px;"><strong>capacitytotal</strong></td><td style="width:500px;">the total capacity available</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>capacityused</strong></td><td style="width:500px;">the capacity currently in use</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>clusterid</strong></td><td style="width:500px;">the Cluster ID</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>clustername</strong></td><td style="width:500px;">the Cluster name</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>percentused</strong></td><td style="width:500px;">the percentage of capacity currently in use</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>podid</strong></td><td style="width:500px;">the Pod ID</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>podname</strong></td><td style="width:500px;">the Pod name</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>type</strong></td><td style="width:500px;">the capacity type</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>zoneid</strong></td><td style="width:500px;">the Zone ID</td> </tr> <tr> <td style="width:180px; padding-left:25px;"><strong>zonename</strong></td><td style="width:500px;">the Zone name</td> </tr> </tr> </table> </div> </div> </div> </div> </div> <div id="footer"> <div id="comments_thread"> <script type="text/javascript" src="https://comments.apache.org/show_comments.lua?site=test" async="true"></script> <noscript> <iframe width="930" height="500" src="https://comments.apache.org/iframe.lua?site=test&amp;page=4.2.0/rootadmin"></iframe> </noscript> </div> <div id="footer_mainmaster"> <p>Copyright &copy; 2015 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0.</a> <br> Apache, CloudStack, Apache CloudStack, the Apache CloudStack logo, the CloudMonkey logo and the Apache feather logo are trademarks of The Apache Software Foundation.</p> </div> </div> </div> </div> </body> </html>
pdion891/cloudstack-www
source/api/apidocs-4.9/apis/createPod.html
HTML
apache-2.0
6,327
<header>Versió NFS</header> Aquest camp controla la versió del protocol NFS utilitzada per aquesta exportació. Algunes característiques només estan disponibles per a exportacions NFSv4, però això pot no estar suportat per sistemes clients més antics. <p> <footer>
rcuvgd/Webmin22.01.2016
exports/help/vers.ca.html
HTML
bsd-3-clause
274
<html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->
danpomerantz/buses
node_modules/zombie/node_modules/html5/data/tree-construction/webkit01.dat-27/input.html
HTML
bsd-3-clause
149
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --> <title>OffscreenCanvas test: 2d.drawImage.clip</title> <meta name="timeout" content="long"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/html/canvas/resources/canvas-tests.js"></script> <h1>2d.drawImage.clip</h1> <p class="desc"></p> <script> var t = async_test(""); var t_pass = t.done.bind(t); var t_fail = t.step_func(function(reason) { throw reason; }); t.step(function() { var offscreenCanvas = new OffscreenCanvas(100, 50); var ctx = offscreenCanvas.getContext('2d'); ctx.fillStyle = '#0f0'; ctx.fillRect(0, 0, 100, 50); ctx.rect(-10, -10, 1, 1); ctx.clip(); var promise = new Promise(function(resolve, reject) { var xhr = new XMLHttpRequest(); xhr.open("GET", '/images/red.png'); xhr.responseType = 'blob'; xhr.send(); xhr.onload = function() { resolve(xhr.response); }; }); promise.then(function(response) { createImageBitmap(response).then(bitmap => { ctx.drawImage(bitmap, 0, 0); _assertPixelApprox(offscreenCanvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255", 2); }, t_fail); }).then(t_pass, t_fail); }); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.clip.html
HTML
bsd-3-clause
1,267
<!DOCTYPE html> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/common/utils.js"></script> <meta http-equiv="Content-Security-Policy" content="img-src 'none'"> <body> <script> let message_from = (source_token, starts_with) => { return new Promise(resolve => { window.addEventListener('message', msg => { if (msg.data.token === source_token) { if (!starts_with || msg.data.msg.startsWith(starts_with)) resolve(msg.data.msg); } }); }); }; const img_url = window.origin + "/content-security-policy/support/fail.png"; const img_tag_string = img_token => ` <img src="${img_url}" onload="top.postMessage( {msg: 'img loaded', token: '${img_token}'}, '*');" onerror="top.postMessage( {msg: 'img blocked', token: '${img_token}'}, '*');" > `; const html_test_payload = img_token => ` <!doctype html> <script> function add_image() { let img = document.createElement('img'); img.onload = () => top.postMessage( {msg: 'img loaded', token: '${img_token}'}, '*'); img.onerror = () => top.postMessage( {msg: 'img blocked', token: '${img_token}'}, '*'); img.src = '${img_url}'; document.body.appendChild(img); } </scr`+`ipt> <body onpageshow="add_image();"></body> `; let blob_url = blob_token => URL.createObjectURL( new Blob([html_test_payload(blob_token)], { type: 'text/html' })); let write_img_to_about_blank = async (t, iframe, img_token) => { await t.step_wait( condition = () => { try { return iframe.contentWindow.location.href == "about:blank"; } catch {} return false; }, description = "Wait for the iframe to navigate.", timeout=6000, interval=50); let div = iframe.contentDocument.createElement('div'); div.innerHTML = img_tag_string(img_token); iframe.contentDocument.body.appendChild(div); }; let testCases = [ test_token => ({ token: test_token, url: "about:blank", add_img_function: (t, iframe) => write_img_to_about_blank(t, iframe, test_token), other_origin: window.origin, name: '"about:blank" document is navigated back from history same-origin.', }), test_token => ({ token: test_token, url: "about:blank", add_img_function: (t, iframe) => write_img_to_about_blank(t, iframe, test_token), other_origin: "http://{{hosts[alt][]}}:{{ports[http][0]}}", name: '"about:blank" document is navigated back from history cross-origin.', }), test_token => ({ token: test_token, url: blob_url(test_token), other_origin: window.origin, name: 'blob URL document is navigated back from history same-origin.', }), test_token => ({ token: test_token, url: blob_url(test_token), other_origin: "http://{{hosts[alt][]}}:{{ports[http][0]}}", name: 'blob URL document is navigated back from history cross-origin.', }), test_token => ({ token: test_token, url: `data:text/html,${html_test_payload(test_token)}`, other_origin: window.origin, name: 'data URL document is navigated back from history same-origin.', }), test_token => ({ token: test_token, url: `data:text/html,${html_test_payload(test_token)}`, other_origin: "http://{{hosts[alt][]}}:{{ports[http][0]}}", name: 'data URL document is navigated back from history cross-origin.', }), test_token => ({ token: test_token, srcdoc: `${html_test_payload(test_token)}`, other_origin: window.origin, name: 'srcdoc iframe is navigated back from history same-origin.', }), test_token => ({ token: test_token, srcdoc: `${html_test_payload(test_token)}`, other_origin: "http://{{hosts[alt][]}}:{{ports[http][0]}}", name: 'srcdoc iframe is navigated back from history cross-origin.', }), ].map(f => f(token())); testCases.forEach(testCase => { promise_test(async t => { // Create an iframe. let iframe = document.createElement('iframe'); document.body.appendChild(iframe); // Perform a real navigation in the iframe. This is needed because the // initial empty document is not stored in history (so there is no way of // navigating back to it and test history inheritance). const token_1 = token(); let loaded_1 = message_from(token_1); iframe.contentWindow.location = testCase.other_origin + "/content-security-policy/inheritance/support" + `/postmessage-top.html?token=${token_1}`; assert_equals(await loaded_1, "ready", "Could not navigate iframe."); // Navigate to the local scheme document. let message = message_from(testCase.token); if (testCase.url) iframe.contentWindow.location = testCase.url; else iframe.srcdoc = testCase.srcdoc; // If the local scheme document is "about:blank", we need to write its // content now. if (testCase.add_img_function) { testCase.add_img_function(t, iframe); } // Check that the local scheme document inherits CSP from the initiator. assert_equals(await message, "img blocked", "Image should be blocked by CSP inherited from navigation initiator."); // Navigate to another page, which will navigate back. const token_2 = token(); let loaded_2 = message_from(token_2, "ready"); let message_2 = message_from(testCase.token, "img"); iframe.contentWindow.location = testCase.other_origin + "/content-security-policy/inheritance/support" + `/message-top-and-navigate-back.html?token=${token_2}`; assert_equals(await loaded_2, "ready", "Could not navigate iframe."); // If the local scheme document is "about:blank", we need to write its // content again. if (testCase.add_img_function) { testCase.add_img_function(t, iframe); } // Check that the local scheme document reloaded from history still has // the original CSPs. assert_equals(await message_2, "img blocked", "Image should be blocked by CSP reloaded from history."); }, "History navigation in iframe: " + testCase.name); }); </script> </body>
chromium/chromium
third_party/blink/web_tests/external/wpt/content-security-policy/inheritance/history-iframe.sub.html
HTML
bsd-3-clause
6,507
--- layout: country title: Slovakia --- <h2><i class="icon-calendar icon-large"></i> #codeEU events 2013 in Slovakia</h2> <p>Hack Camp projektu ReŠtart Slovensko. Hack Camp je podujatie v rámci projektu, ktorý je určený pre aktívnych občanov, študentov, mimovládne organizácie, neformálne skupiny, či startupistov, ktorí by radi rozbehli verejnoprospešný projekt v oblasti transparentnosti a efektívnosti spravovania vecí verejných, boja proti korupcii, podpory právneho štátu a otvorenosti spoločnosti v rôznych oblastiach. Cieľom projektu je podporiť čo najviac online riešení, ktoré iniciujú spoločenskú zmenu, a to aj formou mentoringu v oblasti programovania a dizajnovania riešenia. Viav info na http://www.cpf.sk/sk/restart-slovensko/</p> <p>Žilinský IKT klaster Z@ict pripravil v dňoch 28.-29.11.2013 bezplatný workshop pre učiteľov stredných škôl, zameraný na implementáciu progresívnych programovacích jazykov do vzdelávacej praxe. Viac info na www.zaict.sk.</p> <h2><i class="icon-user icon-large"></i> Local ambassadors</h2> <ul> <li><a href="https://ec.europa.eu/digital-agenda/node/50715">Maria Prekopova</a></li> </ul> <h2><i class="icon-star icon-large"></i> Partners and sponsors</h2> <p>IKT Klaster Z@ict</a></p> <h2><i class="icon-list icon-large"></i> Other coding initiatives</h2> <p>Know any? <a href="mailto:{{site.contact.email}}">Send us an email</a> or add your initiative to this page with a <a href="https://github.com/codeeu/codeeu.github.io">Pull request on GitHub</a>!</p>
joseihf/codeeu.github.io
learn/slovakia/index.html
HTML
mit
1,649
<?xml version="1.0" encoding="utf-8"?> <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="4" MadCap:lastHeight="814" MadCap:lastWidth="1293"> <head> </head> <body> <h1>Enabling Comments on All Wiki Pages</h1> <p>How to enable comments to be added to all pages of the Wiki module. Note: When adding or edit a Wiki page, the editor will still have the option of disabling comments for that page.</p> <ol> <li value="1">Select <img alt="" style="visibility: visible;mso-wrap-style: square;" src="../../../../Resources/Images/Icons/EditContent.gif" /><strong> Wiki Configuration </strong>from the Wiki module actions menu.</li> <li value="2">Expand the <strong>Comment Settings</strong> section.</li> <li value="3">At <b>Allow Page Comments</b>, <MadCap:snippetText src="../../../../../../Resources/Snippets/Check.flsnp" />to allow comments to be added to Wiki pages. This will enable and check the "Enable on Existing" field below.</li> <li>At <b>Enable on Existing</b>, <MadCap:snippetText src="../../../../../../Resources/Snippets/Check.flsnp" />to enable comments to be added to both new and existing Wiki pages.</li> </ol> <p> <img alt="" src="../../../../Resources/Images/Modules/Wiki/Wiki_Conf_CommentsAllPages.png" /> </p> <ol> <li value="5">At <b>Enable Comments by Default</b>, <MadCap:snippetText src="../../../../../../Resources/Snippets/Check.flsnp" />to pre-select the "Enable Page Comments" field when adding a new page.</li> <li><b>Optional.</b> At <b>User Comments</b>, <MadCap:snippetText src="../../../../../../Resources/Snippets/Check.flsnp" />to send a notification message when a comment is added. Notifications will be sent to one or more roles as set in the Notification Settings section. <MadCap:xref href="Configuring Notification Settings.html">See "Configuring Notification Settings"</MadCap:xref></li> <li value="7">Click the <b>Save</b> button.</li> </ol> </body> </html>
raphael-m/Dnn.Platform
Documentation/Building Your Site/Project Modules/Wiki/Configuration/Enabling Comments on All Wiki Pages.html
HTML
mit
2,119
<div> Repository to deploy snapshots artifacts to. <br/> Using the text mode will enable you to also use placeholders for environment variable which will be replaced with your environment value at build time </div>
nilleb/artifactory-plugin
src/main/webapp/help/common/help-deploySnapshots.html
HTML
apache-2.0
230
{% load i18n %} {% if items %} {% if is_searching %} <h2> {% blocktrans count counter=items.paginator.count %} There is one match {% plural %} There are {{ counter }} matches {% endblocktrans %} </h2> {% endif %} {% include "wagtailsnippets/snippets/list.html" with choosing=1 %} {% include "wagtailadmin/shared/pagination_nav.html" with items=items is_ajax=1 %} {% else %} {% if is_searching %} <p>{% blocktrans %}Sorry, no snippets match "<em>{{ query_string }}</em>"{% endblocktrans %}</p> {% else %} {% url 'wagtailsnippets:add' model_opts.app_label model_opts.model_name as wagtailsnippets_create_snippet_url %} <p>{% blocktrans with snippet_type_name=model_opts.verbose_name %}You haven't created any {{ snippet_type_name }} snippets. Why not <a href="{{ wagtailsnippets_create_snippet_url }}" target="_blank">create one now{% endblocktrans %}</p> {% endif %} {% endif %}
chrxr/wagtail
wagtail/wagtailsnippets/templates/wagtailsnippets/chooser/results.html
HTML
bsd-3-clause
997
<div class="doc-content"> <header class="api-profile-header" > <h2 class="md-display-1" >{{currentDoc.name}} API Documentation</h2> </header> <div layout="row" class="api-options-bar with-icon"></div> <div class="api-profile-description"> <p>Factory that constructs <code>$$interimElement.$service</code> services. Used internally in material design for elements that appear on screen temporarily. The service provides a promise-like API for interacting with the temporary elements.</p> <hljs lang="js"> app.service(&#39;$mdToast&#39;, function($$interimElement) { var $mdToast = $$interimElement(toastDefaultOptions); return $mdToast; }); </hljs> </div> <div> <section class="api-section"> <div class="api-param-section"> <h2> Arguments </h2> <div class="api-param-table"> <table class="md-api-table"> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr class="api-params-item"> <td style="white-space: nowrap;"> defaultOptions <span hide show-sm> <code class="api-type label type-hint type-hint-object">object</code></span> </td> <td style="white-space: nowrap;"> <code class="api-type label type-hint type-hint-object">object</code></td> <td class="description"> <p>Options used by default for the <code>show</code> method on the service.</p> </td> </tr> </tbody> </table> </div> </div> <section class="api-section"> </section> <div class="api-param-table"> <table class="md-api-table"> <thead> <tr> <th>Returns</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td> <code class="api-type label type-hint type-hint-object">$$interimElement.$service</code></td> <td class="description"></td> </tr> </tbody> </table> </div> </section> </div> </div>
angular/code.material.angularjs.org
latest/partials/api/material.core.interimElement/service/$$interimElementProvider.html
HTML
mit
2,044
{% extends "admin/change_list.html" %} {% load pages_tags i18n future staticfiles %} {% block extrahead %} {{ block.super }} <link rel="stylesheet" href="{% static "mezzanine/css/admin/page_tree.css" %}"> <style> .delete {width:10px; height:10px; margin:2px 4px 0 10px; display:block; float:right; background:url('{% static settings.MEZZANINE_ADMIN_PREFIX|add:"img/admin/icon_deletelink.gif" %}');} .grappelli-delete {width:11px; height:11px; margin:4px 4px 0 10px; background:url('{% static settings.MEZZANINE_ADMIN_PREFIX|add:"img/icons/icon-inline_item_tools-deletelink.png" %}');} .grappelli-delete:hover {background:url('{% static settings.MEZZANINE_ADMIN_PREFIX|add:"img/icons/icon-inline_item_tools-deletelink-hover.png" %}');} </style> <script>window.__page_ordering_url = '{% url "admin_page_ordering" %}';</script> <script src="{% static "mezzanine/js/jquery-ui-1.9.1.custom.min.js" %}"></script> <script src="{% static "mezzanine/js/admin/jquery.mjs.nestedSortable.js" %}"></script> <script src="{% static "mezzanine/js/admin/page_tree.js" %}"></script> {% endblock %} {% block content %} <div id="content-main"> {% if has_add_permission %} <div id="addlist-primary"> <select class="addlist"> <option value="">{% trans "Add" %} ...</option> {% for model in page_models %} {% set_model_permissions model %} {% if model.perms.add %} <option value="{{ model.add_url }}">{{ model.meta_verbose_name|capfirst }}</option> {% endif %} {% endfor %} </select> </div> {% endif %} {% if cl.result_count == 0 %} <p class="paginator">0 {{ cl.opts.verbose_name_plural }}</p> {% else %} <div id="tree">{% page_menu "pages/menus/admin.html" %}</div> {% endif %} </div> {% endblock %}
tuannat/django-webapp-skeleton
webapp/templates/admin/pages/page/change_list.html
HTML
mit
1,817
<!DOCTYPE html> <html> <head> <title>Double Plugin Call Test</title> <script src="../bootstrap.js"></script> <script> var master = new doh.Deferred(), count = 0; function done() { count += 1; if (count === 2) { master.callback(true); } } doh.register( "doublePluginCall", [ { name: "doublePluginCall", timeout: 5000, runTest: function() { return master; } } ] ); doh.run(); go(['double!foo'], function (foo) { if (foo === 'x') { done(); } }); go(['double!foo'], function (foo) { if (foo === 'x') { done(); } }); </script> </head> <body> <h1>Double Plugin Call Test</h1> <p>Tests that the same value is returned for two calls to a plugin.</p> <p>Check console for messages</p> </body> </html>
dschnare/definejs
web/public/amdjs-tests/tests/plugins/double.html
HTML
mit
997
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Modern Business - Start Bootstrap Template</title> <!-- Bootstrap core CSS --> <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="css/modern-business.css" rel="stylesheet"> </head> <body> <!-- Navigation --> <nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark fixed-top"> <div class="container"> <a class="navbar-brand" href="index.html">Start Bootstrap</a> <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarResponsive"> <ul class="navbar-nav ml-auto"> <li class="nav-item"> <a class="nav-link" href="about.html">About</a> </li> <li class="nav-item"> <a class="nav-link" href="services.html">Services</a> </li> <li class="nav-item"> <a class="nav-link" href="contact.html">Contact</a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownPortfolio" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Portfolio </a> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownPortfolio"> <a class="dropdown-item" href="portfolio-1-col.html">1 Column Portfolio</a> <a class="dropdown-item" href="portfolio-2-col.html">2 Column Portfolio</a> <a class="dropdown-item" href="portfolio-3-col.html">3 Column Portfolio</a> <a class="dropdown-item" href="portfolio-4-col.html">4 Column Portfolio</a> <a class="dropdown-item" href="portfolio-item.html">Single Portfolio Item</a> </div> </li> <li class="nav-item active dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBlog" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Blog </a> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownBlog"> <a class="dropdown-item" href="blog-home-1.html">Blog Home 1</a> <a class="dropdown-item active" href="blog-home-2.html">Blog Home 2</a> <a class="dropdown-item" href="blog-post.html">Blog Post</a> </div> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBlog" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Other Pages </a> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownBlog"> <a class="dropdown-item" href="full-width.html">Full Width Page</a> <a class="dropdown-item" href="sidebar.html">Sidebar Page</a> <a class="dropdown-item" href="faq.html">FAQ</a> <a class="dropdown-item" href="404.html">404</a> <a class="dropdown-item" href="pricing.html">Pricing Table</a> </div> </li> </ul> </div> </div> </nav> <!-- Page Content --> <div class="container"> <!-- Page Heading/Breadcrumbs --> <h1 class="mt-4 mb-3">Blog Home Two <small>Subheading</small> </h1> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="index.html">Home</a> </li> <li class="breadcrumb-item active">Blog Home 2</li> </ol> <!-- Blog Post --> <div class="card mb-4"> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <a href="#"> <img class="img-fluid rounded" src="http://placehold.it/750x300" alt=""> </a> </div> <div class="col-lg-6"> <h2 class="card-title">Post Title</h2> <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis aliquid atque, nulla? Quos cum ex quis soluta, a laboriosam. Dicta expedita corporis animi vero voluptate voluptatibus possimus, veniam magni quis!</p> <a href="#" class="btn btn-primary">Read More &rarr;</a> </div> </div> </div> <div class="card-footer text-muted"> Posted on January 1, 2017 by <a href="#">Start Bootstrap</a> </div> </div> <!-- Blog Post --> <div class="card mb-4"> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <a href="#"> <img class="img-fluid rounded" src="http://placehold.it/750x300" alt=""> </a> </div> <div class="col-lg-6"> <h2 class="card-title">Post Title</h2> <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis aliquid atque, nulla? Quos cum ex quis soluta, a laboriosam. Dicta expedita corporis animi vero voluptate voluptatibus possimus, veniam magni quis!</p> <a href="#" class="btn btn-primary">Read More &rarr;</a> </div> </div> </div> <div class="card-footer text-muted"> Posted on January 1, 2017 by <a href="#">Start Bootstrap</a> </div> </div> <!-- Blog Post --> <div class="card mb-4"> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <a href="#"> <img class="img-fluid rounded" src="http://placehold.it/750x300" alt=""> </a> </div> <div class="col-lg-6"> <h2 class="card-title">Post Title</h2> <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis aliquid atque, nulla? Quos cum ex quis soluta, a laboriosam. Dicta expedita corporis animi vero voluptate voluptatibus possimus, veniam magni quis!</p> <a href="#" class="btn btn-primary">Read More &rarr;</a> </div> </div> </div> <div class="card-footer text-muted"> Posted on January 1, 2017 by <a href="#">Start Bootstrap</a> </div> </div> <!-- Blog Post --> <div class="card mb-4"> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <a href="#"> <img class="img-fluid rounded" src="http://placehold.it/750x300" alt=""> </a> </div> <div class="col-lg-6"> <h2 class="card-title">Post Title</h2> <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis aliquid atque, nulla? Quos cum ex quis soluta, a laboriosam. Dicta expedita corporis animi vero voluptate voluptatibus possimus, veniam magni quis!</p> <a href="#" class="btn btn-primary">Read More &rarr;</a> </div> </div> </div> <div class="card-footer text-muted"> Posted on January 1, 2017 by <a href="#">Start Bootstrap</a> </div> </div> <!-- Pagination --> <ul class="pagination justify-content-center mb-4"> <li class="page-item"> <a class="page-link" href="#">&larr; Older</a> </li> <li class="page-item disabled"> <a class="page-link" href="#">Newer &rarr;</a> </li> </ul> </div> </div> <!-- /.container --> <!-- Footer --> <footer class="py-5 bg-dark"> <div class="container"> <p class="m-0 text-center text-white">Copyright &copy; Your Website 2017</p> </div> <!-- /.container --> </footer> <!-- Bootstrap core JavaScript --> <script src="vendor/jquery/jquery.min.js"></script> <script src="vendor/popper/popper.min.js"></script> <script src="vendor/bootstrap/js/bootstrap.min.js"></script> </body> </html>
java-boy-18/rpgmaker
templates/template/blog-home-2.html
HTML
mit
8,637
<HTML> <BODY BGCOLOR="white"> <PRE> <FONT color="green">001</FONT> /**<a name="line.1"></a> <FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> <FONT color="green">003</FONT> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> <FONT color="green">004</FONT> * distributed with this work for additional information<a name="line.4"></a> <FONT color="green">005</FONT> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> <FONT color="green">006</FONT> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> <FONT color="green">007</FONT> * "License"); you may not use this file except in compliance<a name="line.7"></a> <FONT color="green">008</FONT> * with the License. You may obtain a copy of the License at<a name="line.8"></a> <FONT color="green">009</FONT> *<a name="line.9"></a> <FONT color="green">010</FONT> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> <FONT color="green">011</FONT> *<a name="line.11"></a> <FONT color="green">012</FONT> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a> <FONT color="green">013</FONT> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a> <FONT color="green">014</FONT> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a> <FONT color="green">015</FONT> * See the License for the specific language governing permissions and<a name="line.15"></a> <FONT color="green">016</FONT> * limitations under the License.<a name="line.16"></a> <FONT color="green">017</FONT> */<a name="line.17"></a> <FONT color="green">018</FONT> package org.apache.hadoop.mapreduce.lib.input;<a name="line.18"></a> <FONT color="green">019</FONT> <a name="line.19"></a> <FONT color="green">020</FONT> import java.io.IOException;<a name="line.20"></a> <FONT color="green">021</FONT> <a name="line.21"></a> <FONT color="green">022</FONT> import org.apache.hadoop.classification.InterfaceAudience;<a name="line.22"></a> <FONT color="green">023</FONT> import org.apache.hadoop.classification.InterfaceStability;<a name="line.23"></a> <FONT color="green">024</FONT> import org.apache.hadoop.conf.Configuration;<a name="line.24"></a> <FONT color="green">025</FONT> import org.apache.hadoop.fs.FileSystem;<a name="line.25"></a> <FONT color="green">026</FONT> import org.apache.hadoop.fs.Path;<a name="line.26"></a> <FONT color="green">027</FONT> import org.apache.hadoop.io.BytesWritable;<a name="line.27"></a> <FONT color="green">028</FONT> import org.apache.hadoop.io.DataOutputBuffer;<a name="line.28"></a> <FONT color="green">029</FONT> import org.apache.hadoop.io.SequenceFile;<a name="line.29"></a> <FONT color="green">030</FONT> import org.apache.hadoop.mapreduce.InputSplit;<a name="line.30"></a> <FONT color="green">031</FONT> import org.apache.hadoop.mapreduce.RecordReader;<a name="line.31"></a> <FONT color="green">032</FONT> import org.apache.hadoop.mapreduce.TaskAttemptContext;<a name="line.32"></a> <FONT color="green">033</FONT> <a name="line.33"></a> <FONT color="green">034</FONT> /**<a name="line.34"></a> <FONT color="green">035</FONT> * InputFormat reading keys, values from SequenceFiles in binary (raw)<a name="line.35"></a> <FONT color="green">036</FONT> * format.<a name="line.36"></a> <FONT color="green">037</FONT> */<a name="line.37"></a> <FONT color="green">038</FONT> @InterfaceAudience.Public<a name="line.38"></a> <FONT color="green">039</FONT> @InterfaceStability.Stable<a name="line.39"></a> <FONT color="green">040</FONT> public class SequenceFileAsBinaryInputFormat<a name="line.40"></a> <FONT color="green">041</FONT> extends SequenceFileInputFormat&lt;BytesWritable,BytesWritable&gt; {<a name="line.41"></a> <FONT color="green">042</FONT> <a name="line.42"></a> <FONT color="green">043</FONT> public SequenceFileAsBinaryInputFormat() {<a name="line.43"></a> <FONT color="green">044</FONT> super();<a name="line.44"></a> <FONT color="green">045</FONT> }<a name="line.45"></a> <FONT color="green">046</FONT> <a name="line.46"></a> <FONT color="green">047</FONT> public RecordReader&lt;BytesWritable,BytesWritable&gt; createRecordReader(<a name="line.47"></a> <FONT color="green">048</FONT> InputSplit split, TaskAttemptContext context)<a name="line.48"></a> <FONT color="green">049</FONT> throws IOException {<a name="line.49"></a> <FONT color="green">050</FONT> return new SequenceFileAsBinaryRecordReader();<a name="line.50"></a> <FONT color="green">051</FONT> }<a name="line.51"></a> <FONT color="green">052</FONT> <a name="line.52"></a> <FONT color="green">053</FONT> /**<a name="line.53"></a> <FONT color="green">054</FONT> * Read records from a SequenceFile as binary (raw) bytes.<a name="line.54"></a> <FONT color="green">055</FONT> */<a name="line.55"></a> <FONT color="green">056</FONT> public static class SequenceFileAsBinaryRecordReader<a name="line.56"></a> <FONT color="green">057</FONT> extends RecordReader&lt;BytesWritable,BytesWritable&gt; {<a name="line.57"></a> <FONT color="green">058</FONT> private SequenceFile.Reader in;<a name="line.58"></a> <FONT color="green">059</FONT> private long start;<a name="line.59"></a> <FONT color="green">060</FONT> private long end;<a name="line.60"></a> <FONT color="green">061</FONT> private boolean done = false;<a name="line.61"></a> <FONT color="green">062</FONT> private DataOutputBuffer buffer = new DataOutputBuffer();<a name="line.62"></a> <FONT color="green">063</FONT> private SequenceFile.ValueBytes vbytes;<a name="line.63"></a> <FONT color="green">064</FONT> private BytesWritable key = null;<a name="line.64"></a> <FONT color="green">065</FONT> private BytesWritable value = null;<a name="line.65"></a> <FONT color="green">066</FONT> <a name="line.66"></a> <FONT color="green">067</FONT> public void initialize(InputSplit split, TaskAttemptContext context) <a name="line.67"></a> <FONT color="green">068</FONT> throws IOException, InterruptedException {<a name="line.68"></a> <FONT color="green">069</FONT> Path path = ((FileSplit)split).getPath();<a name="line.69"></a> <FONT color="green">070</FONT> Configuration conf = context.getConfiguration();<a name="line.70"></a> <FONT color="green">071</FONT> FileSystem fs = path.getFileSystem(conf);<a name="line.71"></a> <FONT color="green">072</FONT> this.in = new SequenceFile.Reader(fs, path, conf);<a name="line.72"></a> <FONT color="green">073</FONT> this.end = ((FileSplit)split).getStart() + split.getLength();<a name="line.73"></a> <FONT color="green">074</FONT> if (((FileSplit)split).getStart() &gt; in.getPosition()) {<a name="line.74"></a> <FONT color="green">075</FONT> in.sync(((FileSplit)split).getStart()); // sync to start<a name="line.75"></a> <FONT color="green">076</FONT> }<a name="line.76"></a> <FONT color="green">077</FONT> this.start = in.getPosition();<a name="line.77"></a> <FONT color="green">078</FONT> vbytes = in.createValueBytes();<a name="line.78"></a> <FONT color="green">079</FONT> done = start &gt;= end;<a name="line.79"></a> <FONT color="green">080</FONT> }<a name="line.80"></a> <FONT color="green">081</FONT> <a name="line.81"></a> <FONT color="green">082</FONT> @Override<a name="line.82"></a> <FONT color="green">083</FONT> public BytesWritable getCurrentKey() <a name="line.83"></a> <FONT color="green">084</FONT> throws IOException, InterruptedException {<a name="line.84"></a> <FONT color="green">085</FONT> return key;<a name="line.85"></a> <FONT color="green">086</FONT> }<a name="line.86"></a> <FONT color="green">087</FONT> <a name="line.87"></a> <FONT color="green">088</FONT> @Override<a name="line.88"></a> <FONT color="green">089</FONT> public BytesWritable getCurrentValue() <a name="line.89"></a> <FONT color="green">090</FONT> throws IOException, InterruptedException {<a name="line.90"></a> <FONT color="green">091</FONT> return value;<a name="line.91"></a> <FONT color="green">092</FONT> }<a name="line.92"></a> <FONT color="green">093</FONT> <a name="line.93"></a> <FONT color="green">094</FONT> /**<a name="line.94"></a> <FONT color="green">095</FONT> * Retrieve the name of the key class for this SequenceFile.<a name="line.95"></a> <FONT color="green">096</FONT> * @see org.apache.hadoop.io.SequenceFile.Reader#getKeyClassName<a name="line.96"></a> <FONT color="green">097</FONT> */<a name="line.97"></a> <FONT color="green">098</FONT> public String getKeyClassName() {<a name="line.98"></a> <FONT color="green">099</FONT> return in.getKeyClassName();<a name="line.99"></a> <FONT color="green">100</FONT> }<a name="line.100"></a> <FONT color="green">101</FONT> <a name="line.101"></a> <FONT color="green">102</FONT> /**<a name="line.102"></a> <FONT color="green">103</FONT> * Retrieve the name of the value class for this SequenceFile.<a name="line.103"></a> <FONT color="green">104</FONT> * @see org.apache.hadoop.io.SequenceFile.Reader#getValueClassName<a name="line.104"></a> <FONT color="green">105</FONT> */<a name="line.105"></a> <FONT color="green">106</FONT> public String getValueClassName() {<a name="line.106"></a> <FONT color="green">107</FONT> return in.getValueClassName();<a name="line.107"></a> <FONT color="green">108</FONT> }<a name="line.108"></a> <FONT color="green">109</FONT> <a name="line.109"></a> <FONT color="green">110</FONT> /**<a name="line.110"></a> <FONT color="green">111</FONT> * Read raw bytes from a SequenceFile.<a name="line.111"></a> <FONT color="green">112</FONT> */<a name="line.112"></a> <FONT color="green">113</FONT> public synchronized boolean nextKeyValue()<a name="line.113"></a> <FONT color="green">114</FONT> throws IOException, InterruptedException {<a name="line.114"></a> <FONT color="green">115</FONT> if (done) {<a name="line.115"></a> <FONT color="green">116</FONT> return false;<a name="line.116"></a> <FONT color="green">117</FONT> }<a name="line.117"></a> <FONT color="green">118</FONT> long pos = in.getPosition();<a name="line.118"></a> <FONT color="green">119</FONT> boolean eof = -1 == in.nextRawKey(buffer);<a name="line.119"></a> <FONT color="green">120</FONT> if (!eof) {<a name="line.120"></a> <FONT color="green">121</FONT> if (key == null) {<a name="line.121"></a> <FONT color="green">122</FONT> key = new BytesWritable();<a name="line.122"></a> <FONT color="green">123</FONT> }<a name="line.123"></a> <FONT color="green">124</FONT> if (value == null) {<a name="line.124"></a> <FONT color="green">125</FONT> value = new BytesWritable();<a name="line.125"></a> <FONT color="green">126</FONT> }<a name="line.126"></a> <FONT color="green">127</FONT> key.set(buffer.getData(), 0, buffer.getLength());<a name="line.127"></a> <FONT color="green">128</FONT> buffer.reset();<a name="line.128"></a> <FONT color="green">129</FONT> in.nextRawValue(vbytes);<a name="line.129"></a> <FONT color="green">130</FONT> vbytes.writeUncompressedBytes(buffer);<a name="line.130"></a> <FONT color="green">131</FONT> value.set(buffer.getData(), 0, buffer.getLength());<a name="line.131"></a> <FONT color="green">132</FONT> buffer.reset();<a name="line.132"></a> <FONT color="green">133</FONT> }<a name="line.133"></a> <FONT color="green">134</FONT> return !(done = (eof || (pos &gt;= end &amp;&amp; in.syncSeen())));<a name="line.134"></a> <FONT color="green">135</FONT> }<a name="line.135"></a> <FONT color="green">136</FONT> <a name="line.136"></a> <FONT color="green">137</FONT> public void close() throws IOException {<a name="line.137"></a> <FONT color="green">138</FONT> in.close();<a name="line.138"></a> <FONT color="green">139</FONT> }<a name="line.139"></a> <FONT color="green">140</FONT> <a name="line.140"></a> <FONT color="green">141</FONT> /**<a name="line.141"></a> <FONT color="green">142</FONT> * Return the progress within the input split<a name="line.142"></a> <FONT color="green">143</FONT> * @return 0.0 to 1.0 of the input byte range<a name="line.143"></a> <FONT color="green">144</FONT> */<a name="line.144"></a> <FONT color="green">145</FONT> public float getProgress() throws IOException, InterruptedException {<a name="line.145"></a> <FONT color="green">146</FONT> if (end == start) {<a name="line.146"></a> <FONT color="green">147</FONT> return 0.0f;<a name="line.147"></a> <FONT color="green">148</FONT> } else {<a name="line.148"></a> <FONT color="green">149</FONT> return Math.min(1.0f, (float)((in.getPosition() - start) /<a name="line.149"></a> <FONT color="green">150</FONT> (double)(end - start)));<a name="line.150"></a> <FONT color="green">151</FONT> }<a name="line.151"></a> <FONT color="green">152</FONT> }<a name="line.152"></a> <FONT color="green">153</FONT> }<a name="line.153"></a> <FONT color="green">154</FONT> }<a name="line.154"></a> </PRE> </BODY> </HTML>
SAT-Hadoop/hadoop-2.6.0
share/doc/hadoop/api/src-html/org/apache/hadoop/mapreduce/lib/input/SequenceFileAsBinaryInputFormat.html
HTML
apache-2.0
13,888
<div ng-controller="ExplorationFeedback"> <md-card class="oppia-editor-card"> <div ng-if="!currentThreadId"> <div class="pull-right"> {% if user_email %} <button class="btn btn-success pull-right" ng-click="showCreateThreadModal()" style="margin-top: 10px;"> Start new thread </button> {% endif %} </div> <div style="clear: both;"></div> <br> <div ng-if="threads.length === 0"> <em>No feedback has been given for this exploration yet.</em> </div> <table class="table"> <tr ng-if="threads.length > 0"> <th class="col-lg-1 col-md-1 col-sm-1"> Status </th> <th class="col-lg-6 col-md-6 col-sm-6"> Subject </th> <th class="col-lg-3 col-md-3 col-sm-3"> Original author </th> <th class="col-lg-2 col-md-2 col-sm-2"> Last updated </th> </tr> <tr ng-repeat="t in threads|orderBy:'-last_updated'" ng-click="setCurrentThread(t.thread_id)" class="oppia-feedback-tab-row"> <td class="col-lg-1 col-md-1 col-sm-1"> <span ng-class="getLabelClass(t.status)"><[getHumanReadableStatus(t.status)]></span> </td> <td class="col-lg-6 col-md-6 col-sm-6"> <div><[t.subject]></div> <div><[t.summary]></div> </td> <td class="col-lg-3 col-md-3 col-sm-3"> <span ng-if="t.original_author_username"><[t.original_author_username]></span> </td> <td class="col-lg-2 col-md-2 col-sm-2"> <span><[getLocaleAbbreviatedDatetimeString(t.last_updated)]></span> </td> <td class="col-lg-2 col-md-2 col-sm-2"> </td> </tr> </table> {% if not user_email %} <em>To create a new feedback thread, please log in.</em> {% endif %} </div> <div ng-if="currentThreadId"> <br> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6"> <span class="oppia-back-arrow"> <button type="button" class="btn btn-default btn-xs" ng-click="setCurrentThread(null)"> <span class="glyphicon glyphicon-chevron-left" title="Return to list of feedback threads"> </span> </button> </span> <span style="font-size: larger">Feedback Thread: <[currentThreadData.subject]></span> </div> <div style="float: right;" class="col-lg-2 col-md-2 col-sm-2"> <div class="pull-right"> <span ng-if="currentThreadData.state_name" class="label label-info"> state: <[currentThreadData.state_name]> </span> <span ng-class="getLabelClass(currentThreadData.status)"> <[getHumanReadableStatus(currentThreadData.status)]> </span> </div> </div> </div> <div ng-if="currentThreadMessages"> <div class="row"> <div style="margin-top: 10px;" class="col-lg-12 col-md-12 col-sm-12"> <table class="table"> <tr ng-repeat="m in currentThreadMessages|orderBy:'message_id'"> <td> <div class="row"> <div class="col-lg-5 col-md-5 col-sm-5"> <span ng-if="$index !== 0"> #<[m.message_id]> </span> <span ng-if="m.author_username"> by <strong><[m.author_username]></strong> </span> <span ng-if="!m.author_username"> (anonymously submitted) </span> </div> <div class="col-lg-4 col-md-4 col-sm-4"> <span ng-if="m.message_id !== 0"> <span ng-if="m.updated_status"> <em>Status changed to '<[getHumanReadableStatus(m.updated_status)]>'</em> </span> <span ng-if="m.updated_subject"> <em>Subject changed to '<[m.updated_subject]>'</em> </span> </span> </div> <div class="col-lg-3 col-md-3 col-sm-3"> <span><[getLocaleAbbreviatedDatetimeString(m.created_on)]></span> </div> </div> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12"> <div style="white-space: pre-wrap;"><[m.text]></div> </div> </div> </td> </tr> </table> </div> </div> <hr> {% if user_email %} <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12"> <label for="newMessageText">Add new message <span ng-if="editabilityService.isEditable()">(and/or change status)</span></label> <textarea class="form-control" ng-model="$parent.$parent.newMessageText" id="newMessageText" rows="6"></textarea> <br> <span ng-show="editabilityService.isEditable()"> Change status (optional): <select ng-model="updatedStatus" ng-options="choice.id as choice.text for choice in STATUS_CHOICES"></select> </span> <br> <button style="margin-top: 10px;" class="btn btn-success" ng-click="addMessage(currentThreadId, $parent.$parent.newMessageText, updatedStatus)" ng-disabled="messageSendingInProgress || !$parent.$parent.newMessageText"> <span ng-if="messageSendingInProgress">Sending...</span> <span ng-if="!messageSendingInProgress">Send</span> </button> </div> </div> {% else %} <em>To respond to a feedback thread, please log in.</em> {% endif %} </div> </div> </md-card> </div> <script type="text/ng-template" id="modals/editorFeedbackCreateThread"> <div class="modal-header"> <h3>Start New Feedback Thread</h3> </div> <div class="modal-body"> <p>Thread subject: <input type="text" ng-model="newThreadSubject"></p> <p>Message text <textarea ng-model="newThreadText" rows="6"></textarea></p> </div> <div class="modal-footer"> <button class="btn btn-success" ng-click="create(newThreadSubject, newThreadText)" ng-disabled="!newThreadSubject || !newThreadText">Create Thread</button> <button class="btn btn-default" ng-click="cancel()">Cancel</button> </div> </script>
sarahfo/oppia
core/templates/dev/head/editor/exploration_feedback.html
HTML
apache-2.0
6,713
<!DOCTYPE html> <html lang="en" > <head> <meta charset="utf-8"/> <title>CSS3 Text, linebreaks: 3018 LEFT WHITE TORTOISE SHELL BRACKET</title> <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> <style type='text/css'> @font-face { font-family: 'mplus-1p-regular'; src: url('/fonts/mplus-1p-regular.woff') format('woff'); /* filesize: 803K */ } .test, .ref { font-size: 30px; font-family: mplus-1p-regular, sans-serif; width: 95px; padding: 0; border: 1px solid orange; line-height: 1em; } </style> </head> <body> <p class="instructions">Test passes if the two orange boxes are identical.</p> <div class='ref'>中中<br />&#x3018;文</div> <div class='ref'>中中<br />&#x3018;文</div> </body> </html>
chromium/chromium
third_party/blink/web_tests/external/wpt/css/css-text/i18n/reference/css3-text-line-break-opclns-045-ref.html
HTML
bsd-3-clause
737
<!-- Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) openAUSIAS: The stunning micro-library that helps you to develop easily AJAX web applications by using Java and jQuery openAUSIAS is distributed under the MIT License (MIT) Sources at https://github.com/rafaelaznar/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> <div class="panel-heading" style="font-family:Oswald , serif;" ng-include="'js/system/header.html'"></div> <div class="panel-body"> <div class="row-fluid"> <div class="span6 offset3"> <div ng-show="!result.status"> <table class="table table-striped table-condensed"> <thead> <tr> <th>campo</th> <th>valor</th> </tr> </thead> <tbody> <tr><td>id</td><td>{{bean.id}}</td></tr> <tr><td>titulo</td><td>{{bean.titulo}}</td></tr> <tr><td>contenido</td><td>{{bean.contenido| clipString}}</td></tr> <tr><td>alta</td><td>{{bean.alta}}</td></tr> <tr><td>cambio</td><td>{{bean.cambio}}</td></tr> <tr><td>hits</td><td>{{bean.hits}}</td></tr> <tr><td>etiquetas</td><td>{{bean.etiquetas}}</td></tr> <tr> <td>usuario</td> <td> <a href="#/usuario/view/{{bean.obj_usuario.id}}">{{bean.obj_usuario.login}}</a> </td> </tr> <tr> <td>tipo de documento</td> <td> <a href="#/tipodocumento/view/{{bean.obj_tipodocumento.id}}">{{bean.obj_tipodocumento.descripcion}}</a> </td> </tr> <tr><td>publicado</td><td>{{bean.publicado}}</td></tr> <tr><td>portada</td><td>{{bean.portada}}</td></tr> <tr><td>destacado</td><td>{{bean.destacado}}</td></tr> </tbody> </table> <div class="text-right" > <div>¿Está seguro de que desea borrar el registro?</div> <a class="btn btn-danger" ng-click="remove()">Si</a> <a class="btn btn-default" ng-click="back()">No</a> </div> </div> <div ng-show="result.status == 200"> <br> <h2 ng-show="result.message == 0" class="alert alert-success">No se ha podido eliminar el registro</h2> <h2 ng-show="result.message == 1" class="alert alert-success">Se ha eliminado el registro</h2> <a class="btn btn-default" ng-click="back()">Volver</a> </div> <div ng-show="result.status && !result.status == 200"> <br> <h2>Error al eliminar el registro</h2> </div> </div> </div> </div> <div class="panel-footer" style="font-family: Questrial, serif;" ng-include="'js/system/footer.html'"></div>
edups/openAusias-tedu
src/main/webapp/js/documento/remove.html
HTML
mit
4,346
<div> <h1 translate>Configuration Help</h1> <p translate>Custom scripts are attached to instances to perform specific actions when the instance is launched. For example, if you are unable to install <samp>cloud-init</samp> inside a guest operating system, you can use a custom script to get a public key and add it to the user account.</p> <p translate>Type your script directly into the Customization Script field. If your browser supports the HTML5 File API, you may choose to load your script from a file. The size of your script should not exceed 16 Kb.</p> <p translate>An advanced option available when launching an instance is disk partitioning. There are two disk partition options. Selecting <b>Automatic</b> resizes the disk and sets it to a single partition. Selecting <b>Manual</b> allows you to create multiple partitions on the disk.</p> <p translate>Check the <b>Configuration Drive</b> box if you want to write metadata to a special configuration drive. When the instance boots, it attaches to the <b>Configuration Drive</b> and accesses the metadata.</p> </div>
anthonydillon/horizon
openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/configuration/configuration.help.html
HTML
apache-2.0
1,089
<!-- /* ** Copyright (c) 2012 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the ** "Materials"), to deal in the Materials without restriction, including ** without limitation the rights to use, copy, modify, merge, publish, ** distribute, sublicense, and/or sell copies of the Materials, and to ** permit persons to whom the Materials are furnished to do so, subject to ** the following conditions: ** ** The above copyright notice and this permission notice shall be included ** in all copies or substantial portions of the Materials. ** ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. */ --> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>WebGL Constants and Properties Test</title> <link rel="stylesheet" href="../../resources/js-test-style.css"/> <script src="../../resources/js-test-pre.js"></script> <script src="../resources/webgl-test-utils.js"></script> </head> <body> <div id="description"></div> <div id="console"></div> <canvas id="canvas" style="width: 50px; height: 50px;"> </canvas> <script> "use strict"; description("This test ensures that the WebGL context has all the constants and (non-function) properties in the specification."); var constants = { /* ClearBufferMask */ DEPTH_BUFFER_BIT : 0x00000100, STENCIL_BUFFER_BIT : 0x00000400, COLOR_BUFFER_BIT : 0x00004000, /* BeginMode */ POINTS : 0x0000, LINES : 0x0001, LINE_LOOP : 0x0002, LINE_STRIP : 0x0003, TRIANGLES : 0x0004, TRIANGLE_STRIP : 0x0005, TRIANGLE_FAN : 0x0006, /* AlphaFunction (not supported in ES20) */ /* NEVER */ /* LESS */ /* EQUAL */ /* LEQUAL */ /* GREATER */ /* NOTEQUAL */ /* GEQUAL */ /* ALWAYS */ /* BlendingFactorDest */ ZERO : 0, ONE : 1, SRC_COLOR : 0x0300, ONE_MINUS_SRC_COLOR : 0x0301, SRC_ALPHA : 0x0302, ONE_MINUS_SRC_ALPHA : 0x0303, DST_ALPHA : 0x0304, ONE_MINUS_DST_ALPHA : 0x0305, /* BlendingFactorSrc */ /* ZERO */ /* ONE */ DST_COLOR : 0x0306, ONE_MINUS_DST_COLOR : 0x0307, SRC_ALPHA_SATURATE : 0x0308, /* SRC_ALPHA */ /* ONE_MINUS_SRC_ALPHA */ /* DST_ALPHA */ /* ONE_MINUS_DST_ALPHA */ /* BlendEquationSeparate */ FUNC_ADD : 0x8006, BLEND_EQUATION : 0x8009, BLEND_EQUATION_RGB : 0x8009, /* same as BLEND_EQUATION */ BLEND_EQUATION_ALPHA : 0x883D, /* BlendSubtract */ FUNC_SUBTRACT : 0x800A, FUNC_REVERSE_SUBTRACT : 0x800B, /* Separate Blend Functions */ BLEND_DST_RGB : 0x80C8, BLEND_SRC_RGB : 0x80C9, BLEND_DST_ALPHA : 0x80CA, BLEND_SRC_ALPHA : 0x80CB, CONSTANT_COLOR : 0x8001, ONE_MINUS_CONSTANT_COLOR : 0x8002, CONSTANT_ALPHA : 0x8003, ONE_MINUS_CONSTANT_ALPHA : 0x8004, BLEND_COLOR : 0x8005, /* Buffer Objects */ ARRAY_BUFFER : 0x8892, ELEMENT_ARRAY_BUFFER : 0x8893, ARRAY_BUFFER_BINDING : 0x8894, ELEMENT_ARRAY_BUFFER_BINDING : 0x8895, STREAM_DRAW : 0x88E0, STATIC_DRAW : 0x88E4, DYNAMIC_DRAW : 0x88E8, BUFFER_SIZE : 0x8764, BUFFER_USAGE : 0x8765, CURRENT_VERTEX_ATTRIB : 0x8626, /* CullFaceMode */ FRONT : 0x0404, BACK : 0x0405, FRONT_AND_BACK : 0x0408, /* DepthFunction */ /* NEVER */ /* LESS */ /* EQUAL */ /* LEQUAL */ /* GREATER */ /* NOTEQUAL */ /* GEQUAL */ /* ALWAYS */ /* EnableCap */ /* TEXTURE_2D */ CULL_FACE : 0x0B44, BLEND : 0x0BE2, DITHER : 0x0BD0, STENCIL_TEST : 0x0B90, DEPTH_TEST : 0x0B71, SCISSOR_TEST : 0x0C11, POLYGON_OFFSET_FILL : 0x8037, SAMPLE_ALPHA_TO_COVERAGE : 0x809E, SAMPLE_COVERAGE : 0x80A0, /* ErrorCode */ NO_ERROR : 0, INVALID_ENUM : 0x0500, INVALID_VALUE : 0x0501, INVALID_OPERATION : 0x0502, OUT_OF_MEMORY : 0x0505, /* FrontFaceDirection */ CW : 0x0900, CCW : 0x0901, /* GetPName */ LINE_WIDTH : 0x0B21, ALIASED_POINT_SIZE_RANGE : 0x846D, ALIASED_LINE_WIDTH_RANGE : 0x846E, CULL_FACE_MODE : 0x0B45, FRONT_FACE : 0x0B46, DEPTH_RANGE : 0x0B70, DEPTH_WRITEMASK : 0x0B72, DEPTH_CLEAR_VALUE : 0x0B73, DEPTH_FUNC : 0x0B74, STENCIL_CLEAR_VALUE : 0x0B91, STENCIL_FUNC : 0x0B92, STENCIL_FAIL : 0x0B94, STENCIL_PASS_DEPTH_FAIL : 0x0B95, STENCIL_PASS_DEPTH_PASS : 0x0B96, STENCIL_REF : 0x0B97, STENCIL_VALUE_MASK : 0x0B93, STENCIL_WRITEMASK : 0x0B98, STENCIL_BACK_FUNC : 0x8800, STENCIL_BACK_FAIL : 0x8801, STENCIL_BACK_PASS_DEPTH_FAIL : 0x8802, STENCIL_BACK_PASS_DEPTH_PASS : 0x8803, STENCIL_BACK_REF : 0x8CA3, STENCIL_BACK_VALUE_MASK : 0x8CA4, STENCIL_BACK_WRITEMASK : 0x8CA5, VIEWPORT : 0x0BA2, SCISSOR_BOX : 0x0C10, /* SCISSOR_TEST */ COLOR_CLEAR_VALUE : 0x0C22, COLOR_WRITEMASK : 0x0C23, UNPACK_ALIGNMENT : 0x0CF5, PACK_ALIGNMENT : 0x0D05, MAX_TEXTURE_SIZE : 0x0D33, MAX_VIEWPORT_DIMS : 0x0D3A, SUBPIXEL_BITS : 0x0D50, RED_BITS : 0x0D52, GREEN_BITS : 0x0D53, BLUE_BITS : 0x0D54, ALPHA_BITS : 0x0D55, DEPTH_BITS : 0x0D56, STENCIL_BITS : 0x0D57, POLYGON_OFFSET_UNITS : 0x2A00, /* POLYGON_OFFSET_FILL */ POLYGON_OFFSET_FACTOR : 0x8038, TEXTURE_BINDING_2D : 0x8069, SAMPLE_BUFFERS : 0x80A8, SAMPLES : 0x80A9, SAMPLE_COVERAGE_VALUE : 0x80AA, SAMPLE_COVERAGE_INVERT : 0x80AB, /* GetTextureParameter */ /* TEXTURE_MAG_FILTER */ /* TEXTURE_MIN_FILTER */ /* TEXTURE_WRAP_S */ /* TEXTURE_WRAP_T */ COMPRESSED_TEXTURE_FORMATS : 0x86A3, /* HintMode */ DONT_CARE : 0x1100, FASTEST : 0x1101, NICEST : 0x1102, /* HintTarget */ GENERATE_MIPMAP_HINT : 0x8192, /* DataType */ BYTE : 0x1400, UNSIGNED_BYTE : 0x1401, SHORT : 0x1402, UNSIGNED_SHORT : 0x1403, INT : 0x1404, UNSIGNED_INT : 0x1405, FLOAT : 0x1406, /* PixelFormat */ DEPTH_COMPONENT : 0x1902, ALPHA : 0x1906, RGB : 0x1907, RGBA : 0x1908, LUMINANCE : 0x1909, LUMINANCE_ALPHA : 0x190A, /* PixelType */ /* UNSIGNED_BYTE */ UNSIGNED_SHORT_4_4_4_4 : 0x8033, UNSIGNED_SHORT_5_5_5_1 : 0x8034, UNSIGNED_SHORT_5_6_5 : 0x8363, /* Shaders */ FRAGMENT_SHADER : 0x8B30, VERTEX_SHADER : 0x8B31, MAX_VERTEX_ATTRIBS : 0x8869, MAX_VERTEX_UNIFORM_VECTORS : 0x8DFB, MAX_VARYING_VECTORS : 0x8DFC, MAX_COMBINED_TEXTURE_IMAGE_UNITS : 0x8B4D, MAX_VERTEX_TEXTURE_IMAGE_UNITS : 0x8B4C, MAX_TEXTURE_IMAGE_UNITS : 0x8872, MAX_FRAGMENT_UNIFORM_VECTORS : 0x8DFD, SHADER_TYPE : 0x8B4F, DELETE_STATUS : 0x8B80, LINK_STATUS : 0x8B82, VALIDATE_STATUS : 0x8B83, ATTACHED_SHADERS : 0x8B85, ACTIVE_UNIFORMS : 0x8B86, ACTIVE_ATTRIBUTES : 0x8B89, SHADING_LANGUAGE_VERSION : 0x8B8C, CURRENT_PROGRAM : 0x8B8D, /* StencilFunction */ NEVER : 0x0200, LESS : 0x0201, EQUAL : 0x0202, LEQUAL : 0x0203, GREATER : 0x0204, NOTEQUAL : 0x0205, GEQUAL : 0x0206, ALWAYS : 0x0207, /* StencilOp */ /* ZERO */ KEEP : 0x1E00, REPLACE : 0x1E01, INCR : 0x1E02, DECR : 0x1E03, INVERT : 0x150A, INCR_WRAP : 0x8507, DECR_WRAP : 0x8508, /* StringName */ VENDOR : 0x1F00, RENDERER : 0x1F01, VERSION : 0x1F02, /* TextureMagFilter */ NEAREST : 0x2600, LINEAR : 0x2601, /* TextureMinFilter */ /* NEAREST */ /* LINEAR */ NEAREST_MIPMAP_NEAREST : 0x2700, LINEAR_MIPMAP_NEAREST : 0x2701, NEAREST_MIPMAP_LINEAR : 0x2702, LINEAR_MIPMAP_LINEAR : 0x2703, /* TextureParameterName */ TEXTURE_MAG_FILTER : 0x2800, TEXTURE_MIN_FILTER : 0x2801, TEXTURE_WRAP_S : 0x2802, TEXTURE_WRAP_T : 0x2803, /* TextureTarget */ TEXTURE_2D : 0x0DE1, TEXTURE : 0x1702, TEXTURE_CUBE_MAP : 0x8513, TEXTURE_BINDING_CUBE_MAP : 0x8514, TEXTURE_CUBE_MAP_POSITIVE_X : 0x8515, TEXTURE_CUBE_MAP_NEGATIVE_X : 0x8516, TEXTURE_CUBE_MAP_POSITIVE_Y : 0x8517, TEXTURE_CUBE_MAP_NEGATIVE_Y : 0x8518, TEXTURE_CUBE_MAP_POSITIVE_Z : 0x8519, TEXTURE_CUBE_MAP_NEGATIVE_Z : 0x851A, MAX_CUBE_MAP_TEXTURE_SIZE : 0x851C, /* TextureUnit */ TEXTURE0 : 0x84C0, TEXTURE1 : 0x84C1, TEXTURE2 : 0x84C2, TEXTURE3 : 0x84C3, TEXTURE4 : 0x84C4, TEXTURE5 : 0x84C5, TEXTURE6 : 0x84C6, TEXTURE7 : 0x84C7, TEXTURE8 : 0x84C8, TEXTURE9 : 0x84C9, TEXTURE10 : 0x84CA, TEXTURE11 : 0x84CB, TEXTURE12 : 0x84CC, TEXTURE13 : 0x84CD, TEXTURE14 : 0x84CE, TEXTURE15 : 0x84CF, TEXTURE16 : 0x84D0, TEXTURE17 : 0x84D1, TEXTURE18 : 0x84D2, TEXTURE19 : 0x84D3, TEXTURE20 : 0x84D4, TEXTURE21 : 0x84D5, TEXTURE22 : 0x84D6, TEXTURE23 : 0x84D7, TEXTURE24 : 0x84D8, TEXTURE25 : 0x84D9, TEXTURE26 : 0x84DA, TEXTURE27 : 0x84DB, TEXTURE28 : 0x84DC, TEXTURE29 : 0x84DD, TEXTURE30 : 0x84DE, TEXTURE31 : 0x84DF, ACTIVE_TEXTURE : 0x84E0, /* TextureWrapMode */ REPEAT : 0x2901, CLAMP_TO_EDGE : 0x812F, MIRRORED_REPEAT : 0x8370, /* Uniform Types */ FLOAT_VEC2 : 0x8B50, FLOAT_VEC3 : 0x8B51, FLOAT_VEC4 : 0x8B52, INT_VEC2 : 0x8B53, INT_VEC3 : 0x8B54, INT_VEC4 : 0x8B55, BOOL : 0x8B56, BOOL_VEC2 : 0x8B57, BOOL_VEC3 : 0x8B58, BOOL_VEC4 : 0x8B59, FLOAT_MAT2 : 0x8B5A, FLOAT_MAT3 : 0x8B5B, FLOAT_MAT4 : 0x8B5C, SAMPLER_2D : 0x8B5E, SAMPLER_CUBE : 0x8B60, /* Vertex Arrays */ VERTEX_ATTRIB_ARRAY_ENABLED : 0x8622, VERTEX_ATTRIB_ARRAY_SIZE : 0x8623, VERTEX_ATTRIB_ARRAY_STRIDE : 0x8624, VERTEX_ATTRIB_ARRAY_TYPE : 0x8625, VERTEX_ATTRIB_ARRAY_NORMALIZED : 0x886A, VERTEX_ATTRIB_ARRAY_POINTER : 0x8645, VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : 0x889F, /* Read Format */ IMPLEMENTATION_COLOR_READ_TYPE : 0x8B9A, IMPLEMENTATION_COLOR_READ_FORMAT : 0x8B9B, /* Shader Source */ COMPILE_STATUS : 0x8B81, /* Shader Precision-Specified Types */ LOW_FLOAT : 0x8DF0, MEDIUM_FLOAT : 0x8DF1, HIGH_FLOAT : 0x8DF2, LOW_INT : 0x8DF3, MEDIUM_INT : 0x8DF4, HIGH_INT : 0x8DF5, /* Framebuffer Object. */ FRAMEBUFFER : 0x8D40, RENDERBUFFER : 0x8D41, RGBA4 : 0x8056, RGB5_A1 : 0x8057, RGB565 : 0x8D62, DEPTH_COMPONENT16 : 0x81A5, STENCIL_INDEX : 0x1901, STENCIL_INDEX8 : 0x8D48, DEPTH_STENCIL : 0x84F9, RENDERBUFFER_WIDTH : 0x8D42, RENDERBUFFER_HEIGHT : 0x8D43, RENDERBUFFER_INTERNAL_FORMAT : 0x8D44, RENDERBUFFER_RED_SIZE : 0x8D50, RENDERBUFFER_GREEN_SIZE : 0x8D51, RENDERBUFFER_BLUE_SIZE : 0x8D52, RENDERBUFFER_ALPHA_SIZE : 0x8D53, RENDERBUFFER_DEPTH_SIZE : 0x8D54, RENDERBUFFER_STENCIL_SIZE : 0x8D55, FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : 0x8CD0, FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : 0x8CD1, FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : 0x8CD2, FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : 0x8CD3, COLOR_ATTACHMENT0 : 0x8CE0, DEPTH_ATTACHMENT : 0x8D00, STENCIL_ATTACHMENT : 0x8D20, DEPTH_STENCIL_ATTACHMENT : 0x821A, NONE : 0, FRAMEBUFFER_COMPLETE : 0x8CD5, FRAMEBUFFER_INCOMPLETE_ATTACHMENT : 0x8CD6, FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : 0x8CD7, FRAMEBUFFER_INCOMPLETE_DIMENSIONS : 0x8CD9, FRAMEBUFFER_UNSUPPORTED : 0x8CDD, FRAMEBUFFER_BINDING : 0x8CA6, RENDERBUFFER_BINDING : 0x8CA7, MAX_RENDERBUFFER_SIZE : 0x84E8, INVALID_FRAMEBUFFER_OPERATION : 0x0506, /* WebGL-specific enums */ UNPACK_FLIP_Y_WEBGL : 0x9240, UNPACK_PREMULTIPLY_ALPHA_WEBGL : 0x9241, CONTEXT_LOST_WEBGL : 0x9242, UNPACK_COLORSPACE_CONVERSION_WEBGL : 0x9243, BROWSER_DEFAULT_WEBGL : 0x9244 }; // Other non-function properties on the WebGL object var otherProperties = { drawingBufferWidth : "number", drawingBufferHeight : "number", canvas : "implementation-dependent" }; // Properties to be ignored (as a list of strings) because they were // added in versions of the spec that are backward-compatible with // this version var ignoredProperties = [ ]; // Constants removed from the WebGL spec compared to ES 2.0 var removedConstants = { NUM_COMPRESSED_TEXTURE_FORMATS : 0x86A2, FIXED : 0x140C, ACTIVE_UNIFORM_MAX_LENGTH : 0x8B87, ACTIVE_ATTRIBUTE_MAX_LENGTH : 0x8B8A, EXTENSIONS : 0x1F03, INFO_LOG_LENGTH : 0x8B84, SHADER_SOURCE_LENGTH : 0x8B88, SHADER_COMPILER : 0x8DFA, SHADER_BINARY_FORMATS : 0x8DF8, NUM_SHADER_BINARY_FORMATS : 0x8DF9, }; function assertProperty(v, p) { if (p in v) { return true; } else { testFailed("Property does not exist: " + p) return false; } } function assertNoProperty(v, p) { if (p in v) { testFailed("Property is defined and should not be: " + p) return false; } else { return true; } } function assertMsg_(bool, msg) { if (!bool) // show only failures to avoid spamming result list assertMsg(bool, msg); return bool; } debug(""); debug("Canvas.getContext"); var canvas = document.getElementById("canvas"); var wtu = WebGLTestUtils; var gl = wtu.create3DContext(canvas); var passed = true; for (var i in constants) { var r = assertProperty(gl, i) && assertMsg_(gl[i] == constants[i], "Property "+i+" value test "+gl[i]+" == "+constants[i]); passed = passed && r; } if (passed) { testPassed("All WebGL constants found to have correct values."); } passed = true; for (var i in removedConstants) { var r = assertNoProperty(gl, i); passed = passed && r; } if (passed) { testPassed("All constants removed from WebGL spec were absent from WebGL context."); } var extended = false; for (var i in gl) { if (constants[i] !== undefined) { // OK; known constant } else if (ignoredProperties.indexOf(i) != -1) { // OK; constant that should be ignored because it was added in a later version of the spec } else if (otherProperties[i] !== undefined && (otherProperties[i] == "implementation-dependent" || typeof gl[i] == otherProperties[i])) { // OK; known property of known type } else if (typeof gl[i] != "function") { if (!extended) { extended = true; testFailed("Also found the following extra properties:"); } testFailed(i); } } if (!extended) { testPassed("No extra properties found on WebGL context."); } debug(""); var successfullyParsed = true; </script> <script src="../../resources/js-test-post.js"></script> </body> </html>
crosswalk-project/web-testing-service
wts/tests/webgl/khronos/conformance/context/constants-and-properties.html
HTML
bsd-3-clause
18,790
<html> <head> <style type="text/css" media="screen"> @-webkit-keyframes test1 { from { left: 10px; } to { left: 20px; } } @-webkit-keyframes test2 { from { left: 10px; } to { left: 20px; } 30% { left: 30px; } 60% { left: 60px; } 20% { left: 50px; } } @-webkit-keyframes test3 { 0% { left: 10px; } 50% , 60% { left: 30px; } -10% { left: 50px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test4 { from { left: 10px; } 50% { left: 30px; } to { left: 20px; } } @-webkit-keyframes test5 { 0% { left: 10px; } 50% , 60% { left: 30px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test6 { from { left: 10px; } 50% { left: 30px; } to { left: 20px; } } @-webkit-keyframes test7 { 0% { left: 10px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test8 { 0% { left: 10px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test9 { 0% { left: 10px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test10 { 0% { left: 10px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test11 { 0% { left: 10px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test12 { 0% { left: 10px; } 90%, 100% { left: 20px; } } @-webkit-keyframes test13 { 0% { left: 10px; } 90%, 100% { left: 20px; } } </style> <script src="../resources/js-test.js"></script> </head> <body> <script> description("This tests the CSSKeyframeRule and CSSKeyframesRule interfaces."); debug("Constants"); if (window.CSSKeyframeRule) testPassed("CSSKeyframeRule exists on Window object"); else testFailed("CSSKeyframeRule does not exist on Window object"); if (window.CSSKeyframesRule) testPassed("CSSKeyframesRule exists on Window object"); else testFailed("CSSKeyframesRule does not exist on Window object"); if (window.CSSRule.WEBKIT_KEYFRAME_RULE) testPassed("WEBKIT_KEYFRAME_RULE exists on Window.CSSRule object"); else testFailed("WEBKIT_KEYFRAME_RULE does not exist on Window.CSSRule object"); if (window.CSSRule.WEBKIT_KEYFRAMES_RULE) testPassed("WEBKIT_KEYFRAMES_RULE exists on Window.CSSRule object"); else testFailed("WEBKIT_KEYFRAMES_RULE does not exist on Window.CSSRule object"); if (window.CSSRule.KEYFRAME_RULE) testPassed("KEYFRAME_RULE exists on Window.CSSRule object"); else testFailed("KEYFRAME_RULE does not exist on Window.CSSRule object"); if (window.CSSRule.KEYFRAMES_RULE) testPassed("KEYFRAMES_RULE exists on Window.CSSRule object"); else testFailed("KEYFRAMES_RULE does not exist on Window.CSSRule object"); debug(""); debug("Basic queries"); var keyframes1 = document.styleSheets.item(0).cssRules.item(0); shouldBe("keyframes1.type", "window.CSSRule.WEBKIT_KEYFRAMES_RULE"); shouldBe("keyframes1.name", "'test1'"); var rules1 = keyframes1.cssRules; shouldBe("rules1.length", "2"); shouldBe("rules1.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules1.item(0).cssText", "'0% { left: 10px; }'"); shouldBe("rules1.item(1).cssText", "'100% { left: 20px; }'"); debug(""); debug("Insert new rules"); keyframes1.appendRule("30% { left: 30px; }"); keyframes1.appendRule("60% { left: 60px; }"); keyframes1.appendRule("20% { left: 50px; }"); shouldBe("rules1.length", "5"); shouldBe("rules1.item(0).cssText", "'0% { left: 10px; }'"); shouldBe("rules1.item(1).cssText", "'100% { left: 20px; }'"); shouldBe("rules1.item(2).cssText", "'30% { left: 30px; }'"); shouldBe("rules1.item(3).cssText", "'60% { left: 60px; }'"); shouldBe("rules1.item(4).cssText", "'20% { left: 50px; }'"); debug(""); debug("Insert invalid rules"); var keyframes2 = document.styleSheets.item(0).cssRules.item(1); keyframes2.appendRule("foo"); keyframes2.appendRule("foo { left: 30px; }"); keyframes2.appendRule("-10% { left: 30px; }"); keyframes2.appendRule("10% { left: 30px; }"); var rules2 = keyframes2.cssRules; shouldBe("rules2.length", "6"); shouldBe("rules2.item(5).cssText", "'10% { left: 30px; }'"); debug(""); debug("Keys"); var keyframes3 = document.styleSheets.item(0).cssRules.item(2); shouldBe("keyframes3.type", "window.CSSRule.WEBKIT_KEYFRAMES_RULE"); shouldBe("keyframes3.name", "'test3'"); var rules3 = keyframes3.cssRules; shouldBe("rules3.length", "3"); shouldBe("rules3.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules3.item(0).keyText", "'0%'"); shouldBe("rules3.item(1).keyText", "'50%, 60%'"); shouldBe("rules3.item(2).keyText", "'90%, 100%'"); shouldBe("rules3.item(0).cssText", "'0% { left: 10px; }'"); shouldBe("rules3.item(1).cssText", "'50%, 60% { left: 30px; }'"); shouldBe("rules3.item(2).cssText", "'90%, 100% { left: 20px; }'"); debug(""); debug("Find a rule"); shouldBeType("rules3.item(0).style", "CSSStyleDeclaration"); shouldBe("rules3.item(0).style.length", "1"); var rule = keyframes3.findRule("0%"); if (!rule) testFailed("Could not extract '0%' keyframe rule"); shouldBe("rule.type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rule.cssText", "'0% { left: 10px; }'"); debug(""); debug("Find a rule with multiple key values"); var rule = keyframes3.findRule("50%, 60%"); if (!rule) testFailed("Could not extract '50%,60%' keyframe rule"); shouldBe("rule.type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rule.cssText", "'50%, 60% { left: 30px; }'"); debug(""); debug("Find a rule using from and to"); var keyframes4 = document.styleSheets.item(0).cssRules.item(3); shouldBe("keyframes4.type", "window.CSSRule.WEBKIT_KEYFRAMES_RULE"); rule = keyframes4.findRule("From"); shouldBe("rule.type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rule.cssText", "'0% { left: 10px; }'"); rule = keyframes4.findRule("TO"); shouldBe("rule.type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rule.cssText", "'100% { left: 20px; }'"); debug(""); debug("Try to find a rule that doesn't exist"); rule = keyframes4.findRule("70%"); if (rule) testFailed("Was able to find the non-existent '70%' keyframe rule"); else testPassed("Non-existent rule was not found"); debug(""); debug("Delete a rule"); var keyframes5 = document.styleSheets.item(0).cssRules.item(4); keyframes5.deleteRule("50%,60%"); var rules5 = keyframes5.cssRules; shouldBe("rules5.length", "2"); shouldBe("rules5.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules5.item(0).keyText", "'0%'"); shouldBe("rules5.item(1).keyText", "'90%, 100%'"); debug(""); debug("Delete a from rule"); var keyframes6 = document.styleSheets.item(0).cssRules.item(5); keyframes6.deleteRule("0%"); var rules6 = keyframes6.cssRules; shouldBe("rules6.length", "2"); shouldBe("rules6.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules6.item(0).keyText", "'50%'"); shouldBe("rules6.item(1).keyText", "'100%'"); debug(""); debug("Delete a rule that doesn't exist"); var keyframes7 = document.styleSheets.item(0).cssRules.item(6); keyframes7.deleteRule("70%"); var rules7 = keyframes7.cssRules; shouldBe("rules7.length", "2"); shouldBe("rules7.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules7.item(0).keyText", "'0%'"); shouldBe("rules7.item(1).keyText", "'90%, 100%'"); debug(""); debug("Set a keyframe key"); var rules8 = document.styleSheets.item(0).cssRules.item(7).cssRules; rules8.item(0).keyText = "70%"; shouldBe("rules8.length", "2"); shouldBe("rules8.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules8.item(0).keyText", "'70%'"); shouldBe("rules8.item(1).keyText", "'90%, 100%'"); debug(""); debug("Set a keyframe key with 'from'"); var rules9 = document.styleSheets.item(0).cssRules.item(8).cssRules; rules9.item(0).keyText = "from"; shouldBe("rules9.length", "2"); shouldBe("rules9.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules9.item(0).keyText", "'0%'"); shouldBe("rules9.item(1).keyText", "'90%, 100%'"); debug(""); debug("Set a keyframe key with multiple values"); var rules10 = document.styleSheets.item(0).cssRules.item(9).cssRules; rules10.item(0).keyText = "0%, 10%, from, 20%, 30%, to"; shouldBe("rules10.length", "2"); shouldBe("rules10.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules10.item(0).keyText", "'0%, 10%, 0%, 20%, 30%, 100%'"); shouldBe("rules10.item(1).keyText", "'90%, 100%'"); debug(""); debug("Set a keyframe key with an out-of-range value"); var rules11 = document.styleSheets.item(0).cssRules.item(10).cssRules; shouldThrow('rules11.item(0).keyText = "40%, -50%, 60%";'); shouldBe("rules11.length", "2"); shouldBe("rules11.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules11.item(0).keyText", "'0%'"); shouldBe("rules11.item(1).keyText", "'90%, 100%'"); debug(""); debug("Set a keyframe key with an invalid value"); var rules12 = document.styleSheets.item(0).cssRules.item(11).cssRules; shouldThrow('rules12.item(0).keyText = "foo";'); shouldBe("rules12.length", "2"); shouldBe("rules12.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules12.item(0).keyText", "'0%'"); shouldBe("rules12.item(1).keyText", "'90%, 100%'"); debug(""); debug("Set a keyframe key with a null value"); var rules13 = document.styleSheets.item(0).cssRules.item(12).cssRules; shouldThrow('rules13.item(0).keyText = null;'); shouldBe("rules13.length", "2"); shouldBe("rules13.item(0).type", "window.CSSRule.WEBKIT_KEYFRAME_RULE"); shouldBe("rules13.item(0).keyText", "'0%'"); shouldBe("rules13.item(1).keyText", "'90%, 100%'"); </script> </body> </html>
axinging/chromium-crosswalk
third_party/WebKit/LayoutTests/animations/keyframes-rule.html
HTML
bsd-3-clause
9,490
<!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 Tue Apr 29 23:14:38 EDT 2014 --> <TITLE> ZipEncoding (Apache Ant API) </TITLE> <META NAME="date" CONTENT="2014-04-29"> <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="ZipEncoding (Apache Ant 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>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipEightByteInteger.html" title="class in org.apache.tools.zip"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipEncodingHelper.html" title="class in org.apache.tools.zip"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/tools/zip/ZipEncoding.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="ZipEncoding.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> org.apache.tools.zip</FONT> <BR> Interface ZipEncoding</H2> <HR> <DL> <DT><PRE>public interface <B>ZipEncoding</B></DL> </PRE> <P> An interface for encoders that do a pretty encoding of ZIP filenames. <p>There are mostly two implementations, one that uses java.nio <CODE>Charset</CODE> and one implementation, which copes with simple 8 bit charsets, because java-1.4 did not support Cp437 in java.nio.</p> <p>The main reason for defining an own encoding layer comes from the problems with <CODE>String.getBytes</CODE>, which encodes unknown characters as ASCII quotation marks ('?'). Quotation marks are per definition an invalid filename on some operating systems like Windows, which leads to ignored ZIP entries.</p> <p>All implementations should implement this interface in a reentrant way.</p> <P> <P> <HR> <P> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipEncoding.html#canEncode(java.lang.String)">canEncode</A></B>(java.lang.String&nbsp;name)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check, whether the given string may be losslessly encoded using this encoding.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipEncoding.html#decode(byte[])">decode</A></B>(byte[]&nbsp;data)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;java.nio.ByteBuffer</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/ZipEncoding.html#encode(java.lang.String)">encode</A></B>(java.lang.String&nbsp;name)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode a filename or a comment to a byte array suitable for storing it to a serialized zip entry.</TD> </TR> </TABLE> &nbsp; <P> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="canEncode(java.lang.String)"><!-- --></A><H3> canEncode</H3> <PRE> boolean <B>canEncode</B>(java.lang.String&nbsp;name)</PRE> <DL> <DD>Check, whether the given string may be losslessly encoded using this encoding. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - A filename or ZIP comment. <DT><B>Returns:</B><DD>Whether the given name may be encoded with out any losses.</DL> </DD> </DL> <HR> <A NAME="encode(java.lang.String)"><!-- --></A><H3> encode</H3> <PRE> java.nio.ByteBuffer <B>encode</B>(java.lang.String&nbsp;name) throws java.io.IOException</PRE> <DL> <DD>Encode a filename or a comment to a byte array suitable for storing it to a serialized zip entry. <p>Examples for CP 437 (in pseudo-notation, right hand side is C-style notation):</p> <pre> encode("Û_for_Dollar.txt") = "%U20AC_for_Dollar.txt" encode("…lfŠsser.txt") = "\231lf\204sser.txt" </pre> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - A filename or ZIP comment. <DT><B>Returns:</B><DD>A byte buffer with a backing array containing the encoded name. Unmappable characters or malformed character sequences are mapped to a sequence of utf-16 words encoded in the format <code>%Uxxxx</code>. It is assumed, that the byte buffer is positioned at the beginning of the encoded result, the byte buffer has a backing array and the limit of the byte buffer points to the end of the encoded result. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <HR> <A NAME="decode(byte[])"><!-- --></A><H3> decode</H3> <PRE> java.lang.String <B>decode</B>(byte[]&nbsp;data) throws java.io.IOException</PRE> <DL> <DD><DL> <DT><B>Parameters:</B><DD><CODE>data</CODE> - The byte values to decode. <DT><B>Returns:</B><DD>The decoded string. <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipEightByteInteger.html" title="class in org.apache.tools.zip"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../../../org/apache/tools/zip/ZipEncodingHelper.html" title="class in org.apache.tools.zip"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/apache/tools/zip/ZipEncoding.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="ZipEncoding.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
byronka/xenos
utils/ant/apache-ant-1.9.4/manual/api/org/apache/tools/zip/ZipEncoding.html
HTML
mit
11,157
<!DOCTYPE html> <html><head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="./resources/unit.css" /> <script type="application/x-javascript" src="./resources/unit.js"></script> <script type="application/x-javascript" src="./resources/util.js"></script> <script type="application/x-javascript"> Tests.startUnit = function () { var canvas = document.getElementById('gl'); var gl = wrapGLContext(canvas.getContext(GL_CONTEXT_ID)); return [gl]; } Tests.testUniformArray = function(gl) { var sh = new Filter(gl, 'foobar-vert', 'foobar-frag'); sh.apply(function(f){ var uniV4 = f.uniform('uniV4'); var uniFloat = f.uniform('uniFloat'); assertOk("1fv on 1fv", function(){gl.uniform1fv(uniFloat, [2]);}); assertOk("5 values on 1fv", function(){gl.uniform1fv(uniFloat, [2,3,4,5,6]);}); assertOk("4fv on 4fv", function(){gl.uniform4fv(uniV4, [1, 2, 3, 4]);}); assertOk("8 values on 4fv", function(){gl.uniform4fv(uniV4, [1, 2, 3, 4, 5, 6, 7, 8]);}); var uniformsFound = 0; var numUniforms = gl.getProgramParameter(f.shader.program, gl.ACTIVE_UNIFORMS); for (var i = 0; i < numUniforms; ++i) { var uniformName = gl.getActiveUniform(f.shader.program, i).name; if (uniformName.indexOf('uniV4') == 0 || uniformName.indexOf('uniFloat') == 0) { assert("Uniform array of length 1 ends with [0]", uniformName.indexOf("[0]") != -1); ++uniformsFound; } } assert("Both uniforms found", uniformsFound == 2); uniV4 = f.uniform('uniV4[0]'); uniFloat = f.uniform('uniFloat[0]'); assertOk("1fv on 1fv", function(){gl.uniform1fv(uniFloat, [2]);}); assertOk("5 values on 1fv", function(){gl.uniform1fv(uniFloat, [2,3,4,5,6]);}); assertOk("4fv on 4fv", function(){gl.uniform4fv(uniV4, [1, 2, 3, 4]);}); assertOk("8 values on 4fv", function(){gl.uniform4fv(uniV4, [1, 2, 3, 4, 5, 6, 7, 8]);}); }); var d = new Uint8Array(4); gl.readPixels(0,0,1,1,gl.RGBA, gl.UNSIGNED_BYTE, d); assertArrayEquals([1,2,3,8], d); sh.destroy(); throwError(gl); } Tests.endUnit = function(gl) { } </script> <script id="foobar-vert" type="x-shader/x-vertex"> attribute vec3 Vertex; attribute vec2 Tex; uniform float uniFloat[1]; varying vec4 texCoord0; void main() { texCoord0 = vec4(Tex.s, 1.0-Tex.t, uniFloat[0], 0.0); gl_Position = vec4(Vertex, 1.0); } </script> <script id="foobar-frag" type="x-shader/x-fragment"> precision mediump float; uniform vec4 uniV4[1]; varying vec4 texCoord0; void main() { gl_FragColor = vec4( uniV4[0].r/255.0, uniV4[0].g/255.0, uniV4[0].b/255.0, uniV4[0].a*texCoord0.z/255.0); } </script> <style>canvas{ position:absolute; }</style> </head> <body> <canvas id="gl" width="16" height="16"></canvas> </body> </html>
hgl888/web-testing-service
wts/tests/webgl/khronos/uniformfArrayLen1.html
HTML
bsd-3-clause
2,917
<!doctype html> <head> <title>Test setSinkId behavior </title> <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> <link rel="help" href="https://www.w3.org/TR/audio-output/#dom-htmlmediaelement-setsinkid"> </head> <script src=/resources/testharness.js></script> <script src=/resources/testharnessreport.js></script> <script src=/resources/testdriver.js></script> <script src=/resources/testdriver-vendor.js></script> <script src='../mediacapture-streams/permission-helper.js'></script> <script> "use strict"; const audio = new Audio(); promise_test(t => audio.setSinkId(""), "setSinkId on default audio output should always work"); promise_test(t => promise_rejects_dom(t, "NotFoundError", audio.setSinkId("nonexistent_device_id")), "setSinkId fails with NotFoundError on made up deviceid"); promise_test(async t => { // Attempt to expose some audiooutput devices. await setMediaPermission("granted", ["microphone"]); await navigator.mediaDevices.getUserMedia({ audio: true }); const list = await navigator.mediaDevices.enumerateDevices(); assert_greater_than(list.length, 0, "media device list includes at least one device"); const audioInputList = list.filter(({kind}) => kind == "audioinput"); const outputDevicesList = list.filter(({kind}) => kind == "audiooutput"); // List of exposed microphone groupIds const exposedGroupIds = new Set(audioInputList.map(device => device.groupId)); for (const { deviceId, groupId } of outputDevicesList) { assert_true(exposedGroupIds.has(groupId), "audiooutput device groupId must match an exposed microphone"); assert_greater_than(deviceId.length, 0, "deviceId.length"); const p1 = audio.setSinkId(deviceId); assert_equals(audio.sinkId, "", "before it resolves, setSinkId is unchanged"); let r; try { r = await p1; } catch (e) { // "If sinkId is not the empty string, and the application would not be // permitted to play audio through the device identified by sinkId if it // weren't the current user agent default device, reject p with a new // DOMException whose name is NotAllowedError and abort these // substeps." assert_equals(e.name, "NotAllowedError", "Non-permitted devices are failing with NotAllowed error"); continue; } assert_equals(r, undefined, "setSinkId resolves with undefined"); assert_equals(audio.sinkId, deviceId, "when it resolves, setSinkId updates sinkId to the requested deviceId"); r = await audio.setSinkId(deviceId); assert_equals(r, undefined, "resetting sinkid on same current value should always work"); r = await audio.setSinkId(""); assert_equals(r, undefined, "resetting sinkid on default audio output should always work"); } }, "setSinkId() with output device IDs exposed by getUserMedia() should either reject with NotAllowedError or resolve"); </script>
chromium/chromium
third_party/blink/web_tests/external/wpt/audio-output/setSinkId.https.html
HTML
bsd-3-clause
2,936
<!DOCTYPE html> <!-- Copyright (c) 2015 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Liu, Yun <yunx.liu@intel.com> --> <html> <head> <meta charset='utf-8'> <title>Crosswalk_Apptools_SampleApp_Spacedodgegame_Build_Windows</title> <link rel="author" title="Intel" href="http://www.intel.com"> </head> <body> <p> <strong>Preconditions:</strong> </p> <ol> <li>Please refer to README file</li> </ol> <p> <strong>Test steps:</strong> </p> <ol> <li>If com.example.spacedodge exists in apptools-sampleapp-tests/tools/ directory, remove it</br> Then run below commands under apptools-sampleapp-tests/tools/ directory:</br> $ node %crosswalk-app% create com.example.spacedodge --platforms=windows --windows-crosswalk=<path to xwalk win zip></br> $ cd com.example.spacedodge</br> $ git clone https://github.com/crosswalk-project/crosswalk-samples.git</br> $ xcopy /s /e /i /y crosswalk-samples\space-dodge-game\base\* app\</br> Update "xwalk_version" to "xwalk_app_version" in app\manifest.json file <br/> Add '"xwalk_package_id": "com.example.spacedodge", "xwalk_target_platforms": ["windows"], "xwalk_windows_update_id": "60525119-9565-8278-1611-670858692377"' to app\manifest.json file <br/> $ node %crosswalk-app% build </li> <li>Install spacedodge app on windows</li> <li>Find spacedodge app on windows</li> <li>Launch spacedodge app on windows</li> <li>Check the homepage of spacedodge app</li> <li>Uninstall the app when it is running</li> <li>Install and launch the spacedodge app again. Close spacedodge app via clicking the close button, and kill spacedodge app from Task Manager</li> <li>Uninstall spacedodge app on windows</li> </ol> <p> <strong>Expected Output:</strong> </p> <ol> <li>Create/Build com.example.spacedodge successfully</li> <li>Install the spacedodge app successfully</li> <li>Find the spacedodge app successfully</li> <li>Launch the spacedodge app successfully</li> <li>You can see spacedodge UI on the device</li> <li>Uninstall the spacedodge app successfully when the app running</li> <li>Stop the spacedodge app successfully</li> <li>Uninstall the spacedodge app successfully</li> </ol> </body> </html>
BruceDai/crosswalk-test-suite
apptools/apptools-sampleapp-tests/sampleapp-windows/Crosswalk_Apptools_SampleApp_Spacedodgegame_Build_Windows.html
HTML
bsd-3-clause
3,759
<!doctype html> <!-- Copyright 2014 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="Sample illustrating the use of the dialog element."> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>&lt;dialog&gt; Element Sample</title> <!-- Add to homescreen for Chrome on Android --> <meta name="mobile-web-app-capable" content="yes"> <link rel="icon" sizes="192x192" href="../images/touch/chrome-touch-icon-192x192.png"> <!-- Add to homescreen for Safari on iOS --> <meta name="apple-mobile-web-app-title" content="dialog Element Sample"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-icon-precomposed" href="../images/apple-touch-icon-precomposed.png"> <!-- Tile icon for Win8 (144x144 + tile color) --> <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png"> <meta name="msapplication-TileColor" content="#3372DF"> <link rel="icon" href="../images/favicon.ico"> <link rel="stylesheet" href="../styles/main.css"> </head> <body> <h1>&lt;dialog&gt; Element Sample</h1> <p>Available in <a href="http://www.chromestatus.com/feature/5770237022568448">Chrome 37+</a></p> <!-- // [START code-block] --> <p>This button will open a native &lt;dialog&gt; element: <button id="show">Open Dialog</button></p> <dialog> <p>Here's the dialog with default styles!</p> <p>You can modify the styles if you wish.</p> <button id="close">Close</button> </dialog> <script> var dialog = document.querySelector('dialog'); document.querySelector('#show').onclick = function() { dialog.show(); }; document.querySelector('#close').onclick = function() { dialog.close(); }; </script> <!-- // [END code-block] --> <script> /* jshint ignore:start */ (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-53563471-1', 'auto'); ga('send', 'pageview'); /* jshint ignore:end */ </script> <!-- Built with love using Web Starter Kit --> </body> </html>
wiki05/samples
dialog/index.html
HTML
apache-2.0
3,159
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=constant.ST_NOSUID.html"> </head> <body> <p>Redirecting to <a href="constant.ST_NOSUID.html">constant.ST_NOSUID.html</a>...</p> <script>location.replace("constant.ST_NOSUID.html" + location.search + location.hash);</script> </body> </html>
nitro-devs/nitro-game-engine
docs/libc/unix/notbsd/linux/ST_NOSUID.v.html
HTML
apache-2.0
333
<!DOCTYPE html> <!-- Copyright (c) 2015 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Xu,Jianfeng <jianfengx.xu@intel.com> --> <html> <head> <meta charset='utf-8'> <title>Crosswalk_WebAudio_lock</title> <link rel="author" title="Intel" href="http://www.intel.com"> </head> <body> <p> <strong>Test steps:</strong> </p> <ol> <li>Use command "adb webaudio audio.apk" to install webaudio.apk and open WebAudio app on device.</li> <li>Click "Start" button.</li> <li>Lock screen and unlock screen.</li> <li>Click "Stop" button.</li> <li>Lock screen and unlock screen.</li> </ol> <p> <strong>Expected Output:</strong> </p> <ol> <li>"dadada..." should be heard after clicking "Start" button.</li> <li>Sound is still playing after unlock screen.</li> <li>Sound should be paused after clicking "Stop" button.</li> <li>Sound is still paused after unlock screen.</li> </ol> </body> </html>
qiuzhong/crosswalk-test-suite
misc/webmanu-system-android-tests/systemmanu/Crosswalk_WebAudio_lock.html
HTML
bsd-3-clause
2,372
<!DOCTYPE html> <!-- Copyright (c) 2014 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the original copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this work without specific prior written permission. THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Authors: Cao, Jun <junx.cao@intel.com> --> <html> <head> <title>WebGL Test: webglrenderingcontext_FRAMEBUFFER_UNSUPPORTED_value</title> <link rel="author" title="Intel" href="http://www.intel.com" /> <link rel="help" href="https://www.khronos.org/registry/webgl/specs/1.0/" /> <meta name="flags" content="" /> <meta name="assert" content="Check if WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED constant value is 0x8CDD"/> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script src="support/webgl.js"></script> </head> <body> <div id="log"></div> <canvas id="canvas" width="200" height="100" style="border:1px solid #c3c3c3;"> Your browser does not support the canvas element. </canvas> <script> getwebgl(); webgl_constant_value(webgl, 'FRAMEBUFFER_UNSUPPORTED', 0x8CDD); </script> </body> </html>
hgl888/web-testing-service
wts/tests/webgl/webglrenderingcontext_FRAMEBUFFER_UNSUPPORTED_value.html
HTML
bsd-3-clause
2,399
<!DOCTYPE html> <title>CSS aspect-ratio: zero intrinsic size for grid items with overflow:auto even with an aspect-ratio</title> <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"> <link rel="help" href="https://drafts.csswg.org/css-grid/#min-size-auto"> <link rel="help" href="https://drafts.csswg.org/css-grid/#algo-content"> <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" /> <style> #reference-overlapped-red { position: absolute; background-color: red; width: 100px; height: 100px; z-index: -1; } </style> <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> <div id="reference-overlapped-red"></div> <div style="display: grid; width: min-content; grid-auto-flow: column; height: 100px; background: green;"> <div style="height: 100px; aspect-ratio: 2/1; overflow:auto"></div> <div style="height: 100px; aspect-ratio: 1/2; min-width: 100px; overflow:auto"></div> </div>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-sizing/aspect-ratio/grid-aspect-ratio-027.html
HTML
bsd-3-clause
1,055
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Color 4: RGB functions rgb() and rgba()</title> <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> <link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions"> <link rel="match" href="greensquare-ref.html"> <meta name="assert" content="legacy rgba() with 8-bit numbers and percent alpha, with commas"> <style> .test { background-color: red; width: 12em; height: 6em; margin-top:0} .ref { background-color: #008000; width: 12em; height: 6em; margin-bottom: 0} .test { background-color: rgba(0, 128.0, 0, 100%)} </style> <body> <p>Test passes if you see a green square, and no red.</p> <p class="ref"> </p> <p class="test"> </p> </body>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-color/rgba-008.html
HTML
bsd-3-clause
742
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="../resources/js-test.js"></script> </head> <body id="body"> <label for="target">Label</label> <div id="a">A</div> <div id="b">B</div> <div id="c">C</div> <input id="target" aria-labelledby="a b c" value="10"> <p id="description"></p> <div id="console"></div> <script> description("This tests that if aria-labelledby is used, then label elements are not used"); if (window.accessibilityController) { var axTarget = accessibilityController.accessibleElementById("target"); shouldBe("axTarget.name", "'A B C'"); shouldBe("axTarget.nameElementCount()", "3"); } </script> </body> </html>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/accessibility/aria-labelledby-overrides-label.html
HTML
bsd-3-clause
708
<div class="checkbox-demo-row"> <div class="input-demo checkbox-demo row"> <div class="col-md-4"> <label class="checkbox-inline custom-checkbox nowrap"> <input type="checkbox" id="inlineCheckbox01" value="option1"> <span>Check 1</span> </label> </div> <div class="col-md-4"> <label class="checkbox-inline custom-checkbox nowrap"> <input type="checkbox" id="inlineCheckbox02" value="option2"> <span>Check 2</span> </label> </div> <div class="col-md-4"> <label class="checkbox-inline custom-checkbox nowrap"> <input type="checkbox" id="inlineCheckbox03" value="option3"> <span>Check 3</span> </label> </div> </div> <div class="input-demo radio-demo row"> <div class="col-md-4"> <label class="radio-inline custom-radio nowrap"> <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> <span>Option 1</span> </label> </div> <div class="col-md-4"> <label class="radio-inline custom-radio nowrap"> <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> <span>Option 2</span> </label> </div> <div class="col-md-4"> <label class="radio-inline custom-radio nowrap"> <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> <span>Option3</span> </label> </div> </div> </div> <div> <div class="checkbox disabled"> <label class="custom-checkbox nowrap"> <input type="checkbox" value="" disabled> <span>Checkbox is disabled</span> </label> </div> <div class="radio disabled"> <label class="custom-radio nowrap"> <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled> <span>Disabled option</span> </label> </div> </div>
mybrainpal/dashboard
unused/form/inputs/widgets/checkboxesRadios.html
HTML
mit
1,883
<!-- Generated by Rakefile:build --> <strong> <a href="354" rel="nofollow">$client = new SoapClient("some.wsdl"); $client->SomeFunction</a> </strong> on 2012-08-24 21:48:16 <br /> 545 <hr /> <strong> <a href="http://brett-zamir.me" rel="nofollow">Brett Zamir</a> </strong> on 2010-01-08 11:07:08 <br /> @saulius, thanks again, I've now incorporated your fix and the issue I mentioned: http://github.com/kvz/phpjs/raw/master/functions/strings/strrpos.js . The problem is that the 2nd argument to lastIndexOf() works very differently from strrpos's offset argument (see the comments for an explanation). <hr /> <strong> <a href="http://brett-zamir.me" rel="nofollow">Brett Zamir</a> </strong> on 2010-01-07 07:31:04 <br /> I don't have time to test myself now, but there is also this issue: <pre><code>var_dump(strrpos(&quot;canal&quot;, &quot;a&quot;, 3)); // PHP and php.js gives 3 var_dump(strrpos(&quot;canal&quot;, &quot;a&quot;, 4)); // PHP gives false while php.js gives 3 </code></pre> Seems the offset behaves differently, maybe from the opposite direction. So before adding saulius' changes, someone please take a look. <hr /> <strong> saulius </strong> on 2010-01-06 11:35:09 <br /> var i = (haystack+'').lastIndexOf( needle, offset ); return i &gt;= 0 ? i : false; //strrpos(somepage.com, '.', false); returns false if (offset) { var i = (haystack+'').lastIndexOf(needle, offset); } else { var i = (haystack+'').lastIndexOf(needle); } <hr /> <strong> <a href="http://kevin.vanzonneveld.net" rel="nofollow">Kevin van Zonneveld</a> </strong> on 2008-01-30 08:11:43 <br /> @ Abraham Estrada: Yep, but sometimes you need a different set of wheels right? @ speedmax: About the PHP vs JS stuff.. I'm not trying to port or emulate the entire language or control structures of PHP. Indeed I don't see the need because Javascript seems to have more elegant features in that category anyway. However in my eyes, PHP does provide a large set of standard functions that make developing very easy, and some of them don't have good standard Javascript implementations, though they often would be great to have client-side. So in this project by also providing the functions separately, I hope to keep people from inventing the wheel and give them a head start. <hr /> <strong> Abraham Estrada </strong> on 2008-01-30 05:16:21 <br /> Sorry guys but I think you are reinventing the wheel <hr /> <strong> speedmax </strong> on 2008-01-30 01:35:29 <br /> that was showing lamda in the work, here is one liner to the purist. Beauty and the Beast <pre><code> ['you','and','me'].map(String.toUpperCase).join(' ') </code></pre> <pre><code> implode(' ', array_map('strtolower', array('you', 'and', 'me'))) </code></pre> <hr /> <strong> speedmax </strong> on 2008-01-30 01:29:09 <br /> I been coding php for 7 years, good work but why the hell would you want to do that.. ? javascript is a better language, its more of a functional language with array/hash shortcut, iterator, closure for free. try to do this in php ['you','and','me'].map(function(item){ return item.toUpperCase() }).join(' ') <hr />
1suming/phpjs
_octopress/source/functions/strrpos/_comments.html
HTML
mit
3,167
<!DOCTYPE html> <meta charset=utf-8> <title>IDBRequest.error</title> <script src=/resources/testharness.js></script> <script src=/resources/testharnessreport.js></script> <script src=support.js></script> <script> async_test(t => { var open = createdb(t); open.onupgradeneeded = t.step_func(e => { var db = e.target.result; db.createObjectStore('store'); }); open.onsuccess = t.step_func(e => { var db = e.target.result; var request = db.transaction('store').objectStore('store').get(0); assert_equals(request.readyState, 'pending'); assert_throws_dom('InvalidStateError', () => request.error, 'IDBRequest.error should throw if request is pending'); t.done(); }); }, 'IDBRequest.error throws if ready state is pending'); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/IndexedDB/idbrequest_error.html
HTML
bsd-3-clause
792
--- layout: default article: true --- <header class="{% if page.dark %}dark{% else %}clean{% endif %}" style="background-image: url({% if page.image %}{{ page.image }}{% else %}{{ site.cover }}{% endif %});{% if page.background_position %} background-position: {{ page.background_position }};{% endif %}height: 100%;"> {% if page.video %} <video id="bg-video" preload="auto" autoplay="true" loop="loop" muted="muted" volume="0"> {% if page.video_webm %}<source src="{{ page.video_webm }}" type="video/webm">{% endif %} {% if page.video_ogv %}<source src="{{ page.video_ogv }}" type="video/ogg ogv">{% endif %} {% if page.video_mp4 %}<source src="{{ page.video_mp4 }}" type="video/mp4">{% endif %} </video> {% endif %} {% include top.html %} <div id="post-info"> <h1>{{ page.title }}</h1> {% if page.quote %} <h2>{{ page.quote }}</h2> {% endif %} <a class="site-title" href="{{ site.url }}"><img src="{{ site.icon }}" class="site-icon-small">{{ site.title }}</a>, in {{ page.date | date_to_long_string }} </div> <div id="nav-icon" style="bottom: 60px;"> <a class="scroll" data-speed="1000" href="#article"><span class="genericon genericon-expand"></span></a> </div> </header> <div id="article"> {{ content }} </div> {% for post in site.related_posts limit:1 %} <footer class="{% if post.dark %}dark{% else %}clean{% endif %}" style="background-image: url({% if post.image %}{{ post.image }}{% else %}{{ site.cover }}{% endif %});{% if post.background_position %} background-position: {{ post.background_position }};{% endif %}height: 75%; min-height: 500px;"> <div id="nav-icon" style="top: 25px;"> <a class="scroll" data-speed="1000" href="#article"><span class="genericon genericon-collapse"></span></a> </div> <div id="post-info"> <h3>Featured post</h3> <a href="{{ post.url }}"> <h1>{{ post.title }}</h1> {% if post.quote %} <h2>{{ post.quote }}</h2> {% endif %} </a> </div> <p class="copyright">&copy;{{ site.time | date: "%Y" }}, <a href="{{ site.copyright.url }}" target="_blank">{{ site.copyright.author }}</a>. <a href="{{ site.copyright.type_url }}" target="_blank">{{ site.copyright.type_title }}</a>.</p> </footer> {% endfor %} <script src="/assets/js/smooth-scroll.js"></script>
yenpeng/yenpeng.github.io
_layouts/post.html
HTML
mit
2,251
<load target="./../../../../common/js/jquery.min.js" index="-1000000" /> <load target="./../../../../common/js/xe.min.js" index="-1000000" /> <load target="css/msignup.css" /> <load target="../../tpl/js/signup_check.js" /> <div class="bd"> <div class="hx h2"> <h2>{$lang->cmd_signup}</h2> </div> <div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/skins/default/modify_info/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}"> <p>{$XE_VALIDATOR_MESSAGE}</p> </div> <form ruleset="@insertMember" id="fo_insert_member" class="ff" action="./" method="post" enctype="multipart/form-data"> <input type="hidden" name="module" value="member" /> <input type="hidden" name="act" value="procMemberInsert" /> <input type="hidden" name="xe_validator_id" value="modules/member/skins/default/modify_info/1" /> <input type="hidden" name="success_return_url" value="{getUrl('act','dispMemberInfo')}" /> <!--@if(!$is_logged && $member_config->agreement)--> <div class="agreement"> <div class="text"> {$member_config->agreement} </div> <div class="confirm"> <input type="checkbox" name="accept_agreement" value="Y" id="accept_agree" /> <label for="accept_agree">{$lang->about_accept_agreement}</label> </div> </div> <!--@end--> <ul> <li> <label for="{$identifierForm->name}">{$identifierForm->title} <em style="color:red">*</em></label> <input type="text"|cond="$identifierForm->name!='email_address'" type="email"|cond="$identifierForm->name=='email_address'" name="{$identifierForm->name}" id="{$identifierForm->name}" value="{$identifierForm->value}" /> </li> <li> <label for="password">{$lang->password} <em style="color:red">*</em></label> <input type="password" name="password" id="password" value=""/> <p class="help-inline">{$lang->about_password_strength[$member_config->password_strength]}</p> </li> <li> <label for="password2">{$lang->password3} <em style="color:red">*</em></label> <input type="password" name="password2" id="password2" value=""/> </li> <li loop="$formTags=>$formTag" cond="$formTag->name != 'signature'"> <label for="{$formTag->name}">{$formTag->title}</label> <div>{$formTag->inputTag}</div> </li> <li> <label>{$lang->allow_mailing}</label> <input type="radio" name="allow_mailing" id="mailingYes" value="Y" checked="checked"|cond="$member_info->allow_mailing == 'Y'" /> <label for="mailingYes">{$lang->cmd_yes}</label> <input type="radio" name="allow_mailing" id="mailingNo" value="N" checked="checked"|cond="$member_info->allow_mailing != 'Y'" /> <label for="mailingNo">{$lang->cmd_no}</label> </li> <li> <label>{$lang->allow_message}</label> <block loop="$lang->allow_message_type=>$key,$val"> <input type="radio" name="allow_message" value="{$key}" checked="checked"|cond="$member_info->allow_message == $key || (!$member_info && $key == 'Y')" id="allow_{$key}" /> <label for="allow_{$key}">{$val}</label> </block> </li> </ul> <div class="bna"> <input type="submit" class="bn dark" value="{$lang->cmd_registration}" /> </div> </form> </div>
talkwithraon/XE4KAIST
xe4kaist/modules/member/m.skins/default/signup_form.html
HTML
apache-2.0
3,139
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Architecture --> <html lang="en"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="ActiveMQ's next generation of messaging" name="description"/> <meta content="messaging,stomp,jms,activemq" name="keywords"/> <meta content="ActiveMQ" name="author"/> <link type="text/css" rel="stylesheet" href="../styles/impact/css/pygmentize.css"/> <link type="text/css" rel="stylesheet" href="../styles/impact/css/site.css"/> <title>ActiveMQ</title> </head> <body> <div id="navigation"> <div class="wrapper"> <ul> <li><a href="../index.html">ActiveMQ Artemis</a></li> </ul> <div></div> </div> </div> <div id="content"> <div class="wrapper"> <div class="logo"> <img src="../images/artemis-logo.png" alt="Artemis Logo"/> </div> <div class="message"> <h1>Apache ActiveMQ Artemis Examples</h1> <p>Apache ActiveMQ Artemis comes with over 90 runnable examples. These can be found in the examples directory in the root of the distribution folder. There are examples covering JMS as well as all the protocols and functionality that Apache ActiveMQ Artemis supports.</p> <p>Each example has its own instructions as to how they can be run, but for most of them it is as simple as running <code>mvn verify</code> from the example directory. This will start a broker with the correct configuration, run the example and then stop the broker. You'll need to ensure there is not a broker already running as this may conflict with the broker that is configured and used in the example.</p> <p>You may also run the example without starting the server by specifying -PnoServer (mvn -PnoServer verify). You can then use your own server for the example.</p> <p>Notice that some examples will require special cases and multiple servers, for example in some Failover tests. Always refer to the README on each example.</p> <div></div> </div> </div> </div> </div> </body> </html>
mnovak1/activemq-artemis
artemis-website/src/main/resources/examples/index.html
HTML
apache-2.0
3,174
<!-- This test asserts that blit-scrolling is disabled when blur is applied on a layer that contains a fixed positioned object. One fixed black bar should be visible at the top of the page. The page should be scrolled 100px and no red should be visible. The rest of the page should be green. --> <!DOCTYPE html> <html> <head> <script> if (window.testRunner) testRunner.waitUntilDone(); </script> <!-- Make sure the mock scrollbars are enabled after the call to overridePreference, otherwise the setting will be overwritten. --> <script src="../../compositing/resources/mock_scrollbars.js"></script> <style> body { margin: 0px; border: 0px; padding: 0px; } #fixedBox { position: fixed; background-color: #000000; height: 100px; width: 100%; -webkit-filter: blur(1px); } #redBox { background-color: red; height: 200px; } #greenBox { background-color: green; height: 1000px; } </style> <script src="../../resources/run-after-layout-and-paint.js"></script> <script type="text/javascript"> function repaintTest() { runAfterLayoutAndPaint(function() { window.scrollTo(0, 100); if (window.testRunner) testRunner.notifyDone(); }); } </script> </head> <body onload="repaintTest()"> <div id="fixedBox"></div> <div id="redBox"></div> <div id="greenBox"></div> </body> </html>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/css3/filters/blur-filter-page-scroll-self.html
HTML
bsd-3-clause
1,831
<!doctype html> <html> <head> <title>Test ScriptProcessorNode</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/webaudio/resources/audit-util.js"></script> <script src="/webaudio/resources/audit.js"></script> </head> <body> <script> // Arbitrary sample rate const sampleRate = 48000; let audit = Audit.createTaskRunner(); audit.define( { label: 'test', description: 'ScriptProcessor with stopped input source' }, (task, should) => { // Two channels for testing. Channel 0 is the output of the // scriptProcessor. Channel 1 is the oscillator so we can compare // the outputs. let context = new OfflineAudioContext({ numberOfChannels: 2, length: sampleRate, sampleRate: sampleRate }); let merger = new ChannelMergerNode( context, {numberOfChannels: context.destination.channelCount}); merger.connect(context.destination); let src = new OscillatorNode(context); // Arbitrary buffer size for the ScriptProcessorNode. Don't use 0; // we need to know the actual size to know the latency of the node // (easily). const spnSize = 512; let spn = context.createScriptProcessor(spnSize, 1, 1); // Arrange for the ScriptProcessor to add |offset| to the input. const offset = 1; spn.onaudioprocess = (event) => { let input = event.inputBuffer.getChannelData(0); let output = event.outputBuffer.getChannelData(0); for (let k = 0; k < output.length; ++k) { output[k] = input[k] + offset; } }; src.connect(spn).connect(merger, 0, 0); src.connect(merger, 0, 1); // Start and stop the source. The stop time is fairly arbitrary, // but use a render quantum boundary for simplicity. const stopFrame = RENDER_QUANTUM_FRAMES; src.start(0); src.stop(stopFrame / context.sampleRate); context.startRendering() .then(buffer => { let ch0 = buffer.getChannelData(0); let ch1 = buffer.getChannelData(1); let shifted = ch1.slice(0, stopFrame).map(x => x + offset); // SPN has a basic latency of 2*|spnSize| fraems, so the // beginning is silent. should( ch0.slice(0, 2 * spnSize - 1), `ScriptProcessor output[0:${2 * spnSize - 1}]`) .beConstantValueOf(0); // For the middle section (after adding latency), the output // should be the source shifted by |offset|. should( ch0.slice(2 * spnSize, 2 * spnSize + stopFrame), `ScriptProcessor output[${2 * spnSize}:${ 2 * spnSize + stopFrame - 1}]`) .beCloseToArray(shifted, {absoluteThreshold: 0}); // Output should be constant after the source has stopped. // Include the latency introduced by the node. should( ch0.slice(2 * spnSize + stopFrame), `ScriptProcessor output[${2 * spnSize + stopFrame}:]`) .beConstantValueOf(offset); }) .then(() => task.done()); }); audit.run(); </script> </body> </html>
scheib/chromium
third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-scriptprocessornode-interface/simple-input-output.html
HTML
bsd-3-clause
3,762
<html> <head> <script> window.onload = function() { document.getElementById("area").focus(); if (!window.eventSender) return; eventSender.zoomPageIn(); eventSender.zoomPageIn(); } </script> </head> <body> This test can be used to ensure that a focus ring is drawn correctly for an imagemap even when the page is zoomed. This test PASSED if a focus ring is drawn around the &lt;area&gt; in the imagemap to the right. <map name="imagemap"> <area id="area" shape="rect" coords="0,0,128,128" href="#dummy" /> </map> <img width="128" height="128" usemap="#imagemap" ismap /> </body> </head> </html>
XiaosongWei/chromium-crosswalk
third_party/WebKit/LayoutTests/fast/images/imagemap-focus-ring-zoom.html
HTML
bsd-3-clause
624
<nav id="nav_menu" class="clearfix navbar navbar-default navbar-static-top affix" role="navigation"> <div id="docsnav"> <ul id="main-nav" class="pull-left"> {% for menu in nav %} {% if menu.title != '**HIDDEN**' %} <li class="dd_menu pull-left{% if menu.active %} active{% endif %}"> {% for first_item in menu.children[:1] %} <a href="{{ first_item.url }}">{{ menu.title }}</a> {% endfor %} <ul class="dd_submenu" style="max-height: 75px;"> {% for menu in menu.children %} <li {% if menu.active %}class="active"{% endif %}> <a href="{{ menu.url }}">{{ menu.title }}</a> </li> {% endfor %} </ul> </li> {% endif %} {% endfor %} </ul> <form id="nav_search" class="pull-right" action="/jsearch/"> <span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span> <input name="q" id="tipue_search_input" type="text" class="search_input search-query ui-autocomplete-input" placeholder="Search the Docs" autocomplete="off"> </form> </div> </nav>
lsm5/docker
docs/theme/mkdocs/nav.html
HTML
apache-2.0
1,112
<!doctype html> <meta charset=utf-8> <title>Canceling a CSS transition</title> <link rel="help" href="https://drafts.csswg.org/css-transitions/#starting"> <!-- TODO: Add a more specific link for this once it is specified. --> <link rel="help" href="https://drafts.csswg.org/css-transitions-2/#csstransition"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="support/helper.js"></script> <div id="log"></div> <script> 'use strict'; promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; await waitForFrame(); assert_not_equals(getComputedStyle(div).marginLeft, '1000px', 'transform style is animated before canceling'); transition.cancel(); assert_equals(getComputedStyle(div).marginLeft, div.style.marginLeft, 'transform style is no longer animated after canceling'); }, 'Animated style is cleared after canceling a running CSS transition'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; transition.cancel(); assert_equals(getComputedStyle(div).marginLeft, '1000px', 'margin-left style is not animated after canceling'); transition.play(); assert_equals(getComputedStyle(div).marginLeft, '0px', 'margin-left style is animated after re-starting transition'); await transition.ready; assert_equals(transition.playState, 'running', 'Transition succeeds in running after being re-started'); }, 'After canceling a transition, it can still be re-used'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; transition.finish(); transition.cancel(); assert_equals(getComputedStyle(div).marginLeft, '1000px', 'margin-left style is not animated after canceling'); transition.play(); assert_equals(getComputedStyle(div).marginLeft, '0px', 'margin-left style is animated after re-starting transition'); await transition.ready; assert_equals(transition.playState, 'running', 'Transition succeeds in running after being re-started'); }, 'After canceling a finished transition, it can still be re-used'); test(t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; transition.cancel(); assert_equals(getComputedStyle(div).marginLeft, '1000px', 'margin-left style is not animated after canceling'); // Trigger a change to a transition property and check that this // doesn't cause the animation to become live again div.style.transitionDuration = '200s'; getComputedStyle(div).marginLeft; assert_equals(getComputedStyle(div).marginLeft, '1000px', 'margin-left style is still not animated after updating' + ' transition-duration'); assert_equals(transition.playState, 'idle', 'Transition is still idle after updating transition-duration'); }, 'After canceling a transition, updating transition properties doesn\'t make' + ' it live again'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; assert_equals(transition.playState, 'running'); div.style.display = 'none'; await waitForFrame(); assert_equals(transition.playState, 'idle'); assert_equals(getComputedStyle(div).marginLeft, '1000px'); }, 'Setting display:none on an element cancels its transitions'); promise_test(async t => { const parentDiv = addDiv(t); const childDiv = document.createElement('div'); parentDiv.appendChild(childDiv); childDiv.setAttribute('style', 'margin-left: 0px'); getComputedStyle(childDiv).marginLeft; childDiv.style.transition = 'margin-left 100s'; childDiv.style.marginLeft = '1000px'; const transition = childDiv.getAnimations()[0]; await transition.ready; assert_equals(transition.playState, 'running'); parentDiv.style.display = 'none'; await waitForFrame(); assert_equals(transition.playState, 'idle'); assert_equals(getComputedStyle(childDiv).marginLeft, '1000px'); }, 'Setting display:none cancels transitions on a child element'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; assert_equals(transition.playState, 'running'); // Set an unrecognized property value div.style.transitionProperty = 'none'; getComputedStyle(div).marginLeft; await waitForFrame(); assert_equals(transition.playState, 'idle'); assert_equals(getComputedStyle(div).marginLeft, '1000px'); }, 'Removing a property from transition-property cancels transitions on that '+ 'property'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; assert_equals(transition.playState, 'running'); div.style.transition = 'margin-left 10s -10s'; // combined duration is zero // Note that simply setting the combined duration to zero is not enough to // cancel the transition. We must also update the end value so that the, // "the end value of the running transition is not equal to the value of the // property in the after-change style" condition is true. // // (And note that the zero combined duration is not strictly necessary to // cancel the original transition--but it does ensure another transition is // not generated in its place.) div.style.marginLeft = '2000px'; getComputedStyle(div).marginLeft; await waitForFrame(); assert_equals(transition.playState, 'idle'); assert_equals(getComputedStyle(div).marginLeft, '2000px'); }, 'Setting zero combined duration'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; assert_equals(transition.playState, 'running'); div.style.marginLeft = '2000px'; getComputedStyle(div).marginLeft; await waitForFrame(); assert_equals(transition.playState, 'idle'); }, 'Changing style to another interpolable value cancels the original ' + 'transition'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; assert_equals(transition.playState, 'running'); div.style.marginLeft = 'auto'; getComputedStyle(div).marginLeft; await waitForFrame(); assert_equals(div.getAnimations().length, 0, 'There should be no transitions'); assert_equals(transition.playState, 'idle'); }, 'An after-change style value can\'t be interpolated'); promise_test(async t => { const div = addDiv(t, { style: 'margin-left: 0px' }); getComputedStyle(div).marginLeft; div.style.transition = 'margin-left 100s'; div.style.marginLeft = '1000px'; const transition = div.getAnimations()[0]; await transition.ready; assert_equals(transition.playState, 'running'); div.style.marginLeft = '0px'; getComputedStyle(div).marginLeft; await waitForFrame(); assert_equals(transition.playState, 'idle'); }, 'Reversing a running transition cancels the original transition'); </script>
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-transitions/CSSTransition-canceling.tentative.html
HTML
bsd-3-clause
8,558
<!DOCTYPE html> <html> <head> <script src="../../../resources/js-test.js"></script> </head> <body> <!-- crbug.com/246300 --> <!-- #host shadow root --> <template id="t"> <style> #host { height: 50px; width: 50px; background: lightgray; } </style> <div id="container"></div> </template> <!-- #container shadow root --> <template id="t2"> <style> div { background: black; height: 40px; width: 40px; } #green { background: green; } </style> <div id="green"></div> </template> <div id="host"></div> </body> <script> description('Test for Issue: 246300: Styles in nested shadows are not recalculated correctly on insertion.'); var backgroundColor; function shouldHaveBackgroundColor(element, bg) { backgroundColor = window.getComputedStyle(element).backgroundColor; shouldBeEqualToString("backgroundColor", bg); } var sr = host.createShadowRoot(); sr.appendChild(t.content.cloneNode(true)); var container = sr.querySelector('#container'); var sr2 = container.createShadowRoot(); sr2.appendChild(t2.content.cloneNode(true)); jsTestIsAsync = true; setTimeout(function() { container.remove(); sr.appendChild(container); shouldHaveBackgroundColor(sr2.getElementById('green'), 'rgb(0, 128, 0)'); finishJSTest(); }, 0); </script> </html>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/fast/dom/shadow/remove-and-insert-style.html
HTML
bsd-3-clause
1,390
<!DOCTYPE html> <html> <head> <title>object-position on images with object-fit:none and smaller images</title> <style type="text/css"> .group > div { display: inline-block; overflow: hidden; width: 100px; height: 100px; margin: 2px 10px; border: 1px solid black; padding: 5px; background-color: gray; } .group > div > div { overflow: hidden; height:100%; } .group > div > div > * { display: block; width:72px; height:36px; } .group > *:nth-child(1) > div > * { margin-left: 28px; } .group > *:nth-child(2) > div > * { margin-top: 64px; } .group > *:nth-child(3) > div > * { margin-left: 10px; margin-top: 80px; } .group > *:nth-child(4) > div > * { margin-left: 56px; margin-top: 32px; } .group > *:nth-child(5) > div > * { margin-left: -28px; margin-top: 32px; } .group > *:nth-child(6) > div > * { margin-left: -7px; margin-top: -10px; } .group > *:nth-child(7) > div > * { margin-left: 72px; } .group > *:nth-child(8) > div > * { margin-top: 72px; } .group > *:nth-child(9) > div > * { margin-left: 300px; } .group > *:nth-child(10) > div > * { margin-left: 300px; } .group > *:nth-child(11) > div > * { margin-left: 30px; margin-top: 30px; } .group > *:nth-child(12) > div > * { margin-left: 20px; margin-top: 32px; } .group > *:nth-child(13) > div > * { margin-left: 14px; margin-top: 48px; } .group > *:nth-child(14) > div > * { margin-left: 16px; margin-top: 44px; } .group > *:nth-child(15) > div > * { margin-left: 14px; margin-top: 32px; } </style> </head> <body> <div class="group"> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> <div><div><img src="resources/circles-landscape-small.png"></div></div> </div> </body> </html>
scheib/chromium
third_party/blink/web_tests/fast/css/object-position-with-fit-none-expected.html
HTML
bsd-3-clause
3,194
<!DOCTYPE html> <script> if (window.testRunner) testRunner.dumpAsText(); </script> <p>PASS if no crash or assertion failure.</p> <div style="backface-visibility:hidden; height:20px;"></div> <div style="-webkit-columns:2;"> <div style="-webkit-columns:2;">&nbsp;</div> </div>
chromium/chromium
third_party/blink/web_tests/fast/multicol/nested-after-composited-layer-crash.html
HTML
bsd-3-clause
291
<html> <title> XHProf Documentation (Draft) </title> <body> <h3>XHProf Documentation (Draft)</h3> <b>Contents</b> <ol> <li><a href="#introduction">Introduction</a></li> <li><a href="#overview">XHProf Overview</a></li> <li><a href="#installation">Installing the XHProf extension</a></li> <li><a href="#using_extension">Profiling using XHProf</a></li> <li><a href="#ui_setup">Setting up the XHProf UI</a></li> <li><a href="#production_notes">Notes on using XHProf in production</a></li> <li><a href="#sampling_mode">Lightweight Sampling Mode</a> <li><a href="#misc">Additional features</a></li> <li><a href="#dependencies">Dependencies</a></li> <li><a href="#credits">Acknowledgements</a></li> </ol> <ol> <li><a name="introduction"><h2>Introduction</h2></a> <p>XHProf is a hierarchical profiler for PHP. It reports function-level call counts and <a href="#inclusive">inclusive</a> and <a href="#exclusive">exclusive</a> metrics such as wall (elapsed) time, CPU time and memory usage. A function's profile can be broken down by callers or callees. The raw data collection component is implemented in C as a PHP Zend extension called <code><b>xhprof</b></code>. XHProf has a simple HTML based user interface (written in PHP). The browser based UI for viewing profiler results makes it easy to view results or to share results with peers. A callgraph image view is also supported. <p>XHProf reports can often be helpful in understanding the structure of the code being executed. The hierarchical nature of the reports can be used to determine, for example, what chain of calls led to a particular function getting called. <p>XHProf supports ability to compare two runs (a.k.a. "diff" reports) or aggregate data from multiple runs. Diff and aggregate reports, much like single run reports, offer "flat" as well as "hierarchical" views of the profile. <p>XHProf is a light-weight instrumentation based profiler. During the data collection phase, it keeps track of call counts and inclusive metrics for arcs in the dynamic callgraph of a program. It computes exclusive metrics in the reporting/post processing phase. XHProf handles recursive functions by detecting cycles in the callgraph at data collection time itself and avoiding the cycles by giving unique depth qualified names for the recursive invocations. </p> <p>XHProf's light-weight nature and aggregation capabilities make it well suited for collecting "function-level" performance statistics from production environments. [See <a href="#production_notes">additional notes</a> for use in production.] <ul> <hr> <p>XHProfLive (not part of the open source kit), for example, is a system-wide performance monitoring system in use at Facebook that is built on top of XHProf. XHProfLive continually gathers function-level profiler data from production tier by running a sample of page requests under XHProf. XHProfLive then aggregates the profile data corresponding to individual requests by various dimensions such as time, page type, and can help answer a variety of questions such as: What is the function-level profile for a specific page? How expensive is function "foo" across all pages, or on a specific page? What functions regressed most in the last hour/day/week? What is the historical trend for execution time of a page/function? and so on. <hr> </ul> <p>Originally developed at Facebook, XHProf was open sourced in Mar, 2009.</p> </ul> <li><a name="overview"><h2>XHProf Overview</h2></a> <p>XHProf provides: <ul> <li><b>Flat profile</b> (<a href="sample-flat-view.jpg" >screenshot</a>) <p>Function-level summary information such as number of calls, inclusive/exclusive wall time, memory usage, and CPU time. <p><li><b>Hierarchical profile (Parent/Child View)</b> (<a href="sample-parent-child-view.jpg" >screenshot</a>) <p>For each function, it provides a breakdown of calls and times per parent (caller) & child (callee), such as: <ul> <li> what functions call a particular function and how many times? <li> what functions does a particular function call? <li> The total time spent under a function when called from a particular parent. </ul> <p><li><b>Diff Reports</b> <p>You may want to compare data from two XHProf runs for various reasons-- to figure out what's causing a regression between one version of the code base to another, to evaluate the performance improvement of a code change you are making, and so on. <p>A diff report takes two runs as input and provides both flat function-level diff information, and hierarchical information (breakdown of diff by parent/children functions) for each function. <p>The "flat" view (<a href="sample-diff-report-flat-view.jpg" >sample screenshot</a>) in the diff report points out the top regressions & improvements. <p>Clicking on functions in the "flat" view of the diff report, leads to the "hierarchical" (or parent/child) diff view of a function (<a href="sample-diff-report-parent-child-view.jpg" >sample screenshot</a>). We can get a breakdown of the diff by parent/children functions. <p><li><b>Callgraph View</b> (<a href="sample-callgraph-image.jpg" >sample screenshot</a>) <p>The profile data can also be viewed as a callgraph. The callgraph view highlights the critical path of the program. <p><li><b>Memory Profile</b> <p>XHProf's memory profile mode helps track functions that allocate lots of memory. <p>It is worth clarifying that that XHProf doesn't strictly track each allocation/free operation. Rather it uses a more simplistic scheme. It tracks the increase/decrease in the amount of memory allocated to PHP between each function's entry and exit. It also tracks increase/decrease in the amount of <b>peak</b> memory allocated to PHP for each function. <li>XHProf tracks <code>include, include_once, require and require_once</code> operations as if they were functions. The name of the file being included is used to generate the name for these <a href="#include_funcs">"fake" functions</a>. </ul> <a name="Terminology"></a><h2>Terminology</h2> <ol> <a name="inclusive"></a><li><b>Inclusive Time (or Subtree Time)</b>: Includes time spent in the function as well as in descendant functions called from a given function. <a name="exclusive"></a><li><b>Exclusive Time/Self Time</b>: Measures time spent in the function itself. Does not include time in descendant functions. <li><b>Wall Time</b>: a.k.a. Elapsed time or wall clock time. <li><b>CPU Time</b>: CPU time in user space + CPU time in kernel space </ol> <a name="Naming_convention_for_special_functions"></a><h2>Naming convention for special functions</h2> <ol> <p><li><code><b>main()</b></code>: a fictitious function that is at the root of the call graph. <a name="include_funcs"></a> <p><li><code><b>load::&lt;filename&gt;</b></code> and <code><b>run_init::&lt;filename&gt;</b></code>: <p>XHProf tracks PHP <code>include/require</code> operations as function calls. <p>For example, an <b>include "lib/common.php";</b> operation will result in two XHProf function entries: <ul> <li> <code><b>load::lib/common.php</b></code> - This represents the work done by the interpreter to compile/load the file. [Note: If you are using a PHP opcode cache like APC, then the compile only happens on a cache miss in APC.] <li> <code><b>run_init::lib/common.php</b></code> - This represents initialization code executed at the file scope as a result of the include operation. </ul> <p><li><code><b>foo@&lt;n&gt;</b></code>: Implies that this is a recursive invocation of <code>foo()</code>, where <code>&lt;n&gt;</code> represents the recursion depth. The recursion may be direct (such as due to <code>foo()</code> --&gt; <code>foo()</code>), or indirect (such as due to </code>foo()</code> --&gt; <code>goo()</code> --&gt; foo()). </ol> <a name="Limitations"></a><h2>Limitations</h2> <p>True hierarchical profilers keep track of a full call stack at every data gathering point, and are later able to answer questions like: what was the cost of the 3rd invokation of foo()? or what was the cost of bar() when the call stack looked like a()-&gt;b()-&gt;bar()? </p> <p>XHProf keeps track of only 1-level of calling context and is therefore only able to answer questions about a function looking either 1-level up or 1-level down. It turns out that in practice this is sufficient for most use cases. </p> <p>To make this more concrete, take for instance the following example. </p> <pre> Say you have: 1 call from a() --&gt; c() 1 call from b() --&gt; c() 50 calls from c() --&gt; d() </pre> <p>While XHProf can tell you that d() was called from c() 50 times, it cannot tell you how many of those calls were triggered due to a() vs. b(). [We could speculate that perhaps 25 were due to a() and 25 due to b(), but that's not necessarily true.] </p> <p>In practice however, this isn't a very big limitation. </p> <li><a name="installation"><h2>Installing the XHProf Extension</h2></a> <p> The extension lives in the "extension/" sub-directory. <ul><hr> <p><b>Note:</b> A windows port hasn't been implemented yet. We have tested <code>xhprof</code> on <b>Linux/FreeBSD</b> so far. <p>Version 0.9.2 and above of XHProf is also expected to work on <b>Mac OS</b>. [We have tested on Mac OS 10.5.] <p><b>Note:</b> XHProf uses the RDTSC instruction (time stamp counter) to implement a really low overhead timer for elapsed time. So at the moment <code>xhprof</code> only works on <b>x86</b> architecture. Also, since RDTSC values may not be synchronized across CPUs, <code>xhprof</code> binds the program to a single CPU during the profiling period. <p>XHProf's RDTSC based timer functionality doesn't work correctly if <b>SpeedStep</b> technology is turned on. This technology is available on some Intel processors. [Note: Mac desktops and laptops typically have SpeedStep turned on by default. To use XHProf, you'll need to disable SpeedStep.] <hr></ul> <p> The steps below should work for Linux/Unix environments. <pre> % cd &lt;xhprof_source_directory&gt;/extension/ % phpize % ./configure --with-php-config=&lt;path to php-config&gt; % make % make install % make test </pre> <p><a name="ini_file"></a><b>php.ini file</b>: You can update your php.ini file to automatically load your extension. Add the following to your php.ini file. <pre> [xhprof] extension=xhprof.so ; ; directory used by default implementation of the iXHProfRuns ; interface (namely, the XHProfRuns_Default class) for storing ; XHProf runs. ; xhprof.output_dir=&lt;directory_for_storing_xhprof_runs&gt; </pre> <li><a name="using_extension"><h2>Profiling using XHProf</h2></a> <p>Test generating raw profiler data using a sample test program like: <ul> <p><b>foo.php</b> <pre> &lt;?php function bar($x) { if ($x > 0) { bar($x - 1); } } function foo() { for ($idx = 0; $idx < 2; $idx++) { bar($idx); $x = strlen("abc"); } } // start profiling <b>xhprof_enable();</b> // run program foo(); // stop profiler <b>$xhprof_data = xhprof_disable();</b> // display raw xhprof data for the profiler run print_r($xhprof_data); </pre> </ul> <p><b>Run the above test program:</b> <pre> % php -dextension=xhprof.so foo.php </pre> <p><b>You should get an output like:</b> <pre> Array ( [foo==>bar] => Array ( [ct] => 2 # 2 calls to bar() from foo() [wt] => 27 # inclusive time in bar() when called from foo() ) [foo==>strlen] => Array ( [ct] => 2 [wt] => 2 ) [bar==>bar@1] => Array # a recursive call to bar() ( [ct] => 1 [wt] => 2 ) [main()==>foo] => Array ( [ct] => 1 [wt] => 74 ) [main()==>xhprof_disable] => Array ( [ct] => 1 [wt] => 0 ) [main()] => Array # fake symbol representing root ( [ct] => 1 [wt] => 83 ) ) </pre> <p><b>Note:</b> The raw data only contains "inclusive" metrics. For example, the wall time metric in the raw data represents inclusive time in microsecs. Exclusive times for any function are computed during the analysis/reporting phase. <p><b>Note:</b> By default only call counts & elapsed time is profiled. You can optionally also profile CPU time and/or memory usage. Replace, <ul><pre> <b>xhprof_enable();</b> </pre></ul> in the above program with, for example: <ul><pre> <b>xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY)</b>; </pre></ul> <p><b>You should now get an output like:</b> <pre> Array ( [foo==>bar] => Array ( [ct] => 2 # number of calls to bar() from foo() [wt] => 37 # time in bar() when called from foo() [cpu] => 0 # cpu time in bar() when called from foo() [mu] => 2208 # change in PHP memory usage in bar() when called from foo() [pmu] => 0 # change in PHP peak memory usage in bar() when called from foo() ) [foo==>strlen] => Array ( [ct] => 2 [wt] => 3 [cpu] => 0 [mu] => 624 [pmu] => 0 ) [bar==>bar@1] => Array ( [ct] => 1 [wt] => 2 [cpu] => 0 [mu] => 856 [pmu] => 0 ) [main()==>foo] => Array ( [ct] => 1 [wt] => 104 [cpu] => 0 [mu] => 4168 [pmu] => 0 ) [main()==>xhprof_disable] => Array ( [ct] => 1 [wt] => 1 [cpu] => 0 [mu] => 344 [pmu] => 0 ) [main()] => Array ( [ct] => 1 [wt] => 139 [cpu] => 0 [mu] => 5936 [pmu] => 0 ) ) </pre> <p><b>Skipping builtin functions during profiling</b> <p>By default PHP builtin functions (such as <code>strlen</code>) are profiled. If you do not want to profile builtin functions (to either reduce the overhead of profiling further or size of generated raw data), you can use the <code><b>XHPROF_FLAGS_NO_BUILTINS</b></code> flag as in for example: <ul><pre> // do not profile builtin functions <b>xhprof_enable(XHPROF_FLAGS_NO_BUILTINS)</b>; </pre></ul> <p><b>Ignoring specific functions during profiling (0.9.2 or higher)</b> <p>Starting with release 0.9.2 of xhprof, you can tell XHProf to ignore a specified list of functions during profiling. This allows you to ignore, for example, functions used for indirect function calls such as <code>call_user_func</code> and <code>call_user_func_array</code>. These intermediate functions unnecessarily complicate the call hierarchy and make the XHProf reports harder to interpret since they muddle the parent-child relationship for functions called indirectly. <p> To specify the list of functions to be ignored during profiling use the 2nd (optional) argument to <code>xhprof_enable</code>. For example, <pre> <ul><pre> <b> // elapsed time profiling; ignore call_user_func* during profiling xhprof_enable(0, array('ignored_functions' => array('call_user_func', 'call_user_func_array'))); </b> or, <b> // elapsed time + memory profiling; ignore call_user_func* during profiling xhprof_enable(XHPROF_FLAGS_MEMORY, array('ignored_functions' => array('call_user_func', 'call_user_func_array'))); </b> </pre></ul> </li> <li><a name="ui_setup"><h2>Setting up XHProf UI</h2></a> <ol> <li><b>PHP source structure</b> <p>The XHProf UI is implemented in PHP. The code resides in two subdirectories, <code>xhprof_html/</code> and <code>xhprof_lib/</code>. <p>The <code>xhprof_html</code> directory contains the 3 top-level PHP pages. <ul> <li><code>index.php</code>: For viewing a single run or diff report. <li><code>callgraph.php</code>: For viewing a callgraph of a XHProf run as an image. <li><code>typeahead.php</code>: Used implicitly for the function typeahead form on a XHProf report. </ul> <p>The <code>xhprof_lib</code> directory contains supporting code for display as well as analysis (computing flat profile info, computing diffs, aggregating data from multiple runs, etc.). <li><p><b>Web server config: </b> You'll need to make sure that the <code>xhprof_html/</code> directory is accessible from your web server, and that your web server is setup to serve PHP scripts. <li><p><b>Managing XHProf Runs</b> <p>Clients have flexibility in how they save the XHProf raw data obtained from an XHProf run. The XHProf UI layer exposes an interface iXHProfRuns (see xhprof_lib/utils/xhprof_runs.php) that clients can implement. This allows the clients to tell the UI layer how to fetch the data corresponding to a XHProf run. <p>The XHProf UI libaries come with a default file based implementation of the iXHProfRuns interface, namely "XHProfRuns_Default" (also in xhprof_lib/utils/xhprof_runs.php). This default implementation stores runs in the directory specified by <a href="#ini_file"><b>xhprof.output_dir</b></a> INI parameter. <p>A XHProf run must be uniquely identified by a namespace and a run id. <p><b>a) Saving XHProf data persistently</b>: <p>Assuming you are using the default implementation <code><b>XHProfRuns_Default</b></code> of the <code><b>iXHProfRuns</b></code> interface, a typical XHProf run followed by the save step might look something like: <pre> // start profiling xhprof_enable(); // run program .... // stop profiler $xhprof_data = xhprof_disable(); // // Saving the XHProf run // using the default implementation of iXHProfRuns. // include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_lib.php"; include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_runs.php"; $xhprof_runs = new <b>XHProfRuns_Default()</b>; // Save the run under a namespace "xhprof_foo". // // **NOTE**: // By default save_run() will automatically generate a unique // run id for you. [You can override that behavior by passing // a run id (optional arg) to the save_run() method instead.] // <b>$run_id = $xhprof_runs->save_run($xhprof_data, "xhprof_foo");</b> echo "---------------\n". "Assuming you have set up the http based UI for \n". "XHProf at some address, you can view run at \n". "http://&lt;xhprof-ui-address&gt;/index.php?run=$run_id&source=xhprof_foo\n". "---------------\n"; </pre> <p>The above should save the run as a file in the directory specified by the <code><b>xhprof.output_dir</b></code> INI parameter. The file's name might be something like <b><code>49bafaa3a3f66.xhprof_foo</code></b>; the two parts being the run id ("49bafaa3a3f66") and the namespace ("xhprof_foo"). [If you want to create/assign run ids yourself (such as a database sequence number, or a timestamp), you can explicitly pass in the run id to the <code>save_run</code> method. <p><b>b) Using your own implementation of iXHProfRuns</b> <p> If you decide you want your XHProf runs to be stored differently (either in a compressed format, in an alternate place such as DB, etc.) database, you'll need to implement a class that implements the iXHProfRuns() interface. <p> You'll also need to modify the 3 main PHP entry pages (index.php, callgraph.php, typeahead.php) in the "xhprof_html/" directory to use the new class instead of the default class <code>XHProfRuns_Default</code>. Change this line in the 3 files. <pre> $xhprof_runs_impl = new XHProfRuns_Default(); </pre> <p>You'll also need to "include" the file that implements your class in the above files. <li><p><b>Accessing runs from UI</b> <p><b>a) Viewing a Single Run Report</b> <p>To view the report for run id say &lt;run_id&gt; and namespace &lt;namespace&gt; use a URL of the form: <p><code> http://&lt;xhprof-ui-address&gt;/index.php?run=&lt;run_id&gt;&source=&lt;namespace&gt; </code> <p>For example, <p><code> http://&lt;xhprof-ui-address&gt;/index.php?run=49bafaa3a3f66&source=xhprof_foo </code> <p><b>b) Viewing a Diff Report</b> <p>To view the report for run ids say &lt;run_id1&gt; and &lt;run_id2&gt; in namespace &lt;namespace&gt; use a URL of the form: <p><code> http://&lt;xhprof-ui-address&gt;/index.php?<b>run1=&lt;run_id1&gt;&run2=&lt;run_id2&gt;</b>&source=&lt;namespace&gt; </code> <p><b>c) Aggregate Report</b> <p>You can also specify a set of run ids for which you want an aggregated view/report. <p>Say you have three XHProf runs with ids 1, 2 & 3 in namespace "benchmark". To view an aggregate report of these runs: <ul><p><code> http://&lt;xhprof-ui-address&gt;/index.php?<b>run=1,2,3</b>&source=benchmark </code></p></ul> <p><b>Weighted aggregations</b>: Further suppose that the above three runs correspond to three types of programs p1.php, p2.php and p3.php that typically occur in a mix of 20%, 30%, 50% respectively. To view an aggregate report that corresponds to a weighted average of these runs using: <ul><p><code> http://&lt;xhprof-ui-address&gt;/index.php?<b>run=1,2,3&wts=20,30,50</b>&source=benchmark </code></p></ul> </ol> <li><a name="production_notes"><h2>Notes on using XHProf in production</h2></a> <p>Some observations/guidelines. Your mileage may vary: <ul> <li>CPU timer (getrusage) on Linux has high overheads. It is also coarse grained (millisec accuracy rather than microsec level) to be useful at function level. Therefore, the skew in reported numbers when using XHPROF_FLAGS_CPU mode tends to be higher. <p>We recommend using elapsed time + memory profiling mode in production. [Note: The additional overhead of memory profiling mode is really low.] <p><ul><pre><b> // elapsed time profiling (default) + memory profiling xhprof_enable(XHPROF_FLAGS_MEMORY); </b></pre> </ul></p> <li>Profiling a random sample of pages/requests works well in capturing data that is representative of your production workload. <p>To profile say 1/10000 of your requests, instrument the beginning of your request processing with something along the lines of: <p><ul><pre><code> if (mt_rand(1, 10000) == 1) { xhprof_enable(XHPROF_FLAGS_MEMORY); $xhprof_on = true; } </code></pre></ul></p> <p>At the end of the request (or in a request shutdown function), you might then do something like: <p><ul><pre><code> if ($xhprof_on) { // stop profiler $xhprof_data = xhprof_disable(); // save $xhprof_data somewhere (say a central DB) ... } </code></pre></ul></p> <p> You can then rollup/aggregate these individual profiles by time (e.g., 5 minutely/hourly/daily basis), page/request type,or other dimensions using <a href="#xhprof_aggregate_runs"><code><b>xhprof_aggregate_runs()</b></code></a>. </ul> <li><a name="sampling_mode"><h2>Lightweight Sampling Mode</h2></a> <p>The xhprof extension also provides a very light weight <b>sampling mode</b>. The sampling interval is 0.1 secs. Samples record the full function call stack. The sampling mode can be useful if an extremely low overhead means of doing performance monitoring and diagnostics is desired. <p> The relevant functions exposed by the extension for using the sampling mode are <code><b>xhprof_sample_enable()</b></code> and <code><b>xhprof_sample_disable()</b></code>. <p>[<b>TBD</b>: more detailed documentation on sampling mode.] <li><a name="misc"><h2>Additional Features</h2></a></li> <p>The <code><b>xhprof_lib/utils/xhprof_lib.php</b></code> file contains additional library functions that can be used for manipulating/ aggregating XHProf runs. <p>For example: <ul> <a name="xhprof_aggregate_runs"></a> <p><li><code><b>xhprof_aggregate_runs()</b></code>: can be used to aggregate multiple XHProf runs into a single run. This can be helpful for building a system-wide "function-level" performance monitoring tool using XHProf. [For example, you might to roll up XHProf runs sampled from production periodically to generate hourly, daily, reports.] <p><li><code><b>xhprof_prune_run()</b></code>: Aggregating large number of XHProf runs (especially if they correspond to different types of programs) can result in the callgraph size becoming too large. You can use <code>xhprof_prune_run</code> function to prune the callgraph data by editing out subtrees that account for a very small portion of the total time. </ul> <ol> </ol> <li><a name="dependencies"><h2>Dependencies</h2></a></li> <ul> <li><b>JQuery Javascript</b>: For tooltips and function name typeahead, we make use of JQuery's javascript libraries. JQuery is available under both a MIT and GPL licencse (http://docs.jquery.com/Licensing). The relevant JQuery code, used by XHProf, is in the <code>xhprof_html/jquery</code> subdirectory. <li><b>dot (image generation utility):</b> The callgraph image visualization ([View Callgraph]) feature relies on the presence of Graphviz "dot" utility in your path. "dot" is a utility to draw/generate an image for a directed graph. </ul> <li><a name="credits"><h2>Acknowledgements</h2></a> <p>The HTML-based navigational interface for browsing profiler results is inspired by that of a similar tool that exists for Oracle's stored procedure language, PL/SQL. But that's where the similarity ends; the internals of the profiler itself are quite different. </li> </ol> </body> </html>
ryanaslett/xhprof
xhprof_html/docs/index.html
HTML
apache-2.0
25,313
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Windows</title> <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css"/> <!-- GC --> <script type="text/javascript" src="../../ext-all.js"></script> </head> <body> <script type="text/javascript" charset="utf-8"> Ext.require([ 'Ext.button.Button', 'Ext.layout.container.Border', 'Ext.window.MessageBox' ]); Ext.onReady(function() { Ext.create('Ext.button.Button', { renderTo: Ext.getBody(), text: 'My Button' }); Ext.create('Ext.window.Window', { height: 400, width: 500, title: 'My Window', minWidth: 300, minHeight: 200, modal: true, layout: 'border', items: [ { xtype: 'panel', region: 'west', width: 150, split: true, html: 'This is a panel' }, { xtype: 'panel', region: 'center', html: 'In the center' } ], buttons: [ { text: 'My Button', handler: function() { Ext.Msg.alert('You clicked', 'Do NOT click the button'); } } ] }).show(); }); </script> </body> </html>
rch/flask-openshift
wsgi/container/pkgs/sencha/static/ext-4.2.2.1144/examples/videos/window.html
HTML
mit
1,830
<!DOCTYPE html> <title>Canvas test: 2d.line.miter.acute</title> <script src="../tests.js"></script> <link rel="stylesheet" href="../tests.css"> <body> <p id="passtext">Pass</p> <p id="failtext">Fail</p> <p class="output">These images should be identical:</p> <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas> <p class="output expectedtext">Expected output:<p><img src="green-100x50.png" class="output expected" id="expected" alt=""> <ul id="d"></ul> <script> _addTest(function(canvas, ctx) { ctx.fillStyle = '#f00'; ctx.fillRect(0, 0, 100, 50); ctx.lineWidth = 200; ctx.lineJoin = 'miter'; ctx.strokeStyle = '#0f0'; ctx.miterLimit = 2.614; ctx.beginPath(); ctx.moveTo(100, 1000); ctx.lineTo(100, 100); ctx.lineTo(1000, 1000); ctx.stroke(); ctx.strokeStyle = '#f00'; ctx.miterLimit = 2.613; ctx.beginPath(); ctx.moveTo(100, 1000); ctx.lineTo(100, 100); ctx.lineTo(1000, 1000); ctx.stroke(); _assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255"); _assertPixel(canvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255"); _assertPixel(canvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255"); _assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255"); }); </script>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/canvas/philip/tests/2d.line.miter.acute.html
HTML
bsd-3-clause
1,229
<!DOCTYPE html> <html> <head> <script type="text/javascript"> function go() { document.getElementById('sel1').style.display = ''; if (window.testRunner) window.testRunner.notifyDone(); } function main() { if (window.testRunner) window.testRunner.waitUntilDone(); setTimeout(go, 0); } </script> </head> <body onload="main();"> <table border='1'> <tr> <td><select id="sel1" style="display: none;"><option label="test"></select></td> </tr> </table> <p>The select element in the table above must not spill outside of the table.</p> </body> </html>
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/fast/forms/select/select-dirty-parent-pref-widths.html
HTML
bsd-3-clause
675
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script> <script> $('.dropdown-toggle').dropdown() /** * bootbox.js v3.0.0 * * http://bootboxjs.com/license.txt */ var bootbox=window.bootbox||function(v,n){function h(b,a){null==a&&(a=r);return"string"===typeof l[a][b]?l[a][b]:a!=s?h(b,s):b}var r="en",s="en",t=!0,q="static",u="",g={},m={setLocale:function(b){for(var a in l)if(a==b){r=b;return}throw Error("Invalid locale: "+b);},addLocale:function(b,a){"undefined"===typeof l[b]&&(l[b]={});for(var c in a)l[b][c]=a[c]},setIcons:function(b){g=b;if("object"!==typeof g||null==g)g={}},alert:function(){var b="",a=h("OK"),c=null;switch(arguments.length){case 1:b=arguments[0]; break;case 2:b=arguments[0];"function"==typeof arguments[1]?c=arguments[1]:a=arguments[1];break;case 3:b=arguments[0];a=arguments[1];c=arguments[2];break;default:throw Error("Incorrect number of arguments: expected 1-3");}return m.dialog(b,{label:a,icon:g.OK,callback:c},{onEscape:c||!0})},confirm:function(){var b="",a=h("CANCEL"),c=h("CONFIRM"),e=null;switch(arguments.length){case 1:b=arguments[0];break;case 2:b=arguments[0];"function"==typeof arguments[1]?e=arguments[1]:a=arguments[1];break;case 3:b= arguments[0];a=arguments[1];"function"==typeof arguments[2]?e=arguments[2]:c=arguments[2];break;case 4:b=arguments[0];a=arguments[1];c=arguments[2];e=arguments[3];break;default:throw Error("Incorrect number of arguments: expected 1-4");}var j=function(){"function"===typeof e&&e(!1)};return m.dialog(b,[{label:a,icon:g.CANCEL,callback:j},{label:c,icon:g.CONFIRM,callback:function(){"function"===typeof e&&e(!0)}}],{onEscape:j})},prompt:function(){var b="",a=h("CANCEL"),c=h("CONFIRM"),e=null,j="";switch(arguments.length){case 1:b= arguments[0];break;case 2:b=arguments[0];"function"==typeof arguments[1]?e=arguments[1]:a=arguments[1];break;case 3:b=arguments[0];a=arguments[1];"function"==typeof arguments[2]?e=arguments[2]:c=arguments[2];break;case 4:b=arguments[0];a=arguments[1];c=arguments[2];e=arguments[3];break;case 5:b=arguments[0];a=arguments[1];c=arguments[2];e=arguments[3];j=arguments[4];break;default:throw Error("Incorrect number of arguments: expected 1-5");}var d=n("<form></form>");d.append("<input autocomplete=off type=text value='"+ j+"' />");var j=function(){"function"===typeof e&&e(null)},k=m.dialog(d,[{label:a,icon:g.CANCEL,callback:j},{label:c,icon:g.CONFIRM,callback:function(){"function"===typeof e&&e(d.find("input[type=text]").val())}}],{header:b,show:!1,onEscape:j});k.on("shown",function(){d.find("input[type=text]").focus();d.on("submit",function(a){a.preventDefault();k.find(".btn-primary").click()})});k.modal("show");return k},dialog:function(b,a,c){var e="",j=[];c=c||{};null==a?a=[]:"undefined"==typeof a.length&&(a= [a]);for(var d=a.length;d--;){var k=null,g=null,h=null,l="",m=null;if("undefined"==typeof a[d].label&&"undefined"==typeof a[d]["class"]&&"undefined"==typeof a[d].callback){var k=0,g=null,p;for(p in a[d])if(g=p,1<++k)break;1==k&&"function"==typeof a[d][p]&&(a[d].label=g,a[d].callback=a[d][p])}"function"==typeof a[d].callback&&(m=a[d].callback);a[d]["class"]?h=a[d]["class"]:d==a.length-1&&2>=a.length&&(h="btn-primary");k=a[d].label?a[d].label:"Option "+(d+1);a[d].icon&&(l="<i class='"+a[d].icon+"'></i> "); g=a[d].href?a[d].href:"javascript:;";e="<a data-handler='"+d+"' class='btn "+h+"' href='"+g+"'>"+l+""+k+"</a>"+e;j[d]=m}d=["<div class='bootbox modal' tabindex='-1' style='overflow:hidden;'>"];if(c.header){h="";if("undefined"==typeof c.headerCloseButton||c.headerCloseButton)h="<a href='javascript:;' class='close'>&times;</a>";d.push("<div class='modal-header'>"+h+"<h3>"+c.header+"</h3></div>")}d.push("<div class='modal-body'></div>");e&&d.push("<div class='modal-footer'>"+e+"</div>");d.push("</div>"); var f=n(d.join("\n"));("undefined"===typeof c.animate?t:c.animate)&&f.addClass("fade");(e="undefined"===typeof c.classes?u:c.classes)&&f.addClass(e);f.find(".modal-body").html(b);f.on("hidden",function(){f.remove()});f.on("keyup.dismiss.modal",function(a){if(27==a.which&&c.onEscape){if("function"===typeof c.onEscape)c.onEscape();f.modal("hide")}});f.on("shown",function(){f.find("a.btn-primary:first").focus()});f.on("click",".modal-footer a, a.close",function(b){var c=n(this).data("handler"),d=j[c], e=null;"undefined"!==typeof c&&"undefined"!==typeof a[c].href||(b.preventDefault(),"function"==typeof d&&(e=d()),!1!==e&&f.modal("hide"))});n("body").append(f);f.modal({backdrop:"undefined"===typeof c.backdrop?q:c.backdrop,keyboard:!1,show:!1});f.on("show",function(){n(v).off("focusin.modal")});("undefined"===typeof c.show||!0===c.show)&&f.modal("show");return f},modal:function(){var b,a,c,e={onEscape:null,keyboard:!0,backdrop:q};switch(arguments.length){case 1:b=arguments[0];break;case 2:b=arguments[0]; "object"==typeof arguments[1]?c=arguments[1]:a=arguments[1];break;case 3:b=arguments[0];a=arguments[1];c=arguments[2];break;default:throw Error("Incorrect number of arguments: expected 1-3");}e.header=a;c="object"==typeof c?n.extend(e,c):e;return m.dialog(b,[],c)},hideAll:function(){n(".bootbox").modal("hide")},animate:function(b){t=b},backdrop:function(b){q=b},classes:function(b){u=b}},l={en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},fr:{OK:"OK",CANCEL:"Annuler",CONFIRM:"D'accord"},de:{OK:"OK",CANCEL:"Abbrechen", CONFIRM:"Akzeptieren"},es:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Aceptar"},br:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Sim"},nl:{OK:"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},ru:{OK:"OK",CANCEL:"\u041e\u0442\u043c\u0435\u043d\u0430",CONFIRM:"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c"},it:{OK:"OK",CANCEL:"Annulla",CONFIRM:"Conferma"}};return m}(document,window.jQuery);window.bootbox=bootbox; $("form").submit(function(ev) { bootbox.confirm("Are you sure?", function(result) { if (result) { ev.target.submit(); } }); return false; }); $('.rate').each(function() { var self = this; $.getJSON("/graphite_data", { metric: "rate", target: $(this).attr("target") }, function(rate) { $(self).html(rate.datapoint); }); }); $('.conn-counts').each(function() { $(this).on('click', function(ev) { ev.preventDefault(); $(this).next().toggle(); }); }); </script>
xiaozhen1900/nsq
nsqadmin/templates/js.html
HTML
mit
6,377
<div> Lance un script Shell (par défaut à l'aide de <tt>sh</tt>, mais cela est configurable) pour construire le projet. Le script sera lancé avec le workspace comme répertoire courant. Entrez le contenu de votre script shell. Si votre script n'a pas de ligne de titre du type <tt>#!/bin/sh</tt>, alors le shell configuré pour l'ensemble du système sera utilisé. Si votre script contient une telle ligne, vous pourrez utiliser un autre langage de script (comme <tt>#!/bin/perl</tt>) ou contrôler les options que le shell utilise. <p> Par défaut, le shell sera invoqué avec l'option "-ex". Par conséquent, toutes les commandes seront affichées avant d'être exécutées et le build sera considéré en èchec si l'une de ces commandes renvoie un code de retour différent de zéro. Encore une fois, vous pouvez ajouter la ligne <tt>#!/bin/...</tt> pour modifier ce comportement. <p> Une bonne pratique est de ne pas mettre un long script ici. A la place, pensez à ajouter le script shell dans l'outil de gestion de configuration et appelez simplement ce script depuis Jenkins. Ainsi, vous garderez trace des changements apportés à votre script. </div>
tangkun75/jenkins
core/src/main/resources/hudson/tasks/Shell/help_fr.html
HTML
mit
1,197
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline'; script-src 'none'"> <script> if (window.testRunner) { testRunner.dumpAsText(); } </script> <script> alert('PASS (1/1)'); </script> </head> <body> <p> This tests the effect of duplicated directives. It passes if a console warning is visible, and the alert() is executed. </p> </body> </html>
scheib/chromium
third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/duplicate-directive.html
HTML
bsd-3-clause
537
<!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 - Language - Comma decimal place</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.11.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"> $(document).ready(function() { $('#example').DataTable( { "language": { "decimal": ",", "thousands": "." } } ); } ); </script> </head> <body class="dt-example"> <div class="container"> <section> <h1>DataTables example <span>Language - Comma decimal place</span></h1> <div class="info"> <p>A dot (<code>.</code>) is used to mark the decimal place in Javascript, however, <a href="http://en.wikipedia.org/wiki/Decimal_mark">many parts of the world use a comma</a> (<code>,</code>) and other characters such as the Unicode decimal separator (<code>&#9110;</code>) or a dash (<code>-</code>) are often used to show the decimal place in a displayed number.</p> <p>When reading such numbers, Javascript won't automatically recognise them as numbers, however, DataTables' type detection and sorting methods can be instructed through the <a href="//datatables.net/reference/option/language.decimal"><code class="option" title="DataTables initialisation option">language.decimal</code></a> option which character is used as the decimal place in your numbers. This will be used to correctly adjust DataTables' type detection and sorting algorithms to sort numbers in your table.</p> <p>Any character can be passed in using the <a href="//datatables.net/reference/option/language.decimal"><code class="option" title= "DataTables initialisation option">language.decimal</code></a> option, although the decimal place character used in a single table must be consistent (i.e. numbers with a dot decimal place and comma decimal place cannot both appear in the same table). Different tables on the same page can use different decimal characters if required.</p> <p>The example below shows a comma being used as the decimal place in the currency numbers shown in the final column.</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>$320.800,00</td> </tr> <tr> <td>Garrett Winters</td> <td>Accountant</td> <td>Tokyo</td> <td>63</td> <td>2011/07/25</td> <td>$170.750,00</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>$86.000,00</td> </tr> <tr> <td>Cedric Kelly</td> <td>Senior Javascript Developer</td> <td>Edinburgh</td> <td>22</td> <td>2012/03/29</td> <td>$433.060,00</td> </tr> <tr> <td>Airi Satou</td> <td>Accountant</td> <td>Tokyo</td> <td>33</td> <td>2008/11/28</td> <td>$162.700,00</td> </tr> <tr> <td>Brielle Williamson</td> <td>Integration Specialist</td> <td>New York</td> <td>61</td> <td>2012/12/02</td> <td>$372.000,00</td> </tr> <tr> <td>Herrod Chandler</td> <td>Sales Assistant</td> <td>San Francisco</td> <td>59</td> <td>2012/08/06</td> <td>$137.500,00</td> </tr> <tr> <td>Rhona Davidson</td> <td>Integration Specialist</td> <td>Tokyo</td> <td>55</td> <td>2010/10/14</td> <td>$327.900,00</td> </tr> <tr> <td>Colleen Hurst</td> <td>Javascript Developer</td> <td>San Francisco</td> <td>39</td> <td>2009/09/15</td> <td>$205.500,00</td> </tr> <tr> <td>Sonya Frost</td> <td>Software Engineer</td> <td>Edinburgh</td> <td>23</td> <td>2008/12/13</td> <td>$103.600,00</td> </tr> <tr> <td>Jena Gaines</td> <td>Office Manager</td> <td>London</td> <td>30</td> <td>2008/12/19</td> <td>$90.560,00</td> </tr> <tr> <td>Quinn Flynn</td> <td>Support Lead</td> <td>Edinburgh</td> <td>22</td> <td>2013/03/03</td> <td>$342.000,00</td> </tr> <tr> <td>Charde Marshall</td> <td>Regional Director</td> <td>San Francisco</td> <td>36</td> <td>2008/10/16</td> <td>$470.600,00</td> </tr> <tr> <td>Haley Kennedy</td> <td>Senior Marketing Designer</td> <td>London</td> <td>43</td> <td>2012/12/18</td> <td>$313.500,00</td> </tr> <tr> <td>Tatyana Fitzpatrick</td> <td>Regional Director</td> <td>London</td> <td>19</td> <td>2010/03/17</td> <td>$385.750,00</td> </tr> <tr> <td>Michael Silva</td> <td>Marketing Designer</td> <td>London</td> <td>66</td> <td>2012/11/27</td> <td>$198.500,00</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>$725.000,00</td> </tr> <tr> <td>Gloria Little</td> <td>Systems Administrator</td> <td>New York</td> <td>59</td> <td>2009/04/10</td> <td>$237.500,00</td> </tr> <tr> <td>Bradley Greer</td> <td>Software Engineer</td> <td>London</td> <td>41</td> <td>2012/10/13</td> <td>$132.000,00</td> </tr> <tr> <td>Dai Rios</td> <td>Personnel Lead</td> <td>Edinburgh</td> <td>35</td> <td>2012/09/26</td> <td>$217.500,00</td> </tr> <tr> <td>Jenette Caldwell</td> <td>Development Lead</td> <td>New York</td> <td>30</td> <td>2011/09/03</td> <td>$345.000,00</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>$675.000,00</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>$106.450,00</td> </tr> <tr> <td>Doris Wilder</td> <td>Sales Assistant</td> <td>Sidney</td> <td>23</td> <td>2010/09/20</td> <td>$85.600,00</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>$1.200.000,00</td> </tr> <tr> <td>Gavin Joyce</td> <td>Developer</td> <td>Edinburgh</td> <td>42</td> <td>2010/12/22</td> <td>$92.575,00</td> </tr> <tr> <td>Jennifer Chang</td> <td>Regional Director</td> <td>Singapore</td> <td>28</td> <td>2010/11/14</td> <td>$357.650,00</td> </tr> <tr> <td>Brenden Wagner</td> <td>Software Engineer</td> <td>San Francisco</td> <td>28</td> <td>2011/06/07</td> <td>$206.850,00</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>$850.000,00</td> </tr> <tr> <td>Shou Itou</td> <td>Regional Marketing</td> <td>Tokyo</td> <td>20</td> <td>2011/08/14</td> <td>$163.000,00</td> </tr> <tr> <td>Michelle House</td> <td>Integration Specialist</td> <td>Sidney</td> <td>37</td> <td>2011/06/02</td> <td>$95.400,00</td> </tr> <tr> <td>Suki Burks</td> <td>Developer</td> <td>London</td> <td>53</td> <td>2009/10/22</td> <td>$114.500,00</td> </tr> <tr> <td>Prescott Bartlett</td> <td>Technical Author</td> <td>London</td> <td>27</td> <td>2011/05/07</td> <td>$145.000,00</td> </tr> <tr> <td>Gavin Cortez</td> <td>Team Leader</td> <td>San Francisco</td> <td>22</td> <td>2008/10/26</td> <td>$235.500,00</td> </tr> <tr> <td>Martena Mccray</td> <td>Post-Sales support</td> <td>Edinburgh</td> <td>46</td> <td>2011/03/09</td> <td>$324.050,00</td> </tr> <tr> <td>Unity Butler</td> <td>Marketing Designer</td> <td>San Francisco</td> <td>47</td> <td>2009/12/09</td> <td>$85.675,00</td> </tr> <tr> <td>Howard Hatfield</td> <td>Office Manager</td> <td>San Francisco</td> <td>51</td> <td>2008/12/16</td> <td>$164.500,00</td> </tr> <tr> <td>Hope Fuentes</td> <td>Secretary</td> <td>San Francisco</td> <td>41</td> <td>2010/02/12</td> <td>$109.850,00</td> </tr> <tr> <td>Vivian Harrell</td> <td>Financial Controller</td> <td>San Francisco</td> <td>62</td> <td>2009/02/14</td> <td>$452.500,00</td> </tr> <tr> <td>Timothy Mooney</td> <td>Office Manager</td> <td>London</td> <td>37</td> <td>2008/12/11</td> <td>$136.200,00</td> </tr> <tr> <td>Jackson Bradshaw</td> <td>Director</td> <td>New York</td> <td>65</td> <td>2008/09/26</td> <td>$645.750,00</td> </tr> <tr> <td>Olivia Liang</td> <td>Support Engineer</td> <td>Singapore</td> <td>64</td> <td>2011/02/03</td> <td>$234.500,00</td> </tr> <tr> <td>Bruno Nash</td> <td>Software Engineer</td> <td>London</td> <td>38</td> <td>2011/05/03</td> <td>$163.500,00</td> </tr> <tr> <td>Sakura Yamamoto</td> <td>Support Engineer</td> <td>Tokyo</td> <td>37</td> <td>2009/08/19</td> <td>$139.575,00</td> </tr> <tr> <td>Thor Walton</td> <td>Developer</td> <td>New York</td> <td>61</td> <td>2013/08/11</td> <td>$98.540,00</td> </tr> <tr> <td>Finn Camacho</td> <td>Support Engineer</td> <td>San Francisco</td> <td>47</td> <td>2009/07/07</td> <td>$87.500,00</td> </tr> <tr> <td>Serge Baldwin</td> <td>Data Coordinator</td> <td>Singapore</td> <td>64</td> <td>2012/04/09</td> <td>$138.575,00</td> </tr> <tr> <td>Zenaida Frank</td> <td>Software Engineer</td> <td>New York</td> <td>63</td> <td>2010/01/04</td> <td>$125.250,00</td> </tr> <tr> <td>Zorita Serrano</td> <td>Software Engineer</td> <td>San Francisco</td> <td>56</td> <td>2012/06/01</td> <td>$115.000,00</td> </tr> <tr> <td>Jennifer Acosta</td> <td>Junior Javascript Developer</td> <td>Edinburgh</td> <td>43</td> <td>2013/02/01</td> <td>$75.650,00</td> </tr> <tr> <td>Cara Stevens</td> <td>Sales Assistant</td> <td>New York</td> <td>46</td> <td>2011/12/06</td> <td>$145.600,00</td> </tr> <tr> <td>Hermione Butler</td> <td>Regional Director</td> <td>London</td> <td>47</td> <td>2011/03/21</td> <td>$356.250,00</td> </tr> <tr> <td>Lael Greer</td> <td>Systems Administrator</td> <td>London</td> <td>21</td> <td>2009/02/27</td> <td>$103.500,00</td> </tr> <tr> <td>Jonas Alexander</td> <td>Developer</td> <td>San Francisco</td> <td>30</td> <td>2010/07/14</td> <td>$86.500,00</td> </tr> <tr> <td>Shad Decker</td> <td>Regional Director</td> <td>Edinburgh</td> <td>51</td> <td>2008/11/13</td> <td>$183.000,00</td> </tr> <tr> <td>Michael Bruce</td> <td>Javascript Developer</td> <td>Singapore</td> <td>29</td> <td>2011/06/27</td> <td>$183.000,00</td> </tr> <tr> <td>Donna Snider</td> <td>Customer Support</td> <td>New York</td> <td>27</td> <td>2011/01/25</td> <td>$112.000,00</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">$(document).ready(function() { $('#example').DataTable( { &quot;language&quot;: { &quot;decimal&quot;: &quot;,&quot;, &quot;thousands&quot;: &quot;.&quot; } } ); } );</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.11.3.min.js">//code.jquery.com/jquery-1.11.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="./index.html">Basic initialisation</a></h3> <ul class="toc active"> <li><a href="./zero_configuration.html">Zero configuration</a></li> <li><a href="./filter_only.html">Feature enable / disable</a></li> <li><a href="./table_sorting.html">Default ordering (sorting)</a></li> <li><a href="./multi_col_sort.html">Multi-column ordering</a></li> <li><a href="./multiple_tables.html">Multiple tables</a></li> <li><a href="./hidden_columns.html">Hidden columns</a></li> <li><a href="./complex_header.html">Complex headers (rowspan and colspan)</a></li> <li><a href="./dom.html">DOM positioning</a></li> <li><a href="./flexible_width.html">Flexible table width</a></li> <li><a href="./state_save.html">State saving</a></li> <li><a href="./alt_pagination.html">Alternative pagination</a></li> <li><a href="./scroll_y.html">Scroll - vertical</a></li> <li><a href="./scroll_y_dynamic.html">Scroll - vertical, dynamic height</a></li> <li><a href="./scroll_x.html">Scroll - horizontal</a></li> <li><a href="./scroll_xy.html">Scroll - horizontal and vertical</a></li> <li class="active"><a href="./comma-decimal.html">Language - Comma decimal place</a></li> <li><a href="./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-attributes.html">HTML5 data-* attributes - cell data</a></li> <li><a href="../advanced_init/html5-data-options.html">HTML5 data-* attributes - table options</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</a></li> <li><a href="../styling/foundation.html">Foundation</a></li> <li><a href="../styling/jqueryUI.html">jQuery UI ThemeRoller</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="../plug-ins/index.html">Plug-ins</a></h3> <ul class="toc"> <li><a href="../plug-ins/api.html">API plug-in methods</a></li> <li><a href="../plug-ins/sorting_auto.html">Ordering plug-ins (with type detection)</a></li> <li><a href="../plug-ins/sorting_manual.html">Ordering plug-ins (no type detection)</a></li> <li><a href="../plug-ins/range_filtering.html">Custom filtering - range search</a></li> <li><a href="../plug-ins/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> &#169; 2007-2015<br> DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> </div> </div> </div> </section> </body> </html>
DirectDev/wds-V2
www/admin/plugins/DataTables/examples/basic_init/comma-decimal.html
HTML
mit
24,695
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Typography Class &mdash; CodeIgniter 3.0.0 documentation</title> <link rel="shortcut icon" href="../_static/ci-icon.ico"/> <link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> <link rel="top" title="CodeIgniter 3.0.0 documentation" href="../index.html"/> <link rel="up" title="Libraries" href="index.html"/> <link rel="next" title="Unit Testing Class" href="unit_testing.html"/> <link rel="prev" title="Trackback Class" href="trackback.html"/> <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script> </head> <body class="wy-body-for-nav" role="document"> <div class="wy-grid-for-nav"> <nav data-toggle="wy-nav-shift" class="wy-nav-side"> <div class="wy-side-nav-search"> <a href="../index.html" class="fa fa-home"> CodeIgniter</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> <li class="toctree-l1"><a class="reference internal" href="../general/welcome.html">Welcome to CodeIgniter</a><ul class="simple"> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../installation/index.html">Installation Instructions</a><ul> <li class="toctree-l2"><a class="reference internal" href="../installation/downloads.html">Downloading CodeIgniter</a></li> <li class="toctree-l2"><a class="reference internal" href="../installation/index.html">Installation Instructions</a></li> <li class="toctree-l2"><a class="reference internal" href="../installation/upgrading.html">Upgrading From a Previous Version</a></li> <li class="toctree-l2"><a class="reference internal" href="../installation/troubleshooting.html">Troubleshooting</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../overview/index.html">CodeIgniter Overview</a><ul> <li class="toctree-l2"><a class="reference internal" href="../overview/getting_started.html">Getting Started</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/at_a_glance.html">CodeIgniter at a Glance</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/features.html">Supported Features</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/appflow.html">Application Flow Chart</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/mvc.html">Model-View-Controller</a></li> <li class="toctree-l2"><a class="reference internal" href="../overview/goals.html">Architectural Goals</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../tutorial/index.html">Tutorial</a><ul> <li class="toctree-l2"><a class="reference internal" href="../tutorial/static_pages.html">Static pages</a></li> <li class="toctree-l2"><a class="reference internal" href="../tutorial/news_section.html">News section</a></li> <li class="toctree-l2"><a class="reference internal" href="../tutorial/create_news_items.html">Create news items</a></li> <li class="toctree-l2"><a class="reference internal" href="../tutorial/conclusion.html">Conclusion</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../general/index.html">General Topics</a><ul> <li class="toctree-l2"><a class="reference internal" href="../general/urls.html">CodeIgniter URLs</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/controllers.html">Controllers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/reserved_names.html">Reserved Names</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/views.html">Views</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/models.html">Models</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/helpers.html">Helpers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/libraries.html">Using CodeIgniter Libraries</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/creating_libraries.html">Creating Libraries</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/drivers.html">Using CodeIgniter Drivers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/creating_drivers.html">Creating Drivers</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/core_classes.html">Creating Core System Classes</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/ancillary_classes.html">Creating Ancillary Classes</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/hooks.html">Hooks - Extending the Framework Core</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/autoloader.html">Auto-loading Resources</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/common_functions.html">Common Functions</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/compatibility_functions.html">Compatibility Functions</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/routing.html">URI Routing</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/errors.html">Error Handling</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/caching.html">Caching</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/profiling.html">Profiling Your Application</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/cli.html">Running via the CLI</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/managing_apps.html">Managing your Applications</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/environments.html">Handling Multiple Environments</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/alternative_php.html">Alternate PHP Syntax for View Files</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/security.html">Security</a></li> <li class="toctree-l2"><a class="reference internal" href="../general/styleguide.html">PHP Style Guide</a></li> </ul> </li> </ul> <ul class="current"> <li class="toctree-l1 current"><a class="reference internal" href="index.html">Libraries</a><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="benchmark.html">Benchmarking Class</a></li> <li class="toctree-l2"><a class="reference internal" href="caching.html">Caching Driver</a></li> <li class="toctree-l2"><a class="reference internal" href="calendar.html">Calendaring Class</a></li> <li class="toctree-l2"><a class="reference internal" href="cart.html">Shopping Cart Class</a></li> <li class="toctree-l2"><a class="reference internal" href="config.html">Config Class</a></li> <li class="toctree-l2"><a class="reference internal" href="email.html">Email Class</a></li> <li class="toctree-l2"><a class="reference internal" href="encrypt.html">Encrypt Class</a></li> <li class="toctree-l2"><a class="reference internal" href="encryption.html">Encryption Library</a></li> <li class="toctree-l2"><a class="reference internal" href="file_uploading.html">File Uploading Class</a></li> <li class="toctree-l2"><a class="reference internal" href="form_validation.html">Form Validation</a></li> <li class="toctree-l2"><a class="reference internal" href="ftp.html">FTP Class</a></li> <li class="toctree-l2"><a class="reference internal" href="image_lib.html">Image Manipulation Class</a></li> <li class="toctree-l2"><a class="reference internal" href="input.html">Input Class</a></li> <li class="toctree-l2"><a class="reference internal" href="javascript.html">Javascript Class</a></li> <li class="toctree-l2"><a class="reference internal" href="language.html">Language Class</a></li> <li class="toctree-l2"><a class="reference internal" href="loader.html">Loader Class</a></li> <li class="toctree-l2"><a class="reference internal" href="migration.html">Migrations Class</a></li> <li class="toctree-l2"><a class="reference internal" href="output.html">Output Class</a></li> <li class="toctree-l2"><a class="reference internal" href="pagination.html">Pagination Class</a></li> <li class="toctree-l2"><a class="reference internal" href="parser.html">Template Parser Class</a></li> <li class="toctree-l2"><a class="reference internal" href="security.html">Security Class</a></li> <li class="toctree-l2"><a class="reference internal" href="sessions.html">Session Library</a></li> <li class="toctree-l2"><a class="reference internal" href="table.html">HTML Table Class</a></li> <li class="toctree-l2"><a class="reference internal" href="trackback.html">Trackback Class</a></li> <li class="toctree-l2 current"><a class="current reference internal" href="">Typography Class</a></li> <li class="toctree-l2"><a class="reference internal" href="unit_testing.html">Unit Testing Class</a></li> <li class="toctree-l2"><a class="reference internal" href="uri.html">URI Class</a></li> <li class="toctree-l2"><a class="reference internal" href="user_agent.html">User Agent Class</a></li> <li class="toctree-l2"><a class="reference internal" href="xmlrpc.html">XML-RPC and XML-RPC Server Classes</a></li> <li class="toctree-l2"><a class="reference internal" href="zip.html">Zip Encoding Class</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../database/index.html">Database Reference</a><ul> <li class="toctree-l2"><a class="reference internal" href="../database/examples.html">Quick Start: Usage Examples</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/configuration.html">Database Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/connecting.html">Connecting to a Database</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/queries.html">Running Queries</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/results.html">Generating Query Results</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/helpers.html">Query Helper Functions</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/query_builder.html">Query Builder Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/transactions.html">Transactions</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/metadata.html">Getting MetaData</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/call_function.html">Custom Function Calls</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/caching.html">Query Caching</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/forge.html">Database Manipulation with Database Forge</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/utilities.html">Database Utilities Class</a></li> <li class="toctree-l2"><a class="reference internal" href="../database/db_driver_reference.html">Database Driver Reference</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../helpers/index.html">Helpers</a><ul> <li class="toctree-l2"><a class="reference internal" href="../helpers/array_helper.html">Array Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/captcha_helper.html">CAPTCHA Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/cookie_helper.html">Cookie Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/date_helper.html">Date Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/directory_helper.html">Directory Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/download_helper.html">Download Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/email_helper.html">Email Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/file_helper.html">File Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/form_helper.html">Form Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/html_helper.html">HTML Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/inflector_helper.html">Inflector Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/language_helper.html">Language Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/number_helper.html">Number Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/path_helper.html">Path Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/security_helper.html">Security Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/smiley_helper.html">Smiley Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/string_helper.html">String Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/text_helper.html">Text Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/typography_helper.html">Typography Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/url_helper.html">URL Helper</a></li> <li class="toctree-l2"><a class="reference internal" href="../helpers/xml_helper.html">XML Helper</a></li> </ul> </li> </ul> <ul> <li class="toctree-l1"><a class="reference internal" href="../contributing/index.html">Contributing to CodeIgniter</a><ul> <li class="toctree-l2"><a class="reference internal" href="../documentation/index.html">Writing CodeIgniter Documentation</a></li> <li class="toctree-l2"><a class="reference internal" href="../DCO.html">Developer&#8217;s Certificate of Origin 1.1</a></li> </ul> </li> </ul> </div> &nbsp; </nav> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> <a href="../index.html">CodeIgniter</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">Docs</a> &raquo;</li> <li><a href="index.html">Libraries</a> &raquo;</li> <li>Typography Class</li> <li class="wy-breadcrumbs-aside"> </li> </ul> <hr/> </div> <div role="main" class="document"> <div class="section" id="typography-class"> <h1>Typography Class<a class="headerlink" href="#typography-class" title="Permalink to this headline">¶</a></h1> <p>The Typography Class provides methods that help you format text.</p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#using-the-typography-class" id="id1">Using the Typography Class</a><ul> <li><a class="reference internal" href="#initializing-the-class" id="id2">Initializing the Class</a></li> </ul> </li> <li><a class="reference internal" href="#class-reference" id="id3">Class Reference</a></li> </ul> </div> <div class="custom-index container"></div><div class="section" id="using-the-typography-class"> <h2><a class="toc-backref" href="#id1">Using the Typography Class</a><a class="headerlink" href="#using-the-typography-class" title="Permalink to this headline">¶</a></h2> <div class="section" id="initializing-the-class"> <h3><a class="toc-backref" href="#id2">Initializing the Class</a><a class="headerlink" href="#initializing-the-class" title="Permalink to this headline">¶</a></h3> <p>Like most other classes in CodeIgniter, the Typography class is initialized in your controller using the <tt class="docutils literal"><span class="pre">$this-&gt;load-&gt;library()</span></tt> method:</p> <div class="highlight-ci"><div class="highlight"><pre><span class="nv">$this</span><span class="o">-&gt;</span><span class="na">load</span><span class="o">-&gt;</span><span class="na">library</span><span class="p">(</span><span class="s1">&#39;typography&#39;</span><span class="p">);</span> </pre></div> </div> <p>Once loaded, the Typography library object will be available using:</p> <div class="highlight-ci"><div class="highlight"><pre><span class="nv">$this</span><span class="o">-&gt;</span><span class="na">typography</span> </pre></div> </div> </div> </div> <div class="section" id="class-reference"> <h2><a class="toc-backref" href="#id3">Class Reference</a><a class="headerlink" href="#class-reference" title="Permalink to this headline">¶</a></h2> <dl class="class"> <dt id="CI_Typography"> <em class="property">class </em><tt class="descname">CI_Typography</tt><a class="headerlink" href="#CI_Typography" title="Permalink to this definition">¶</a></dt> <dd><dl class="attribute"> <dt> <tt class="descname">$protect_braced_quotes = FALSE</tt></dt> <dd><p>When using the Typography library in conjunction with the <a class="reference internal" href="parser.html"><em>Template Parser library</em></a> it can often be desirable to protect single and double quotes within curly braces. To enable this, set the <tt class="docutils literal"><span class="pre">protect_braced_quotes</span></tt> class property to TRUE.</p> <p>Usage example:</p> <div class="highlight-ci"><div class="highlight"><pre><span class="nv">$this</span><span class="o">-&gt;</span><span class="na">load</span><span class="o">-&gt;</span><span class="na">library</span><span class="p">(</span><span class="s1">&#39;typography&#39;</span><span class="p">);</span> <span class="nv">$this</span><span class="o">-&gt;</span><span class="na">typography</span><span class="o">-&gt;</span><span class="na">protect_braced_quotes</span> <span class="o">=</span> <span class="k">TRUE</span><span class="p">;</span> </pre></div> </div> </dd></dl> <dl class="method"> <dt id="CI_Typography::format_characters"> <tt class="descname">format_characters</tt><big>(</big><em>$str</em><big>)</big><a class="headerlink" href="#CI_Typography::format_characters" title="Permalink to this definition">¶</a></dt> <dd><table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> <li><strong>$str</strong> (<em>string</em>) &#8211; Input string</li> </ul> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Formatted string</p> </td> </tr> <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">string</p> </td> </tr> </tbody> </table> <p>This method is similar to <tt class="docutils literal"><span class="pre">auto_typography()</span></tt> above, except that it only does character conversion:</p> <blockquote> <div><ul class="simple"> <li>Quotes are converted to correctly facing curly quote entities, except those that appear within tags.</li> <li>Apostrophes are converted to curly apostrophe entities.</li> <li>Double dashes (either like &#8211; this or like&#8211;this) are converted to em—dashes.</li> <li>Three consecutive periods either preceding or following a word are converted to ellipsis (…).</li> <li>Double spaces following sentences are converted to non-breaking spaces to mimic double spacing.</li> </ul> </div></blockquote> <p>Usage example:</p> <div class="highlight-ci"><div class="highlight"><pre><span class="nv">$string</span> <span class="o">=</span> <span class="nv">$this</span><span class="o">-&gt;</span><span class="na">typography</span><span class="o">-&gt;</span><span class="na">format_characters</span><span class="p">(</span><span class="nv">$string</span><span class="p">);</span> </pre></div> </div> </dd></dl> <dl class="method"> <dt id="CI_Typography::nl2br_except_pre"> <tt class="descname">nl2br_except_pre</tt><big>(</big><em>$str</em><big>)</big><a class="headerlink" href="#CI_Typography::nl2br_except_pre" title="Permalink to this definition">¶</a></dt> <dd><table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> <li><strong>$str</strong> (<em>string</em>) &#8211; Input string</li> </ul> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">Formatted string</p> </td> </tr> <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">string</p> </td> </tr> </tbody> </table> <p>Converts newlines to &lt;br /&gt; tags unless they appear within &lt;pre&gt; tags. This method is identical to the native PHP <tt class="xref php php-func docutils literal"><span class="pre">nl2br()</span></tt> function, except that it ignores &lt;pre&gt; tags.</p> <p>Usage example:</p> <div class="highlight-ci"><div class="highlight"><pre><span class="nv">$string</span> <span class="o">=</span> <span class="nv">$this</span><span class="o">-&gt;</span><span class="na">typography</span><span class="o">-&gt;</span><span class="na">nl2br_except_pre</span><span class="p">(</span><span class="nv">$string</span><span class="p">);</span> </pre></div> </div> </dd></dl> </dd></dl> </div> </div> </div> <footer> <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> <a href="unit_testing.html" class="btn btn-neutral float-right" title="Unit Testing Class">Next <span class="fa fa-arrow-circle-right"></span></a> <a href="trackback.html" class="btn btn-neutral" title="Trackback Class"><span class="fa fa-arrow-circle-left"></span> Previous</a> </div> <hr/> <div role="contentinfo"> <p> &copy; Copyright 2014 - 2015, British Columbia Institute of Technology. Last updated on Mar 30, 2015. </p> </div> Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/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"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'../', VERSION:'3.0.0', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: false }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/js/theme.js"></script> <script type="text/javascript"> jQuery(function () { SphinxRtdTheme.StickyNav.enable(); }); </script> </body> </html>
itpcc/Comcamp27
welcome/api/user_guide/libraries/typography.html
HTML
mit
24,454
<form> <div class="row"> <div class="large-6 columns"> <label class="error">Error <input type="text" class="error" /> </label> <small class="error">Invalid entry</small> </div> <div class="large-6 columns error"> <label>Another Error <input type="text" /> </label> <small class="error">Invalid entry</small> </div> </div> <textarea class="error" placeholder="Message..."></textarea> <small class="error">Invalid entry</small> </form>
milardovich/agenda-moparman
vendor/zurb/foundation/doc/includes/form/examples_form_errors.html
HTML
mit
509
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Python: module gdata.contacts.service</title> </head><body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#7799ee"> <td valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="gdata.html"><font color="#ffffff">gdata</font></a>.<a href="gdata.contacts.html"><font color="#ffffff">contacts</font></a>.service</strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/svn/gdata-python-client/src/gdata/contacts/service.py">/usr/local/svn/gdata-python-client/src/gdata/contacts/service.py</a></font></td></tr></table> <p><tt><a href="#ContactsService">ContactsService</a>&nbsp;extends&nbsp;the&nbsp;<a href="gdata.service.html#GDataService">GDataService</a>&nbsp;to&nbsp;streamline&nbsp;Google&nbsp;Contacts&nbsp;operations.<br> &nbsp;<br> <a href="#ContactsService">ContactsService</a>:&nbsp;Provides&nbsp;methods&nbsp;to&nbsp;query&nbsp;feeds&nbsp;and&nbsp;manipulate&nbsp;items.&nbsp;Extends&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="gdata.service.html#GDataService">GDataService</a>.<br> &nbsp;<br> DictionaryToParamList:&nbsp;Function&nbsp;which&nbsp;converts&nbsp;a&nbsp;dictionary&nbsp;into&nbsp;a&nbsp;list&nbsp;of&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;URL&nbsp;arguments&nbsp;(represented&nbsp;as&nbsp;strings).&nbsp;This&nbsp;is&nbsp;a&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;utility&nbsp;function&nbsp;used&nbsp;in&nbsp;CRUD&nbsp;operations.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="atom.html">atom</a><br> </td><td width="25%" valign=top><a href="gdata.html">gdata</a><br> </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><dl> <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="gdata.contacts.service.html#Error">Error</a> </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="gdata.contacts.service.html#RequestError">RequestError</a> </font></dt></dl> </dd> </dl> </dd> <dt><font face="helvetica, arial"><a href="gdata.service.html#GDataService">gdata.service.GDataService</a>(<a href="atom.service.html#AtomService">atom.service.AtomService</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="gdata.contacts.service.html#ContactsService">ContactsService</a> </font></dt></dl> </dd> <dt><font face="helvetica, arial"><a href="gdata.service.html#Query">gdata.service.Query</a>(<a href="__builtin__.html#dict">__builtin__.dict</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="gdata.contacts.service.html#ContactsQuery">ContactsQuery</a> </font></dt><dt><font face="helvetica, arial"><a href="gdata.contacts.service.html#GroupsQuery">GroupsQuery</a> </font></dt></dl> </dd> </dl> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="ContactsQuery">class <strong>ContactsQuery</strong></a>(<a href="gdata.service.html#Query">gdata.service.Query</a>)</font></td></tr> <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="gdata.contacts.service.html#ContactsQuery">ContactsQuery</a></dd> <dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd> <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="ContactsQuery-__init__"><strong>__init__</strong></a>(self, feed<font color="#909090">=None</font>, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>, group<font color="#909090">=None</font>)</dt></dl> <hr> Data descriptors defined here:<br> <dl><dt><strong>group</strong></dt> <dd><tt>The&nbsp;group&nbsp;query&nbsp;parameter&nbsp;to&nbsp;find&nbsp;only&nbsp;contacts&nbsp;in&nbsp;this&nbsp;group</tt></dd> </dl> <hr> Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br> <dl><dt><a name="ContactsQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl> <dl><dt><a name="ContactsQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl> <hr> Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>alt</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;alt&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>author</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;author&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>max_results</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;max-results&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>orderby</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;orderby&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>published_max</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-max&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>published_min</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-min&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>start_index</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;start-index&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>text_query</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;q&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>updated_max</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-max&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>updated_min</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-min&nbsp;parameter</tt></dd> </dl> <hr> Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> <dl><dt><a name="ContactsQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl> <dl><dt><a name="ContactsQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-__contains__">__contains__</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl> <dl><dt><a name="ContactsQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl> <dl><dt><a name="ContactsQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl> <dl><dt><a name="ContactsQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl> <dl><dt><a name="ContactsQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl> <dl><dt><a name="ContactsQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl> <dl><dt><a name="ContactsQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl> <dl><dt><a name="ContactsQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl> <dl><dt><a name="ContactsQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl> <dl><dt><a name="ContactsQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl> <dl><dt><a name="ContactsQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl> <dl><dt><a name="ContactsQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl> <dl><dt><a name="ContactsQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl> <dl><dt><a name="ContactsQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ContactsQuery-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl> <dl><dt><a name="ContactsQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-__sizeof__">__sizeof__</a>()&nbsp;-&gt;&nbsp;size&nbsp;of&nbsp;D&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl> <dl><dt><a name="ContactsQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-clear">clear</a>()&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Remove&nbsp;all&nbsp;items&nbsp;from&nbsp;D.</tt></dd></dl> <dl><dt><a name="ContactsQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-copy">copy</a>()&nbsp;-&gt;&nbsp;a&nbsp;shallow&nbsp;copy&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="ContactsQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-get">get</a>(k[,d])&nbsp;-&gt;&nbsp;D[k]&nbsp;if&nbsp;k&nbsp;in&nbsp;D,&nbsp;else&nbsp;d.&nbsp;&nbsp;d&nbsp;defaults&nbsp;to&nbsp;None.</tt></dd></dl> <dl><dt><a name="ContactsQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-has_key">has_key</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl> <dl><dt><a name="ContactsQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-items">items</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;(key,&nbsp;value)&nbsp;pairs,&nbsp;as&nbsp;2-tuples</tt></dd></dl> <dl><dt><a name="ContactsQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-iteritems">iteritems</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;(key,&nbsp;value)&nbsp;items&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="ContactsQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-iterkeys">iterkeys</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;keys&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="ContactsQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-itervalues">itervalues</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;values&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="ContactsQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-keys">keys</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;keys</tt></dd></dl> <dl><dt><a name="ContactsQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-pop">pop</a>(k[,d])&nbsp;-&gt;&nbsp;v,&nbsp;remove&nbsp;specified&nbsp;key&nbsp;and&nbsp;return&nbsp;the&nbsp;corresponding&nbsp;value<br> If&nbsp;key&nbsp;is&nbsp;not&nbsp;found,&nbsp;d&nbsp;is&nbsp;returned&nbsp;if&nbsp;given,&nbsp;otherwise&nbsp;KeyError&nbsp;is&nbsp;raised</tt></dd></dl> <dl><dt><a name="ContactsQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-popitem">popitem</a>()&nbsp;-&gt;&nbsp;(k,&nbsp;v),&nbsp;remove&nbsp;and&nbsp;return&nbsp;some&nbsp;(key,&nbsp;value)&nbsp;pair&nbsp;as&nbsp;a<br> 2-tuple;&nbsp;but&nbsp;raise&nbsp;KeyError&nbsp;if&nbsp;D&nbsp;is&nbsp;empty</tt></dd></dl> <dl><dt><a name="ContactsQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-setdefault">setdefault</a>(k[,d])&nbsp;-&gt;&nbsp;D.<a href="#ContactsQuery-get">get</a>(k,d),&nbsp;also&nbsp;set&nbsp;D[k]=d&nbsp;if&nbsp;k&nbsp;not&nbsp;in&nbsp;D</tt></dd></dl> <dl><dt><a name="ContactsQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-update">update</a>(E,&nbsp;**F)&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Update&nbsp;D&nbsp;from&nbsp;E&nbsp;and&nbsp;F:&nbsp;for&nbsp;k&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;E[k]<br> (if&nbsp;E&nbsp;has&nbsp;keys&nbsp;else:&nbsp;for&nbsp;(k,&nbsp;v)&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;v)&nbsp;then:&nbsp;for&nbsp;k&nbsp;in&nbsp;F:&nbsp;D[k]&nbsp;=&nbsp;F[k]</tt></dd></dl> <dl><dt><a name="ContactsQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#ContactsQuery-values">values</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;values</tt></dd></dl> <hr> Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> <dl><dt><strong>__hash__</strong> = None</dl> <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x7569a0&gt;<dd><tt>T.<a href="#ContactsQuery-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl> <dl><dt><strong>fromkeys</strong> = &lt;built-in method fromkeys of type object at 0xd3c920&gt;<dd><tt>dict.<a href="#ContactsQuery-fromkeys">fromkeys</a>(S[,v])&nbsp;-&gt;&nbsp;New&nbsp;dict&nbsp;with&nbsp;keys&nbsp;from&nbsp;S&nbsp;and&nbsp;values&nbsp;equal&nbsp;to&nbsp;v.<br> v&nbsp;defaults&nbsp;to&nbsp;None.</tt></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="ContactsService">class <strong>ContactsService</strong></a>(<a href="gdata.service.html#GDataService">gdata.service.GDataService</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td> <td colspan=2><tt>Client&nbsp;for&nbsp;the&nbsp;Google&nbsp;Contacts&nbsp;service.<br>&nbsp;</tt></td></tr> <tr><td>&nbsp;</td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="gdata.contacts.service.html#ContactsService">ContactsService</a></dd> <dd><a href="gdata.service.html#GDataService">gdata.service.GDataService</a></dd> <dd><a href="atom.service.html#AtomService">atom.service.AtomService</a></dd> <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="ContactsService-ChangePhoto"><strong>ChangePhoto</strong></a>(self, media, contact_entry_or_url, content_type<font color="#909090">=None</font>, content_length<font color="#909090">=None</font>)</dt><dd><tt>Change&nbsp;the&nbsp;photo&nbsp;for&nbsp;the&nbsp;contact&nbsp;by&nbsp;uploading&nbsp;a&nbsp;new&nbsp;photo.<br> &nbsp;<br> Performs&nbsp;a&nbsp;PUT&nbsp;against&nbsp;the&nbsp;photo&nbsp;edit&nbsp;URL&nbsp;to&nbsp;send&nbsp;the&nbsp;binary&nbsp;data&nbsp;for&nbsp;the<br> photo.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;media:&nbsp;filename,&nbsp;file-like-object,&nbsp;or&nbsp;a&nbsp;gdata.MediaSource&nbsp;object&nbsp;to&nbsp;send.<br> &nbsp;&nbsp;contact_entry_or_url:&nbsp;ContactEntry&nbsp;or&nbsp;str&nbsp;If&nbsp;it&nbsp;is&nbsp;a&nbsp;ContactEntry,&nbsp;this<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;search&nbsp;for&nbsp;an&nbsp;edit&nbsp;photo&nbsp;link&nbsp;URL&nbsp;and<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;perform&nbsp;a&nbsp;PUT&nbsp;to&nbsp;the&nbsp;URL.<br> &nbsp;&nbsp;content_type:&nbsp;str&nbsp;(optional)&nbsp;the&nbsp;mime&nbsp;type&nbsp;for&nbsp;the&nbsp;photo&nbsp;data.&nbsp;This&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;necessary&nbsp;if&nbsp;media&nbsp;is&nbsp;a&nbsp;file&nbsp;or&nbsp;file&nbsp;name,&nbsp;but&nbsp;if&nbsp;media<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;a&nbsp;MediaSource&nbsp;object&nbsp;then&nbsp;the&nbsp;media&nbsp;object&nbsp;can&nbsp;contain<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;mime&nbsp;type.&nbsp;If&nbsp;media_type&nbsp;is&nbsp;set,&nbsp;it&nbsp;will&nbsp;override&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mime&nbsp;type&nbsp;in&nbsp;the&nbsp;media&nbsp;object.<br> &nbsp;&nbsp;content_length:&nbsp;int&nbsp;or&nbsp;str&nbsp;(optional)&nbsp;Specifying&nbsp;the&nbsp;content&nbsp;length&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;only&nbsp;required&nbsp;if&nbsp;media&nbsp;is&nbsp;a&nbsp;file-like&nbsp;object.&nbsp;If&nbsp;media<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;a&nbsp;filename,&nbsp;the&nbsp;length&nbsp;is&nbsp;determined&nbsp;using&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;os.path.getsize.&nbsp;If&nbsp;media&nbsp;is&nbsp;a&nbsp;MediaSource&nbsp;object,&nbsp;it&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assumed&nbsp;that&nbsp;it&nbsp;already&nbsp;contains&nbsp;the&nbsp;content&nbsp;length.</tt></dd></dl> <dl><dt><a name="ContactsService-CreateContact"><strong>CreateContact</strong></a>(self, new_contact, insert_uri<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>)</dt><dd><tt>Adds&nbsp;an&nbsp;new&nbsp;contact&nbsp;to&nbsp;Google&nbsp;Contacts.<br> &nbsp;<br> Args:&nbsp;<br> &nbsp;&nbsp;new_contact:&nbsp;atom.Entry&nbsp;or&nbsp;subclass&nbsp;A&nbsp;new&nbsp;contact&nbsp;which&nbsp;is&nbsp;to&nbsp;be&nbsp;added&nbsp;to<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Google&nbsp;Contacts.<br> &nbsp;&nbsp;insert_uri:&nbsp;the&nbsp;URL&nbsp;to&nbsp;post&nbsp;new&nbsp;contacts&nbsp;to&nbsp;the&nbsp;feed<br> &nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;insertion&nbsp;request.&nbsp;<br> &nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;true,&nbsp;the&nbsp;url_parameters&nbsp;will&nbsp;be<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;escaped&nbsp;before&nbsp;they&nbsp;are&nbsp;included&nbsp;in&nbsp;the&nbsp;request.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;On&nbsp;successful&nbsp;insert,&nbsp;&nbsp;an&nbsp;entry&nbsp;containing&nbsp;the&nbsp;contact&nbsp;created<br> &nbsp;&nbsp;On&nbsp;failure,&nbsp;a&nbsp;<a href="#RequestError">RequestError</a>&nbsp;is&nbsp;raised&nbsp;of&nbsp;the&nbsp;form:<br> &nbsp;&nbsp;&nbsp;&nbsp;{'status':&nbsp;HTTP&nbsp;status&nbsp;code&nbsp;from&nbsp;server,&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'reason':&nbsp;HTTP&nbsp;reason&nbsp;from&nbsp;the&nbsp;server,&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'body':&nbsp;HTTP&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;response}</tt></dd></dl> <dl><dt><a name="ContactsService-CreateGroup"><strong>CreateGroup</strong></a>(self, new_group, insert_uri<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>)</dt></dl> <dl><dt><a name="ContactsService-DeleteContact"><strong>DeleteContact</strong></a>(self, edit_uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>)</dt><dd><tt>Removes&nbsp;an&nbsp;contact&nbsp;with&nbsp;the&nbsp;specified&nbsp;ID&nbsp;from&nbsp;Google&nbsp;Contacts.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;edit_uri:&nbsp;string&nbsp;The&nbsp;edit&nbsp;URL&nbsp;of&nbsp;the&nbsp;entry&nbsp;to&nbsp;be&nbsp;deleted.&nbsp;Example:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/m8/feeds/contacts/default/full/xxx/yyy'<br> &nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;deletion&nbsp;request.<br> &nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;true,&nbsp;the&nbsp;url_parameters&nbsp;will&nbsp;be<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;escaped&nbsp;before&nbsp;they&nbsp;are&nbsp;included&nbsp;in&nbsp;the&nbsp;request.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;On&nbsp;successful&nbsp;delete,&nbsp;&nbsp;a&nbsp;httplib.HTTPResponse&nbsp;containing&nbsp;the&nbsp;server's<br> &nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;to&nbsp;the&nbsp;DELETE&nbsp;request.<br> &nbsp;&nbsp;On&nbsp;failure,&nbsp;a&nbsp;<a href="#RequestError">RequestError</a>&nbsp;is&nbsp;raised&nbsp;of&nbsp;the&nbsp;form:<br> &nbsp;&nbsp;&nbsp;&nbsp;{'status':&nbsp;HTTP&nbsp;status&nbsp;code&nbsp;from&nbsp;server,&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'reason':&nbsp;HTTP&nbsp;reason&nbsp;from&nbsp;the&nbsp;server,&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'body':&nbsp;HTTP&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;response}</tt></dd></dl> <dl><dt><a name="ContactsService-DeleteGroup"><strong>DeleteGroup</strong></a>(self, edit_uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>)</dt></dl> <dl><dt><a name="ContactsService-DeletePhoto"><strong>DeletePhoto</strong></a>(self, contact_entry_or_url)</dt></dl> <dl><dt><a name="ContactsService-ExecuteBatch"><strong>ExecuteBatch</strong></a>(self, batch_feed, url, converter<font color="#909090">=&lt;function ContactsFeedFromString at 0x7f79a1af30c8&gt;</font>)</dt><dd><tt>Sends&nbsp;a&nbsp;batch&nbsp;request&nbsp;feed&nbsp;to&nbsp;the&nbsp;server.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;batch_feed:&nbsp;gdata.contacts.ContactFeed&nbsp;A&nbsp;feed&nbsp;containing&nbsp;batch<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;request&nbsp;entries.&nbsp;Each&nbsp;entry&nbsp;contains&nbsp;the&nbsp;operation&nbsp;to&nbsp;be&nbsp;performed<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;on&nbsp;the&nbsp;data&nbsp;contained&nbsp;in&nbsp;the&nbsp;entry.&nbsp;For&nbsp;example&nbsp;an&nbsp;entry&nbsp;with&nbsp;an<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;operation&nbsp;type&nbsp;of&nbsp;insert&nbsp;will&nbsp;be&nbsp;used&nbsp;as&nbsp;if&nbsp;the&nbsp;individual&nbsp;entry<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;had&nbsp;been&nbsp;inserted.<br> &nbsp;&nbsp;url:&nbsp;str&nbsp;The&nbsp;batch&nbsp;URL&nbsp;to&nbsp;which&nbsp;these&nbsp;operations&nbsp;should&nbsp;be&nbsp;applied.<br> &nbsp;&nbsp;converter:&nbsp;Function&nbsp;(optional)&nbsp;The&nbsp;function&nbsp;used&nbsp;to&nbsp;convert&nbsp;the&nbsp;server's<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;to&nbsp;an&nbsp;object.&nbsp;The&nbsp;default&nbsp;value&nbsp;is&nbsp;ContactsFeedFromString.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;The&nbsp;results&nbsp;of&nbsp;the&nbsp;batch&nbsp;request's&nbsp;execution&nbsp;on&nbsp;the&nbsp;server.&nbsp;If&nbsp;the<br> &nbsp;&nbsp;default&nbsp;converter&nbsp;is&nbsp;used,&nbsp;this&nbsp;is&nbsp;stored&nbsp;in&nbsp;a&nbsp;ContactsFeed.</tt></dd></dl> <dl><dt><a name="ContactsService-GetContact"><strong>GetContact</strong></a>(self, uri)</dt></dl> <dl><dt><a name="ContactsService-GetContactsFeed"><strong>GetContactsFeed</strong></a>(self, uri<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="ContactsService-GetFeedUri"><strong>GetFeedUri</strong></a>(self, kind<font color="#909090">='contacts'</font>, contact_list<font color="#909090">=None</font>, projection<font color="#909090">='full'</font>, scheme<font color="#909090">=None</font>)</dt><dd><tt>Builds&nbsp;a&nbsp;feed&nbsp;URI.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;kind:&nbsp;The&nbsp;type&nbsp;of&nbsp;feed&nbsp;to&nbsp;return,&nbsp;typically&nbsp;'groups'&nbsp;or&nbsp;'contacts'.<br> &nbsp;&nbsp;&nbsp;&nbsp;Default&nbsp;value:&nbsp;'contacts'.<br> &nbsp;&nbsp;contact_list:&nbsp;The&nbsp;contact&nbsp;list&nbsp;to&nbsp;return&nbsp;a&nbsp;feed&nbsp;for.<br> &nbsp;&nbsp;&nbsp;&nbsp;Default&nbsp;value:&nbsp;self.<strong>contact_list</strong>.<br> &nbsp;&nbsp;projection:&nbsp;The&nbsp;projection&nbsp;to&nbsp;apply&nbsp;to&nbsp;the&nbsp;feed&nbsp;contents,&nbsp;for&nbsp;example<br> &nbsp;&nbsp;&nbsp;&nbsp;'full',&nbsp;'base',&nbsp;'base/12345',&nbsp;'full/batch'.&nbsp;Default&nbsp;value:&nbsp;'full'.<br> &nbsp;&nbsp;scheme:&nbsp;The&nbsp;URL&nbsp;scheme&nbsp;such&nbsp;as&nbsp;'http'&nbsp;or&nbsp;'https',&nbsp;None&nbsp;to&nbsp;return&nbsp;a<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;relative&nbsp;URI&nbsp;without&nbsp;hostname.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;A&nbsp;feed&nbsp;URI&nbsp;using&nbsp;the&nbsp;given&nbsp;kind,&nbsp;contact&nbsp;list,&nbsp;and&nbsp;projection.<br> &nbsp;&nbsp;Example:&nbsp;'/m8/feeds/contacts/default/full'.</tt></dd></dl> <dl><dt><a name="ContactsService-GetGroupsFeed"><strong>GetGroupsFeed</strong></a>(self, uri<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="ContactsService-GetPhoto"><strong>GetPhoto</strong></a>(self, contact_entry_or_url)</dt><dd><tt>Retrives&nbsp;the&nbsp;binary&nbsp;data&nbsp;for&nbsp;the&nbsp;contact's&nbsp;profile&nbsp;photo&nbsp;as&nbsp;a&nbsp;string.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;contact_entry_or_url:&nbsp;a&nbsp;gdata.contacts.ContactEntry&nbsp;objecr&nbsp;or&nbsp;a&nbsp;string<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;containing&nbsp;the&nbsp;photo&nbsp;link's&nbsp;URL.&nbsp;If&nbsp;the&nbsp;contact&nbsp;entry&nbsp;does&nbsp;not&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;contain&nbsp;a&nbsp;photo&nbsp;link,&nbsp;the&nbsp;image&nbsp;will&nbsp;not&nbsp;be&nbsp;fetched&nbsp;and&nbsp;this&nbsp;method<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;will&nbsp;return&nbsp;None.</tt></dd></dl> <dl><dt><a name="ContactsService-UpdateContact"><strong>UpdateContact</strong></a>(self, edit_uri, updated_contact, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>)</dt><dd><tt>Updates&nbsp;an&nbsp;existing&nbsp;contact.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;edit_uri:&nbsp;string&nbsp;The&nbsp;edit&nbsp;link&nbsp;URI&nbsp;for&nbsp;the&nbsp;element&nbsp;being&nbsp;updated<br> &nbsp;&nbsp;updated_contact:&nbsp;string,&nbsp;atom.Entry&nbsp;or&nbsp;subclass&nbsp;containing<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;Atom&nbsp;Entry&nbsp;which&nbsp;will&nbsp;replace&nbsp;the&nbsp;contact&nbsp;which&nbsp;is&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stored&nbsp;at&nbsp;the&nbsp;edit_url&nbsp;<br> &nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;update&nbsp;request.<br> &nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;true,&nbsp;the&nbsp;url_parameters&nbsp;will&nbsp;be<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;escaped&nbsp;before&nbsp;they&nbsp;are&nbsp;included&nbsp;in&nbsp;the&nbsp;request.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;On&nbsp;successful&nbsp;update,&nbsp;&nbsp;a&nbsp;httplib.HTTPResponse&nbsp;containing&nbsp;the&nbsp;server's<br> &nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;to&nbsp;the&nbsp;PUT&nbsp;request.<br> &nbsp;&nbsp;On&nbsp;failure,&nbsp;a&nbsp;<a href="#RequestError">RequestError</a>&nbsp;is&nbsp;raised&nbsp;of&nbsp;the&nbsp;form:<br> &nbsp;&nbsp;&nbsp;&nbsp;{'status':&nbsp;HTTP&nbsp;status&nbsp;code&nbsp;from&nbsp;server,&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'reason':&nbsp;HTTP&nbsp;reason&nbsp;from&nbsp;the&nbsp;server,&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'body':&nbsp;HTTP&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;response}</tt></dd></dl> <dl><dt><a name="ContactsService-UpdateGroup"><strong>UpdateGroup</strong></a>(self, edit_uri, updated_group, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>)</dt></dl> <dl><dt><a name="ContactsService-__init__"><strong>__init__</strong></a>(self, email<font color="#909090">=None</font>, password<font color="#909090">=None</font>, source<font color="#909090">=None</font>, server<font color="#909090">='www.google.com'</font>, additional_headers<font color="#909090">=None</font>, contact_list<font color="#909090">='default'</font>, **kwargs)</dt><dd><tt>Creates&nbsp;a&nbsp;client&nbsp;for&nbsp;the&nbsp;Contacts&nbsp;service.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;email:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;user's&nbsp;email&nbsp;address,&nbsp;used&nbsp;for<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authentication.<br> &nbsp;&nbsp;password:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;user's&nbsp;password.<br> &nbsp;&nbsp;source:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;name&nbsp;of&nbsp;the&nbsp;user's&nbsp;application.<br> &nbsp;&nbsp;server:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;name&nbsp;of&nbsp;the&nbsp;server&nbsp;to&nbsp;which&nbsp;a&nbsp;connection<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;will&nbsp;be&nbsp;opened.&nbsp;Default&nbsp;value:&nbsp;'www.google.com'.<br> &nbsp;&nbsp;contact_list:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;name&nbsp;of&nbsp;the&nbsp;default&nbsp;contact&nbsp;list&nbsp;to<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use&nbsp;when&nbsp;no&nbsp;URI&nbsp;is&nbsp;specified&nbsp;to&nbsp;the&nbsp;methods&nbsp;of&nbsp;the&nbsp;service.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default&nbsp;value:&nbsp;'default'&nbsp;(the&nbsp;logged&nbsp;in&nbsp;user's&nbsp;contact&nbsp;list).<br> &nbsp;&nbsp;**kwargs:&nbsp;The&nbsp;other&nbsp;parameters&nbsp;to&nbsp;pass&nbsp;to&nbsp;gdata.service.<a href="gdata.service.html#GDataService">GDataService</a><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;constructor.</tt></dd></dl> <hr> Methods inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br> <dl><dt><a name="ContactsService-AuthSubTokenInfo"><strong>AuthSubTokenInfo</strong></a>(self)</dt><dd><tt>Fetches&nbsp;the&nbsp;AuthSub&nbsp;token's&nbsp;metadata&nbsp;from&nbsp;the&nbsp;server.<br> &nbsp;<br> Raises:<br> &nbsp;&nbsp;NonAuthSubToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;AuthSub&nbsp;token</tt></dd></dl> <dl><dt><a name="ContactsService-ClientLogin"><strong>ClientLogin</strong></a>(self, username, password, account_type<font color="#909090">=None</font>, service<font color="#909090">=None</font>, auth_service_url<font color="#909090">=None</font>, source<font color="#909090">=None</font>, captcha_token<font color="#909090">=None</font>, captcha_response<font color="#909090">=None</font>)</dt><dd><tt>Convenience&nbsp;method&nbsp;for&nbsp;authenticating&nbsp;using&nbsp;ProgrammaticLogin.&nbsp;<br> &nbsp;<br> Sets&nbsp;values&nbsp;for&nbsp;email,&nbsp;password,&nbsp;and&nbsp;other&nbsp;optional&nbsp;members.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;username:<br> &nbsp;&nbsp;password:<br> &nbsp;&nbsp;account_type:&nbsp;string&nbsp;(optional)<br> &nbsp;&nbsp;service:&nbsp;string&nbsp;(optional)<br> &nbsp;&nbsp;auth_service_url:&nbsp;string&nbsp;(optional)<br> &nbsp;&nbsp;captcha_token:&nbsp;string&nbsp;(optional)<br> &nbsp;&nbsp;captcha_response:&nbsp;string&nbsp;(optional)</tt></dd></dl> <dl><dt><a name="ContactsService-Delete"><strong>Delete</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>)</dt><dd><tt>Deletes&nbsp;the&nbsp;entry&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;URI&nbsp;of&nbsp;the&nbsp;entry&nbsp;to&nbsp;be&nbsp;deleted.&nbsp;Example:&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/items/ITEM-ID'<br> &nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br> &nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br> &nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;True&nbsp;if&nbsp;the&nbsp;entry&nbsp;was&nbsp;deleted.</tt></dd></dl> <dl><dt><a name="ContactsService-FetchOAuthRequestToken"><strong>FetchOAuthRequestToken</strong></a>(self, scopes<font color="#909090">=None</font>, extra_parameters<font color="#909090">=None</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthGetRequestToken'</font>, oauth_callback<font color="#909090">=None</font>)</dt><dd><tt>Fetches&nbsp;and&nbsp;sets&nbsp;the&nbsp;OAuth&nbsp;request&nbsp;token&nbsp;and&nbsp;returns&nbsp;it.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;scopes:&nbsp;string&nbsp;or&nbsp;list&nbsp;of&nbsp;string&nbsp;base&nbsp;URL(s)&nbsp;of&nbsp;the&nbsp;service(s)&nbsp;to&nbsp;be<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessed.&nbsp;If&nbsp;None,&nbsp;then&nbsp;this&nbsp;method&nbsp;tries&nbsp;to&nbsp;determine&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scope(s)&nbsp;from&nbsp;the&nbsp;current&nbsp;service.<br> &nbsp;&nbsp;extra_parameters:&nbsp;dict&nbsp;(optional)&nbsp;key-value&nbsp;pairs&nbsp;as&nbsp;any&nbsp;additional<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included&nbsp;in&nbsp;the&nbsp;URL&nbsp;and&nbsp;signature&nbsp;while&nbsp;making&nbsp;a<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;request&nbsp;for&nbsp;fetching&nbsp;an&nbsp;OAuth&nbsp;request&nbsp;token.&nbsp;All&nbsp;the&nbsp;OAuth&nbsp;parameters<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;are&nbsp;added&nbsp;by&nbsp;default.&nbsp;But&nbsp;if&nbsp;provided&nbsp;through&nbsp;this&nbsp;argument,&nbsp;any<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default&nbsp;parameters&nbsp;will&nbsp;be&nbsp;overwritten.&nbsp;For&nbsp;e.g.&nbsp;a&nbsp;default&nbsp;parameter<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oauth_version&nbsp;1.0&nbsp;can&nbsp;be&nbsp;overwritten&nbsp;if<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extra_parameters&nbsp;=&nbsp;{'oauth_version':&nbsp;'2.0'}<br> &nbsp;&nbsp;request_url:&nbsp;Request&nbsp;token&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/OAuthGetRequestToken'.<br> &nbsp;&nbsp;oauth_callback:&nbsp;str&nbsp;(optional)&nbsp;If&nbsp;set,&nbsp;it&nbsp;is&nbsp;assume&nbsp;the&nbsp;client&nbsp;is&nbsp;using<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;OAuth&nbsp;v1.0a&nbsp;protocol&nbsp;where&nbsp;the&nbsp;callback&nbsp;url&nbsp;is&nbsp;sent&nbsp;in&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;request&nbsp;token&nbsp;step.&nbsp;&nbsp;If&nbsp;the&nbsp;oauth_callback&nbsp;is&nbsp;also&nbsp;set&nbsp;in<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extra_params,&nbsp;this&nbsp;value&nbsp;will&nbsp;override&nbsp;that&nbsp;one.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;The&nbsp;fetched&nbsp;request&nbsp;token&nbsp;as&nbsp;a&nbsp;gdata.auth.OAuthToken&nbsp;object.<br> &nbsp;<br> Raises:<br> &nbsp;&nbsp;FetchingOAuthRequestTokenFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request<br> &nbsp;&nbsp;with&nbsp;an&nbsp;error.</tt></dd></dl> <dl><dt><a name="ContactsService-GenerateAuthSubURL"><strong>GenerateAuthSubURL</strong></a>(self, next, scope, secure<font color="#909090">=False</font>, session<font color="#909090">=True</font>, domain<font color="#909090">='default'</font>)</dt><dd><tt>Generate&nbsp;a&nbsp;URL&nbsp;at&nbsp;which&nbsp;the&nbsp;user&nbsp;will&nbsp;login&nbsp;and&nbsp;be&nbsp;redirected&nbsp;back.<br> &nbsp;<br> Users&nbsp;enter&nbsp;their&nbsp;credentials&nbsp;on&nbsp;a&nbsp;Google&nbsp;login&nbsp;page&nbsp;and&nbsp;a&nbsp;token&nbsp;is&nbsp;sent<br> to&nbsp;the&nbsp;URL&nbsp;specified&nbsp;in&nbsp;next.&nbsp;See&nbsp;documentation&nbsp;for&nbsp;AuthSub&nbsp;login&nbsp;at:<br> <a href="http://code.google.com/apis/accounts/docs/AuthSub.html">http://code.google.com/apis/accounts/docs/AuthSub.html</a><br> &nbsp;<br> Args:<br> &nbsp;&nbsp;next:&nbsp;string&nbsp;The&nbsp;URL&nbsp;user&nbsp;will&nbsp;be&nbsp;sent&nbsp;to&nbsp;after&nbsp;logging&nbsp;in.<br> &nbsp;&nbsp;scope:&nbsp;string&nbsp;or&nbsp;list&nbsp;of&nbsp;strings.&nbsp;The&nbsp;URLs&nbsp;of&nbsp;the&nbsp;services&nbsp;to&nbsp;be&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessed.<br> &nbsp;&nbsp;secure:&nbsp;boolean&nbsp;(optional)&nbsp;Determines&nbsp;whether&nbsp;or&nbsp;not&nbsp;the&nbsp;issued&nbsp;token<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;a&nbsp;secure&nbsp;token.<br> &nbsp;&nbsp;session:&nbsp;boolean&nbsp;(optional)&nbsp;Determines&nbsp;whether&nbsp;or&nbsp;not&nbsp;the&nbsp;issued&nbsp;token<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;can&nbsp;be&nbsp;upgraded&nbsp;to&nbsp;a&nbsp;session&nbsp;token.</tt></dd></dl> <dl><dt><a name="ContactsService-GenerateOAuthAuthorizationURL"><strong>GenerateOAuthAuthorizationURL</strong></a>(self, request_token<font color="#909090">=None</font>, callback_url<font color="#909090">=None</font>, extra_params<font color="#909090">=None</font>, include_scopes_in_callback<font color="#909090">=False</font>, scopes_param_prefix<font color="#909090">='oauth_token_scope'</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthAuthorizeToken'</font>)</dt><dd><tt>Generates&nbsp;URL&nbsp;at&nbsp;which&nbsp;user&nbsp;will&nbsp;login&nbsp;to&nbsp;authorize&nbsp;the&nbsp;request&nbsp;token.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;request_token:&nbsp;gdata.auth.OAuthToken&nbsp;(optional)&nbsp;OAuth&nbsp;request&nbsp;token.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;not&nbsp;specified,&nbsp;then&nbsp;the&nbsp;current&nbsp;token&nbsp;will&nbsp;be&nbsp;used&nbsp;if&nbsp;it&nbsp;is&nbsp;of<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type&nbsp;&lt;gdata.auth.OAuthToken&gt;,&nbsp;else&nbsp;it&nbsp;is&nbsp;found&nbsp;by&nbsp;looking&nbsp;in&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;token_store&nbsp;by&nbsp;looking&nbsp;for&nbsp;a&nbsp;token&nbsp;for&nbsp;the&nbsp;current&nbsp;scope.&nbsp;&nbsp;&nbsp;&nbsp;<br> &nbsp;&nbsp;callback_url:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;URL&nbsp;user&nbsp;will&nbsp;be&nbsp;sent&nbsp;to&nbsp;after<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logging&nbsp;in&nbsp;and&nbsp;granting&nbsp;access.<br> &nbsp;&nbsp;extra_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;parameters&nbsp;to&nbsp;be&nbsp;sent.<br> &nbsp;&nbsp;include_scopes_in_callback:&nbsp;Boolean&nbsp;(default=False)&nbsp;if&nbsp;set&nbsp;to&nbsp;True,&nbsp;and<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;'callback_url'&nbsp;is&nbsp;present,&nbsp;the&nbsp;'callback_url'&nbsp;will&nbsp;be&nbsp;modified&nbsp;to<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;the&nbsp;scope(s)&nbsp;from&nbsp;the&nbsp;request&nbsp;token&nbsp;as&nbsp;a&nbsp;URL&nbsp;parameter.&nbsp;The<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key&nbsp;for&nbsp;the&nbsp;'callback'&nbsp;URL's&nbsp;scope&nbsp;parameter&nbsp;will&nbsp;be<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OAUTH_SCOPE_URL_PARAM_NAME.&nbsp;The&nbsp;benefit&nbsp;of&nbsp;including&nbsp;the&nbsp;scope&nbsp;URL&nbsp;as<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;parameter&nbsp;to&nbsp;the&nbsp;'callback'&nbsp;URL,&nbsp;is&nbsp;that&nbsp;the&nbsp;page&nbsp;which&nbsp;receives<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;OAuth&nbsp;token&nbsp;will&nbsp;be&nbsp;able&nbsp;to&nbsp;tell&nbsp;which&nbsp;URLs&nbsp;the&nbsp;token&nbsp;grants<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;access&nbsp;to.<br> &nbsp;&nbsp;scopes_param_prefix:&nbsp;string&nbsp;(default='oauth_token_scope')&nbsp;The&nbsp;URL<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parameter&nbsp;key&nbsp;which&nbsp;maps&nbsp;to&nbsp;the&nbsp;list&nbsp;of&nbsp;valid&nbsp;scopes&nbsp;for&nbsp;the&nbsp;token.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;URL&nbsp;parameter&nbsp;will&nbsp;be&nbsp;included&nbsp;in&nbsp;the&nbsp;callback&nbsp;URL&nbsp;along&nbsp;with<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;scopes&nbsp;of&nbsp;the&nbsp;token&nbsp;as&nbsp;value&nbsp;if&nbsp;include_scopes_in_callback=True.<br> &nbsp;&nbsp;request_url:&nbsp;Authorization&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/OAuthAuthorizeToken'.<br> Returns:<br> &nbsp;&nbsp;A&nbsp;string&nbsp;URL&nbsp;at&nbsp;which&nbsp;the&nbsp;user&nbsp;is&nbsp;required&nbsp;to&nbsp;login.<br> &nbsp;<br> Raises:<br> &nbsp;&nbsp;NonOAuthToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;request&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;OAuth&nbsp;token&nbsp;or&nbsp;if&nbsp;a<br> &nbsp;&nbsp;request&nbsp;token&nbsp;was&nbsp;not&nbsp;available.</tt></dd></dl> <dl><dt><a name="ContactsService-Get"><strong>Get</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, redirects_remaining<font color="#909090">=4</font>, encoding<font color="#909090">='UTF-8'</font>, converter<font color="#909090">=None</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a>&nbsp;the&nbsp;GData&nbsp;API&nbsp;with&nbsp;the&nbsp;given&nbsp;URI<br> &nbsp;<br> The&nbsp;uri&nbsp;is&nbsp;the&nbsp;portion&nbsp;of&nbsp;the&nbsp;URI&nbsp;after&nbsp;the&nbsp;server&nbsp;value&nbsp;<br> (ex:&nbsp;www.google.com).<br> &nbsp;<br> To&nbsp;perform&nbsp;a&nbsp;query&nbsp;against&nbsp;Google&nbsp;Base,&nbsp;set&nbsp;the&nbsp;server&nbsp;to&nbsp;<br> 'base.google.com'&nbsp;and&nbsp;set&nbsp;the&nbsp;uri&nbsp;to&nbsp;'/base/feeds/...',&nbsp;where&nbsp;...&nbsp;is&nbsp;<br> your&nbsp;query.&nbsp;For&nbsp;example,&nbsp;to&nbsp;find&nbsp;snippets&nbsp;for&nbsp;all&nbsp;digital&nbsp;cameras&nbsp;uri&nbsp;<br> should&nbsp;be&nbsp;set&nbsp;to:&nbsp;'/base/feeds/snippets?bq=digital+camera'<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;query&nbsp;in&nbsp;the&nbsp;form&nbsp;of&nbsp;a&nbsp;URI.&nbsp;Example:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/snippets?bq=digital+camera'.<br> &nbsp;&nbsp;extra_headers:&nbsp;dictionary&nbsp;(optional)&nbsp;Extra&nbsp;HTTP&nbsp;headers&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;GET&nbsp;request.&nbsp;These&nbsp;headers&nbsp;are&nbsp;in&nbsp;addition&nbsp;to&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;those&nbsp;stored&nbsp;in&nbsp;the&nbsp;client's&nbsp;additional_headers&nbsp;property.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br> &nbsp;&nbsp;redirects_remaining:&nbsp;int&nbsp;(optional)&nbsp;Tracks&nbsp;the&nbsp;number&nbsp;of&nbsp;additional<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redirects&nbsp;this&nbsp;method&nbsp;will&nbsp;allow.&nbsp;If&nbsp;the&nbsp;service&nbsp;object&nbsp;receives<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;redirect&nbsp;and&nbsp;remaining&nbsp;is&nbsp;0,&nbsp;it&nbsp;will&nbsp;not&nbsp;follow&nbsp;the&nbsp;redirect.&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;was&nbsp;added&nbsp;to&nbsp;avoid&nbsp;infinite&nbsp;redirect&nbsp;loops.<br> &nbsp;&nbsp;encoding:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;character&nbsp;encoding&nbsp;for&nbsp;the&nbsp;server's<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response.&nbsp;Default&nbsp;is&nbsp;UTF-8<br> &nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;transform<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server's&nbsp;results&nbsp;before&nbsp;it&nbsp;is&nbsp;returned.&nbsp;Example:&nbsp;use&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataFeedFromString&nbsp;to&nbsp;parse&nbsp;the&nbsp;server&nbsp;response&nbsp;as&nbsp;if&nbsp;it<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;were&nbsp;a&nbsp;GDataFeed.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;If&nbsp;there&nbsp;is&nbsp;no&nbsp;ResultsTransformer&nbsp;specified&nbsp;in&nbsp;the&nbsp;call,&nbsp;a&nbsp;GDataFeed&nbsp;<br> &nbsp;&nbsp;or&nbsp;GDataEntry&nbsp;depending&nbsp;on&nbsp;which&nbsp;is&nbsp;sent&nbsp;from&nbsp;the&nbsp;server.&nbsp;If&nbsp;the&nbsp;<br> &nbsp;&nbsp;response&nbsp;is&nbsp;niether&nbsp;a&nbsp;feed&nbsp;or&nbsp;entry&nbsp;and&nbsp;there&nbsp;is&nbsp;no&nbsp;ResultsTransformer,<br> &nbsp;&nbsp;return&nbsp;a&nbsp;string.&nbsp;If&nbsp;there&nbsp;is&nbsp;a&nbsp;ResultsTransformer,&nbsp;the&nbsp;returned&nbsp;value&nbsp;<br> &nbsp;&nbsp;will&nbsp;be&nbsp;that&nbsp;of&nbsp;the&nbsp;ResultsTransformer&nbsp;function.</tt></dd></dl> <dl><dt><a name="ContactsService-GetAuthSubToken"><strong>GetAuthSubToken</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;AuthSub&nbsp;token&nbsp;as&nbsp;a&nbsp;string.<br> &nbsp;<br> If&nbsp;the&nbsp;token&nbsp;is&nbsp;an&nbsp;gdta.auth.AuthSubToken,&nbsp;the&nbsp;Authorization&nbsp;Label<br> ("AuthSub&nbsp;token")&nbsp;is&nbsp;removed.<br> &nbsp;<br> This&nbsp;method&nbsp;examines&nbsp;the&nbsp;current_token&nbsp;to&nbsp;see&nbsp;if&nbsp;it&nbsp;is&nbsp;an&nbsp;AuthSubToken<br> or&nbsp;SecureAuthSubToken.&nbsp;If&nbsp;not,&nbsp;it&nbsp;searches&nbsp;the&nbsp;token_store&nbsp;for&nbsp;a&nbsp;token<br> which&nbsp;matches&nbsp;the&nbsp;current&nbsp;scope.<br> &nbsp;<br> The&nbsp;current&nbsp;scope&nbsp;is&nbsp;determined&nbsp;by&nbsp;the&nbsp;service&nbsp;name&nbsp;string&nbsp;member.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;If&nbsp;the&nbsp;current_token&nbsp;is&nbsp;set&nbsp;to&nbsp;an&nbsp;AuthSubToken/SecureAuthSubToken,<br> &nbsp;&nbsp;return&nbsp;the&nbsp;token&nbsp;string.&nbsp;If&nbsp;there&nbsp;is&nbsp;no&nbsp;current_token,&nbsp;a&nbsp;token&nbsp;string<br> &nbsp;&nbsp;for&nbsp;a&nbsp;token&nbsp;which&nbsp;matches&nbsp;the&nbsp;service&nbsp;object's&nbsp;default&nbsp;scope&nbsp;is&nbsp;returned.<br> &nbsp;&nbsp;If&nbsp;there&nbsp;are&nbsp;no&nbsp;tokens&nbsp;valid&nbsp;for&nbsp;the&nbsp;scope,&nbsp;returns&nbsp;None.</tt></dd></dl> <dl><dt><a name="ContactsService-GetClientLoginToken"><strong>GetClientLoginToken</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;token&nbsp;string&nbsp;for&nbsp;the&nbsp;current&nbsp;token&nbsp;or&nbsp;a&nbsp;token&nbsp;matching&nbsp;the&nbsp;<br> service&nbsp;scope.<br> &nbsp;<br> If&nbsp;the&nbsp;current_token&nbsp;is&nbsp;a&nbsp;ClientLoginToken,&nbsp;the&nbsp;token&nbsp;string&nbsp;for&nbsp;<br> the&nbsp;current&nbsp;token&nbsp;is&nbsp;returned.&nbsp;If&nbsp;the&nbsp;current_token&nbsp;is&nbsp;not&nbsp;set,&nbsp;this&nbsp;method<br> searches&nbsp;for&nbsp;a&nbsp;token&nbsp;in&nbsp;the&nbsp;token_store&nbsp;which&nbsp;is&nbsp;valid&nbsp;for&nbsp;the&nbsp;service&nbsp;<br> object's&nbsp;current&nbsp;scope.<br> &nbsp;<br> The&nbsp;current&nbsp;scope&nbsp;is&nbsp;determined&nbsp;by&nbsp;the&nbsp;service&nbsp;name&nbsp;string&nbsp;member.<br> The&nbsp;token&nbsp;string&nbsp;is&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;Authorization&nbsp;header,&nbsp;it&nbsp;doesn&nbsp;not<br> include&nbsp;the&nbsp;ClientLogin&nbsp;label.</tt></dd></dl> <dl><dt><a name="ContactsService-GetEntry"><strong>GetEntry</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a>&nbsp;the&nbsp;GData&nbsp;API&nbsp;with&nbsp;the&nbsp;given&nbsp;URI&nbsp;and&nbsp;receive&nbsp;an&nbsp;Entry.<br> &nbsp;<br> See&nbsp;also&nbsp;documentation&nbsp;for&nbsp;gdata.service.Get<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;query&nbsp;in&nbsp;the&nbsp;form&nbsp;of&nbsp;a&nbsp;URI.&nbsp;Example:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/snippets?bq=digital+camera'.<br> &nbsp;&nbsp;extra_headers:&nbsp;dictionary&nbsp;(optional)&nbsp;Extra&nbsp;HTTP&nbsp;headers&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;GET&nbsp;request.&nbsp;These&nbsp;headers&nbsp;are&nbsp;in&nbsp;addition&nbsp;to<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;those&nbsp;stored&nbsp;in&nbsp;the&nbsp;client's&nbsp;additional_headers&nbsp;property.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;A&nbsp;GDataEntry&nbsp;built&nbsp;from&nbsp;the&nbsp;XML&nbsp;in&nbsp;the&nbsp;server's&nbsp;response.</tt></dd></dl> <dl><dt><a name="ContactsService-GetFeed"><strong>GetFeed</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>, converter<font color="#909090">=&lt;function GDataFeedFromString at 0x7f79a1ac1488&gt;</font>)</dt><dd><tt><a href="gdata.service.html#Query">Query</a>&nbsp;the&nbsp;GData&nbsp;API&nbsp;with&nbsp;the&nbsp;given&nbsp;URI&nbsp;and&nbsp;receive&nbsp;a&nbsp;Feed.<br> &nbsp;<br> See&nbsp;also&nbsp;documentation&nbsp;for&nbsp;gdata.service.Get<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;query&nbsp;in&nbsp;the&nbsp;form&nbsp;of&nbsp;a&nbsp;URI.&nbsp;Example:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'/base/feeds/snippets?bq=digital+camera'.<br> &nbsp;&nbsp;extra_headers:&nbsp;dictionary&nbsp;(optional)&nbsp;Extra&nbsp;HTTP&nbsp;headers&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;GET&nbsp;request.&nbsp;These&nbsp;headers&nbsp;are&nbsp;in&nbsp;addition&nbsp;to<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;those&nbsp;stored&nbsp;in&nbsp;the&nbsp;client's&nbsp;additional_headers&nbsp;property.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type&nbsp;and<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization&nbsp;headers.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;A&nbsp;GDataFeed&nbsp;built&nbsp;from&nbsp;the&nbsp;XML&nbsp;in&nbsp;the&nbsp;server's&nbsp;response.</tt></dd></dl> <dl><dt><a name="ContactsService-GetMedia"><strong>GetMedia</strong></a>(self, uri, extra_headers<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;MediaSource&nbsp;containing&nbsp;media&nbsp;and&nbsp;its&nbsp;metadata&nbsp;from&nbsp;the&nbsp;given<br> URI&nbsp;string.</tt></dd></dl> <dl><dt><a name="ContactsService-GetNext"><strong>GetNext</strong></a>(self, feed)</dt><dd><tt>Requests&nbsp;the&nbsp;next&nbsp;'page'&nbsp;of&nbsp;results&nbsp;in&nbsp;the&nbsp;feed.<br> &nbsp;<br> This&nbsp;method&nbsp;uses&nbsp;the&nbsp;feed's&nbsp;next&nbsp;link&nbsp;to&nbsp;request&nbsp;an&nbsp;additional&nbsp;feed<br> and&nbsp;uses&nbsp;the&nbsp;class&nbsp;of&nbsp;the&nbsp;feed&nbsp;to&nbsp;convert&nbsp;the&nbsp;results&nbsp;of&nbsp;the&nbsp;GET&nbsp;request.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;feed:&nbsp;atom.Feed&nbsp;or&nbsp;a&nbsp;subclass.&nbsp;The&nbsp;feed&nbsp;should&nbsp;contain&nbsp;a&nbsp;next&nbsp;link&nbsp;and<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;type&nbsp;of&nbsp;the&nbsp;feed&nbsp;will&nbsp;be&nbsp;applied&nbsp;to&nbsp;the&nbsp;results&nbsp;from&nbsp;the&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server.&nbsp;The&nbsp;new&nbsp;feed&nbsp;which&nbsp;is&nbsp;returned&nbsp;will&nbsp;be&nbsp;of&nbsp;the&nbsp;same&nbsp;class<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;as&nbsp;this&nbsp;feed&nbsp;which&nbsp;was&nbsp;passed&nbsp;in.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;A&nbsp;new&nbsp;feed&nbsp;representing&nbsp;the&nbsp;next&nbsp;set&nbsp;of&nbsp;results&nbsp;in&nbsp;the&nbsp;server's&nbsp;feed.<br> &nbsp;&nbsp;The&nbsp;type&nbsp;of&nbsp;this&nbsp;feed&nbsp;will&nbsp;match&nbsp;that&nbsp;of&nbsp;the&nbsp;feed&nbsp;argument.</tt></dd></dl> <dl><dt><a name="ContactsService-GetOAuthInputParameters"><strong>GetOAuthInputParameters</strong></a>(self)</dt></dl> <dl><dt><a name="ContactsService-Post"><strong>Post</strong></a>(self, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Insert&nbsp;or&nbsp;update&nbsp;&nbsp;data&nbsp;into&nbsp;a&nbsp;GData&nbsp;service&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;data:&nbsp;string,&nbsp;ElementTree._Element,&nbsp;atom.Entry,&nbsp;or&nbsp;gdata.GDataEntry&nbsp;The<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XML&nbsp;to&nbsp;be&nbsp;sent&nbsp;to&nbsp;the&nbsp;uri.<br> &nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;location&nbsp;(feed)&nbsp;to&nbsp;which&nbsp;the&nbsp;data&nbsp;should&nbsp;be&nbsp;inserted.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;'/base/feeds/items'.<br> &nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization,&nbsp;and&nbsp;Content-Length&nbsp;headers.<br> &nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br> &nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br> &nbsp;&nbsp;media_source:&nbsp;MediaSource&nbsp;(optional)&nbsp;Container&nbsp;for&nbsp;the&nbsp;media&nbsp;to&nbsp;be&nbsp;sent<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;along&nbsp;with&nbsp;the&nbsp;entry,&nbsp;if&nbsp;provided.<br> &nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;be&nbsp;executed&nbsp;on&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server's&nbsp;response.&nbsp;Often&nbsp;this&nbsp;is&nbsp;a&nbsp;function&nbsp;like<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataEntryFromString&nbsp;which&nbsp;will&nbsp;parse&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;server's<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;and&nbsp;return&nbsp;a&nbsp;GDataEntry.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;If&nbsp;the&nbsp;post&nbsp;succeeded,&nbsp;this&nbsp;method&nbsp;will&nbsp;return&nbsp;a&nbsp;GDataFeed,&nbsp;GDataEntry,<br> &nbsp;&nbsp;or&nbsp;the&nbsp;results&nbsp;of&nbsp;running&nbsp;converter&nbsp;on&nbsp;the&nbsp;server's&nbsp;result&nbsp;body&nbsp;(if<br> &nbsp;&nbsp;converter&nbsp;was&nbsp;specified).</tt></dd></dl> <dl><dt><a name="ContactsService-PostOrPut"><strong>PostOrPut</strong></a>(self, verb, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=4</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Insert&nbsp;data&nbsp;into&nbsp;a&nbsp;GData&nbsp;service&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;verb:&nbsp;string,&nbsp;either&nbsp;'POST'&nbsp;or&nbsp;'PUT'<br> &nbsp;&nbsp;data:&nbsp;string,&nbsp;ElementTree._Element,&nbsp;atom.Entry,&nbsp;or&nbsp;gdata.GDataEntry&nbsp;The<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XML&nbsp;to&nbsp;be&nbsp;sent&nbsp;to&nbsp;the&nbsp;uri.&nbsp;<br> &nbsp;&nbsp;uri:&nbsp;string&nbsp;The&nbsp;location&nbsp;(feed)&nbsp;to&nbsp;which&nbsp;the&nbsp;data&nbsp;should&nbsp;be&nbsp;inserted.&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;'/base/feeds/items'.&nbsp;<br> &nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization,&nbsp;and&nbsp;Content-Length&nbsp;headers.<br> &nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br> &nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br> &nbsp;&nbsp;media_source:&nbsp;MediaSource&nbsp;(optional)&nbsp;Container&nbsp;for&nbsp;the&nbsp;media&nbsp;to&nbsp;be&nbsp;sent<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;along&nbsp;with&nbsp;the&nbsp;entry,&nbsp;if&nbsp;provided.<br> &nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;be&nbsp;executed&nbsp;on&nbsp;the&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server's&nbsp;response.&nbsp;Often&nbsp;this&nbsp;is&nbsp;a&nbsp;function&nbsp;like&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataEntryFromString&nbsp;which&nbsp;will&nbsp;parse&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;and&nbsp;return&nbsp;a&nbsp;GDataEntry.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;If&nbsp;the&nbsp;post&nbsp;succeeded,&nbsp;this&nbsp;method&nbsp;will&nbsp;return&nbsp;a&nbsp;GDataFeed,&nbsp;GDataEntry,<br> &nbsp;&nbsp;or&nbsp;the&nbsp;results&nbsp;of&nbsp;running&nbsp;converter&nbsp;on&nbsp;the&nbsp;server's&nbsp;result&nbsp;body&nbsp;(if<br> &nbsp;&nbsp;converter&nbsp;was&nbsp;specified).</tt></dd></dl> <dl><dt><a name="ContactsService-ProgrammaticLogin"><strong>ProgrammaticLogin</strong></a>(self, captcha_token<font color="#909090">=None</font>, captcha_response<font color="#909090">=None</font>)</dt><dd><tt>Authenticates&nbsp;the&nbsp;user&nbsp;and&nbsp;sets&nbsp;the&nbsp;GData&nbsp;Auth&nbsp;token.<br> &nbsp;<br> Login&nbsp;retreives&nbsp;a&nbsp;temporary&nbsp;auth&nbsp;token&nbsp;which&nbsp;must&nbsp;be&nbsp;used&nbsp;with&nbsp;all<br> requests&nbsp;to&nbsp;GData&nbsp;services.&nbsp;The&nbsp;auth&nbsp;token&nbsp;is&nbsp;stored&nbsp;in&nbsp;the&nbsp;GData&nbsp;client<br> object.<br> &nbsp;<br> Login&nbsp;is&nbsp;also&nbsp;used&nbsp;to&nbsp;respond&nbsp;to&nbsp;a&nbsp;captcha&nbsp;challenge.&nbsp;If&nbsp;the&nbsp;user's&nbsp;login<br> attempt&nbsp;failed&nbsp;with&nbsp;a&nbsp;CaptchaRequired&nbsp;error,&nbsp;the&nbsp;user&nbsp;can&nbsp;respond&nbsp;by<br> calling&nbsp;Login&nbsp;with&nbsp;the&nbsp;captcha&nbsp;token&nbsp;and&nbsp;the&nbsp;answer&nbsp;to&nbsp;the&nbsp;challenge.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;captcha_token:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;identifier&nbsp;for&nbsp;the&nbsp;captcha&nbsp;challenge<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;which&nbsp;was&nbsp;presented&nbsp;to&nbsp;the&nbsp;user.<br> &nbsp;&nbsp;captcha_response:&nbsp;string&nbsp;(optional)&nbsp;The&nbsp;user's&nbsp;answer&nbsp;to&nbsp;the&nbsp;captch&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;challenge.<br> &nbsp;<br> Raises:<br> &nbsp;&nbsp;CaptchaRequired&nbsp;if&nbsp;the&nbsp;login&nbsp;service&nbsp;will&nbsp;require&nbsp;a&nbsp;captcha&nbsp;response<br> &nbsp;&nbsp;BadAuthentication&nbsp;if&nbsp;the&nbsp;login&nbsp;service&nbsp;rejected&nbsp;the&nbsp;username&nbsp;or&nbsp;password<br> &nbsp;&nbsp;<a href="#Error">Error</a>&nbsp;if&nbsp;the&nbsp;login&nbsp;service&nbsp;responded&nbsp;with&nbsp;a&nbsp;403&nbsp;different&nbsp;from&nbsp;the&nbsp;above</tt></dd></dl> <dl><dt><a name="ContactsService-Put"><strong>Put</strong></a>(self, data, uri, extra_headers<font color="#909090">=None</font>, url_params<font color="#909090">=None</font>, escape_params<font color="#909090">=True</font>, redirects_remaining<font color="#909090">=3</font>, media_source<font color="#909090">=None</font>, converter<font color="#909090">=None</font>)</dt><dd><tt>Updates&nbsp;an&nbsp;entry&nbsp;at&nbsp;the&nbsp;given&nbsp;URI.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;data:&nbsp;string,&nbsp;ElementTree._Element,&nbsp;or&nbsp;xml_wrapper.ElementWrapper&nbsp;The&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XML&nbsp;containing&nbsp;the&nbsp;updated&nbsp;data.<br> &nbsp;&nbsp;uri:&nbsp;string&nbsp;A&nbsp;URI&nbsp;indicating&nbsp;entry&nbsp;to&nbsp;which&nbsp;the&nbsp;update&nbsp;will&nbsp;be&nbsp;applied.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;'/base/feeds/items/ITEM-ID'<br> &nbsp;&nbsp;extra_headers:&nbsp;dict&nbsp;(optional)&nbsp;HTTP&nbsp;headers&nbsp;which&nbsp;are&nbsp;to&nbsp;be&nbsp;included.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;client&nbsp;automatically&nbsp;sets&nbsp;the&nbsp;Content-Type,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorization,&nbsp;and&nbsp;Content-Length&nbsp;headers.<br> &nbsp;&nbsp;url_params:&nbsp;dict&nbsp;(optional)&nbsp;Additional&nbsp;URL&nbsp;parameters&nbsp;to&nbsp;be&nbsp;included<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;URI.&nbsp;These&nbsp;are&nbsp;translated&nbsp;into&nbsp;query&nbsp;arguments<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;the&nbsp;form&nbsp;'&amp;dict_key=value&amp;...'.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Example:&nbsp;{'max-results':&nbsp;'250'}&nbsp;becomes&nbsp;&amp;max-results=250<br> &nbsp;&nbsp;escape_params:&nbsp;boolean&nbsp;(optional)&nbsp;If&nbsp;false,&nbsp;the&nbsp;calling&nbsp;code&nbsp;has&nbsp;already<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ensured&nbsp;that&nbsp;the&nbsp;query&nbsp;will&nbsp;form&nbsp;a&nbsp;valid&nbsp;URL&nbsp;(all<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reserved&nbsp;characters&nbsp;have&nbsp;been&nbsp;escaped).&nbsp;If&nbsp;true,&nbsp;this<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method&nbsp;will&nbsp;escape&nbsp;the&nbsp;query&nbsp;and&nbsp;any&nbsp;URL&nbsp;parameters<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provided.<br> &nbsp;&nbsp;converter:&nbsp;func&nbsp;(optional)&nbsp;A&nbsp;function&nbsp;which&nbsp;will&nbsp;be&nbsp;executed&nbsp;on&nbsp;the&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server's&nbsp;response.&nbsp;Often&nbsp;this&nbsp;is&nbsp;a&nbsp;function&nbsp;like&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDataEntryFromString&nbsp;which&nbsp;will&nbsp;parse&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;server's&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;and&nbsp;return&nbsp;a&nbsp;GDataEntry.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;If&nbsp;the&nbsp;put&nbsp;succeeded,&nbsp;this&nbsp;method&nbsp;will&nbsp;return&nbsp;a&nbsp;GDataFeed,&nbsp;GDataEntry,<br> &nbsp;&nbsp;or&nbsp;the&nbsp;results&nbsp;of&nbsp;running&nbsp;converter&nbsp;on&nbsp;the&nbsp;server's&nbsp;result&nbsp;body&nbsp;(if<br> &nbsp;&nbsp;converter&nbsp;was&nbsp;specified).</tt></dd></dl> <dl><dt><a name="ContactsService-RevokeAuthSubToken"><strong>RevokeAuthSubToken</strong></a>(self)</dt><dd><tt>Revokes&nbsp;an&nbsp;existing&nbsp;AuthSub&nbsp;token.<br> &nbsp;<br> Raises:<br> &nbsp;&nbsp;NonAuthSubToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;AuthSub&nbsp;token</tt></dd></dl> <dl><dt><a name="ContactsService-RevokeOAuthToken"><strong>RevokeOAuthToken</strong></a>(self, request_url<font color="#909090">='https://www.google.com/accounts/AuthSubRevokeToken'</font>)</dt><dd><tt>Revokes&nbsp;an&nbsp;existing&nbsp;OAuth&nbsp;token.<br> &nbsp;<br> request_url:&nbsp;Token&nbsp;revoke&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/AuthSubRevokeToken'.<br> Raises:<br> &nbsp;&nbsp;NonOAuthToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;OAuth&nbsp;token.<br> &nbsp;&nbsp;RevokingOAuthTokenFailed&nbsp;if&nbsp;request&nbsp;for&nbsp;revoking&nbsp;an&nbsp;OAuth&nbsp;token&nbsp;failed.</tt></dd></dl> <dl><dt><a name="ContactsService-SetAuthSubToken"><strong>SetAuthSubToken</strong></a>(self, token, scopes<font color="#909090">=None</font>, rsa_key<font color="#909090">=None</font>)</dt><dd><tt>Sets&nbsp;the&nbsp;token&nbsp;sent&nbsp;in&nbsp;requests&nbsp;to&nbsp;an&nbsp;AuthSub&nbsp;token.<br> &nbsp;<br> Sets&nbsp;the&nbsp;current_token&nbsp;and&nbsp;attempts&nbsp;to&nbsp;add&nbsp;the&nbsp;token&nbsp;to&nbsp;the&nbsp;token_store.<br> &nbsp;<br> Only&nbsp;use&nbsp;this&nbsp;method&nbsp;if&nbsp;you&nbsp;have&nbsp;received&nbsp;a&nbsp;token&nbsp;from&nbsp;the&nbsp;AuthSub<br> service.&nbsp;The&nbsp;auth&nbsp;token&nbsp;is&nbsp;set&nbsp;automatically&nbsp;when&nbsp;<a href="#ContactsService-UpgradeToSessionToken">UpgradeToSessionToken</a>()<br> is&nbsp;used.&nbsp;See&nbsp;documentation&nbsp;for&nbsp;Google&nbsp;AuthSub&nbsp;here:<br> <a href="http://code.google.com/apis/accounts/AuthForWebApps.html">http://code.google.com/apis/accounts/AuthForWebApps.html</a>&nbsp;<br> &nbsp;<br> Args:<br> &nbsp;token:&nbsp;gdata.auth.AuthSubToken&nbsp;or&nbsp;gdata.auth.SecureAuthSubToken&nbsp;or&nbsp;string<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;token&nbsp;returned&nbsp;by&nbsp;the&nbsp;AuthSub&nbsp;service.&nbsp;If&nbsp;the&nbsp;token&nbsp;is&nbsp;an<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AuthSubToken&nbsp;or&nbsp;SecureAuthSubToken,&nbsp;the&nbsp;scope&nbsp;information&nbsp;stored&nbsp;in<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;token&nbsp;is&nbsp;used.&nbsp;If&nbsp;the&nbsp;token&nbsp;is&nbsp;a&nbsp;string,&nbsp;the&nbsp;scopes&nbsp;parameter&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used&nbsp;to&nbsp;determine&nbsp;the&nbsp;valid&nbsp;scopes.<br> &nbsp;scopes:&nbsp;list&nbsp;of&nbsp;URLs&nbsp;for&nbsp;which&nbsp;the&nbsp;token&nbsp;is&nbsp;valid.&nbsp;This&nbsp;is&nbsp;only&nbsp;used<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;the&nbsp;token&nbsp;parameter&nbsp;is&nbsp;a&nbsp;string.<br> &nbsp;rsa_key:&nbsp;string&nbsp;(optional)&nbsp;Private&nbsp;key&nbsp;required&nbsp;for&nbsp;RSA_SHA1&nbsp;signature<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method.&nbsp;&nbsp;This&nbsp;parameter&nbsp;is&nbsp;necessary&nbsp;if&nbsp;the&nbsp;token&nbsp;is&nbsp;a&nbsp;string<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;representing&nbsp;a&nbsp;secure&nbsp;token.</tt></dd></dl> <dl><dt><a name="ContactsService-SetClientLoginToken"><strong>SetClientLoginToken</strong></a>(self, token, scopes<font color="#909090">=None</font>)</dt><dd><tt>Sets&nbsp;the&nbsp;token&nbsp;sent&nbsp;in&nbsp;requests&nbsp;to&nbsp;a&nbsp;ClientLogin&nbsp;token.<br> &nbsp;<br> This&nbsp;method&nbsp;sets&nbsp;the&nbsp;current_token&nbsp;to&nbsp;a&nbsp;new&nbsp;ClientLoginToken&nbsp;and&nbsp;it&nbsp;<br> also&nbsp;attempts&nbsp;to&nbsp;add&nbsp;the&nbsp;ClientLoginToken&nbsp;to&nbsp;the&nbsp;token_store.<br> &nbsp;<br> Only&nbsp;use&nbsp;this&nbsp;method&nbsp;if&nbsp;you&nbsp;have&nbsp;received&nbsp;a&nbsp;token&nbsp;from&nbsp;the&nbsp;ClientLogin<br> service.&nbsp;The&nbsp;auth_token&nbsp;is&nbsp;set&nbsp;automatically&nbsp;when&nbsp;<a href="#ContactsService-ProgrammaticLogin">ProgrammaticLogin</a>()<br> is&nbsp;used.&nbsp;See&nbsp;documentation&nbsp;for&nbsp;Google&nbsp;ClientLogin&nbsp;here:<br> <a href="http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html">http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html</a><br> &nbsp;<br> Args:<br> &nbsp;&nbsp;token:&nbsp;string&nbsp;or&nbsp;instance&nbsp;of&nbsp;a&nbsp;ClientLoginToken.</tt></dd></dl> <dl><dt><a name="ContactsService-SetOAuthInputParameters"><strong>SetOAuthInputParameters</strong></a>(self, signature_method, consumer_key, consumer_secret<font color="#909090">=None</font>, rsa_key<font color="#909090">=None</font>, two_legged_oauth<font color="#909090">=False</font>, requestor_id<font color="#909090">=None</font>)</dt><dd><tt>Sets&nbsp;parameters&nbsp;required&nbsp;for&nbsp;using&nbsp;OAuth&nbsp;authentication&nbsp;mechanism.<br> &nbsp;<br> NOTE:&nbsp;Though&nbsp;consumer_secret&nbsp;and&nbsp;rsa_key&nbsp;are&nbsp;optional,&nbsp;either&nbsp;of&nbsp;the&nbsp;two<br> is&nbsp;required&nbsp;depending&nbsp;on&nbsp;the&nbsp;value&nbsp;of&nbsp;the&nbsp;signature_method.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;signature_method:&nbsp;class&nbsp;which&nbsp;provides&nbsp;implementation&nbsp;for&nbsp;strategy&nbsp;class<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oauth.oauth.OAuthSignatureMethod.&nbsp;Signature&nbsp;method&nbsp;to&nbsp;be&nbsp;used&nbsp;for<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;signing&nbsp;each&nbsp;request.&nbsp;Valid&nbsp;implementations&nbsp;are&nbsp;provided&nbsp;as&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;constants&nbsp;defined&nbsp;by&nbsp;gdata.auth.OAuthSignatureMethod.&nbsp;Currently<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;they&nbsp;are&nbsp;gdata.auth.OAuthSignatureMethod.RSA_SHA1&nbsp;and<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gdata.auth.OAuthSignatureMethod.HMAC_SHA1<br> &nbsp;&nbsp;consumer_key:&nbsp;string&nbsp;Domain&nbsp;identifying&nbsp;third_party&nbsp;web&nbsp;application.<br> &nbsp;&nbsp;consumer_secret:&nbsp;string&nbsp;(optional)&nbsp;Secret&nbsp;generated&nbsp;during&nbsp;registration.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Required&nbsp;only&nbsp;for&nbsp;HMAC_SHA1&nbsp;signature&nbsp;method.<br> &nbsp;&nbsp;rsa_key:&nbsp;string&nbsp;(optional)&nbsp;Private&nbsp;key&nbsp;required&nbsp;for&nbsp;RSA_SHA1&nbsp;signature<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method.<br> &nbsp;&nbsp;two_legged_oauth:&nbsp;boolean&nbsp;(optional)&nbsp;Enables&nbsp;two-legged&nbsp;OAuth&nbsp;process.<br> &nbsp;&nbsp;requestor_id:&nbsp;string&nbsp;(optional)&nbsp;User&nbsp;email&nbsp;adress&nbsp;to&nbsp;make&nbsp;requests&nbsp;on<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;their&nbsp;behalf.&nbsp;&nbsp;This&nbsp;parameter&nbsp;should&nbsp;only&nbsp;be&nbsp;set&nbsp;when&nbsp;two_legged_oauth<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;True.</tt></dd></dl> <dl><dt><a name="ContactsService-SetOAuthToken"><strong>SetOAuthToken</strong></a>(self, oauth_token)</dt><dd><tt>Attempts&nbsp;to&nbsp;set&nbsp;the&nbsp;current&nbsp;token&nbsp;and&nbsp;add&nbsp;it&nbsp;to&nbsp;the&nbsp;token&nbsp;store.<br> &nbsp;<br> The&nbsp;oauth_token&nbsp;can&nbsp;be&nbsp;any&nbsp;OAuth&nbsp;token&nbsp;i.e.&nbsp;unauthorized&nbsp;request&nbsp;token,<br> authorized&nbsp;request&nbsp;token&nbsp;or&nbsp;access&nbsp;token.<br> This&nbsp;method&nbsp;also&nbsp;attempts&nbsp;to&nbsp;add&nbsp;the&nbsp;token&nbsp;to&nbsp;the&nbsp;token&nbsp;store.<br> Use&nbsp;this&nbsp;method&nbsp;any&nbsp;time&nbsp;you&nbsp;want&nbsp;the&nbsp;current&nbsp;token&nbsp;to&nbsp;point&nbsp;to&nbsp;the<br> oauth_token&nbsp;passed.&nbsp;For&nbsp;e.g.&nbsp;call&nbsp;this&nbsp;method&nbsp;with&nbsp;the&nbsp;request&nbsp;token<br> you&nbsp;receive&nbsp;from&nbsp;FetchOAuthRequestToken.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;request_token:&nbsp;gdata.auth.OAuthToken&nbsp;OAuth&nbsp;request&nbsp;token.</tt></dd></dl> <dl><dt><a name="ContactsService-UpgradeToOAuthAccessToken"><strong>UpgradeToOAuthAccessToken</strong></a>(self, authorized_request_token<font color="#909090">=None</font>, request_url<font color="#909090">='https://www.google.com/accounts/OAuthGetAccessToken'</font>, oauth_version<font color="#909090">='1.0'</font>, oauth_verifier<font color="#909090">=None</font>)</dt><dd><tt>Upgrades&nbsp;the&nbsp;authorized&nbsp;request&nbsp;token&nbsp;to&nbsp;an&nbsp;access&nbsp;token&nbsp;and&nbsp;returns&nbsp;it<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;authorized_request_token:&nbsp;gdata.auth.OAuthToken&nbsp;(optional)&nbsp;OAuth&nbsp;request<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;token.&nbsp;If&nbsp;not&nbsp;specified,&nbsp;then&nbsp;the&nbsp;current&nbsp;token&nbsp;will&nbsp;be&nbsp;used&nbsp;if&nbsp;it&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;of&nbsp;type&nbsp;&lt;gdata.auth.OAuthToken&gt;,&nbsp;else&nbsp;it&nbsp;is&nbsp;found&nbsp;by&nbsp;looking&nbsp;in&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;token_store&nbsp;by&nbsp;looking&nbsp;for&nbsp;a&nbsp;token&nbsp;for&nbsp;the&nbsp;current&nbsp;scope.<br> &nbsp;&nbsp;request_url:&nbsp;Access&nbsp;token&nbsp;URL.&nbsp;The&nbsp;default&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'https://www.google.com/accounts/OAuthGetAccessToken'.<br> &nbsp;&nbsp;oauth_version:&nbsp;str&nbsp;(default='1.0')&nbsp;oauth_version&nbsp;parameter.&nbsp;All&nbsp;other<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'oauth_'&nbsp;parameters&nbsp;are&nbsp;added&nbsp;by&nbsp;default.&nbsp;This&nbsp;parameter&nbsp;too,&nbsp;is<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;added&nbsp;by&nbsp;default&nbsp;but&nbsp;here&nbsp;you&nbsp;can&nbsp;override&nbsp;it's&nbsp;value.<br> &nbsp;&nbsp;oauth_verifier:&nbsp;str&nbsp;(optional)&nbsp;If&nbsp;present,&nbsp;it&nbsp;is&nbsp;assumed&nbsp;that&nbsp;the&nbsp;client<br> &nbsp;&nbsp;&nbsp;&nbsp;will&nbsp;use&nbsp;the&nbsp;OAuth&nbsp;v1.0a&nbsp;protocol&nbsp;which&nbsp;includes&nbsp;passing&nbsp;the<br> &nbsp;&nbsp;&nbsp;&nbsp;oauth_verifier&nbsp;(as&nbsp;returned&nbsp;by&nbsp;the&nbsp;SP)&nbsp;in&nbsp;the&nbsp;access&nbsp;token&nbsp;step.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;Access&nbsp;token<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> Raises:<br> &nbsp;&nbsp;NonOAuthToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;authorized&nbsp;request&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;OAuth<br> &nbsp;&nbsp;token&nbsp;or&nbsp;if&nbsp;an&nbsp;authorized&nbsp;request&nbsp;token&nbsp;was&nbsp;not&nbsp;available.<br> &nbsp;&nbsp;TokenUpgradeFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request&nbsp;with&nbsp;an&nbsp;<br> &nbsp;&nbsp;error.</tt></dd></dl> <dl><dt><a name="ContactsService-UpgradeToSessionToken"><strong>UpgradeToSessionToken</strong></a>(self, token<font color="#909090">=None</font>)</dt><dd><tt>Upgrades&nbsp;a&nbsp;single&nbsp;use&nbsp;AuthSub&nbsp;token&nbsp;to&nbsp;a&nbsp;session&nbsp;token.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;token:&nbsp;A&nbsp;gdata.auth.AuthSubToken&nbsp;or&nbsp;gdata.auth.SecureAuthSubToken<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(optional)&nbsp;which&nbsp;is&nbsp;good&nbsp;for&nbsp;a&nbsp;single&nbsp;use&nbsp;but&nbsp;can&nbsp;be&nbsp;upgraded<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to&nbsp;a&nbsp;session&nbsp;token.&nbsp;If&nbsp;no&nbsp;token&nbsp;is&nbsp;passed&nbsp;in,&nbsp;the&nbsp;token<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;found&nbsp;by&nbsp;looking&nbsp;in&nbsp;the&nbsp;token_store&nbsp;by&nbsp;looking&nbsp;for&nbsp;a&nbsp;token<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;the&nbsp;current&nbsp;scope.<br> &nbsp;<br> Raises:<br> &nbsp;&nbsp;NonAuthSubToken&nbsp;if&nbsp;the&nbsp;user's&nbsp;auth&nbsp;token&nbsp;is&nbsp;not&nbsp;an&nbsp;AuthSub&nbsp;token<br> &nbsp;&nbsp;TokenUpgradeFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request&nbsp;with&nbsp;an&nbsp;<br> &nbsp;&nbsp;error.</tt></dd></dl> <dl><dt><a name="ContactsService-upgrade_to_session_token"><strong>upgrade_to_session_token</strong></a>(self, token)</dt><dd><tt>Upgrades&nbsp;a&nbsp;single&nbsp;use&nbsp;AuthSub&nbsp;token&nbsp;to&nbsp;a&nbsp;session&nbsp;token.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;token:&nbsp;A&nbsp;gdata.auth.AuthSubToken&nbsp;or&nbsp;gdata.auth.SecureAuthSubToken<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;which&nbsp;is&nbsp;good&nbsp;for&nbsp;a&nbsp;single&nbsp;use&nbsp;but&nbsp;can&nbsp;be&nbsp;upgraded&nbsp;to&nbsp;a<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;session&nbsp;token.<br> &nbsp;<br> Returns:<br> &nbsp;&nbsp;The&nbsp;upgraded&nbsp;token&nbsp;as&nbsp;a&nbsp;gdata.auth.AuthSubToken&nbsp;object.<br> &nbsp;<br> Raises:<br> &nbsp;&nbsp;TokenUpgradeFailed&nbsp;if&nbsp;the&nbsp;server&nbsp;responded&nbsp;to&nbsp;the&nbsp;request&nbsp;with&nbsp;an&nbsp;<br> &nbsp;&nbsp;error.</tt></dd></dl> <hr> Data descriptors inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br> <dl><dt><strong>captcha_token</strong></dt> <dd><tt>Get&nbsp;the&nbsp;captcha&nbsp;token&nbsp;for&nbsp;a&nbsp;login&nbsp;request.</tt></dd> </dl> <dl><dt><strong>captcha_url</strong></dt> <dd><tt>Get&nbsp;the&nbsp;captcha&nbsp;URL&nbsp;for&nbsp;a&nbsp;login&nbsp;request.</tt></dd> </dl> <dl><dt><strong>source</strong></dt> <dd><tt>The&nbsp;source&nbsp;is&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;application&nbsp;making&nbsp;the&nbsp;request.&nbsp;<br> It&nbsp;should&nbsp;be&nbsp;in&nbsp;the&nbsp;form&nbsp;company_id-app_name-app_version</tt></dd> </dl> <hr> Data and other attributes inherited from <a href="gdata.service.html#GDataService">gdata.service.GDataService</a>:<br> <dl><dt><strong>auth_token</strong> = None</dl> <dl><dt><strong>handler</strong> = None</dl> <dl><dt><strong>tokens</strong> = None</dl> <hr> Methods inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br> <dl><dt><a name="ContactsService-UseBasicAuth"><strong>UseBasicAuth</strong></a>(self, username, password, for_proxy<font color="#909090">=False</font>)</dt><dd><tt>Sets&nbsp;an&nbsp;Authenticaiton:&nbsp;Basic&nbsp;HTTP&nbsp;header&nbsp;containing&nbsp;plaintext.<br> &nbsp;<br> Deprecated,&nbsp;use&nbsp;use_basic_auth&nbsp;instead.<br> &nbsp;<br> The&nbsp;username&nbsp;and&nbsp;password&nbsp;are&nbsp;base64&nbsp;encoded&nbsp;and&nbsp;added&nbsp;to&nbsp;an&nbsp;HTTP&nbsp;header<br> which&nbsp;will&nbsp;be&nbsp;included&nbsp;in&nbsp;each&nbsp;request.&nbsp;Note&nbsp;that&nbsp;your&nbsp;username&nbsp;and&nbsp;<br> password&nbsp;are&nbsp;sent&nbsp;in&nbsp;plaintext.<br> &nbsp;<br> Args:<br> &nbsp;&nbsp;username:&nbsp;str<br> &nbsp;&nbsp;password:&nbsp;str</tt></dd></dl> <dl><dt><a name="ContactsService-request"><strong>request</strong></a>(*args, **kwargs)</dt><dd><tt>#&nbsp;The&nbsp;deprecated_function&nbsp;wraps&nbsp;the&nbsp;actual&nbsp;call&nbsp;to&nbsp;f.</tt></dd></dl> <dl><dt><a name="ContactsService-use_basic_auth"><strong>use_basic_auth</strong></a>(self, username, password, scopes<font color="#909090">=None</font>)</dt></dl> <hr> Data descriptors inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>debug</strong></dt> <dd><tt>If&nbsp;True,&nbsp;HTTP&nbsp;debug&nbsp;information&nbsp;is&nbsp;printed.</tt></dd> </dl> <dl><dt><strong>override_token</strong></dt> </dl> <hr> Data and other attributes inherited from <a href="atom.service.html#AtomService">atom.service.AtomService</a>:<br> <dl><dt><strong>auto_set_current_token</strong> = True</dl> <dl><dt><strong>auto_store_tokens</strong> = True</dl> <dl><dt><strong>current_token</strong> = None</dl> <dl><dt><strong>port</strong> = 80</dl> <dl><dt><strong>ssl</strong> = False</dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="Error">class <strong>Error</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="gdata.contacts.service.html#Error">Error</a></dd> <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Data descriptors defined here:<br> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> <hr> Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> <dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl> <hr> Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x74d100&gt;<dd><tt>T.<a href="#Error-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl> <hr> Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> <dl><dt><a name="Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl> <dl><dt><a name="Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl> <dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl> <dl><dt><a name="Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br> &nbsp;<br> Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl> <dl><dt><a name="Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> <dl><dt><a name="Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl> <dl><dt><a name="Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl> <dl><dt><a name="Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> <dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl> <dl><dt><a name="Error-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> <hr> Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> <dl><dt><strong>__dict__</strong></dt> </dl> <dl><dt><strong>args</strong></dt> </dl> <dl><dt><strong>message</strong></dt> </dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="GroupsQuery">class <strong>GroupsQuery</strong></a>(<a href="gdata.service.html#Query">gdata.service.Query</a>)</font></td></tr> <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="gdata.contacts.service.html#GroupsQuery">GroupsQuery</a></dd> <dd><a href="gdata.service.html#Query">gdata.service.Query</a></dd> <dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd> <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Methods defined here:<br> <dl><dt><a name="GroupsQuery-__init__"><strong>__init__</strong></a>(self, feed<font color="#909090">=None</font>, text_query<font color="#909090">=None</font>, params<font color="#909090">=None</font>, categories<font color="#909090">=None</font>)</dt></dl> <hr> Methods inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br> <dl><dt><a name="GroupsQuery-ToUri"><strong>ToUri</strong></a>(self)</dt></dl> <dl><dt><a name="GroupsQuery-__str__"><strong>__str__</strong></a>(self)</dt></dl> <hr> Data descriptors inherited from <a href="gdata.service.html#Query">gdata.service.Query</a>:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> <dl><dt><strong>alt</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;alt&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>author</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;author&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>max_results</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;max-results&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>orderby</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;orderby&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>published_max</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-max&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>published_min</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;published-min&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>start_index</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;start-index&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>text_query</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;q&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>updated_max</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-max&nbsp;parameter</tt></dd> </dl> <dl><dt><strong>updated_min</strong></dt> <dd><tt>The&nbsp;feed&nbsp;query's&nbsp;updated-min&nbsp;parameter</tt></dd> </dl> <hr> Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> <dl><dt><a name="GroupsQuery-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl> <dl><dt><a name="GroupsQuery-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-__contains__">__contains__</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl> <dl><dt><a name="GroupsQuery-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl> <dl><dt><a name="GroupsQuery-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl> <dl><dt><a name="GroupsQuery-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl> <dl><dt><a name="GroupsQuery-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl> <dl><dt><a name="GroupsQuery-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl> <dl><dt><a name="GroupsQuery-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl> <dl><dt><a name="GroupsQuery-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl> <dl><dt><a name="GroupsQuery-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl> <dl><dt><a name="GroupsQuery-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl> <dl><dt><a name="GroupsQuery-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl> <dl><dt><a name="GroupsQuery-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl> <dl><dt><a name="GroupsQuery-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl> <dl><dt><a name="GroupsQuery-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#GroupsQuery-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl> <dl><dt><a name="GroupsQuery-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-__sizeof__">__sizeof__</a>()&nbsp;-&gt;&nbsp;size&nbsp;of&nbsp;D&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl> <dl><dt><a name="GroupsQuery-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-clear">clear</a>()&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Remove&nbsp;all&nbsp;items&nbsp;from&nbsp;D.</tt></dd></dl> <dl><dt><a name="GroupsQuery-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-copy">copy</a>()&nbsp;-&gt;&nbsp;a&nbsp;shallow&nbsp;copy&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="GroupsQuery-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-get">get</a>(k[,d])&nbsp;-&gt;&nbsp;D[k]&nbsp;if&nbsp;k&nbsp;in&nbsp;D,&nbsp;else&nbsp;d.&nbsp;&nbsp;d&nbsp;defaults&nbsp;to&nbsp;None.</tt></dd></dl> <dl><dt><a name="GroupsQuery-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-has_key">has_key</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl> <dl><dt><a name="GroupsQuery-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-items">items</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;(key,&nbsp;value)&nbsp;pairs,&nbsp;as&nbsp;2-tuples</tt></dd></dl> <dl><dt><a name="GroupsQuery-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-iteritems">iteritems</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;(key,&nbsp;value)&nbsp;items&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="GroupsQuery-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-iterkeys">iterkeys</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;keys&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="GroupsQuery-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-itervalues">itervalues</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;values&nbsp;of&nbsp;D</tt></dd></dl> <dl><dt><a name="GroupsQuery-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-keys">keys</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;keys</tt></dd></dl> <dl><dt><a name="GroupsQuery-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-pop">pop</a>(k[,d])&nbsp;-&gt;&nbsp;v,&nbsp;remove&nbsp;specified&nbsp;key&nbsp;and&nbsp;return&nbsp;the&nbsp;corresponding&nbsp;value<br> If&nbsp;key&nbsp;is&nbsp;not&nbsp;found,&nbsp;d&nbsp;is&nbsp;returned&nbsp;if&nbsp;given,&nbsp;otherwise&nbsp;KeyError&nbsp;is&nbsp;raised</tt></dd></dl> <dl><dt><a name="GroupsQuery-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-popitem">popitem</a>()&nbsp;-&gt;&nbsp;(k,&nbsp;v),&nbsp;remove&nbsp;and&nbsp;return&nbsp;some&nbsp;(key,&nbsp;value)&nbsp;pair&nbsp;as&nbsp;a<br> 2-tuple;&nbsp;but&nbsp;raise&nbsp;KeyError&nbsp;if&nbsp;D&nbsp;is&nbsp;empty</tt></dd></dl> <dl><dt><a name="GroupsQuery-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-setdefault">setdefault</a>(k[,d])&nbsp;-&gt;&nbsp;D.<a href="#GroupsQuery-get">get</a>(k,d),&nbsp;also&nbsp;set&nbsp;D[k]=d&nbsp;if&nbsp;k&nbsp;not&nbsp;in&nbsp;D</tt></dd></dl> <dl><dt><a name="GroupsQuery-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-update">update</a>(E,&nbsp;**F)&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Update&nbsp;D&nbsp;from&nbsp;E&nbsp;and&nbsp;F:&nbsp;for&nbsp;k&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;E[k]<br> (if&nbsp;E&nbsp;has&nbsp;keys&nbsp;else:&nbsp;for&nbsp;(k,&nbsp;v)&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;v)&nbsp;then:&nbsp;for&nbsp;k&nbsp;in&nbsp;F:&nbsp;D[k]&nbsp;=&nbsp;F[k]</tt></dd></dl> <dl><dt><a name="GroupsQuery-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#GroupsQuery-values">values</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;values</tt></dd></dl> <hr> Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br> <dl><dt><strong>__hash__</strong> = None</dl> <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x7569a0&gt;<dd><tt>T.<a href="#GroupsQuery-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl> <dl><dt><strong>fromkeys</strong> = &lt;built-in method fromkeys of type object at 0xd3cce0&gt;<dd><tt>dict.<a href="#GroupsQuery-fromkeys">fromkeys</a>(S[,v])&nbsp;-&gt;&nbsp;New&nbsp;dict&nbsp;with&nbsp;keys&nbsp;from&nbsp;S&nbsp;and&nbsp;values&nbsp;equal&nbsp;to&nbsp;v.<br> v&nbsp;defaults&nbsp;to&nbsp;None.</tt></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#000000" face="helvetica, arial"><a name="RequestError">class <strong>RequestError</strong></a>(<a href="gdata.contacts.service.html#Error">Error</a>)</font></td></tr> <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="gdata.contacts.service.html#RequestError">RequestError</a></dd> <dd><a href="gdata.contacts.service.html#Error">Error</a></dd> <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> </dl> <hr> Data descriptors inherited from <a href="gdata.contacts.service.html#Error">Error</a>:<br> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd> </dl> <hr> Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> <dl><dt><a name="RequestError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl> <hr> Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> <dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x74d100&gt;<dd><tt>T.<a href="#RequestError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl> <hr> Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> <dl><dt><a name="RequestError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl> <dl><dt><a name="RequestError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl> <dl><dt><a name="RequestError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl> <dl><dt><a name="RequestError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br> &nbsp;<br> Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl> <dl><dt><a name="RequestError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> <dl><dt><a name="RequestError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl> <dl><dt><a name="RequestError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl> <dl><dt><a name="RequestError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> <dl><dt><a name="RequestError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#RequestError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl> <dl><dt><a name="RequestError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> <hr> Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> <dl><dt><strong>__dict__</strong></dt> </dl> <dl><dt><strong>args</strong></dt> </dl> <dl><dt><strong>message</strong></dt> </dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%"><strong>DEFAULT_BATCH_URL</strong> = 'http://www.google.com/m8/feeds/contacts/default/full/batch'<br> <strong>__author__</strong> = 'dbrattli (Dag Brattli)'</td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#7799ee"> <td colspan=3 valign=bottom>&nbsp;<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> <tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> <td width="100%">dbrattli&nbsp;(Dag&nbsp;Brattli)</td></tr></table> </body></html>
damonkohler/sl4a
python/gdata/pydocs/gdata.contacts.service.html
HTML
apache-2.0
105,247
<!DOCTYPE html> <!-- DO NOT EDIT! Generated by referrer-policy/generic/tools/generate.py using referrer-policy/generic/template/test.release.html.template. --> <html> <head> <title>Referrer-Policy: Referrer Policy is set to 'no-referrer-when-downgrade'</title> <meta name="description" content="Check that non a priori insecure subresource gets the full Referrer URL. A priori insecure subresource gets no referrer information."> <meta name="referrer" content="no-referrer-when-downgrade"> <link rel="author" title="Kristijan Burnik" href="burnik@chromium.org"> <link rel="help" href="https://w3c.github.io/webappsec/specs/referrer-policy/#referrer-policy-state-no-referrer-when-downgrade"> <meta name="assert" content="The referrer URL is stripped-referrer when a document served over http requires an https sub-resource via iframe-tag using the meta-referrer delivery method with swap-origin-redirect and when the target request is cross-origin."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <!-- TODO(kristijanburnik): Minify and merge both: --> <script src="/referrer-policy/generic/common.js"></script> <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub"></script> </head> <body> <script> ReferrerPolicyTestCase( { "referrer_policy": "no-referrer-when-downgrade", "delivery_method": "meta-referrer", "redirection": "swap-origin-redirect", "origin": "cross-origin", "source_protocol": "http", "target_protocol": "https", "subresource": "iframe-tag", "subresource_path": "/referrer-policy/generic/subresource/document.py", "referrer_url": "stripped-referrer" }, document.querySelector("meta[name=assert]").content, new SanityChecker() ).start(); </script> <div id="log"></div> </body> </html>
youtube/cobalt
third_party/web_platform_tests/referrer-policy/no-referrer-when-downgrade/meta-referrer/cross-origin/http-https/iframe-tag/upgrade-protocol.swap-origin-redirect.http.html
HTML
bsd-3-clause
2,115
<section class="page__share"> {% if site.data.ui-text[site.locale].share_on_label %} <h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4> {% endif %} <a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a> <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a> <a href="https://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a> <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a> </section>
jnyrup/fluentassertions
docs/_includes/social-share.html
HTML
apache-2.0
2,016
<!DOCTYPE html> <meta charset="utf-8"> <title>HTML Test: Named access on the Window object</title> <link rel="author" title="Intel" href="http://www.intel.com/"> <link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/browsers.html#named-access-on-the-window-object"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <div id="log"></div> <div style="display:none"> <p name="a" id="p1"></p> <a name="a" id="a1" href="#"></a> <applet name="a" id="app1"></applet> <area name="a" id="area1"></area> <embed name="a" id="embed1"></embed> <form name="a" id="form1"></form> <img name="a" id="img1"> <object name="a" id="obj1"></object> <span name="a" id="span1"></span> <b id="b" name="c"></b> <a name="c"></a> <iframe name="c" id="fm1"></iframe> <iframe name="c" id="fm2" src="test.html" onload="on_load()"></iframe> <input id="b"></input> <span id="d"></span> <a name=""></a> <b id=""></b> </div> <script> test(function() { assert_equals(window['c'], document.getElementById("fm1").contentWindow, "The first iframe's window should be returned."); }, "Check if the first nested browsing context is returned by window['c']"); test(function() { assert_equals(window['a'].length, 7, "The length should be 7."); assert_true(window['a'] instanceof HTMLCollection); assert_array_equals(window['a'], [ document.getElementById('a1'), document.getElementById('app1'), document.getElementById('area1'), document.getElementById('embed1'), document.getElementById('form1'), document.getElementById('img1'), document.getElementById('obj1') ], "The elements are not in tree order."); document.getElementById('a1').setAttribute("name", ""); document.getElementById('area1').setAttribute("name", ""); assert_array_equals(window['a'], [ document.getElementById('app1'), document.getElementById('embed1'), document.getElementById('form1'), document.getElementById('img1'), document.getElementById('obj1') ], "Window['a'] should not contain the elements with empty name attribute."); }, "Check if window['a'] contains all a, applet, area, embed, form, img, and object elements, and their order"); var t = async_test("Check if window['fs'] return the frameset element with name='fs'"); function on_load () { t.step(function () { assert_equals(document.getElementById('fm2').contentWindow['fs'], document.getElementById('fm2').contentDocument.getElementById('fs1'), "The frameset element should be returned."); }); t.done(); } test(function() { assert_true(window['b'] instanceof HTMLCollection); assert_array_equals(window['b'], [document.getElementsByTagName('b')[0], document.getElementsByTagName('input')[0]]); document.getElementsByTagName('b')[0].setAttribute("id", ""); assert_equals(window['b'], document.getElementsByTagName('input')[0], "The window['b'] should not contain the elements with empty id attribute."); }, "Check if window['b'] returns the elements with the id='b'"); test(function() { assert_equals(window['d'], document.getElementById('d')); }, "Check if window['d'] returns the element with id='d'"); test(function() { assert_equals(window[''], undefined, "The window[''] should be undefined"); }, "Check widow[''] when there are some elements with empty id or name attribute"); </script>
youtube/cobalt
third_party/web_platform_tests/html/browsers/the-window-object/named-access-on-the-window-object/named-objects.html
HTML
bsd-3-clause
3,597
<!DOCTYPE html> <html> <!-- Copyright 2006 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Closure Unit Tests - goog.math.Size</title> <script src="../base.js"></script> <script> goog.require('goog.math.Coordinate'); goog.require('goog.math.Size'); goog.require('goog.testing.jsunit'); </script> </head> <body> <script> function testSize1() { var s = new goog.math.Size(undefined, undefined); assertUndefined(s.width); assertUndefined(s.height); assertEquals('(undefined x undefined)', s.toString()); } function testSize3() { var s = new goog.math.Size(10, 20); assertEquals(10, s.width); assertEquals(20, s.height); assertEquals('(10 x 20)', s.toString()); } function testSize4() { var s = new goog.math.Size(10.5, 20.897); assertEquals(10.5, s.width); assertEquals(20.897, s.height); assertEquals('(10.5 x 20.897)', s.toString()); } function testSizeClone() { var s = new goog.math.Size(undefined, undefined); assertEquals(s.toString(), s.clone().toString()); s.width = 4; s.height = 5; assertEquals(s.toString(), s.clone().toString()); } function testSizeEquals() { var a = new goog.math.Size(4, 5); assertTrue(goog.math.Size.equals(a, a)); assertFalse(goog.math.Size.equals(a, null)); assertFalse(goog.math.Size.equals(null, a)); var b = new goog.math.Size(4, 5); var c = new goog.math.Size(4, 6); assertTrue(goog.math.Size.equals(a, b)); assertFalse(goog.math.Size.equals(a, c)); } function testSizeArea() { var s = new goog.math.Size(4, 5); assertEquals(20, s.area()); } function testSizePerimeter() { var s = new goog.math.Size(4, 5); assertEquals(18, s.perimeter()); } function testSizeAspectRatio() { var s = new goog.math.Size(undefined, undefined); assertNaN(s.aspectRatio()); s.width = 4; s.height = 0; assertEquals(Infinity, s.aspectRatio()); s.height = 5; assertEquals(0.8, s.aspectRatio()); } function testSizeFitsInside() { var target = new goog.math.Size(10, 10); var a = new goog.math.Size(5, 8); var b = new goog.math.Size(5, 12); var c = new goog.math.Size(19, 7); assertTrue(a.fitsInside(target)); assertFalse(b.fitsInside(target)); assertFalse(c.fitsInside(target)); } function testSizeScaleToFit() { var target = new goog.math.Size(512, 640); var a = new goog.math.Size(1600, 1200); var b = new goog.math.Size(1200, 1600); var c = new goog.math.Size(400, 300); var d = new goog.math.Size(undefined, undefined); assertEquals('(512 x 384)', a.scaleToFit(target).toString()); assertEquals('(480 x 640)', b.scaleToFit(target).toString()); assertEquals('(512 x 384)', c.scaleToFit(target).toString()); assertEquals('(512 x 640)', target.scaleToFit(target).toString()); assertEquals('(NaN x NaN)', d.scaleToFit(target).toString()); assertEquals('(NaN x NaN)', a.scaleToFit(d).toString()); } function testSizeIsEmpty() { var s = new goog.math.Size(undefined, undefined); assertTrue(s.isEmpty()); s.width = 0; s.height = 5; assertTrue(s.isEmpty()); s.width = 4; assertFalse(s.isEmpty()); } function testSizeScaleFactor() { var s = new goog.math.Size(4, 5); assertEquals('(8 x 10)', s.scale(2).toString()); assertEquals('(0.8 x 1)', s.scale(0.1).toString()); } function testSizeCeil() { var s = new goog.math.Size(2.3, 4.7); assertEquals('(3 x 5)', s.ceil().toString()); } function testSizeFloor() { var s = new goog.math.Size(2.3, 4.7); assertEquals('(2 x 4)', s.floor().toString()); } function testSizeRound() { var s = new goog.math.Size(2.3, 4.7); assertEquals('(2 x 5)', s.round().toString()); } function testSizeGetLongest() { var s = new goog.math.Size(3, 4); assertEquals(4, s.getLongest()); s.height = 3; assertEquals(3, s.getLongest()); s.height = 2; assertEquals(3, s.getLongest()); assertNaN(new goog.math.Size(undefined, undefined).getLongest()); } function testSizeGetShortest() { var s = new goog.math.Size(3, 4); assertEquals(3, s.getShortest()); s.height = 3; assertEquals(3, s.getShortest()); s.height = 2; assertEquals(2, s.getShortest()); assertNaN(new goog.math.Size(undefined, undefined).getShortest()); } function testSizeScaleXY() { var s = new goog.math.Size(5, 10); assertEquals('(20 x 30)', s.scale(4, 3).toString()); } </script> </body> </html>
elsigh/browserscope
third_party/closure/goog/math/size_test.html
HTML
apache-2.0
4,475
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Mocha Test</title> <link rel="stylesheet" href="../node_modules/mocha/mocha.css" type="text/css" charset="utf-8" /> </head> <body> <!-- Required for browser reporter --> <div id="mocha"></div> <!-- mocha --> <script src="../node_modules/mocha/mocha.js" type="text/javascript" charset="utf-8"></script> <!-- vendor scripts --> <script src="../node_modules/chai/chai.js" type="text/javascript" charset="utf-8"></script> <script src="../node_modules/sinon-chai/sinon-chai.js" type="text/javascript" charset="utf-8"></script> <script src="../vendor/sinon-1.7.3.js" type="text/javascript" charset="utf-8"></script> <!-- setup --> <script type="text/javascript" charset="utf-8"> mocha.ui('bdd'); expect = chai.expect; </script> <!-- Include anything you want to test --> <script src="../coverage/instrumented/pubsub-categories.js" type="text/javascript" charset="utf-8"></script> <!-- Spec files --> <script src="./pubsub-categories.spec.js" type="text/javascript" charset="utf-8"></script> <script src="categories.spec.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" charset="utf-8"> if (window.mochaPhantomJS) { mochaPhantomJS.run(); } else { mocha.run(); } </script> </body> </html>
jamespamplin/pubsub-categories
spec/runner.coverage.html
HTML
mit
1,440
<html> <head> <script src="sum.js"></script> <script src="testSum.js"></script> </head> <body> <h1>JS Unit Tests</h1> <script> testSum(); </script> </body> </html>
JeremyChenCodes/JavaScript
JS-Unit-Tests/1 Demo/index.html
HTML
mit
231
<template name="fase1_2"> <div class="row"> <form class="form" id="formIndicadores"> {{#each objetivo in objetivos}} <div class="col-md-3"> {{#with objetivo}} <div class="form-group"> <label for="indicador{{idObjetivo}}">{{nomObjetivo}}</label> <select class="form-control" id="indicador{{idObjetivo}}"> {{#each indicador in indicadores}} <option value="{{indicador}}">{{indicador}}</option> {{/each}} </select> </div> {{/with}} </div> {{/each}} <button class="btn btn-default center-block" id="btnSubmitIndicadores">{{_"btn.aceptar"}}</button> </form> </div> </template>
pdelasotta/proto4
client/views/fase1_2/fase1_2.html
HTML
mit
754
<!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"> <title>TweetWall</title> <link href="index.css" rel="stylesheet"> <script src="/socket.io/socket.io.js"></script> <script src="js/jquery-1.11.1.min.js"></script> <script src="js/d3.min.js"></script> <script src="js/d3.layout.min.js"></script> <script src="js/rickshaw.min.js"></script> <script src="js/rickshaw.graph.axis.time.min.js"></script> <link href="css/rickshaw.min.css" rel="stylesheet"> <script src="js/linkify.min.js"></script> <script src="index.js"></script> </head> <body> <div class="container"> <div id="battle"> <div class="head"> <h1>SW BATTLE</h1> <div class="sub"></div> <div class="sw left"> <object data="img/tweetBattle.svg" type="image/svg+xml"></object> <!--<span>#SW_BREST</span>--> </div> <div class="sw right"> <object data="img/tweetBattleR.svg" type="image/svg+xml"></object> <!--<span>#SW_BREST</span>--> </div> </div> <div class="inner"> <div id="chart"></div> <div id="ranking"> <div style="order: 0"><!-- SPACER --></div> <div style="order: 1000"><!-- SPACER --></div> </div> </div> </div> <div id="tweets-container"> <div class="shadow-top-2"></div> <div class="shadow-bottom-2"></div> <ul id="tweets"></ul> </div> </div> <!--script src="js/bootstrap.min.js"></script--> </body> </html>
D33D33/SW_Battle
public/index.html
HTML
mit
1,749
<ui-toolbar user="user" toast="toast" util="util"></ui-toolbar> <div id="index"> <div class="principal-container"> <div class="principal-container-text"> <h1>Smart Housing</h1> </div> </div> <div class="container"> <div class="section"> <div class="row"> <div class="col s12 m4"> <div class="icon-block"> <h2 class="center brown-text"><i class="material-icons">monetization_on</i></h2> <h5 class="center">Melhores Preços</h5> <p class="light">Nunca foi tão barato alugar uma casa em Belo Horizonte</p> </div> </div> <div class="col s12 m4"> <div class="icon-block"> <h2 class="center brown-text"><i class="material-icons">favorite</i></h2> <h5 class="center">Comodidade</h5> <p class="light">Reserve casas de onde estiver e a hora que puder.</p> </div> </div> <div class="col s12 m4"> <div class="icon-block"> <h2 class="center brown-text"><i class="material-icons">security</i></h2> <h5 class="center">Segurança</h5> <p class="light"> Nosso site mantém a segurança do cliente em primeiro lugar.</p> </div> </div> </div> </div> </div> <div class="parallax-container valign-wrapper"> <div class="section no-pad-bot"> <div class="container"> <div class="row center"> <h5 class="header col s12 light">A felicidade não é uma estação onde chegamos, mas uma maneira de viajar.</h5> </div> </div> </div> <div class="parallax"><img src="../imgs/backgrounds/background2.jpg" alt="Unsplashed background img 2"></div> </div> <div class="container"> <div class="section"> <div class="row"> <div class="col s12 center"> <h3><i class="mdi-content-send brown-text"></i></h3> <h4>Mais Procurados</h4> <ui-place-card></ui-place-card> <ui-place-card></ui-place-card> <ui-place-card></ui-place-card> </div> </div> </div> </div> <div class="parallax-container valign-wrapper"> <div class="section no-pad-bot"> <div class="container"> <div class="row center"> <h5 class="header col s12 light">"Eu viajo não para ir a lugar algum, mas para ir. Eu viajo pelo propósito de viajar. A grande sedução é se mover."</h5> <h6 class="header col s12 light"> Robert Louis Stevenson</h5> </div> </div> </div> <div class="parallax"><img src="../imgs/backgrounds/background3.jpg" alt="Unsplashed background img 3"></div> </div> <footer class="page-footer teal"> <div class="container"> <div class="row"> <div class="col l6 s12"> <h5 class="white-text">Smart Housing</h5> <p class="grey-text text-lighten-4">Um site que chegou para revolucionar o aluguel e reserva de estabelecimentos e casas.</p> </div> <div class="col l3 s12"> <h5 class="white-text">Descubra</h5> <ul> <li><a class="white-text" href="#!">Confiança e Segurança</a></li> <li><a class="white-text" href="#!">Smart Housing na Mídia</a></li> <li><a class="white-text" href="#!">Viagem de Negócios</a></li> <li><a class="white-text" href="#!">Mapa do Site</a></li> </ul> </div> <div class="col l3 s12"> <h5 class="white-text">Contato</h5> <ul> <li><a class="white-text" href="#!">(31) 3985-9864</a></li> <li><a class="white-text" href="#!">contato@smarthousing.com</a></li> </ul> </div> </div> </div> <div class="footer-copyright"> <div class="container"> Smart Housing &copy; 2016 - Todos os Direitos Reservados </div> </div> </footer> <script> (function($){ $(function(){ $('.button-collapse').sideNav(); $('.parallax').parallax(); }); // end of document ready })(jQuery); // end of jQuery name space </script> </div>
lcnascimento/smart-housing
web/app/view/index.html
HTML
mit
4,932
--- layout: post-index title: Sriracha driven development description: "" tags: [ruby, golang, python, bigquery, google-cloud] comments: false image: feature: background.jpg credit: creditlink: --- {% for post in paginator.posts %} <article class="hentry"> <header> {% if post.image.feature %} <div class="entry-image-index"> <a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}"><img src="{{ site.url }}/images/{{ post.image.feature }}" alt="{{ post.title }}"></a> </div><!-- /.entry-image --> {% endif %} <div class="entry-meta"> <span class="entry-date date published updated"><time datetime="{{ post.date | date_to_xmlschema }}"><a href="{{ site.url }}{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span><span class="author vcard"><span class="fn"><a href="{{ site.url }}/about/" title="About {{ site.owner.name }}">{{ site.owner.name }}</a></span></span> {% if site.reading_time %} <span class="entry-reading-time"> <i class="fa fa-clock-o"></i> {% include read-time-index.html %} </span><!-- /.entry-reading-time --> {% endif %} </div><!-- /.entry-meta --> {% if post.link %} <h1 class="entry-title"><a href="{{ site.url }}{{ post.url }}" class="permalink" rel="bookmark" title="{{ post.title }}"><i class="fa fa-bookmark"></i></a> <a href="{{ post.link }}">{{ post.title }}</a></h1> {% else %} <h1 class="entry-title"><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}" itemprop="url">{{ post.title }}</a></h1> {% endif %} </header> <div class="entry-content"> {{ post.content }} </div><!-- /.entry-content --> </article><!-- /.hentry --> {% endfor %} {% include pagination.html %}
ericescalante/ericescalante.github.io
index.html
HTML
mit
1,770
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#2b69a7" /> <title>Navbar</title> <link rel="icon" href="image/favicon.ico"> <link rel="stylesheet" href="css/bootstrap.min.css" media="screen" title="no title"> <link rel="stylesheet" href="css/font-awesome.min.css" media="screen" title="no title"> <link rel="stylesheet" href="css/shades.css" media="screen" title="no title"> </head> <body class="valid-body"> <div class="ti-header-wrap"> <header class="ti-fixed-top" role="nav"> <div class="ti-nav-wrap"> <nav class="ti-nav-top"> <div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2"> <div class="row"> <div class="col-md-3 col-sm-3"> <a href="#">Bookmarks</a> </div> <div class="col-md-3 col-sm-3"> <a href="#">Contacts</a> </div> <div class="col-md-3 col-sm-3"> <a href="#">Profile</a> </div> <div class="col-md-3 col-sm-3"> <a href="#">Settings</a> </div> </div> </div> </div> </div> </nav> <nav class="ti-navbar ti-navbar-main sticky"> <div class="container"> <div class="row"> <div class="col-lg-2 col-sm-3 ti-logo-wrap"> <div class="ti-nav-logo"> <button type="button" class="ti-navbar-toggle collapsed" data-toggle-target=".ti-sidebar-left" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="/"> <img src="image/logo_120_33.png" class="ti-logo-blue" alt="Trusted Insight Logo" width="120" /> <img src="image/logo-name.png" class="ti-logo-black" alt="Trusted Insight Logo" width="120" /> </a> </div> </div> <div class="col-lg-8 col-sm-6 ti-nav-form-wrap"> <div class="ti-nav-form"> <form> <div class="ti-input-group search-icon"> <input type="text" class="ti-form-control" placeholder="Search..."> <span class="ti-input-group-icon"> <i class="fa fa-search" aria-hidden="true"></i> </span> <span class="ti-input-group-btn"> <button class="ti-btn sbtn ti-btn-primary" type="button">Search</button> </span> </div> </form> </div> </div> <!-- for mobile --> <div class="ti-nav-form-small"> <button class="ti-navbar-back" data-toggle-target=".ti-nav-form-small"> <i class="fa fa-arrow-left" aria-hidden="true"></i> </button> <form> <div class="ti-input-group search-icon"> <input type="text" class="ti-form-control" placeholder="Search..."> <span class="ti-input-group-icon"> <i class="fa fa-search" aria-hidden="true"></i> </span> </div> </form> </div> <!-- ./for-mobile --> <div class="col-lg-2 col-sm-3 ti-navigation-wrap"> <div class="ti-nav-navigation" role="navigation"> <div class="ti-nav-links search-btn"> <a href="#" name="button" class="ti-navbar-search" data-toggle-target=".ti-nav-form-small" data-hide=".ti-sidebar-left .ti-navbar-toggle"> <i class="fa fa-search" aria-hidden="true"></i> </a> </div> <div class="ti-nav-links profile"> <a href="#" id="id_profile_widget" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="ti-profile-icon"></span> </a> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="id_profile_widget"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li role="separator" class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </div> <div class="ti-nav-links active"> <a href="#"><div class="ti-icon"> <i class="fa fa-bell" aria-hidden="true"></i> </div> <div class="ti-hexagon">8</div></a> </div> <div class="ti-nav-links"> <a href="#"><div class="ti-icon"> <i class="fa fa-envelope" aria-hidden="true"></i> </div> <div class="ti-hexagon">0</div></a> </div> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="container"> <div class="ti--cover-wrap"> <div class="ti--cover-photo" style="background-image: url(./image/cover.jpg)"></div> </div> <div class="row"> <div class="col-sm-3 col-xs-4"> <div class="ti--avatar-wrap"> <div class="ti--avatar"> <img width="100%" src="image/eugene.png" alt=""> </div> </div> </div> <div class="col-sm-9 col-xs-12"> <div class="ti--avatar-about"> <h1 class="about--name"> Daniel Parker <span class="ti-label--profile label--orange">LP</span> <span class="ti-label--profile label--blue">Premium</span> <span class="ti-label--profile label--blue">Verified</span> </h1> <h3 class="about--role">Deputy Chief Investment Officer</h3> <h3 class="about--firm"> <a href="#">Texas Tech University</a> | <span class="about--muted">AUM $1.1B</span> </h3> </div> </div> </div> <div class="row toppadding-30"> <div class="col-sm-3"> <a href="#" class="ti-btn ti-btn-green">Request Introduction</a> <a href="#" class="ti-badges badges--blue"> <i class="fa fa-bookmark" aria-hidden="true"></i> </a> <a href="#" class="ti-badges badges--default"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 17.5 19.9"> <style> .st0{fill:none;stroke:#AFAFAF;stroke-width:2;stroke-linecap:square;} .st1{fill:none;stroke:#AFAFAF;stroke-width:2;} .st2{fill:#43484D;} </style> <g> <path class="st0" d="M8.7 1v8"/> <path class="st1" d="M12.7 5L8.8 8.9l-4.1-4"/> <path class="st2" d="M1.7 17.5v2.4H0v-7h2.8c.5 0 1 .1 1.4.3.4.2.7.5 1 .8s.3.8.3 1.2c0 .7-.2 1.2-.7 1.6-.5.4-1.2.6-2 .6H1.7zm0-1.3h1.1c.3 0 .6-.1.7-.2.2-.2.3-.4.3-.7 0-.3-.1-.6-.3-.8s-.4-.3-.7-.3H1.7v2zm4.7 3.7v-7h2.3c.6 0 1.2.1 1.7.4.5.3.9.7 1.2 1.2.3.5.4 1.1.4 1.7v.3c0 .6-.1 1.2-.4 1.7-.3.5-.7.9-1.1 1.2-.5.3-1 .4-1.6.4H6.4zm1.7-5.7v4.4h.6c.5 0 .9-.2 1.1-.5s.4-.9.4-1.5v-.3c0-.7-.1-1.2-.4-1.5-.3-.3-.6-.5-1.1-.5h-.6zm9.1 2.9h-2.7v2.8h-1.7v-7h4.7v1.3h-3v1.6h2.7v1.3z"/> </g> </svg> </a> <hr> <div class="toppadding-20 bottompadding-10"> <h5><small class="title--small">Daniel’s Interview Quote</small></h5> <div class="ti--avatar-quote"> <p> The search for increasingly esoteric diversification parallels the search for yield in a world of persistently low interest rates. </p> </div> <a href="#"><b>Read Full Inverview</b></a> </div> <hr> <div class="toppadding-20 bottompadding-40"> <h3 class="card--heading"> Skills </h3> <ul class="list--default"> <li><a href="#">Principal Investing</a></li> <li><a href="#">Portfolio Management</a></li> <li><a href="#">Manager Selection</a></li> <li><a href="#">Due Diligence</a></li> <li><a href="#">Inflation Hedging</a></li> </ul> </div> </div> <div class="col-sm-9"> <div class="ti-card--profile"> <div class="row bottompadding-15"> <div class="col-xs-6"> <h3 class="card--heading">Biography</h3> </div> <div class="col-xs-6 text-right"> <a href="#" class="ti-tags tags--outline-blue">Suggest a change</a> </div> </div> <p> Daniel Parker is the deputy chief investment officer at Texas Tech University. Prior to joining Texas Tech, Dan was a senior investment officer at Helmsley Charitable Trust, a vice president in private equity at BlackRock and an associate in investment banking at Citigroup. Dan began his career serving as an officer in the United States Marine Corps where he commanded infantry and reconnaissance units. He received an MBA from The College of William and Mary and a B.A. from Tulane University. </p> </div> <div class="row toppadding-20"> <div class="col-sm-4 toppadding-30"> <h3 class="card--heading">Sectors</h3> <span class="ti-tags tags--default">Middle Market</span> <span class="ti-tags tags--default">Fixed Income</span> <span class="ti-tags tags--default">Growth Stage</span> <span class="ti-tags tags--default">Bonds</span> <span class="ti-tags tags--default">Middle Market</span> <a href="#" class="ti-tags tags--outline-blue">Suggest interests</a> </div> <div class="col-sm-4 toppadding-30"> <h3 class="card--heading">Geographies</h3> <span class="ti-tags tags--default">North America</span> <a href="#" class="ti-tags tags--outline-blue">Suggest geographies</a> </div> <div class="col-sm-4 toppadding-30"> <h3 class="card--heading">Assets</h3> <span class="ti-tags tags--default">Middle Market</span> <span class="ti-tags tags--default">Fixed Income</span> <span class="ti-tags tags--default">Growth Stage</span> <span class="ti-tags tags--default">Bonds</span> <span class="ti-tags tags--default">Middle Market</span> <a href="#" class="ti-tags tags--outline-blue">Suggest assets</a> </div> </div> </div> </div> </div> <script src="js/jquery.min.js"></script> <script src="js/app.js"></script> </body> </html>
ravid7000/shades
dist/profile.html
HTML
mit
10,145
<?xml version="1.0" encoding="utf-8"?> <!-- This comment will force IE7 to go into quirks mode. --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <link rel="stylesheet" type="text/css" href="../../CSS/Contents.css"></link> <script type="text/javascript" src="../../JS/Common.js"></script> <title>Url64 Class</title> </head> <body> <div id="Header"> <div id="ProjectTitle">Documentation Project</div> <div id="PageTitle">Url64 Class</div> <div id="HeaderShortcuts"> <a href="#SectionHeader0" onclick="javascript: SetSectionVisibility(0, true); SetExpandCollapseAllToCollapseAll();">Syntax</a>&nbsp; <a href="#SectionHeader1" onclick="javascript: SetSectionVisibility(1, true); SetExpandCollapseAllToCollapseAll();">Members</a>&nbsp; </div> <div class="DarkLine"></div> <div class="LightLine"></div> <div id="HeaderToolbar"> <img id="ExpandCollapseAllImg" src="../../GFX/SmallSquareExpanded.gif" alt="" style="vertical-align: top;" onclick="javascript: ToggleAllSectionsVisibility();" /> <span id="ExpandCollapseAllSpan" onclick="javascript: ToggleAllSectionsVisibility();">Collapse All</span> </div> </div> <div id="Contents"> <a id="ContentsAnchor">&nbsp;</a> Encodes bytes into a base64 alphabet that is safe to embed into URLs. <div id="ItemLocation"> <b>Namespace:</b> <a href="../../Contents/1/214.html">Sasa.Web</a><br /> <b>Assembly:</b> <a href="../../Contents/1/1.html">Sasa</a> </div> <div id="SectionHeader0" class="SectionHeader"> <img id="SectionExpanderImg0" src="../../GFX/BigSquareExpanded.gif" alt="Collapse/Expand" onclick="javascript: ToggleSectionVisibility(0);" /> <span class="SectionHeader"> <span class="ArrowCursor" onclick="javascript: ToggleSectionVisibility(0);"> Syntax </span> </span> </div> <div id="SectionContainerDiv0" class="SectionContainer"> <table class="CodeTable"><col width="100%" /><tr class="CodeTable"><th class="CodeTable">C#</th></tr><tr class="CodeTable"><td class="CodeTable"><table style="width: 100%;" class="InsideCodeBlock"> <col width="0%" /> <col width="100%" /> <tr> <td class="NoWrapTop">public static class Url64 </td> <td>&nbsp;</td> </tr> </table> </td></tr></table> <div class="TopLink"><a href="#ContentsAnchor">Top</a></div></div> <div id="SectionHeader1" class="SectionHeader"> <img id="SectionExpanderImg1" src="../../GFX/BigSquareExpanded.gif" alt="Collapse/Expand" onclick="javascript: ToggleSectionVisibility(1);" /> <span class="SectionHeader"> <span class="ArrowCursor" onclick="javascript: ToggleSectionVisibility(1);"> Members </span> </span> </div> <div id="SectionContainerDiv1" class="SectionContainer"> <p>Click <a href="../../Contents/2/283.html">here</a> to see the list of members.</p> <div class="TopLink"><a href="#ContentsAnchor">Top</a></div></div> </div> <div id="Footer"> <span class="Footer">Generated by <a href="http://immdocnet.codeplex.com/" target="_blank">ImmDoc .NET</a></span>. </div> </body> </html>
fschwiet/ManyConsole
lib/Sasa-v0.9.3-docs/Contents/2/282.html
HTML
mit
3,175
<!DOCTYPE html> <html lang="en" id="page"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <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="Pierrepont Solutions"> <link rel="shortcut icon" href="../favicon.ico"/> <title>The Pierrepont School</title> <link href="../../css/bootstrap.min.css" rel="stylesheet"> <link href="../../css/bootstrap-theme.min.css" rel="stylesheet"> <link href="../../css/main.css" rel="stylesheet"> <link href="../../css/page.css" rel="stylesheet"> <script src="../../js/ie-emulation-modes-warning.js"></script><style type="text/css"></style> <style id="holderjs-style" type="text/css"> </style> </head> <body id="body" role="document"> <div id="wrapper"> <!-- Topbar --> <div id="topbar"> <div id="topbar-heading"> Pierrepont <span id="school-heading"> School </span> </div> <div id="menu-toggle-div"> <a href="#menu-toggle" class="btn btn-default" id="menu-toggle"> <img id="menu-toggle-img" src="../../menu-icon.png"></a> </div> </div> <!-- Sidebar --> <nav id="sidebar-wrapper"> <div id="logoContainer"> <a href="../../index.html"><img id="logo" src="../logo.png"></a> </div> <ul class="sidebar-nav"> <li> <a class="choose-sub">About</a> <ul class="sidebar-nav-sub"> <li> <a href="../../about/overview.html">Overview</a> </li> <li> <a href="../../about/mission statement.html">Mission Statement</a> </li> <li> <a href="../../about/founders statement.html">Founder's Statement</a> </li> <li> <a href="../../about/from the head.html">From the Head</a> </li> <li> <a href="../../about/alumni.html">Alumni</a> </li> <li> <a href="../../about/administration.html">Administration</a> </li> </ul> </li> <li> <a class="choose-sub">Faculty</a> <ul class="sidebar-nav-sub"> <li> <a href="../../faculty/faculty.html">Faculty</a> </li> </ul> </li> <li> <a class="choose-sub">Curriculum</a> <ul class="sidebar-nav-sub active-sub"> <li> <a href="../../curriculum/humanities.html">Humanities</a> </li> <li> <a href="../../curriculum/sciences.html">Sciences</a> </li> <li> <a href="../../curriculum/arts.html">Arts</a> </li> <li> <a href="../../curriculum/lower school.html">Lower School</a> </li> </ul> </li> <li> <a class="choose-sub">Community</a> <ul class="sidebar-nav-sub"> <li> <a href="../../community/community.html">Community</a> </li> </ul> </li> <li> <a class="choose-sub">Admissions</a> <ul class="sidebar-nav-sub"> <li> <a href="../../admissions/apply.html">Apply</a> </li> <li> <a href="../../admissions/faqs.html">FAQs</a> </li> </ul> </li> <li> <a class="choose-sub">Contact</a> <ul class="sidebar-nav-sub"> <li> <a href="../../contact/contact.html">Contact</a> </li> </ul> </li> </ul> </nav> <!-- /#sidebar-wrapper --> <!-- Page Content --> <div id="page-content-wrapper"> <div class="container-fluid"> <div class="row"> <!--div id="watermark-wrapper"> <img id="watermark" src="logo10.png"> </div--> <div class="col-lg-12" id="text-wrapper"> <h1 id="heading">Overview</h1> <p> The Pierrepont School is a small, independent, co-educational elementary and high school based in Westport, Connecticut. Founded in 1999, the school moved into its current building on Sylvan Road in the fall of 2002. The school enrolls students from kindergarten through high school ages.</p> <p>The school currently consists of ?????? students, K–12, and ?????? full and part-time teachers, offering a student to faculty ratio of ??????. Classes, therefore, are small, and student schedules are individualized. Senior faculty members typically have post-graduate degrees from leading universities and are professionally active in their fields. The school seeks and supports teachers who bring into the classroom the same passion and rigor they bring to the study of their own discipline. (See individual faculty under each discipline.) Pierrepont seeks students who are academically motivated and engaged and who can participate successfully in a demanding curriculum. Chronological age serves as a tentative guide for placement that is answerable to the variegations in academic skills, needs and maturity among children. The schedule allows for individualized placement as students are departmentalized from the earliest ages. As a result, even the youngest students have classes with teachers who are specialists in their disciplines, although they also spend significant time in a homeroom under the care of a master teacher and an associate teacher.</p> <p>Starting at about five years old, students are fully departmentalized and have a schedule that consists of English, history, math, science, and the first of a four year grammar/reading sequence that prepares the students to study foreign language. In the final year of the grammar sequence, students are offered the opportunity to study Mandarin Chinese. Once the students have completed the grammar sequence, they begin the formal study of Latin. After one year of Latin, ancient Greek is available as an elective. French is offered in the High School. The students eligible for this course are currently studying two languages in which they have demonstrated ample mastery. In addition, all students have classes in art, music, dance and theater twice a week.</p> <p>The Pierrepont School does not give grades. Parents receive written assessments of their child’s progress four times a year. A cover report from the Head of School or Associate Head of School accompanies the June reports. The school closes for two days, one in November and one in April, for parent-teacher conferences. Standardized testing (ERB) in basic skills areas (math and language/reading) is administered annually.</p> <p>Pierrepont is currently accepting applications for the 2014 – 2015 school year. School tours for prospective parents are conducted on Thursdays at 11:00 AM beginning in October. Please call Tundé Jackson to arrange for a tour. Tuition assistance is available according to financial need.</p> <p>The Pierrepont School does not discriminate on the basis of race, color, gender, religion, age, ancestry, national origin, or sexual orientation in the administration of its educational programs, admission policies, financial aid policies, or any other school-administered programs.</p> </div> </div> </div> </div> <!-- /#page-content-wrapper --> </div> <!-- /container --> <script src="../../js/jquery.min.js"></script> <script src="../../js/bootstrap.min.js"></script> <script src="../../js/docs.min.js"></script> <script src="../../js/portfolio.js"></script> <script src="../../js/main.js"></script> <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> <script src="../../js/ie10-viewport-bug-workaround.js"></script> <script> $("#menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("toggled"); }); </script> <script> $(".choose-sub").click(function(e) { $(".active-sub").removeClass("active-sub"); $(this).next().addClass("active-sub"); }); </script> </div></body></html>
ttogun/ttogun.github.io
Curriculum/Arts/Dance.html
HTML
mit
8,691
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <title>scroll demo</title> <meta name="description" content="scroll demo"/> <meta name="author" content="xingyan"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png"/> <style type="text/css"> * { font:400 12px/18px Arial; } #scrollPaneBox { width:300px; height:300px; overflow:hidden; border:1px solid #CCC; position:relative; float:left; } #scrollPane { height:300px; overflow:hidden; } #real { width:300px; height:300px; overflow:auto; border:1px solid #CCC; position:relative; float:left; margin-left:50px; } </style> <link rel="stylesheet" href="../dist/scrollbar.css" /> <script type="text/javascript" src="http://libs.baidu.com/jquery/1.10.2/jquery.js"></script> <script type="text/javascript" src="./js/scrollbar.js"></script> </head> <body> <div style="text-indent:20px;margin:10px;color:red">如下所示,左侧为模拟的滚动条, 右侧的为真实的</div> <div style="overflow:hidden;zoom:1;"> <div id="scrollPaneBox"> <div id="scrollPane"> </div> </div> <div id="real"> </div> </div> <div style='margin-top:20px'> <input type="button" value="增加记录" onclick="addRecord()" /> <input type="button" value="减少记录" onclick="delRecord()" /> <input type="button" value="改变窗口" onclick="resize()" /> <input type="button" value="dispose" onclick="dispose()" /> <input type="button" value="滚动至顶" onclick="toTop()" /> <input type="button" value="滚动至底" onclick="toBottom()" /> </div> </body> <script language="JavaScript"> var str = '李清照的成长,与她所处的自然环境也是分不开的。李清照幼年,大部分时间是在风景如画,' + '人文荟萃的家乡历城渡过的。大约在她五六岁时,因父亲李格非作了京官,她便也随父母迁居东京汴梁(' + '今河南省开封市)。她是在东京长大的。那时候,北宋统治阶级享乐成风,东京表面上仍极繁荣。李清照' + '作为一个士大夫阶层的大家闺秀,由于封建礼教的禁锢,不可能像男子一样走出家门。接触整个社会。但' + '她毕竟出身于城市,不像乡村地主家里的女子那样闭塞。她不仅可以划着小船,嬉戏于藕花深处,而且可' + '以跟着家人到东京街头,观赏奇巧的花灯和繁华的街景、这一切,陶冶了她的性情。丰富了她的精神生活。' + '李清照爱好自然的性格和描摹的自然的能力,说明了她曾经受过故乡山东的涵育。而她在爱情描写上的"毫无' + '顾藉",显示了都市社会风气和文学气氛对她的熏染。'; str += str; var box = document.getElementById('scrollPaneBox'), pane = document.getElementById('scrollPane'), real = document.getElementById('real'); var arr = []; for(var i = 0 ; i < 1 ; i ++){ arr.push('<div style="margin:5px 0;font:400 12px/20px normal">' + str + '<font color="red">[order '+(i+1)+']</font></div>'); } pane.innerHTML = arr.join(''); real.innerHTML = arr.join(''); $(box).scrollBar({ el: pane // hasArrow: false }); var sPane = $(box).data("SacredRelic_ui_scrollBar"); var count = 1; function addRecord(){ count += 3; var tArr = new Array(count); for(var i = 0 ; i < tArr.length; i ++){ tArr[i] = arr.join(''); } pane.innerHTML = tArr.join(''); real.innerHTML = tArr.join(''); } function delRecord(){ count -= 3; if(count < 0){count = 0;} var tArr = new Array(count); for(var i = 0 ; i < tArr.length; i ++){ tArr[i] = arr.join(''); } pane.innerHTML = tArr.join(''); real.innerHTML = tArr.join(''); } function dispose(){ sPane.dispose(); sPane = null; } var x = 300; function resize(){ if (x == 300) { box.style.height = '350px'; box.style.width = '350px'; real.style.height = '350px'; real.style.width = '350px'; x = 350; }else{ box.style.height = '300px'; box.style.width = '300px'; real.style.height = '300px'; real.style.width = '300px'; x = 300; } sPane.resize(); } function toTop(){ sPane && sPane.scrollToTop(); real.scrollTop = 0; } function toBottom(){ sPane && sPane.scrollToBottom(); real.scrollTop = real.scrollHeight; } </script> </html>
xingyan/scrollbar
example/index.html
HTML
mit
5,185
<script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><!DOCTYPE html> <html lang="en"></html> <head><meta name="generator" content="Hexo 3.9.0"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link href="../../images/favicon.png" rel="shortcut icon" type="image/png"> <title>DJI Mobile SDK Documentation </title><link rel="stylesheet" href="../../stylesheets/doc-vendor.css"><link rel="stylesheet" href="../../stylesheets/doc-app.css"> </head> <body> <nav id="site-header" class="site-header navbar"> <div class="container"> <div class="navbar-header"><a href="/" class="logo"><img src="../../images/dji-logo@2x.png">Developer</a></div> <div id="header-navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="/mobile-sdk">Mobile SDK</a></li> <li><a href="/ux-sdk">UX SDK</a></li> <li><a href="/onboard-sdk">Onboard SDK</a></li> <li><a href="/payload-sdk">Payload SDK</a></li> <li><a href="/windows-sdk">Windows SDK</a></li> </ul> <ul v-cloak v-show="!loggedIn" class="nav navbar-nav navbar-right nav-user"> <li><a href="https://account.dji.com/login?appId=dji_sdk&amp;backUrl=https%3A%2F%2Fdeveloper.dji.com%2Fuser&amp;locale=en_US">Login</a></li> <li><a href="https://account.dji.com/register?appId=dji_sdk&amp;backUrl=https%3A%2F%2Fdeveloper.dji.com%2Fuser&amp;locale=en_US" class="head-cta">Register</a></li> </ul> <ul v-cloak v-show="loggedIn" class="nav navbar-nav navbar-right nav-user"> <li class="hovedown"><a href="javascript:void(0);" class="hovedown-toggle"><i class="fa fa-user"></i></a> <ul class="hovedown-menu hovedown-menu-right"> <li><a href="/user">User Center</a></li> <li><a href="javascript:void(0);" v-on="click: logout">Logout</a></li> </ul> </li> </ul> </div> </div> </nav> <div data-offset-top="60" data-spy="affix" class="sub-nav"> <div class="container"> <h1 class="logo">Mobile SDK</h1> <nav><a href="/mobile-sdk">Overview</a><a href="/mobile-sdk/documentation">Documentation</a><span class="active hovedown menu-item">API Reference<span class="caret"></span> <ul class="hovedown-menu"> <li><a href="/api-reference/ios-api/index.html">IOS SDK</a></li> <li><a href="/api-reference/android-api/index.html">Android SDK</a></li> <li><a href="/api-reference/ios-uilib-api/index.html">IOS UX SDK</a></li> <li><a href="/api-reference/android-uilib-api/index.html">Android UX SDK</a></li> </ul></span><a href="/mobile-sdk/downloads">Downloads</a><a href="/mobile-sdk/support">Support</a> </nav> </div> </div> <div id="documentation-page" class="documentation-page"> <div class="container"> <div class="site-sidebar"> <div class="searcher"> <div id="panel" class="panel panel_tree"> <div class="header"> <div class="search-con"> <label id="search-label" for="search"> </label> <input id="search" type="text" placeholder="Search" autosave="searchdoc" results="10" autocomplete="off"> <div class="search-icon"></div><a class="clean-search glyphicon glyphicon-remove-circle"></a> </div> </div> <div class="tree"> <ul></ul> </div> <div class="result"> <ul></ul> </div> </div> </div> <div class="nav scrollable js-tree-menu"> <dl> <dt>Manager Classes </dt> <dd><a data-href="../SDKManager/DJISDKManager.html" class="sub-toggle">DJISDKManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../SDKManager/DJIBluetoothProductConnector.html">DJIBluetoothProductConnector</a> </dd> </ul> </dd> <dd><a data-href="../KeyManager/DJIKeyManager.html" class="sub-toggle">DJIKeyManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../KeyManager/DJIKey.html" class="sub-toggle">DJIKey<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../KeyManager/DJIBatteryKey.html">DJIBatteryKey</a> </dd> <dd><a href="../KeyManager/DJICameraKey.html">DJICameraKey</a> </dd> <dd><a href="../KeyManager/DJIFlightControllerKey.html">DJIFlightControllerKey</a> </dd> <dd><a href="../KeyManager/DJIRadarKey.html">DJIRadarKey</a> </dd> <dd><a href="../KeyManager/DJIPayloadKey.html">DJIPayloadKey</a> </dd> <dd><a href="../KeyManager/DJIGimbalKey.html">DJIGimbalKey</a> </dd> <dd><a href="../KeyManager/DJIProductKey.html">DJIProductKey</a> </dd> <dd><a href="../KeyManager/DJIRemoteControllerKey.html">DJIRemoteControllerKey</a> </dd> <dd><a href="../KeyManager/DJIHandheldControllerKey.html">DJIHandheldControllerKey</a> </dd> <dd><a href="../KeyManager/DJIMissionKey.html">DJIMissionKey</a> </dd> <dd><a href="../KeyManager/DJIAirLinkKey.html">DJIAirLinkKey</a> </dd> <dd><a href="../KeyManager/DJIAccessoryKey.html">DJIAccessoryKey</a> </dd> <dd><a href="../KeyManager/DJILidarKey.html">DJILidarKey</a> </dd> <dd><a href="../KeyManager/DJIRTKBaseStationKey.html">DJIRTKBaseStationKey</a> </dd> </ul> </dd> <dd><a href="../KeyManager/DJIKeyedValue.html">DJIKeyedValue</a> </dd> </ul> </dd> <dd><a data-href="../FlyZoneManager/DJIFlyZoneManager.html" class="sub-toggle">DJIFlyZoneManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJIUnlockedZoneGroup.html">DJIUnlockedZoneGroup</a> </dd> <dd><a data-href="../FlyZoneManager/DJIFlyZoneManager_DJIFlyZoneInformation.html" class="sub-toggle">DJIFlyZoneInformation<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJISubFlyZoneInformation.html">DJISubFlyZoneInformation</a> </dd> </ul> </dd> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJIIndividualUnlockZone.html">DJICustomUnlockZone</a> </dd> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJIFlyingSafetyWarningInformation.html">DJIFlyingSafetyWarningInformation</a> </dd> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJIFlyingSafetySeriousWarningInformation.html">DJIFlyingSafetySeriousWarningInformation</a> </dd> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJIFlyingSafetyTip.html">DJIFlyingSafetyTip</a> </dd> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJIFlySafeReturnToHomeInformation.html">DJIFlySafeReturnToHomeInformation</a> </dd> <dd><a href="../FlyZoneManager/DJIFlyZoneManager_DJIFlySafeNotification.html">DJIFlySafeNotification</a> </dd> </ul> </dd> <dd><a href="../AppActivationManager/DJIAppActivationManager.html">DJIAppActivationManager</a> </dd> <dd><a href="../UserAccountManager/DJIUserAccountManager.html">DJIUserAccountManager</a> </dd> <dd><a href="../DataProtectionManager/DJIDataProtectionManager.html">DJIDataProtectionManager</a> </dd> <dd><a data-href="../LDMManager/DJILDMManager.html" class="sub-toggle">DJILDMManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../LDMManager/DJILDMManager_LDMModule.html">DJILDMModule</a> </dd> </ul> </dd> <dd><a data-href="../UTMISSManager/DJIUTMISSManager.html" class="sub-toggle">DJIUTMISSManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../UTMISSManager/DJIUTMISSManager_DJIUTMISSParam.html">DJIUTMISSParam</a> </dd> </ul> </dd> <dd><a data-href="../FlightHubManager/DJIFlightHubManager.html" class="sub-toggle">DJIFlightHubManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubOnlineDevice.html">DJIFlightHubOnlineDevice</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubBoundDevice.html">DJIFlightHubBoundDevice</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubUser.html">DJIFlightHubUser</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubTeam.html">DJIFlightHubTeam</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubUpStream.html">DJIFlightHubUpStream</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubLiveStream.html">DJIFlightHubLiveStream</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubFlightPathNode.html">DJIFlightHubFlightPathNode</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubFlightHistoricalDetail.html">DJIFlightHubFlightHistoricalDetail</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubStatistics.html">DJIFlightHubStatistics</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubHistoricalFlight.html">DJIFlightHubHistoricalFlight</a> </dd> <dd><a href="../FlightHubManager/DJIFlightHubManager_DJIFlightHubRealTimeFlightData.html">DJIFlightHubRealTimeFlightData</a> </dd> </ul> </dd> <dd><a data-href="../Upgrade/DJIUpgradeManager.html" class="sub-toggle">DJIUpgradeManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Upgrade/DJIUpgradeManager_DJIUpgradeComponent.html" class="sub-toggle">DJIUpgradeComponent<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Upgrade/DJIUpgradeManager_DJIUpgradeComponent_DJIFirmwareUpgradeProgress.html">DJIFirmwareUpgradeProgress</a> </dd> <dd><a href="../Upgrade/DJIUpgradeManager_DJIUpgradeComponent_DJIFirmwareInformation.html">DJIFirmwareInformation</a> </dd> </ul> </dd> </ul> </dd> </dl> <dl> <dt>Base Classes </dt> <dd><a data-href="../../BaseClasses/DJIBaseProduct.html" class="sub-toggle">DJIBaseProduct<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../../BaseClasses/DJIVideoFeeder.html" class="sub-toggle">DJIVideoFeeder<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../../BaseClasses/DJIVideoFeeder_DJIVideoFeed.html">DJIVideoFeed</a> </dd> </ul> </dd> </ul> </dd> <dd><a href="../BaseComponent/DJIBaseComponent.html">DJIBaseComponent</a> </dd> </dl> <dl> <dt>Product Classes </dt> <dd><a href="../../Products/Aircraft/DJIAircraft.html">DJIAircraft</a> </dd> <dd><a href="../../Products/Handheld/DJIHandheld.html">DJIHandheld</a> </dd> </dl> <dl> <dt>Component Classes </dt> <dd><a data-href="../FlightController/DJIFlightController.html" class="sub-toggle">DJIFlightController<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../FlightController/DJIFlightController_DJIFlightControllerCurrentState.html">DJIFlightControllerState</a> </dd> <dd><a href="../FlightController/DJIFlightController_DJIGravityCenterState.html">DJIGravityCenterState</a> </dd> <dd><a href="../FlightController/DJIFlightController_DJIWarningStatusItem.html">DJIWarningStatusItem</a> </dd> <dd><a data-href="../Compass/DJICompass.html" class="sub-toggle">DJICompass<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Compass/DJICompass_DJICompassState.html">DJICompassState</a> </dd> </ul> </dd> <dd><a data-href="../RTK/DJIRTK.html" class="sub-toggle">DJIRTK<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../RTK/DJIRTK_DJIRTKBaseStationInformation.html">DJIRTKBaseStationInformation</a> </dd> <dd><a href="../RTK/DJIRTK_DJIRTKState.html">DJIRTKState</a> </dd> <dd><a data-href="../RTK/DJIRTKNetworkServiceProvider.html" class="sub-toggle">DJIRTKNetworkServiceProvider<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../RTK/DJIRTKNetworkServiceProvider_DJIRTKNetworkServiceState.html">DJIRTKNetworkServiceState</a> </dd> <dd><a href="../RTK/DJIRTKNetworkServiceProvider_DJIRTKNetworkServicePlan.html">DJIRTKNetworkServicePlan</a> </dd> <dd><a href="../RTK/DJIRTKNetworkServiceProvider_DJIRTKNetworkServicePlansState.html">DJIRTKNetworkServicePlansState</a> </dd> <dd><a href="../RTK/DJIRTKNetworkServiceProvider_DJIRTKNetworkServiceSettings.html">DJIRTKNetworkServiceSettings</a> </dd> <dd><a href="../RTK/DJIRTKNetworkServiceProvider_DJIMutableRTKNetworkServiceSettings.html">DJIMutableRTKNetworkServiceSettings</a> </dd> </ul> </dd> <dd><a href="../RTK/DJIRTK_DJIRTKReceiverInfo.html">DJIRTKReceiverInfo</a> </dd> <dd><a href="../RTK/DJIRTK_DJILocationStandardDeviation.html">DJILocationStandardDeviation</a> </dd> </ul> </dd> <dd><a href="../LandingGear/DJILandingGear.html">DJILandingGear</a> </dd> <dd><a data-href="../IntelligentFlightAssistant/DJIIntelligentFlightAssistant.html" class="sub-toggle">DJIFlightAssistant<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../VisionDetectionState/DJIVisionDetectionState.html" class="sub-toggle">DJIVisionDetectionState<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../VisionDetectionState/DJIVisionDetectionState_DJIVisionDetectionSector.html">DJIObstacleDetectionSector</a> </dd> </ul> </dd> <dd><a href="../IntelligentFlightAssistant/DJIVisionDetectionState_DJIVisionControlState.html">DJIVisionControlState</a> </dd> <dd><a href="../IntelligentFlightAssistant/DJISmartCaptureState.html">DJISmartCaptureState</a> </dd> <dd><a href="../IntelligentFlightAssistant/DJIFlightAssistantAvoidanceState.html">DJIFlightAssistantObstacleAvoidanceSensorState</a> </dd> <dd><a href="../IntelligentFlightAssistant/DJIFlightAssistantPerceptionState.html">DJIFlightAssistantPerceptionInformation</a> </dd> </ul> </dd> <dd><a data-href="../Simulator/DJIAccessLocker.html" class="sub-toggle">DJIAccessLocker<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Simulator/DJIAccessLocker_DJIAccessLockerFormattingState.html">DJIAccessLockerFormattingState</a> </dd> <dd><a href="../Simulator/DJIAccessLocker_DJIAccessLockerUserAccountInfo.html">DJIAccessLockerUserAccountInfo</a> </dd> </ul> </dd> <dd><a href="../Radar/DJIRadar.html">DJIRadar</a> </dd> <dd><a data-href="../Simulator/DJISimulator.html" class="sub-toggle">DJISimulator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Simulator/DJISimulator_DJISimulatorState.html">DJISimulatorState</a> </dd> </ul> </dd> <dd><a data-href="../IMUState/DJIIMUState.html" class="sub-toggle">DJIIMUState<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../IMUState/DJIIMUState_DJIIMUMultiOrientationCalibrationHint.html">DJIIMUMultipleOrientationCalibrationHint</a> </dd> </ul> </dd> <dd><a href="../OnboardSDKDevice/DJIOnboardSDKDevice.html">DJIOnboardSDKDevice</a> </dd> <dd><a data-href="../FlightController/DJIAirSenseSystemInformation.html" class="sub-toggle">DJIAirSenseSystemInformation<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../FlightController/DJIAirSenseAirplaneState.html">DJIAirSenseAirplaneState</a> </dd> </ul> </dd> <dd><a href="../FlightController/DJIFlightController_DJIFlightControllerLEDsSettings.html">DJIFlightControllerLEDsSettings</a> </dd> <dd><a href="../FlightController/DJIFlightController_DJIMutableFlightControllerLEDsSettings.html">DJIMutableFlightControllerLEDsSettings</a> </dd> <dd><a href="../FlightController/DJIFlightController_DJISimulatorWindSpeed.html">DJISimulatorWindSpeed</a> </dd> </ul> </dd> <dd><a data-href="../Battery/DJIBattery.html" class="sub-toggle">DJIBattery<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Battery/DJIBattery_BatteryState.html">DJIBatteryState</a> </dd> <dd><a data-href="../Battery/DJIBattery_AggregationState.html" class="sub-toggle">DJIBatteryAggregationState<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Battery/DJIBattery_BatteryOverview.html">DJIBatteryOverview</a> </dd> </ul> </dd> <dd><a href="../Battery/DJIBattery_WarningRecord.html">DJIBatteryWarningRecord</a> </dd> </ul> </dd> <dd><a data-href="../Camera/DJICamera.html" class="sub-toggle">DJICamera<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Camera/DJICamera_DJICameraSystemState.html">DJICameraSystemState</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraLensState.html">DJICameraFocusState</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraSDCardState.html">DJICameraStorageState</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraSSDState.html">DJICameraSSDState</a> </dd> <dd><a data-href="../Camera/DJIMediaManager.html" class="sub-toggle">DJIMediaManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Camera/DJIMediaManager_DJIMedia.html" class="sub-toggle">DJIMediaFile<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Camera/DJIMediaManager_DJIMedia_DJIMediaFile.html">DJIAudioMediaFile</a> </dd> </ul> </dd> <dd><a href="../Camera/DJIMediaManager_DJIMediaInfo.html">DJIMediaFileInfo</a> </dd> <dd><a href="../Camera/DJIMediaManager_VideoPlayback_DJIMediaVideoPlaybackState.html">DJIMediaVideoPlaybackState</a> </dd> <dd><a data-href="../Camera/DJIMediaManager_FetchMediaTaskScheduler.html" class="sub-toggle">DJIFetchMediaTaskScheduler<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Camera/DJIMediaManager_DJIFetchMediaTask.html">DJIFetchMediaTask</a> </dd> </ul> </dd> </ul> </dd> <dd><a data-href="../Camera/DJIPlaybackManager.html" class="sub-toggle">DJIPlaybackManager<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Camera/DJIPlaybackManager_DJICameraPlaybackState.html">DJICameraPlaybackState</a> </dd> </ul> </dd> <dd><a href="../Camera/DJICamera_DJICameraParameters.html">DJICameraCapabilities</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraWhiteBalanceInterface.html">DJICameraWhiteBalance</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraSSDClipFileNameInterface.html">DJICameraSSDClipFileName</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraOriginalPhotoSettings.html">DJICameraOriginalPhotoSettings</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraMultispectralStorageSettings.html">DJICameraMultispectralStorageSettings</a> </dd> <dd><a href="../Camera/DJICamera_DJIMutableCameraMultispectralStorageSettings.html">DJIMutableCameraMultispectralStorageSettings</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraMultispectralExposureState.html">DJICameraMultispectralExposureState</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraMultispectralExposureStates.html">DJICameraMultispectralExposureStates</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraWatermarkSettings.html">DJICameraWatermarkSettings</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraLaserMeasureInformation.html">DJICameraLaserMeasureInformation</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraVideoResolutionAndFrameRate.html">DJICameraVideoResolutionAndFrameRate</a> </dd> <dd><a href="../Camera/DJICamera_DJICameraStreamSettings.html">DJICameraStreamSettings</a> </dd> <dd><a href="../Camera/DJICamera_DJILens.html">DJILens</a> </dd> </ul> </dd> <dd><a data-href="DJIGimbal.html" class="sub-toggle">DJIGimbal<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href class="active">DJIGimbalState</a> </dd> <dd><a href="DJIGimbal_movementSettingsState.html">DJIGimbalMovementSettings</a> </dd> <dd><a href="DJIGimbal_DJIGimbalRotation.html">DJIGimbalRotation</a> </dd> <dd><a href="DJIGimbal_DJIMultiGimbalConnectionWorkingStatus.html">DJIMultiGimbalConnectionWorkingStatus</a> </dd> <dd><a data-href="DJIGimbal_DJIGimbalBalanceDetectionState.html" class="sub-toggle">DJIGimbalBalanceDetectionState<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="DJIGimbal_DJIGimbalDirectionState.html">DJIGimbalDirectionState</a> </dd> </ul> </dd> <dd><a href="DJIGimbal_DJIGimbalControlParametersAutoTuningState.html">DJIGimbalControlParametersAutoTuningState</a> </dd> <dd><a href="DJIGimbal_DJIGimbalCoaxialityDetectionState.html">DJIGimbalCoaxialityDetectionState</a> </dd> </ul> </dd> <dd><a data-href="../AirLink/DJIAirLink.html" class="sub-toggle">DJIAirLink<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../LBAirLink/DJILBAirLink.html" class="sub-toggle">DJILightbridgeLink<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../LBAirLink/DJILBAirLink_DJILBAirLinkChannelInterference.html">DJILightbridgeChannelInterference</a> </dd> <dd><a href="../LBAirLink/DJILBAirLink_DJILightbridgeAntennaRSSI.html">DJILightbridgeAntennaRSSI</a> </dd> </ul> </dd> <dd><a data-href="../OcuSyncLink/DJIOcuSyncLink.html" class="sub-toggle">OcuSyncLink<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../OcuSyncLink/DJIOcuSyncLink_DJIOcuSyncFrequencyInterference.html">DJIOcuSyncFrequencyInterference</a> </dd> </ul> </dd> <dd><a data-href="../WiFiLink/DJIWiFiLink.html" class="sub-toggle">DJIWiFiLink<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../WiFiLink/DJIWiFiLink_DJIWiFiChannelInterference.html">DJIWiFiChannelInterference</a> </dd> </ul> </dd> </ul> </dd> <dd><a data-href="../RemoteController/DJIRemoteController.html" class="sub-toggle">DJIRemoteController<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../RemoteController/DJIRemoteController_DJIRCGimbalMapping.html">DJIRCGimbalMapping</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCAircraftMapping.html">DJIRCAircraftMapping</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_RCCustomButtonTagParam.html">DJIRCCustomButtonTags</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCInfo.html">DJIRCInformation</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCMasterSlaveState.html">DJIRCMasterSlaveState</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCCredentials.html">DJIRCCredentials</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCButtonConfiguration.html">DJIRCButtonConfiguration</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIMutableRCButtonConfiguration.html">DJIMutableRCButtonConfiguration</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCCalibrationComponentState.html">DJIRCCalibrationComponentState</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCCalibrationProgress.html">DJIRCCalibrationProgress</a> </dd> <dd><a href="../RemoteController/DJIRemoteController_DJIRCMultiDeviceAggregationState.html">DJIRCMultiDeviceAggregationState</a> </dd> </ul> </dd> <dd><a data-href="../HandheldController/DJIHandheldController.html" class="sub-toggle">DJIHandheldController<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../HandheldController/DJIHandheldController_DJIHandheldControllerHardwareState.html">DJIHandheldControllerHardwareState</a> </dd> <dd><a data-href="../HandheldController/DJIHandheldController_DJIHandheldControllerLEDCommand.html" class="sub-toggle">DJIHandheldControllerLEDCommand<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../HandheldController/DJIHandheldController_DJIHandheldControllerLEDCommand_DJIHandheldControllerLEDColorPattern.html">DJIHandheldControllerLEDColorPattern</a> </dd> </ul> </dd> </ul> </dd> <dd><a href="../MobileRemoteController/DJIMobileRemoteController.html">DJIMobileRemoteController</a> </dd> <dd><a data-href="../Payload/DJIPayload.html" class="sub-toggle">DJIPayload<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Payload/DJIPayload_PayloadWidget.html">DJIPayloadWidget</a> </dd> </ul> </dd> <dd><a data-href="../Pipeline/DJIPipeline.html" class="sub-toggle">DJIPipeline<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Pipeline/DJIPipelines.html">DJIPipelines</a> </dd> </ul> </dd> <dd><a data-href="../AccessoryAggregation/DJIAccessoryAggregation.html" class="sub-toggle">DJIAccessoryAggregation<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../AccessoryAggregation/DJIAccessoryAggregation_DJISpotlight.html" class="sub-toggle">DJISpotlight<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../AccessoryAggregation/DJIAccessoryAggregation_DJISpotlight_DJISpotlightState.html">DJISpotlightState</a> </dd> </ul> </dd> <dd><a href="../AccessoryAggregation/DJIAccessoryAggregation_DJIBeacon.html">DJIBeacon</a> </dd> <dd><a data-href="../AccessoryAggregation/DJIAccessoryAggregation_DJISpeaker.html" class="sub-toggle">DJISpeaker<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../AccessoryAggregation/DJIAccessoryAggregation_DJISpeaker_DJISpeakerState.html">DJISpeakerState</a> </dd> <dd><a href="../AccessoryAggregation/DJIAccessoryAggregation_DJISpeaker_DJIAudioFileInfo.html">DJIAudioFileInfo</a> </dd> </ul> </dd> <dd><a href="../AccessoryAggregation/DJIAccessoryAggregation_AggregationState.html">DJIAccessoryAggregationState</a> </dd> </ul> </dd> <dd><a data-href="../RTKBaseStation/DJIRTKBaseStation.html" class="sub-toggle">DJIRTKBaseStation<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../RTKBaseStation/DJIRTKBaseStation_DJIRTKBaseStationBatteryState.html">DJIRTKBaseStationBatteryState</a> </dd> <dd><a href="../RTKBaseStation/DJIRTKBaseStation_DJIRTKBaseStationState.html">DJIRTKBaseStationState</a> </dd> </ul> </dd> <dd><a data-href="../Lidar/DJILidar.html" class="sub-toggle">DJILidar<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Lidar/DJILidar_DJILidarCapabilities.html">DJILidarCapabilities</a> </dd> <dd><a href="../Lidar/DJILidar_pointCloudLiveViewData.html">DJILidarPointCloudLiveViewData</a> </dd> </ul> </dd> </dl> <dl> <dt>Mission Classes </dt> <dd><a href="../Missions/DJIMissionControl.html">DJIMissionControl</a> </dd> <dd><a data-href="../Missions/DJIMissionAction.html" class="sub-toggle">DJIMissionAction<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJITakeOffAction.html">DJITakeOffAction</a> </dd> <dd><a href="../Missions/DJIAircraftYawAction.html">DJIAircraftYawAction</a> </dd> <dd><a href="../Missions/DJIGoToAction.html">DJIGoToAction</a> </dd> <dd><a href="../Missions/DJIGoHomeAction.html">DJIGoHomeAction</a> </dd> <dd><a href="../Missions/DJIHotpointAction.html">DJIHotpointAction</a> </dd> <dd><a href="../Missions/DJIGimbalAttitudeAction.html">DJIGimbalAttitudeAction</a> </dd> <dd><a href="../Missions/DJIRecordVideoAction.html">DJIRecordVideoAction</a> </dd> <dd><a href="../Missions/DJIShootPhotoAction.html">DJIShootPhotoAction</a> </dd> <dd><a href="../Missions/DJILandAction.html">DJILandAction</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIMissionTrigger.html" class="sub-toggle">DJIMissionTrigger<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIMissionTrigger_DJIBatteryLevelMissionTrigger.html">DJIBatteryLevelMissionTrigger</a> </dd> <dd><a href="../Missions/DJIMissionTrigger_DJIWaypointReachedMissionTrigger.html">DJIWaypointReachedMissionTrigger</a> </dd> <dd><a href="../Missions/DJIMissionTrigger_DJIAircraftLandedMissionTrigger.html">DJIAircraftLandedMissionTrigger</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIWaypointMissionOperator.html" class="sub-toggle">DJIWaypointMissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJIWaypointMission.html" class="sub-toggle">DJIWaypointMission<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJIWaypoint.html" class="sub-toggle">DJIWaypoint<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypoint_DJIWaypointAction.html">DJIWaypointAction</a> </dd> </ul> </dd> <dd><a href="../Missions/DJIMutableWaypointMission.html">DJIMutableWaypointMission</a> </dd> <dd><a href="../Missions/DJIWaypointMission_DJIWaypointMissionInterruption.html">DJIWaypointMissionInterruption</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIWaypointMissionUploadEvent.html" class="sub-toggle">DJIWaypointMissionUploadEvent<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointMission_DJIWaypointUploadProgress.html">DJIWaypointUploadProgress</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIWaypointMissionDownloadEvent.html" class="sub-toggle">DJIWaypointMissionDownloadEvent<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointMission_DJIWaypointDownloadProgress.html">DJIWaypointDownloadProgress</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIWaypointMissionExecutionEvent.html" class="sub-toggle">DJIWaypointMissionExecutionEvent<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointMission_DJIWaypointExecutionProgress.html">DJIWaypointExecutionProgress</a> </dd> </ul> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIWaypointV2MissionOperator.html" class="sub-toggle">DJIWaypointV2MissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJIWaypointV2Mission.html" class="sub-toggle">DJIWaypointV2Mission<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIMutableWaypointV2Mission.html">DJIMutableWaypointV2Mission</a> </dd> <dd><a href="../Missions/DJIWaypointV2.html">DJIWaypointV2</a> </dd> </ul> </dd> <dd><a href="../Missions/DJIWaypointV2MissionActionExecutionEvent.html">DJIWaypointV2MissionActionExecutionEvent</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionActionDownloadEvent.html">DJIWaypointV2MissionActionDownloadEvent</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionActionUploadEvent.html">DJIWaypointV2MissionActionUploadEvent</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionExecutionEvent.html">DJIWaypointV2MissionExecutionEvent</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionDownloadEvent.html">DJIWaypointV2MissionDownloadEvent</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionUploadEvent.html">DJIWaypointV2MissionUploadEvent</a> </dd> <dd><a data-href="../Missions/DJIWaypointV2Action.html" class="sub-toggle">DJIWaypointV2Action<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJIWaypointV2Action_DJIWaypointV2Actuator.html" class="sub-toggle">DJIWaypointV2Actuator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJIWaypointV2Actuator_DJIWaypointV2GimbalActuatorParam.html" class="sub-toggle">DJIWaypointV2GimbalActuatorParam<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJIWaypointV2GimbalActuatorParam_DJIWaypointV2GimbalPathShootingParam.html" class="sub-toggle">DJIWaypointV2GimbalPathShootingParam<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointV2GimbalActuatorParam_DJIWaypointV2GimbalPathPointInfo.html">DJIWaypointV2GimbalPathPointInfo</a> </dd> <dd><a href="../Missions/DJIWaypointV2GimbalActuatorParam_DJIWaypointV2GimbalStartPathShootingParam.html">DJIWaypointV2GimbalStartPathShootingParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2GimbalActuatorParam_DJIWaypointV2GimbalStopPathShootingParam.html">DJIWaypointV2GimbalStopPathShootingParam</a> </dd> </ul> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIWaypointV2Actuator_DJIWaypointV2AircraftControlParam.html" class="sub-toggle">DJIWaypointV2AircraftControlParam<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointV2AircraftControlParam_DJIWaypointV2AircraftControlFlyingParam.html">DJIWaypointV2AircraftControlFlyingParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2AircraftControlParam_DJIWaypointV2AircraftControlRotateHeadingParam.html">DJIWaypointV2AircraftControlRotateHeadingParam</a> </dd> </ul> </dd> <dd><a href="../Missions/DJIWaypointV2Actuator_PointCloudRecordActuatorParam.html">DJIWaypointV2LidarPointCloudRecordParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2Actuator_DJIWaypointV2LidarActuatorParam.html">DJIWaypointV2LidarActuatorParam</a> </dd> <dd><a data-href="../Missions/DJIWaypointV2Actuator_DJIWaypointV2CameraActuatorParam.html" class="sub-toggle">DJIWaypointV2CameraActuatorParam<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointV2CameraActuatorParam_DJIWaypointV2CameraFocalLengthParam.html">DJIWaypointV2CameraFocalLengthParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2Actuator_DJIWaypointCameraFocusModeParam.html">DJIWaypointV2CameraFocusModeParam</a> </dd> <dd><a data-href="../Missions/DJIWaypointV2CameraActuatorParam_DJIWaypointV2CameraFocusParam.html" class="sub-toggle">DJIWaypointV2CameraFocusParam<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointV2ActionActuatorParam_DJIWaypointV2CameraFocus_RectangleTargetParam.html">DJIWaypointV2CameraFocusRectangleTargetParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2ActionActuatorParam_DJIWaypointV2CameraFocus_PointTargetParam.html">DJIWaypointV2CameraFocusPointTargetParam</a> </dd> </ul> </dd> <dd><a href="../Missions/DJIWaypointV2Actuator_DJIWaypointCameraCustomNameParam.html">DJIWaypointV2CameraCustomNameParam</a> </dd> </ul> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIWaypointV2Action_DJIWaypointV2Trigger.html" class="sub-toggle">DJIWaypointV2Trigger<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIWaypointV2Trigger_DJIWaypointV2IntervalTriggerParam.html">DJIWaypointV2IntervalTriggerParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2Trigger_DJIWaypointV2TrajectoryTriggerParam.html">DJIWaypointV2TrajectoryTriggerParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2Trigger_DJIWaypointV2AssociateTriggerParam.html">DJIWaypointV2AssociateTriggerParam</a> </dd> <dd><a href="../Missions/DJIWaypointV2Trigger_DJIWaypointV2ReachPointTriggerParam.html">DJIWaypointV2ReachPointTriggerParam</a> </dd> </ul> </dd> </ul> </dd> <dd><a href="../Missions/DJIWaypointV2MissionOperator_DJIWaypointV2UploadProgress.html">DJIWaypointV2UploadProgress</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionOperator_DJIWaypointV2DownloadProgress.html">DJIWaypointV2DownloadProgress</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionOperator_DJIWaypointV2ExecutionProgress.html">DJIWaypointV2ExecutionProgress</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionOperator_DJIWaypointV2ActionUploadProgress.html">DJIWaypointV2ActionUploadProgress</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionOperator_DJIWaypointV2ActionDownloadProgress.html">DJIWaypointV2ActionDownloadProgress</a> </dd> <dd><a href="../Missions/DJIWaypointV2MissionOperator_DJIWaypointV2ActionExecutionProgress.html">DJIWaypointV2ActionExecutionProgress</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIFollowMeMissionOperator.html" class="sub-toggle">DJIFollowMeMissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIFollowMeMission.html">DJIFollowMeMission</a> </dd> <dd><a href="../Missions/DJIFollowMeMissionEvent.html">DJIFollowMeMissionEvent</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIPanoramaMissionOperator.html" class="sub-toggle">DJIPanoramaMissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIPanoramaMissionEvent.html">DJIPanoramaMissionEvent</a> </dd> <dd><a href="../Missions/DJIPanoramaMission_DJIPanoramaMissionStatus.html">DJIPanoramaMissionExecutionState</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIHotpointMissionOperator.html" class="sub-toggle">DJIHotpointMissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIHotPointMission.html">DJIHotpointMission</a> </dd> <dd><a href="../Missions/DJIHotpointMissionEvent.html">DJIHotpointMissionEvent</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIIntelligentHotpointMissionOperator.html" class="sub-toggle">DJIIntelligentHotpointMissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIIntelligentHotpointMission.html">DJIIntelligentHotpointMission</a> </dd> <dd><a href="../Missions/DJIIntelligentHotpointMissionOperator_DJIIntelligentHotpointMissionEvent.html">DJIIntelligentHotpointMissionEvent</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJITapFlyMissionOperator.html" class="sub-toggle">DJITapFlyMissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJITapFlyMission.html" class="sub-toggle">DJITapFlyMission<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJITapFlyMission_DJITapFlyExecutionState.html">DJITapFlyExecutionState</a> </dd> <dd><a href="../Missions/DJITapFlyMission_DJIVector.html">DJISDKVector3D</a> </dd> </ul> </dd> <dd><a href="../Missions/DJITapFlyMissionEvent.html">DJITapFlyMissionEvent</a> </dd> </ul> </dd> <dd><a data-href="../Missions/DJIActiveTrackMissionOperator.html" class="sub-toggle">DJIActiveTrackMissionOperator<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a data-href="../Missions/DJIActiveTrackMission.html" class="sub-toggle">DJIActiveTrackMission<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Missions/DJIActiveTrackTrackingState.html">DJIActiveTrackTrackingState</a> </dd> <dd><a href="../Missions/DJIActiveTrackMission_DJISubjectSensingState.html">DJISubjectSensingState</a> </dd> </ul> </dd> <dd><a href="../Missions/DJIActiveTrackMissionEvent.html">DJIActiveTrackMissionEvent</a> </dd> </ul> </dd> <dd><a href="../Mission/DJIMission.html">DJIMission</a> </dd> </dl> <dl> <dt>Misc Classes </dt> <dd><a data-href="../ParamCapability/DJIParamCapability.html" class="sub-toggle">DJIParamCapability<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../ParamCapability/DJIParamCapability_DJIParamCapabilityMinMax.html">DJIParamCapabilityMinMax</a> </dd> </ul> </dd> <dd><a data-href="../SDKError/DJIError.html" class="sub-toggle">NSError<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../SDKError/DJIError_DJISDKCacheError.html">NSError</a> </dd> </ul> </dd> <dd><a data-href="../Diagnostics/DJIDiagnostics.html" class="sub-toggle">DJIDiagnostics<i class="fa fa-angle-down"></i><i class="fa fa-angle-up"></i></a> <ul class="sub-menu"> <dd><a href="../Diagnostics/DJIDiagnostics_DJIDiagnosticsDeviceHealthInformation.html">DJIDiagnosticsDeviceHealthInformation</a> </dd> </ul> </dd> <dd><a href="../RemoteLogger/DJIRemoteLogger.html">DJIRemoteLogger</a> </dd> </dl> </div> </div> <div class="site-main"> <div class="article"><div class="article"><h1><font color="#AAA">class </font>DJIGimbalState</h1></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="class"><span class="keyword">@interface</span> <span class="title">DJIGimbalState</span> : <span class="title">NSObject</span></span></span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>Inherits From:</i></font></td><td width="85%"><font color="#999"><code>NSObject</code></font></td></tr></table></html> <h5 id="description">Description:</h5> <p><font color="#666">This class provides the current state of the gimbal.</font></p> <h5 id="class-members">Class Members:</h5> <h4 id="information">Information</h4> <div class="api-row" id="djigimbal_gimbalstate_yawrelativetoaircraftheading"><div class="api-col left">Get Yaw Angle</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_yawrelativetoaircraftheading_inline">yawRelativeToAircraftHeading</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_yawrelativetoaircraftheading_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>yawRelativeToAircraftHeading</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="keyword">double</span> yawRelativeToAircraftHeading</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamattitudeyawrelativetoaircraft_key">DJIGimbalKey.DJIGimbalParamAttitudeYawRelativeToAircraft</a></font></td></tr></table></html> <h5 id="description-v2">Description:</h5> <p><font color="#666">This function will return the angle between gimbal and the drone heading.</font></p> </div> <html><p><br></p></html> <h4 id="members">Members</h4> <div class="api-row" id="djigimbal_gimbalstate_attitude"><div class="api-col left">Attitude</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_attitude_inline">attitudeInDegrees</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_attitude_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>attitudeInDegrees</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) DJIGimbalAttitude attitudeInDegrees</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamattitudeindegrees_key">DJIGimbalKey.DJIGimbalParamAttitudeInDegrees</a></font></td></tr></table></html> <h5 id="description-v3">Description:</h5> <p><font color="#666">The current gimbal attitude in degrees. Roll, pitch and yaw are 0 if the gimbal is level with the aircraft and points in the forward direction of North Pole.</font></p> <h5 id="see-also">See Also:</h5> <p><font color="#666"><code><a href="../../Components/Gimbal/DJIGimbal.html#djigimbal_attitude">DJIGimbalAttitude</a></code></font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_rollfinetuneindegrees"><div class="api-col left">Roll fine-tune</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_rollfinetuneindegrees_inline">fineTunedRoll</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_rollfinetuneindegrees_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>fineTunedRoll</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="keyword">float</span> fineTunedRoll</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamfinetunerollindegrees_key">DJIGimbalKey.DJIGimbalParamFineTuneRollInDegrees</a></font></td></tr></table></html> <h5 id="description-v4">Description:</h5> <p><font color="#666">Returns the gimbal's roll fine-tuned value. The range for the fine-tuned value is [-10, 10] degrees. If the fine-tune value is negative, the gimbal will be fine- tuned to the specified number of degrees in the counterclockwise direction.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_pitchfinetuneindegrees"><div class="api-col left">Pitch Fine Tune</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_pitchfinetuneindegrees_inline">fineTunedPitch</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_pitchfinetuneindegrees_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>fineTunedPitch</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="keyword">float</span> fineTunedPitch</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v5">Description:</h5> <p><font color="#666">Returns the gimbal's pitch fine-tuned value. The range for the fine-tuned value is [-10, 10] degrees. If the fine-tune value is negative, the gimbal will be fine-tuned to the specified number of degrees in the downward direction. It is only supported by Spark.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_finetunedyaw"><div class="api-col left">Fine Tuned Yaw</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_finetunedyaw_inline">fineTunedYaw</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_finetunedyaw_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>fineTunedYaw</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="keyword">float</span> fineTunedYaw</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v6">Description:</h5> <p><font color="#666">Returns the gimbal's yaw fine-tuned value. The range for the fine-tuned value is [-10, 10] degrees. If the fine-tune value is negative, the gimbal will be fine-tuned to the specified number of degrees in the port (left) direction. Only supported by DJI Mavic Air.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_workmode"><div class="api-col left">Work Mode</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_workmode_inline">mode</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_workmode_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>mode</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) DJIGimbalMode mode</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparammode_key">DJIGimbalKey.DJIGimbalParamMode</a></font></td></tr></table></html> <h5 id="description-v7">Description:</h5> <p><font color="#666">Returns the gimbal's current work mode.</font></p> <h5 id="see-also-v2">See Also:</h5> <p><font color="#666"><code><a href="../../Components/Gimbal/DJIGimbal.html#djigimbal_workmode">DJIGimbalMode</a></code></font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_ismobiledevicemounted"><div class="api-col left">Check Mobile Device Mounted</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_ismobiledevicemounted_inline">isMobileDeviceMounted</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_ismobiledevicemounted_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isMobileDeviceMounted</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isMobileDeviceMounted</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v8">Description:</h5> <p><font color="#666"><code>YES</code> if the mobile device is mounted on the gimbal.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_ismotoroverloaded"><div class="api-col left">Check Motor Overloaded</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_ismotoroverloaded_inline">isMotorOverloaded</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_ismotoroverloaded_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isMotorOverloaded</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isMotorOverloaded</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v9">Description:</h5> <p><font color="#666"><code>YES</code> if one of the gimbal motors is overloaded.</font></p> </div> <html><p><br></p></html> <h4 id="calibration">Calibration</h4> <div class="api-row" id="djigimbal_gimbalstate_iscalibrationsuccessful"><div class="api-col left">Calibration Succeeded</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_iscalibrationsuccessful_inline">isCalibrationSuccessful</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_iscalibrationsuccessful_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isCalibrationSuccessful</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isCalibrationSuccessful</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamiscalibrationsuccessful_key">DJIGimbalKey.DJIGimbalParamIsCalibrationSuccessful</a></font></td></tr></table></html> <h5 id="description-v10">Description:</h5> <p><font color="#666"><code>YES</code> if the gimbal calibration succeeded.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_iscalibrating"><div class="api-col left">Calibrate</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_iscalibrating_inline">isCalibrating</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_iscalibrating_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isCalibrating</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isCalibrating</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamiscalibrating_key">DJIGimbalKey.DJIGimbalParamIsCalibrating</a></font></td></tr></table></html> <h5 id="description-v11">Description:</h5> <p><font color="#666"><code>YES</code> if the gimbal is calibrating.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_calibrationprogress"><div class="api-col left"></div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_calibrationprogress_inline">calibrationProgress</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_calibrationprogress_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>calibrationProgress</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">NSInteger</span> calibrationProgress</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamcalibrationprogress_key">DJIGimbalKey.DJIGimbalParamCalibrationProgress</a></font></td></tr></table></html> <h5 id="description-v12">Description:</h5> <p><font color="#666">Current progress (percentage) for calibration.</font></p> </div> <html><p><br></p></html> <h4 id="reach-limit">Reach Limit</h4> <div class="api-row" id="djigimbal_gimbalstate_ispitchatstop"><div class="api-col left">Pitch Reach Limit</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_ispitchatstop_inline">isPitchAtStop</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_ispitchatstop_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isPitchAtStop</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isPitchAtStop</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamispitchatstop_key">DJIGimbalKey.DJIGimbalParamIsPitchAtStop</a></font></td></tr></table></html> <h5 id="description-v13">Description:</h5> <p><font color="#666"><code>YES</code> if the gimbal's pitch value is at its limit.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_isrollatstop"><div class="api-col left">Roll Reach Limit</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_isrollatstop_inline">isRollAtStop</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_isrollatstop_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isRollAtStop</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isRollAtStop</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamisrollatstop_key">DJIGimbalKey.DJIGimbalParamIsRollAtStop</a></font></td></tr></table></html> <h5 id="description-v14">Description:</h5> <p><font color="#666"><code>YES</code> if the gimbal's roll value is at its limit.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_isyawatstop"><div class="api-col left">Yaw Reach Limit</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_isyawatstop_inline">isYawAtStop</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_isyawatstop_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isYawAtStop</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isYawAtStop</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr><tr valign="top"><td width="15%"><font color="#999"><i>SDK Key:</i></font></td><td width="85%"><font color="#999"><a href="../../Components/KeyManager/DJIGimbalKey.html#djigimbalkey_djigimbalparamisyawatstop_key">DJIGimbalKey.DJIGimbalParamIsYawAtStop</a></font></td></tr></table></html> <h5 id="description-v15">Description:</h5> <p><font color="#666"><code>YES</code> if the gimbal's yaw value is at its limit.</font></p> </div> <html><p><br></p></html> <h4 id="balance">Balance</h4> <div class="api-row" id="djigimbal_gimbalstate_istestingbalance"><div class="api-col left">Testing Payload Balance</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_istestingbalance_inline">isBalanceTesting</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_istestingbalance_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isBalanceTesting</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isBalanceTesting</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v16">Description:</h5> <p><font color="#666"><code>YES</code> if the gimbal is currently testing payload balance.</font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_pitchtestresult"><div class="api-col left">Pitch Axis Balance Test Result</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_pitchtestresult_inline">pitchBalanceTestResult</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_pitchtestresult_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>pitchBalanceTestResult</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) DJIGimbalBalanceTestResult pitchBalanceTestResult</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v17">Description:</h5> <p><font color="#666">Returns the pitch axis balance test result.</font></p> <h5 id="see-also-v3">See Also:</h5> <p><font color="#666"><code><a href="../../Components/Gimbal/DJIGimbal.html#djigimbal_balancetestresult">DJIGimbalBalanceTestResult</a></code></font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_rolltestresult"><div class="api-col left">Roll Axis Balance Test Result</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_rolltestresult_inline">rollBalanceTestResult</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_rolltestresult_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>rollBalanceTestResult</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) DJIGimbalBalanceTestResult rollBalanceTestResult</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v18">Description:</h5> <p><font color="#666">Returns the roll axis balance test result.</font></p> <h5 id="see-also-v4">See Also:</h5> <p><font color="#666"><code><a href="../../Components/Gimbal/DJIGimbal.html#djigimbal_balancetestresult">DJIGimbalBalanceTestResult</a></code></font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_yawtestresult"><div class="api-col left">Yaw Axis Balance Test Result</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_yawtestresult_inline">yawBalanceTestResult</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_yawtestresult_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>yawBalanceTestResult</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) DJIGimbalBalanceTestResult yawBalanceTestResult</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v19">Description:</h5> <p><font color="#666">Returns the yaw axis balance test result.</font></p> <h5 id="see-also-v5">See Also:</h5> <p><font color="#666"><code><a href="../../Components/Gimbal/DJIGimbal.html#djigimbal_balancetestresult">DJIGimbalBalanceTestResult</a></code></font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_balancestate"><div class="api-col left">Gimbal Balance State</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_balancestate_inline">balanceState</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_balancestate_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>balanceState</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) DJIGimbalBalanceState balanceState</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v20">Description:</h5> <p><font color="#666">Returns the balance status of the gimbal.</font></p> <h5 id="see-also-v6">See Also:</h5> <p><font color="#666"><code><a href="../../Components/Gimbal/DJIGimbal.html#djigimbal_loadingbalancestatus">DJIGimbalBalanceState</a></code></font></p> </div> <div class="api-row" id="djigimbal_gimbalstate_ismountedupwards"><div class="api-col left">Mounted Upwards</div><div class="api-col middle" style="color:#AAA">property</div><div class="api-col right"><a class="trigger" href="#djigimbal_gimbalstate_ismountedupwards_inline">isMountedUpwards</a></div></div><div class="inline-doc" id="djigimbal_gimbalstate_ismountedupwards_inline" <blockquote> <div class="article"><h6><font color="#AAA">property </font>isMountedUpwards</h6></div> <figure class="highlight objc"><table><tr><td class="code"><pre><span class="line"><span class="keyword">@property</span>(<span class="keyword">nonatomic</span>, <span class="keyword">readonly</span>) <span class="built_in">BOOL</span> isMountedUpwards</span><br></pre></td></tr></table></figure> <html><table class="table-supportedby"><tr valign="top"><td width="15%"><font color="#999"><i>Header:</i></font></td><td width="85%"><font color="#999">DJIGimbalState.h</font></td></tr></table></html> <h5 id="description-v21">Description:</h5> <p><font color="#666"><code>YES</code> if the gimbal is mounted upwards on the aircraft. It is only supported by M210 and M210 RTK.</font></p> </div> </div> </div> </div> <div id="search-modal" class="search-modal modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"><a href="javascript:;" @click="closeSearch" class="btn-close">×</a> <h2 class="title">Search Mobile SDK Document </h2> <input type="text" v-model="searchInput" @keydown.enter="search"> </div> <div class="modal-body"> <p v-show="!!searchCount" class="search-count"><span v-cloak>{{searchCount}}</span>&nbsp;Results </p> <ul v-show="!!searchCount" class="search-result"> <li v-for="item in searchResult"><a v-bind:href="item.url | docUrl"> <h3 class="title">{{{(item.highlights && item.highlights.title) || item.title}}}</h3> <p class="content">{{{(item.highlights && item.highlights.content[0]) || item.title}}}</p></a></li> </ul> <div v-show="showLoadMore" class="text-center"><a href="javascript:;" @click="loadMoreSearch" class="btn-learn-more">Load More</a></div> <div v-show="searchLoading" class="text-center">Loading... </div> <div v-show="!searchCount &amp;&amp; !searchLoading" class="text-center">Not Found </div> </div> </div> </div> </div> </div> <footer id="site-footer" class="site-footer"> <div class="container"> <div class="foot-nav row"> <nav class="link-list col-xs-2"><span class="title">SDK</span><a href="/mobile-sdk">Mobile SDK</a><a href="/ux-sdk">UX SDK</a><a href="/onboard-sdk">Onboard SDK</a><a href="/payload-sdk">Payload SDK</a><a href="/windows-sdk">Windows SDK</a></nav> <nav class="link-list col-xs-2"><span class="title">Info</span><a href="/products">Products</a></nav> <nav class="link-list col-xs-2"><span class="title">Community</span><a href="http://stackoverflow.com/questions/tagged/dji-sdk" target="_blank">Stack Overflow</a><a href="https://www.youtube.com/channel/UCPQwN5xsob8zZGIcDhkYqUA" target="_blank">YouTube</a><a href="https://twitter.com/djidevelopers" target="_blank">Twitter</a></nav> <nav class="link-list col-xs-2"><span class="title">Contact Us</span><a href="mailto:dev@dji.com"> dev@dji.com</a></nav> <nav class="link-list col-xs-2"><span class="title">Business Cooperation</span><a href="mailto:dev@dji.com"> dev@dji.com</a></nav> <nav class="link-list col-xs-2"><span class="title">BILLING</span><a href="mailto:billing-dev@dji.com"> billing-dev@dji.com</a></nav> </div> <div class="foot-copyright row"> <div class="col-xs-3 foot-logo"><img src="../../images/dji-logo-foot.png"></div> <div class="copyright col-xs-7"><span>Copyright © 2019 DJI All Rights Reserved</span><a href="/policies/privacy">Privacy Policy</a><a href="/policies/terms">Terms of Use</a></div> </div> </div> </footer> <script type="text/javascript"> window.Config = window.config = { sdk: "mobile-sdk", locale: "en", environment: "development", api_host: "" }; </script> <!-- build:js /javascripts/doc-vendor.js--> <script src="../../javascripts/lib/jquery-2.1.4.min.js" type="text/javascript"></script> <script src="../../javascripts/lib/bootstrap.js" type="text/javascript"></script> <script src="../../javascripts/lib/vue.min.js" type="text/javascript"></script> <!-- endbuild--> <!-- build:js /javascripts/doc-app.js--> <script src="../../javascripts/util/cookie.js" type="text/javascript"></script> <script src="../../javascripts/util/url-manager.js" type="text/javascript"></script> <script src="../../javascripts/util/ajax-manager.js" type="text/javascript"></script> <script src="../../javascripts/base/footer.js" type="text/javascript"></script> <script src="../../javascripts/base/header.js" type="text/javascript"></script> <script src="../../javascripts/util/searcher.js" type="text/javascript"></script> <script src="../../javascripts/search_index.js" type="text/javascript"></script> <script src="../../javascripts/searchdoc.js" type="text/javascript"></script> <script src="../../javascripts/api.js" type="text/javascript"></script> <!-- endbuild--> <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','http://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-43055594-1', 'auto'); ga('send', 'pageview'); </script> </body>
dji-sdk/Mobile-SDK-Doc
api-reference/ios-api/Components/Gimbal/DJIGimbal_GimbalState.html
HTML
mit
95,735
MIME-Version: 1.0 Server: CERN/3.0 Date: Sunday, 01-Dec-96 19:02:40 GMT Content-Type: text/html Content-Length: 14148 Last-Modified: Tuesday, 07-May-96 20:54:22 GMT <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <!-- cs514 Final Annotated Bibilography 4/26/96 --> <!-- Alfred Hong --> <!------------------------------------------------------------> <head> <title>CORBA: The Essentials</title> </head> <body> <!------------------------------------------------------------> <p align=center> <h2 align=center> CORBA: The Essentials<br> An Annotated Bibliography<br> </h2> <h4 align=center> <small>COM S 514 Final - Spring 1996 </small><br><p> Alfred Hong<br> April 26, 1996<br></h4> <hr> <!------------------------------------------------------------> <h3><a name="Contents">Table of Contents </a><br></h3> This bibliography intends to provide an essentials reference guide to understanding CORBA from various perspectives. Bibliography entries are ranked in the order in the following categories:<p> <ul> <li><a href ="#standards">The CORBA Standards Documentation;</a> <li><a href ="#tutorials">Tutorials;</a> <li><a href ="#problems">Shortfalls and Problems;</a> <li><a href ="#comparison">Different Perspectives, Comparison to Options;</a> <li><a href ="#examples">Real-world CORBA Applications.</a> </ul> <hr> <!------------------------------------------------------------> <h3><a name="standards">The CORBA Standards Documentation</a></h3><p> <dl> <dt> Soley, Richard and Stone, Christopher, eds. <i>The Object Management Architecture Guide</i>. Rev. 3.0. John Wiley & Sons and Object Management Group, Framingham, MA, 1995.<p> <dd> This is the definitive, overview guide to the terminology, objectives, and the specification of CORBA. It introduces the Object Management Group (OMG) Core Object Model, the OMG Reference Model, the standardization procedures, the proposal procedures, and specification guidelines of OMG. The OMG Reference Model consists of the four layers: the Object Request Broker (ORB), CORBAservices, CORBAfacilities, and Application Objects of which the first three are described in detail in their own specification texts.<p> <dt> Object Management Group. <i>The Common Object Request Broker: Architecture and Specification</i>. Rev. 2.0. Object Management Group, Framingham, MA, 1995.<p> <dd> The Object Request Broker (ORB) is the foundation of CORBA. ORBs are essentially agents that transparently service data requests/responses from CORBA objects and clients through object adaptors (OA) via an object-oriented version of an RPC mechanism. The interfacing between ORBs and CORBA objects via the Interface Definition Language (IDL) and the Dynamic Invocation Interface (DII) are also specified. Revision 2.0 also defines interoperability and portability guidelines for ORBs from different vendors.<p> <dt> Object Management Group. <i>CORBAservices: Common Object Services Specifications</i>. Object Management Group, Framingham, MA, 1995.<p> <dd> CORBAservices (better known as COSS for Common Object Services Specification in literature) is the layer directly above ORBs that provide a recognized set of essential services available to CORBA objects. This is a "growing" document in that not all envisioned services have been defined yet. Some of the specified ones include naming, events, transactions, and persistence.<p> <dt> Object Management Group. <i>CORBAfacilities: Common Facilities</i>. Object Management Group, Framingham, MA, 1995.<p> <dd> CORBAfacilities is the layer above CORBAservices that defines higher- level services and functions for the fourth layer -- end-user applications -- of the OMG Reference Model. It includes both horizontal and vertical CORBAfacilities which are mostly introduced but have yet to be specified as of this writing. This is a "growing" document as well.<p> </dl> <a href="#Contents"><i>-->Table of Contents </i></a><p> <hr> <!------------------------------------------------------------> <h3><a name="tutorials">Tutorials</a></h3><p> <dl> <dt> Minton, Gabriel. "Programming with CORBA." <i>Unix Review</i> 14, 4 (April 1996), 29-39.<p> <dd> This is an up-to-date and easy-to-read tutorial on CORBA. It provides background history on OMG, summarizes the information in the defining specifications on CORBA (first four entries of this bibliography), and presents an Interface Definition Language (IDL) and C++ coding example using SunSoft's NEO CORBA environment. <p> <dt> Vinoski, Steve. "Distributed Object Computing with CORBA." <i>C++ Report</i> 5, 6 (July/Aug. 1993), 32-38.<p> <dd> This technical overview of the CORBA foundations explains how CORBA makes sense from the perspective of distributed object-oriented application development with C++. It describes the CORBA components -- the Object Request Broker (ORB) Core, the Interface Definition Language (IDL), the Dynamic Inovation Interface (DII), the Interface Repository (IR), and the Object Adapter (OA) -- individually as well as how they work together.<p> <dt> Betz, Mark. "Building a CORBA Object Server." <i>Software Development</i> 3, 10 (Oct. 1995), 53-61.<p> <dd> It is straightforward for proficient C++ programmers to develop a CORBA object server using C++ and Orbix -- IONA Technologies' CORBA implementation. The process is demonstrated in a detailed step-by-step manner, from IDL interface specification to compilation of the example. <p> <dt> Mowbray, Thomas J. and Zahavi, R. <i>The Essential CORBA: Systems Integration Using Distributed Objects</i>. John Wiley & Sons and Object Management Group, Framingham, MA, 1995.<p> <dd> This book is geared towards systems integrators who are building systems based on CORBA. The book examines overall integration issues and techniques; includes a good tutorial on the CORBA architecture; discusses security issues and implementations; and introduces example ORBs available on the market so that successful CORBA systems can be implemented.<p> </dl> <a href="#Contents"><i>-->Table of Contents </i></a><p> <hr> <!------------------------------------------------------------> <h3><a name="problems">Shortfalls and Problems</a></h3><p> <dl> <dt> Maffeis, Silvano. "Adding Group Communication and Fault-Tolerance to CORBA." <i>In Proceedings of the 1995 USENIX Conference on Object-Oriented Technologies. (Monterey, CA, June 1995)</i>. USENIX Asso., Berkeley, CA, pp. 203, 135-146.<p> <dd> Although CORBA is meant for distributed systems, one shortfall is its lack of dealing with fault-tolerance, which could be implemented in software as groups of replicated objects that utilize reliable multicast communication. Recognizing this limitation, the author presents and discusses Electra -- "the best of both worlds," a generic object request broker (ORB) that adds the reliable group multicast capabilities of systems such as Horus and Isis to a CORBA implementation.<p> <dt> Schmidt, D. C., Harrison, T., and Al-Shaer, E. "Object-Oriented Components for High-speed Network Programming." In <i>Proceedings of the USENIX Conference on Object-Oriented Technologies. (Monterey, CA, June 1995)</i>. USENIX Asso., Berkeley, CA, pp. 203, 21-38.<p> <dd> This paper presents another problem with CORBA. It evaluates performance problems of "communication middleware" on high-speed networks; CORBA-based mechanisms (like Orbix and ORBeline), which are considerably slower, are compared against C/C++-based sockets. The authors also devised a middleground Adaptive Communications Environment (ACE) object-oriented programming toolkit that improves the performance problems they have encountered.<p> <dt> Orfali, R., Harkey, D., and Edwards, J. "Client/Server Components: CORBA Meets OpenDoc." <i>Object Magazine</i> 5, 4 (May 1995), 55-59.<p> <dd> CORBAfacilities specifies higher-level services and functions for the Application Objects layer of the OMG Reference Model; however, most of these have been introduced but have yet to be specified. OpenDoc, which essentially provides what CORBAfacilities requires, is mature and is anticipated to be merged into or adopted by the CORBAfacilities specification (this has occurred as of the writing of this bibliography and has been named Distributed Document Component Facility). OpenDoc enables the creation of multiple "live data," or live object, compound documents. <p> <dt> Tisaranni, John V. "IONA's Orbix: Object Request Broker." <i>Object Magazine</i> 5, 5 (July/Aug. 1995), 82+.<p> <dd> IONA Technologies' Orbix is one of the most popular, commercially available, full implementations of CORBA. The author reviews versions of Orbix that adheres to the CORBA 1.2 spec but focuses on Orbix extensions that are not defined in CORBA, such as object binding, smart proxies, IDL-C++ binding, and more; some of these have become part of the CORBA 2.0 spec. Work with other companies to further address shortfalls of CORBA are also briefly mentioned. For instance, Orbix+Isis provides fault-tolerance functionality.<p> </dl> <a href="#Contents"><i>-->Table of Contents </i></a><p> <hr> <!------------------------------------------------------------> <h3><a name="comparison">Different Perspectives, Comparison to Options </a></h3><p> <dl> <dt> Bernstein, Philip A. "Middleware: A Model for Distributed System Services." <i>Communications of the ACM</i> 29, 2 (February 1996), 86-98.<p> <dd> CORBA is not the only mechanism/middleware that is intended to support distributed computing; various competing models exist. This paper provides an educational look at how the heterogeneity and distributed nature of industry needs and requirements gave birth to middleware; classifies middleware; and discusses services that middleware should provide. Middleware integration issues and its future are examined as well. <p> <dt> Schmidt, Douglas C. and Vinoski, Steve. "Modeling Distributed Object Applications." <i>C++ Report</i> 7, 2 (Feb. 1995), 64-68.<p> <dd> This is second in a series of columns on distributed object computing (DOC). It outlines an approach to DOC implementation by discussing the application environment and requirements (hardware, network, etc.) and examining key functionalities to look for in competing DOC frameworks (CORBA, Network OLE, and OODCE). For example, CORBA does not have security measures or multithreading capability; however, some of these have become part of the latest specification.<p> <dt> Brando, Thom. "Comparing CORBA & DCE." <i>Object Magazine</i> 6, 1 (March 1996), 52-57.<p> <dd> This is an informative guide to CORBA through comparison with DCE Because of their numerous similarities, the author dispels confusion by explaining CORBA through contrasting the differences between CORBA and DCE. The paper includes a clear diagram showing the OMG Reference Model and depicting specified and yet to be specified CORBA components. <p> <dt> Foody, Michael A. "OLE and COM vs. CORBA." <i>Unix Review</i> 14, 4 (April 1996), 43-45.<p> <dd> Microsoft's Component Object Model (COM) is the defining object model for the popular Object Linking and Embedding (OLE) for desktop applications. COM's object model is quite different from CORBA's, which makes interoperability between the two difficult. OMG has completed the COM-CORBA interoperability specification; however, distributed COM, contained in Network OLE (see next entry), is still being defined and may pose a greater challenge for interoperability specification between the two.<p> <dt> Halfhill, Tom R. and Salamone, Salvatore. "Components Everywhere." <i>BYTE</i> 21, 1 (Jan. 1996), 97+.<p> <dd> Network Object Linking and Embedding (Network OLE) from Microsoft and CORBA 2.0 from the Object Management Group are compared. CORBA 2.0 is already available with years of refinement; especially the new 2.0 specification has added additional portability and distributed computing enhancements. Although Network OLE is not available yet, Microsoft's strategies and OLE 2.0 availability make Network OLE a formidable opponent.<p> </dl> <a href="#Contents"><i>-->Table of Contents </i></a><p> <hr> <!------------------------------------------------------------> <h3><a name="examples">Real-World CORBA Applications</a></h3><p> <dl> <dt> Pompeii, John. "The Design and Construction of LISA." <i>DBMS Magazine</i> 8, 13 (Dec. 1995), 68-82.<p> <dd> This is a case study of a real-world property management system that is completely object-oriented. It was built with IBM's distributed systems object model (DSOM), a CORBA-compliant framework, and runs on a heterogeneous TCP/IP network with over 60 Oracle7 database servers. The fruits of OMG and the Object Database Management Group (ODMG) are impressively displayed by the variety of DSOM services (hence CORBAservices) utilized: naming service, persistence, event notification, concurrency control, and more. <p> <dt> Almasi, G., et al. Web* -- A Technology to Make Information Available on the Web." In <i>Proceedings of the Fourth Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises (WET ICE '95) (Apr. 20-22, 1995, Berkeley Springs, West Virginia)</i>. IEEE Computer Society Press, Los Alamitos, CA, pp. 147-153.<p> <dd> Web* is an enhanced common gateway interface (CGI) script that includes a Tcl-based Orbix dynamic invocation interface (DII), allowing it to act as an Orbix client to CORBA-compliant servers. The authors briefly describe the use of the static interface definition language (IDL) versus DII in Web*. Although CORBA is not the major focus of the paper, nevertheless, Web* is a freely available working example of a CORBA client. The authors also mention a May 1995 trial of Web* for dynamic generation of medical patient records using an Orbix interface to Oracle databases.<p> </dl> <a href="#Contents"><i>-->Table of Contents </i></a><p> <hr> <!------------------------------------------------------------> </body> </html>
ML-SWAT/Web2KnowledgeBase
webkb/other/cornell/http:^^www.cs.cornell.edu^Info^People^ahong^Docs^corba.html
HTML
mit
14,321
<!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"> <title>News - Summary Extraction</title> <link rel="stylesheet" href="css/bootstrap.css"> <link rel="stylesheet" href="css/news.css"> <!--<script type="text/javascript" src="js/cycle.js"></script>--> </head> <body> <div class="container-fluid"> <div class="page-content"> <div class="row"> <ul class="list-unstyled"> <li> <div class="summary"> <h2 class="title"> <a href="http://online.wsj.com/articles/venture-capitalist-sounds-alarm-on-silicon-valley-risk-1410740054">Venture Capitalist Sounds Alarm on Startup Investing</a> </h2> <p class="site"> <span>online.wsj.com</span> </p> <div class="crop"> <div><img class="image" src="http://si.wsj.net/public/resources/images/MK-CP310_GURLEY_G_20140914165552.jpg" /></div> </div> <div class="description"> <p> Silicon Valley may have taken on more risk than it can handle, according to prominent venture capitalist Bill Gurley, who cited potential cracks in ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> <a href="PEntremont.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000365010737/59222c85155831c2c3e378b283520bb9_normal.jpeg" title="@PEntremont" /></a> <a href="ilmago.html"><img class="reader" src="http://pbs.twimg.com/profile_images/481022265614532608/PFT-KPuN_normal.jpeg" title="@ilmago" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://a16z.com/2014/09/25/on-dark-talent-moocs-universities-and-startups-an-interview-with-andreessen-horowitz-first-distinguished-visiting-professor-of-computer-science">On ‘Dark Talent’, MOOCs, Universities, and Startups: An Interview with the ...</a> </h2> <p class="site"> <span>a16z.com</span> </p> <div class="crop"> <div><img class="image" src="http://a16z.files.wordpress.com/2014/01/7cb56ea5114a9f0e92d53bf0e171d15d.png" /></div> </div> <div class="description"> <p> We’re bringing together a great group of computer science professors from around the U.S. for talks and discussion as part of our second annual ... </p> </div> <div class="readers"> <a href="beller.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3372487119/f205716c5ec769a6ed1a93adf05a41e0_normal.jpeg" title="@beller" /></a> <a href="cdixon.html"><img class="reader" src="http://pbs.twimg.com/profile_images/2874406524/5ecf4e7907cbb226d8337704dd752dd5_normal.jpeg" title="@cdixon" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://blogs.wsj.com/digits/2014/09/17/sequoias-moritz-alibaba-ipo-signals-new-internet-era">Sequoia’s Moritz: Alibaba IPO Signals New Internet Era</a> </h2> <p class="site"> <span>blogs.wsj.com</span> </p> <div class="crop"> <div><img class="image" src="http://si.wsj.net/public/resources/images/MI-CF109_ALIBUY_G_20140916152732.jpg" /></div> </div> <div class="description"> <p> Michael Moritz, the billionaire venture capitalist whose firm quietly invested in Alibaba, says the company's IPO is the beginning of a new era for ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> <a href="inakib.html"><img class="reader" src="http://pbs.twimg.com/profile_images/424669990563094528/BMW1aJys_normal.jpeg" title="@inakib" /></a> </div> </div> <div class="clearfix enable-sm enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.reddit.com/r/IAmA/comments/2g4g95/peter_thiel_technology_entrepreneur_and_investor">Peter Thiel, technology entrepreneur and investor. AMA • /r/IAmA</a> </h2> <p class="site"> <span>www.reddit.com</span> </p> <div class="crop"> <div><img class="image" src="http://www.redditstatic.com/icon.png" /></div> </div> <div class="description"> <p> **My short bio:** Hi, I'm Peter Thiel, co-founder of PayPal and Palantir, first investor in Facebook, venture capitalist at Founders Fund, and... </p> </div> <div class="readers"> <a href="beller.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3372487119/f205716c5ec769a6ed1a93adf05a41e0_normal.jpeg" title="@beller" /></a> <a href="tientoday.html"><img class="reader" src="http://pbs.twimg.com/profile_images/502749349919473664/ijwpfiU6_normal.jpeg" title="@tientoday" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://online.wsj.com/articles/for-apple-ceo-launch-is-biggest-test-1410217913">For Apple CEO Tim Cook, iPhone, Smartwatch Launch Is Biggest Test</a> </h2> <p class="site"> <span>online.wsj.com</span> </p> <div class="crop"> <div><img class="image" src="http://si.wsj.net/public/resources/images/MK-CP174_APPLE_G_20140908182955.jpg" /></div> </div> <div class="description"> <p> After three years of closely guarding his strategy for Apple, Inc., Chief Executive Tim Cook will show his hand Tuesday, with an ambitious blitz of ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> <a href="cdixon.html"><img class="reader" src="http://pbs.twimg.com/profile_images/2874406524/5ecf4e7907cbb226d8337704dd752dd5_normal.jpeg" title="@cdixon" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://om.co/2014/09/03/wanna-nuzzel">Wanna Nuzzel?</a> </h2> <p class="site"> <span>om.co</span> </p> <div class="description"> <p> Surveys say that people download apps on their phones, try them out and very rarely go back to them and move on to the next shiny thing. This paradox ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> <a href="millie.html"><img class="reader" src="http://pbs.twimg.com/profile_images/463670724452818944/_KPTWhpM_normal.jpeg" title="@millie" /></a> </div> </div> <div class="clearfix enable-sm enable-md enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://a16z.com/2014/09/04/building-brands-and-running-retail-ron-johnson-and-tristan-walker-break-it-down">Building Brands and Running Retail — Ron Johnson and Tristan Walker Break ...</a> </h2> <p class="site"> <span>a16z.com</span> </p> <div class="crop"> <div><img class="image" src="http://a16z.files.wordpress.com/2014/01/7cb56ea5114a9f0e92d53bf0e171d15d.png" /></div> </div> <div class="description"> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> <a href="cdixon.html"><img class="reader" src="http://pbs.twimg.com/profile_images/2874406524/5ecf4e7907cbb226d8337704dd752dd5_normal.jpeg" title="@cdixon" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://fortune.com/2014/09/04/peter-thiels-contrarian-strategy">Peter Thiel disagrees with you</a> </h2> <p class="site"> <span>fortune.com</span> </p> <div class="crop"> <div><img class="image" src="http://i1.wp.com/fortunedotcom.files.wordpress.com/2014/09/thi22_11.jpg?crop=0px%2C149px%2C1218px%2C847px&resize=820%2C570" /></div> </div> <div class="description"> <p> The tech financier and intellectual provocateur has some ideas that may turn you off. But there's no arguing with his commercial achievements. That's ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> <a href="cdixon.html"><img class="reader" src="http://pbs.twimg.com/profile_images/2874406524/5ecf4e7907cbb226d8337704dd752dd5_normal.jpeg" title="@cdixon" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.theverge.com/2014/8/26/6067663/this-is-ubers-playbook-for-sabotaging-lyft">This is Uber's playbook for sabotaging Lyft</a> </h2> <p class="site"> <span>www.theverge.com</span> </p> <div class="crop"> <div><img class="image" src="http://cdn1.vox-cdn.com/uploads/chorus_image/image/37490224/lyft-party-photo-essay2_1020.0_cinema_1200.0.jpg" /></div> </div> <div class="description"> <p> Uber is arming teams of independent contractors with burner phones and credit cards as part of its sophisticated effort to undermine Lyft and other ... </p> </div> <div class="readers"> <a href="beller.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3372487119/f205716c5ec769a6ed1a93adf05a41e0_normal.jpeg" title="@beller" /></a> <a href="freerobby.html"><img class="reader" src="http://pbs.twimg.com/profile_images/418258981568516096/3DrO26nx_normal.jpeg" title="@freerobby" /></a> </div> </div> <div class="clearfix enable-sm enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.google.com/trends/explore">Google Trends - Interesse in Google Zoeken - Wereldwijd, 2004 - heden</a> </h2> <p class="site"> <span>www.google.com</span> </p> <div class="crop"> <div><img class="image" src="http://www.google.com/trends/resources/2327917647-google-icon.png" /></div> </div> <div class="description"> <p> Ontdek trends in Google Zoeken met Google Trends. </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> <a href="PEntremont.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000365010737/59222c85155831c2c3e378b283520bb9_normal.jpeg" title="@PEntremont" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="https://www.cbinsights.com/blog/50-biggest-tech-deals-h1-2014">The 50 Biggest Tech Financings of 2014</a> </h2> <p class="site"> <span>www.cbinsights.com</span> </p> <div class="crop"> <div><img class="image" src="https://cbi-blog.s3.amazonaws.com/blog/wp-content/uploads/2015/01/moneytree.jpg" /></div> </div> <div class="description"> <p> Tiger Global Management was the most active investor in the largest tech financings of 2014. Silicon Valley took 70% of the deals. </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.bloomberg.com/news/2014-09-25/mystery-man-moving-japan-made-more-than-1-million-trades.html">Mystery Man Who Moves Japanese Markets Made More Than 1 Million Trades</a> </h2> <p class="site"> <span>www.bloomberg.com</span> </p> <div class="crop"> <div><img class="image" src="http://www.bloomberg.com/image/iyZcfH2C1r7g.jpg" /></div> </div> <div class="description"> <p> It was six minutes after the opening bell on Feb. 4, and dozens of big-name stocks were still untraded in Tokyo. Telecommunications giant SoftBank ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm enable-md enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://recode.net/2014/09/25/facebook-is-partnering-with-stripe-to-power-buy-button">Facebook Is Partnering With Stripe to Power "Buy" Button</a> </h2> <p class="site"> <span>recode.net</span> </p> <div class="crop"> <div><img class="image" src="http://recodetech.files.wordpress.com/2014/09/img_1548.jpg?w=1200" /></div> </div> <div class="description"> <p> Stripe adds Facebook to its list of impressive partnership deals. </p> </div> <div class="readers"> <a href="inakib.html"><img class="reader" src="http://pbs.twimg.com/profile_images/424669990563094528/BMW1aJys_normal.jpeg" title="@inakib" /></a> <a href="Recode.html"><img class="reader" src="http://pbs.twimg.com/profile_images/479739514781327360/QM02m-HC_normal.png" title="@Recode" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://gigaom.com/2014/09/25/one-secret-to-the-success-of-quartz-buzzfeed-and-gawker-they-look-at-news-as-a-service">One secret to the success of Quartz, BuzzFeed and Gawker: They look at ...</a> </h2> <p class="site"> <span>gigaom.com</span> </p> <div class="crop"> <div><img class="image" src="https://gigaom2.files.wordpress.com/2014/09/178473781.jpg?w=708" /></div> </div> <div class="description"> <p> Most traditional media outlets are used to thinking of journalism or news as something they create and then distribute to a waiting audience — but ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.washingtonpost.com/blogs/the-switch/wp/2014/09/24/redesigning-that-first-encounter-with-online-government">Redesigning that first encounter with online government</a> </h2> <p class="site"> <span>www.washingtonpost.com</span> </p> <div class="crop"> <div><img class="image" src="http://www.washingtonpost.com/blogs/the-switch/files/2014/09/img_citizen_onboard.gif" /></div> </div> <div class="description"> <p> A user experience legend and two Code for America fellows are asking citizens to critique what digital government services should look like. Meet ... </p> </div> <div class="readers"> <a href="JoinBrigade.html"><img class="reader" src="http://pbs.twimg.com/profile_images/476641185130242049/30Blul4o_normal.jpeg" title="@JoinBrigade" /></a> <a href="digiphile.html"><img class="reader" src="http://pbs.twimg.com/profile_images/467136413092151296/4m6R9jR-_normal.jpeg" title="@digiphile" /></a> </div> </div> <div class="clearfix enable-sm enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://blog.producthunt.com/post/98290786994/what-makes-a-great-product-manager-10-product-experts">What Makes a Great Product Manager? 10 Product Experts Weigh In</a> </h2> <p class="site"> <span>blog.producthunt.com</span> </p> <div class="description"> <p> As a follow up to our collection of Product Management Tools last week, we asked 10 product pros in the PH community what it takes to be a great ... </p> </div> <div class="readers"> <a href="beller.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3372487119/f205716c5ec769a6ed1a93adf05a41e0_normal.jpeg" title="@beller" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://cornellsun.com/blog/2014/09/24/spotify-explores-cornell-student-trends">Spotify Explores Cornell Student Trends</a> </h2> <p class="site"> <span>cornellsun.com</span> </p> <div class="crop"> <div><img class="image" src="http://d71vxl4sfh0st.cloudfront.net/wp-content/uploads/2014/09/twitter_cornellsun.jpg" /></div> </div> <div class="description"> <p> Comments </p> </div> <div class="readers"> <a href="beller.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3372487119/f205716c5ec769a6ed1a93adf05a41e0_normal.jpeg" title="@beller" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://cdixon.org/2012/08/15/e-commerce-startups">E-commerce startups | chris dixon's blog</a> </h2> <p class="site"> <span>cdixon.org</span> </p> <div class="description"> <p> Very few successful e-commerce companies were started in the 2000s. Since then, e-commerce startups have enjoyed a revival. Dozens of companies have ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm enable-md enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="https://www.cbinsights.com/blog/strategic-intent-corporate-venture-capital">The New Strategic Intent of Corporate Venture Capital</a> </h2> <p class="site"> <span>www.cbinsights.com</span> </p> <div class="crop"> <div><img class="image" src="https://cbi-blog.s3.amazonaws.com/blog/wp-content/uploads/2015/09/cvcgrowth.jpg" /></div> </div> <div class="description"> <p> Kyle Fugere of dunnhumby Ventures dives into some of the success stories in corporate VC and why the new value of CVC is investing in the future of ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.alleywatch.com/2014/09/50-nyc-vcs-you-need-to-know-about">50 NYC VCs You Need to Know About</a> </h2> <p class="site"> <span>www.alleywatch.com</span> </p> <div class="crop"> <div><img class="image" src="http://cdn.alleywatch.com/wp-content/uploads/2014/09/50-nyc-vcs-you-need-to-knwo-about.png" /></div> </div> <div class="description"> <p> Meet 50 people who have the ability to change your life – hopefully for the better. You’ve heard them on panels. You’ve seen them mentioned in the ... </p> </div> <div class="readers"> <a href="mattturck.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3280461670/2e570e4bee04353fd2e25a6223bab96c_normal.jpeg" title="@mattturck" /></a> <a href="ilmago.html"><img class="reader" src="http://pbs.twimg.com/profile_images/481022265614532608/PFT-KPuN_normal.jpeg" title="@ilmago" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.vox.com/2014/9/24/6832951/heres-why-millions-of-americans-are-binge-watching-korean-dramas">Here's why millions of Americans are binge-watching Korean dramas</a> </h2> <p class="site"> <span>www.vox.com</span> </p> <div class="crop"> <div><img class="image" src="http://cdn1.vox-cdn.com/uploads/chorus_image/image/39884150/My_Loveable_Girl_hi_res.0.0_cinemaesque_1080.0.jpg" /></div> </div> <div class="description"> <p> There's a Netflix for K-Dramas, and most of its users aren't Asian. </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.nytimes.com/2014/09/24/business/finding-a-door-into-banking-walmart-to-offer-checking-accounts.html">Walmart Prepares to Offer Low-Cost Checking Accounts</a> </h2> <p class="site"> <span>www.nytimes.com</span> </p> <div class="description"> <p> The retailer will partner with Green Dot, known for its prepaid payment cards. </p> </div> <div class="readers"> <a href="dj_hematite.html"><img class="reader" src="http://pbs.twimg.com/profile_images/1868372744/tattoo_man_normal.jpg" title="@dj_hematite" /></a> <a href="digiphile.html"><img class="reader" src="http://pbs.twimg.com/profile_images/467136413092151296/4m6R9jR-_normal.jpeg" title="@digiphile" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://rightrelevance.com">Right Relevance: Search or Login for deep topical relevance</a> </h2> <p class="site"> <span>rightrelevance.com</span> </p> <div class="description"> <p> Discover fresh relevant content to your interests, save interesting articles, follow influential experts, be the first to share soon-to-be viral ... </p> </div> <div class="readers"> <a href="beller.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3372487119/f205716c5ec769a6ed1a93adf05a41e0_normal.jpeg" title="@beller" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.nytimes.com">Breaking News, World News & Multimedia</a> </h2> <p class="site"> <span>www.nytimes.com</span> </p> <div class="crop"> <div><img class="image" src="http://static01.nyt.com/images/2014/09/26/us/26holder3/26holder3-mediumFlexible177.jpg" /></div> </div> <div class="description"> <p> The New York Times: Find breaking news, multimedia, reviews & opinion on Washington, business, sports, movies, travel, books, jobs, education, real ... </p> </div> <div class="readers"> <a href="ilmago.html"><img class="reader" src="http://pbs.twimg.com/profile_images/481022265614532608/PFT-KPuN_normal.jpeg" title="@ilmago" /></a> <a href="KatiMichel.html"><img class="reader" src="http://pbs.twimg.com/profile_images/416721480185950208/AQS_qTXy_normal.jpeg" title="@KatiMichel" /></a> </div> </div> <div class="clearfix enable-sm enable-md enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.bloomberg.com/video/jack-ma-s-original-alibaba-pitch-circa-1999-GlZ1kl_wT~uYI221Niialg.html">Jack Ma in 1999: Selling Alibaba From His Apartment: Video</a> </h2> <p class="site"> <span>www.bloomberg.com</span> </p> <div class="crop"> <div><img class="image" src="http://www.bloomberg.com/image/iQM5GtVq7eTM.jpg" /></div> </div> <div class="description"> <p> In this clip from 1999, Jack Ma delivers a speech to 17 friends in his apartment to introduce Alibaba and lay out his plan to compete with U.S. ... </p> </div> <div class="readers"> <a href="inakib.html"><img class="reader" src="http://pbs.twimg.com/profile_images/424669990563094528/BMW1aJys_normal.jpeg" title="@inakib" /></a> <a href="KatiMichel.html"><img class="reader" src="http://pbs.twimg.com/profile_images/416721480185950208/AQS_qTXy_normal.jpeg" title="@KatiMichel" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://online.wsj.com/articles/richard-bransons-tech-essentials-1411156350">Richard Branson's Tech Essentials</a> </h2> <p class="site"> <span>online.wsj.com</span> </p> <div class="crop"> <div><img class="image" src="http://si.wsj.net/public/resources/images/BN-EP545_Branso_G_20140918175009.jpg" /></div> </div> <div class="description"> <p> The founder of the Virgin Group and author of the new book "The Virgin Way: Everything I Know About Leadership," on his training regimen for space ... </p> </div> <div class="readers"> <a href="amrita_ux.html"><img class="reader" src="http://pbs.twimg.com/profile_images/477632954337087488/TdR6khdT_normal.jpeg" title="@amrita_ux" /></a> <a href="KatiMichel.html"><img class="reader" src="http://pbs.twimg.com/profile_images/416721480185950208/AQS_qTXy_normal.jpeg" title="@KatiMichel" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://thenewstack.io/why-did-docker-catch-on-quickly-and-why-is-it-so-interesting">Why Did Docker Catch on Quickly and Why is it so Interesting? | The New ...</a> </h2> <p class="site"> <span>thenewstack.io</span> </p> <div class="crop"> <div><img class="image" src="http://thenewstack.io/wp-content/uploads/2014/09/297908849_f42a6d5e34_b.jpg" /></div> </div> <div class="description"> <p> Docker has rapidly become “the new thing” for computing in 2014. Why did that happen so quickly, and how has a Linux application container become so ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm enable-lg"></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://soundcloud.com/a16z/a16z-podcast-sharing-is-the-metric-that-matters-building-buzzfeed-for-a-socialmobile-world">a16z Podcast: For Buzzfeed Sharing is the Metric that Matters</a> </h2> <p class="site"> <span>soundcloud.com</span> </p> <div class="crop"> <div><img class="image" src="https://i1.sndcdn.com/artworks-000091355712-y9d6w2-t500x500.jpg?debc7fd" /></div> </div> <div class="description"> <p> Jonah Peretti is building BuzzFeed to “inform, inspire and entertain” in a world where news and entertainment is increasingly passed around on social ... </p> </div> <div class="readers"> <a href="cdixon.html"><img class="reader" src="http://pbs.twimg.com/profile_images/2874406524/5ecf4e7907cbb226d8337704dd752dd5_normal.jpeg" title="@cdixon" /></a> <a href="KatiMichel.html"><img class="reader" src="http://pbs.twimg.com/profile_images/416721480185950208/AQS_qTXy_normal.jpeg" title="@KatiMichel" /></a> </div> </div> <div class="clearfix enable-sm enable-md "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://www.bothsidesofthetable.com/2014/09/17/bad-notes-on-venture-capital">Bad Notes on Venture Capital</a> </h2> <p class="site"> <span>www.bothsidesofthetable.com</span> </p> <div class="crop"> <div><img class="image" src="http://www.bothsidesofthetable.com/wp-content/uploads/2014/09/Bad-Notes.png" /></div> </div> <div class="description"> <p> This week. On the phone ... Me: So, you raised venture capital? Him: Yeah. We raised a seed round. About $1 million. Me: At what price? Him: It ... </p> </div> <div class="readers"> <a href="mlcwong.html"><img class="reader" src="http://pbs.twimg.com/profile_images/378800000808107649/9a9161e37c7ac8935a0109e1d846393c_normal.jpeg" title="@mlcwong" /></a> </div> </div> <div class="clearfix enable-sm "></div> </li> <li> <div class="summary"> <h2 class="title"> <a href="http://hatchingnow.com">H A T C H</a> </h2> <p class="site"> <span>hatchingnow.com</span> </p> <div class="crop"> <div><img class="image" src="http://hatchingnow.com/img/slideMock.jpg" /></div> </div> <div class="description"> <p> It's simple. Find or create tags you're interested in and start following them. See only what you like. </p> </div> <div class="readers"> <a href="beller.html"><img class="reader" src="http://pbs.twimg.com/profile_images/3372487119/f205716c5ec769a6ed1a93adf05a41e0_normal.jpeg" title="@beller" /></a> </div> </div> <div class="clearfix enable-sm enable-md enable-lg"></div> </li> </ul> </div> </div> <div class="footer"> <!-- <hr /> <p> Svven look'n'feel <span class="pull-right">Comments?</span> </p> --> </div> </div> <!--<script type="text/javascript" charset="utf-8"> initCycle(); </script>--> </body> </html>
svven/pages
peretti.html
HTML
mit
28,903
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="UTF-8"> <title>react-country-region-selector</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="css/normalize.css" media="screen"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css"> <link rel="stylesheet" type="text/css" href="css/stylesheet.css" media="screen"> <link rel="stylesheet" type="text/css" href="css/github-light.css" media="screen"> <link rel="stylesheet" href="libs/highlight/railscasts.css"> <style type="text/css"> body { background-color: #f0eee8; } .main-content { font-size: 15px; } ol { margin: 0; padding: 0; } section { margin: 0 0 15px; border-bottom: 1px solid #cac6bc; padding: 0 0 20px; } .counter { font-weight: bold; margin-right: 5px; } code { font-size: 15px; } .toggleCode { float: right; background-color: #d8d5ce; border-radius: 4px; margin-top: 8px; padding: 3px 6px; cursor: pointer; } .toggleCode:hover { background-color: #cac6bc; } </style> </head> <body> <section class="page-header"> <h1 class="project-name">react-country-region-selector</h1> <h2 class="project-tagline"></h2> <a href="https://github.com/benkeen/react-country-region-selector" class="btn">View on GitHub</a> <a href="https://github.com/benkeen/react-country-region-selector/zipball/master" class="btn">Download .zip</a> <a href="https://github.com/benkeen/react-country-region-selector/tarball/master" class="btn">Download .tar.gz</a> </section> <section class="main-content"> <p> <b>This page shows a few examples</b>. The example JSX code is there to illustrate each example, but please note you'll need to supply the appropriate onChange methods and store the country and region values. See the <a href="https://github.com/benkeen/react-country-region-selector">readme</a> for complete documentation on how to add the component to your pages. </p> <hr size="1" /> <div id="examples"></div> <footer class="site-footer"> <a href="https://github.com/benkeen/react-country-region-selector">react-country-region-selector</a> is maintained by <a href="https://github.com/benkeen">Ben Keen</a>. <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>. </footer> </section> <script src="libs/highlight/highlight.pack.js"></script> <script>hljs.initHighlightingOnLoad();</script> </body> </html>
benkeen/react-country-region-selector
example/public/index.html
HTML
mit
2,934
<!DOCTYPE html> <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="Sci blog jekyll theme"> <meta name="author" content="AIR RAYA Group"> <link href='/MyBlog/img/favicon.ico' type='image/icon' rel='shortcut icon'/> <title>泽民博客 | Jekyll theme</title> <link rel="stylesheet" href="/MyBlog/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> <link rel="stylesheet" href="/MyBlog/css/font-awesome.min.css"> <link href="/MyBlog/css/simple-sidebar.css" rel="stylesheet"> <link href="/MyBlog/css/classic-10_7.css" rel="stylesheet" type="text/css"> <!-- Custom CSS --> <link href="/MyBlog/css/style.css" rel="stylesheet"> <link href="/MyBlog/css/pygments.css" rel="stylesheet"> <!-- Fonts --> <link href="/MyBlog/css/front.css" rel="stylesheet" type="text/css"> <link href="/MyBlog/css/Josefin_Slab.css" rel="stylesheet" type="text/css"> <link href="/MyBlog/css/Architects_Daughter.css" rel="stylesheet" type="text/css"> <link href="/MyBlog/css/Schoolbell.css" rel="stylesheet" type="text/css"> <link href="/MyBlog/css/Codystar.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="/MyBlog/js/jquery-1.12.0.min.js"></script> <link href="/MyBlog/css/calendar/common.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="/MyBlog/js/calendar/calendar.js"></script> <!-- share this --> <script type="text/javascript">var switchTo5x=true;</script> <script type="text/javascript" src="/MyBlog/js/buttons.js"></script> <script type="text/javascript">stLight.options({publisher: "b28464c3-d287-4257-ad18-058346dd35f7", doNotHash: false, doNotCopy: false, hashAddressBar: false});</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="/MyBlog/js/html5shiv.js"></script> <script src="/MyBlog/js/respond.min.js"></script> <![endif]--> <!--百度统计--> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?e965cab8c73512b8b23939e7051d93bd"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script async src="/MyBlog/katex/katex.js"></script> <link rel="stylesheet" href="/MyBlog/katex/katex.css"> <!--轮播图片--> <!--script type="text/javascript" src="https://xiazemin.github.io/MyBlog/js/jquery.js"></script> <script type="text/javascript" src="https://xiazemin.github.io/MyBlog/js/jquery.stripesrotator.js"></script> <script type="text/javascript"> $(document).ready(function() { alert($('#rotator_xzm')); alert($('#rotator_xzm').fn); $('#rotator_xzm').stripesRotator({ images: [ "https://xiazemin.github.io/MyBlog/img/BPlusTree.png", "https://xiazemin.github.io/MyBlog/img/linuxMMap.jpeg"] }); }); </script--> <!--水印--> <script type="text/javascript" src="/MyBlog/js/waterMark.js"></script> <script type="text/javascript"> $(document).ready(function(){ watermark({watermark_txt0:'泽民博客',watermark_txt1:'zemin',watermark_txt2:(new Date()).Format("yyyy-MM-dd hh:mm:ss.S")}); }) </script> <!--水印--> <!--adscene--> <script data-ad-client="ca-pub-6672721494777557" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> </head> <body> <div id="wrapper"> <!-- Navigation --> <!-- Sidebar --> <div id="sidebar-wrapper"> <ul class="sidebar-nav"> <li class="sidebar-brand"> <a href="/MyBlog"> Home </a> </li> <li> <a href="#">About</a> </li> <li> <a href="#">Services</a> </li> <li> <a href="#">Portfolio</a> </li> <li> <a href="#">Events</a> </li> <li> <a href="#">Blog</a> </li> <li> <a href="#">FAQ</a> </li> <li> <a href="#">Contact</a> </li> </ul> </div> <header class="intro-header"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="heading text-center"> <a href="https://xiazemin.github.io/MyBlog/" style="color: #fff; font-size: 4em; font-family: 'Schoolbell', cursive;">泽民博客</a> <a href="#menu-toggle" class="btn btn-default sciblog" id="menu-toggle" style="font-weight: bold;">&#9776; Menu</a> </div> </div> </div> </div> </header> <script async src="/MyBlog/js/busuanzi.pure.mini.js"></script> <script type="text/javascript" src="/MyBlog/js/jquery.js"></script> <script type="text/javascript" src="/MyBlog/js/jquery.stripesrotator.js"></script> <div class="container"> <div class="row"> <div class="box"> <div class="col-lg-12"> <div class="intro-text text-center"> <h1 class="post-title" itemprop="name headline">routing_protocol 路由协议</h1> <p class="post-meta"> <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">by 夏泽民</span></span> <time datetime="2018-05-05T00:00:00+08:00" itemprop="datePublished"><i class="fa fa-calendar"></i> May 5, 2018</time></p> </div> <p>常见路由协议介绍<br /> 常见的路由协议有RIP、IGRP(Cisco私有协议)、EIGRP(Cisco私有协议)、OSPF、IS-IS、BGP等。<br /> RIP、IGRP、EIGRP、OSPF、IS-IS是内部网关协议(IGP),适用于单个ISP的统一路由协议的运行,一般由一个ISP运营的网络位于一个AS(自治系统)内,有统一的AS number(自治系统号)。BGP是自治系统间的路由协议,是一种外部网关协议,多用于不同ISP之间交换路由信息,以及大型企业、政府等具有较大规模的私有网络。<br /> RIP<br /> RIP“路由信息协议(Route Information Protocol)”的简写,主要传递路由信息,通过每隔30秒广播一次路由表,维护相邻路由器的位置关系,同时根据收到的路由表信息计算自己的路由表信 息。RIP是一个距离矢量路由协议,最大跳数为16跳,16跳以及超过16跳的网络则认为目标网络不可达。此协议通常用在网络架构较为简单的小型网络环境.现在分为RIPv1和RIPv2两个版本,后者支持VLSM技术以及一系列技术上的改进。RIP的收敛速度较慢。<br /> PS:路由收敛指网络的拓扑结构发生变化后,路由表重新建立到发送再到学习直至稳定,并通告网络中所有相关路由器都得知该变化的过程。也就是网络拓扑变化引起的通过重新计算路由而发现替代路由的行为。<br /> OSPF<br /> OSPF协议是“开放式最短路径优先(Open Shortest Path First)”的缩写,属于链路状态路由协议。OSPF提出了“区域(area)”的概念,每个区域中所有路由器维护着一个相同的链路状态数据库 (LSDB)。区域又分为骨干区域(骨干区域的编号必须为0)和非骨干区域(非0编号区域),如果一个运行OSPF的网络只存在单一区域,则该区域可以是 骨干区域或者非骨干区域。如果该网络存在多个区域,那么必须存在骨干区域,并且所有非骨干区域必须和骨干区域直接相连。OSPF利用所维护的链路状态数据 库,通过最短生成树算法(SPF算法)计算得到路由表。OSPF的收敛速度较快。由于其特有的开放性以及良好的扩展性,目前OSPF协议在各种网络中广泛部署。<br /> IS-IS<br /> IS-IS协议是Intermediate system to intermediate system(中间系统到中间系统)的缩写,属于链路状态路由协议。标准IS-IS协议是由国际标准化组织制定的ISO/IEC 10589:2002 所定义的,标准IS-IS不适合用于IP网络,因此IETF制 定了适用于IP网络的集成化IS-IS协议(Integrated IS-IS)。和OSPF相同,IS-IS也使用了“区域”的概念,同样也维护着一份链路状态数据库,通过最短生成树算法(SPF)计算出最佳路径。 IS-IS的收敛速度较快。集成化IS-IS协议是ISP骨干网上最常用的IGP协议。<br /> IGRP<br /> IGRP协议是“内部网关路由协议(Interior Gateway Routing Protool)”的缩写,由Cisco于 二十世纪八十年代独立开发,属于Cisco私有协议。IGRP和RIP一样,同属距离矢量路由协议,因此在诸多方面有着相似点,如IGRP也是周期性的广 播路由表,也存在最大跳数(默认为100跳,达到或超过100跳则认为目标网络不可达)。IGRP最大的特点是使用了混合度量值,同时考虑了链路的带宽、 延迟、负载、MTU、可靠性5个方面来计算路由的度量值,而不像其他IGP协议单纯的考虑某一个方面来计算度量值。目前IGRP已经被Cisco独立开发的EIGRP协议所取代,版本号为12.3及其以上的Cisco IOS(Internetwork Operating System)已经不支持该协议,现在已经罕有运行IGRP协议的网络。EIGRP<br /> 由于IGRP协议的种种缺陷以及不足,Cisco开发了EIGRP协议(增强型内部网关路由协议)来取代IGRP协议。EIGRP属于高级距离矢量 路由协议(又称混合型路由协议),继承了IGRP的混合度量值,最大特点在于引入了非等价负载均衡技术,并拥有极快的收敛速度。EIGRP协议在 Cisco设备网络环境中广泛部署。<br /> BGP<br /> 为了维护各个ISP的独立利益,标准化组织制定了ISP间的路由协议BGP。 BGP是“边界网关协议(Border Gateway Protocol)”的缩写,处理各ISP之间的路由传递。但是BGP运行在相对核心的地位,需要用户对网络的结构有相当的了解,否则可能会造成较大损失。<br /> <!-- more --><br /> 路由器是一种具有多个输入端口和多个输出端口的专用计算机,其任务是转发分组。<br /> 路由选择部分的核心是路由处理机,路由处理机可以根据选定的路由协议构造出路由表,同时经常或定期和相邻路由器交换路由信息来更新和维护自身的路由表。<br /> 分组转发部分包括一组输入端口、交换结构和一组输出端口。交换结构又称交换组织,它的作用就是根据转发表把收到的IP数据报从路由器合适的端口转发出去。交换结构可看成一个在路由器中的网络<br /> WMN的动态性,多跳性使得传统的路由协议不能够很好的处理无线网状网中拓扑结构和链路状态的快速变化。<br /> WMN由Ad hoc网络发展而来,Ad hoc网络重点在移动,而WMN重点在无线。目前主流的WMN路由协议也是从Ad hoc网络路由协议发展而来。主要包括三种类型的路由协议:先验式路由协议、反应式路由协议、混合式路由协议。<br /> 在先验式路由协议中,无论是否有通信需求,每个节点采用周期性的路由分组广播维护一张包含到达其他节点的路由信息的路由表,当检测到网络拓扑结构变化的时候,节点在网络中交换并更新路由表。源节点一旦要送分组,可以立即获得指向目的节点的路由。<br /> 这类的路由协议通常是通过修改现有的有线路由协议来适应 Ad Hoc无线网络要求,如通过修改路由信息协议(RIP)得到的目的节点序列距离矢量协议(DSDV)。 因此这种路由协议的时延较小,但是协议需要大量的路由控制报文路由,协议的开销较大。 常用的先验式路由协议有 DSDV,HSR,GSR,WRP等。<br /> DSDV协议<br /> DSDV协议的基本原理是:每一个节点维持一个到其它节点的路由表,表的内容为路由的“下一跳”节点。DSDV创新之处是为每一条路由设置一个序列号,序列号大的路由为优选路由,序列号相同时,跳数少的路由为优选路由。正常情况下,节点广播的序列号是单调递增的偶数,当节点B发现到节点D的路由(路由序列号为s)中断后,节点B就广播一个路由信息,告知该路由的序列号变为s+l,并把跳数设置为无穷大,这样,任何一个通过B发送信息的节点A的路由表中就包括一个无穷大的距离,这一过程直到A收到一个到达D的有效路由(路由序列号为s+1-1)为止。<br /> 使用分层次的路由选择方法,可将因特网的路由协议划分为:<br /> 内部网关协议IGPI(nterior Gateway Protocol):具体的协议有多种,如:RIP和OSPF等。<br /> 外部网关协议EGP(External Gateway Protocol):目前使用的协议就是BGP<br /> 下面我们分别介绍:<br /> 路由信息协议RIP(RoutingInformation Protocol)<br /> RIP采用距离向量算法,最大优点是简单。在实际使用中已经较少适用。RIP协议允许一条路径最多只能包含15个路由器。因此,“距离”等于16时即相当于不可达。可见RIP只适用于小型互联网。对于规模较大的网络应当使用OSPF协议。RIP不能在两个网络之间同时使用多条路由。RIP选择一条具有最少路由器的路由(即最短路由),哪怕还存在另一条高速(低时延)但路由器较多的路由。RIP进程使用UDP的520端口来发送和接收RIP分组。RIP分组每隔30s以广播的形式发送一次,为了防止出现“广播风暴”,其后续的的分组将做随机延时后发送。在RIP中,如果一个路由在180s内未被刷,则相应的距离就被设定成无穷大,并从路由表中删除该表项。RIP分组分为两种:请求分组和响应分组。<br /> RIP协议的特点是:<br /> 仅和相邻路由器交换信息<br /> 路由器交换的信息是当前本路由器所知道的全部信息,即自己的路由表<br /> 按照固定的时间间隔交换路由信息<br /> RIP协议存在的一个问题是:当网络出现故障时,要经过比较长的时间才能将此信息传送到所有的路由器。<br /> 开放最短路径优先OSPF(OpenShortest Path First)<br /> OSPF原理简单,实现复杂,使用了Dijkstra提出的最短路径算法SPF。<br /> OSPF最主要特征是使用分布式链路状态协议,而不是像RIP那样的距离向量协议。和RIP协议相比,OSPF的三个要点和RIP都不一样。<br /> 1、 向本自治系统中所有路由器发送信息。这里使用的方法是洪泛法(Flooding)<br /> 洪泛法(Flooding)<br /> 在OSPF协议中,当链路状态发生变化时要用Flooding向所有路由器发送信息。<br /> 例如,源节点希望发送一段数据给目标节点。源节点首先通过网络将数据副本传送给它的每个邻居节点,每个邻居节点再将数据传送给各自的除发送数据来的节点之外的其他。如此继续下去,直到数据传送目标节点或者数据设定的生存期限为0为止。<br /> 2、 发送的信息就是与本路由器相邻的所有路由器的链路状态,但这只是路由器所知道的部分信息,“链路状态”包括本路由器和哪些路由器相邻,以及链路的一些度量信息。而RIP协议发送的是到所有路由器的距离和下一跳路由器。<br /> 3、 只有当链路状态发生变化时,路由器才向所有路由器用洪泛法发送此信息。<br /> 由于各路由器之间频繁的交换路由信息,因此所有路由器最终都能建立一个链路状态数据库,这个数据库实际上就是全网的拓扑结构图。RIP协议中的每一个路由器虽然知道所有网络的距离以及下一跳路由器,但却不知道全网的拓扑结构(只有到了下一跳路由器,才能知道再下一跳应当怎样走)。<br /> OSPF的更新过程收敛的快是其重要优点。(“收敛”就是在自治系统中所有的节点都得到正确的路由选择信息的过程)<br /> OSPF不用UDP而是直接用IP数据报传送(其IP数据报首部的协议字段值为89)<br /> OSPF共有以下5种分组类型:<br /> 1、问候(Hello)分组,用来发现和维持邻站的可达性。<br /> 2、数据库描述(Database Description)分组,向邻站发出自己链路状态数据库中所有链路状态项目的摘要信息。<br /> 3、链路状态请求(Link State Request)分组,像对方请求发送某些链路状态项目的详细信息。<br /> 4、链路状态更新(Link State Update)分组,用洪泛法对全网更新链路状态。<br /> 5、链路状态确认(Link State Acknowledgment)分组,对链路更新分组的确认。<br /> 为了使OSPF能够用于规模很大的网络,OSPF将一个自治系统再划分为若干个更小的范围,叫做区域。下图表示一个自治系统划分为4个区域。每个区域都有一个32位的区域标志符(用点分十进制表示)<br /> 当然,一个区域也不能太大,一个区域内的路由器最好不超过200个。<br /> 划分区域的好处就是把利用洪泛法交换链路状态信息的范围局限于每一个区域而不是整个自治系统,这就减少了整个网络上的通信量。<br /> 外部网关协议BGP<br /> BGP是不同AS(Area System)的路由器之间交换路由信息的协议。<br /> 边界网关协议BGP只能是力求寻找一条能够到达目的网络且比较好的路由(不能兜圈子),而并非要寻找一条最佳路由。BGP采用了路径向量路由选择协议。<br /> 一般说来,两个BGP发言人都是通过一个共享网络连接起来的。一个BGP发言人要与其他自治系统的BGP发言人交换路由信息,就要先建立TCP连接(端口号为179),然后在此连接上交换BGP报文以建立BGP会话,利用BGP会话交换路由信息。<br /> 在RFC4271中规定了BGP-4的4种报文:<br /> 1、OPEN(打开)报文,用来与相邻的另一个BGP发言人建立关系,使通信初始化。<br /> 2、UPDATE(更新)报文,用来通告某一路由的信息,以及列出要撤销的多条路由。<br /> 3、KEEPALIVE(保活报文),用来周期性的证实邻站的连通性。<br /> 4、NOTIFICATION(通知)报文,用来发送检测到的差错。<br /> 在RFC2918中增加了ROUTER—REQUEST报文,用来请求对等端重新通告。<br /> 反应式路由协议<br /> 反应式路由协议又称为随选型路由协议或者按需路由协议。是专门针对移动自组织网络工作组MANET(Mobile Ad-hoc NETworks)环境提出来的。与表驱动路由协议相反,该类协议并不事先生成路由,而是仅在源节点需要时才这样做。因此,路由表信息是按需建立的,它可能仅仅是整个拓扑结构信息的一部分。<br /> 节点并不保存整个网络的及时准确的路由信息。当源节点要向目的节点发送报文时,源节点在网络中发起路由查找过程,找到相应的路由后,才开始发送报文。为了提高效率,节点可以将找到的路由保存在缓存中供后续发送使用。反应式路由协议按需路由的特点可以较好地适应节点移动较为频繁的无线网络环境,节点发生移动后,只需要更新需要发送数据的相关路径的路由信息即可。 <br /> 混合式路由协议 <br /> 混合式路由是将先验式路由协议和反应式路由协议两种路由方式的组合,在局部范围内使用先验式路由协议,维护准确的路由信息,并可以缩小路由控制消息传播的范围。当目标节点较远时,则使用反应式路由协议查找发现路由。ZRP协议就是混合式路由协议的代表。<br /> ZRP协议是一种专为多变的通信环境(如可重构无线网络,RwN)设计的平铺式路由协议。在每个节点定义一个区域,此区域包含一些节点,这些节点的距离(也就是跳数)在一个限定的范围之内。这个距离被成为区域半径rzone。每一个节点只需要知道它的路由区域内的拓扑结构,而且其路由信息随着区域内的拓扑更新而更新。这样,尽管网络很大,但更新仅仅在局部区域进行。由于距离大于1,这样区域就有大量重叠。</p><br /> <span class='st_sharethis_large' displayText='ShareThis'></span> <span class='st_facebook_large' displayText='Facebook'></span> <span class='st_twitter_large' displayText='Tweet'></span> <span class='st_linkedin_large' displayText='LinkedIn'></span> <span class='st_pinterest_large' displayText='Pinterest'></span> <span class='st_email_large' displayText='Email'></span> </div> Category web </div> </div> <!--赞--> <div class="row"> <div class="col-lg-6"> <img src="https://xiazemin.github.io/MyBlog/img/webwxgetmsgimg.jpeg" height="400" width="auto" /> </div> </div> <div class="row"> <div class="col-md-12"> <div id="disqus_thread"></div> <div id="gitmentContainer"></div> <link rel="stylesheet" href="/MyBlog/css/default.css"> <script src="/MyBlog/js/gitment.browser.js"></script> <script type="text/javascript" src="/MyBlog/js/json2.js"></script> <script> var gitment = new Gitment({ owner: 'xiazemin', repo: 'MyBlogComment', oauth: { client_id: '981ba8c916c262631ea0', client_secret: 'a52260ef92de69011ccd1cf355b973ef11d6da0e', }, }); var MyGitmentContainer=gitment.render('gitmentContainer'); window.setTimeout(MyGitMentBtnclick,1000); //document.ready(function(){ //window.onload=function(){} function MyGitMentBtnclick(){ //var MyGitmentContainer=document.getElementById('gitmentContainer'); var ele=[],all=MyGitmentContainer.getElementsByTagName("*"); for(var i=0;i<all.length;i++){ if(all[i].className=='gitment-comments-init-btn'){ MyGitMentBtn=all[i]; console.log(MyGitMentBtn); MyGitMentBtn.click(); } } } </script> <!--script> /** * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS. * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */ /* var disqus_config = function () { this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable }; */ (function() { // DON'T EDIT BELOW THIS LINE var d = document, s = d.createElement('script'); s.src = '//airrayagroup.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> <script id="dsq-count-scr" src="//airrayagroup.disqus.com/count.js" async></script--> </div> </div> </div> <hr> <footer> <div class="container"> <a href="/MyBlog/" style="color: green; font-size: 2em; font-family: 'Schoolbell', cursive;">首页</a> <div class="row"> <div class="col-lg-6"> <p>Copyright &copy; 2017 465474307@qq.com <p> </div> <div class="col-lg-6"> <p style="float: right;">Jekyll theme by <a href="https://github.com/xiazemin/">夏泽民</a></p> </div> </div> </div> </footer> <!-- jQuery --> <script src="/MyBlog/js/jquery-1.12.0.min.js"></script> <script src="/MyBlog/js/jquery-migrate-1.2.1.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="/MyBlog/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> <!-- Menu Toggle Script --> <script> $("#menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("toggled"); }); </script> <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"right","bdTop":"100"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到:","viewSize":"16"}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='/MyBlog/shareapi/js/share.js?v=89860593.js?'];</script> <!-- 2d --> <script type="text/javascript" charset="utf-8" src="/MyBlog/js/L2Dwidget.0.min.js"></script> <script type="text/javascript" charset="utf-8" src="/MyBlog/js/L2Dwidget.min.js"></script> <script type="text/javascript"> setTimeout(()=> { /*L2Dwidget.init({"display": { "superSample": 2, "width": 200, "height": 400, "position": "right", "hOffset": 0, "vOffset": 0 } }); */ L2Dwidget .on('*', (name) => { console.log('%c EVENT ' + '%c -> ' + name, 'background: #222; color: yellow', 'background: #fff; color: #000') }) .init({ dialog: { // 开启对话框 enable: true, script: { // 每空闲 10 秒钟,显示一条一言 'every idle 10s': '$hitokoto$', // 当触摸到星星图案 'hover .star': '星星在天上而你在我心里 (*/ω\*)', // 当触摸到角色身体 'tap body': '哎呀!别碰我!', // 当触摸到角色头部 'tap face': '人家已经不是小孩子了!' } } }); }) </script> <!--html xmlns:wb="http://open.weibo.com/wb"> <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script> <wb:follow-button uid="2165491993" type="red_1" width="67" height="24" ></wb:follow-button--> <!--本文来自--> <script type="text/javascript"> /* 仅IE document.body.oncopy = function(){ setTimeout( function () { var text =window.clipboardData.getData("text"); if (text) { text = text + "/r/n本篇文章来源于 xiazemin 的 泽民博客|https://xiazemin.github.io/MyBlog/index.html 原文链接:"+location.href; clipboardData.setData("text", text); } }, 100 ) } */ //绑定在了body上,也可以绑定在其他可用元素行,但是不是所有元素都支持copy和past事件。 /* $(document.body).bind({ copy: function(event) {//copy事件 //var cpTxt = "复制的数据"; var clipboardData = window.clipboardData; //for IE if (!clipboardData) { // for chrome clipboardData = event.originalEvent.clipboardData; } if (event.clipboardData != null/false/undefined) { //ignore the incorrectness of the truncation clipboarddata = event.clipboardData; } else if (window.clipboardData != null/false/undefined) { clipboarddata = window.clipboardData; } else { //default to the last option even if it is null/false/undefined clipboarddata = event.originalEvent.clipboardData; } //e.clipboardData.getData('text');//可以获取用户选中复制的数据 //clipboardData.setData('Text', cpTxt); alert(clipboarddata.getData('text')); //$('#message').text('Copy Data : ' + cpTxt); return false;//否则设不生效 },paste: function(e) {//paste事件 var eve = e.originalEvent var cp = eve.clipboardData; var data = null; var clipboardData = window.clipboardData; // IE if (!clipboardData) { //chrome clipboardData = e.originalEvent.clipboardData } data = clipboardData.getData('Text'); //$('#message').html(data); } }); */ function addLink() { var body_element = document.getElementsByTagName('body')[0]; var selection; selection = window.getSelection(); var pagelink = "<br /><br />本文来源:xiazemin 的 泽民博客 <a href='"+document.location.href+"'>"+document.location.href+"</a>"; //+document.location.href+当前页面链接 var copy_text = selection + pagelink; console.log(copy_text); var new_div = document.createElement('div'); new_div.style.left='-99999px'; new_div.style.position='absolute'; body_element.appendChild(new_div ); new_div.innerHTML = copy_text ; selection.selectAllChildren(new_div ); window.setTimeout(function() { body_element.removeChild(new_div ); },0); } document.oncopy = addLink; </script> <!--本文来自--> </div> </body> </html>
xiazemin/MyBlog
web/2018/05/05/routing_protocol.html
HTML
mit
29,732
<!DOCTYPE html> <html lang="en" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml"> <head> <title>news - DIANA HEP</title> <!-- Using the latest rendering mode for IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://diana-hep.org/images/favicon.ico" rel="icon"> <meta name="author" content="DIANA HEP" /> <meta name="keywords" content="news" /> <!-- Open Graph tags --> <meta property="og:site_name" content="DIANA HEP" /> <meta property="og:type" content="website"/> <meta property="og:title" content="DIANA HEP"/> <meta property="og:url" content="https://diana-hep.org"/> <meta property="og:description" content="DIANA HEP"/> <!-- Bootstrap --> <link rel="stylesheet" href="https://diana-hep.org/theme/css/bootstrap.cosmo.min.css" type="text/css"/> <link href="https://diana-hep.org/theme/css/font-awesome.min.css" rel="stylesheet"> <link href="https://diana-hep.org/theme/css/pygments/default.css" rel="stylesheet"> <link rel="stylesheet" href="https://diana-hep.org/theme/css/style.css" type="text/css"/> <link rel="stylesheet" href="https://diana-hep.org/theme/css/dianahep-styles.css" type="text/css"/> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-127263619-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-127263619-1'); </script> <!----> <!--<link href="https://diana-hep.org/static/custom.css" rel="stylesheet">--> <!----> </head> <body> <nav class="navbar navbar-default navbar-fixed-top navbar-blue"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <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="/"><img src="https://diana-hep.org/theme/img/dianahep-logo.svg" width="180px"> </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"> <li><a href="/pages/team.html">Team</a></li> <li><a href="/pages/activities.html">Activities/Products</a></li> <li><a href="/pages/fellows.html">DIANA Fellows</a></li> <li><a href="/category/blog.html">Blog</a></li> </ul> </div> </div> </nav> <section id="content" class="body"> <article> <h2><a href="https://diana-hep.org/PYHEP_AT_CHEP2018.html">New workshop series PyHEP - Python in HEP</a></h2> <div class="summary"><p>We are pleased to announce a new series of workshops initiated and supported by the HEP Software Foundation (HSF). The PyHEP "Python in HEP" workshops aim to provide an environment to discuss and promote the usage of Python in the HEP community at large.</p> <p>The first workshop, PyHEP 2018, will …</p> <a class="btn btn-default btn-xs" href="https://diana-hep.org/PYHEP_AT_CHEP2018.html">more ...</a> </div> </article> <hr/> </section> <section id="content" class="body"> <article> <h2><a href="https://diana-hep.org/S2I2_HEP_SP_CWP_AVAIL.html">S2I2-HEP Strategic Plan and Community White Paper documents now available</a></h2> <div class="summary"><p>We are happy to announce that the S2I2-HEP Strategic Plan and Community White Paper documents are now available:</p> <ul> <li>Strategic Plan for a Scientific Software Innovation Institute (S2I2) for High Energy Physics - <a href="https://arxiv.org/abs/1712.06592">arXiv 1712.06592</a></li> <li>A Roadmap for HEP Software and Computing R&amp;D for the 2020s (Community White Paper) - <a href="https://arxiv.org/abs/1712.06982">arXiv …</a></li></ul> <a class="btn btn-default btn-xs" href="https://diana-hep.org/S2I2_HEP_SP_CWP_AVAIL.html">more ...</a> </div> </article> <hr/> </section> <section id="content" class="body"> <article> <h2><a href="https://diana-hep.org/S2I2_Workshop_NCSA.html">S2I2 workshop at NCSA</a></h2> <div class="summary"><p>Many of us will attend the first S2I2 workshop beginning tomorrow at NCSA in Urbana, Illinois to discuss collaboration the challenges towards growing successful collaborations between HEP and computer science research communities. The workshop agenda can be found [here][http://hep.physics.illinois.edu/hepg/S2I2-HEP-CS-WKSHP/home.html].</p> <a class="btn btn-default btn-xs" href="https://diana-hep.org/S2I2_Workshop_NCSA.html">more ...</a> </div> </article> <hr/> </section> <section id="content" class="body"> <article> <h2><a href="https://diana-hep.org/Symmetry.html">The next big LHC upgrade? Software.</a></h2> <div class="summary"><p>Symmetry magazine ran a nice <a href="http://www.symmetrymagazine.org/article/the-next-big-lhc-upgrade-software">article</a> on the DIANA/HEP project.</p> <blockquote> <p>“The software we used to build the LHC and perform our analyses is 20 years old,” says Peter Elmer, a physicist at Princeton University. “Technology evolves, so we have to ask, does our software still make sense today? Will …</p></blockquote> <a class="btn btn-default btn-xs" href="https://diana-hep.org/Symmetry.html">more ...</a> </div> </article> <hr/> </section> <section id="content" class="body"> <article> <h2><a href="https://diana-hep.org/Announcing_Diana.html">Announcing DIANA</a></h2> <div class="summary"><p>We are proud to announce that DIANA/HEP has been funded by the National Science Foundation's <a href="http://www.nsf.gov/funding/pgm_summ.jsp?pims_id=504817">Software Infrastructure for Sustained Innovation</a> (SI2) program. We are just kicking off the project, and will be updating these web pages and adding posts as we go along.</p> <p>We have created <a href="https://github.com/diana-hep">DIANA-HEP GitHub Organization …</a></p> <a class="btn btn-default btn-xs" href="https://diana-hep.org/Announcing_Diana.html">more ...</a> </div> </article> <hr/> </section> <div class="jumbotron jumbo-navy links"> <div class="container"> <div class="row"> <div class="col-md-2"> <img src="https://diana-hep.org/theme/img/abstract-footer-logo.svg" width="140px"> </div> <div class="col-md-6"> <h4>Links</h4> <ul class="list-unstyled" style="display:inline-block"> <li><a href="https://root.cern.ch/drupal/" target="_blank">ROOT </a></li> <li><a href="http://www.nsf.gov/funding/pgm_summ.jsp?pims_id=504817" target="_blank">NSF SI2 </a></li> <li><a href="http://iris-hep.org/" target="_blank">IRIS-HEP </a></li> <li><a href="http://s2i2-hep.org/" target="_blank">S2I2-HEP </a></li> </ul> <ul class="list-unstyled" style="display:inline-block; margin-left: 20%"> <li><a href="http://jetscape.wayne.edu/" target="_blank">Jetscape </a></li> <li><a href="http://www.rootpy.org" target="_blank">rootpy </a></li> <li><a href="http://scikit-learn.org/stable/" target="_blank">scikit-learn </a></li> <li><a href="https://twiki.cern.ch/twiki/bin/view/RooStats/WebHome" target="_blank">RooStats </a></li> <li><a href="http://diana-hep.org/pages/conferences.html" target="_blank">Conferences </a></li> </ul> <!-- <ul class="list-unstyled" style="display:inline-block"> <li><a href="" target="_blank">ROOT</a></li> <li><a href="" target="_blank">RIO</a></li> <li><a href="" target="_blank">NSF SI2</a></li> <li><a href="" target="_blank">RooStats</a></li> </ul> <ul class="list-unstyled" style="display:inline-block; margin-left: 20%"> <li><a href="" target="_blank">GooFit</a></li> <li><a href="" target="_blank">RootPy</a></li> <li><a href="" target="_blank">AstroPy</a></li> <li><a href="" target="_blank">scikit-learn</a></li> </ul> --> </div> <div class="col-md-4"> <h4>Contact</h4> <ul class="list-unstyled"> <li><a href="http://twitter.com/diana_hep" target="_blank">twitter</a></li> <li><a href="http://github.com/diana-hep" target="_blank">github</a></li> <li><a href="https://www.youtube.com/channel/UCzFnto-EbPAfERLr0AZb58g" target="_blank">YouTube</a></li> <li><a href="https://indico.cern.ch/category/7192/" target="_blank">Indico</a></li> <li><a href="https://groups.google.com/forum/#!forum/diana-hep" target="_blank">Google Group</a></li> <li><a href="https://vidyoportal.cern.ch/flex.html?roomdirect.html&key=g24IFWEdhejzHVy851PztEh82e4" target="_blank">Vidyo Room</a></li> </ul> </div> </div> </div> </div> <script src="https://diana-hep.org/theme/js/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="https://diana-hep.org/theme/js/bootstrap.min.js"></script> <!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) --> <script src="https://diana-hep.org/theme/js/respond.min.js"></script> <script src="https://diana-hep.org/theme/js/bodypadding.js"></script> <!-- Disqus --> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'diana-hep'; // required: replace example with your forum shortname /* * * DON'T EDIT BELOW THIS LINE * * */ (function () { var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = '//' + disqus_shortname + '.disqus.com/count.js'; (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }()); </script> <!-- End Disqus Code --> </body> </html>
diana-hep/diana-hep.github.io
tag/news.html
HTML
mit
11,488
<!doctype html> <html> <head> <script src="../../js/anychart.min.js"></script> <link rel="stylesheet" href="../../css/anychart-ui.min.css" /> <title>100 Percent Stacked Column Chart</title> <style> html, body, #container { width: 100%; height: 100%; margin: 0; padding: 0; } </style> </head> <body> <div id="container"></div> <script type="text/javascript"> anychart.onDocumentReady(function() { // create data set on our data var dataSet = anychart.data.set([ ['Nail polish', 12814, 3054, 4376, 4229], ['Eyebrow pencil', 13012, 5067, 3987, 3932], ['Rouge', 11624, 7004, 3574, 5221], ['Pomade', 8814, 9054, 4376, 9256], ['Eyeshadows', 12998, 12043, 4572, 3308], ['Eyeliner', 12321, 15067, 3417, 5432], ['Foundation', 10342, 10119, 5231, 13701], ['Lip gloss', 22998, 12043, 4572, 4008], ['Mascara', 11261, 10419, 6134, 18712] ]); // map data for the first series, take x from the zero column and value from the first column of data set var seriesData_1 = dataSet.mapAs({x: [0], value: [1]}); // map data for the second series, take x from the zero column and value from the second column of data set var seriesData_2 = dataSet.mapAs({x: [0], value: [2]}); // map data for the second series, take x from the zero column and value from the third column of data set var seriesData_3 = dataSet.mapAs({x: [0], value: [3]}); // map data for the fourth series, take x from the zero column and value from the fourth column of data set var seriesData_4 = dataSet.mapAs({x: [0], value: [4]}); // create bar chart chart = anychart.column(); // turn on chart animation chart.animation(true); // force chart to stack values by Y scale. chart.yScale().stackMode('percent'); // set chart title text settings chart.title('Regional ratio of cosmetic products sales'); chart.title().padding([0,0,10,0]); // set yAxis labels formatting, force it to add % to values chart.yAxis(0).labels().textFormatter("{%Value}%"); // helper function to setup label settings for all series var setupSeries = function(series, name) { series.stroke('2 #fff 1'); series.name(name); series.hoverStroke('2 #fff 1'); series.tooltip().titleFormatter("{%Name}"); }; // temp variable to store series instance var series; // create first series with mapped data series = chart.column(seriesData_1); setupSeries(series, 'Florida'); // create second series with mapped data series = chart.column(seriesData_2); setupSeries(series, 'Texas'); // create third series with mapped data series = chart.column(seriesData_3); setupSeries(series, 'Arizona'); // create fourth series with mapped data series = chart.column(seriesData_4); setupSeries(series, 'Nevada'); chart.interactivity().hoverMode('byX'); chart.tooltip().displayMode('union'); // turn on legend chart.legend().enabled(true).fontSize(13).padding([0,0,25,0]); // set container id for the chart chart.container('container'); // initiate chart drawing chart.draw(); }); </script> </body> </html>
javiju84/ProyectoStockMarket
public/AnyChart/demos/Column_Charts/100_Percent_Stacked_Column_Chart.html
HTML
mit
3,265
<!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_34) on Wed Oct 23 13:33:58 EDT 2013 --> <TITLE> Uses of Interface org.hibernate.bytecode.buildtime.spi.Instrumenter (Hibernate JavaDocs) </TITLE> <META NAME="date" CONTENT="2013-10-23"> <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 Interface org.hibernate.bytecode.buildtime.spi.Instrumenter (Hibernate JavaDocs)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?org/hibernate/bytecode/buildtime/spi//class-useInstrumenter.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Instrumenter.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Interface<br>org.hibernate.bytecode.buildtime.spi.Instrumenter</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/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.hibernate.bytecode.buildtime.internal"><B>org.hibernate.bytecode.buildtime.internal</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.hibernate.bytecode.buildtime.spi"><B>org.hibernate.bytecode.buildtime.spi</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.hibernate.tool.instrument"><B>org.hibernate.tool.instrument</B></A></TD> <TD> The <tt>instrument</tt> tool for adding field-interception hooks to persistent classes using built-time bytecode processing.&nbsp;</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><A HREF="#org.hibernate.tool.instrument.javassist"><B>org.hibernate.tool.instrument.javassist</B></A></TD> <TD>&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.hibernate.bytecode.buildtime.internal"><!-- --></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/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A> in <A HREF="../../../../../../org/hibernate/bytecode/buildtime/internal/package-summary.html">org.hibernate.bytecode.buildtime.internal</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../../org/hibernate/bytecode/buildtime/internal/package-summary.html">org.hibernate.bytecode.buildtime.internal</A> that implement <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../org/hibernate/bytecode/buildtime/internal/JavassistInstrumenter.html" title="class in org.hibernate.bytecode.buildtime.internal">JavassistInstrumenter</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Strategy for performing build-time instrumentation of persistent classes in order to enable field-level interception using Javassist.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.hibernate.bytecode.buildtime.spi"><!-- --></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/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A> in <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/package-summary.html">org.hibernate.bytecode.buildtime.spi</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/package-summary.html">org.hibernate.bytecode.buildtime.spi</A> that implement <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/AbstractInstrumenter.html" title="class in org.hibernate.bytecode.buildtime.spi">AbstractInstrumenter</A></B></CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides the basic templating of how instrumentation should occur.</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.hibernate.tool.instrument"><!-- --></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/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A> in <A HREF="../../../../../../org/hibernate/tool/instrument/package-summary.html">org.hibernate.tool.instrument</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../org/hibernate/tool/instrument/package-summary.html">org.hibernate.tool.instrument</A> that return <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected abstract &nbsp;<A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A></CODE></FONT></TD> <TD><CODE><B>BasicInstrumentationTask.</B><B><A HREF="../../../../../../org/hibernate/tool/instrument/BasicInstrumentationTask.html#buildInstrumenter(org.hibernate.bytecode.buildtime.spi.Logger, org.hibernate.bytecode.buildtime.spi.Instrumenter.Options)">buildInstrumenter</A></B>(<A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Logger.html" title="interface in org.hibernate.bytecode.buildtime.spi">Logger</A>&nbsp;logger, <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.Options.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter.Options</A>&nbsp;options)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <A NAME="org.hibernate.tool.instrument.javassist"><!-- --></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/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A> in <A HREF="../../../../../../org/hibernate/tool/instrument/javassist/package-summary.html">org.hibernate.tool.instrument.javassist</A></FONT></TH> </TR> </TABLE> &nbsp; <P> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../org/hibernate/tool/instrument/javassist/package-summary.html">org.hibernate.tool.instrument.javassist</A> that return <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected &nbsp;<A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter</A></CODE></FONT></TD> <TD><CODE><B>InstrumentTask.</B><B><A HREF="../../../../../../org/hibernate/tool/instrument/javassist/InstrumentTask.html#buildInstrumenter(org.hibernate.bytecode.buildtime.spi.Logger, org.hibernate.bytecode.buildtime.spi.Instrumenter.Options)">buildInstrumenter</A></B>(<A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Logger.html" title="interface in org.hibernate.bytecode.buildtime.spi">Logger</A>&nbsp;logger, <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.Options.html" title="interface in org.hibernate.bytecode.buildtime.spi">Instrumenter.Options</A>&nbsp;options)</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/hibernate/bytecode/buildtime/spi/Instrumenter.html" title="interface in org.hibernate.bytecode.buildtime.spi"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?org/hibernate/bytecode/buildtime/spi//class-useInstrumenter.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Instrumenter.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright &copy; 2001-2013 <a href="http://redhat.com">Red Hat, Inc.</a> All Rights Reserved. </BODY> </HTML>
HerrB92/obp
OpenBeaconPackage/libraries/hibernate-release-4.2.7.SP1/documentation/javadocs/org/hibernate/bytecode/buildtime/spi/class-use/Instrumenter.html
HTML
mit
14,801
{% extends "base.html" %} {% block breadcrumb %} <div id="breadcrumb"> <a href="{% url home_url %}">home</a> &nbsp;:&nbsp; <b>Make Predictions for the {{ match_type }}</b> </div> {% endblock %} {% block main_content %} <div class="action_title2">Make Predictions for the {{ match_type }}</div> <div class="gb">Your predictions have been saved! <ul> <li><a href="{% url view_ko_prediction_form match_type.slug %}">Edit your predictions</a></li> <li><a href="{% url home_url %}">Return to the Home Page</a></li> </div> {% if Err_found %} {% if MatchType_not_Found %} Sorry! The match type was not found. {% endif %} {% if Not_logged_in %} Sorry! You are not logged in. {% endif %} <a href="{% url view_prediction_list %}">return to list</a> {% endif %} {% if predictions %} {% include "predictions/ko_round/your_ko_predictions_table.html" %} {% endif %} {% endblock %}
raprasad/worldcup
worldcup/templates/predictions/ko_round/add_ko_prediction_success.html
HTML
mit
943
{% extends "base.html" %} {% block content %} <h1>Punch In</h1> <form action="" method="post" name="punchin"> {{ form.hidden_tag() }} <ul> <li><span>{{ form.username.label }}</span> {{ form.username }}</li> <li><span>{{ form.fullname.label }}</span> {{ form.fullname }}</li> <li><span>{{ form.password.label }}</span> {{ form.password }}</li> <li><span>{{ form.password2.label }}</span> {{ form.password2 }}</li> <p><input type="submit" value="Submit"></p> </form> {% endblock %}
mikejarrett/company-time-clock
timeclock/webapp/templates/user-edit.html
HTML
mit
544
<!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.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Doowerif: 0.6.1 / 2016-05-02</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> <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="favicon.ico"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Doowerif &#160;<span id="projectnumber">1.2</span> </div> <div id="projectbrief">Doowerrif - MVC</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generado por Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Buscar'); </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','Buscar'); $(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><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">0.6.1 / 2016-05-02 </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><ul> <li>perf: improve <code>Accept</code> parsing speed</li> <li>perf: improve <code>Accept-Charset</code> parsing speed</li> <li>perf: improve <code>Accept-Encoding</code> parsing speed</li> <li>perf: improve <code>Accept-Language</code> parsing speed</li> </ul> <h1>0.6.0 / 2015-09-29 </h1> <ul> <li>Fix including type extensions in parameters in <code>Accept</code> parsing</li> <li>Fix parsing <code>Accept</code> parameters with quoted equals</li> <li>Fix parsing <code>Accept</code> parameters with quoted semicolons</li> <li>Lazy-load modules from main entry point</li> <li>perf: delay type concatenation until needed</li> <li>perf: enable strict mode</li> <li>perf: hoist regular expressions</li> <li>perf: remove closures getting spec properties</li> <li>perf: remove a closure from media type parsing</li> <li>perf: remove property delete from media type parsing</li> </ul> <h1>0.5.3 / 2015-05-10 </h1> <ul> <li>Fix media type parameter matching to be case-insensitive</li> </ul> <h1>0.5.2 / 2015-05-06 </h1> <ul> <li>Fix comparing media types with quoted values</li> <li>Fix splitting media types with quoted commas</li> </ul> <h1>0.5.1 / 2015-02-14 </h1> <ul> <li>Fix preference sorting to be stable for long acceptable lists</li> </ul> <h1>0.5.0 / 2014-12-18 </h1> <ul> <li>Fix list return order when large accepted list</li> <li>Fix missing identity encoding when q=0 exists</li> <li>Remove dynamic building of Negotiator class</li> </ul> <h1>0.4.9 / 2014-10-14 </h1> <ul> <li>Fix error when media type has invalid parameter</li> </ul> <h1>0.4.8 / 2014-09-28 </h1> <ul> <li>Fix all negotiations to be case-insensitive</li> <li>Stable sort preferences of same quality according to client order</li> <li>Support Node.js 0.6</li> </ul> <h1>0.4.7 / 2014-06-24 </h1> <ul> <li>Handle invalid provided languages</li> <li>Handle invalid provided media types</li> </ul> <h1>0.4.6 / 2014-06-11 </h1> <ul> <li>Order by specificity when quality is the same</li> </ul> <h1>0.4.5 / 2014-05-29 </h1> <ul> <li>Fix regression in empty header handling</li> </ul> <h1>0.4.4 / 2014-05-29 </h1> <ul> <li>Fix behaviors when headers are not present</li> </ul> <h1>0.4.3 / 2014-04-16 </h1> <ul> <li>Handle slashes on media params correctly</li> </ul> <h1>0.4.2 / 2014-02-28 </h1> <ul> <li>Fix media type sorting</li> <li>Handle media types params strictly</li> </ul> <h1>0.4.1 / 2014-01-16 </h1> <ul> <li>Use most specific matches</li> </ul> <h1>0.4.0 / 2014-01-09 </h1> <ul> <li>Remove preferred prefix from methods </li> </ul> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generado por &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>
AlejandroTrejoCode/doowerif
docs/Documentación Código/md__c_1_xampp_htdocs__doowerif_application_chat_node_modules_negotiator__h_i_s_t_o_r_y.html
HTML
mit
5,298
{{<layouts/1-column}} {{$h1}}Make a Representation{{/h1}} {{$column-1}} <p class="lead"> Provide any supporting evidence for your representation. Acceptable formats are PDF, JPEG, and PNG. You may upload up to 10 documents to support your representation. The maxiumum file size for each document is 2MB. </p> <h2 class="heading-24">Supporting evidence</h2> <form> <p class="form-group"> <label class="form-label" for="representation-form-1">Form 1</label> <input class="form-upload" id="representation-form-1" type="file" multiple="multiple"/> </p> <p> <button class="button" id="next" type="submit">Next</button> </p> </form> {{/column-1}} {{$js-functions}} func = function() { console.log(el.buttonNext); } {{/js-functions}} {{$js-initialisation}} init = function() { if (window.location.search.match(/=debug/)) { el.body.classList.add('debug'); } el.buttonNext.addEventListener('click', function(e) { e.preventDefault(); window.location = '/penalty/representation/explanation'; }); } {{/js-initialisation}} {{$js-objects}} el = { body: $('body'), buttonNext: $('#next') } {{/js-objects}} {{/layouts/1-column}}
edaza/SANEF-ITS-Dart-Charge
app/views/penalty/representation/upload-documents.html
HTML
mit
1,477
<!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.11"/> <title>TraceryCpp: tracery/Modifiers.hpp 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="navtreedata.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/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 id="projectlogo"><img alt="Logo" src="logo.png"/></td> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">TraceryCpp &#160;<span id="projectnumber">0.0.1</span> </div> <div id="projectbrief">A C++11 port of Tracery (story-grammar generation library for JavaScript)</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <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&#160;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> <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&#160;List</span></a></li> <li><a href="globals.html"><span>File&#160;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('_modifiers_8hpp.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)"> </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="#nested-classes">Classes</a> &#124; <a href="#namespaces">Namespaces</a> </div> <div class="headertitle"> <div class="title">Modifiers.hpp File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include &lt;string&gt;</code><br /> <code>#include &lt;unordered_map&gt;</code><br /> <code>#include &quot;<a class="el" href="_types_8hpp_source.html">Types.hpp</a>&quot;</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for Modifiers.hpp:</div> <div class="dyncontent"> <div class="center"><img src="_modifiers_8hpp__incl.png" border="0" usemap="#tracery_2_modifiers_8hpp" alt=""/></div> <map name="tracery_2_modifiers_8hpp" id="tracery_2_modifiers_8hpp"> <area shape="rect" id="node4" href="_types_8hpp.html" title="Types.hpp" alt="" coords="205,80,291,107"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="_modifiers_8hpp__dep__incl.png" border="0" usemap="#tracery_2_modifiers_8hppdep" alt=""/></div> <map name="tracery_2_modifiers_8hppdep" id="tracery_2_modifiers_8hppdep"> <area shape="rect" id="node2" href="_base_eng_modifiers_8hpp.html" title="tracery/BaseEngModifiers.hpp" alt="" coords="257,80,476,107"/> <area shape="rect" id="node3" href="_base_eng_modifiers_8cpp.html" title="tracery/BaseEngModifiers.cpp" alt="" coords="47,155,265,181"/> <area shape="rect" id="node4" href="_rule_set_8hpp.html" title="tracery/RuleSet.hpp" alt="" coords="289,155,444,181"/> <area shape="rect" id="node9" href="_tracery_8cpp.html" title="tracery/Tracery.cpp" alt="" coords="468,155,623,181"/> <area shape="rect" id="node5" href="_grammar_8cpp.html" title="tracery/Grammar.cpp" alt="" coords="5,229,160,256"/> <area shape="rect" id="node6" href="_node_action_8cpp.html" title="tracery/NodeAction.cpp" alt="" coords="184,229,360,256"/> <area shape="rect" id="node7" href="_rule_set_8cpp.html" title="tracery/RuleSet.cpp" alt="" coords="384,229,539,256"/> <area shape="rect" id="node8" href="_symbol_8cpp.html" title="tracery/Symbol.cpp" alt="" coords="563,229,711,256"/> </map> </div> </div> <p><a href="_modifiers_8hpp_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">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtracery_1_1_modifiers.html">tracery::Modifiers</a></td></tr> <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">base class for modifier groups <a href="classtracery_1_1_modifiers.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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:namespacetracery"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetracery.html">tracery</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_58294a5d89910f487a60adea9b62f022.html">tracery</a></li><li class="navelem"><a class="el" href="_modifiers_8hpp.html">Modifiers.hpp</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> </ul> </div> </body> </html>
lemilonkh/TraceryCpp
docs/_modifiers_8hpp.html
HTML
mit
8,262
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>MJRefreshHeader Class Reference</title> <link rel="stylesheet" href="../css/style.css"> <meta name="viewport" content="initial-scale=1, maximum-scale=1.4"> <meta name="generator" content="appledoc 2.2.1 (build 1334)"> </head> <body class="appledoc"> <header> <div class="container" class="hide-in-xcode"> <h1 id="library-title"> <a href="../index.html">qudianDoc </a> </h1> <p id="developer-home"> <a href="../index.html">qudian</a> </p> </div> </header> <aside> <div class="container"> <nav> <ul id="header-buttons" role="toolbar"> <li><a href="../index.html">Index</a></li> <li><a href="../hierarchy.html">Hierarchy</a></li> <li id="on-this-page" role="navigation"> <label> On This Page <div class="chevron"> <div class="chevy chevron-left"></div> <div class="chevy chevron-right"></div> </div> <select id="jump-to"> <option value="top">Jump To&#133;</option> <option value="tasks">Tasks</option> <optgroup label="Properties"> <option value="//api/name/ignoredScrollViewContentInsetTop">ignoredScrollViewContentInsetTop</option> <option value="//api/name/lastUpdatedTime">lastUpdatedTime</option> <option value="//api/name/lastUpdatedTimeKey">lastUpdatedTimeKey</option> </optgroup> <optgroup label="Class Methods"> <option value="//api/name/headerWithRefreshingBlock:">+ headerWithRefreshingBlock:</option> <option value="//api/name/headerWithRefreshingTarget:refreshingAction:">+ headerWithRefreshingTarget:refreshingAction:</option> </optgroup> <optgroup label="Instance Methods"> <option value="//api/name/endRefreshing">- endRefreshing</option> <option value="//api/name/placeSubviews">- placeSubviews</option> <option value="//api/name/prepare">- prepare</option> <option value="//api/name/scrollViewContentOffsetDidChange:">- scrollViewContentOffsetDidChange:</option> <option value="//api/name/setState:">- setState:</option> </optgroup> </select> </label> </li> </ul> </nav> </div> </aside> <article> <div id="overview_contents" class="container"> <div id="content"> <main role="main"> <h1 class="title">MJRefreshHeader Class Reference</h1> <div class="section section-specification"><table cellspacing="0"><tbody> <tr> <th>Inherits from</th> <td><a href="../Classes/MJRefreshComponent.html">MJRefreshComponent</a> : UIView</td> </tr><tr> <th>Declared in</th> <td>MJRefreshHeader.h<br />MJRefreshHeader.m</td> </tr> </tbody></table></div> <div class="section section-tasks"> <a title="Tasks" name="tasks"></a> <h2 class="task-title">Other Methods</h2> <div class="task-list"> <div class="section-method"> <a name="//api/name/headerWithRefreshingBlock:" title="headerWithRefreshingBlock:"></a> <h3 class="method-title"><code><a href="#//api/name/headerWithRefreshingBlock:">+&nbsp;headerWithRefreshingBlock:</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>创建header</p> </div> <div class="method-subsection method-declaration"><code>+ (instancetype)headerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)<em>refreshingBlock</em></code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>创建header</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshHeader.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/headerWithRefreshingTarget:refreshingAction:" title="headerWithRefreshingTarget:refreshingAction:"></a> <h3 class="method-title"><code><a href="#//api/name/headerWithRefreshingTarget:refreshingAction:">+&nbsp;headerWithRefreshingTarget:refreshingAction:</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>创建header</p> </div> <div class="method-subsection method-declaration"><code>+ (instancetype)headerWithRefreshingTarget:(id)<em>target</em> refreshingAction:(SEL)<em>action</em></code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>创建header</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshHeader.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/lastUpdatedTimeKey" title="lastUpdatedTimeKey"></a> <h3 class="method-title"><code><a href="#//api/name/lastUpdatedTimeKey">&nbsp;&nbsp;lastUpdatedTimeKey</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>这个key用来存储上一次下拉刷新成功的时间</p> </div> <div class="method-subsection method-declaration"><code>@property (copy, nonatomic) NSString *lastUpdatedTimeKey</code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>这个key用来存储上一次下拉刷新成功的时间</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshHeader.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/lastUpdatedTime" title="lastUpdatedTime"></a> <h3 class="method-title"><code><a href="#//api/name/lastUpdatedTime">&nbsp;&nbsp;lastUpdatedTime</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>上一次下拉刷新成功的时间</p> </div> <div class="method-subsection method-declaration"><code>@property (strong, nonatomic, readonly) NSDate *lastUpdatedTime</code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>上一次下拉刷新成功的时间</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshHeader.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/ignoredScrollViewContentInsetTop" title="ignoredScrollViewContentInsetTop"></a> <h3 class="method-title"><code><a href="#//api/name/ignoredScrollViewContentInsetTop">&nbsp;&nbsp;ignoredScrollViewContentInsetTop</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>忽略多少scrollView的contentInset的top</p> </div> <div class="method-subsection method-declaration"><code>@property (assign, nonatomic) CGFloat ignoredScrollViewContentInsetTop</code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>忽略多少scrollView的contentInset的top</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshHeader.h</code></p> </div> </div> </div> </div> </div> <h2 class="task-title">Other Methods</h2> <div class="task-list"> <div class="section-method"> <a name="//api/name/prepare" title="prepare"></a> <h3 class="method-title"><code><a href="#//api/name/prepare">&ndash;&nbsp;prepare</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>初始化</p> </div> <div class="method-subsection method-declaration"><code>- (void)prepare</code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>初始化</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshComponent.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/placeSubviews" title="placeSubviews"></a> <h3 class="method-title"><code><a href="#//api/name/placeSubviews">&ndash;&nbsp;placeSubviews</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>摆放子控件frame</p> </div> <div class="method-subsection method-declaration"><code>- (void)placeSubviews</code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>摆放子控件frame</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshComponent.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/scrollViewContentOffsetDidChange:" title="scrollViewContentOffsetDidChange:"></a> <h3 class="method-title"><code><a href="#//api/name/scrollViewContentOffsetDidChange:">&ndash;&nbsp;scrollViewContentOffsetDidChange:</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>当scrollView的contentOffset发生改变的时候调用</p> </div> <div class="method-subsection method-declaration"><code>- (void)scrollViewContentOffsetDidChange:(NSDictionary *)<em>change</em></code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>当scrollView的contentOffset发生改变的时候调用</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshComponent.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/setState:" title="setState:"></a> <h3 class="method-title"><code><a href="#//api/name/setState:">&ndash;&nbsp;setState:</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>刷新状态 一般交给子类内部实现</p> </div> <div class="method-subsection method-declaration"><code>- (void)setState:(MJRefreshState)<em>state</em></code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>刷新状态 一般交给子类内部实现</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshComponent.h</code></p> </div> </div> </div> </div><div class="section-method"> <a name="//api/name/endRefreshing" title="endRefreshing"></a> <h3 class="method-title"><code><a href="#//api/name/endRefreshing">&ndash;&nbsp;endRefreshing</a></code> </h3> <div class="method-info"> <div class="pointy-thing"></div> <div class="method-info-container"> <div class="method-subsection brief-description"> <p>结束刷新状态</p> </div> <div class="method-subsection method-declaration"><code>- (void)endRefreshing</code></div> <div class="method-subsection discussion-section"> <h4 class="method-subtitle">Discussion</h4> <p>结束刷新状态</p> </div> <div class="method-subsection declared-in-section"> <h4 class="method-subtitle">Declared In</h4> <p><code class="declared-in-ref">MJRefreshComponent.h</code></p> </div> </div> </div> </div> </div> </div> </main> <footer> <div class="footer-copyright"> <p class="copyright">Copyright &copy; 2016 qudian. All rights reserved. Updated: 2016-11-29</p> <p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p> </div> </footer> </div> </div> </article> <script src="../js/script.js"></script> </body> </html>
AirChen/PythonPractic
Django/DjangoDemo/home/templates/Classes/MJRefreshHeader.html
HTML
mit
13,599
<div class='row'> <div class='large-12 columns'> <div class='row'> <ul> {{#current}} <li class='large-12 columns'> <a class='row collapse button' href='download/current/{{.}}' target='_blank'> <div class='large-2 small-12 columns'> <i class='icon-download'></i> </div> <div class='large-10 small-12 columns'> <p> Download AppStorm.JS <br> <span>{{.}}</span> </p> </div> </a> </li> {{/current}} </ul> </div> </div> <div class='large-12 columns previous'> <div class='row'> <p class='large-12 columns'>Previous version</p> </div> <div class='row'> <ul class='large-12 columns'> {{#previous}} <li class='row'> <div class='large-2 small-2 columns'> <p>{{version}}</p> </div> <div class='large-10 small-10 columns'> <p></p> <ul> {{#content}} <li> <a class='link' href='download/{{version}}/{{.}}' target='_blank'>download AppStorm.JS (v{{version}}) with {{.}}</a> </li> {{/content}} </ul> </div> </li> {{/previous}} </ul> </div> </div> </div>
Deisss/AppStorm.js-website
site/html/download-section.html
HTML
mit
1,382