code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
<?php /* * This file is part of the Doctrine RiakBundle * * (c) Fabien Potencier <fabien@symfony.com> * (c) Doctrine Project, Benjamin Eberlei <kontakt@beberlei.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CosmoW\Bundle\RiakBundle\DependencyInjection\Compiler; use Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterMappingsPass; use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\Reference; /** * Class for Symfony bundles to configure mappings for model classes not in the * automapped folder. * * NOTE: alias is only supported by Symfony 2.6+ and will be ignored with older versions. * * @author David Buchmann <mail@davidbu.ch> */ class DoctrineRiakMappingsPass extends RegisterMappingsPass { /** * You should not directly instantiate this class but use one of the * factory methods. * * @param Definition|Reference $driver the driver to use * @param array $namespaces list of namespaces this driver should handle * @param string[] $managerParameters list of parameters that could tell the manager name to use * @param bool $enabledParameter if specified, the compiler pass only * executes if this parameter exists in the service container. * @param string[] $aliasMap Map of alias to namespace. */ public function __construct($driver, array $namespaces, array $managerParameters, $enabledParameter = false, array $aliasMap = array()) { $managerParameters[] = 'doctrine_riak.odm.default_document_manager'; parent::__construct( $driver, $namespaces, $managerParameters, 'doctrine_riak.odm.%s_metadata_driver', $enabledParameter, 'doctrine_riak.odm.%s_configuration', 'addDocumentNamespace', $aliasMap ); } /** * @param array $mappings Hashmap of directory path to namespace * @param string[] $managerParameters List of parameters that could which object manager name * your bundle uses. This compiler pass will automatically * append the parameter name for the default entity manager * to this list. * @param string $enabledParameter Service container parameter that must be present to * enable the mapping. Set to false to not do any check, * optional. * @param string[] $aliasMap Map of alias to namespace. */ public static function createXmlMappingDriver(array $mappings, array $managerParameters, $enabledParameter = false, array $aliasMap = array()) { $arguments = array($mappings, '.riak.xml'); $locator = new Definition('Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator', $arguments); $driver = new Definition('CosmoW\ODM\Riak\Mapping\Driver\XmlDriver', array($locator)); return new DoctrineRiakMappingsPass($driver, $mappings, $managerParameters, $enabledParameter, $aliasMap); } /** * @param array $mappings Hashmap of directory path to namespace * @param string[] $managerParameters List of parameters that could which object manager name * your bundle uses. This compiler pass will automatically * append the parameter name for the default entity manager * to this list. * @param string $enabledParameter Service container parameter that must be present to * enable the mapping. Set to false to not do any check, * optional. * @param string[] $aliasMap Map of alias to namespace. */ public static function createYamlMappingDriver(array $mappings, array $managerParameters, $enabledParameter = false, array $aliasMap = array()) { $arguments = array($mappings, '.riak.yml'); $locator = new Definition('Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator', $arguments); $driver = new Definition('CosmoW\ODM\Riak\Mapping\Driver\YamlDriver', array($locator)); return new DoctrineRiakMappingsPass($driver, $mappings, $managerParameters, $enabledParameter, $aliasMap); } /** * @param array $mappings Hashmap of directory path to namespace * @param string[] $managerParameters List of parameters that could which object manager name * your bundle uses. This compiler pass will automatically * append the parameter name for the default entity manager * to this list. * @param string $enabledParameter Service container parameter that must be present to * enable the mapping. Set to false to not do any check, * optional. * @param string[] $aliasMap Map of alias to namespace. */ public static function createPhpMappingDriver(array $mappings, array $managerParameters = array(), $enabledParameter = false, array $aliasMap = array()) { $arguments = array($mappings, '.php'); $locator = new Definition('Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator', $arguments); $driver = new Definition('Doctrine\Common\Persistence\Mapping\Driver\PHPDriver', array($locator)); return new DoctrineRiakMappingsPass($driver, $mappings, $managerParameters, $enabledParameter, $aliasMap); } /** * @param array $namespaces List of namespaces that are handled with annotation mapping * @param array $directories List of directories to look for annotation mapping files * @param string[] $managerParameters List of parameters that could which object manager name * your bundle uses. This compiler pass will automatically * append the parameter name for the default entity manager * to this list. * @param string $enabledParameter Service container parameter that must be present to * enable the mapping. Set to false to not do any check, * optional. * @param string[] $aliasMap Map of alias to namespace. */ public static function createAnnotationMappingDriver(array $namespaces, array $directories, array $managerParameters, $enabledParameter = false, array $aliasMap = array()) { $arguments = array(new Reference('doctrine_riak.odm.metadata.annotation_reader'), $directories); $locator = new Definition('Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator', $arguments); $driver = new Definition('CosmoW\ODM\Riak\Mapping\Driver\AnnotationDriver', array($locator)); return new DoctrineRiakMappingsPass($driver, $namespaces, $managerParameters, $enabledParameter, $aliasMap); } /** * @param array $namespaces List of namespaces that are handled with static php mapping * @param array $directories List of directories to look for static php mapping files * @param string[] $managerParameters List of parameters that could which object manager name * your bundle uses. This compiler pass will automatically * append the parameter name for the default entity manager * to this list. * @param string $enabledParameter Service container parameter that must be present to * enable the mapping. Set to false to not do any check, * optional. * @param string[] $aliasMap Map of alias to namespace. */ public static function createStaticPhpMappingDriver(array $namespaces, array $directories, array $managerParameters = array(), $enabledParameter = false, array $aliasMap = array()) { $driver = new Definition('Doctrine\Common\Persistence\Mapping\Driver\StaticPHPDriver', array($directories)); return new DoctrineRiakMappingsPass($driver, $namespaces, $managerParameters, $enabledParameter, $aliasMap); } }
cosmow/DoctrineRiakBundle
DependencyInjection/Compiler/DoctrineRiakMappingsPass.php
PHP
mit
8,824
interface IShaderAsset { Key: string; GetPath: () => string; } export class Shaders { // Add Shaders Here (supports .frag files only) }
dmk2014/phaser-template
src/assets/shaders.ts
TypeScript
mit
149
# DISCONTIUATION *Sorry for not working on this project for a long time. I will not further support this project, but I still leave it accessible to those, who use grunt-closure-linter in theri projects. If anyone is interested in taking over the project, let me know!* # grunt-closure-linter > Google closure linting ## Getting Started This plugin requires Grunt `~0.4.3` If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command: ```shell npm install grunt-closure-linter --save-dev ``` One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript: ```js grunt.loadNpmTasks('grunt-closure-linter'); ``` ## The "closureLint" and "closureFixStyle" tasks ### Prerequisites In order to run the "closureLint" or "closureFixStyle" tasks you've to globally install the [Closure Linter](https://developers.google.com/closure/utilities/). For advanced usage you can also directly reference the Closure Linter folder. In this case you might need a wrapper for the `gjslint.py` and `fixjsstyle.py` scripts or otherwise python will fail with an import error. If you haven't installed the python setuptools yet, you may install them with this command: ```shell wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | sudo python ``` Install the Closure Linter ([download](https://code.google.com/p/closure-linter/downloads/list)) with this command: ```shell cd path/to/closure_linter # extracted from the closure_linter-latest.tar.gz sudo python setup.py install # Test installation gjslint # Should echo "0 files checked, no errors found." ``` ### Overview In your project's Gruntfile, add a section named `closureLint` and/or `closureFixStyle` to the data object passed into `grunt.initConfig()`. Use the command attribute to point to a specific command if yours has not the default name. ```js grunt.initConfig({ closureLint: { options: { // [OPTIONAL] Use strict mode (default is false). strict: true }, app:{ src: [ 'app/scripts/controllers/**', 'app/scripts/services/**', 'app/scripts/app.js' ] // Also possible: // src: [ 'app/scripts' ] }, // Example configuration using the jslint converter appConverter:{ options: { // [OPTIONAL] Use strict mode (default is false). strict: true, // Converts linter results into XML format converter: 'jslint' }, src: [ 'app/scripts/controllers/**', 'app/scripts/services/**', 'app/scripts/app.js' ], dest: 'gjslint.log' // Writes linter result into dest file } }, closureFixStyle: { options: { // [OPTIONAL] Use strict mode (default is false). strict: true }, app:{ src: [ 'app/scripts/controllers/**', 'app/scripts/services/**', 'app/scripts/app.js' ] } } }) ``` ### Options #### options.closureLinterPath Type: `string` Default value: `/usr/local/bin` Path to the Closure Linter folder. #### options.toolFile Type: `string` Tool file to be executed. In case of closureLinter task this defaults to `gjslint` and in case of closureFixStyle this defaults to `fixjsstyle`. You can also set e.g. `gjslint.py` as tool file in case you're directly referencing the Closure Linter folder. This option makes only sense in combination with `closureLinterPath`. #### options.stdout Type: `Boolean` Default value: `true` Pipe output to stdout. #### options.stderr Type: `Boolean` Default value: `true` Pipe errors to stderr. #### options.failOnError Type: `Boolean` Default value: `true` Fail task on errors. #### options.strict Type: `Boolean` Default value: `false` Use strict mode. #### options.maxLineLength Type: `number` Default value: `80` Set the max line length. #### options.converter Type: `string` Default value: `'closure'` Converter type. Possible values are: `'closure'`, `'jslint'`. In case of `jslint` the linter result will be converted into a XML format and will be written to the `dest` file (see above example configuration for `closureFixStyle`. ## Contributing In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/). ## Release History _0.2.0_ Rework of the Grunt Closure Linter _0.0.1_ Initial revision
wzr1337/grunt-closure-linter
README.md
Markdown
mit
4,713
/** * Copyright 2014 Facebook, Inc. * * 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. * * @providesModule monitorCodeUse */ "use strict"; var invariant = require("./invariant"); /** * Provides open-source compatible instrumentation for monitoring certain API * uses before we're ready to issue a warning or refactor. It accepts an event * name which may only contain the characters [a-z0-9_] and an optional data * object with further information. */ function monitorCodeUse(eventName, data) { (require('./React').__DEV__ === true ? invariant( eventName && !/[^a-z0-9_]/.test(eventName), 'You must provide an eventName using only the characters [a-z0-9_]' ) : invariant(eventName && !/[^a-z0-9_]/.test(eventName))); } module.exports = monitorCodeUse;
AccelNA/timeLogs
Web/node_modules/react-component/lib/monitorCodeUse.js
JavaScript
mit
1,281
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <title>DataTables example - Ordering plug-ins (with type detection)</title> <link rel="stylesheet" type="text/css" href="../../media/css/jquery.dataTables.css"> <link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css"> <link rel="stylesheet" type="text/css" href="../resources/demo.css"> <style type="text/css" class="init"> </style> <script type="text/javascript" language="javascript" src="//code.jquery.com/jquery-1.12.3.min.js"> </script> <script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"> </script> <script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"> </script> <script type="text/javascript" language="javascript" src="../resources/demo.js"> </script> <script type="text/javascript" language="javascript" class="init"> $.fn.dataTable.ext.type.detect.unshift( function ( d ) { return d === 'Low' || d === 'Medium' || d === 'High' ? 'salary-grade' : null; } ); $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) { switch ( d ) { case 'Low': return 1; case 'Medium': return 2; case 'High': return 3; } return 0; }; $(document).ready(function() { $('#example').DataTable(); } ); </script> </head> <body class="dt-example"> <div class="container"> <section> <h1>DataTables example <span>Ordering plug-ins (with type detection)</span></h1> <div class="info"> <p>Although DataTables will automatically order data from a number of different data types using the built in methods, When dealing with more complex formatted data, it can be desirable to define the ordering order yourself. Using plug-in ordering functions, you have have DataTables sort data in any manner you wish.</p> <p>Formatted data of a particular kind can be automatically detected and a suitable ordering plug-in assigned to it by making use of DataTables' plug-in type detection abilities. For complete information about type detection and ordering plug-ins; creating them and their requirements, please refer to the plug-in development documentation.</p> <p>This example shows ordering with using an enumerated type.</p> <p>A wide variety of ready made ordering plug-ins can be found on <a href="//datatables.net/plug-ins/sorting">the DataTables plug-ins page</a>.</p> </div> <table id="example" class="display" cellspacing="0" width="100%"> <thead> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> </tr> </thead> <tfoot> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th>Salary</th> </tr> </tfoot> <tbody> <tr> <td>Tiger Nixon</td> <td>System Architect</td> <td>Edinburgh</td> <td>61</td> <td>2011/04/25</td> <td>Low</td> </tr> <tr> <td>Garrett Winters</td> <td>Accountant</td> <td>Tokyo</td> <td>63</td> <td>2011/07/25</td> <td>Low</td> </tr> <tr> <td>Ashton Cox</td> <td>Junior Technical Author</td> <td>San Francisco</td> <td>66</td> <td>2009/01/12</td> <td>Low</td> </tr> <tr> <td>Cedric Kelly</td> <td>Senior Javascript Developer</td> <td>Edinburgh</td> <td>22</td> <td>2012/03/29</td> <td>Medium</td> </tr> <tr> <td>Airi Satou</td> <td>Accountant</td> <td>Tokyo</td> <td>33</td> <td>2008/11/28</td> <td>Low</td> </tr> <tr> <td>Brielle Williamson</td> <td>Integration Specialist</td> <td>New York</td> <td>61</td> <td>2012/12/02</td> <td>Medium</td> </tr> <tr> <td>Herrod Chandler</td> <td>Sales Assistant</td> <td>San Francisco</td> <td>59</td> <td>2012/08/06</td> <td>Low</td> </tr> <tr> <td>Rhona Davidson</td> <td>Integration Specialist</td> <td>Tokyo</td> <td>55</td> <td>2010/10/14</td> <td>Low</td> </tr> <tr> <td>Colleen Hurst</td> <td>Javascript Developer</td> <td>San Francisco</td> <td>39</td> <td>2009/09/15</td> <td>Low</td> </tr> <tr> <td>Sonya Frost</td> <td>Software Engineer</td> <td>Edinburgh</td> <td>23</td> <td>2008/12/13</td> <td>Low</td> </tr> <tr> <td>Jena Gaines</td> <td>Office Manager</td> <td>London</td> <td>30</td> <td>2008/12/19</td> <td>Low</td> </tr> <tr> <td>Quinn Flynn</td> <td>Support Lead</td> <td>Edinburgh</td> <td>22</td> <td>2013/03/03</td> <td>Low</td> </tr> <tr> <td>Charde Marshall</td> <td>Regional Director</td> <td>San Francisco</td> <td>36</td> <td>2008/10/16</td> <td>Medium</td> </tr> <tr> <td>Haley Kennedy</td> <td>Senior Marketing Designer</td> <td>London</td> <td>43</td> <td>2012/12/18</td> <td>Low</td> </tr> <tr> <td>Tatyana Fitzpatrick</td> <td>Regional Director</td> <td>London</td> <td>19</td> <td>2010/03/17</td> <td>Medium</td> </tr> <tr> <td>Michael Silva</td> <td>Marketing Designer</td> <td>London</td> <td>66</td> <td>2012/11/27</td> <td>Low</td> </tr> <tr> <td>Paul Byrd</td> <td>Chief Financial Officer (CFO)</td> <td>New York</td> <td>64</td> <td>2010/06/09</td> <td>High</td> </tr> <tr> <td>Gloria Little</td> <td>Systems Administrator</td> <td>New York</td> <td>59</td> <td>2009/04/10</td> <td>Low</td> </tr> <tr> <td>Bradley Greer</td> <td>Software Engineer</td> <td>London</td> <td>41</td> <td>2012/10/13</td> <td>Low</td> </tr> <tr> <td>Dai Rios</td> <td>Personnel Lead</td> <td>Edinburgh</td> <td>35</td> <td>2012/09/26</td> <td>Low</td> </tr> <tr> <td>Jenette Caldwell</td> <td>Development Lead</td> <td>New York</td> <td>30</td> <td>2011/09/03</td> <td>Low</td> </tr> <tr> <td>Yuri Berry</td> <td>Chief Marketing Officer (CMO)</td> <td>New York</td> <td>40</td> <td>2009/06/25</td> <td>High</td> </tr> <tr> <td>Caesar Vance</td> <td>Pre-Sales Support</td> <td>New York</td> <td>21</td> <td>2011/12/12</td> <td>Low</td> </tr> <tr> <td>Doris Wilder</td> <td>Sales Assistant</td> <td>Sidney</td> <td>23</td> <td>2010/09/20</td> <td>Low</td> </tr> <tr> <td>Angelica Ramos</td> <td>Chief Executive Officer (CEO)</td> <td>London</td> <td>47</td> <td>2009/10/09</td> <td>High</td> </tr> <tr> <td>Gavin Joyce</td> <td>Developer</td> <td>Edinburgh</td> <td>42</td> <td>2010/12/22</td> <td>Low</td> </tr> <tr> <td>Jennifer Chang</td> <td>Regional Director</td> <td>Singapore</td> <td>28</td> <td>2010/11/14</td> <td>Medium</td> </tr> <tr> <td>Brenden Wagner</td> <td>Software Engineer</td> <td>San Francisco</td> <td>28</td> <td>2011/06/07</td> <td>Low</td> </tr> <tr> <td>Fiona Green</td> <td>Chief Operating Officer (COO)</td> <td>San Francisco</td> <td>48</td> <td>2010/03/11</td> <td>High</td> </tr> <tr> <td>Shou Itou</td> <td>Regional Marketing</td> <td>Tokyo</td> <td>20</td> <td>2011/08/14</td> <td>Low</td> </tr> <tr> <td>Michelle House</td> <td>Integration Specialist</td> <td>Sidney</td> <td>37</td> <td>2011/06/02</td> <td>Low</td> </tr> <tr> <td>Suki Burks</td> <td>Developer</td> <td>London</td> <td>53</td> <td>2009/10/22</td> <td>Low</td> </tr> <tr> <td>Prescott Bartlett</td> <td>Technical Author</td> <td>London</td> <td>27</td> <td>2011/05/07</td> <td>Low</td> </tr> <tr> <td>Gavin Cortez</td> <td>Team Leader</td> <td>San Francisco</td> <td>22</td> <td>2008/10/26</td> <td>Low</td> </tr> <tr> <td>Martena Mccray</td> <td>Post-Sales support</td> <td>Edinburgh</td> <td>46</td> <td>2011/03/09</td> <td>Low</td> </tr> <tr> <td>Unity Butler</td> <td>Marketing Designer</td> <td>San Francisco</td> <td>47</td> <td>2009/12/09</td> <td>Low</td> </tr> <tr> <td>Howard Hatfield</td> <td>Office Manager</td> <td>San Francisco</td> <td>51</td> <td>2008/12/16</td> <td>Low</td> </tr> <tr> <td>Hope Fuentes</td> <td>Secretary</td> <td>San Francisco</td> <td>41</td> <td>2010/02/12</td> <td>Low</td> </tr> <tr> <td>Vivian Harrell</td> <td>Financial Controller</td> <td>San Francisco</td> <td>62</td> <td>2009/02/14</td> <td>Medium</td> </tr> <tr> <td>Timothy Mooney</td> <td>Office Manager</td> <td>London</td> <td>37</td> <td>2008/12/11</td> <td>Low</td> </tr> <tr> <td>Jackson Bradshaw</td> <td>Director</td> <td>New York</td> <td>65</td> <td>2008/09/26</td> <td>Medium</td> </tr> <tr> <td>Olivia Liang</td> <td>Support Engineer</td> <td>Singapore</td> <td>64</td> <td>2011/02/03</td> <td>Low</td> </tr> <tr> <td>Bruno Nash</td> <td>Software Engineer</td> <td>London</td> <td>38</td> <td>2011/05/03</td> <td>Low</td> </tr> <tr> <td>Sakura Yamamoto</td> <td>Support Engineer</td> <td>Tokyo</td> <td>37</td> <td>2009/08/19</td> <td>Low</td> </tr> <tr> <td>Thor Walton</td> <td>Developer</td> <td>New York</td> <td>61</td> <td>2013/08/11</td> <td>Low</td> </tr> <tr> <td>Finn Camacho</td> <td>Support Engineer</td> <td>San Francisco</td> <td>47</td> <td>2009/07/07</td> <td>Low</td> </tr> <tr> <td>Serge Baldwin</td> <td>Data Coordinator</td> <td>Singapore</td> <td>64</td> <td>2012/04/09</td> <td>Low</td> </tr> <tr> <td>Zenaida Frank</td> <td>Software Engineer</td> <td>New York</td> <td>63</td> <td>2010/01/04</td> <td>Low</td> </tr> <tr> <td>Zorita Serrano</td> <td>Software Engineer</td> <td>San Francisco</td> <td>56</td> <td>2012/06/01</td> <td>Low</td> </tr> <tr> <td>Jennifer Acosta</td> <td>Junior Javascript Developer</td> <td>Edinburgh</td> <td>43</td> <td>2013/02/01</td> <td>Low</td> </tr> <tr> <td>Cara Stevens</td> <td>Sales Assistant</td> <td>New York</td> <td>46</td> <td>2011/12/06</td> <td>Low</td> </tr> <tr> <td>Hermione Butler</td> <td>Regional Director</td> <td>London</td> <td>47</td> <td>2011/03/21</td> <td>Medium</td> </tr> <tr> <td>Lael Greer</td> <td>Systems Administrator</td> <td>London</td> <td>21</td> <td>2009/02/27</td> <td>Low</td> </tr> <tr> <td>Jonas Alexander</td> <td>Developer</td> <td>San Francisco</td> <td>30</td> <td>2010/07/14</td> <td>Low</td> </tr> <tr> <td>Shad Decker</td> <td>Regional Director</td> <td>Edinburgh</td> <td>51</td> <td>2008/11/13</td> <td>Low</td> </tr> <tr> <td>Michael Bruce</td> <td>Javascript Developer</td> <td>Singapore</td> <td>29</td> <td>2011/06/27</td> <td>Low</td> </tr> <tr> <td>Donna Snider</td> <td>Customer Support</td> <td>New York</td> <td>27</td> <td>2011/01/25</td> <td>Low</td> </tr> </tbody> </table> <ul class="tabs"> <li class="active">Javascript</li> <li>HTML</li> <li>CSS</li> <li>Ajax</li> <li>Server-side script</li> </ul> <div class="tabs"> <div class="js"> <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$.fn.dataTable.ext.type.detect.unshift( function ( d ) { return d === 'Low' || d === 'Medium' || d === 'High' ? 'salary-grade' : null; } ); $.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) { switch ( d ) { case 'Low': return 1; case 'Medium': return 2; case 'High': return 3; } return 0; }; $(document).ready(function() { $('#example').DataTable(); } );</code> <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p> <ul> <li> <a href="//code.jquery.com/jquery-1.12.3.min.js">//code.jquery.com/jquery-1.12.3.min.js</a> </li> <li> <a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a> </li> </ul> </div> <div class="table"> <p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p> </div> <div class="css"> <div> <p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The additional CSS used is shown below:</p><code class="multiline language-css"></code> </div> <p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p> <ul> <li> <a href="../../media/css/jquery.dataTables.css">../../media/css/jquery.dataTables.css</a> </li> </ul> </div> <div class="ajax"> <p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is loaded.</p> </div> <div class="php"> <p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables documentation</a>.</p> </div> </div> </section> </div> <section> <div class="footer"> <div class="gradient"></div> <div class="liner"> <h2>Other examples</h2> <div class="toc"> <div class="toc-group"> <h3><a href="../basic_init/index.html">Basic initialisation</a></h3> <ul class="toc"> <li> <a href="../basic_init/zero_configuration.html">Zero configuration</a> </li> <li> <a href="../basic_init/filter_only.html">Feature enable / disable</a> </li> <li> <a href="../basic_init/table_sorting.html">Default ordering (sorting)</a> </li> <li> <a href="../basic_init/multi_col_sort.html">Multi-column ordering</a> </li> <li> <a href="../basic_init/multiple_tables.html">Multiple tables</a> </li> <li> <a href="../basic_init/hidden_columns.html">Hidden columns</a> </li> <li> <a href="../basic_init/complex_header.html">Complex headers (rowspan and colspan)</a> </li> <li> <a href="../basic_init/dom.html">DOM positioning</a> </li> <li> <a href="../basic_init/flexible_width.html">Flexible table width</a> </li> <li> <a href="../basic_init/state_save.html">State saving</a> </li> <li> <a href="../basic_init/alt_pagination.html">Alternative pagination</a> </li> <li> <a href="../basic_init/scroll_y.html">Scroll - vertical</a> </li> <li> <a href="../basic_init/scroll_y_dynamic.html">Scroll - vertical, dynamic height</a> </li> <li> <a href="../basic_init/scroll_x.html">Scroll - horizontal</a> </li> <li> <a href="../basic_init/scroll_xy.html">Scroll - horizontal and vertical</a> </li> <li> <a href="../basic_init/comma-decimal.html">Language - Comma decimal place</a> </li> <li> <a href="../basic_init/language.html">Language options</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../advanced_init/index.html">Advanced initialisation</a></h3> <ul class="toc"> <li> <a href="../advanced_init/events_live.html">DOM / jQuery events</a> </li> <li> <a href="../advanced_init/dt_events.html">DataTables events</a> </li> <li> <a href="../advanced_init/column_render.html">Column rendering</a> </li> <li> <a href="../advanced_init/length_menu.html">Page length options</a> </li> <li> <a href="../advanced_init/dom_multiple_elements.html">Multiple table control elements</a> </li> <li> <a href="../advanced_init/complex_header.html">Complex headers with column visibility</a> </li> <li> <a href="../advanced_init/object_dom_read.html">Read HTML to data objects</a> </li> <li> <a href="../advanced_init/html5-data-options.html">HTML5 data-* attributes - table options</a> </li> <li> <a href="../advanced_init/html5-data-attributes.html">HTML5 data-* attributes - cell data</a> </li> <li> <a href="../advanced_init/language_file.html">Language file</a> </li> <li> <a href="../advanced_init/defaults.html">Setting defaults</a> </li> <li> <a href="../advanced_init/row_callback.html">Row created callback</a> </li> <li> <a href="../advanced_init/row_grouping.html">Row grouping</a> </li> <li> <a href="../advanced_init/footer_callback.html">Footer callback</a> </li> <li> <a href="../advanced_init/dom_toolbar.html">Custom toolbar elements</a> </li> <li> <a href="../advanced_init/sort_direction_control.html">Order direction sequence control</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../styling/index.html">Styling</a></h3> <ul class="toc"> <li> <a href="../styling/display.html">Base style</a> </li> <li> <a href="../styling/no-classes.html">Base style - no styling classes</a> </li> <li> <a href="../styling/cell-border.html">Base style - cell borders</a> </li> <li> <a href="../styling/compact.html">Base style - compact</a> </li> <li> <a href="../styling/hover.html">Base style - hover</a> </li> <li> <a href="../styling/order-column.html">Base style - order-column</a> </li> <li> <a href="../styling/row-border.html">Base style - row borders</a> </li> <li> <a href="../styling/stripe.html">Base style - stripe</a> </li> <li> <a href="../styling/bootstrap.html">Bootstrap 3</a> </li> <li> <a href="../styling/foundation.html">Foundation</a> </li> <li> <a href="../styling/jqueryUI.html">jQuery UI ThemeRoller</a> </li> <li> <a href="../styling/bootstrap4.html">Bootstrap 4 (Tech. preview)</a> </li> <li> <a href="../styling/semanticui.html">Semantic UI (Tech. preview)</a> </li> <li> <a href="../styling/material.html">Material Design (Tech. preview)</a> </li> <li> <a href="../styling/uikit.html">UIKit (Tech. preview)</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../data_sources/index.html">Data sources</a></h3> <ul class="toc"> <li> <a href="../data_sources/dom.html">HTML (DOM) sourced data</a> </li> <li> <a href="../data_sources/ajax.html">Ajax sourced data</a> </li> <li> <a href="../data_sources/js_array.html">Javascript sourced data</a> </li> <li> <a href="../data_sources/server_side.html">Server-side processing</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../api/index.html">API</a></h3> <ul class="toc"> <li> <a href="../api/add_row.html">Add rows</a> </li> <li> <a href="../api/multi_filter.html">Individual column searching (text inputs)</a> </li> <li> <a href="../api/multi_filter_select.html">Individual column searching (select inputs)</a> </li> <li> <a href="../api/highlight.html">Highlighting rows and columns</a> </li> <li> <a href="../api/row_details.html">Child rows (show extra / detailed information)</a> </li> <li> <a href="../api/select_row.html">Row selection (multiple rows)</a> </li> <li> <a href="../api/select_single_row.html">Row selection and deletion (single row)</a> </li> <li> <a href="../api/form.html">Form inputs</a> </li> <li> <a href="../api/counter_columns.html">Index column</a> </li> <li> <a href="../api/show_hide.html">Show / hide columns dynamically</a> </li> <li> <a href="../api/api_in_init.html">Using API in callbacks</a> </li> <li> <a href="../api/tabs_and_scrolling.html">Scrolling and Bootstrap tabs</a> </li> <li> <a href="../api/regex.html">Search API (regular expressions)</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../ajax/index.html">Ajax</a></h3> <ul class="toc"> <li> <a href="../ajax/simple.html">Ajax data source (arrays)</a> </li> <li> <a href="../ajax/objects.html">Ajax data source (objects)</a> </li> <li> <a href="../ajax/deep.html">Nested object data (objects)</a> </li> <li> <a href="../ajax/objects_subarrays.html">Nested object data (arrays)</a> </li> <li> <a href="../ajax/orthogonal-data.html">Orthogonal data</a> </li> <li> <a href="../ajax/null_data_source.html">Generated content for a column</a> </li> <li> <a href="../ajax/custom_data_property.html">Custom data source property</a> </li> <li> <a href="../ajax/custom_data_flat.html">Flat array data source</a> </li> <li> <a href="../ajax/defer_render.html">Deferred rendering for speed</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="../server_side/index.html">Server-side</a></h3> <ul class="toc"> <li> <a href="../server_side/simple.html">Server-side processing</a> </li> <li> <a href="../server_side/custom_vars.html">Custom HTTP variables</a> </li> <li> <a href="../server_side/post.html">POST data</a> </li> <li> <a href="../server_side/ids.html">Automatic addition of row ID attributes</a> </li> <li> <a href="../server_side/object_data.html">Object data source</a> </li> <li> <a href="../server_side/row_details.html">Row details</a> </li> <li> <a href="../server_side/select_rows.html">Row selection</a> </li> <li> <a href="../server_side/jsonp.html">JSONP data source for remote domains</a> </li> <li> <a href="../server_side/defer_loading.html">Deferred loading of data</a> </li> <li> <a href="../server_side/pipeline.html">Pipelining data to reduce Ajax calls for paging</a> </li> </ul> </div> <div class="toc-group"> <h3><a href="./index.html">Plug-ins</a></h3> <ul class="toc active"> <li> <a href="./api.html">API plug-in methods</a> </li> <li class="active"> <a href="./sorting_auto.html">Ordering plug-ins (with type detection)</a> </li> <li> <a href="./sorting_manual.html">Ordering plug-ins (no type detection)</a> </li> <li> <a href="./range_filtering.html">Custom filtering - range search</a> </li> <li> <a href="./dom_sort.html">Live DOM ordering</a> </li> </ul> </div> </div> <div class="epilogue"> <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br> Additionally, there are a wide range of <a href="http://www.datatables.net/extensions">extensions</a> and <a href= "http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.</p> <p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2016<br> DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> </div> </div> </div> </section> </body> </html>
dialv/tesisControl
src/tesisControl/tesisBundle/Resources/public/DataTables-1.10.12/examples/plug-ins/sorting_auto.html
HTML
mit
27,122
<?php namespace AppBundle\Helpers; /** * Wrapper for json_decode */ class JSON { protected $data = ""; protected $errorCode = JSON_ERROR_NONE; protected $errorString = ""; /** * Attempt to decode JSON. * @param $string JSON encoded string */ function __construct($string) { $this->errorCode = JSON_ERROR_NONE; $this->data = json_decode($string, true); if($this->data == NULL) { $this->errorCode = json_last_error(); } } /** * Returns true if JSON is valid. * @return boolean */ public function isValid() { return $this->errorCode == JSON_ERROR_NONE; } /** * Returns JSON error as a human readable string * @return string */ public function getErrorString() { return self::ErrorToString($this->errorCode); } /** * Returns the json_decode error code. * @return int */ public function getErrorCode() { return $this->errorCode; } /** * Returns the decoded JSON. * @return array */ public function getData() { return $this->data; } /** * Converts an error code as returned by json_decode * into an error string. * * @param int $error Error number * @return string Description of the error */ public static function ErrorToString($error) { switch($error) { case JSON_ERROR_NONE: return "No error has occurred"; case JSON_ERROR_DEPTH: return "The maximum stack depth has been exceeded"; case JSON_ERROR_STATE_MISMATCH: return "Invalid or malformed JSON"; case JSON_ERROR_CTRL_CHAR: return "Control character error, possibly incorrectly encoded"; case JSON_ERROR_SYNTAX: return "Syntax error"; case JSON_ERROR_UTF8: return "Malformed UTF-8 characters, possibly incorrectly encoded"; case JSON_ERROR_RECURSION: return "One or more recursive references in the value to be encoded PHP"; case JSON_ERROR_INF_OR_NAN: return "One or more NAN or INF values in the value to be encoded"; case JSON_ERROR_UNSUPPORTED_TYPE: return "A value of a type that cannot be encoded was given"; default: return "Undefined error: " + str($error); } } }
iclemens/wexp
src/AppBundle/Helpers/JSON.php
PHP
mit
2,224
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SolrLinqHighlight")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SolrLinqHighlight")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("9c22fca5-6c9a-485b-8c03-8151a791db96")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
vasiliyfomichev/Sitecore-Solr-Search-Term-Highlight
Properties/AssemblyInfo.cs
C#
mit
1,410
__author__ = 'olga' import numpy as np from prettyplotlib.colors import blue_red, blues_r, reds from prettyplotlib.utils import remove_chartjunk, maybe_get_fig_ax def pcolormesh(*args, **kwargs): """ Use for large datasets Non-traditional `pcolormesh` kwargs are: - xticklabels, which will put x tick labels exactly in the center of the heatmap block - yticklables, which will put y tick labels exactly aligned in the center of the heatmap block - xticklabels_rotation, which can be either 'horizontal' or 'vertical' depending on how you want the xticklabels rotated. The default is 'horizontal', but if you have xticklabels that are longer, you may want to do 'vertical' so they don't overlap. - yticklabels_rotation, which can also be either 'horizontal' or 'vertical'. The default is 'horizontal' and in most cases, that's what you'll want to stick with. But the option is there if you want. - center_value, which will be the centered value for a divergent colormap, for example if you have data above and below zero, but you want the white part of the colormap to be equal to 10 rather than 0, then specify 'center_value=10'. """ # Deal with arguments in kwargs that should be there, or need to be taken # out fig, ax, args, kwargs = maybe_get_fig_ax(*args, **kwargs) # If x and y axis are passed in arguments, gets correct data # Ticks will work with x and y data, although it would be pointless to use # both x/y and custom ticks if len(args) == 3: x = args[0] y = args[1] data = args[2] elif len(args) == 1: data = args[0] kwargs.setdefault('vmax', data.max()) kwargs.setdefault('vmin', data.min()) center_value = kwargs.pop('center_value', 0) # If divergent_data = False if kwargs['vmax'] > 0 and kwargs['vmin'] < 0: divergent_data = True kwargs['vmax'] += center_value kwargs['vmin'] += center_value # If we have both negative and positive values, use a divergent colormap if 'cmap' not in kwargs: # Check if this is divergent if divergent_data: kwargs['cmap'] = blue_red elif kwargs['vmax'] <= 0: kwargs['cmap'] = blues_r elif kwargs['vmax'] > 0: kwargs['cmap'] = reds if 'xticklabels' in kwargs: xticklabels = kwargs['xticklabels'] kwargs.pop('xticklabels') else: xticklabels = None if 'yticklabels' in kwargs: yticklabels = kwargs['yticklabels'] kwargs.pop('yticklabels') else: yticklabels = None if 'xticklabels_rotation' in kwargs: xticklabels_rotation = kwargs['xticklabels_rotation'] kwargs.pop('xticklabels_rotation') else: xticklabels_rotation = 'horizontal' if 'yticklabels_rotation' in kwargs: yticklabels_rotation = kwargs['yticklabels_rotation'] kwargs.pop('yticklabels_rotation') else: yticklabels_rotation = 'horizontal' ax_colorbar = kwargs.pop('ax_colorbar', None) orientation_colorbar = kwargs.pop('orientation_colorbar', 'vertical') p = ax.pcolormesh(*args, **kwargs) # ax.set_ylim(0, x.shape[0]) # ax.set_xlim(0, x.shape[1]) # Get rid of ALL axes remove_chartjunk(ax, ['top', 'right', 'left', 'bottom']) if xticklabels is not None and any(xticklabels): if len(args) == 1: xticks = np.arange(0.5, data.shape[1] + 0.5) else: xticks = [] for i in np.arange(len(x) - 1): half = float(x[i + 1] - x[i]) / 2. + x[i] xticks.append(half) xticks = np.array(xticks) ax.set_xticks(xticks) ax.set_xticklabels(xticklabels, rotation=xticklabels_rotation) if yticklabels is not None and any(yticklabels): if len(args) == 1: yticks = np.arange(0.5, data.shape[1] + 0.5) else: yticks = [] for i in np.arange(len(y) - 1): half = float(y[i + 1] - y[i]) / 2. + y[i] yticks.append(half) yticks = np.array(yticks) ax.set_yticks(yticks) ax.set_yticklabels(yticklabels, rotation=yticklabels_rotation) # Show the scale of the colorbar cbar = fig.colorbar(p, cax=ax_colorbar, use_gridspec=True, orientation=orientation_colorbar) return p, cbar
olgabot/prettyplotlib
prettyplotlib/_pcolormesh.py
Python
mit
4,451
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <inttypes.h> #define TILE_W 4 #define TILE_H 8 #define NTILES_W 32 #define NTILES_H 32 #define TILESET_SIZE 93 int compare_tile(uint8_t *tile, uint8_t *level, int x, int y) { int row; uint8_t buffer[32]; for(row = 0; row < TILE_H; ++row) { memcpy(buffer + row*4, level + (y*8 + row)*128 + x*4, 4); } /* Check with no mirroring */ for(row = 0; row < TILE_H; ++row) { uint32_t src = *(uint32_t *)(tile + row*4); uint32_t dst = *(uint32_t *)(buffer + row*4); if(src != dst) { return 0; } } return 1; } int main(int argc, char *argv[]) { FILE *flevel, *ftilemap, *foutput; size_t tilemap_size, level_size; uint8_t *tilemap, *level, *output; int x, y, t; char output_name[256]; if(argc < 2) { fprintf(stderr, "error: must supply tilemap...\n"); exit(1); } ftilemap = fopen(argv[1], "rb"); fseek(ftilemap, 0, SEEK_END); tilemap_size = ftell(ftilemap); fseek(ftilemap, 0, SEEK_SET); tilemap = malloc(tilemap_size); fread(tilemap, 1, tilemap_size, ftilemap); fclose(ftilemap); if(tilemap_size < TILE_W * TILE_H * TILESET_SIZE) { //fprintf(stderr, "error: tilemap not big enough... (%d bytes)\n", // tilemap_size); //exit(1); } flevel = fopen(argv[2], "rb"); fseek(flevel, 0, SEEK_END); level_size = ftell(flevel); fseek(flevel, 0, SEEK_SET); level = malloc(level_size); fread(level, 1, level_size, flevel); fclose(flevel); if(level_size < NTILES_W * NTILES_H * TILE_W * TILE_H) { fprintf(stderr, "error: level not big enough...\n"); exit(1); } sprintf(output_name, "%s.map", argv[2]); foutput = fopen(output_name, "wb"); output = malloc(NTILES_W * NTILES_H); for(y = 0; y < NTILES_H; ++y) { for(x = 0; x < NTILES_W; ++x) { //printf("checking tile (%d, %d)\n", x, y); for(t = 0; t < TILESET_SIZE; ++t) { //printf("checking against tilemap[%d]\n", t); if(compare_tile(tilemap + t*TILE_W*TILE_H, level, x, y)) { //printf("match found, tile[%d,%d] = tilemap[%d]\n", x, y, t); //int solid = (t!=3 && t!=15 && t!=16 && t!=17 && t!=18 && // t!=19 && t!=22 && t!=23 && t!=24 && t!=25 && // t!= 26 && t!=27 && t!=28 && t!=30 && t!=11) // << 6; int solid = (t==1||t==2||t==3||t==4||t==5||t==6||t==7||t==8||t==12||t==14||t==15||t==16||t==17||t==35||t==36) << 6; //int end = (t==15 || t==16 || t==18 || t==19) << 7; int end = (t==31||t==32||t==33||t==34) << 7; output[y*NTILES_W + x] = end | solid | t; break; } } if(t == TILESET_SIZE) { fprintf(stderr, "error: no matching tile found at (%d,%d)\n", x, y); return 1; } } } fwrite(output, NTILES_W*NTILES_H, 1, foutput); fclose(foutput); printf("wrote %d bytes to %s\n", NTILES_W*NTILES_H, output_name); return 0; }
tykel/hbt
tiler.c
C
mit
3,367
""" To use this, create a settings.py file and make these variables: TOKEN=<oath token for github> ORG=<your org in github> DEST=<Path to download to> """ from github import Github from subprocess import call import os from settings import TOKEN, ORG, DEST def download(): """Quick and Dirty Download all repos function""" os.chdir(DEST) print "Downloading to destination: ", os.getcwd() g = Github(TOKEN) repos = [] for repo in g.get_organization(ORG).get_repos(): print "Fetching Repo Name: %s" % repo.name repos.append("git@github.com:%s/%s.git" % (ORG, repo.name)) total = len(repos) print "Found %s repos" % total count = 0 for repo in repos: count +=1 print "Cloning Repo [%s]/[%s]: %s" % (count, total, repo) call([u'git', u'clone', repo]) download()
sqor/3rdeye
fetch_repos.py
Python
mit
789
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQLLiteBook")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SQLLiteBook")] [assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("fecc6433-7331-4d15-8152-7e51423e4923")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
NikitoG/TelerikAcademyHomeworks
Database/Ado.NetHomework/SQLLiteBook/Properties/AssemblyInfo.cs
C#
mit
1,398
require File.expand_path("../lib/heroku/command/cleardb", __FILE__) require File.expand_path("../lib/heroku/command/xeround", __FILE__)
heroku/heroku-migrate-xeround
init.rb
Ruby
mit
136
// // Board.hpp // Arcade Game Engine // #pragma once #include "core.hpp" const Dimension2 BOARD_DIMENSIONS { 224, 176 }; // MARK: Events const Event DidClearBoard("DidClearBoard"); const Event DidSetBlock("DidSetBlock"); /** * Defines the block physics. */ class BlockPhysicsComponent : public PhysicsComponent { public: BlockPhysicsComponent(); }; /** * Defines the block graphics. */ class BlockGraphicsComponent : public GraphicsComponent { int _base_i; int _detail_i; public: void init(Entity * entity); void reset(); void changeColor(int base_i, int detail_i); void changeBaseColor(int index); void changeDetailColor(int index); }; /** * Defines a block. */ class Block : public Entity { public: enum State { NOT_SET, HALF_SET, FULL_SET }; prop_r<Block, State> state; Block(string id, int order, int x, int y); void init(Core * core); void touch(); }; /** * Defines a board. */ class Board : public Entity { bool _did_die; int _sum; public: Board(string id); void init(Core * core); void reset(); };
lidin/Arcade-Game-Engine
Arcade Game Engine/qbert/Board.hpp
C++
mit
1,079
/*! @license Firebase v4.5.0 Build: rev-f49c8b5 Terms: https://firebase.google.com/terms/ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OperationSource = exports.OperationType = undefined; var _assert = require("../../../utils/assert"); /** * * @enum */ var OperationType = exports.OperationType = undefined; /** * Copyright 2017 Google Inc. * * 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. */ (function (OperationType) { OperationType[OperationType["OVERWRITE"] = 0] = "OVERWRITE"; OperationType[OperationType["MERGE"] = 1] = "MERGE"; OperationType[OperationType["ACK_USER_WRITE"] = 2] = "ACK_USER_WRITE"; OperationType[OperationType["LISTEN_COMPLETE"] = 3] = "LISTEN_COMPLETE"; })(OperationType || (exports.OperationType = OperationType = {})); /** * @param {boolean} fromUser * @param {boolean} fromServer * @param {?string} queryId * @param {boolean} tagged * @constructor */ var OperationSource = /** @class */function () { function OperationSource(fromUser, fromServer, queryId, tagged) { this.fromUser = fromUser; this.fromServer = fromServer; this.queryId = queryId; this.tagged = tagged; (0, _assert.assert)(!tagged || fromServer, 'Tagged queries must be from server.'); } /** * @const * @type {!OperationSource} */ OperationSource.User = new OperationSource( /*fromUser=*/true, false, null, /*tagged=*/false); /** * @const * @type {!OperationSource} */ OperationSource.Server = new OperationSource(false, /*fromServer=*/true, null, /*tagged=*/false); /** * @param {string} queryId * @return {!OperationSource} */ OperationSource.forServerTaggedQuery = function (queryId) { return new OperationSource(false, /*fromServer=*/true, queryId, /*tagged=*/true); }; return OperationSource; }(); exports.OperationSource = OperationSource; //# sourceMappingURL=Operation.js.map
tupamba/kardex
node_modules/firebase/database/core/operation/Operation.js
JavaScript
mit
3,210
from distutils.core import setup, Extension setup( name = 'iMX233_GPIO', version = '0.1.0', author = 'Stefan Mavrodiev', author_email = 'support@olimex.com', url = 'https://www.olimex.com/', license = 'MIT', description = 'Control GPIOs on iMX233-OLinuXino.', long_description = open('README.txt').read() + open('CHANGES.txt').read(), classifiers = [ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Education', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Home Automation', 'Topic :: Software Development :: Embedded Systems' ], ext_modules = [Extension('iMX233_GPIO', ['source/imx233.c'])], package_dir={'': 'source'}, packages=[''], )
mikevoyt/iMX233_GPIO
setup.py
Python
mit
1,271
// // TableViewCellTemplate.h // SQTemplate // // Created by 双泉 朱 on 17/5/11. // Copyright © 2017年 Doubles_Z. All rights reserved. // #import <UIKit/UIKit.h> #import "HYBlockOneCellAdapter.h" @interface HYBlockOneCell : UITableViewCell @property (nonatomic,strong) id<HYBlockOneCellAdapter> adapter; + (instancetype)cellWithTableView:(UITableView *)tableView; + (CGFloat)cellHeight; @end
coderZsq/coderZsq.project.oc
SQTemplate/SQTemplate/HYSpecialSale/HYBlockOneCell.h
C
mit
407
// // KontaktSDK // Version: 3.0.4 // // Copyright (c) 2015 Kontakt.io. All rights reserved. // #import "KTKEddystoneRegion.h" NS_ASSUME_NONNULL_BEGIN #pragma mark - KTKSecureEddystoneRegion (Interface) @interface KTKSecureEddystoneRegion : KTKEddystoneRegion <NSCopying, NSSecureCoding> #pragma mark - Secure Eddystone Region Properties ///-------------------------------------------------------------------- /// @name Secure Eddystone Region Properties ///-------------------------------------------------------------------- /** * Eddystone region secure namespace ID. */ @property (nonatomic, copy, readwrite) NSString * _Nullable secureNamespaceID; #pragma mark - Initialization Methods ///-------------------------------------------------------------------- /// @name Initialization Methods ///-------------------------------------------------------------------- /** * Initializes and returns a region object that targets an eddystone with the specified secure namespace ID. * * @param secureNamespaceID Secure namespace ID string of the eddystone being targeted. * * @return An initialized secure eddystone region object. */ - (instancetype)initWithSecureNamespaceID:(NSString* _Nonnull)secureNamespaceID; /** * Initializes and returns a region object that targets an eddystone with the specified secure namespace ID and instance ID. * * @param secureNamespaceID Secure namespace ID string of the eddystone being targeted. * @param instanceID Instance ID string of the eddystone being targeted. * * @return An initialized secure eddystone region object. */ - (instancetype)initWithSecureNamespaceID:(NSString* _Nonnull)secureNamespaceID instanceID:(NSString* _Nullable)instanceID; #pragma mark - Unavailable Initialization Methods - (instancetype)initWithURL:(NSURL*)URL __attribute__((unavailable("initWithURL: is unavailable in KTKSecureEddystoneRegion"))); - (instancetype)initWithURLDomain:(NSString*)URLDomain __attribute__((unavailable("initWithURLDomain is unavailable in KTKSecureEddystoneRegion"))); @end NS_ASSUME_NONNULL_END
Artirigo/react-native-kontaktio
ios/KontaktSDK.framework/Headers/KTKSecureEddystoneRegion.h
C
mit
2,113
#include "aviary.hh" #include "duck.hh" #include "bird.hh" #include "owl.hh" #include <iostream> #include <string> using aviary::Aviary; using aviary::Duck; using aviary::Owl; void constTest(Aviary const &a) { a[1]->speak(std::cout); } int main() { // The output of the program should be this: /* Esko: QUACK Orly: WHUU Alfred: QUACK Alfred flies! Orly: WHUU */ Aviary a, b; a.addBird(new Duck("Esko")); a.addBird(new Owl("Orly")); a.addBird(new Duck("Alfred")); a.speakAll(std::cout); a[2]->fly(std::cout); constTest(a); }
tuohis/cpp_course_2006
u4/u4e1/aviarytest.cc
C++
mit
595
(function(){dust.register("data-tpl.tl",body_0);function body_0(chk,ctx){return chk.write("<div class=\"col-md-24\" style=\"font-size:10pt;\">").section(ctx._get(false, ["data"]),ctx,{"block":body_1},null).write("</div>");}function body_1(chk,ctx){return chk.write("<div class=\"col-md-8\">").reference(ctx._get(false, ["name"]),ctx,"h").write("</div><div class=\"col-md-16\"><a href=\"").reference(ctx._get(false, ["url"]),ctx,"h").write("\" target=\"_blank\">").reference(ctx._get(false, ["url"]),ctx,"h").write("</a></div>");}return body_0;})();
BlackCloudConcepts/requireunderpin
dusttemplates/data-tpl.js
JavaScript
mit
548
/* * This file is part of the Spludo Framework. * Copyright (c) 2009-2010 DracoBlue, http://dracoblue.net/ * * Licensed under the terms of MIT License. For the full copyright and license * information, please see the LICENSE file in the root folder. */ /** * @class The manager for all registered data_mappers. * * @extends Logging */ DataMapperManager = function() { this.data_mappers = {}; }; extend(true, DataMapperManager.prototype, Logging.prototype); DataMapperManager.prototype.logging_prefix = 'DataMapperManager'; DataMapperManager.prototype.addDataMapper = function(name, data_mapper) { this.trace("addDataMapper", arguments); this.data_mappers[name] = data_mapper; }; DataMapperManager.prototype.getDataMapper = function(name) { if (this.data_mappers[name]) { return this.data_mappers[name]; } throw new Error("DataMapper for name " + name + " not found!"); }; DataMapperManager.prototype.shutdown = function() { this.trace("shutdown", arguments); for (var name in this.data_mappers) { /* * Check wether this data_mapper has a shutdown method. */ if (typeof this.data_mappers[name].shutdown === "function") { try { this.data_mappers[name].shutdown(); } catch (e) { this.warn("Exception when trying to shutdown data_mapper " + name); this.warn(e); } } } };
DracoBlue/spludo
core/DataMapperManager.js
JavaScript
mit
1,455
<!DOCTYPE html> <html lang="en"> <head> <!-- this tag is necessary to use the emulator --> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="stylesheet.css"> <title>Responsive Design and Fluid Layouts</title> </head> <body> <div id="wrapper"> <div id="header"> HEADER with some other stuff written along the top </div> <div id="container"> <div id="side-a"> <ul> <li><a href="#"> Home </a></li> <li><a href="#"> Profile </a></li> <li><a href="#"> Stuff </a></li> <li><a href="#"> Pictures </a></li> </ul> </div> <div id="content"> <img src='http://placekitten.com/g/800/300'> <p>Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic. Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini. </p> <img src='http://placekitten.com/g/800/300'> <p>Beetroot water spinach okra water chestnut ricebean pea catsear courgette summer purslane. Water spinach arugula pea tatsoi aubergine spring onion bush tomato kale radicchio turnip chicory salsify pea sprouts fava bean. Dandelion zucchini burdock yarrow chickpea dandelion sorrel courgette turnip greens tigernut soybean radish artichoke wattle seed endive groundnut broccoli arugula. </p> <div class="reflection"> <h2>My Reflection</h2> <p><span class="inline_title">My Reflection:</span>I really enjoyed learning about responsive web design, although I feel as though I have only scratched the surface. I would love to get better at it. I'm still not sure that I am using CSS media queries properly or that I understand the best practices of setting up the CSS.</p> <p>This was a pairing challenge. We initially misunderstood the directions. I didn't understand that we were supposed to create a page that toggled in and out of two states, meaning that the nav bar would move when the browser window was shrunk to a certain width, and so forth. Instead, we implemented the changes in the main part of the CSS. We also got stuck on how to use CSS media queries, even after googling together. We ended up not finishing the challenge, but then working independently later in the day before getting back together on chat in the evening. My pair was lovely to work with and I felt like we were really collaborating during the initial hangout, so that was good.</p> <p>Some notes on pairing: I've identified this as an area where I need improvement. I need to get better at working through ideas WITH my pair, and fighting the urge to just table issues to go back to them later on my own. I need to work on not being afraid to show that I don't know things, and have more confidence in the things I do know. My tendency is to go back and revisit the work on my own, because I feel like this is the best way I learn. I plan on doing some research on pair programming in the coming weeks, and maybe also practicing thinking through things out loud when I am working by myself.</p> <p>I didn't discover the emulator in dev tools until after we had finished. I had a lot of trouble setting it up but once I did, I thought it was the coolest thing ever. </div> </div> </div> <div id="footer"> FOOTER </div> </div> </body> </html>
valeriesmith/valeriesmith.github.io
week-2-challenge-5/starting-point.html
HTML
mit
3,570
# Upgrade notes We're trying to keep the upgrade process as easy as possible. Unfortunately, sometimes manual code changes are required. Before pulling out the latest version, please take a look at the upgrade notes below: ## 1.11 -> 1.12 Most of the changes added to 1.12 are backward compatible. To enable the new features (mostly the optimization features) please follow the steps described below. **Remove bodybuilder and compact API responses** The new search adapter `api-search-query` has been added. When you switch to it, by setting the `config.server.api = "api-search-query"` the ElasticSearch query is being built in the [`vue-storefront-api`](https://github.com/DivanteLtd/vue-storefront-api/pull/390) which saves around 400kB in the bundle size as `bodybuilder` is no longer needed in the frontend. This new `api-search-query` adapter supports the `response_format` query parameter which now is sent to the `/api/catalog` endpoint. Currently there is just one additional format supported: `response_format=compact`. When used, the response format got optimized by: a) remapping the results, removing the `_source` from the `hits.hits`; b) compressing the JSON fields names according to the `config.products.fieldsToCompact`; c) removing the JSON fields from the `product.configurable_children` when their values === parent product values; overall response size reduced over -70%. **Re-enable amp-renderer** The `amp-renderer` module has been disabled by default to save the bundle size; If you'd like to enable it uncomment the module from the `src/modules` and uncomment the `product-amp` and `category-amp` links that are added to the `<head>` section in the `src/themes/default/Product.vue` and `src/themes/default/Category.vue` **Check entity optimization settings** Cart optimization was earlier disabled automatically if entity optimization was disabled. Now they can be used independently from each other. If you don't want to use cart optimization, make sure that the `entities.optimizeShoppingCart` configuration entry is disabled explicitly. **deprecated actions and helpers** Product module has been refactored, here is list of actions that are not used anymore and you can remove them to reduce bundle. - deprecated actions: - product/reset - product/setupBreadcrumbs - product/syncPlatformPricesOver - product/setupAssociated - product/loadConfigurableAttributes - product/setupVariants - product/filterUnavailableVariants - product/list - product/preConfigureAssociated - product/preConfigureProduct - product/configureLoadedProducts - product/configureBundleAsync - product/configureGroupedAsync - product/configure - product/setCurrentOption - product/setCurrentErrors - product/setOriginal - product/loadProductAttributes - category/list (new action is category-next/fetchMenuCategories) - deprecated helpers: - configureProductAsync - populateProductConfigurationAsync - setConfigurableProductOptionsAsync Here is list of actions that are used from 1.12 in product module: - product/doPlatformPricesSync - product/single - product/checkConfigurableParent - product/findProducts - product/findConfigurableParent - product/setCustomOptions - product/setBundleOptions - product/setCurrent - product/loadProduct - product/addCustomOptionValidator - product/setProductGallery - product/loadProductBreadcrumbs - product/getProductVariant All of those actions and helpers that are deprecated, can be removed so you will have smaller bundle. Comment those lines: - core/modules/catalog/store/product/actions.ts:318 - core/modules/catalog/helpers/index.ts:14-18 - core/modules/catalog-next/store/category/actions.ts:265 ## 1.10 -> 1.11 This is the last major release of Vue Storefront 1.x before 2.0 therefore more manual updates are required to keep external packages compatible with 1.x as long as possible. - `src/modules/index.ts` was renamed to `client.ts`, exported property was renamed to `registerClientModules` - Output compression module has been added; it's enabled by default on production builds; to disable it please switch the `src/modules/server.ts` configuration - The [`formatCategoryLink`](https://github.com/DivanteLtd/vue-storefront/blob/develop/core/modules/url/helpers/index.ts) now supports multistore - adding the `storeCode` when necessary; it could have caused double store prefixes like `/de/de` - but probably only in the Breadcrumbs (#3359) - All modules were refactored to new API. You can still register modules in previous format until 2.0 - `DroppointShipping` and `magento-2-cms `modules were deleted - example modules moved to https://github.com/DivanteLtd/vsf-samples - `core/helpers/initCacheStorage.ts` merged with `StorageManager.ts` (import path alias for backward compatibility added) - Old extensions mechanism (before VS 1.4) was finally removed after being deprecated for almost a year (`src/extensions` removal) - Cache collections were reorganized. In most cases Local Storage keys remained untouched, only collection keys were unified. also they're used only in the core. Posting changes in case someone is using those collections in their modules; - `syncTaskCollection` renamed to `syncTasks` - `compareCollection` renamed to `compare` - `cmsData` renamed to `cms` - `cartsCollection` renamed to `carts` - `checkoutFieldValues`, `checkoutFieldsCollection` renamed to `checkout` (`checkoutFieldsCollection` wasn’t used) - `ordersCollection` and `orders` renamed to just `orders` (`ordersCollection` wasn’t used) - `elasticCacheCollection` renamed to `elasticCache` - `usersCollection` `usersData` merged and renamed to `user` - `attributesCollection`, `attributes` renamed to just `attributes` - `ordersHistoryCollection` merged to `user` cache where it belongs - `categoriesCollection` renamed to categories - Collections in theme like `claimsCollection` (claims modules) remained untouched - `UserOrder` component has been renamed to `UserOrderHistory` and moved from `src/modules/order-history/components/UserOrders` to `@vue-storefront/core/modules/order/components/UserOrdersHistory`. This component was used in `MyOrders` component found here: `src/themes/default/components/core/blocks/MyAccount/MyOrders.vue`. In this file the `import` path has to be updated. - `claims`, `promoted-offers`, `homepage` and `ui` modules have been moved from `@vue-storefront/src/modules` to `src/themes/default/store/` and reduced to stores only.<br> Delete those folders:<br> -- `src/modules/claims`<br> -- `src/modules/promoted-offers`<br> -- `src/modules/homepage`<br> -- `src/modules/ui-store`<br> Copy folder `theme/store/` from `theme default`.<br> Register the stores copied in previous step in `src/themes/default/index.js`. To do that, import them along with `StorageManager` method, used to replace `claims beforeRegistration hook`. ```js import { StorageManager } from '@vue-storefront/core/lib/storage-manager'; import { store as claimsStore } from 'theme/store/claims' import { store as homeStore } from 'theme/store/homepage' import { store as uiStore } from 'theme/store/ui' import { store as promotedStore } from 'theme/store/promoted-offers' ``` Next, inside `initTheme` method use `store.registerModule` method to register the stores. ```js StorageManager.init('claims'); store.registerModule('claims', claimsStore); store.registerModule('homepage', homeStore); store.registerModule('ui', uiStore); store.registerModule('promoted', promotedStore); ``` - `WebShare` moved from `@vue-storefront/core/modules/social-share/components/WebShare.vue` to `@vue-storefront/src/themes/default/components/theme/WebShare.vue`. This component was used in `Product` component found here: `src/themes/default/pages/Product.vue`. In this file the `import` path has to be updated. - We've fixed the naming strategy for product prices; The following fields were renamed: `special_priceInclTax` -> `special_price_incl_tax`, `priceInclTax` -> `price_incl_tax`, `priceTax` -> `price_tax`; The names have been kept and marked as @deprecated. These fields will be **removed with Vue Storefront 2.0rc-1**. - We've decreased the `localStorage` quota usage + error handling by introducing new config variables: - `config.products.disablePersistentProductsCache` to not store products by SKU (by default it's on). Products are cached in ServiceWorker cache anyway so the `product/list` will populate the in-memory cache (`cache.setItem(..., memoryOnly = true)`); - `config.seo.disableUrlRoutesPersistentCache` - to not store the url mappings; they're stored in in-memory cache anyway so no additional requests will be made to the backend for url mapping; however it might cause some issues with url routing in the offline mode (when the offline mode PWA installed on homescreen got reloaded, the in-memory cache will be cleared so there won't potentially be the url mappings; however the same like with `product/list` the ServiceWorker cache SHOULD populate url mappings anyway); - `config.syncTasks.disablePersistentTaskQueue` to not store the network requests queue in service worker. Currently only the stock-check and user-data changes were using this queue. The only downside it introduces can be related to the offline mode and these tasks will not be re-executed after connectivity established, but just in a case when the page got reloaded while offline (yeah it might happen using ServiceWorker; `syncTasks` can't be re-populated in cache from SW) - We've moved files from /store/lib to /lib. Basically to use it from the new directory you have to import now from `@vue-storefront/core/lib/store/` instead of `@vue-storefront/core/store/lib/`. These core files got changed: ```js core/build/webpack.base.config.ts core/lib/sync/task.ts core/lib/storage-manager.ts core/modules/catalog/helpers/search.ts core/modules/catalog/store/attribute/mutations.ts core/modules/catalog/store/category/actions.ts core/modules/catalog/store/category/mutations.ts core/modules/catalog/store/product/actions.ts core/modules/catalog/store/tax/mutations.ts core/modules/compare/store/actions.ts core/modules/order/store/mutations.ts core/modules/order/index.ts core/modules/wishlist/store/actions.ts ``` If by some reasons you wan't to have the `localStorage` back on for `Products by SKU`, `Url Routes` and `SyncTasks` - please just set these variables back to `false` in your `config/local.json`. - New page-not-found handling requires to update router/index.js in the theme. - The option `config.ssr.lazyHydrateFor` with `category-next.products` value was introduced which is responsible for hydrating products list and loading them only on client side. It means there is no category products in the `__INITIAL__STATE__`. It's enabled by default. - The modules: `Review`, `Mailer`, `Order`, `RecentlyViewed`, `InstantCheckout` are no longer loaded by default in the main bundle as they are loading on-demand on the related pages. - Authentication guard was moved from user module router to `MyAccount` pages mixin. - The getters `cmsBlocks`, `cmsBlockIdentifier`, `cmsBlockId` are deprecated. Please use `getCmsBlocks`, `getCmsBlockIdentifier`, `getCmsBlockId` instead. - Translations for "Order #", "Price ", "Select size ", "You are logged in as" and "items" changed, they now include a placeholder for the value. Please refer to [this commit](https://github.com/DivanteLtd/vue-storefront/pull/3550/commits/366d31bf28a1e27a7f14b222369cba8fe0a6d3e0) in order to adjust them, otherwise they might get lost. - `i18n.currencySignPlacement` config value is replaced by `i18n.priceFormat` so price format becomes more flexible - Theme initialization needs to be modified in customized themes - Delete the line `RouterManager.addRoutes(routes, router, true)`. This is now handled in `setupMultistoreRoutes`, including the default store. - Optionally give theme routes priority, to ensure they override module routes if there are any conflicts. For example `setupMultistoreRoutes(config, router, routes, 10)`. - See `/src/themes/default/index.js` for a complete example. - In `storeView` config there is no more `disabled` flag for specific language config. Links for other languages will be displayed if specific `storeView` config exist. - Categories can be filtered globally, to never be loaded, by setting `entities.category.filterFields` in local.json, e.g. `"filterFields": { "is_active": true }`. - Categories can be filtered in the Breadcrumbs, by setting `entities.category.breadcrumbFilterFields` in local.json, e.g. `"breadcrumbFilterFields": { "include_in_menu": true }`. ## 1.10 -> 1.10.4 We've decreased the `localStorage` quota usage + error handling by introducing new config variables: - `config.products.disablePersistentProductsCache` to not store products by SKU (by default it's on). Products are cached in ServiceWorker cache anyway so the `product/list` will populate the in-memory cache (`cache.setItem(..., memoryOnly = true)`); - `config.seo.disableUrlRoutesPersistentCache` - to not store the url mappings; they're stored in in-memory cache anyway so no additional requests will be made to the backend for url mapping; however it might cause some issues with url routing in the offline mode (when the offline mode PWA installed on homescreen got reloaded, the in-memory cache will be cleared so there won't potentially be the url mappings; however the same like with `product/list` the ServiceWorker cache SHOULD populate url mappings anyway); - `config.syncTasks.disablePersistentTaskQueue` to not store the network requests queue in service worker. Currently only the stock-check and user-data changes were using this queue. The only downside it introuces can be related to the offline mode and these tasks will not be re-executed after connectivity established, but just in a case when the page got reloaded while offline (yeah it might happen using ServiceWorker; `syncTasks` can't be re-populated in cache from SW) If by some reasons you wan't to have the `localStorage` back on for `Products by SKU`, `Url Routes` and `SyncTasks` - please juset set these variables back to `false` in your `config/local.json`. ## 1.9 -> 1.10 - Event `application-after-init` is now emitted by event bus instead of root Vue instance (app), so you need to listen to `Vue.prototype.$bus` (`EventBus.$on()`) now - The lowest supported node version is currently 8.10.0, - Module Mailchimp is removed in favor of Newsletter. `local.json` configuration under key `mailchimp` moved to key `newsletter`. - In multistore mode now there is a possibility to skip appending storecode to url with `appendStoreCode` config option. To keep the original behavior, it should be set to true. - @lukeromanowicz (#3048). - The `cart/addItem` is no longer displaying the error messages - please use the `diffLog.clientNorifications` to update the UI instead (take a look at the `AddToCart.ts` for a reference) - Please make sure your `AddToCart.vue` component has the `notifyUser` method defined for showing the errors / success messages while adding to the cart. The default implementation is: ```js notifyUser (notificationData) { this.$store.dispatch('notification/spawnNotification', notificationData, { root: true }) } ``` - The getter `cart/totals` has been replaced with `cart/getTotals` - @pkarw (#2522) - The getter `cart/coupon` has been replaced with `cart/getCoupon` - @pkarw (#2522) - The getter `cart/totalQuantity` has been replaced with `cart/getItemsTotalQuantity` - @pkarw (#2522) ## 1.8 -> 1.9 - The Url Dispatcher feature added for friendly URLs. When `config.seo.useUrlDispatcher` set to true the `product.url_path` and `category.url_path` fields are used as absolute URL addresses (no `/c` and `/p` prefixes anymore). Check the latest `mage2vuestorefront` snapshot and **reimport Your products** to properly set `url_path` fields - `cart.multisiteCommonCart` config property changed to `storeViews.commonCache` - Way of creating VS Modules was changed to use factory method instead of explict object creation. Even though the feature is backward compatible we highly encourage all developers to refactor their modules to use new syntax. The process of creating a new module with the factory method looks like the following: ````js import { createModule } from '@vue-storefront/core/lib/module' const moduleConfig: VueStorefrontModuleConfig = { // VS module config } const module = createModule(moduleConfig) ```` - `@vue-storefront/store` package has been depreciated. Just change imports to `@vue-storefront/core/store`. - `breadCrumbRoutes` helper has been refactored to `formatBreadCrumbRoutes` - orders which fail validation in API are assumed to have http code 400 instead of 500 - notification message about invalid order address now uses email configured in mailer section instead of hardcoded one - Added validation for UTF8 alpha and alphanumeric characters in most checkout fields - Update your local.json config and set default `api.url` path, without it you may have problems with elasticsearch queries. ### Troubleshooting - In case of CORS problem after upgrade check your elasticsearch url in config file. Best practice for that change can be found [here](https://github.com/DivanteLtd/vue-storefront/commit/77fc9c2765068303879c75ef9ed4a4b98f6763b6) - In case of app crashing, especially when opening `vue devtools` in browser, try setting `storeViews.commonCache` to `false`. ## 1.7 -> 1.8 Full changelog is available [here](https://github.com/DivanteLtd/vue-storefront/blob/master/CHANGELOG.md) - `store/types` have moved to new module named `core/types`. - `store/lib/search` has been moved to `core/lib/search`. - `store/lib/multistore.ts` has been [moved] to (https://github.com/patzick/vue-storefront/commit/d42cdc44fc204dd10b173894d52dbeff244913f5#diff-87917f882ffc57fb755b1cc82ffa9e28L11) to `core/lib/multistore.ts` - new [styles](https://github.com/patzick/vue-storefront/commit/d42cdc44fc204dd10b173894d52dbeff244913f5#diff-ae72dc903f169eb56d716cd5ac99df35R1) file for form elements - Removed unused `src/themes/default/filters/index.js` file. Check if you're not using it as well. - `src/themes/default/resource/head.js` has been moved to `src/themes/default/head.js` - `src/themes/default/index.basic.template.html` has been moved to `src/themes/default/templates/index.basic.template.html` - `src/themes/default/index.minimal.template.html` has been moved to `src/themes/default/templates/index.minimal.template.html` - `src/themes/default/index.template.html` has been moved to `src/themes/default/templates/index.template.html` ## 1.6 -> 1.7 Starting from Vue Storefront 1.7, we changed the caching strategy and offline-ready features: - By default, the Elasticsearch Queries are executed using `GET` method and therefore are cached by Service Worker (`config.elasticsearch.queryMethod` — set it to POST for the previous behavior and if you're using graphql). - By default, products and queries cache is set in `LocalStorage` with a quota set to 4MB (`config.server.elasticCacheQuota`). If the storage quota is set, the cache purging is executed every 30 seconds using the LRU algorithm. Local Storage is limited to 5MB in most browsers. - We added `config.server. disablePersistentQueriesCache`, which is set to `true` by default. When this option is on, we're not storing the Elasticsearch results in the local cache because results are by default cached in the Service Worker cache anyway. - `module.extend` has been changed to `extendModule`. You can find usage examples in `src/modules/index.ts`. - [routes](https://github.com/patzick/vue-storefront/commit/a97eb11868de2915e86d57c4279caf944d4de422#diff-a334a7caeb7f61836f8c1178d92de3e0), [layouts](https://github.com/patzick/vue-storefront/commit/a97eb11868de2915e86d57c4279caf944d4de422#diff-48863b9fe31d7713222ec5709ef5a4fa), and component, which are not visible at page rendering are now loaded when they are needed. - Every store manipulation should be done by dispatching actions. Invoke store dispatch on `category/mergeSearchOptions` when manipulating `store.state.category.current_product_query` somewhere. - [here](https://github.com/patzick/vue-storefront/commit/a97eb11868de2915e86d57c4279caf944d4de422) are all changes in default themes Backward compatibility: To reverse to the 1.0–1.6 behavior: - Set `config.server.disablePersistentQueriesCache` = `false`, - Set `config.elasticsearch.queryMethod` = `POST` - Set `config.localForage.defaultDrivers.elasticCache` = `INDEXEDDB` **NOTE:** Offline mode may not work properly in development mode (localhost) because of Service Workers and lack of bundle prefetching (bundles lazy loading). With 1.7, the number of attribute descriptors that are loaded on the product page is limited and dynamically adjusted to the fields used in the product. This behavior shouldn't have any negative impact on your app; however, if you haven’t used the `attribute/list` action explicitly based on all attributes loaded by default (up to 1.6), this may cause problems. You can switch off the dynamic loader by setting the `config.entities.product.useDynamicAttributeLoader=false`. Details: [#2137](https://github.com/DivanteLtd/vue-storefront/pull/2137/files) Dynamic Categories prefetching (#2076). Starting with Vue Storefront 1.7, we added a configuration option `config.entities.category.categoriesDynamicPrefetch` (by default set to `true`). TThis option switches the way the category tree is being fetched. Previously, we were fetching the full categories tree. In some cases, it can generate even a few MB of payload. Currently with this option in place, we're pre-fetching the categories on demand while the user is browsing the category tree. **NOTE:** Since we're no longer generating `category.slug` client-side, we need to have `category.url_key` field unique. If Your Magento2 url_keys are unique it will work without any changes. If not - please do use [mage2vuestorefront](https://github.com/DivanteLtd/mage2vuestorefront) to re-import the categories. There is a new `categories` importer option `--generateUniqueUrlKeys` which is set to true by default. With the new modules architecture available from 1.6 we've [updated the payment modules guide](https://github.com/DivanteLtd/vue-storefront/pull/2135). If You've used the custom payment (and basically any other) extensions please make sure You've already ported them to [new modules architecture](https://docs.vuestorefront.io/guide/modules/introduction.html). ## 1.5 -> 1.6 With 1.6, we introduced new modular architecture and moved most of the theme-specific logic from the core to the default theme. It's probably the biggest update in VS history and the first step to making future upgrades more seamless. Due to architectural changes, `core/components` and `core/store/modules` folders were removed and reorganised into modules ( `core/modules`). In most cases, the components API remained the same (if not, we provided an API bridge in `core/compatibility/components` folder which allows you to benefit from new features without making changes in your theme). It's a good idea to look for imports referring to deleted folders after migration to be sure that we made a full update. Overall, the theme upgrade for the default theme requires 105 files to be changed, but 85% of these changes are just a new import paths for the core component, which makes this update time-consuming, but easy to follow and not risky. [Here](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f) you can find detailed information (as an upgrade commit with notes) about what needs to be changed in the theme to support VS 1.6. #### Global changes - Notifications are now based on Vuex Store instead of Event Bus. We also pulled hardcoded notifications from core to theme. Change every component: ````js this.$bus.$emit('notification', ```` to: ````js this.$store.dispatch('notification/spawnNotification', ```` Change every store: ````js EventBus.$emit('notification', ```` to: ````js rootStore.dispatch('notification/spawnNotification', ```` and make sure you are importing `rootStore`. - Lazy loading for non-SSR routes is now available. You can now [use dynamic imports to lazy load non-SSR routes](https://router.vuejs.org/guide/advanced/lazy-loading.html). You can find examples from the default theme [here](https://github.com/DivanteLtd/vue-storefront/tree/develop/src/themes/default/router) - Extensions are now rewritten to modules (and the extensions system will be depreciated in 1.7). If you haven't modified any extensions directly, you don't need to change anything. If you made such changes, you probably need to rewrite your extension to a module. - The old event bus is moved to the compatibility folder. From now we are trying to create new features without it and slowly depreciate the event bus whenever possible. It'll be replaced with some enhanced module-based mechanism with event autosuggestion support. Change all `@vue-storefront/core/plugins/event-bus` imports to `@vue-storefront/core/compatibility/plugins/event-bus` #### Components that were moved or the API was changed and the compatibility component was created. Required action: Change the import path. In case of additional changes click on a component name to see how to update. - [`AddToCart.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-16a4dd1cbf1aaf74e001e6541fb27725) - [`Breadcrumbs.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-fa33732560b7c39ea7854f701c4187bf) - [`ColorSelector.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-551ae89c6d9e297a662749ee02676d45) - [`GenericSelector.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-cbd08cdda068c587e3146bb3441e2161) - [`NewsletterPopup.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-7b6cae3e664a647ff7397d6692e61cd6) - [`Notification.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-d91127b094ff36e25dd94834c3aded6a) + `exec` changed to `execAction`, added `execAction` - [`Overlay.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-66a3ae90ace32b95ebe4513c496f76ce) - [`PriceSelector.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-f564bd3cf6c2687c23c442d1363fe97b) - [`ProductAttribute.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-b9783243d8666d5b2e46df608e6ace48) - [`ProductCustomOptions.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-14db476c8821b640e674f1e655340de5) - [`ProductGallery.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-66a4dfcf61217934307df12e9e3f14c6) - [`SizeSelector.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-a83c265a63b7b594b5052ec61907cde1) - [`SortBy.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-5dab270f8342facd10835e828e5d7509) + change from dropdown to select - [`ValidationError.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-e80a538151f16af10b20efa810ae0bc3) - [`Login.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-3ac818c5cd6c41a9c9d7a3acba41cdb5) - [`Category/Sidebar.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-88e78ea0dd0f96c15c4a00d29922e44c) + added possibility to clear all filters - [`CartSummary.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-bacd489920bede6d60bc9ce0b165e517) - [`OrderReview.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-958fa5f4d0d271422146a86119bde82d) + notifications moved from core to theme - [`Payment.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-878b5e4180d8f997d0b57a7dc5d28154) - [`PersonalDetails.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-d8651354142bff547c667cdab2e87a9f) - [`Checkout/Product.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-a08ecdd137cc1b32d02d458e3ae22079) - [`Shipping.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-a83c265a63b7b594b5052ec61907cde1) - [`AccountIcon.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-b25a4326cbb2102f3293084aefe6d4c8) - [`CompareIcon.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-4180179a247fd8ebb816f4d8e94e6c5b) - [`HamburgerIcon.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-39d690ab85a291546f5ebe1606250fb5) - [`MicrocartIcon.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-ddcf89d0ca46b06824190f07c87f6031) - [`Returnicon.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-68dfc0097a84464e2f8196d0948b4a03) - [`WishlistIcon.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-fabd1714a4872a2bcf26619adbe0709c) - [`Microcart.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-ffba5dcba1456c20f565e314790cd450) - [`Microcart/Product.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-5715f58dacfe621ce8d056e382f1be8b) - [`MyNewsletter.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-48b9d7ff2e2e8e6cf6965fd582e51957) - [`MyOrder.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-a8dbaeacd2cf4fb6440959d7827372fa) - [`MyOrders.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-4d60c889f1362249fc19756d60f8f9b1) - [`MyProfile.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-677b7e3129afc1c974c3bd08069662c7) - [`MyShippingDetails.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-5ed705e03a497368b98d9ce41ec378de) - [`Related.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-c1703e08c80fcacd8135eeb6d707aa95) + `refreshList` method changed - [`SearchPanel.gql.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-2020399a5c1abfc37c176bfcc5912293) - [`SearchPanel.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-e2ff52db282530838ffce57893ed4a77) - [`SidebarMenu.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-c341122656ef878fc532a5c34348a1ec) + bugfix (hide longer menus that are below currently active one), direct router link instead of event - [`Wishlist/Product.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-7c0514d730223832fd2e1fae9d5f2068) - [`Wishlist.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-8dc4f61d36ae2b2ffc2a4c4603e844b8) - [`Collection.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-26a650b112a3b01efd1ff3a5c752aba1) - [`Home.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-91bc0c9fe9fa95dd88900beff8975200) #### Components that were moved from core to theme Required action: Add moved content and remove core import. In case of additional changes, click on a component name to see how to update. - [`Loader.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-a2791ef5c57fb2459362720b4a624e53) - [`Modal.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-527c2bb9d04213a2aaf1aac75673bc71) + static content removed - [`ProductLinks.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-9ccb222e8d3decebb067729ee935899a) - [`ProductListing.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-000bc323621dca4883033c0e91f9125a) - [`ProductTile.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-4049e5b38efd1a5d0215fd71e32136a3) + core import moved to module - [`ProductSlider.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-624e75f15bdb9b2f7d5f417138c9f0ec) - [`ForgotPass.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-e2fbfb707a274bea8b9f7af3e3c57032) - [`Register.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-f5266afaec9d55f2fc93cf3b874b7288) + core import moved to module - [`SignUp.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-df0c798d67a63c4eef4d3141393db5f9) - [`BaseCheckbox.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-23e3b8989b402a011ee4cb3f985fa3ce) - [`BaseInput.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-d209385c453bdf31b89bc51772bd2bda) - [`BaseRadioButton.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-1493dcb05a06ce313807003d1774fa14) - [`BaseSelect.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-c4c37e440fd8ec3deeacef085b48ed9f) - [`BaseTextArea.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-0ea48ec8c1545db8cbdacfd348f8bf75) - [`Header.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-5f4560c69df1a5f6d97f0b064b9b792f) - [`MainSlider.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-19c964e13db826a1358f30839627986b) - [`Reviews.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-d8861516b2c7dfc547b91e1066ca4755) + empty array instead of null, core import path changed - [`Compare.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-0aa476fa2f0314806d4afd620c80be54) #### Other - [`ProductBundleOption.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-32809917812e7c8c4571be70a693d65b) - splitted single option from `ProductBundleOptions.vue` component. - [`ProductBundleOptions.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-7ccee94c636406b1a82feddea3a7f520) - single option moved to separate component `ProductBundleOption.vue`, moved to module. - [`ThankYouPage.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-84c29c5b22568c31b021dc864221563f) added order id display, order confirmation, pulled notifications from core and added mail confirmation - [`main.scss`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-c65e47159738f3552a22f16ec5c5974f) removed duplicated flexbox grid - [`index.template.html`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-bf0804a2329350f8e9d9071e40cf1429) (+ all other templates that you may have like minimal, basic etc), added ` output.appendHead(), renderStyles()` - [`Category.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-eb709969add1ca4a266ac072cddde954) notifications moved to theme - [`Checkout.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-1c6544c28d075f275812201fa42755de) notifications moved to theme - [`MyAccount.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-bb873f532ed9a2efbb157af79a70e0f7) notifications moved to theme - [`Product.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-174db65df8e0c43df20b73b5bf16881b) minor changes in attribute var names that may influence the markup, notifications moved to theme - [`Static.vue`](https://github.com/DivanteLtd/vue-storefront/commit/cc17b5bfa43a9510815aea14dce8bafac382bc7f#diff-a3a9b6eeeba4c915c1ea1aae1c489ecc) static pages are no longed using markdown files. ## 1.4 -> 1.5 ### Modifications #### New Modules API With 1.5.0, we introduced a new, heavily refactored modules API. We tried to keep the old theme components backward compatible, so now you can view some "mock" components in the `/core/components` referencing to the `/modules/<module>/components` original. Please read [how modules work and are structured](../modules/introduction.md) to check if it implies any changes to your theme. Though it may seem like a lot of changes (a lot of files were added/removed/renamed), it should not impact your custom code. #### New Newsletter module The existing newsletter-integration module was pretty chaotic and messy. @filrak has rewritten it from scratch. If you've relied on existing newsletter module logic / events / etc., it could have affected your code (low probability). #### Memory leaks fixed We fixed SSR memory leaks with #1882. It should not affect your custom code, but if you've modified any SSR features, please make sure that everything still works just fine. ## 1.3 -> 1.4 ### Modifications #### GraphQL We added GraphQL support. Please read more on the [GraphQL Action Plan](/guide/basics/graphql.html). Starting from this release, the **bodybuilder** package is **deprecated**. You should use the **SearchQuery** internal class that can be used against API and GraphQL endpoints. Read more on [how to query data](/guide/data/elastic-queries.html). #### SSR: Advanced output and cache This change does not involve any required actions to port the code, but please be aware that we're supporting [SSR Cache](https://github.com/DivanteLtd/vue-storefront/blob/develop/doc/SSR%20Cache.md) + [dynamic layout changes](https://github.com/DivanteLtd/vue-storefront/blob/develop/doc/Layouts%20and%20advanced%20output%20operations.md) etc. If you're using the modified version of the theme, you can hardly use these without updating `themes/YourTheme/App.vue` to the new format (check the default theme for details). #### Reviews We added Reviews support, however, Magento 2 is still lacking Reviews support in the REST API. To have reviews up and running, please add the https://github.com/DivanteLtd/magento2-review-api to your Magento 2 instance. #### Microcart 1. We moved core functionalities of coupon codes to API modules: - **Coupon** computed value is now **appliedCoupon** ([read more](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/cart.md)) - **removeCoupon** ([read more](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/cart.md)) - **applyCoupon** ([read more](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/cart.md)) - **totals** -> **cartTotals** ([read more](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/cart.md)) - **shipping** -> **cartShipping** ([read more](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/cart.md)) - **payment** -> **cartPayment** ([read more](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/cart.md)) 2. We moved/renamed methods responsible for UI to the default theme: - **addDiscountCoupon** - toggle coupon form - **removeCoupon** -> **clearCoupon** - removing coupon by dispatch removeCoupon API method and toggle coupon form - **applyCoupon** -> **setCoupon** - submit coupon form by dispatch applyCoupon API method - **enterCoupon** - was removed, because @keyup="enterCoupon" we changed to @keyup.enter="setCoupon" 3. We moved $emit with notification about appliedCoupon and removedCoupon from Vuex store to the default theme. Now applyCoupon and removeCoupon returns promise, which you can handle by yourself. 4. We moved VueOfflineMixin and onEscapePress mixins to the theme component. The core component is clean from UI stuff now. 5. We've replaced one method `Microcart` - `cartTotals` -> `totals` #### Assets 1. We removed the default assets from `core/assets`. From now on, we only use the assets from `your-theme/assets`. #### Store 1. We moved the socialTiles Vuex store from the core to the theme, because it's specific to the theme. #### i18n 1. We removed all the theme-specific translations for the core. ## 1.2 -> 1.3 ### Changes 1. We removed event emit from client-entry.js with online status information. Instead, we are now using [vue-offline](https://github.com/filrak/vue-offline) mixin. [#1494](https://github.com/DivanteLtd/vue-storefront/issues/1494) 2. We removed the isOnline variable from Microcart.js. Instead, we are now using variables from [vue-offline](https://github.com/filrak/vue-offline) mixin. [#1494](https://github.com/DivanteLtd/vue-storefront/issues/1494) ### Upgrade step-by-step #### `global.$VS` replaced with `rootStore` and `config` was moved to `config` To get access to rootStore, import it by `import config from 'config'` #### cms extenstion was renamed to extension-magento2-cms Import of CmsData must be changed in `CustomCmsPage.vue` component to: `import CmsData from '@vue-storefront/extension-magento2-cms/components/CmsData'` ## 1.1 -> 1.2 ([release notes](https://github.com/DivanteLtd/vue-storefront/releases/tag/v1.2.0)) There were no breaking-changes introduced. No special treatment needed 😃 ## 1.0 -> 1.1 ([release notes](https://github.com/DivanteLtd/vue-storefront/releases/tag/v1.1.0)) ### Modifications #### Plugins registration simplified Instead of exporting an object in `{theme}/plugins/index.js` just use `Vue.use(pugin)` directly in this file ( [docs](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/Working%20with%20plugins.md) ) #### Microcart logic moved to API module (partially) Starting from Microcart, we are moving most of the logic to core modules along with unit testing them. [Read more](https://github.com/DivanteLtd/vue-storefront/issues/1213). Changes that happened in `Microcart.js` core component and `Microcart.vue` component from default theme: - `closeMicrocart` renamed to `closeMicrocartExtend` - `items` renamed to `productsInCart` - `removeFromCart`method added to core Microcart #### `theme/app-extend.js` removed It was redundant. #### `{theme}/service-worker-ext.js` moved to `{theme}/service-worker/index.js` Now it mirrors `core/` folder structure, which is desired behaviour. ### vue-storefront-api docker support has been extended We added the possibility to run the `vue-storefront-api` fully in Docker (previously, just the Elastic and Redis images were present in the `docker-compose.yml`. Please read the [README.md](https://github.com/DivanteLtd/vue-storefront-api) for more details. **PLEASE NOTE:** We changed the structure of the `elasticsearch` section of the config files, moving `esIndexes` to `elasticsearch.indices` etc. There is an automatic migration that will update your config files automatically by running: `yarn migrate` in the `vue-storefront-api` folder. ### Default storage of the shopping carts and user data moved to localStorage Currently, there is a config option to set up the default local storage configs: https://github.com/DivanteLtd/vue-storefront/blob/271a33fc6e712b978e10b91447b05529b6d04801/config/default.json#L148. If you like the previous behavior of storing the carts in the indexedDb, please change the config backend to `INDEXEDDB`. ### mage2vuestorefront improvements A lot of improvements have been added to the [mage2vuestorefront](https://github.com/DivanteLtd/mage2vuestorefront) importer. importer. For example, fixed special_price sync. For such changes, please update [mage2vuestorefront](https://github.com/DivanteLtd/mage2vuestorefront) and re-import your products. We also added the dynamic on/demand indexing. ### New features We added [`vue-progressbar`](https://github.com/hilongjw/vue-progressbar) to default theme, which can be found in `App.vue` file. ## 1.0RC-3 -> 1.0([release notes](https://github.com/DivanteLtd/vue-storefront/releases/tag/v1.0.0)) This is the official, stable release of Vue Storefront. 1. We renamed `the core/components/*.vue` -> `the core/components/*.js` 2. We renamed `the core/pages/*.vue` -> `the core/pages/*.js` 3. We removed `corePage` and `coreComponent` helpers and created an es-lint rule to migrate the `import` statements automatically (with `--fix` parameter) You should replace the mixin declarations from the previous version: ```vue <script> import { coreComponent } from '@vue-storefront/core/lib/themes'; export default { mixins: [coreComponent('blocks/MyAccount/MyOrders')], }; </script> ``` to ```vue <script> import MyOrders from '@vue-storefront/core/components/blocks/MyAccount/MyOrders'; export default { mixins: [MyOrders], }; </script> ``` 4. We've added Multistore support. It shouldn't imply any breaking changes to the existing themes / extensions (by default it's just disabled). ## 1.0RC-2 -> 1.0RC-3 ([release notes](https://github.com/DivanteLtd/vue-storefront/releases/tag/v1.0.0-rc.3)) This release contains three important refactoring efforts: 1. We changed the user-account endpoints and added the token-reneval mechanism, which is configured by `config.users.autoRefreshTokens`. If set to true and user token will expire, VS will try to refresh it. 2. We separated the user-account endpoints, so please copy the following defaults from `default.json` to Your `local.json` and set the correct API endpoints: ```json "users": { "autoRefreshTokens": true, "endpoint": "http://localhost:8080/api/user", "history_endpoint": "http://localhost:8080/api/user/order-history?token={{token}}", "resetPassword_endpoint": "http://localhost:8080/api/user/reset-password", "changePassword_endpoint": "http://localhost:8080/api/user/change-password?token={{token}}", "login_endpoint": "http://localhost:8080/api/user/login", "create_endpoint": "http://localhost:8080/api/user/create", "me_endpoint": "http://localhost:8080/api/user/me?token={{token}}", "refresh_endpoint": "http://localhost:8080/api/user/refresh" }, ``` The endpoints are also set by the `yarn installer` so You can try to reinstall VS using this command. 3. We optimized the performance by limiting the fields loaded each time in JSON objects from the backend. Please review the `config/default.json`and if some fields required / used by your app are missing, copy the following fragment to the `config/local.json` and add the required fields: ```json "entities": { "optimize": true, "twoStageCaching": true, "category": { "includeFields": [ "children_data", "id", "children_count", "sku", "name", "is_active", "parent_id", "level" ] }, "attribute": { "includeFields": [ "attribute_code", "id", "entity_type_id", "options", "default_value", "is_user_defined", "frontend_label", "attribute_id", "default_frontend_label", "is_visible_on_front", "is_visible", "is_comparable" ] }, "productList": { "includeFields": [ "type_id", "sku", "name", "price", "priceInclTax", "original_price_incl_tax", "id", "image", "sale", "new" ], "excludeFields": [ "configurable_children", "description", "configurable_options", "sgn", "tax_class_id" ] }, "productListWithChildren": { "includeFields": [ "type_id", "sku", "name", "price", "priceInclTax", "original_price_incl_tax", "id", "image", "sale", "new", "configurable_children.image", "configurable_children.sku", "configurable_children.price", "configurable_children.special_price", "configurable_children.price_incl_tax", "configurable_children.special_price_incl_tax", "configurable_children.original_price", "configurable_children.original_price_incl_tax", "configurable_children.color", "configurable_children.size" ], "excludeFields": [ "description", "sgn", "tax_class_id" ] }, "product": { "excludeFields": [ "updated_at", "created_at", "attribute_set_id", "status", "visibility", "tier_prices", "options_container", "url_key", "msrp_display_actual_price_type", "has_options", "stock.manage_stock", "stock.use_config_min_qty", "stock.use_config_notify_stock_qty", "stock.stock_id", "stock.use_config_backorders", "stock.use_config_enable_qty_inc", "stock.enable_qty_increments", "stock.use_config_manage_stock", "stock.use_config_min_sale_qty", "stock.notify_stock_qty", "stock.use_config_max_sale_qty", "stock.use_config_max_sale_qty", "stock.qty_increments", "small_image"], "includeFields": null } }, ``` If `optimize` is set to false, it's a fallback to the previous behaviour (getting all fields). 4. Another cool feature is `twoStageCaching` enabled by default. It means that for the Category page, VS is getting only the minimum number of JSON fields required to display the ProductTiles. Shortly after, it downloads the full objects by the second request to store them in the local cache. 5. We tweaked the Service Worker to better cache the app; it sometimes can generate frustration if your home page is now cached in the SW (previously was not). Feel free to use `Clear Storage` in your Developers tools :) 6. The `mage2vuestorefront` tool got update and now it's loading the `media_gallery` with additional media per product. We also put some MediaGallery components on the product page. 7.Product and Category pages got refactored. It's a massive refactoring moving all the logic to the Vuex stores, so if you played with the core `fetchData`/`loadData` functions, your code may be affected by this change. ## 1.0RC -> 1.0RC-2 ([release notes](https://github.com/DivanteLtd/vue-storefront/releases/tag/v1.0.0-rc.2)) This release brings some cool new features (Magento 1.x support, Magento 2 external checkout, My Orders, Discount Codes) together with some minor refactors. Unfortunately, with the refactors comes two manual changes that need to be applied to your custom themes after the update. Here You can check an **[example how did we migrated our own default_m1 theme to RC-2](https://github.com/DivanteLtd/vue-storefront/commit/111519c04acec272657e7eefec7ea8405da95f13)**. 1. We changed `ColorButton`, `SizeButton`, `PriceButton` in the `core` to `ColorSelector`, `SizeSelector`, `PriceSelector` and added the `GenericSelector` for all other attribute types. Because of this change, the `coreComponent('ColorButton')` must be changed to `coreComponent('ColorSelector')` etc. 2. We added the Vuex Stores extensibility to the themes. If You're getting the following build error: ``` ERROR in ./core/store/index.js Module not found: Error: Can't resolve 'theme/store' in '***/vue-storefront/core/store' ``` It means, that you need to copy the template store to: `<Your custom theme folder>/store`.
DivanteLtd/vue-storefront
docs/guide/upgrade-notes/README.md
Markdown
mit
52,373
# frozen_string_literal: true require_dependency "renalware/hd" require_dependency "collection_presenter" # TODO: mixing query and presenter here.. module Renalware module HD module Scheduling class DiarySlotPresenter < SimpleDelegator delegate :master?, to: :diary, allow_nil: true # Patients who prefer to dialyse on this day e.g. Mon and in this period e.g. AM. # Flag those already assigned so they cannot be chosen. def patients_preferring_to_dialyse_today_in_this_period patients = Renalware::HD::PatientsDialysingByDayAndPeriodQuery .new( diary.hospital_unit_id, day_of_week, diurnal_period_code.code ).call.all simplify(patients) end # Patients who prefer to dialyse on this day e.g. Mon # Flag those already assigned so they cannot be chosen. def patients_preferring_to_dialyse_today patients = Renalware::HD::PatientsDialysingByDayQuery .new( diary.hospital_unit_id, day_of_week ).call.all simplify(patients) end # rubocop:disable Metrics/MethodLength def patient_search_options hospital_unit = Renalware::Hospitals::Unit.find(diary.hospital_unit_id) [ OpenStruct.new( id: :dialysing_on_day_and_period, name: "Dialysing #{day_of_week_name} #{diurnal_period_code.to_s.upcase}" ), OpenStruct.new( id: :dialysing_on_day, name: "Dialysing on #{day_of_week_name}" ), OpenStruct.new( id: :dialysing_at_unit, name: "All #{hospital_unit.unit_code} HD patients" ), OpenStruct.new( id: :dialysing_at_hospital, name: "All HD patients" ) ] end # rubocop:enable Metrics/MethodLength private def simplify(patients) patients.map do |patient| hd_profile = patient.hd_profile text = "#{patient.to_s(:long)} - "\ "#{hd_profile&.schedule_definition} "\ "#{hd_profile&.hospital_unit&.unit_code}".strip.truncate(65) OpenStruct.new(id: patient.id, text: text) end end end end end end
airslie/renalware-core
app/presenters/renalware/hd/scheduling/diary_slot_presenter.rb
Ruby
mit
2,411
#ifndef PARSER_SIGNATURES_H #define PARSER_SIGNATURES_H #include "parser_state.h" void *ParseAlloc(void *(*allocProc) (size_t)); void Parse(void *, int, const char *, struct parser_state *); void ParseFree(void *, void (*freeProc) (void *)); #endif
compiler-dept/event-compiler
src/parser_signatures.h
C
mit
252
+++ hook = "On joining the party eight years late." published_at = 2017-01-27T19:39:57Z title = "Chrome" +++ So put this in the bucket of "things that I do five years behind the curve", but I recently switched my default browser from Firefox to Chrome. The change wasn't exactly by choice, but more the result of [new security policy][marginal-security] combined with [lack of U2F support in Firefox][firefox-u2f]. Luckily, it wasn't all bad. As surely everyone in the world but me already knew, Chrome feels like a much more responsive browser. The UI, tab switching, animations, and page rendering are all noticeably speedier, and minor features like tab pinning and proportional page zooming are a lot of fun to play with. One feature in particular that I've really enjoyed is Chrome's "People" mechanic, which allows for browsing sessions that are completely isolated from each other, for say work and home. This, combined with Google account sign on that syncs extensions and other settings between computers, makes Chrome highly ergonomic to use. Firefox's best feature, and the reason that I stuck with the browser for so long, is [Vimperator][vimperator] which brings Vim motions and shortcuts into the browser environment. Vimperator is still the closest to a mouseless experience on the web that you can get, and I wanted to stick with it right up until the bitter end. It's an amazing add-on, but more recently it hasn't been all sunshine and rainbows, as Mozilla has announced it's moving Firefox to [the WebExtensions API][web-extensions] which will severely constrain what Vimperator will be able to do, and has also been [breaking their add-ons API][tabopen-bug] on a pretty regular basis and making developers wait a week to get fixes approved for distribution in their add-ons catalog. Since the switch I've been using an equivalent in Chrome called Vimium, and it tends to do as good job or better than Vimperator for most things. Of particular note is its "Vomnibar" that lets you pull up a special textbox to search bookmarks, history, or open tabs, along with being able to enter a new URL. Its major downside compared to Vimperator is that it can't activate any shortcuts on "special" Chrome pages like settings or a tab where the browser is just displaying a raw media file like a JPG. This seems pretty minor, but turns out to be annoying in practice. I'll miss Firefox, but am cautiously hopeful that ambitious projects like Servo will eventually get them their lead back by producing features that are harder to build within the frameworks of existing browsers. For now, Chrome is pretty good. [firefox-u2f]: https://bugzilla.mozilla.org/show_bug.cgi?id=1065729 [marginal-security]: /fragments/marginal-security [tabopen-bug]: https://github.com/vimperator/vimperator-labs/issues/671 [vimperator]: http://www.vimperator.org/ [web-extensions]: http://fasezero.com/
brandur/sorg
content/fragments/chrome.md
Markdown
mit
2,897
var gulp = require('gulp'), mocha = require('gulp-spawn-mocha'); gulp.task('test', function(){ return gulp.src('test/*.js').pipe(mocha()); }); gulp.task('default', ['test']);
gengojs/sails-hook-gengojs
gulpfile.js
JavaScript
mit
181
exports.list = require('./list') exports.game = require('./game')
elevate-pulsar/smwcentral.net-jsonapi
src/index.js
JavaScript
mit
66
require 'tracker_api' require_relative 'pivotal/tracker' module Amanuensis module Pivotal include ActiveSupport::Configurable include Validatable config_accessor(:token) config_accessor(:project) validate_presence_of :token, :project end Tracker.register :pivotal, Pivotal::Tracker.new end
alaibe/amanuensis
lib/amanuensis/pivotal.rb
Ruby
mit
321
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct _guild_battle_reserved_schedule_no_data_result_zocl { char byToday; char byTommorow; char byDayId; }; END_ATF_NAMESPACE
goodwinxp/Yorozuya
library/ATF/_guild_battle_reserved_schedule_no_data_result_zocl.hpp
C++
mit
335
<?php namespace GDoctor\Common\Models; use Illuminate\Database\Eloquent\Model; class WechatAppMenu extends Model { /** * 表名 */ protected $table = 'wehcat_app_menu'; /** * 禁用id自增 */ public $incrementing = false; }
suffrajet/gdoctor
framework/src/Common/Models/WechatAppMenu.php
PHP
mit
266
# ListeningServerC #### A file server in C++ utilizing TCP sockets for linux computers. The client must send a request in the form `GET <FILEPATH ON SERVER>` This server works as follows: 1. It sets up its memory and configures the server to use TCP sockets. 2. It pulls a linked list of structures that contains the host's address information 3. The program then loops through the address structures, trying to find one that it can use. It first checks if it can set up a TCP socket using the address, then if it can, it configures the socket to be able to reuse the local address(removed by default due to a security issue). Lastly it binds the socket to one of the computer's network ports that allow it to communicate with the outside world. 4. It gets rid of the list of address information because is of no use since it has found the working one 5. It then configures the socket to 'listen' for client connections on the port it is using. 6. It then continues to try and accept connecctions and if one is present, it creates a separate connection with the client on another socket. 7. The program then receives a message from the client in the form `GET <FILEPATH ON SERVER>` and translates that into a request to send the contents of the file to the user. 8. It takes the file contents and sends them to the user. 9. The connection is closed and the program returns to step 6. #### What is a socket? Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while other socket reaches out to the other to form a connection. Server forms the listener socket while client reaches out to the server. #### What is a TCP Socket? A TCP socket is a socket that streams data over the connection. This is used for sending information in an orderly fashion in which data that is send first must show up first. This is useful for sending file contents because you want the information to be in order.
JamesSmitty/ListeningServerC
README.md
Markdown
mit
2,021
/** * * * @author fuyg * @date 2014-12-16 */ define(function (require) { var TRIM = require('../core/str/trim'), STARTS_WITH = require('../core/str/startsWith'), _ = require('../core/underscore'), /** * @param {String} line * @return {Integer} level >= 1 * */ countListLevel = function (line) { // \s 空格 // \t 制表符 // \xA0 non-breaking spaces // \u3000中文空格 var matched = /^[\s\t\xA0\u3000]+/.exec(line), index, len, counter = 0, oneChar; if (!matched) { return 1; } matched = matched[0]; len = matched.length; for (index = 0; index < len; index++) { oneChar = matched.charAt(index); if (oneChar === '\t') { counter += 4; } else { counter += 1; } } counter = Math.ceil(counter / 4) + 1; return counter < 1 ? 1 : counter; }, /** * @param {String} content * @param {Array<Object>} parts * @return {Array<Object>} */ concatUrl= function (content, parts) { var arrContent = [], start = 0, endText; _.each(parts, function (part) { var text = content.substring(start, part.index), link = '<a href="' + _.escape(part.full) + '">' + _.escape(part.text) + '</a>'; if (text && text.length) { arrContent.push({ content: text, plain: true }); } arrContent.push({ content: link, plain: false }); start = part.index + part.size; }); endText = content.substring(start); if (endText && endText.length) { arrContent.push({ content: endText, plain: true }); } if (arrContent && arrContent.length) { return arrContent; } return [{ content: content, plain: true }]; }, /** * @param {String} text * @return {Array} */ parseUrl = function (text) { text = text + ''; /*jshint maxlen: 100*/ var urlReg = /(https?:\/\/|www\.|ssh:\/\/|ftp:\/\/)[a-z0-9&_+\-\?\/\.=\#,:@]+/ig, matched, arrMatched, url; arrMatched = []; matched = urlReg.exec(text); while (matched) { url = matched[0]; arrMatched.push({ index: matched.index, size: url.length, text: url, full: STARTS_WITH(url.toLowerCase(), 'www.') ? ('http://' + url) : url }); matched = urlReg.exec(text); } if (arrMatched && arrMatched.length) { return concatUrl(text, arrMatched); } return [{ content: text, plain: true }]; }, parseMail = function (text) { text = text + ''; var mailReg = /[a-z0-9_+\-\.]+@[a-z0-9_+\-\.]+/ig, matched, arrMatched, address; arrMatched = []; matched = mailReg.exec(text); while (matched) { address = matched[0]; arrMatched.push({ index: matched.index, size: address.length, text: address, full: 'mailto:' + address }); matched = mailReg.exec(text); } if (arrMatched && arrMatched.length) { return concatUrl(text, arrMatched); } return [{ content: text, plain: true }]; }, /** * @param {Array<Object>} arrContent * @param {Function} partParser * @return {Array<Object>} */ parseInline = function (arrContent, partParser) { arrContent = _.flatten(arrContent); var newArrContent = []; _.each(arrContent, function (contentObj) { if (!contentObj || !contentObj.content) { return; } if (contentObj.plain) { newArrContent.push(partParser(contentObj.content)); } else { newArrContent.push(contentObj); } }); newArrContent = _.flatten(newArrContent); return newArrContent; }; return { /** * @param {String} line * @return {Array<Object>} {content: 'string', plain: 'boolean'} */ blankLine: function (line) { var trimmed = TRIM(line); if (!trimmed) { return [{ content: '<br/>', plain: false }]; } }, horizotalLine: function (line) { var reg = /^\s*-{3,}\s*$/; if (reg.test(line)) { return [{ content: '<hr/>', plain: false }]; } }, inline: function (line) { line = line + ''; var arrContent = [{ content: line, plain: true }]; arrContent = parseInline(arrContent, parseUrl); arrContent = parseInline(arrContent, parseMail); return arrContent; }, /** * @param {String} line * @param {Boolean} [_orderList = true] * @return {Array<Object>} {content: 'string', plain: 'boolean'} */ orderList: function (line, _orderList) { _orderList = _orderList !== false; var that = this, trimmed = TRIM(line), signReg = _orderList? /\d+\.?\s+/ : /[-*]\s+/, matched = signReg.exec(trimmed), matchedText, arrContent, level, textContent, parsed; if (!matched) { return; } level = countListLevel(line); arrContent = [{ content: '<li>', plain: false, level: level, orderList: _orderList }]; matchedText = matched[0]; textContent = trimmed.substring(matchedText.length); parsed = that.inline(textContent); if (parsed) { arrContent.push(parsed); } else { arrContent.push({ content: textContent, plain: true }); } arrContent.push({ content: '</li>', plain: false }); return _.flatten(arrContent); }, unorderList: function (line) { var that = this; return that.orderList(line, false); } }; });
FuDesign2008/htmlize
src/htmlize/parse.js
JavaScript
mit
7,742
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.MSProjectApi.Enums { /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff861190(v=office.14).aspx </remarks> [SupportByVersion("MSProject", 11,12,14)] [EntityType(EntityType.IsEnum)] public enum PjIMEMode { /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>0</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeNoControl = 0, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>1</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeOn = 1, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>2</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeOff = 2, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>3</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeDisable = 3, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>4</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeHiragana = 4, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>5</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeKatakana = 5, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>6</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeKatakanaHalf = 6, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>7</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeAlphaFull = 7, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>8</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeAlpha = 8, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>9</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeHangulFull = 9, /// <summary> /// SupportByVersion MSProject 11, 12, 14 /// </summary> /// <remarks>10</remarks> [SupportByVersion("MSProject", 11,12,14)] pjIMEModeHangul = 10 } }
NetOfficeFw/NetOffice
Source/MSProject/Enums/PjIMEMode.cs
C#
mit
2,390
<?php /* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 11231 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ include_once(dirname(__FILE__).'/../../classes/AdminTab.php'); class AdminWebservice extends AdminTab { public function __construct() { $this->table = 'webservice_account'; $this->className = 'WebserviceKey'; $this->lang = false; $this->edit = true; $this->delete = true; $this->id_lang_default = Configuration::get('PS_LANG_DEFAULT'); $this->fieldsDisplay = array( 'key' => array('title' => $this->l('Key'), 'align' => 'center', 'width' => 32), 'active' => array('title' => $this->l('Enabled'), 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false), 'description' => array('title' => $this->l('Key description'), 'align' => 'center', 'orderby' => false) ); $this->optionTitle = $this->l('Configuration'); if (file_exists(_PS_ROOT_DIR_.'/.htaccess')) $this->_fieldsOptions = array('PS_WEBSERVICE' => array('title' => $this->l('Enable PrestaShop Webservice:'), 'desc' => $this->l('Before activating the webservice, you must be sure to: '). '<ol><li>'.$this->l('be certain URL rewrite is available on this server'). '</li><li>'.$this->l('be certain that the 5 methods GET, POST, PUT, DELETE and HEAD are supported by this server'). '</li></ol>', 'cast' => 'intval', 'type' => 'bool'), 'PS_WEBSERVICE_CGI_HOST' => array('title' => $this->l('Active mode CGI for PHP:'), 'desc' => $this->l('Be sure PHP is not configured as an Apache module on your server'), 'cast' => 'intval', 'type' => 'bool'), ); parent::__construct(); } protected function afterAdd($object) { WebserviceKey::setPermissionForAccount($object->id, Tools::getValue('resources', array())); } protected function afterUpdate($object) { WebserviceKey::setPermissionForAccount($object->id, Tools::getValue('resources', array())); } public function displayList() { global $cookie, $currentIndex; $warnings = array(); if (!file_exists(_PS_ROOT_DIR_.'/.htaccess')) $warnings[] = $this->l('In order to enable the PrestaShop Webservice, please generate the .htaccess file via the "Generators" tab (in the "Tools" tab).'); if (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') === false) $warnings[] = $this->l('To avoid operating problems, please use an Apache server.'); { if (function_exists('apache_get_modules')) { $apache_modules = apache_get_modules(); if (!in_array('mod_auth_basic', $apache_modules)) $warnings[] = $this->l('Please activate the Apache module \'mod_auth_basic\' to allow authentication of PrestaShop webservice.'); if (!in_array('mod_rewrite', $apache_modules)) $warnings[] = $this->l('Please activate the Apache module \'mod_rewrite\' to allow using the PrestaShop webservice.'); } else { $warnings[] = $this->l('We could not check if basic authentication and rewrite extensions are activated. Please manually check if they are activated in order to use the PrestaShop webservice.'); } } if (!extension_loaded('SimpleXML')) $warnings[] = $this->l('Please activate the PHP extension \'SimpleXML\' to allow testing of PrestaShop webservice.'); if (!configuration::get('PS_SSL_ENABLED')) $warnings[] = $this->l('If possible, it is preferable to use SSL (https) for webservice calls, as it avoids the security issues of type "man in the middle".'); $this->displayWarning($warnings); foreach ($this->_list as $k => $item) if ($item['is_module'] && $item['class_name'] && $item['module_name'] && ($instance = Module::getInstanceByName($item['module_name'])) && !$instance->useNormalPermissionBehaviour()) unset($this->_list[$k]); parent::displayList(); } public function displayForm($isMainTab = true) { global $currentIndex; parent::displayForm(); if (!($obj = $this->loadObject(true))) return; echo ' <form action="'.$currentIndex.'&submitAdd'.$this->table.'=1&token='.$this->token.'" method="post" enctype="multipart/form-data"> '.($obj->id ? '<input type="hidden" name="id_'.$this->table.'" value="'.$obj->id.'" />' : '').' <fieldset><legend><img src="../img/admin/access.png" />'.$this->l('Webservice Accounts').'</legend> <label>'.$this->l('Key:').'</label> <div class="margin-form"> <input type="text" size="32" name="key" id="code" value="'.htmlentities(Tools::getValue('key', $obj->key), ENT_COMPAT, 'UTF-8').'" /> <input type="button" value="'.$this->l(' Generate! ').'" class="button" onclick="gencode(32)" /> <sup>*</sup> <p class="clear">'.$this->l('Webservice account key').'</p> </div> <label>'.$this->l('Key description').'</label> <div class="margin-form"> <textarea rows="3" style="width:400px" name="description">'.htmlentities(Tools::getValue('description', $obj->description), ENT_COMPAT, 'UTF-8').'</textarea> <p class="clear">'.$this->l('Key description').'</p> </div> <label>'.$this->l('Status:').' </label> <div class="margin-form"> <input type="radio" name="active" id="active_on" value="1" '.((!$obj->id OR Tools::getValue('active', $obj->active)) ? 'checked="checked" ' : '').'/> <label class="t" for="active_on"> <img src="../img/admin/enabled.gif" alt="'.$this->l('Enabled').'" title="'.$this->l('Enabled').'" /></label> <input type="radio" name="active" id="active_off" value="0" '.((!Tools::getValue('active', $obj->active) AND $obj->id) ? 'checked="checked" ' : '').'/> <label class="t" for="active_off"> <img src="../img/admin/disabled.gif" alt="'.$this->l('Disabled').'" title="'.$this->l('Disabled').'" /></label> </div> <label>'.$this->l('Permissions:').' </label> <div class="margin-form"> <p>'.$this->l('Set the resource permissions for this key:').'</p> <table border="0" cellspacing="0" cellpadding="0" class="permissions"> <thead> <tr> <th>'.$this->l('Resource').'</th> <th width="30"></th> <th width="50">'.$this->l('View (GET)').'</th> <th width="50">'.$this->l('Modify (PUT)').'</th> <th width="50">'.$this->l('Add (POST)').'</th> <th width="50">'.$this->l('Delete (DELETE)').'</th> <th width="50">'.$this->l('Fast view (HEAD)').'</th> </tr> </thead> <tbody> <tr class="all" style="vertical-align:cen"> <th></th> <th></th> <th><input type="checkbox" class="all_get get " /></th> <th><input type="checkbox" class="all_put put " /></th> <th><input type="checkbox" class="all_post post " /></th> <th><input type="checkbox" class="all_delete delete" /></th> <th><input type="checkbox" class="all_head head" /></th> </tr> '; $ressources = WebserviceRequest::getResources(); $permissions = WebserviceKey::getPermissionForAccount($obj->key); foreach ($ressources as $resourceName => $resource) echo ' <tr> <th>'.$resourceName.'</th> <th><input type="checkbox" class="all"/></th> <td><input type="checkbox" '.(isset($ressources[$resourceName]['forbidden_method']) && in_array('GET', $ressources[$resourceName]['forbidden_method']) ? 'disabled="disabled"' : '').' class="get" name="resources['.$resourceName.'][GET]" '.(isset($permissions[$resourceName]) && in_array('GET', $permissions[$resourceName]) ? 'checked="checked"' : '').' /></td> <td><input type="checkbox" '.(isset($ressources[$resourceName]['forbidden_method']) && in_array('PUT', $ressources[$resourceName]['forbidden_method']) ? 'disabled="disabled"' : '').' class="put" name="resources['.$resourceName.'][PUT]" '.(isset($permissions[$resourceName]) && in_array('PUT', $permissions[$resourceName]) ? 'checked="checked"' : '').'/></td> <td><input type="checkbox" '.(isset($ressources[$resourceName]['forbidden_method']) && in_array('POST', $ressources[$resourceName]['forbidden_method']) ? 'disabled="disabled"' : '').' class="post" name="resources['.$resourceName.'][POST]" '.(isset($permissions[$resourceName]) && in_array('POST', $permissions[$resourceName]) ? 'checked="checked"' : '').'/></td> <td><input type="checkbox" '.(isset($ressources[$resourceName]['forbidden_method']) && in_array('DELETE', $ressources[$resourceName]['forbidden_method']) ? 'disabled="disabled"' : '').' class="delete" name="resources['.$resourceName.'][DELETE]" '.(isset($permissions[$resourceName]) && in_array('DELETE', $permissions[$resourceName]) ? 'checked="checked"' : '').'/></td> <td><input type="checkbox" '.(isset($ressources[$resourceName]['forbidden_method']) && in_array('HEAD', $ressources[$resourceName]['forbidden_method']) ? 'disabled="disabled"' : '').' class="head" name="resources['.$resourceName.'][HEAD]" '.(isset($permissions[$resourceName]) && in_array('HEAD', $permissions[$resourceName]) ? 'checked="checked"' : '').'/></td> </tr>'; echo ' </tbody> </table> <script>';?> $(function() { $('table.permissions input.all').click(function() { if($(this).is(':checked')) $(this).parent().parent().find('input.get:not(:checked), input.put:not(:checked), input.post:not(:checked), input.delete:not(:checked), input.head:not(:checked)').click(); else $(this).parent().parent().find('input.get:checked, input.put:checked, input.post:checked, input.delete:checked, input.head:checked').click(); }); $('table.permissions .all_get').click(function() { if($(this).is(':checked')) $(this).parent().parent().parent().find('input.get:not(:checked)').click(); else $(this).parent().parent().parent().find('input.get:checked').click(); }); $('table.permissions .all_put').click(function() { if($(this).is(':checked')) $(this).parent().parent().parent().find('input.put:not(:checked)').click(); else $(this).parent().parent().parent().find('input.put:checked').click(); }); $('table.permissions .all_post').click(function() { if($(this).is(':checked')) $(this).parent().parent().parent().find('input.post:not(:checked)').click(); else $(this).parent().parent().parent().find('input.post:checked').click(); }); $('table.permissions .all_delete').click(function() { if($(this).is(':checked')) $(this).parent().parent().parent().find('input.delete:not(:checked)').click(); else $(this).parent().parent().parent().find('input.delete:checked').click(); }); $('table.permissions .all_head').click(function() { if($(this).is(':checked')) $(this).parent().parent().parent().find('input.head:not(:checked)').click(); else $(this).parent().parent().parent().find('input.head:checked').click(); }); }); <?php echo ' </script> </div> <div class="margin-form"> <input type="submit" value="'.$this->l(' Save ').'" name="submitAdd'.$this->table.'" class="button" /> </div> <div class="small"><sup>*</sup> '.$this->l('Required field').'</div> </fieldset> </form>'; } public function postProcess() { /* PrestaShop demo mode */ if (_PS_MODE_DEMO_) { $this->_errors[] = Tools::displayError('This functionnality has been disabled.'); return; } /* PrestaShop demo mode*/ if (Tools::getValue('key') && strlen(Tools::getValue('key')) < 32) $this->_errors[] = Tools::displayError($this->l('Key length must be 32 character long')); if (WebserviceKey::keyExists(Tools::getValue('key')) && !Tools::getValue('id_webservice_account')) $this->_errors[] = Tools::displayError($this->l('Key already exists')); return parent::postProcess(); } }
j1v3/lakombi
src/LaKombi/ShopBundle/admin/tabs/AdminWebservice.php
PHP
mit
12,855
/* MIT License * * Copyright (c) 2017 Jon Haggblad * * 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. */ #include <boost/optional.hpp> #include <iostream> #include "optional_monad/optional_monad.h" #include "TestClass.h" auto foo(const TestClass& x) -> TestClass { return TestClass(x.value * 2); } auto foo_which_might_fail(const TestClass& x) -> boost::optional<TestClass> { return TestClass(x.value * 2); } void foo_mutate_in_place(TestClass& x) { x.value *= 2; } void immutable_map_test() { std::cout << std::endl << "--- " << __PRETTY_FUNCTION__ << std::endl; boost::optional<TestClass> x(5); auto y = fmap(x, foo); std::cout << "x = " << x.value().value << std::endl; std::cout << "y = " << y.value().value << std::endl; } //void immutable_map_operator_test() { // std::cout << std::endl << "--- " << __PRETTY_FUNCTION__ << std::endl; // boost::optional<TestClass> x(5); // auto y = x >> foo; // std::cout << "x = " << x.value().value << std::endl; // std::cout << "y = " << y.value().value << std::endl; //} void immutable_bind_test() { std::cout << std::endl << "--- " << __PRETTY_FUNCTION__ << std::endl; boost::optional<TestClass> x(5); auto y = bind(x, foo_which_might_fail); std::cout << "x = " << x.value().value << std::endl; std::cout << "y = " << y.value().value << std::endl; } void immutable_bind_operator_test() { std::cout << std::endl << "--- " << __PRETTY_FUNCTION__ << std::endl; boost::optional<TestClass> x(5); auto y = x >> foo_which_might_fail; std::cout << "x = " << x.value().value << std::endl; std::cout << "y = " << y.value().value << std::endl; } void mutable_with_test() { std::cout << std::endl << "--- " << __PRETTY_FUNCTION__ << std::endl; boost::optional<TestClass> x(5); std::cout << "before x = " << x.value().value << std::endl; with(x, foo_mutate_in_place); std::cout << "after x = " << x.value().value << std::endl; } void mutable_with_movable_test() { std::cout << std::endl << "--- " << __PRETTY_FUNCTION__ << std::endl; boost::optional<TestClass> x(5); std::cout << "before x = " << x.value().value << std::endl; auto y = with(std::move(x), foo_mutate_in_place); std::cout << "after x = " << x.value().value << std::endl; std::cout << "y = " << y.value().value << std::endl; } int main() { immutable_map_test(); //immutable_map_operator_test(); immutable_bind_test(); immutable_bind_operator_test(); mutable_with_test(); mutable_with_movable_test(); }
octol/optional-monad
test/test1.cpp
C++
mit
3,590
from flask import Blueprint from flask import current_app from flask import request from flask import jsonify from flask import abort from flask import render_template from flask import redirect from flask import url_for from flask import flash from werkzeug.exceptions import NotFound from printus.web.models import Report from printus.web.models import User from printus.web.forms import UserForm from printus.web.forms import ReportForm from printus.web.forms import LoginForm from printus.web.forms import SignupForm from printus.web.forms import ContactForm from printus.web.extensions import login_manager from flask.ext.login import login_required, current_user, login_user, logout_user bp = Blueprint('general', __name__, template_folder='templates') @bp.route('/') @login_required def index(): try: page = long(request.args.get('page', 1)) except Exception: page = 1 try: pagination = current_user.reports.order_by('created_at desc').paginate(page, 10) except NotFound: page = 1 pagination = current_user.reports.order_by('created_at desc').paginate(page, 10) return render_template('reports.index.html', pagination=pagination) @bp.route('/reports/new', methods=['GET', 'POST']) @login_required def reports_new(): form = ReportForm() if form.validate_on_submit(): flash('Report created') return redirect(url_for('general.index')) return render_template('reports.new.html', form=form) @bp.route('/profile', methods=['GET', 'POST']) @login_required def profile(): form = UserForm(obj=current_user) if form.validate_on_submit(): form.populate_obj(current_user) db.session.add(current_user) db.session.commit() return render_template('profile.html', form=form) @bp.route('/login', methods=['GET', 'POST']) def login(): form = LoginForm() signupForm = SignupForm() if form.validate_on_submit(): user = User.query.filter_by(username=form.username.data, password=form.password.data).first() if not user: return render_template("login.html", form=form, signupForm=signupForm) else: login_user(user) return redirect(request.args.get("next") or url_for("general.index")) return render_template("login.html", form=form, signupForm=signupForm) @bp.route('/signup', methods=['GET', 'POST']) def signup(): form = SignupForm() if form.validate_on_submit(): return redirect(request.args.get('next') or url_for('general.index')) return render_template("signup.html", form=form) @bp.route('/logout') @login_required def logout(): logout_user() flash('Logged out.') return redirect(url_for('general.index')) @bp.route('/contact_us') @login_required def contact_us(): form = ContactForm() if form.validate_on_submit(): return redirect(url_for('general.index')) return render_template('contact_us.html', form=form)
matrixise/printus
old_code/printus/web/views/general/__init__.py
Python
mit
2,782
""" commswave ========= Takes device communications up and down according to a timefunction. Comms will be working whenever the timefunction returns non-zero. Configurable parameters:: { "timefunction" : A timefunction definition "threshold" : (optional) Comms will only work when the timefunction is returning >= threshold. If missing then any non-zero value will make comms work. "gate_properties" : (optional) ["list", "of", "properties"] If this is defined, then instead of taking whole comms up and down, only these specific properties are gated } Device properties created:: { } """ from .device import Device from common import importer import logging class Commswave(Device): def __init__(self, instance_name, time, engine, update_callback, context, params): """Take Comms up and down according to some time function""" tf = params["commswave"]["timefunction"] self.comms_timefunction = importer.get_class("timefunction", list(tf.keys())[0])(engine, self, tf[list(tf.keys())[0]]) self.comms_tf_threshold = params["commswave"].get("threshold", None) self.comms_gate_properties = params["commswave"].get("gate_properties", None) self.messages_sent = 0 self.messages_attempted = 0 super(Commswave,self).__init__(instance_name, time, engine, update_callback, context, params) def timefunction_says_communicate(self): thresh = 0.0 if self.comms_tf_threshold is not None: thresh = self.comms_tf_threshold return self.comms_timefunction.state() > thresh def comms_ok(self): if self.comms_gate_properties is not None: # If we're gating individual properties, then don't gate overall comms return super(Commswave, self).comms_ok() else: self.messages_attempted += 1 is_ok = super(Commswave, self).comms_ok() is_ok = is_ok and self.timefunction_says_communicate() if is_ok: self.messages_sent += 1 return is_ok def transmit(self, the_id, ts, properties, force_comms): if self.comms_gate_properties is not None: # We're gating properties if not self.timefunction_says_communicate(): for p in self.comms_gate_properties: properties.pop(p, None) # Remove the property, if it's there super(Commswave, self).transmit(the_id, ts, properties, force_comms) def external_event(self, event_name, arg): super(Commswave, self).external_event(event_name, arg) def close(self): super(Commswave,self).close() logging.info("Comms report for " + str(self.properties["$id"]) + " " + str(self.messages_sent) + " sent ("+str(100 * self.messages_sent/self.messages_attempted) + "%) from " + str(self.messages_attempted) + " total") # Private methods ## (we don't actually need to tick, as we can instantaneously look up timefunction state whenever we need to) ## def tick_commswave(self, _): ## self.ok_commswave = self.comms_timefunction.state() ## self.engine.register_event_at(self.comms_timefunction.next_change(), self.tick_commswave, self, self)
DevicePilot/synth
synth/devices/commswave.py
Python
mit
3,252
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <cfloat> # include <Siv3D/NavMesh.hpp> # include <RecastDetour/Recast.h> # include <RecastDetour/DetourCommon.h> # include <RecastDetour/DetourNavMesh.h> # include <RecastDetour/DetourNavMeshBuilder.h> # include <RecastDetour/DetourNavMeshQuery.h> namespace s3d { struct NavMeshAABB { float bmin[3] = { FLT_MAX, FLT_MAX, FLT_MAX }; float bmax[3] = { -FLT_MAX, -FLT_MAX, -FLT_MAX }; }; class NavMesh::NavMeshDetail { public: NavMeshDetail(); ~NavMeshDetail(); bool build(const Array<Float2>& vertices, const Array<TriangleIndex>& indices, const Array<uint8>& areaIDs, const NavMeshConfig& config); bool build(const Array<Float3>& vertices, const Array<TriangleIndex>& indices, const Array<uint8>& areaIDs, const NavMeshConfig& config); Array<Vec2> query(const Float2& start, const Float2& end, const Array<std::pair<int32, double>>& areaCosts) const; Array<Vec3> query(const Float3& start, const Float3& end, const Array<std::pair<int32, double>>& areaCosts) const; private: struct Data { rcContext ctx; rcHeightfield* hf = nullptr; rcCompactHeightfield* chf = nullptr; rcContourSet* cset = nullptr; rcPolyMesh* mesh = nullptr; rcPolyMeshDetail* dmesh = nullptr; std::shared_ptr<dtNavMesh> navmesh; dtNavMeshQuery navmeshQuery; } m_data; unsigned char* m_navData = nullptr; int32 m_navDataSize = 0; bool m_built = false; bool build(const NavMeshConfig& config, const NavMeshAABB& aabb, const Array<Float3>& vertices, const Array<TriangleIndex>& indices, const Array<uint8>& areaIDs); void init(); void release(); }; }
Siv3D/OpenSiv3D
Siv3D/src/Siv3D/NavMesh/NavMeshDetail.hpp
C++
mit
1,911
from setuptools import setup, find_packages with open('requirements.txt') as reqs: inst_reqs = reqs.read().split('\n') setup( name='autobot', version='0.1.0', packages=find_packages(), author='Mikael Knutsson', author_email='mikael.knutsson@gmail.com', description='A bot framework made according to actual software principles', long_description=open('README.md').read(), classifiers=['License :: OSI Approved :: BSD License'], install_requires=inst_reqs, entry_points={ 'console_scripts': ['autobot = autobot.main:main', 'autobot_init = autobot.init:main'] } )
mikn/autobot
setup.py
Python
mit
648
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding your | database. Just tell the factory how a default model should look. | */ $factory->define(HackspaceSystem\User::class, function ($faker) { return [ 'name' => $faker->name, 'email' => $faker->email, 'password' => str_random(10), 'remember_token' => str_random(10), ]; });
leigh-hackspace/hackspace-management-sistim
database/factories/ModelFactory.php
PHP
mit
634
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); //session_start(); class Permiso extends MX_Controller { public function __construct() { parent::__construct(); $this->load->model('permiso_model'); $this->load->model('general_model'); $this->load->library('template'); $this->load->library('menu'); } public function index() { if($this->session->userdata('id')): $session_data = $this->session->userdata(); $data['usuario'] = $session_data['username']; $data['iduser'] = $session_data['id']; $data['idperfil'] = $session_data['idperfil']; $data["menu"] = $this->menu->crea_menu($data['idperfil']); $data['css'] = ''; $data['js'] = ''; $data['perfiles'] = $this->general_model->desplega_lista_perfiles(); $this->template->load('template','permiso',$data); else: redirect('login/index', 'refresh'); endif; } public function carga_permiso() { $data["perfil"] = $this->input->post('perfil'); $data['permisos'] = $this->permiso_model->desplega_permisos($data['perfil']); $this->load->view('permiso_detalle',$data); } public function agregar() { $menu = $this->input->get('idmenu'); $perfil = $this->input->get('idperfil'); $data["result"] = $this->permiso_model->agrega($menu,$perfil); $new = $data["result"][0]["mensaje"]; if($new=="Error"): echo '{"msg":"ko"}'; else: echo '{"msg":"'.$new.'"}'; endif; } public function eliminar() { $menu = $this->input->get('idmenu'); $perfil = $this->input->get('idperfil'); $data["result"] = $this->permiso_model->elimina($menu,$perfil); $new = $data["result"][0]["mensaje"]; if($new=="ok"): echo '{"msg":"ok"}'; else: echo '{"msg":"ko"}'; endif; } } /* *end modules/login/controllers/index.php */
Chambeishon/opc.grupohi.mx
application/modules/grl/controllers/Permiso.php
PHP
mit
1,918
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace BSMS.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); public static Settings Default { get { return defaultInstance; } } [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] [global::System.Configuration.DefaultSettingValueAttribute("http://localhost:6382/bsms_service.asmx")] public string BSMS_bsms_localhost_bsms_service { get { return ((string)(this["BSMS_bsms_localhost_bsms_service"])); } } } }
Star-Lowd/Bookstore-Management-System
Implementation/BSMS/BSMS/Properties/Settings.Designer.cs
C#
mit
1,622
--- layout: post title: There's No Such Thing as No Project Management published: true --- Project management. Every engineer seems to loathe the term and also what it describes. It has that word *management* in there. It's different than code. It's not code. So naturally whenever this comes up, all the engineers make a joke, shrug and go hide behind their editors. I've been there, I've done that. However over the years I have realized that this is not just stupid but actively working against making software projects successful. I mostly had an aversion against the overloaded, overused and useless definition of project management glorifying charts and plans and deadlines over actually organizing and making sense of the work and the processes to get it done. Because the truth is you are already doing project management. Yes you! The software engineer! ### You had the project management all along Every time you start to write code, even for some fun side project, you start to think about the different components that will make up the whole thing. You start to form a mental model of all the high level parts that comprise the finished application. You plan out some rough course of action for yourself. Which parts you want to tackle first. Which things to stub out and which things to punt on for later. You just (most of the time) don't write them down. But as you go on, you think about what the first workable version will be able to do. Then you think about the next one, maybe refactor some things to accomodate new features. Maybe you write down some notes for you or add some `//TODO:` lines in the code so you know what to do when you come back to it. But the important part here is, that you're planning the application. You're basically already doing 85% of what project management for a small to medium software project is all about. So what's the difference? Well really mostly thinking about the structure of your project on a higher level and writing things down. To be clear: It's ok if you only want to write code. And you can be or get really good at it. However only wanting to write code is like saying you only want to hammer wood together. Sure there is beauty in how you do it. There are good carpenters out there who are able to do woodwork like nobody else. And everybody wants to have such a craftsperson on their team when it comes down to doing the work. However this will only be useful up to a certain level. And that's absolutely ok. But if you want to level up as a carpenter you will need to understand what it is that you're actually building. And that is very much the same for a software engineer. In my mind [being a senior engineer][senior_engineer] also means that you understand the problems you are solving past the perfect implementation of a binary sort. That you understand that writing code is a means to an end and not the ultimate purpose. That you understand what problem you are solving and the environment it will exist in so you [plan for it][infra_projects] accordingly. This means a good chunk of "non-coding time". It means that you understand how to break the problem apart and how it would speed up the implementation if you suddenly got 2 or 3 more engineers on the project. Or if it wouldn't help at all. It means that you understand how the project could continue if you suddenly [decided to go on vacation][vacation_factor] because you know you don't want to [be a spof][spof]. It means that you have things planned out so someone else could [take it over][not_work] or even make the whole project happen without you. It means understanding what existing or future work would be great for a more junior engineer on the team to level up on and plan work so it's possible for them to do it. And it means writing things down and communicating them. This can be as easy as creating a project in your JIRA instance and adding a bunch of subtasks. It can be Gantt charts if you are so inclined and want to show dependencies better. It can be a markdown document laying out all the bits and pieces you have thought about so far. ### You are not your project All of these things might feel weird at the beginning. All you want to do is write code, find the perfect abstraction, make it beautiful. You will suck at this at first because you are not used to it. But at the same time you will suddenly see others implementing things you want to exist, doing work for you and learning while they do it. And maybe even take a whole project over from you and finish it. And it will feel weird again. You will have this feeling of not having finished something. Of only going 80% there. Of only having done the "soft" parts. But in reality you just transferred a ton of knowledge. You made it possible for someone else to work on something that previously only existed in your head. [You are not your projects][egoless]. I've [said before][capture_ideas] that you need to capture ideas for others to work on. It's the only way to scale yourself. And it frees up your time to work on other things. And even if you end up working on the project all by yourself (which is less and less likely as your organization grows), there will be a plan for others who are interested to follow along with what's going on. There is clear communication of what's in progress and what the current state of things is. And other engineers can learn from your example. Because suddenly you're doing project management. And it's not even that weird. You have been doing it on some level all along. And you should, it's part of your job. As an engineer you understand best how work gets done. So you are in the perfect position to plan out the structure of your projects. And there is no such thing as "no project management" anyways. You can only decide to do it badly or try to do it well. And seeing all the benefits of doing it well come to life is so much more fun. [infra_projects]: https://www.unwiredcouch.com/2015/01/28/building-a-plant.html [capture_ideas]: https://twitter.com/mrtazz/statuses/467769106780127232 [spof]: https://twitter.com/mrtazz/statuses/557697168010924033 [senior_engineer]: http://www.kitchensoap.com/2012/10/25/on-being-a-senior-engineer/ [vacation_factor]: https://twitter.com/mrtazz/status/593835726858518528 [not_work]: https://twitter.com/mrtazz/status/590506541436039169 [egoless]: http://en.wikipedia.org/wiki/Egoless_programming
mrtazz/unwiredcouch.com
src/2015/05/04/project-management.md
Markdown
mit
6,419
<?php /* * This file is part of the Presque package. * * (c) Justin Rainbow <justin.rainbow@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Presque\Worker; class WorkerFactory implements WorkerFactoryInterface { public function create($id = null) { return new Worker($id); } }
justinrainbow/presque
src/Presque/Worker/WorkerFactory.php
PHP
mit
409
<?php define('QB_APP_ID', "30840"); define('QB_AUTH_KEY', "x-KtuXMwmCtnfLS"); define('QB_AUTH_SECRET', "yEeZEM3hb5hC2PZ"); define('QB_API_ENDPOINT', "https://api.quickblox.com"); define('QB_PATH_SESSION', "session.json"); define('QB_PATH_USER', "users.json"); define('QB_PATH_AUTH', "auth.json"); define('QB_PATH_LOGIN', "login.json"); define('QB_PATH_EVENTS', "events.json"); define('QB_DEFAULT_PASSWORD', "LetusprayforGod!_ipray2015"); class Qbconfig { } ?>
WangYinXing/ipray_server
application/libraries/Qbconfig.php
PHP
mit
471
'use strict'; const { thinscriptWasm } = require('/usr/lib/wasm'); module.exports = (args, env, cb) => { try { env.stdio.write(thinscriptWasm.helloWorld()); cb(0); } catch(e) { env.stdio.writeError(e); cb(1); } }
facekapow/rjst
usr/bin/helloWorldThinscript.js
JavaScript
mit
237
using Microsoft.Xna.Framework; using System; namespace Gem.Engine.AI.Steering { public class Agent { public Agent(Func<Vector2> velocity, Func<Vector2> position) { VelocityProvider = velocity; PositionProvider = position; } internal Func<Vector2> PositionProvider; internal Func<Vector2> VelocityProvider { get; set; } public Vector2 Velocity { get { return VelocityProvider(); } } public Vector2 Position { get { return PositionProvider(); } } public float AlignmentWeight { get; set; } = 1.0f; public float CohesionWeight { get; set; } = 1.0f; public float SeparationWeight { get; set; } = 1.0f; } }
gmich/Gem
Gem.Engine/AI/Steering/Agent.cs
C#
mit
724
using Assets.Scripts.Services; using Parse; using ParseUnitySampleCommon; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.UI; namespace Assets.Scripts.Menus { public class LoggedInState : MonoBehaviour { public Button logoutButton; public Text title; private UserService userService; private MenusController menus; private GameUser user; void Awake() { menus = GetComponentInParent<MenusController>(); userService = FindObjectOfType<UserService>(); logoutButton.onClick.AddListener(Logout); } void OnEnable() { user = (GameUser)ParseUser.CurrentUser; title.text = "Welcome " + user.PlayerName; } private void Logout() { userService.Logout(); menus.States.SetState("Login State"); } } }
mikecann/ParseUnitySampleProject
ParseUnitySampleProject/Assets/Scripts/Menus/LoggedInState.cs
C#
mit
977
/* eslint-disable */ /** ! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.14.1 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of chargrequestAnimationFramee, 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. */ var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'; var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; var timeoutDuration = 0; for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { timeoutDuration = 1; break; } } function microtaskDebounce(fn) { var called = false; return function() { if (called) { return; } called = true; window.Promise.resolve().then(function() { called = false; fn(); }); }; } function taskDebounce(fn) { var scheduled = false; return function() { if (!scheduled) { scheduled = true; setTimeout(function() { scheduled = false; fn(); }, timeoutDuration); } }; } var supportsMicroTasks = isBrowser && window.Promise; /** * Create a debounced version of a method, that's asynchronously deferred * but called in the minimum time possible. * * @method * @memberof Popper.Utils * @argument {Function} fn * @returns {Function} */ var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; /** * Check if the given variable is a function * @method * @memberof Popper.Utils * @argument {Any} functionToCheck - variable to check * @returns {Boolean} answer to: is a function? */ function isFunction(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; } /** * Get CSS computed property of the given element * @method * @memberof Popper.Utils * @argument {Eement} element * @argument {String} property */ function getStyleComputedProperty(element, property) { if (element.nodeType !== 1) { return []; } // NOTE: 1 DOM access here var css = getComputedStyle(element, null); return property ? css[property] : css; } /** * Returns the parentNode or the host of the element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} parent */ function getParentNode(element) { if (element.nodeName === 'HTML') { return element; } return element.parentNode || element.host; } /** * Returns the scrolling parent of the given element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} scroll parent */ function getScrollParent(element) { // Return body, `getScroll` will take care to get the correct `scrollTop` from it if (!element) { return document.body; } switch (element.nodeName) { case 'HTML': case 'BODY': return element.ownerDocument.body; case '#document': return element.body; } // Firefox want us to check `-x` and `-y` variations as well var _getStyleComputedProp = getStyleComputedProperty(element); var overflow = _getStyleComputedProp.overflow; var overflowX = _getStyleComputedProp.overflowX; var overflowY = _getStyleComputedProp.overflowY; if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) { return element; } return getScrollParent(getParentNode(element)); } /** * Tells if you are running Internet Explorer * @method * @memberof Popper.Utils * @argument {number} version to check * @returns {Boolean} isIE */ var cache = {}; var isIE = function() { var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'all'; version = version.toString(); if (cache.hasOwnProperty(version)) { return cache[version]; } switch (version) { case '11': cache[version] = navigator.userAgent.indexOf('Trident') !== -1; break; case '10': cache[version] = navigator.appVersion.indexOf('MSIE 10') !== -1; break; case 'all': cache[version] = navigator.userAgent.indexOf('Trident') !== -1 || navigator.userAgent.indexOf('MSIE') !== -1; break; } // Set IE cache.all = cache.all || Object.keys(cache).some(function(key) { return cache[key]; }); return cache[version]; }; /** * Returns the offset parent of the given element * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} offset parent */ function getOffsetParent(element) { if (!element) { return document.documentElement; } var noOffsetParent = isIE(10) ? document.body : null; // NOTE: 1 DOM access here var offsetParent = element.offsetParent; // Skip hidden elements which don't have an offsetParent while (offsetParent === noOffsetParent && element.nextElementSibling) { offsetParent = (element = element.nextElementSibling).offsetParent; } var nodeName = offsetParent && offsetParent.nodeName; if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { return element ? element.ownerDocument.documentElement : document.documentElement; } // .offsetParent will return the closest TD or TABLE in case // no offsetParent is present, I hate this job... if (['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { return getOffsetParent(offsetParent); } return offsetParent; } function isOffsetContainer(element) { var nodeName = element.nodeName; if (nodeName === 'BODY') { return false; } return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element; } /** * Finds the root node (document, shadowDOM root) of the given element * @method * @memberof Popper.Utils * @argument {Element} node * @returns {Element} root node */ function getRoot(node) { if (node.parentNode !== null) { return getRoot(node.parentNode); } return node; } /** * Finds the offset parent common to the two provided nodes * @method * @memberof Popper.Utils * @argument {Element} element1 * @argument {Element} element2 * @returns {Element} common offset parent */ function findCommonOffsetParent(element1, element2) { // This check is needed to avoid errors in case one of the elements isn't defined for any reason if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) { return document.documentElement; } // Here we make sure to give as "start" the element that comes first in the DOM var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING; var start = order ? element1 : element2; var end = order ? element2 : element1; // Get common ancestor container var range = document.createRange(); range.setStart(start, 0); range.setEnd(end, 0); var commonAncestorContainer = range.commonAncestorContainer; // Both nodes are inside #document if ((element1 !== commonAncestorContainer && element2 !== commonAncestorContainer) || start.contains(end)) { if (isOffsetContainer(commonAncestorContainer)) { return commonAncestorContainer; } return getOffsetParent(commonAncestorContainer); } // one of the nodes is inside shadowDOM, find which one var element1root = getRoot(element1); if (element1root.host) { return findCommonOffsetParent(element1root.host, element2); } else { return findCommonOffsetParent(element1, getRoot(element2).host); } } /** * Gets the scroll value of the given element in the given side (top and left) * @method * @memberof Popper.Utils * @argument {Element} element * @argument {String} side `top` or `left` * @returns {number} amount of scrolled pixels */ function getScroll(element) { var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top'; var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; var nodeName = element.nodeName; if (nodeName === 'BODY' || nodeName === 'HTML') { var html = element.ownerDocument.documentElement; var scrollingElement = element.ownerDocument.scrollingElement || html; return scrollingElement[upperSide]; } return element[upperSide]; } /* * Sum or subtract the element scroll values (left and top) from a given rect object * @method * @memberof Popper.Utils * @param {Object} rect - Rect object you want to change * @param {HTMLElement} element - The element from the function reads the scroll values * @param {Boolean} subtract - set to true if you want to subtract the scroll values * @return {Object} rect - The modifier rect object */ function includeScroll(rect, element) { var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var scrollTop = getScroll(element, 'top'); var scrollLeft = getScroll(element, 'left'); var modifier = subtract ? -1 : 1; rect.top += scrollTop * modifier; rect.bottom += scrollTop * modifier; rect.left += scrollLeft * modifier; rect.right += scrollLeft * modifier; return rect; } /* * Helper to detect borders of a given element * @method * @memberof Popper.Utils * @param {CSSStyleDeclaration} styles * Result of `getStyleComputedProperty` on the given element * @param {String} axis - `x` or `y` * @return {number} borders - The borders size of the given axis */ function getBordersSize(styles, axis) { var sideA = axis === 'x' ? 'Left' : 'Top'; var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10); } function getSize(axis, body, html, computedStyle) { return Math.max( body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? html['offset' + axis] + computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')] + computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')] : 0 ); } function getWindowSizes() { var body = document.body; var html = document.documentElement; var computedStyle = isIE(10) && getComputedStyle(html); return { height: getSize('Height', body, html, computedStyle), width: getSize('Width', body, html, computedStyle) }; } var classCallCheck = function(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }; var createClass = (function() { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function(Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); var defineProperty = function(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }; var _extends = Object.assign || function(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /** * Given element offsets, generate an output similar to getBoundingClientRect * @method * @memberof Popper.Utils * @argument {Object} offsets * @returns {Object} ClientRect like output */ function getClientRect(offsets) { return _extends({}, offsets, { right: offsets.left + offsets.width, bottom: offsets.top + offsets.height }); } /** * Get bounding client rect of given element * @method * @memberof Popper.Utils * @param {HTMLElement} element * @return {Object} client rect */ function getBoundingClientRect(element) { var rect = {}; // IE10 10 FIX: Please, don't ask, the element isn't // considered in DOM in some circumstances... // This isn't reproducible in IE10 compatibility mode of IE11 try { if (isIE(10)) { rect = element.getBoundingClientRect(); var scrollTop = getScroll(element, 'top'); var scrollLeft = getScroll(element, 'left'); rect.top += scrollTop; rect.left += scrollLeft; rect.bottom += scrollTop; rect.right += scrollLeft; } else { rect = element.getBoundingClientRect(); } } catch (e) {} var result = { left: rect.left, top: rect.top, width: rect.right - rect.left, height: rect.bottom - rect.top }; // subtract scrollbar size from sizes var sizes = element.nodeName === 'HTML' ? getWindowSizes() : {}; var width = sizes.width || element.clientWidth || result.right - result.left; var height = sizes.height || element.clientHeight || result.bottom - result.top; var horizScrollbar = element.offsetWidth - width; var vertScrollbar = element.offsetHeight - height; // if an hypothetical scrollbar is detected, we must be sure it's not a `border` // we make this check conditional for performance reasons if (horizScrollbar || vertScrollbar) { var styles = getStyleComputedProperty(element); horizScrollbar -= getBordersSize(styles, 'x'); vertScrollbar -= getBordersSize(styles, 'y'); result.width -= horizScrollbar; result.height -= vertScrollbar; } return getClientRect(result); } function getOffsetRectRelativeToArbitraryNode(children, parent) { var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; var isIE10 = isIE(10); var isHTML = parent.nodeName === 'HTML'; var childrenRect = getBoundingClientRect(children); var parentRect = getBoundingClientRect(parent); var scrollParent = getScrollParent(children); var styles = getStyleComputedProperty(parent); var borderTopWidth = parseFloat(styles.borderTopWidth, 10); var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); // In cases where the parent is fixed, we must ignore negative scroll in offset calc if (fixedPosition && parent.nodeName === 'HTML') { parentRect.top = Math.max(parentRect.top, 0); parentRect.left = Math.max(parentRect.left, 0); } var offsets = getClientRect({ top: childrenRect.top - parentRect.top - borderTopWidth, left: childrenRect.left - parentRect.left - borderLeftWidth, width: childrenRect.width, height: childrenRect.height }); offsets.marginTop = 0; offsets.marginLeft = 0; // Subtract margins of documentElement in case it's being used as parent // we do this only on HTML because it's the only element that behaves // differently when margins are applied to it. The margins are included in // the box of the documentElement, in the other cases not. if (!isIE10 && isHTML) { var marginTop = parseFloat(styles.marginTop, 10); var marginLeft = parseFloat(styles.marginLeft, 10); offsets.top -= borderTopWidth - marginTop; offsets.bottom -= borderTopWidth - marginTop; offsets.left -= borderLeftWidth - marginLeft; offsets.right -= borderLeftWidth - marginLeft; // Attach marginTop and marginLeft because in some circumstances we may need them offsets.marginTop = marginTop; offsets.marginLeft = marginLeft; } // console.log(scrollParent, parent) if ( isIE10 && !fixedPosition ? parent.contains(scrollParent) : ((parent.contains(scrollParent) && parent.nodeName !== 'HTML') || parent === scrollParent) && scrollParent.nodeName !== 'BODY' ) { offsets = includeScroll(offsets, parent); } return offsets; } function getViewportOffsetRectRelativeToArtbitraryNode(element) { var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var html = element.ownerDocument.documentElement; var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html); var width = Math.max(html.clientWidth, window.innerWidth || 0); var height = Math.max(html.clientHeight, window.innerHeight || 0); var scrollTop = !excludeScroll ? getScroll(html) : 0; var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0; var offset = { top: scrollTop - relativeOffset.top + relativeOffset.marginTop, left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft, width: width, height: height }; return getClientRect(offset); } /** * Check if the given element is fixed or is inside a fixed parent * @method * @memberof Popper.Utils * @argument {Element} element * @argument {Element} customContainer * @returns {Boolean} answer to "isFixed?" */ function isFixed(element) { var nodeName = element.nodeName; if (nodeName === 'BODY' || nodeName === 'HTML') { return false; } if (getStyleComputedProperty(element, 'position') === 'fixed') { return true; } return isFixed(getParentNode(element)); } /** * Finds the first parent of an element that has a transformed property defined * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Element} first transformed parent or documentElement */ function getFixedPositionOffsetParent(element) { // This check is needed to avoid errors in case one of the elements isn't defined for any reason if (!element || !element.parentElement || isIE()) { return document.documentElement; } var el = element.parentElement; while (el && getStyleComputedProperty(el, 'transform') === 'none') { el = el.parentElement; } return el || document.documentElement; } /** * Computed the boundaries limits and return them * @method * @memberof Popper.Utils * @param {HTMLElement} popper * @param {HTMLElement} reference * @param {number} padding * @param {HTMLElement} boundariesElement - Element used to define the boundaries * @param {Boolean} fixedPosition - Is in fixed position mode * @returns {Object} Coordinates of the boundaries */ function getBoundaries(popper, reference, padding, boundariesElement) { var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; // NOTE: 1 DOM access here var boundaries = { top: 0, left: 0 }; var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); // Handle viewport case if (boundariesElement === 'viewport') { boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition); } else { // Handle other cases based on DOM element used as boundaries var boundariesNode = void 0; if (boundariesElement === 'scrollParent') { boundariesNode = getScrollParent(getParentNode(reference)); if (boundariesNode.nodeName === 'BODY') { boundariesNode = popper.ownerDocument.documentElement; } } else if (boundariesElement === 'window') { boundariesNode = popper.ownerDocument.documentElement; } else { boundariesNode = boundariesElement; } var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition); // In case of HTML, we need a different computation if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { var _getWindowSizes = getWindowSizes(); var height = _getWindowSizes.height; var width = _getWindowSizes.width; boundaries.top += offsets.top - offsets.marginTop; boundaries.bottom = height + offsets.top; boundaries.left += offsets.left - offsets.marginLeft; boundaries.right = width + offsets.left; } else { // for all the other DOM elements, this one is good boundaries = offsets; } } // Add paddings boundaries.left += padding; boundaries.top += padding; boundaries.right -= padding; boundaries.bottom -= padding; return boundaries; } function getArea(_ref) { var width = _ref.width; var height = _ref.height; return width * height; } /** * Utility used to transform the `auto` placement to the placement with more * available space. * @method * @memberof Popper.Utils * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) { var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0; if (placement.indexOf('auto') === -1) { return placement; } var boundaries = getBoundaries(popper, reference, padding, boundariesElement); var rects = { top: { width: boundaries.width, height: refRect.top - boundaries.top }, right: { width: boundaries.right - refRect.right, height: boundaries.height }, bottom: { width: boundaries.width, height: boundaries.bottom - refRect.bottom }, left: { width: refRect.left - boundaries.left, height: boundaries.height } }; var sortedAreas = Object.keys(rects) .map(function(key) { return _extends( { key: key }, rects[key], { area: getArea(rects[key]) } ); }) .sort(function(a, b) { return b.area - a.area; }); var filteredAreas = sortedAreas.filter(function(_ref2) { var width = _ref2.width; var height = _ref2.height; return width >= popper.clientWidth && height >= popper.clientHeight; }); var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key; var variation = placement.split('-')[1]; return computedPlacement + (variation ? '-' + variation : ''); } /** * Get offsets to the reference element * @method * @memberof Popper.Utils * @param {Object} state * @param {Element} popper - the popper element * @param {Element} reference - the reference element (the popper will be relative to this) * @param {Element} fixedPosition - is in fixed position mode * @returns {Object} An object containing the offsets which will be applied to the popper */ function getReferenceOffsets(state, popper, reference) { var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition); } /** * Get the outer sizes of the given element (offset size + margins) * @method * @memberof Popper.Utils * @argument {Element} element * @returns {Object} object containing width and height properties */ function getOuterSizes(element) { var styles = getComputedStyle(element); var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom); var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight); var result = { width: element.offsetWidth + y, height: element.offsetHeight + x }; return result; } /** * Get the opposite placement of the given one * @method * @memberof Popper.Utils * @argument {String} placement * @returns {String} flipped placement */ function getOppositePlacement(placement) { var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; return placement.replace(/left|right|bottom|top/g, function(matched) { return hash[matched]; }); } /** * Get offsets to the popper * @method * @memberof Popper.Utils * @param {Object} position - CSS position the Popper will get applied * @param {HTMLElement} popper - the popper element * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this) * @param {String} placement - one of the valid placement options * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper */ function getPopperOffsets(popper, referenceOffsets, placement) { placement = placement.split('-')[0]; // Get popper node sizes var popperRect = getOuterSizes(popper); // Add position, width and height to our offsets object var popperOffsets = { width: popperRect.width, height: popperRect.height }; // depending by the popper placement we have to compute its offsets slightly differently var isHoriz = ['right', 'left'].indexOf(placement) !== -1; var mainSide = isHoriz ? 'top' : 'left'; var secondarySide = isHoriz ? 'left' : 'top'; var measurement = isHoriz ? 'height' : 'width'; var secondaryMeasurement = !isHoriz ? 'height' : 'width'; popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2; if (placement === secondarySide) { popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement]; } else { popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)]; } return popperOffsets; } /** * Mimics the `find` method of Array * @method * @memberof Popper.Utils * @argument {Array} arr * @argument prop * @argument value * @returns index or -1 */ function find(arr, check) { // use native find if supported if (Array.prototype.find) { return arr.find(check); } // use `filter` to obtain the same behavior of `find` return arr.filter(check)[0]; } /** * Return the index of the matching object * @method * @memberof Popper.Utils * @argument {Array} arr * @argument prop * @argument value * @returns index or -1 */ function findIndex(arr, prop, value) { // use native findIndex if supported if (Array.prototype.findIndex) { return arr.findIndex(function(cur) { return cur[prop] === value; }); } // use `find` + `indexOf` if `findIndex` isn't supported var match = find(arr, function(obj) { return obj[prop] === value; }); return arr.indexOf(match); } /** * Loop trough the list of modifiers and run them in order, * each of them will then edit the data object. * @method * @memberof Popper.Utils * @param {dataObject} data * @param {Array} modifiers * @param {String} ends - Optional modifier name used as stopper * @returns {dataObject} */ function runModifiers(modifiers, data, ends) { var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends)); modifiersToRun.forEach(function(modifier) { if (modifier['function']) { // eslint-disable-line dot-notation console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); } var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation if (modifier.enabled && isFunction(fn)) { // Add properties to offsets to make them a complete clientRect object // we do this before each modifier to make sure the previous one doesn't // mess with these values data.offsets.popper = getClientRect(data.offsets.popper); data.offsets.reference = getClientRect(data.offsets.reference); data = fn(data, modifier); } }); return data; } /** * Updates the options of Popper * @method * @memberof Popper */ function updateModifiers() { if (this.state.isDestroyed) { return; } // Deep merge modifiers options let options = this.defaultOptions; this.options.modifiers = {}; const _this = this; Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function(name) { _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); }); // Refactoring modifiers' list (Object => Array) this.modifiers = Object.keys(this.options.modifiers) .map(function(name) { return _extends( { name: name }, _this.options.modifiers[name] ); }) // sort the modifiers by order .sort(function(a, b) { return a.order - b.order; }); // modifiers have the ability to execute arbitrary code when Popper.js get inited // such code is executed in the same order of its modifier // they could add new properties to their options configuration // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`! this.modifiers.forEach(function(modifierOptions) { if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) { modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state); } }); } /** * Updates the position of the popper, computing the new offsets and applying * the new style.<br /> * Prefer `scheduleUpdate` over `update` because of performance reasons. * @method * @memberof Popper */ function update() { // if popper is destroyed, don't perform any further update if (this.state.isDestroyed) { return; } var data = { instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: false, offsets: {} }; // compute reference element offsets data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed); // compute auto placement, store placement inside the data object, // modifiers will be able to edit `placement` if needed // and refer to originalPlacement to know the original value data.placement = computeAutoPlacement( this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding ); // store the computed placement inside `originalPlacement` data.originalPlacement = data.placement; data.positionFixed = this.options.positionFixed; // compute the popper offsets data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; // run the modifiers data = runModifiers(this.modifiers, data); // the first `update` will call `onCreate` callback // the other ones will call `onUpdate` callback if (!this.state.isCreated) { this.state.isCreated = true; this.options.onCreate(data); } else { this.options.onUpdate(data); } } /** * Helper used to know if the given modifier is enabled. * @method * @memberof Popper.Utils * @returns {Boolean} */ function isModifierEnabled(modifiers, modifierName) { return modifiers.some(function(_ref) { var name = _ref.name; var enabled = _ref.enabled; return enabled && name === modifierName; }); } /** * Get the prefixed supported property name * @method * @memberof Popper.Utils * @argument {String} property (camelCase) * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) */ function getSupportedPropertyName(property) { var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; var upperProp = property.charAt(0).toUpperCase() + property.slice(1); for (var i = 0; i < prefixes.length; i++) { var prefix = prefixes[i]; var toCheck = prefix ? '' + prefix + upperProp : property; if (typeof document.body.style[toCheck] !== 'undefined') { return toCheck; } } return null; } /** * Destroy the popper * @method * @memberof Popper */ function destroy() { this.state.isDestroyed = true; // touch DOM only if `applyStyle` modifier is enabled if (isModifierEnabled(this.modifiers, 'applyStyle')) { this.popper.removeAttribute('x-placement'); this.popper.style.position = ''; this.popper.style.top = ''; this.popper.style.left = ''; this.popper.style.right = ''; this.popper.style.bottom = ''; this.popper.style.willChange = ''; this.popper.style[getSupportedPropertyName('transform')] = ''; } this.disableEventListeners(); // remove the popper if user explicity asked for the deletion on destroy // do not use `remove` because IE11 doesn't support it if (this.options.removeOnDestroy) { this.popper.parentNode.removeChild(this.popper); } return this; } /** * Get the window associated with the element * @argument {Element} element * @returns {Window} */ function getWindow(element) { var ownerDocument = element.ownerDocument; return ownerDocument ? ownerDocument.defaultView : window; } function attachToScrollParents(scrollParent, event, callback, scrollParents) { var isBody = scrollParent.nodeName === 'BODY'; var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent; target.addEventListener(event, callback, { passive: true, capture: true }); if (!isBody) { attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents); } scrollParents.push(target); } /** * Setup needed event listeners used to update the popper position * @method * @memberof Popper.Utils * @private */ function setupEventListeners(reference, options, state, updateBound) { // Resize event listener on window state.updateBound = updateBound; getWindow(reference).addEventListener('resize', state.updateBound, { passive: true }); // Scroll event listener on scroll parents var scrollElement = getScrollParent(reference); attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents); state.scrollElement = scrollElement; state.eventsEnabled = true; return state; } /** * It will add resize/scroll events and start recalculating * position of the popper element when they are triggered. * @method * @memberof Popper */ function enableEventListeners() { if (!this.state.eventsEnabled) { this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate); } } /** * Remove event listeners used to update the popper position * @method * @memberof Popper.Utils * @private */ function removeEventListeners(reference, state) { // Remove resize event listener on window getWindow(reference).removeEventListener('resize', state.updateBound); // Remove scroll event listener on scroll parents state.scrollParents.forEach(function(target) { target.removeEventListener('scroll', state.updateBound); }); // Reset state state.updateBound = null; state.scrollParents = []; state.scrollElement = null; state.eventsEnabled = false; return state; } /** * It will remove resize/scroll events and won't recalculate popper position * when they are triggered. It also won't trigger onUpdate callback anymore, * unless you call `update` method manually. * @method * @memberof Popper */ function disableEventListeners() { if (this.state.eventsEnabled) { if (window.cancelAnimationFrame) { cancelAnimationFrame(this.scheduleUpdate); } this.state = removeEventListeners(this.reference, this.state); } } /** * Tells if a given input is a number * @method * @memberof Popper.Utils * @param {*} input to check * @return {Boolean} */ function isNumeric(n) { return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); } /** * Set the style to the given popper * @method * @memberof Popper.Utils * @argument {Element} element - Element to apply the style to * @argument {Object} styles * Object with a list of properties and values which will be applied to the element */ function setStyles(element, styles) { Object.keys(styles).forEach(function(prop) { var unit = ''; // add unit if the value is numeric and is one of the following if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) { unit = 'px'; } element.style[prop] = styles[prop] + unit; }); } /** * Set the attributes to the given popper * @method * @memberof Popper.Utils * @argument {Element} element - Element to apply the attributes to * @argument {Object} styles * Object with a list of properties and values which will be applied to the element */ function setAttributes(element, attributes) { Object.keys(attributes).forEach(function(prop) { var value = attributes[prop]; if (value !== false) { element.setAttribute(prop, attributes[prop]); } else { element.removeAttribute(prop); } }); } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} data.styles - List of style properties - values to apply to popper element * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element * @argument {Object} options - Modifiers configuration and options * @returns {Object} The same data object */ function applyStyle(data) { // any property present in `data.styles` will be applied to the popper, // in this way we can make the 3rd party modifiers add custom styles to it // Be aware, modifiers could override the properties defined in the previous // lines of this modifier! setStyles(data.instance.popper, data.styles); // any property present in `data.attributes` will be applied to the popper, // they will be set as HTML attributes of the element setAttributes(data.instance.popper, data.attributes); // if arrowElement is defined and arrowStyles has some properties if (data.arrowElement && Object.keys(data.arrowStyles).length) { setStyles(data.arrowElement, data.arrowStyles); } return data; } /** * Set the x-placement attribute before everything else because it could be used * to add margins to the popper margins needs to be calculated to get the * correct popper offsets. * @method * @memberof Popper.modifiers * @param {HTMLElement} reference - The reference element used to position the popper * @param {HTMLElement} popper - The HTML element used as popper * @param {Object} options - Popper.js options */ function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { // compute reference element offsets var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed); // compute auto placement, store placement inside the data object, // modifiers will be able to edit `placement` if needed // and refer to originalPlacement to know the original value var placement = computeAutoPlacement( options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding ); popper.setAttribute('x-placement', placement); // Apply `position` to popper before anything else because // without the position applied we can't guarantee correct computations setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' }); return options; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function computeStyle(data, options) { var x = options.x; var y = options.y; var popper = data.offsets.popper; // Remove this legacy support in Popper.js v2 var legacyGpuAccelerationOption = find(data.instance.modifiers, function(modifier) { return modifier.name === 'applyStyle'; }).gpuAcceleration; if (legacyGpuAccelerationOption !== undefined) { console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); } var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration; var offsetParent = getOffsetParent(data.instance.popper); var offsetParentRect = getBoundingClientRect(offsetParent); // Styles var styles = { position: popper.position }; // floor sides to avoid blurry text var offsets = { left: Math.floor(popper.left), top: Math.floor(popper.top), bottom: Math.floor(popper.bottom), right: Math.floor(popper.right) }; var sideA = x === 'bottom' ? 'top' : 'bottom'; var sideB = y === 'right' ? 'left' : 'right'; // if gpuAcceleration is set to `true` and transform is supported, // we use `translate3d` to apply the position to the popper we // automatically use the supported prefixed version if needed var prefixedProperty = getSupportedPropertyName('transform'); // now, let's make a step back and look at this code closely (wtf?) // If the content of the popper grows once it's been positioned, it // may happen that the popper gets misplaced because of the new content // overflowing its reference element // To avoid this problem, we provide two options (x and y), which allow // the consumer to define the offset origin. // If we position a popper on top of a reference element, we can set // `x` to `top` to make the popper grow towards its top instead of // its bottom. var left = void 0; var top = void 0; if (sideA === 'bottom') { top = -offsetParentRect.height + offsets.bottom; } else { top = offsets.top; } if (sideB === 'right') { left = -offsetParentRect.width + offsets.right; } else { left = offsets.left; } if (gpuAcceleration && prefixedProperty) { styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; styles[sideA] = 0; styles[sideB] = 0; styles.willChange = 'transform'; } else { // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties var invertTop = sideA === 'bottom' ? -1 : 1; var invertLeft = sideB === 'right' ? -1 : 1; styles[sideA] = top * invertTop; styles[sideB] = left * invertLeft; styles.willChange = sideA + ', ' + sideB; } // Attributes var attributes = { 'x-placement': data.placement }; // Update `data` attributes, styles and arrowStyles data.attributes = _extends({}, attributes, data.attributes); data.styles = _extends({}, styles, data.styles); data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles); return data; } /** * Helper used to know if the given modifier depends from another one.<br /> * It checks if the needed modifier is listed and enabled. * @method * @memberof Popper.Utils * @param {Array} modifiers - list of modifiers * @param {String} requestingName - name of requesting modifier * @param {String} requestedName - name of requested modifier * @returns {Boolean} */ function isModifierRequired(modifiers, requestingName, requestedName) { var requesting = find(modifiers, function(_ref) { var name = _ref.name; return name === requestingName; }); var isRequired = !!requesting && modifiers.some(function(modifier) { return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order; }); if (!isRequired) { var _requesting = '`' + requestingName + '`'; var requested = '`' + requestedName + '`'; console.warn( requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!' ); } return isRequired; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function arrow(data, options) { var _data$offsets$arrow; // arrow depends on keepTogether in order to work if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) { return data; } var arrowElement = options.element; // if arrowElement is a string, suppose it's a CSS selector if (typeof arrowElement === 'string') { arrowElement = data.instance.popper.querySelector(arrowElement); // if arrowElement is not found, don't run the modifier if (!arrowElement) { return data; } } else { // if the arrowElement isn't a query selector we must check that the // provided DOM node is child of its popper node if (!data.instance.popper.contains(arrowElement)) { console.warn('WARNING: `arrow.element` must be child of its popper element!'); return data; } } var placement = data.placement.split('-')[0]; var _data$offsets = data.offsets; var popper = _data$offsets.popper; var reference = _data$offsets.reference; var isVertical = ['left', 'right'].indexOf(placement) !== -1; var len = isVertical ? 'height' : 'width'; var sideCapitalized = isVertical ? 'Top' : 'Left'; var side = sideCapitalized.toLowerCase(); var altSide = isVertical ? 'left' : 'top'; var opSide = isVertical ? 'bottom' : 'right'; var arrowElementSize = getOuterSizes(arrowElement)[len]; // // extends keepTogether behavior making sure the popper and its // reference have enough pixels in conjuction // // top/left side if (reference[opSide] - arrowElementSize < popper[side]) { data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize); } // bottom/right side if (reference[side] + arrowElementSize > popper[opSide]) { data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide]; } data.offsets.popper = getClientRect(data.offsets.popper); // compute center of the popper var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; // Compute the sideValue using the updated popper offsets // take popper margin in account because we don't have this info available var css = getStyleComputedProperty(data.instance.popper); var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10); var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10); var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; // prevent arrowElement from being placed not contiguously to its popper sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0); data.arrowElement = arrowElement; data.offsets.arrow = ((_data$offsets$arrow = {}), defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow); return data; } /** * Get the opposite placement variation of the given one * @method * @memberof Popper.Utils * @argument {String} placement variation * @returns {String} flipped placement variation */ function getOppositeVariation(variation) { if (variation === 'end') { return 'start'; } else if (variation === 'start') { return 'end'; } return variation; } /** * List of accepted placements to use as values of the `placement` option.<br /> * Valid placements are: * - `auto` * - `top` * - `right` * - `bottom` * - `left` * * Each placement can have a variation from this list: * - `-start` * - `-end` * * Variations are interpreted easily if you think of them as the left to right * written languages. Horizontally (`top` and `bottom`), `start` is left and `end` * is right.<br /> * Vertically (`left` and `right`), `start` is top and `end` is bottom. * * Some valid examples are: * - `top-end` (on top of reference, right aligned) * - `right-start` (on right of reference, top aligned) * - `bottom` (on bottom, centered) * - `auto-right` (on the side with more space available, alignment depends by placement) * * @static * @type {Array} * @enum {String} * @readonly * @method placements * @memberof Popper */ var placements = [ 'auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start' ]; // Get rid of `auto` `auto-start` and `auto-end` var validPlacements = placements.slice(3); /** * Given an initial placement, returns all the subsequent placements * clockwise (or counter-clockwise). * * @method * @memberof Popper.Utils * @argument {String} placement - A valid placement (it accepts variations) * @argument {Boolean} counter - Set to true to walk the placements counterclockwise * @returns {Array} placements including their variations */ function clockwise(placement) { var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var index = validPlacements.indexOf(placement); var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index)); return counter ? arr.reverse() : arr; } var BEHAVIORS = { FLIP: 'flip', CLOCKWISE: 'clockwise', COUNTERCLOCKWISE: 'counterclockwise' }; /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function flip(data, options) { // if `inner` modifier is enabled, we can't use the `flip` modifier if (isModifierEnabled(data.instance.modifiers, 'inner')) { return data; } if (data.flipped && data.placement === data.originalPlacement) { // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides return data; } var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement); var placement = data.placement.split('-')[0]; var placementOpposite = getOppositePlacement(placement); var variation = data.placement.split('-')[1] || ''; var flipOrder = []; switch (options.behavior) { case BEHAVIORS.FLIP: flipOrder = [placement, placementOpposite]; break; case BEHAVIORS.CLOCKWISE: flipOrder = clockwise(placement); break; case BEHAVIORS.COUNTERCLOCKWISE: flipOrder = clockwise(placement, true); break; default: flipOrder = options.behavior; } flipOrder.forEach(function(step, index) { if (placement !== step || flipOrder.length === index + 1) { return data; } placement = data.placement.split('-')[0]; placementOpposite = getOppositePlacement(placement); var popperOffsets = data.offsets.popper; var refOffsets = data.offsets.reference; // using floor because the reference offsets may contain decimals we are not going to consider here var floor = Math.floor; var overlapsRef = (placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left)) || (placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right)) || (placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top)) || (placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom)); var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left); var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right); var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top); var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom); var overflowsBoundaries = (placement === 'left' && overflowsLeft) || (placement === 'right' && overflowsRight) || (placement === 'top' && overflowsTop) || (placement === 'bottom' && overflowsBottom); // flip the variation if required var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; var flippedVariation = !!options.flipVariations && ((isVertical && variation === 'start' && overflowsLeft) || (variation === 'start' && !overflowsLeft && overflowsRight) || (isVertical && variation === 'end' && overflowsRight) || (!isVertical && variation === 'start' && overflowsTop) || (!isVertical && variation === 'end' && overflowsBottom)); if (overlapsRef || overflowsBoundaries || flippedVariation) { // this boolean to detect any flip loop data.flipped = true; if (overlapsRef || overflowsBoundaries) { placement = flipOrder[index + 1]; } if (flippedVariation) { variation = getOppositeVariation(variation); } data.placement = placement + (variation ? '-' + variation : ''); // this object contains `position`, we want to preserve it along with // any additional property we may add in the future data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); data = runModifiers(data.instance.modifiers, data, 'flip'); } }); return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function keepTogether(data) { var _data$offsets = data.offsets; var popper = _data$offsets.popper; var reference = _data$offsets.reference; var placement = data.placement.split('-')[0]; var floor = Math.floor; var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; var side = isVertical ? 'right' : 'bottom'; var opSide = isVertical ? 'left' : 'top'; var measurement = isVertical ? 'width' : 'height'; if (popper[side] < floor(reference[opSide])) { data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement]; } if (popper[opSide] > floor(reference[side])) { data.offsets.popper[opSide] = floor(reference[side]); } return data; } /** * Converts a string containing value + unit into a px value number * @function * @memberof {modifiers~offset} * @private * @argument {String} str - Value + unit string * @argument {String} measurement - `height` or `width` * @argument {Object} popperOffsets * @argument {Object} referenceOffsets * @returns {Number|String} * Value in pixels, or original string if no values were extracted */ function toValue(str, measurement, popperOffsets, referenceOffsets) { // separate value from unit var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/); var value = +split[1]; var unit = split[2]; // If it's not a number it's an operator, I guess if (!value) { return str; } if (unit.indexOf('%') === 0) { var element = void 0; switch (unit) { case '%p': element = popperOffsets; break; case '%': case '%r': default: element = referenceOffsets; } var rect = getClientRect(element); return (rect[measurement] / 100) * value; } else if (unit === 'vh' || unit === 'vw') { // if is a vh or vw, we calculate the size based on the viewport var size = void 0; if (unit === 'vh') { size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); } else { size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); } return (size / 100) * value; } else { // if is an explicit pixel unit, we get rid of the unit and keep the value // if is an implicit unit, it's px, and we return just the value return value; } } /** * Parse an `offset` string to extrapolate `x` and `y` numeric offsets. * @function * @memberof {modifiers~offset} * @private * @argument {String} offset * @argument {Object} popperOffsets * @argument {Object} referenceOffsets * @argument {String} basePlacement * @returns {Array} a two cells array with x and y offsets in numbers */ function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { var offsets = [0, 0]; // Use height if placement is left or right and index is 0 otherwise use width // in this way the first offset will use an axis and the second one // will use the other one var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; // Split the offset string to obtain a list of values and operands // The regex addresses values with the plus or minus sign in front (+10, -20, etc) var fragments = offset.split(/(\+|\-)/).map(function(frag) { return frag.trim(); }); // Detect if the offset string contains a pair of values or a single one // they could be separated by comma or space var divider = fragments.indexOf( find(fragments, function(frag) { return frag.search(/,|\s/) !== -1; }) ); if (fragments[divider] && fragments[divider].indexOf(',') === -1) { console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); } // If divider is found, we divide the list of values and operands to divide // them by ofset X and Y. var splitRegex = /\s*,\s*|\s+/; var ops = divider !== -1 ? [ fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1)) ] : [fragments]; // Convert the values with units to absolute pixels to allow our computations ops = ops.map(function(op, index) { // Most of the units rely on the orientation of the popper var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width'; var mergeWithPrevious = false; return ( op // This aggregates any `+` or `-` sign that aren't considered operators // e.g.: 10 + +5 => [10, +, +5] .reduce(function(a, b) { if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) { a[a.length - 1] = b; mergeWithPrevious = true; return a; } else if (mergeWithPrevious) { a[a.length - 1] += b; mergeWithPrevious = false; return a; } else { return a.concat(b); } }, []) // Here we convert the string values into number values (in px) .map(function(str) { return toValue(str, measurement, popperOffsets, referenceOffsets); }) ); }); // Loop trough the offsets arrays and execute the operations ops.forEach(function(op, index) { op.forEach(function(frag, index2) { if (isNumeric(frag)) { offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); } }); }); return offsets; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @argument {Number|String} options.offset=0 * The offset value as described in the modifier description * @returns {Object} The data object, properly modified */ function offset(data, _ref) { var offset = _ref.offset; var placement = data.placement; var _data$offsets = data.offsets; var popper = _data$offsets.popper; var reference = _data$offsets.reference; var basePlacement = placement.split('-')[0]; var offsets = void 0; if (isNumeric(+offset)) { offsets = [+offset, 0]; } else { offsets = parseOffset(offset, popper, reference, basePlacement); } if (basePlacement === 'left') { popper.top += offsets[0]; popper.left -= offsets[1]; } else if (basePlacement === 'right') { popper.top += offsets[0]; popper.left += offsets[1]; } else if (basePlacement === 'top') { popper.left += offsets[0]; popper.top -= offsets[1]; } else if (basePlacement === 'bottom') { popper.left += offsets[0]; popper.top += offsets[1]; } data.popper = popper; return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function preventOverflow(data, options) { var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); // If offsetParent is the reference element, we really want to // go one step up and use the next offsetParent as reference to // avoid to make this modifier completely useless and look like broken if (data.instance.reference === boundariesElement) { boundariesElement = getOffsetParent(boundariesElement); } var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed); options.boundaries = boundaries; var order = options.priority; var popper = data.offsets.popper; var check = { primary: function primary(placement) { var value = popper[placement]; if (popper[placement] < boundaries[placement] && !options.escapeWithReference) { value = Math.max(popper[placement], boundaries[placement]); } return defineProperty({}, placement, value); }, secondary: function secondary(placement) { var mainSide = placement === 'right' ? 'left' : 'top'; var value = popper[mainSide]; if (popper[placement] > boundaries[placement] && !options.escapeWithReference) { value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height)); } return defineProperty({}, mainSide, value); } }; order.forEach(function(placement) { var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; popper = _extends({}, popper, check[side](placement)); }); data.offsets.popper = popper; return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function shift(data) { var placement = data.placement; var basePlacement = placement.split('-')[0]; var shiftvariation = placement.split('-')[1]; // if shift shiftvariation is specified, run the modifier if (shiftvariation) { var _data$offsets = data.offsets; var reference = _data$offsets.reference; var popper = _data$offsets.popper; var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; var side = isVertical ? 'left' : 'top'; var measurement = isVertical ? 'width' : 'height'; var shiftOffsets = { start: defineProperty({}, side, reference[side]), end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement]) }; data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]); } return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by update method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function hide(data) { if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) { return data; } var refRect = data.offsets.reference; var bound = find(data.instance.modifiers, function(modifier) { return modifier.name === 'preventOverflow'; }).boundaries; if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) { // Avoid unnecessary DOM access if visibility hasn't changed if (data.hide === true) { return data; } data.hide = true; data.attributes['x-out-of-boundaries'] = ''; } else { // Avoid unnecessary DOM access if visibility hasn't changed if (data.hide === false) { return data; } data.hide = false; data.attributes['x-out-of-boundaries'] = false; } return data; } /** * @function * @memberof Modifiers * @argument {Object} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {Object} The data object, properly modified */ function inner(data) { var placement = data.placement; var basePlacement = placement.split('-')[0]; var _data$offsets = data.offsets; var popper = _data$offsets.popper; var reference = _data$offsets.reference; var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); data.placement = getOppositePlacement(placement); data.offsets.popper = getClientRect(popper); return data; } /** * Modifier function, each modifier can have a function of this type assigned * to its `fn` property.<br /> * These functions will be called on each update, this means that you must * make sure they are performant enough to avoid performance bottlenecks. * * @function ModifierFn * @argument {dataObject} data - The data object generated by `update` method * @argument {Object} options - Modifiers configuration and options * @returns {dataObject} The data object, properly modified */ /** * Modifiers are plugins used to alter the behavior of your poppers.<br /> * Popper.js uses a set of 9 modifiers to provide all the basic functionalities * needed by the library. * * Usually you don't want to override the `order`, `fn` and `onLoad` props. * All the other properties are configurations that could be tweaked. * @namespace modifiers */ var modifiers = { /** * Modifier used to shift the popper on the start or end of its reference * element.<br /> * It will read the variation of the `placement` property.<br /> * It can be one either `-end` or `-start`. * @memberof modifiers * @inner */ shift: { /** @prop {number} order=100 - Index used to define the order of execution */ order: 100, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: shift }, /** * The `offset` modifier can shift your popper on both its axis. * * It accepts the following units: * - `px` or unitless, interpreted as pixels * - `%` or `%r`, percentage relative to the length of the reference element * - `%p`, percentage relative to the length of the popper element * - `vw`, CSS viewport width unit * - `vh`, CSS viewport height unit * * For length is intended the main axis relative to the placement of the popper.<br /> * This means that if the placement is `top` or `bottom`, the length will be the * `width`. In case of `left` or `right`, it will be the height. * * You can provide a single value (as `Number` or `String`), or a pair of values * as `String` divided by a comma or one (or more) white spaces.<br /> * The latter is a deprecated method because it leads to confusion and will be * removed in v2.<br /> * Additionally, it accepts additions and subtractions between different units. * Note that multiplications and divisions aren't supported. * * Valid examples are: * ``` * 10 * '10%' * '10, 10' * '10%, 10' * '10 + 10%' * '10 - 5vh + 3%' * '-10px + 5vh, 5px - 6%' * ``` * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap * > with their reference element, unfortunately, you will have to disable the `flip` modifier. * > More on this [reading this issue](https://github.com/FezVrasta/popper.js/issues/373) * * @memberof modifiers * @inner */ offset: { /** @prop {number} order=200 - Index used to define the order of execution */ order: 200, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: offset, /** @prop {Number|String} offset=0 * The offset value as described in the modifier description */ offset: 0 }, /** * Modifier used to prevent the popper from being positioned outside the boundary. * * An scenario exists where the reference itself is not within the boundaries.<br /> * We can say it has "escaped the boundaries" — or just "escaped".<br /> * In this case we need to decide whether the popper should either: * * - detach from the reference and remain "trapped" in the boundaries, or * - if it should ignore the boundary and "escape with its reference" * * When `escapeWithReference` is set to`true` and reference is completely * outside its boundaries, the popper will overflow (or completely leave) * the boundaries in order to remain attached to the edge of the reference. * * @memberof modifiers * @inner */ preventOverflow: { /** @prop {number} order=300 - Index used to define the order of execution */ order: 300, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: preventOverflow, /** * @prop {Array} [priority=['left','right','top','bottom']] * Popper will try to prevent overflow following these priorities by default, * then, it could overflow on the left and on top of the `boundariesElement` */ priority: ['left', 'right', 'top', 'bottom'], /** * @prop {number} padding=5 * Amount of pixel used to define a minimum distance between the boundaries * and the popper this makes sure the popper has always a little padding * between the edges of its container */ padding: 5, /** * @prop {String|HTMLElement} boundariesElement='scrollParent' * Boundaries used by the modifier, can be `scrollParent`, `window`, * `viewport` or any DOM element. */ boundariesElement: 'scrollParent' }, /** * Modifier used to make sure the reference and its popper stay near eachothers * without leaving any gap between the two. Expecially useful when the arrow is * enabled and you want to assure it to point to its reference element. * It cares only about the first axis, you can still have poppers with margin * between the popper and its reference element. * @memberof modifiers * @inner */ keepTogether: { /** @prop {number} order=400 - Index used to define the order of execution */ order: 400, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: keepTogether }, /** * This modifier is used to move the `arrowElement` of the popper to make * sure it is positioned between the reference element and its popper element. * It will read the outer size of the `arrowElement` node to detect how many * pixels of conjuction are needed. * * It has no effect if no `arrowElement` is provided. * @memberof modifiers * @inner */ arrow: { /** @prop {number} order=500 - Index used to define the order of execution */ order: 500, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: arrow, /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ element: '[x-arrow]' }, /** * Modifier used to flip the popper's placement when it starts to overlap its * reference element. * * Requires the `preventOverflow` modifier before it in order to work. * * **NOTE:** this modifier will interrupt the current update cycle and will * restart it if it detects the need to flip the placement. * @memberof modifiers * @inner */ flip: { /** @prop {number} order=600 - Index used to define the order of execution */ order: 600, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: flip, /** * @prop {String|Array} behavior='flip' * The behavior used to change the popper's placement. It can be one of * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid * placements (with optional variations). */ behavior: 'flip', /** * @prop {number} padding=5 * The popper will flip if it hits the edges of the `boundariesElement` */ padding: 5, /** * @prop {String|HTMLElement} boundariesElement='viewport' * The element which will define the boundaries of the popper position, * the popper will never be placed outside of the defined boundaries * (except if keepTogether is enabled) */ boundariesElement: 'viewport' }, /** * Modifier used to make the popper flow toward the inner of the reference element. * By default, when this modifier is disabled, the popper will be placed outside * the reference element. * @memberof modifiers * @inner */ inner: { /** @prop {number} order=700 - Index used to define the order of execution */ order: 700, /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */ enabled: false, /** @prop {ModifierFn} */ fn: inner }, /** * Modifier used to hide the popper when its reference element is outside of the * popper boundaries. It will set a `x-out-of-boundaries` attribute which can * be used to hide with a CSS selector the popper when its reference is * out of boundaries. * * Requires the `preventOverflow` modifier before it in order to work. * @memberof modifiers * @inner */ hide: { /** @prop {number} order=800 - Index used to define the order of execution */ order: 800, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: hide }, /** * Computes the style that will be applied to the popper element to gets * properly positioned. * * Note that this modifier will not touch the DOM, it just prepares the styles * so that `applyStyle` modifier can apply it. This separation is useful * in case you need to replace `applyStyle` with a custom implementation. * * This modifier has `850` as `order` value to maintain backward compatibility * with previous versions of Popper.js. Expect the modifiers ordering method * to change in future major versions of the library. * * @memberof modifiers * @inner */ computeStyle: { /** @prop {number} order=850 - Index used to define the order of execution */ order: 850, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: computeStyle, /** * @prop {Boolean} gpuAcceleration=true * If true, it uses the CSS 3d transformation to position the popper. * Otherwise, it will use the `top` and `left` properties. */ gpuAcceleration: true, /** * @prop {string} [x='bottom'] * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin. * Change this if your popper should grow in a direction different from `bottom` */ x: 'bottom', /** * @prop {string} [x='left'] * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin. * Change this if your popper should grow in a direction different from `right` */ y: 'right' }, /** * Applies the computed styles to the popper element. * * All the DOM manipulations are limited to this modifier. This is useful in case * you want to integrate Popper.js inside a framework or view library and you * want to delegate all the DOM manipulations to it. * * Note that if you disable this modifier, you must make sure the popper element * has its position set to `absolute` before Popper.js can do its work! * * Just disable this modifier and define you own to achieve the desired effect. * * @memberof modifiers * @inner */ applyStyle: { /** @prop {number} order=900 - Index used to define the order of execution */ order: 900, /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ enabled: true, /** @prop {ModifierFn} */ fn: applyStyle, /** @prop {Function} */ onLoad: applyStyleOnLoad, /** * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier * @prop {Boolean} gpuAcceleration=true * If true, it uses the CSS 3d transformation to position the popper. * Otherwise, it will use the `top` and `left` properties. */ gpuAcceleration: undefined } }; /** * The `dataObject` is an object containing all the informations used by Popper.js * this object get passed to modifiers and to the `onCreate` and `onUpdate` callbacks. * @name dataObject * @property {Object} data.instance The Popper.js instance * @property {String} data.placement Placement applied to popper * @property {String} data.originalPlacement Placement originally defined on init * @property {Boolean} data.flipped True if popper has been flipped by flip modifier * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper. * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier * @property {Object} data.styles Any CSS property defined here will be applied to the popper, it expects the JavaScript nomenclature (eg. `marginBottom`) * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow, it expects the JavaScript nomenclature (eg. `marginBottom`) * @property {Object} data.boundaries Offsets of the popper boundaries * @property {Object} data.offsets The measurements of popper, reference and arrow elements. * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0 */ /** * Default options provided to Popper.js constructor.<br /> * These can be overriden using the `options` argument of Popper.js.<br /> * To override an option, simply pass as 3rd argument an object with the same * structure of this object, example: * ``` * new Popper(ref, pop, { * modifiers: { * preventOverflow: { enabled: false } * } * }) * ``` * @type {Object} * @static * @memberof Popper */ var Defaults = { /** * Popper's placement * @prop {Popper.placements} placement='bottom' */ placement: 'bottom', /** * Set this to true if you want popper to position it self in 'fixed' mode * @prop {Boolean} positionFixed=false */ positionFixed: false, /** * Whether events (resize, scroll) are initially enabled * @prop {Boolean} eventsEnabled=true */ eventsEnabled: true, /** * Set to true if you want to automatically remove the popper when * you call the `destroy` method. * @prop {Boolean} removeOnDestroy=false */ removeOnDestroy: false, /** * Callback called when the popper is created.<br /> * By default, is set to no-op.<br /> * Access Popper.js instance with `data.instance`. * @prop {onCreate} */ onCreate: function onCreate() {}, /** * Callback called when the popper is updated, this callback is not called * on the initialization/creation of the popper, but only on subsequent * updates.<br /> * By default, is set to no-op.<br /> * Access Popper.js instance with `data.instance`. * @prop {onUpdate} */ onUpdate: function onUpdate() {}, /** * List of modifiers used to modify the offsets before they are applied to the popper. * They provide most of the functionalities of Popper.js * @prop {modifiers} */ modifiers: modifiers }; /** * @callback onCreate * @param {dataObject} data */ /** * @callback onUpdate * @param {dataObject} data */ function requestAnimation(task) { if ('requestAnimationFrame' in window) { return window.requestAnimationFrame(task); } setTimeout(task, 16); } // Utils // Methods var Popper = (function() { /** * Create a new Popper.js instance * @class Popper * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper * @param {HTMLElement} popper - The HTML element used as popper. * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults) * @return {Object} instance - The generated Popper.js instance */ function Popper(reference, popper) { var _this = this; var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; classCallCheck(this, Popper); this.scheduleUpdate = function() { return requestAnimation(_this.update); }; // make update() debounced, so that it only runs at most once-per-tick this.update = debounce(this.update.bind(this)); // with {} we create a new object with the options inside it this.defaultOptions = options; this.options = _extends({}, Popper.Defaults, options); // init state this.state = { isDestroyed: false, isCreated: false, scrollParents: [] }; // get reference and popper elements (allow jQuery wrappers) this.reference = reference && reference.jquery ? reference[0] : reference; this.popper = popper && popper.jquery ? popper[0] : popper; this.updateModifiers(); // fire the first update to position the popper in the right place this.update(); var eventsEnabled = this.options.eventsEnabled; if (eventsEnabled) { // setup event listeners, they will take care of update the position in specific situations this.enableEventListeners(); } this.state.eventsEnabled = eventsEnabled; } // We can't use class properties because they don't get listed in the // class prototype and break stuff like Sinon stubs createClass(Popper, [ { key: 'updateModifiers', value: function updateModifiers$$1() { return updateModifiers.call(this); } }, { key: 'update', value: function update$$1() { return update.call(this); } }, { key: 'destroy', value: function destroy$$1() { return destroy.call(this); } }, { key: 'enableEventListeners', value: function enableEventListeners$$1() { return enableEventListeners.call(this); } }, { key: 'disableEventListeners', value: function disableEventListeners$$1() { return disableEventListeners.call(this); } /** * Schedule an update, it will run on the next UI update available * @method scheduleUpdate * @memberof Popper */ /** * Collection of utilities useful when writing custom modifiers. * Starting from version 1.7, this method is available only if you * include `popper-utils.js` before `popper.js`. * * **DEPRECATION**: This way to access PopperUtils is deprecated * and will be removed in v2! Use the PopperUtils module directly instead. * Due to the high instability of the methods contained in Utils, we can't * guarantee them to follow semver. Use them at your own risk! * @static * @private * @type {Object} * @deprecated since version 1.8 * @member Utils * @memberof Popper */ } ]); return Popper; })(); /** * The `referenceObject` is an object that provides an interface compatible with Popper.js * and lets you use it as replacement of a real DOM node.<br /> * You can use this method to position a popper relatively to a set of coordinates * in case you don't have a DOM node to use as reference. * * ``` * new Popper(referenceObject, popperNode); * ``` * * NB: This feature isn't supported in Internet Explorer 10 * @name referenceObject * @property {Function} data.getBoundingClientRect * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method. * @property {number} data.clientWidth * An ES6 getter that will return the width of the virtual reference element. * @property {number} data.clientHeight * An ES6 getter that will return the height of the virtual reference element. */ Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils; Popper.placements = placements; Popper.Defaults = Defaults; export default Popper; // # sourceMappingURL=popper.js.map
heyui/heyui
src/plugins/popper/index.js
JavaScript
mit
85,449
<div class="profile"> <section id="wrapper"> <header id="header"> {% if site.aboutPage %} <a href="{{ site.baseurl }}/about"> <img id="avatar" class="2x" src="{{ "/assets/images/avatar.png" | prepend: site.baseurl }}"/> </a> {% else %} <img id="avatar" class="2x" src="{{ "/assets/images/avatar.png" | prepend: site.baseurl }}"/> {% endif %} <h1>{{ site.author }}</h1> <h2>{{ site.description }}</h2> </header> </section> </div>
itsdn/kactus
_includes/profile.html
HTML
mit
505
<?php namespace AppBundle\Entity; class Member { private $name; public function setName($name) { $this->name = $name; } public function getName() { return $this->name; } }
geof62/gamesite
src/AppBundle/Entity/Member.php
PHP
mit
222
--- layout: post title: "The iPhone X’s new neural engine exemplifies Apple’s approach to AI" posturl: https://www.theverge.com/2017/9/13/16300464/apple-iphone-x-ai-neural-engine tags: - Apple - AI chips --- {% include post_info_header.md %} Even though some people are saying this, Apple doesn't seem to be behind the AI race. In contrary they now have machine learning capabilities onboard their latest phones, while also taking a different approach than most other (cloud?) companies. As for application / service design this means on hand iPhones allow for all kinds of nice features - and makes cross-platform development also harder. <!--more--> {% include post_info_footer.md %}
polgarp/alg-exp
_posts/archive/26-20170926/2017-09-25-The-iPhone-X-s-new-neural-engine-exemplifies-Apple-s-approach-to-AI.md
Markdown
mit
694
if ENV.fetch('COVERAGE', false) require 'simplecov' SimpleCov.start 'rails' do add_filter '/lib/' minimum_coverage 95 if ENV['CIRCLE_ARTIFACTS'] coverage_dir File.join( '..', '..', '..', ENV['CIRCLE_ARTIFACTS'], 'coverage') end end end require 'webmock/rspec' # http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.syntax = :expect end config.mock_with :rspec do |mocks| mocks.syntax = :expect mocks.verify_partial_doubles = true end config.example_status_persistence_file_path = 'tmp/rspec_examples.txt' config.order = :random end WebMock.disable_net_connect!(allow_localhost: true)
jaisonerick/kratos
templates/spec_helper.rb
Ruby
mit
743
import pidcrypt from 'pidcrypt' import { path, pipe, type, equals } from 'rambda' import { toByteArray, decodeBase64, encodeBase64, convertFromHex } from 'pidcrypt/pidcrypt_util' import 'pidcrypt/asn1' import 'pidcrypt/rsa' import createError from './error' const { RSA, ASN1 } = pidcrypt const CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' export const isFunction = pipe(type, equals('Function')) export const isUndefined = pipe(type, equals('Undefined')) export function publicEncrypt(key, value) { const asn = ASN1.decode(toByteArray(decodeBase64(key))) const rsa = new RSA() rsa.setPublicKeyFromASN(asn.toHexTree()) return encodeBase64(convertFromHex(rsa.encrypt(value))) } export function get(inputObject, inputPath, defaultValue) { const inputValue = path(inputPath, inputObject) return isUndefined(inputValue) ? defaultValue : inputValue } export function getOption(key, options, defaults) { return get(options, key, path(key, defaults)) } export function transformResponse(response) { return path('data', response) } export function transformError(error) { throw createError(error) } export function uniqueId(length = 15, chars = CHARS) { let i, result = '' for (i = length; i > 0; --i) { result += chars[Math.floor(Math.random() * chars.length)] } return result }
wagerfield/ig-api
src/utils.js
JavaScript
mit
1,329
"""File related wrapper functions to streamline common use cases""" import manage as manage from manage import find_file, find_file_re, list_dir import operation as operation from operation import hash_file, read_file, slice_file, write_file
qevo/py_file_helper
file_helper/__init__.py
Python
mit
243
import * as React from "react"; import PropTypes from "prop-types"; import { withWrapper } from "../Icon"; const Vector = React.forwardRef(({ size, color, ...props }, ref) => ( <svg width={size} height={size} viewBox="2 2 20 20" xmlns="http://www.w3.org/2000/svg" ref={ref} aria-hidden={!props["aria-label"]} {...props} > <path d="m13.414 12 2.829-2.828a1 1 0 0 0-1.415-1.415L12 10.586 9.172 7.757a1 1 0 0 0-1.415 1.415L10.586 12l-2.829 2.828a1 1 0 0 0 1.415 1.415L12 13.414l2.828 2.829a1 1 0 0 0 1.415-1.415L13.414 12Z" fill={color} fillRule="evenodd" /> </svg> )); Vector.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), "aria-label": PropTypes.string, }; Vector.defaultProps = { color: "currentColor", size: "1em", }; const SmCross = withWrapper(Vector); SmCross.groupName = "Actions"; export default SmCross;
CraveFood/farmblocks
packages/icon/src/jsx/SmCross.js
JavaScript
mit
939
<div class="panel-heading row"> <h3 class="panel-title text-center">Best Variety Show</h3> </div> <div class="panel-body"> <ul class="list-group"> <li class="list-group-item"> <div class="radio"> <label> <input type="radio" name="BestVarietyShow" ng-model="vm.varietyShow" value="Showtime (ABS-CBN)" ng-change='vm.ngWatchVarietyShow( vm.varietyShow )'/>Showtime (ABS-CBN) </label> </div> </li> <li class="list-group-item"> <div class="radio"> <label> <input type="radio" name="BestVarietyShow" ng-model="vm.varietyShow" value="Eat Bulaga (GMA)" ng-change='vm.ngWatchVarietyShow( vm.varietyShow )'/>Eat Bulaga (GMA) </label> </div> </li> </ul> </div>
caninojories/jrc_admin
front-end/views/paragalaQuestions/questionnaire/thirteen.html
HTML
mit
749
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """test_03b_subcmd_primer3.py Test primer3 subcommand for pdp script. These tests require primer3 v2+. This test suite is intended to be run from the repository root using: pytest -v (c) The James Hutton Institute 2017-2019 Author: Leighton Pritchard Contact: leighton.pritchard@hutton.ac.uk Leighton Pritchard, Information and Computing Sciences, James Hutton Institute, Errol Road, Invergowrie, Dundee, DD2 5DA, Scotland, UK The MIT License Copyright (c) 2017-2019 The James Hutton Institute 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. """ import logging import os import shutil from argparse import Namespace import pytest from diagnostic_primers.scripts import subcommands from tools import PDPTestCase, get_primer3_version, modify_namespace # Defined as global so it can be seen by the TestPrimer3Subcommand() class # and setUpClass() classmethod. OUTDIR = os.path.join("tests", "test_output", "pdp_primer3") # Available primer3 version as global so that pytest.skipif() can see it PRIMER3_VERSION = get_primer3_version() class TestPrimer3Subcommand(PDPTestCase): """Class defining tests of the pdp primer3 subcommand.""" @classmethod def setUpClass(TestPrimer3Subcommand): # Clean up old output directory if os.path.isdir(OUTDIR): shutil.rmtree(OUTDIR) def setUp(self): """Set parameters for tests.""" self.confdir = os.path.join("tests", "test_input", "pdp_primer3") self.outdir = OUTDIR self.targetdir = os.path.join("tests", "test_targets", "pdp_primer3") self.p3_exe = "primer3_core" self.scheduler = "multiprocessing" self.workers = None # null logger instance that does nothing self.logger = logging.getLogger("TestPrimer3Subcommand logger") self.logger.addHandler(logging.NullHandler()) # path to thermodynamic parameters (needed for Travis/testing) self.therm_param_path = os.path.join( "tests", "test_input", "primer3", "primer3_config" ) # base Namespace self.base_namespace = Namespace( primer3_dir=self.outdir, primer3_exe=self.p3_exe, primer3_force=True, scheduler=self.scheduler, workers=4, verbose=True, p3_hybridprobe=False, p3_filter=False, disable_tqdm=True, p3_param_path=self.therm_param_path, p3_numreturn=10, p3_osize=20, p3_minsize=18, p3_maxsize=22, p3_wt_lt=2, p3_wt_gt=2, p3_opttm=59, p3_mintm=58, p3_maxtm=60, p3_ogcpercent=55, p3_mingc=30, p3_maxgc=80, p3_psizeopt=100, p3_psizemin=50, p3_psizemax=150, p3_maxpolyx=3, p3_osizeopt=20, p3_ominsize=13, p3_omaxsize=30, p3_otmopt=69, p3_otmmin=68, p3_otmmax=70, p3_ogcopt=55, p3_ogcmin=30, p3_ogcmax=80, recovery=False, ) @pytest.mark.skipif(PRIMER3_VERSION[0] < 2, reason="requires primer3 v2+") def test_primer3_01_run(self): """primer3 subcommand recapitulates primer design for small input set. pdp primer3 -v \ --outdir=tests/test_output/pdp_primer3/subset \ tests/test_input/pdp_primer3/subsetconf.json \ tests/test_output/pdp_primer3/subsetep3conf.json """ subcommands.subcmd_primer3( modify_namespace( self.base_namespace, { "infilename": os.path.join(self.confdir, "subsetconf.json"), "outfilename": os.path.join(self.outdir, "subsetep3conf.json"), "primer3_dir": os.path.join(self.outdir, "subset"), }, ), self.logger, ) # Check file contents self.assertDirsEqual( os.path.join(self.outdir, "subset"), os.path.join(self.targetdir, "subset") ) @pytest.mark.skipif(PRIMER3_VERSION[0] < 2, reason="requires primer3 v2+") def test_primer3_02_force(self): """primer3 subcommand executes and overwrites existing output. This is the same test as test_primer3_01_run: pdp primer3 -v -f \ --outdir=tests/test_output/pdp_primer3/subset \ tests/test_input/pdp_primer3/subsetconf.json \ tests/test_output/pdp_primer3/subsetep3conf.json """ self.test_primer3_01_run() @pytest.mark.skipif(PRIMER3_VERSION[0] < 2, reason="requires primer3 v2+") def test_primer3_03_noforce(self): """Script exits when not forcing primer3 output overwrite of existing output. pdp primer3 -v \ --outdir=tests/test_output/pdp_primer3/subset \ tests/test_input/pdp_primer3/subsetconf.json \ tests/test_output/pdp_primer3/subsetep3conf.json """ with pytest.raises(SystemExit): subcommands.subcmd_primer3( modify_namespace( self.base_namespace, { "infilename": os.path.join(self.confdir, "subsetconf.json"), "outfilename": os.path.join(self.outdir, "subsetep3conf.json"), "primer3_dir": os.path.join(self.outdir, "subset"), "primer3_force": False, }, ), self.logger, ) @pytest.mark.skipif(PRIMER3_VERSION[0] < 2, reason="requires primer3 v2+") def test_invalid_conf_file(self): """Script exits when primer3 config file has wrong suffix. pdp primer3 -v \ --outdir=tests/test_output/pdp_primer3/subset \ tests/test_input/pdp_primer3/testprodigalconf.nojson \ tests/test_output/pdp_primer3/ep3conf.json """ with pytest.raises(SystemExit): subcommands.subcmd_primer3( modify_namespace( self.base_namespace, { "infilename": os.path.join( self.confdir, "testprodigalconf.nojson" ), "outfilename": os.path.join(self.outdir, "ep3conf.json"), }, ), self.logger, ) @pytest.mark.skipif(PRIMER3_VERSION[0] < 2, reason="requires primer3 v2+") def test_tsv_conf_file(self): """Error raised when .conf file provided for primer3. pdp primer3 -v \ --outdir=tests/test_output/pdp_primer3/subset \ tests/test_input/pdp_primer3/testin.conf \ tests/test_output/pdp_primer3/ep3conf.json """ with pytest.raises(ValueError): subcommands.subcmd_primer3( modify_namespace( self.base_namespace, { "infilename": os.path.join(self.confdir, "testin.conf"), "outfilename": os.path.join(self.outdir, "ep3conf.json"), }, ), self.logger, )
widdowquinn/find_differential_primers
tests/test_03b_subcmd_primer3.py
Python
mit
8,352
// (C) Copyright 2002-2007 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty and // restricted rights notice below appear in all supporting // documentation. // // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. // AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE // UNINTERRUPTED OR ERROR FREE. // // Use, duplication, or disclosure by the U.S. Government is subject to // restrictions set forth in FAR 52.227-19 (Commercial Computer // Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) // (Rights in Technical Data and Computer Software), as applicable. // //----------------------------------------------------------------------------- //----- DocData.cpp : Implementation file //----------------------------------------------------------------------------- #include "StdAfx.h" //----------------------------------------------------------------------------- //----- The one and only document manager object. You can use the DocVars object to retrieve //----- document specific data throughout your application AcApDataManager<CDocData> DocVars ; //----------------------------------------------------------------------------- //----- Implementation of the document data class. CDocData::CDocData () { } //----------------------------------------------------------------------------- CDocData::CDocData (const CDocData &data) { } //----------------------------------------------------------------------------- CDocData::~CDocData () { }
Xiongpq/FontCenter
trunk/src/Client/Warrentech.FontCenter.Client/Warrentech.FontCenter.Client/DocData.cpp
C++
mit
1,895
import factory from '../octicon.js'; // This is an auto-generated ES2015 icon from the modularize script. Please do not modify this file. var ruby = factory('ruby', 16, 16, {"fill-rule":"evenodd","d":"M13 6l-5 5V4h3l2 2zm3 0l-8 8-8-8 4-4h8l4 4zm-8 6.5L14.5 6l-3-3h-7l-3 3L8 12.5z"}, ["code","language"]); export default ruby;
hiendv/octicons-modular
packages/octicons-modular/es/icons/ruby.js
JavaScript
mit
328
<div id="comments" data-foreign-type="{!! $foreignType !!}" data-foreign-id="{!! $foreignId !!}"> @foreach ($comments as $comment) @include('comments.comment') @endforeach {!! $comments->render() !!} </div> @if (user()) {!! HTML::script('vendor/contentify/comments.js') !!} @else <div class="comments-login-info well">{!! trans('comments::login_info', [link_to('auth/login', lcfirst(trans('auth::login'))), link_to('auth/registration/create', lcfirst(trans('auth::register')))]) !!}</div> @endif
Contentify/Contentify
resources/views/comments/show.blade.php
PHP
mit
523
import os def run(name='test1.py'): filename = os.getcwd() + name exec(compile(open(filename).read(), filename, 'exec'))
karljakoblarsson/Rattan-Geometry
Utils.py
Python
mit
130
<?php /** * Created by JetBrains PhpStorm. * User: Aza * Date: 03.06.13 * Time: 13:25 * To change this template use File | Settings | File Templates. */ namespace Nurix\CatalogBundle\Entity; use Doctrine\ORM\EntityRepository; class ExchangeRepository extends EntityRepository{ public function getRate($exchange){ $em = $this->getEntityManager(); $repository =$em -> getRepository('CatalogBundle:Exchange'); $query = $repository ->createQueryBuilder('p') ->select('p') ->innerJoin("CatalogBundle:ExchangeHelper",'c','WITH','p.currency = c.id') ->where('c.currency = :v') ->setParameter('v', $exchange) ->orderBy('p.date','DESC') ->setMaxResults(1) ->getQuery(); $rate = $query -> getOneOrNullResult(); return $rate; } }
nakusyat/burut
src/Nurix/CatalogBundle/Entity/ExchangeRepository.php
PHP
mit
914
--- title: 'Quick Tip Git: "Limpar" as branches locais sem referência remota e que já foram "merged"' date: '00:00 01/19/2018' taxonomy: category: - blog tag: - tips - git --- A dica rápida da vez fica por conta do Git. Quando trabalhamos em um ambiente colaborativo, como o [GitHub](https://github.com), o uso de [branches](https://git-scm.com/book/pt-br/v1/Ramifica%C3%A7%C3%A3o-Branching-no-Git-O-que-%C3%A9-um-Branch) atômicas, de [vida curta](https://trunkbaseddevelopment.com/short-lived-feature-branches/) e descritivas é bem comum. Apesar das vantagens, isso gera um pequeno incômodo. Um número grande de branches que vão aos poucos atrapalhando a visibilidade de comandos como o `git branch -a` e as funções de autocomplete. Limpar as branches remotar é relativamente fácil, durante o processo de [Pull Request](https://help.github.com/articles/deleting-and-restoring-branches-in-a-pull-request/) e do [Merge Request](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6449) do Github e Gitlab, respectivamente. Agora, isso por si só não remove as referências que a cópia local mantem da remota. Para removê-las, utilize o seguinte comando: ``` git remote prune origin ``` Assim, as referências a branches que já não existem mais na remote, somem da listagem do `git branch -a`. Agora, e no caso das branches que chegaram a sofrer o "fetch" e estão efetivamente na máquina? O comando `git branch -d` para cada branch faria o trabalho de limpeza, mas é bem manual. A dica é utilizar a saída de `git branch --merged` para facilitar o processo. Para ter uma camada de segurança (não apagar branches importantes como a master e a develop), o comando abaixo te dá a oportunidade de alterar quais branches serão removidas. ``` git branch --merged >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches ``` Pronto, sua cópia de trabalho está limpa! ## Referências 1. https://stackoverflow.com/questions/7726949/remove-local-branches-no-longer-on-remote
vschettino/blog
pages/01.blog/dica_git_remover_branches_locais_merged/item.md
Markdown
mit
2,068
//! AWS API requests. //! //! Wraps the Hyper library to send PUT, POST, DELETE and GET requests. extern crate lazy_static; use std::env; use std::io::Read; use std::io::Error as IoError; use std::error::Error; use std::fmt; use std::collections::HashMap; use hyper::Client; use hyper::Error as HyperError; use hyper::header::Headers; use hyper::header::UserAgent; use hyper::method::Method; use log::LogLevel::Debug; use signature::SignedRequest; // Pulls in the statically generated rustc version. include!(concat!(env!("OUT_DIR"), "/user_agent_vars.rs")); // Use a lazy static to cache the default User-Agent header // because it never changes once it's been computed. lazy_static! { static ref DEFAULT_USER_AGENT: Vec<Vec<u8>> = vec![format!("rusoto/{} rust/{} {}", env!("CARGO_PKG_VERSION"), RUST_VERSION, env::consts::OS).as_bytes().to_vec()]; } #[derive(Clone, Default)] pub struct HttpResponse { pub status: u16, pub body: String, pub headers: HashMap<String, String> } #[derive(Debug, PartialEq)] pub struct HttpDispatchError { message: String } impl Error for HttpDispatchError { fn description(&self) -> &str { &self.message } } impl fmt::Display for HttpDispatchError { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", self.message) } } impl From<HyperError> for HttpDispatchError { fn from(err: HyperError) -> HttpDispatchError { HttpDispatchError { message: err.description().to_string() } } } impl From<IoError> for HttpDispatchError { fn from(err: IoError) -> HttpDispatchError { HttpDispatchError { message: err.description().to_string() } } } pub trait DispatchSignedRequest { fn dispatch(&self, request: &SignedRequest) -> Result<HttpResponse, HttpDispatchError>; } impl DispatchSignedRequest for Client { fn dispatch(&self, request: &SignedRequest) -> Result<HttpResponse, HttpDispatchError> { let hyper_method = match request.method().as_ref() { "POST" => Method::Post, "PUT" => Method::Put, "DELETE" => Method::Delete, "GET" => Method::Get, "HEAD" => Method::Head, v => return Err(HttpDispatchError { message: format!("Unsupported HTTP verb {}", v) }) }; // translate the headers map to a format Hyper likes let mut hyper_headers = Headers::new(); for h in request.headers().iter() { hyper_headers.set_raw(h.0.to_owned(), h.1.to_owned()); } // Add a default user-agent header if one is not already present. if !hyper_headers.has::<UserAgent>() { hyper_headers.set_raw("user-agent".to_owned(), DEFAULT_USER_AGENT.clone()); } let mut final_uri = format!("https://{}{}", request.hostname(), request.canonical_path()); if !request.canonical_query_string().is_empty() { final_uri = final_uri + &format!("?{}", request.canonical_query_string()); } if log_enabled!(Debug) { let payload = request.payload().map(|mut payload_bytes| { let mut payload_string = String::new(); payload_bytes.read_to_string(&mut payload_string) .map(|_| payload_string) .unwrap_or_else(|_| String::from("<non-UTF-8 data>")) }); debug!("Full request: \n method: {}\n final_uri: {}\n payload: {}\nHeaders:\n", hyper_method, final_uri, payload.unwrap_or("".to_owned())); for h in hyper_headers.iter() { debug!("{}:{}", h.name(), h.value_string()); } } let mut hyper_response = match request.payload() { None => try!(self.request(hyper_method, &final_uri).headers(hyper_headers).body("").send()), Some(payload_contents) => try!(self.request(hyper_method, &final_uri).headers(hyper_headers).body(payload_contents).send()), }; let mut body = String::new(); try!(hyper_response.read_to_string(&mut body)); if log_enabled!(Debug) { debug!("Response body:\n{}", body); } let mut headers: HashMap<String, String> = HashMap::new(); for header in hyper_response.headers.iter() { headers.insert(header.name().to_string(), header.value_string()); } Ok(HttpResponse { status: hyper_response.status.to_u16(), body: body, headers: headers }) } }
noggleboggle/rusoto
src/request.rs
Rust
mit
4,520
StringManip =========== A helper string class for C++ that adds string functionality from Ruby and Objective-C Foundation library. ## Usage Just copy the StringManip.h and StringManip.cpp into your project, then remember to ```#include "StringManip.h"``` in the relevant files.
tfrank64/StringManip
README.md
Markdown
mit
283
#pragma once #include "chash.h" template<class key_t, class unique_t, class hasher_t, class key_equal_t, class allocator_t> struct chash_set_config_t { typedef key_t key_type; typedef key_t mapped_type; typedef key_t value_type; typedef hasher_t hasher; typedef key_equal_t key_equal; typedef allocator_t allocator_type; typedef std::uintptr_t offset_type; typedef typename std::result_of<hasher(key_type)>::type hash_value_type; typedef unique_t unique_type; static float grow_proportion(std::size_t) { return 2; } template<class in_type> static key_type const &get_key(in_type &&value) { return value; } }; template<class key_t, class hasher_t = std::hash<key_t>, class key_equal_t = std::equal_to<key_t>, class allocator_t = std::allocator<key_t>> using chash_set = contiguous_hash<chash_set_config_t<key_t, std::true_type, hasher_t, key_equal_t, allocator_t>>; template<class key_t, class hasher_t = std::hash<key_t>, class key_equal_t = std::equal_to<key_t>, class allocator_t = std::allocator<key_t>> using chash_multiset = contiguous_hash<chash_set_config_t<key_t, std::false_type, hasher_t, key_equal_t, allocator_t>>;
TetrisAI/tetris_ai_runner
src/chash_set.h
C
mit
1,205
<?php namespace Acacha\AdminLTETemplateLaravel\Console; use Acacha\Filesystem\Filesystem; use Illuminate\Console\Command; /** * Class MakeView. * * @package Acacha\AdminLTETemplateLaravel\Console */ class MakeView extends Command { /** * The filesystem instance. * * @var \Acacha\Filesystem\Filesystem */ protected $filesystem; /** * The name and signature of the console command. * * @var string */ protected $signature = 'make:view {name : the name of the view}'; /** * The console command description. * * @var string */ protected $description = 'Create a new view using adminlte default layout'; /** * Create a new command instance. * * @param Filesystem $filesystem */ public function __construct(Filesystem $filesystem) { parent::__construct(); $this->filesystem = $filesystem; } /** * Execute the console command. * */ public function handle() { try { $this->filesystem->make( $path = resource_path('views/' . $this->viewPath()), $this->filesystem->get($this->getStubPath()), true ); $this->info('File ' . $path . ' created'); } catch (\Exception $e) { $this->error($e->getMessage()); } } /** * Get stub path */ protected function getStubPath() { return __DIR__ . '/stubs/view.stub'; } /** * The view destination path. * * @return string */ protected function viewPath() { return $this->constructViewBladeName($this->argument('name')); } /** * Create full relative path to blade template from view name. * * @param $name * @return string */ protected function constructViewBladeName($name) { return $this->dottedPathToSlashesPath($name) . '.blade.php'; } /** * Converts dotted notation to path slashes. * * @param $name * @return mixed */ protected function dottedPathToSlashesPath($name) { return str_replace(".", "/", $name); } }
wpouseele/adminlte-laravel
src/Console/MakeView.php
PHP
mit
2,218
<html> <head> <meta http-equiv="refresh" content="0; url=https://www.dropbox.com/request/gaLlPaZ3avkMlWcikmdr"> <link rel="canonical" href="https://www.dropbox.com/request/gaLlPaZ3avkMlWcikmdr" /> </head> </html>
Visgean/blog
requests.html
HTML
mit
223
When /^I start the "([^"]*)" survey$/ do |name| steps %Q{ When I go to the surveys page Then I should see "#{name}\" When I press "Take it" } end Then /^there should be (\d+) response set with (\d+) responses? with:$/ do |rs_num, r_num, table| ResponseSet.count.should == rs_num.to_i Response.count.should == r_num.to_i table.hashes.each do |hash| if hash.keys == ["answer"] a = Answer.find_by_text(hash["answer"]) a.should_not be_nil Response.first(:conditions => {:answer_id => a.id}).should_not be_nil else if !(a = hash.delete("answer")).blank? and !(answer = Answer.find_by_text(a)).blank? Response.first(:conditions => hash.merge({:answer_id => answer.id})).should_not be_nil elsif Response.first(:conditions => hash).should_not be_nil end end end end Then /^there should be (\d+) dependenc(?:y|ies)$/ do |x| Dependency.count.should == x.to_i end Then /^question "([^"]*)" should have a dependency with rule "([^"]*)"$/ do |qr, rule| q = Question.find_by_reference_identifier(qr) q.should_not be_blank q.dependency.should_not be_nil q.dependency.rule.should == rule end Then /^the element "([^"]*)" should have the class "([^"]*)"$/ do |selector, css_class| page.should have_selector(selector, :class => css_class) end Then /^the element "([^"]*)" should exist$/ do |selector| page.should have_selector(selector) end Then /^the survey should be complete$/ do ResponseSet.first.should be_complete end Then /^a dropdown should exist with the options "([^"]*)"$/ do |options_text| page.should have_selector('select') options = options_text.split(',').collect(&:strip) within "select" do |select| options.each do |o| select o end end end Then /^there should be (\d+) checkboxes$/ do |count| page.should have_selector('input[type=checkbox]', :count => count.to_i) end Then /^there should be (\d+) text areas$/ do |count| page.should have_selector('textarea', :count => count.to_i) end Then /^the question "([^"]*)" should be triggered$/ do |text| page.should have_selector %(fieldset[name="#{text}"][class!="q_hidden"]) end Then /^there should be (\d+) response with answer "([^"]*)"$/ do |count, answer_text| Response.count.should == count.to_i Response.find_by_answer_id(Answer.find_by_text(answer_text)).should_not be_blank end Then /^there should be a datetime response with today's date$/ do # Response.datetime_value returns ActiveSupport::TimeWithZone # so we call .to_date on it for the comparison with Date.today Response.all.one?{|x| x.datetime_value.to_date == Date.today}.should be_true end Then /^I should see the image "([^"]*)"$/ do |src| page.should have_selector %(img[src^="#{src}"]) end Then /^(\d+) responses should exist$/ do |response_count| Response.count.should == response_count.to_i end Then /^the json for "([^"]*)" should be$/ do |title, string| visit "/surveys/#{Survey.find_by_title(title).access_code}.json" puts page.find('body').text Surveyor::Common.equal_json_excluding_wildcards(page.find('body').text, string).should == true end Then /^the json for the last response set for "([^"]*)" should be$/ do |title, string| (survey = Survey.find_by_title(title)).should_not be_nil (response_set = ResponseSet.last(:conditions => {:survey_id => survey.id})).should_not be_nil visit "/surveys/#{survey.access_code}/#{response_set.access_code}.json" puts page.find('body').text Surveyor::Common.equal_json_excluding_wildcards(page.find('body').text, string).should == true end Then /the element "([^\"]*)" should be hidden$/ do |selector| wait_until do its_hidden = page.evaluate_script("$('#{selector}').is(':hidden');") its_not_in_dom = page.evaluate_script("$('#{selector}').length == 0;") (its_hidden || its_not_in_dom).should be_true end end Then /the element "([^\"]*)" should not be hidden$/ do |selector| wait_until do its_not_hidden = page.evaluate_script("$('#{selector}').is(':not(:hidden)');") its_in_dom = page.evaluate_script("$('#{selector}').length > 0;") (its_not_hidden && its_in_dom).should be_true end end Given /^I have survey context of "([^"]*)"$/ do |context| class SurveyorController < ApplicationController require 'mustache' class FakeMustacheContext < ::Mustache def name "Santa Claus" end def site "Northwestern" end end def render_context FakeMustacheContext end end end When /^I follow today's date$/ do steps %Q{ When I follow "#{Date.today.strftime('%d').to_i}" } end
tcw48/surveyor_FriendCompare
features/step_definitions/surveyor_steps.rb
Ruby
mit
4,619
import angular from 'angular'; import {loginComponent} from './login.component'; const loginConfig = ($stateProvider) => { 'use strict'; $stateProvider .state('app.login', { url: '/login', layout: 'mainMenu', component: 'login' }); }; loginConfig.$inject = ['$stateProvider']; const login = angular.module('login', []) .config(loginConfig) .component('login', loginComponent); export {login};
GinesOrtiz/angularES6seed
src/app/components/auth/login/index.js
JavaScript
mit
464
/* * Copyright (C) 2009 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "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 APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include "core/accessibility/AXARIAGridRow.h" #include "core/accessibility/AXTable.h" using namespace std; namespace WebCore { AXARIAGridRow::AXARIAGridRow(RenderObject* renderer) : AXTableRow(renderer) { } AXARIAGridRow::~AXARIAGridRow() { } PassRefPtr<AXARIAGridRow> AXARIAGridRow::create(RenderObject* renderer) { return adoptRef(new AXARIAGridRow(renderer)); } bool AXARIAGridRow::isARIATreeGridRow() const { AXObject* parent = parentTable(); if (!parent) return false; return parent->ariaRoleAttribute() == TreeGridRole; } void AXARIAGridRow::disclosedRows(AccessibilityChildrenVector& disclosedRows) { // The contiguous disclosed rows will be the rows in the table that // have an aria-level of plus 1 from this row. AXObject* parent = parentObjectUnignored(); if (!parent || !parent->isAXTable()) return; // Search for rows that match the correct level. // Only take the subsequent rows from this one that are +1 from this row's level. int index = rowIndex(); if (index < 0) return; unsigned level = hierarchicalLevel(); AccessibilityChildrenVector& allRows = toAXTable(parent)->rows(); int rowCount = allRows.size(); for (int k = index + 1; k < rowCount; ++k) { AXObject* row = allRows[k].get(); // Stop at the first row that doesn't match the correct level. if (row->hierarchicalLevel() != level + 1) break; disclosedRows.append(row); } } AXObject* AXARIAGridRow::disclosedByRow() const { // The row that discloses this one is the row in the table // that is aria-level subtract 1 from this row. AXObject* parent = parentObjectUnignored(); if (!parent || !parent->isAXTable()) return 0; // If the level is 1 or less, than nothing discloses this row. unsigned level = hierarchicalLevel(); if (level <= 1) return 0; // Search for the previous row that matches the correct level. int index = rowIndex(); AccessibilityChildrenVector& allRows = toAXTable(parent)->rows(); int rowCount = allRows.size(); if (index >= rowCount) return 0; for (int k = index - 1; k >= 0; --k) { AXObject* row = allRows[k].get(); if (row->hierarchicalLevel() == level - 1) return row; } return 0; } AXObject* AXARIAGridRow::headerObject() { AccessibilityChildrenVector rowChildren = children(); unsigned childrenCount = rowChildren.size(); for (unsigned i = 0; i < childrenCount; ++i) { AXObject* cell = rowChildren[i].get(); if (cell->ariaRoleAttribute() == RowHeaderRole) return cell; } return 0; } } // namespace WebCore
lordmos/blink
Source/core/accessibility/AXARIAGridRow.cpp
C++
mit
4,315
# Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following disclaimer # in the documentation and/or other materials provided with the # distribution. # * Neither the Google name nor the names of its # contributors may be used to endorse or promote products derived from # this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import base64 import copy import sys import time from webkitpy.layout_tests.port import DeviceFailure, Driver, DriverOutput, Port from webkitpy.layout_tests.port.base import VirtualTestSuite from webkitpy.layout_tests.models.test_configuration import TestConfiguration from webkitpy.layout_tests.models import test_run_results from webkitpy.common.system.filesystem_mock import MockFileSystem from webkitpy.common.system.crashlogs import CrashLogs # This sets basic expectations for a test. Each individual expectation # can be overridden by a keyword argument in TestList.add(). class TestInstance(object): def __init__(self, name): self.name = name self.base = name[(name.rfind("/") + 1):name.rfind(".")] self.crash = False self.web_process_crash = False self.exception = False self.keyboard = False self.error = '' self.timeout = False self.is_reftest = False self.device_failure = False # The values of each field are treated as raw byte strings. They # will be converted to unicode strings where appropriate using # FileSystem.read_text_file(). self.actual_text = self.base + '-txt' self.actual_checksum = self.base + '-checksum' # We add the '\x8a' for the image file to prevent the value from # being treated as UTF-8 (the character is invalid) self.actual_image = self.base + '\x8a' + '-png' + 'tEXtchecksum\x00' + self.actual_checksum self.expected_text = self.actual_text self.expected_image = self.actual_image self.actual_audio = None self.expected_audio = None # This is an in-memory list of tests, what we want them to produce, and # what we want to claim are the expected results. class TestList(object): def __init__(self): self.tests = {} def add(self, name, **kwargs): test = TestInstance(name) for key, value in kwargs.items(): test.__dict__[key] = value self.tests[name] = test def add_reftest(self, name, reference_name, same_image, crash=False): self.add(name, actual_checksum='xxx', actual_image='XXX', is_reftest=True, crash=crash) if same_image: self.add(reference_name, actual_checksum='xxx', actual_image='XXX', is_reftest=True) else: self.add(reference_name, actual_checksum='yyy', actual_image='YYY', is_reftest=True) def keys(self): return self.tests.keys() def __contains__(self, item): return item in self.tests def __getitem__(self, item): return self.tests[item] # # These numbers may need to be updated whenever we add or delete tests. This includes virtual tests. # TOTAL_TESTS = 114 TOTAL_SKIPS = 29 UNEXPECTED_PASSES = 1 UNEXPECTED_FAILURES = 25 def unit_test_list(): tests = TestList() tests.add('failures/expected/crash.html', crash=True) tests.add('failures/expected/exception.html', exception=True) tests.add('failures/expected/device_failure.html', device_failure=True) tests.add('failures/expected/timeout.html', timeout=True) tests.add('failures/expected/missing_text.html', expected_text=None) tests.add('failures/expected/needsrebaseline.html', actual_text='needsrebaseline text') tests.add('failures/expected/needsmanualrebaseline.html', actual_text='needsmanualrebaseline text') tests.add('failures/expected/image.html', actual_image='image_fail-pngtEXtchecksum\x00checksum_fail', expected_image='image-pngtEXtchecksum\x00checksum-png') tests.add('failures/expected/image_checksum.html', actual_checksum='image_checksum_fail-checksum', actual_image='image_checksum_fail-png') tests.add('failures/expected/audio.html', actual_audio=base64.b64encode('audio_fail-wav'), expected_audio='audio-wav', actual_text=None, expected_text=None, actual_image=None, expected_image=None, actual_checksum=None) tests.add('failures/expected/keyboard.html', keyboard=True) tests.add('failures/expected/missing_check.html', expected_image='missing_check-png') tests.add('failures/expected/missing_image.html', expected_image=None) tests.add('failures/expected/missing_audio.html', expected_audio=None, actual_text=None, expected_text=None, actual_image=None, expected_image=None, actual_checksum=None) tests.add('failures/expected/missing_text.html', expected_text=None) tests.add('failures/expected/newlines_leading.html', expected_text="\nfoo\n", actual_text="foo\n") tests.add('failures/expected/newlines_trailing.html', expected_text="foo\n\n", actual_text="foo\n") tests.add('failures/expected/newlines_with_excess_CR.html', expected_text="foo\r\r\r\n", actual_text="foo\n") tests.add('failures/expected/testharness.html', actual_text='This is a testharness.js-based test.\nFAIL: assert fired\n.Harness: the test ran to completion.\n\n', expected_text=None, actual_image=None, expected_image=None, actual_checksum=None) tests.add('failures/expected/text.html', actual_text='text_fail-png') tests.add('failures/expected/crash_then_text.html') tests.add('failures/expected/skip_text.html', actual_text='text diff') tests.add('failures/flaky/text.html') tests.add('failures/unexpected/missing_text.html', expected_text=None) tests.add('failures/unexpected/missing_check.html', expected_image='missing-check-png') tests.add('failures/unexpected/missing_image.html', expected_image=None) tests.add('failures/unexpected/missing_render_tree_dump.html', actual_text="""layer at (0,0) size 800x600 RenderView at (0,0) size 800x600 layer at (0,0) size 800x34 RenderBlock {HTML} at (0,0) size 800x34 RenderBody {BODY} at (8,8) size 784x18 RenderText {#text} at (0,0) size 133x18 text run at (0,0) width 133: "This is an image test!" """, expected_text=None) tests.add('failures/unexpected/crash.html', crash=True) tests.add('failures/unexpected/crash-with-stderr.html', crash=True, error="mock-std-error-output") tests.add('failures/unexpected/web-process-crash-with-stderr.html', web_process_crash=True, error="mock-std-error-output") tests.add('failures/unexpected/pass.html') tests.add('failures/unexpected/text-checksum.html', actual_text='text-checksum_fail-txt', actual_checksum='text-checksum_fail-checksum') tests.add('failures/unexpected/text-image-checksum.html', actual_text='text-image-checksum_fail-txt', actual_image='text-image-checksum_fail-pngtEXtchecksum\x00checksum_fail', actual_checksum='text-image-checksum_fail-checksum') tests.add('failures/unexpected/checksum-with-matching-image.html', actual_checksum='text-image-checksum_fail-checksum') tests.add('failures/unexpected/skip_pass.html') tests.add('failures/unexpected/text.html', actual_text='text_fail-txt') tests.add('failures/unexpected/text_then_crash.html') tests.add('failures/unexpected/timeout.html', timeout=True) tests.add('http/tests/passes/text.html') tests.add('http/tests/passes/image.html') tests.add('http/tests/ssl/text.html') tests.add('passes/args.html') tests.add('passes/error.html', error='stuff going to stderr') tests.add('passes/image.html') tests.add('passes/audio.html', actual_audio=base64.b64encode('audio-wav'), expected_audio='audio-wav', actual_text=None, expected_text=None, actual_image=None, expected_image=None, actual_checksum=None) tests.add('passes/platform_image.html') tests.add('passes/checksum_in_image.html', expected_image='tEXtchecksum\x00checksum_in_image-checksum') tests.add('passes/skipped/skip.html') tests.add('passes/testharness.html', actual_text='This is a testharness.js-based test.\nPASS: assert is fine\nHarness: the test ran to completion.\n\n', expected_text=None, actual_image=None, expected_image=None, actual_checksum=None) # Note that here the checksums don't match but the images do, so this test passes "unexpectedly". # See https://bugs.webkit.org/show_bug.cgi?id=69444 . tests.add('failures/unexpected/checksum.html', actual_checksum='checksum_fail-checksum') # Text output files contain "\r\n" on Windows. This may be # helpfully filtered to "\r\r\n" by our Python/Cygwin tooling. tests.add('passes/text.html', expected_text='\nfoo\n\n', actual_text='\nfoo\r\n\r\r\n') # For reftests. tests.add_reftest('passes/reftest.html', 'passes/reftest-expected.html', same_image=True) # This adds a different virtual reference to ensure that that also works. tests.add('virtual/passes/reftest-expected.html', actual_checksum='xxx', actual_image='XXX', is_reftest=True) tests.add_reftest('passes/mismatch.html', 'passes/mismatch-expected-mismatch.html', same_image=False) tests.add_reftest('passes/svgreftest.svg', 'passes/svgreftest-expected.svg', same_image=True) tests.add_reftest('passes/xhtreftest.xht', 'passes/xhtreftest-expected.html', same_image=True) tests.add_reftest('passes/phpreftest.php', 'passes/phpreftest-expected-mismatch.svg', same_image=False) tests.add_reftest('failures/expected/reftest.html', 'failures/expected/reftest-expected.html', same_image=False) tests.add_reftest('failures/expected/mismatch.html', 'failures/expected/mismatch-expected-mismatch.html', same_image=True) tests.add_reftest('failures/unexpected/crash-reftest.html', 'failures/unexpected/crash-reftest-expected.html', same_image=True, crash=True) tests.add_reftest('failures/unexpected/reftest.html', 'failures/unexpected/reftest-expected.html', same_image=False) tests.add_reftest('failures/unexpected/mismatch.html', 'failures/unexpected/mismatch-expected-mismatch.html', same_image=True) tests.add('failures/unexpected/reftest-nopixel.html', actual_checksum=None, actual_image=None, is_reftest=True) tests.add('failures/unexpected/reftest-nopixel-expected.html', actual_checksum=None, actual_image=None, is_reftest=True) tests.add('reftests/foo/test.html') tests.add('reftests/foo/test-ref.html') tests.add('reftests/foo/multiple-match-success.html', actual_checksum='abc', actual_image='abc') tests.add('reftests/foo/multiple-match-failure.html', actual_checksum='abc', actual_image='abc') tests.add('reftests/foo/multiple-mismatch-success.html', actual_checksum='abc', actual_image='abc') tests.add('reftests/foo/multiple-mismatch-failure.html', actual_checksum='abc', actual_image='abc') tests.add('reftests/foo/multiple-both-success.html', actual_checksum='abc', actual_image='abc') tests.add('reftests/foo/multiple-both-failure.html', actual_checksum='abc', actual_image='abc') tests.add('reftests/foo/matching-ref.html', actual_checksum='abc', actual_image='abc') tests.add('reftests/foo/mismatching-ref.html', actual_checksum='def', actual_image='def') tests.add('reftests/foo/second-mismatching-ref.html', actual_checksum='ghi', actual_image='ghi') # The following files shouldn't be treated as reftests tests.add_reftest('reftests/foo/unlistedtest.html', 'reftests/foo/unlistedtest-expected.html', same_image=True) tests.add('reftests/foo/reference/bar/common.html') tests.add('reftests/foo/reftest/bar/shared.html') tests.add('websocket/tests/passes/text.html') # For testing that we don't run tests under platform/. Note that these don't contribute to TOTAL_TESTS. tests.add('platform/test-mac-leopard/http/test.html') tests.add('platform/test-win-win7/http/test.html') # For testing if perf tests are running in a locked shard. tests.add('perf/foo/test.html') tests.add('perf/foo/test-ref.html') # For testing --pixel-test-directories. tests.add('failures/unexpected/pixeldir/image_in_pixeldir.html', actual_image='image_in_pixeldir-pngtEXtchecksum\x00checksum_fail', expected_image='image_in_pixeldir-pngtEXtchecksum\x00checksum-png') tests.add('failures/unexpected/image_not_in_pixeldir.html', actual_image='image_not_in_pixeldir-pngtEXtchecksum\x00checksum_fail', expected_image='image_not_in_pixeldir-pngtEXtchecksum\x00checksum-png') # For testing that virtual test suites don't expand names containing themselves # See webkit.org/b/97925 and base_unittest.PortTest.test_tests(). tests.add('passes/test-virtual-passes.html') tests.add('passes/passes/test-virtual-passes.html') return tests # Here we use a non-standard location for the layout tests, to ensure that # this works. The path contains a '.' in the name because we've seen bugs # related to this before. LAYOUT_TEST_DIR = '/test.checkout/LayoutTests' PERF_TEST_DIR = '/test.checkout/PerformanceTests' # Here we synthesize an in-memory filesystem from the test list # in order to fully control the test output and to demonstrate that # we don't need a real filesystem to run the tests. def add_unit_tests_to_mock_filesystem(filesystem): # Add the test_expectations file. filesystem.maybe_make_directory('/mock-checkout/LayoutTests') if not filesystem.exists('/mock-checkout/LayoutTests/TestExpectations'): filesystem.write_text_file('/mock-checkout/LayoutTests/TestExpectations', """ Bug(test) failures/expected/crash.html [ Crash ] Bug(test) failures/expected/crash_then_text.html [ Failure ] Bug(test) failures/expected/image.html [ ImageOnlyFailure ] Bug(test) failures/expected/needsrebaseline.html [ NeedsRebaseline ] Bug(test) failures/expected/needsmanualrebaseline.html [ NeedsManualRebaseline ] Bug(test) failures/expected/audio.html [ Failure ] Bug(test) failures/expected/image_checksum.html [ ImageOnlyFailure ] Bug(test) failures/expected/mismatch.html [ ImageOnlyFailure ] Bug(test) failures/expected/missing_check.html [ Missing Pass ] Bug(test) failures/expected/missing_image.html [ Missing Pass ] Bug(test) failures/expected/missing_audio.html [ Missing Pass ] Bug(test) failures/expected/missing_text.html [ Missing Pass ] Bug(test) failures/expected/newlines_leading.html [ Failure ] Bug(test) failures/expected/newlines_trailing.html [ Failure ] Bug(test) failures/expected/newlines_with_excess_CR.html [ Failure ] Bug(test) failures/expected/reftest.html [ ImageOnlyFailure ] Bug(test) failures/expected/text.html [ Failure ] Bug(test) failures/expected/testharness.html [ Failure ] Bug(test) failures/expected/timeout.html [ Timeout ] Bug(test) failures/expected/keyboard.html [ WontFix ] Bug(test) failures/expected/exception.html [ WontFix ] Bug(test) failures/expected/device_failure.html [ WontFix ] Bug(test) failures/unexpected/pass.html [ Failure ] Bug(test) passes/skipped/skip.html [ Skip ] Bug(test) passes/text.html [ Pass ] """) filesystem.maybe_make_directory(LAYOUT_TEST_DIR + '/reftests/foo') filesystem.write_text_file(LAYOUT_TEST_DIR + '/reftests/foo/reftest.list', """ == test.html test-ref.html == multiple-match-success.html mismatching-ref.html == multiple-match-success.html matching-ref.html == multiple-match-failure.html mismatching-ref.html == multiple-match-failure.html second-mismatching-ref.html != multiple-mismatch-success.html mismatching-ref.html != multiple-mismatch-success.html second-mismatching-ref.html != multiple-mismatch-failure.html mismatching-ref.html != multiple-mismatch-failure.html matching-ref.html == multiple-both-success.html matching-ref.html == multiple-both-success.html mismatching-ref.html != multiple-both-success.html second-mismatching-ref.html == multiple-both-failure.html matching-ref.html != multiple-both-failure.html second-mismatching-ref.html != multiple-both-failure.html matching-ref.html """) # FIXME: This test was only being ignored because of missing a leading '/'. # Fixing the typo causes several tests to assert, so disabling the test entirely. # Add in a file should be ignored by port.find_test_files(). #files[LAYOUT_TEST_DIR + '/userscripts/resources/iframe.html'] = 'iframe' def add_file(test, suffix, contents): dirname = filesystem.join(LAYOUT_TEST_DIR, test.name[0:test.name.rfind('/')]) base = test.base filesystem.maybe_make_directory(dirname) filesystem.write_binary_file(filesystem.join(dirname, base + suffix), contents) # Add each test and the expected output, if any. test_list = unit_test_list() for test in test_list.tests.values(): add_file(test, test.name[test.name.rfind('.'):], '') if test.is_reftest: continue if test.actual_audio: add_file(test, '-expected.wav', test.expected_audio) continue add_file(test, '-expected.txt', test.expected_text) add_file(test, '-expected.png', test.expected_image) filesystem.write_text_file(filesystem.join(LAYOUT_TEST_DIR, 'virtual', 'passes', 'args-expected.txt'), 'args-txt --virtual-arg') # Clear the list of written files so that we can watch what happens during testing. filesystem.clear_written_files() class TestPort(Port): port_name = 'test' default_port_name = 'test-mac-leopard' """Test implementation of the Port interface.""" ALL_BASELINE_VARIANTS = ( 'test-linux-x86_64', 'test-mac-snowleopard', 'test-mac-leopard', 'test-win-win7', 'test-win-xp', ) FALLBACK_PATHS = { 'xp': ['test-win-win7', 'test-win-xp'], 'win7': ['test-win-win7'], 'leopard': ['test-mac-leopard', 'test-mac-snowleopard'], 'snowleopard': ['test-mac-snowleopard'], 'lucid': ['test-linux-x86_64', 'test-win-win7'], } @classmethod def determine_full_port_name(cls, host, options, port_name): if port_name == 'test': return TestPort.default_port_name return port_name def __init__(self, host, port_name=None, **kwargs): Port.__init__(self, host, port_name or TestPort.default_port_name, **kwargs) self._tests = unit_test_list() self._flakes = set() # FIXME: crbug.com/279494. This needs to be in the "real layout tests # dir" in a mock filesystem, rather than outside of the checkout, so # that tests that want to write to a TestExpectations file can share # this between "test" ports and "real" ports. This is the result of # rebaseline_unittest.py having tests that refer to "real" port names # and real builders instead of fake builders that point back to the # test ports. rebaseline_unittest.py needs to not mix both "real" ports # and "test" ports self._generic_expectations_path = '/mock-checkout/LayoutTests/TestExpectations' self._results_directory = None self._operating_system = 'mac' if self._name.startswith('test-win'): self._operating_system = 'win' elif self._name.startswith('test-linux'): self._operating_system = 'linux' version_map = { 'test-win-xp': 'xp', 'test-win-win7': 'win7', 'test-mac-leopard': 'leopard', 'test-mac-snowleopard': 'snowleopard', 'test-linux-x86_64': 'lucid', } self._version = version_map[self._name] def repository_paths(self): """Returns a list of (repository_name, repository_path) tuples of its depending code base.""" # FIXME: We override this just to keep the perf tests happy. return [('blink', self.layout_tests_dir())] def buildbot_archives_baselines(self): return self._name != 'test-win-xp' def default_pixel_tests(self): return True def _path_to_driver(self): # This routine shouldn't normally be called, but it is called by # the mock_drt Driver. We return something, but make sure it's useless. return 'MOCK _path_to_driver' def default_child_processes(self): return 1 def check_build(self, needs_http, printer): return test_run_results.OK_EXIT_STATUS def check_sys_deps(self, needs_http): return test_run_results.OK_EXIT_STATUS def default_configuration(self): return 'Release' def diff_image(self, expected_contents, actual_contents): diffed = actual_contents != expected_contents if not actual_contents and not expected_contents: return (None, None) if not actual_contents or not expected_contents: return (True, None) if diffed: return ("< %s\n---\n> %s\n" % (expected_contents, actual_contents), None) return (None, None) def layout_tests_dir(self): return LAYOUT_TEST_DIR def perf_tests_dir(self): return PERF_TEST_DIR def webkit_base(self): return '/test.checkout' def _skipped_tests_for_unsupported_features(self, test_list): return set(['failures/expected/skip_text.html', 'failures/unexpected/skip_pass.html', 'virtual/skipped']) def name(self): return self._name def operating_system(self): return self._operating_system def _path_to_wdiff(self): return None def default_results_directory(self): return '/tmp/layout-test-results' def setup_test_run(self): pass def _driver_class(self): return TestDriver def start_http_server(self, additional_dirs=None, number_of_servers=None): pass def start_websocket_server(self): pass def acquire_http_lock(self): pass def stop_http_server(self): pass def stop_websocket_server(self): pass def release_http_lock(self): pass def _path_to_lighttpd(self): return "/usr/sbin/lighttpd" def _path_to_lighttpd_modules(self): return "/usr/lib/lighttpd" def _path_to_lighttpd_php(self): return "/usr/bin/php-cgi" def _path_to_apache(self): return "/usr/sbin/httpd" def _path_to_apache_config_file(self): return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 'httpd.conf') def path_to_generic_test_expectations_file(self): return self._generic_expectations_path def _port_specific_expectations_files(self): return [self._filesystem.join(self._webkit_baseline_path(d), 'TestExpectations') for d in ['test', 'test-win-xp']] def all_test_configurations(self): """Returns a sequence of the TestConfigurations the port supports.""" # By default, we assume we want to test every graphics type in # every configuration on every system. test_configurations = [] for version, architecture in self._all_systems(): for build_type in self._all_build_types(): test_configurations.append(TestConfiguration( version=version, architecture=architecture, build_type=build_type)) return test_configurations def _all_systems(self): return (('leopard', 'x86'), ('snowleopard', 'x86'), ('xp', 'x86'), ('win7', 'x86'), ('lucid', 'x86'), ('lucid', 'x86_64')) def _all_build_types(self): return ('debug', 'release') def configuration_specifier_macros(self): """To avoid surprises when introducing new macros, these are intentionally fixed in time.""" return {'mac': ['leopard', 'snowleopard'], 'win': ['xp', 'win7'], 'linux': ['lucid']} def all_baseline_variants(self): return self.ALL_BASELINE_VARIANTS def virtual_test_suites(self): return [ VirtualTestSuite('passes', 'passes', ['--virtual-arg'], use_legacy_naming=True), VirtualTestSuite('skipped', 'failures/expected', ['--virtual-arg2'], use_legacy_naming=True), ] class TestDriver(Driver): """Test/Dummy implementation of the driver interface.""" next_pid = 1 def __init__(self, *args, **kwargs): super(TestDriver, self).__init__(*args, **kwargs) self.started = False self.pid = 0 def cmd_line(self, pixel_tests, per_test_args): pixel_tests_flag = '-p' if pixel_tests else '' return [self._port._path_to_driver()] + [pixel_tests_flag] + self._port.get_option('additional_drt_flag', []) + per_test_args def run_test(self, driver_input, stop_when_done): if not self.started: self.started = True self.pid = TestDriver.next_pid TestDriver.next_pid += 1 start_time = time.time() test_name = driver_input.test_name test_args = driver_input.args or [] test = self._port._tests[test_name] if test.keyboard: raise KeyboardInterrupt if test.exception: raise ValueError('exception from ' + test_name) if test.device_failure: raise DeviceFailure('device failure in ' + test_name) audio = None actual_text = test.actual_text crash = test.crash web_process_crash = test.web_process_crash if 'flaky/text.html' in test_name and not test_name in self._port._flakes: self._port._flakes.add(test_name) actual_text = 'flaky text failure' if 'crash_then_text.html' in test_name: if test_name in self._port._flakes: actual_text = 'text failure' else: self._port._flakes.add(test_name) crashed_process_name = self._port.driver_name() crashed_pid = 1 crash = True if 'text_then_crash.html' in test_name: if test_name in self._port._flakes: crashed_process_name = self._port.driver_name() crashed_pid = 1 crash = True else: self._port._flakes.add(test_name) actual_text = 'text failure' if actual_text and test_args and test_name == 'passes/args.html': actual_text = actual_text + ' ' + ' '.join(test_args) if test.actual_audio: audio = base64.b64decode(test.actual_audio) crashed_process_name = None crashed_pid = None if crash: crashed_process_name = self._port.driver_name() crashed_pid = 1 elif web_process_crash: crashed_process_name = 'WebProcess' crashed_pid = 2 crash_log = '' if crashed_process_name: crash_logs = CrashLogs(self._port.host) crash_log = crash_logs.find_newest_log(crashed_process_name, None) or '' if stop_when_done: self.stop() if test.actual_checksum == driver_input.image_hash: image = None else: image = test.actual_image return DriverOutput(actual_text, image, test.actual_checksum, audio, crash=(crash or web_process_crash), crashed_process_name=crashed_process_name, crashed_pid=crashed_pid, crash_log=crash_log, test_time=time.time() - start_time, timeout=test.timeout, error=test.error, pid=self.pid) def stop(self): self.started = False
lordmos/blink
Tools/Scripts/webkitpy/layout_tests/port/test.py
Python
mit
29,134
# League of Legends chest status [![Build Status](https://travis-ci.org/rmehner/lol-chest-status.svg?branch=master)](https://travis-ci.org/rmehner/lol-chest-status) [![Greenkeeper badge](https://badges.greenkeeper.io/rmehner/lol-chest-status.svg)](https://greenkeeper.io/) ## Check if you can get a chest with that champion My friends and me, we mostly play ARAM and we sometimes want to know if we can get a chest with a champion and the official client does not show this if you're in the champion select screen. This scratches our own itch. It might scratch yours. This is *not* beautiful and the result of a quick hack, don't use it in production. No frameworks have been harmed making this. ## Requirements * Node 8.0.0 (we need this sweet async/await) * npm 5+ is recommended for package-lock.json support. * A Riot API key (https://developer.riotgames.com) * The frontend needs a modern browser with support for arrow functions and `<marquee>`. ## Installation * `git clone https://github.com/rmehner/lol-chest-status.git` * `cd lol-chest-status` * `npm install` * create `.env` file (see `.env.example`) with your Riot API key in there ## Start * run `npm start` in the project folder * point your browser to `http://localhost:3000` ## Legal This project is not endorsed by Riot Games. League of Legends and Riot Games are trademarks, service marks, and registered trademarks of Riot Games, Inc.
rmehner/lol-chest-status
README.md
Markdown
mit
1,416
/* pygame - Python Game Library Copyright (C) 2000-2001 Pete Shinners Copyright (C) 2007 Rene Dudfield, Richard Goedeken This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Pete Shinners pete@shinners.org */ /* * surface transformations for pygame */ #include "pygame.h" #include "pgcompat.h" #include "doc/transform_doc.h" #include <math.h> #include <string.h> #include "scale.h" typedef void (* SMOOTHSCALE_FILTER_P)(Uint8 *, Uint8 *, int, int, int, int, int); struct _module_state { const char *filter_type; SMOOTHSCALE_FILTER_P filter_shrink_X; SMOOTHSCALE_FILTER_P filter_shrink_Y; SMOOTHSCALE_FILTER_P filter_expand_X; SMOOTHSCALE_FILTER_P filter_expand_Y; }; #if defined(SCALE_MMX_SUPPORT) #include <SDL_cpuinfo.h> #if PY3 #define GETSTATE(m) PY3_GETSTATE (_module_state, m) #else static struct _module_state _state = {0, 0, 0, 0, 0}; #define GETSTATE(m) PY2_GETSTATE (_state) #endif #else /* if defined(SCALE_MMX_SUPPORT) */ static void filter_shrink_X_ONLYC(Uint8 *, Uint8 *, int, int, int, int, int); static void filter_shrink_Y_ONLYC(Uint8 *, Uint8 *, int, int, int, int, int); static void filter_expand_X_ONLYC(Uint8 *, Uint8 *, int, int, int, int, int); static void filter_expand_Y_ONLYC(Uint8 *, Uint8 *, int, int, int, int, int); static struct _module_state _state = { "GENERIC", filter_shrink_X_ONLYC, filter_shrink_Y_ONLYC, filter_expand_X_ONLYC, filter_expand_Y_ONLYC}; #define GETSTATE(m) PY2_GETSTATE (_state) #define smoothscale_init(st) #endif /* if defined(SCALE_MMX_SUPPORT) */ void scale2x (SDL_Surface *src, SDL_Surface *dst); extern SDL_Surface* rotozoomSurface (SDL_Surface *src, double angle, double zoom, int smooth); static SDL_Surface* newsurf_fromsurf (SDL_Surface* surf, int width, int height) { SDL_Surface* newsurf; int result; if (surf->format->BytesPerPixel <= 0 || surf->format->BytesPerPixel > 4) return (SDL_Surface*) (RAISE (PyExc_ValueError, "unsupport Surface bit depth for transform")); newsurf = SDL_CreateRGBSurface (surf->flags, width, height, surf->format->BitsPerPixel, surf->format->Rmask, surf->format->Gmask, surf->format->Bmask, surf->format->Amask); if (!newsurf) return (SDL_Surface*) (RAISE (PyExc_SDLError, SDL_GetError ())); /* Copy palette, colorkey, etc info */ if (surf->format->BytesPerPixel==1 && surf->format->palette) SDL_SetColors (newsurf, surf->format->palette->colors, 0, surf->format->palette->ncolors); if (surf->flags & SDL_SRCCOLORKEY) SDL_SetColorKey (newsurf, (surf->flags&SDL_RLEACCEL) | SDL_SRCCOLORKEY, surf->format->colorkey); if (surf->flags&SDL_SRCALPHA) { result = SDL_SetAlpha (newsurf, surf->flags, surf->format->alpha); if (result == -1) return (SDL_Surface*) (RAISE (PyExc_SDLError, SDL_GetError ())); } return newsurf; } static SDL_Surface* rotate90 (SDL_Surface *src, int angle) { int numturns = (angle / 90) % 4; int dstwidth, dstheight; SDL_Surface* dst; char *srcpix, *dstpix, *srcrow, *dstrow; int srcstepx, srcstepy, dststepx, dststepy; int loopx, loopy; if (numturns < 0) numturns = 4 + numturns; if (!(numturns % 2)) { dstwidth = src->w; dstheight = src->h; } else { dstwidth = src->h; dstheight = src->w; } dst = newsurf_fromsurf (src, dstwidth, dstheight); if (!dst) return NULL; SDL_LockSurface (dst); srcrow = (char*) src->pixels; dstrow = (char*) dst->pixels; srcstepx = dststepx = src->format->BytesPerPixel; srcstepy = src->pitch; dststepy = dst->pitch; switch (numturns) { /*case 0: we don't need to change anything*/ case 1: srcrow += ((src->w - 1) * srcstepx); srcstepy = -srcstepx; srcstepx = src->pitch; break; case 2: srcrow += ((src->h - 1) * srcstepy) + ((src->w - 1) * srcstepx); srcstepx = -srcstepx; srcstepy = -srcstepy; break; case 3: srcrow += ((src->h - 1) * srcstepy); srcstepx = -srcstepy; srcstepy = src->format->BytesPerPixel; break; } switch (src->format->BytesPerPixel) { case 1: for (loopy = 0; loopy < dstheight; ++loopy) { dstpix = dstrow; srcpix = srcrow; for (loopx = 0; loopx < dstwidth; ++loopx) { *dstpix = *srcpix; srcpix += srcstepx; dstpix += dststepx; } dstrow += dststepy; srcrow += srcstepy; } break; case 2: for (loopy = 0; loopy < dstheight; ++loopy) { dstpix = dstrow; srcpix = srcrow; for (loopx = 0; loopx < dstwidth; ++loopx) { *(Uint16*)dstpix = *(Uint16*)srcpix; srcpix += srcstepx; dstpix += dststepx; } dstrow += dststepy; srcrow += srcstepy; } break; case 3: for (loopy = 0; loopy < dstheight; ++loopy) { dstpix = dstrow; srcpix = srcrow; for (loopx = 0; loopx < dstwidth; ++loopx) { dstpix[0] = srcpix[0]; dstpix[1] = srcpix[1]; dstpix[2] = srcpix[2]; srcpix += srcstepx; dstpix += dststepx; } dstrow += dststepy; srcrow += srcstepy; } break; case 4: for (loopy = 0; loopy < dstheight; ++loopy) { dstpix = dstrow; srcpix = srcrow; for (loopx = 0; loopx < dstwidth; ++loopx) { *(Uint32*)dstpix = *(Uint32*)srcpix; srcpix += srcstepx; dstpix += dststepx; } dstrow += dststepy; srcrow += srcstepy; } break; } SDL_UnlockSurface (dst); return dst; } static void rotate (SDL_Surface *src, SDL_Surface *dst, Uint32 bgcolor, double sangle, double cangle) { int x, y, dx, dy; Uint8 *srcpix = (Uint8*) src->pixels; Uint8 *dstrow = (Uint8*) dst->pixels; int srcpitch = src->pitch; int dstpitch = dst->pitch; int cy = dst->h / 2; int xd = ((src->w - dst->w) << 15); int yd = ((src->h - dst->h) << 15); int isin = (int)(sangle * 65536); int icos = (int)(cangle * 65536); int ax = ((dst->w) << 15) - (int)(cangle * ((dst->w - 1) << 15)); int ay = ((dst->h) << 15) - (int)(sangle * ((dst->w - 1) << 15)); int xmaxval = ((src->w) << 16) - 1; int ymaxval = ((src->h) << 16) - 1; switch (src->format->BytesPerPixel) { case 1: for (y = 0; y < dst->h; y++) { Uint8 *dstpos = (Uint8*)dstrow; dx = (ax + (isin * (cy - y))) + xd; dy = (ay - (icos * (cy - y))) + yd; for (x = 0; x < dst->w; x++) { if(dx < 0 || dy < 0 || dx > xmaxval || dy > ymaxval) *dstpos++ = bgcolor; else *dstpos++ = *(Uint8*) (srcpix + ((dy >> 16) * srcpitch) + (dx >> 16)); dx += icos; dy += isin; } dstrow += dstpitch; } break; case 2: for (y = 0; y < dst->h; y++) { Uint16 *dstpos = (Uint16*)dstrow; dx = (ax + (isin * (cy - y))) + xd; dy = (ay - (icos * (cy - y))) + yd; for (x = 0; x < dst->w; x++) { if (dx < 0 || dy < 0 || dx > xmaxval || dy > ymaxval) *dstpos++ = bgcolor; else *dstpos++ = *(Uint16*) (srcpix + ((dy >> 16) * srcpitch) + (dx >> 16 << 1)); dx += icos; dy += isin; } dstrow += dstpitch; } break; case 4: for (y = 0; y < dst->h; y++) { Uint32 *dstpos = (Uint32*)dstrow; dx = (ax + (isin * (cy - y))) + xd; dy = (ay - (icos * (cy - y))) + yd; for (x = 0; x < dst->w; x++) { if (dx < 0 || dy < 0 || dx > xmaxval || dy > ymaxval) *dstpos++ = bgcolor; else *dstpos++ = *(Uint32*) (srcpix + ((dy >> 16) * srcpitch) + (dx >> 16 << 2)); dx += icos; dy += isin; } dstrow += dstpitch; } break; default: /*case 3:*/ for (y = 0; y < dst->h; y++) { Uint8 *dstpos = (Uint8*)dstrow; dx = (ax + (isin * (cy - y))) + xd; dy = (ay - (icos * (cy - y))) + yd; for (x = 0; x < dst->w; x++) { if (dx < 0 || dy < 0 || dx > xmaxval || dy > ymaxval) { dstpos[0] = ((Uint8*) &bgcolor)[0]; dstpos[1] = ((Uint8*) &bgcolor)[1]; dstpos[2] = ((Uint8*) &bgcolor)[2]; dstpos += 3; } else { Uint8* srcpos = (Uint8*) (srcpix + ((dy >> 16) * srcpitch) + ((dx >> 16) * 3)); dstpos[0] = srcpos[0]; dstpos[1] = srcpos[1]; dstpos[2] = srcpos[2]; dstpos += 3; } dx += icos; dy += isin; } dstrow += dstpitch; } break; } } static void stretch (SDL_Surface *src, SDL_Surface *dst) { int looph, loopw; Uint8* srcrow = (Uint8*) src->pixels; Uint8* dstrow = (Uint8*) dst->pixels; int srcpitch = src->pitch; int dstpitch = dst->pitch; int dstwidth = dst->w; int dstheight = dst->h; int dstwidth2 = dst->w << 1; int dstheight2 = dst->h << 1; int srcwidth2 = src->w << 1; int srcheight2 = src->h << 1; int w_err, h_err = srcheight2 - dstheight2; switch (src->format->BytesPerPixel) { case 1: for (looph = 0; looph < dstheight; ++looph) { Uint8 *srcpix = (Uint8*)srcrow, *dstpix = (Uint8*)dstrow; w_err = srcwidth2 - dstwidth2; for (loopw = 0; loopw < dstwidth; ++ loopw) { *dstpix++ = *srcpix; while (w_err >= 0) { ++srcpix; w_err -= dstwidth2; } w_err += srcwidth2; } while (h_err >= 0) { srcrow += srcpitch; h_err -= dstheight2; } dstrow += dstpitch; h_err += srcheight2; } break; case 2: for (looph = 0; looph < dstheight; ++looph) { Uint16 *srcpix = (Uint16*)srcrow, *dstpix = (Uint16*)dstrow; w_err = srcwidth2 - dstwidth2; for (loopw = 0; loopw < dstwidth; ++ loopw) { *dstpix++ = *srcpix; while (w_err >= 0) { ++srcpix; w_err -= dstwidth2; } w_err += srcwidth2; } while (h_err >= 0) { srcrow += srcpitch; h_err -= dstheight2; } dstrow += dstpitch; h_err += srcheight2; } break; case 3: for (looph = 0; looph < dstheight; ++looph) { Uint8 *srcpix = (Uint8*)srcrow, *dstpix = (Uint8*)dstrow; w_err = srcwidth2 - dstwidth2; for (loopw = 0; loopw < dstwidth; ++ loopw) { dstpix[0] = srcpix[0]; dstpix[1] = srcpix[1]; dstpix[2] = srcpix[2]; dstpix += 3; while (w_err >= 0) { srcpix+=3; w_err -= dstwidth2; } w_err += srcwidth2; } while (h_err >= 0) { srcrow += srcpitch; h_err -= dstheight2; } dstrow += dstpitch; h_err += srcheight2; } break; default: /*case 4:*/ for (looph = 0; looph < dstheight; ++looph) { Uint32 *srcpix = (Uint32*)srcrow, *dstpix = (Uint32*)dstrow; w_err = srcwidth2 - dstwidth2; for (loopw = 0; loopw < dstwidth; ++ loopw) { *dstpix++ = *srcpix; while (w_err >= 0) { ++srcpix; w_err -= dstwidth2; } w_err += srcwidth2; } while (h_err >= 0) { srcrow += srcpitch; h_err -= dstheight2; } dstrow += dstpitch; h_err += srcheight2; } break; } } static PyObject* surf_scale (PyObject* self, PyObject* arg) { PyObject *surfobj, *surfobj2; SDL_Surface* surf, *newsurf; int width, height; surfobj2 = NULL; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!(ii)|O!", &PySurface_Type, &surfobj, &width, &height, &PySurface_Type, &surfobj2)) return NULL; if (width < 0 || height < 0) return RAISE (PyExc_ValueError, "Cannot scale to negative size"); surf = PySurface_AsSurface (surfobj); if (!surfobj2) { newsurf = newsurf_fromsurf (surf, width, height); if (!newsurf) return NULL; } else newsurf = PySurface_AsSurface (surfobj2); /* check to see if the size is twice as big. */ if (newsurf->w != width || newsurf->h != height) return RAISE (PyExc_ValueError, "Destination surface not the given width or height."); /* check to see if the format of the surface is the same. */ if (surf->format->BytesPerPixel != newsurf->format->BytesPerPixel) return RAISE (PyExc_ValueError, "Source and destination surfaces need the same format."); if (width && height) { SDL_LockSurface (newsurf); PySurface_Lock (surfobj); Py_BEGIN_ALLOW_THREADS; stretch (surf, newsurf); Py_END_ALLOW_THREADS; PySurface_Unlock (surfobj); SDL_UnlockSurface (newsurf); } if (surfobj2) { Py_INCREF (surfobj2); return surfobj2; } else return PySurface_New (newsurf); } static PyObject* surf_scale2x (PyObject* self, PyObject* arg) { PyObject *surfobj, *surfobj2; SDL_Surface *surf; SDL_Surface *newsurf; int width, height; surfobj2 = NULL; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!|O!", &PySurface_Type, &surfobj, &PySurface_Type, &surfobj2)) return NULL; surf = PySurface_AsSurface (surfobj); /* if the second surface is not there, then make a new one. */ if (!surfobj2) { width = surf->w * 2; height = surf->h * 2; newsurf = newsurf_fromsurf (surf, width, height); if (!newsurf) return NULL; } else newsurf = PySurface_AsSurface (surfobj2); /* check to see if the size is twice as big. */ if (newsurf->w != (surf->w * 2) || newsurf->h != (surf->h * 2)) return RAISE (PyExc_ValueError, "Destination surface not 2x bigger."); /* check to see if the format of the surface is the same. */ if (surf->format->BytesPerPixel != newsurf->format->BytesPerPixel) return RAISE (PyExc_ValueError, "Source and destination surfaces need the same format."); SDL_LockSurface (newsurf); SDL_LockSurface (surf); Py_BEGIN_ALLOW_THREADS; scale2x (surf, newsurf); Py_END_ALLOW_THREADS; SDL_UnlockSurface (surf); SDL_UnlockSurface (newsurf); if (surfobj2) { Py_INCREF (surfobj2); return surfobj2; } else return PySurface_New (newsurf); } static PyObject* surf_rotate (PyObject* self, PyObject* arg) { PyObject *surfobj; SDL_Surface* surf, *newsurf; float angle; double radangle, sangle, cangle; double x, y, cx, cy, sx, sy; int nxmax,nymax; Uint32 bgcolor; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!f", &PySurface_Type, &surfobj, &angle)) return NULL; surf = PySurface_AsSurface (surfobj); if (surf->format->BytesPerPixel <= 0 || surf->format->BytesPerPixel > 4) return RAISE (PyExc_ValueError, "unsupport Surface bit depth for transform"); if ( !( fmod((double)angle, (double)90.0f) ) ) { PySurface_Lock (surfobj); Py_BEGIN_ALLOW_THREADS; newsurf = rotate90 (surf, (int) angle); Py_END_ALLOW_THREADS; PySurface_Unlock (surfobj); if (!newsurf) return NULL; return PySurface_New (newsurf); } radangle = angle*.01745329251994329; sangle = sin (radangle); cangle = cos (radangle); x = surf->w; y = surf->h; cx = cangle*x; cy = cangle*y; sx = sangle*x; sy = sangle*y; nxmax = (int) (MAX (MAX (MAX (fabs (cx + sy), fabs (cx - sy)), fabs (-cx + sy)), fabs (-cx - sy))); nymax = (int) (MAX (MAX (MAX (fabs (sx + cy), fabs (sx - cy)), fabs (-sx + cy)), fabs (-sx - cy))); newsurf = newsurf_fromsurf (surf, nxmax, nymax); if (!newsurf) return NULL; /* get the background color */ if (surf->flags & SDL_SRCCOLORKEY) bgcolor = surf->format->colorkey; else { SDL_LockSurface (surf); switch (surf->format->BytesPerPixel) { case 1: bgcolor = *(Uint8*) surf->pixels; break; case 2: bgcolor = *(Uint16*) surf->pixels; break; case 4: bgcolor = *(Uint32*) surf->pixels; break; default: /*case 3:*/ #if SDL_BYTEORDER == SDL_LIL_ENDIAN bgcolor = (((Uint8*) surf->pixels)[0]) + (((Uint8*) surf->pixels)[1] << 8) + (((Uint8*) surf->pixels)[2] << 16); #else bgcolor = (((Uint8*) surf->pixels)[2]) + (((Uint8*) surf->pixels)[1] << 8) + (((Uint8*) surf->pixels)[0] << 16); #endif } SDL_UnlockSurface (surf); bgcolor &= ~surf->format->Amask; } SDL_LockSurface (newsurf); PySurface_Lock (surfobj); Py_BEGIN_ALLOW_THREADS; rotate (surf, newsurf, bgcolor, sangle, cangle); Py_END_ALLOW_THREADS; PySurface_Unlock (surfobj); SDL_UnlockSurface (newsurf); return PySurface_New (newsurf); } static PyObject* surf_flip (PyObject* self, PyObject* arg) { PyObject *surfobj; SDL_Surface* surf, *newsurf; int xaxis, yaxis; int loopx, loopy; int pixsize, srcpitch, dstpitch; Uint8 *srcpix, *dstpix; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!ii", &PySurface_Type, &surfobj, &xaxis, &yaxis)) return NULL; surf = PySurface_AsSurface (surfobj); newsurf = newsurf_fromsurf (surf, surf->w, surf->h); if (!newsurf) return NULL; pixsize = surf->format->BytesPerPixel; srcpitch = surf->pitch; dstpitch = newsurf->pitch; SDL_LockSurface (newsurf); PySurface_Lock (surfobj); srcpix = (Uint8*) surf->pixels; dstpix = (Uint8*) newsurf->pixels; Py_BEGIN_ALLOW_THREADS; if (!xaxis) { if (!yaxis) { for (loopy = 0; loopy < surf->h; ++loopy) memcpy (dstpix + loopy * dstpitch, srcpix + loopy * srcpitch, surf->w * surf->format->BytesPerPixel); } else { for (loopy = 0; loopy < surf->h; ++loopy) memcpy (dstpix + loopy * dstpitch, srcpix + (surf->h - 1 - loopy) * srcpitch, surf->w * surf->format->BytesPerPixel); } } else /*if (xaxis)*/ { if (yaxis) { switch (surf->format->BytesPerPixel) { case 1: for (loopy = 0; loopy < surf->h; ++loopy) { Uint8* dst = (Uint8*) (dstpix + loopy * dstpitch); Uint8* src = ((Uint8*) (srcpix + (surf->h - 1 - loopy) * srcpitch)) + surf->w - 1; for (loopx = 0; loopx < surf->w; ++loopx) *dst++ = *src--; } break; case 2: for (loopy = 0; loopy < surf->h; ++loopy) { Uint16* dst = (Uint16*) (dstpix + loopy * dstpitch); Uint16* src = ((Uint16*) (srcpix + (surf->h - 1 - loopy) * srcpitch)) + surf->w - 1; for (loopx = 0; loopx < surf->w; ++loopx) *dst++ = *src--; } break; case 4: for (loopy = 0; loopy < surf->h; ++loopy) { Uint32* dst = (Uint32*) (dstpix + loopy * dstpitch); Uint32* src = ((Uint32*) (srcpix + (surf->h - 1 - loopy) * srcpitch)) + surf->w - 1; for (loopx = 0; loopx < surf->w; ++loopx) *dst++ = *src--; } break; case 3: for (loopy = 0; loopy < surf->h; ++loopy) { Uint8* dst = (Uint8*) (dstpix + loopy * dstpitch); Uint8* src = ((Uint8*) (srcpix + (surf->h - 1 - loopy) * srcpitch)) + surf->w * 3 - 3; for (loopx = 0; loopx < surf->w; ++loopx) { dst[0] = src[0]; dst[1] = src[1]; dst[2] = src[2]; dst += 3; src -= 3; } } break; } } else { switch (surf->format->BytesPerPixel) { case 1: for (loopy = 0; loopy < surf->h; ++loopy) { Uint8* dst = (Uint8*) (dstpix + loopy * dstpitch); Uint8* src = ((Uint8*) (srcpix + loopy * srcpitch)) + surf->w - 1; for (loopx = 0; loopx < surf->w; ++loopx) *dst++ = *src--; } break; case 2: for (loopy = 0; loopy < surf->h; ++loopy) { Uint16* dst = (Uint16*) (dstpix + loopy * dstpitch); Uint16* src = ((Uint16*) (srcpix + loopy * srcpitch)) + surf->w - 1; for (loopx = 0; loopx < surf->w; ++loopx) *dst++ = *src--; } break; case 4: for (loopy = 0; loopy < surf->h; ++loopy) { Uint32* dst = (Uint32*) (dstpix + loopy * dstpitch); Uint32* src = ((Uint32*) (srcpix + loopy * srcpitch)) + surf->w - 1; for (loopx = 0; loopx < surf->w; ++loopx) *dst++ = *src--; } break; case 3: for (loopy = 0; loopy < surf->h; ++loopy) { Uint8* dst = (Uint8*) (dstpix + loopy * dstpitch); Uint8* src = ((Uint8*) (srcpix + loopy * srcpitch)) + surf->w * 3 - 3; for (loopx = 0; loopx < surf->w; ++loopx) { dst[0] = src[0]; dst[1] = src[1]; dst[2] = src[2]; dst += 3; src -= 3; } } break; } } } Py_END_ALLOW_THREADS; PySurface_Unlock (surfobj); SDL_UnlockSurface (newsurf); return PySurface_New (newsurf); } static PyObject* surf_rotozoom (PyObject* self, PyObject* arg) { PyObject *surfobj; SDL_Surface *surf, *newsurf, *surf32; float scale, angle; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!ff", &PySurface_Type, &surfobj, &angle, &scale)) return NULL; surf = PySurface_AsSurface (surfobj); if (scale == 0.0) { newsurf = newsurf_fromsurf (surf, surf->w, surf->h); return PySurface_New (newsurf); } if (surf->format->BitsPerPixel == 32) { surf32 = surf; PySurface_Lock (surfobj); } else { Py_BEGIN_ALLOW_THREADS; surf32 = SDL_CreateRGBSurface (SDL_SWSURFACE, surf->w, surf->h, 32, 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000); SDL_BlitSurface (surf, NULL, surf32, NULL); Py_END_ALLOW_THREADS; } Py_BEGIN_ALLOW_THREADS; newsurf = rotozoomSurface (surf32, angle, scale, 1); Py_END_ALLOW_THREADS; if (surf32 == surf) PySurface_Unlock (surfobj); else SDL_FreeSurface (surf32); return PySurface_New (newsurf); } static SDL_Surface* chop (SDL_Surface *src, int x, int y, int width, int height) { SDL_Surface* dst; int dstwidth,dstheight; char *srcpix, *dstpix, *srcrow, *dstrow; int srcstepx, srcstepy, dststepx, dststepy; int loopx,loopy; if ((x + width) > src->w) width = src->w - x; if ((y + height) > src->h) height=src->h - y; if (x < 0) { width -= (-x); x = 0; } if (y < 0) { height -= (-y); y = 0; } dstwidth = src->w-width; dstheight = src->h-height; dst = newsurf_fromsurf (src,dstwidth,dstheight); if (!dst) return NULL; SDL_LockSurface (dst); srcrow = (char*) src->pixels; dstrow = (char*) dst->pixels; srcstepx = dststepx = src->format->BytesPerPixel; srcstepy = src->pitch; dststepy = dst->pitch; for (loopy = 0; loopy < src->h; loopy++) { if ((loopy < y) || (loopy >= (y + height))) { dstpix = dstrow; srcpix = srcrow; for (loopx = 0; loopx < src->w; loopx++) { if ((loopx < x) || (loopx >= (x + width))) { switch (src->format->BytesPerPixel) { case 1: *dstpix = *srcpix; break; case 2: *(Uint16*) dstpix = *(Uint16*) srcpix; break; case 3: dstpix[0] = srcpix[0]; dstpix[1] = srcpix[1]; dstpix[2] = srcpix[2]; break; case 4: *(Uint32*) dstpix = *(Uint32*) srcpix; break; } dstpix += dststepx; } srcpix += srcstepx; } dstrow += dststepy; } srcrow += srcstepy; } SDL_UnlockSurface (dst); return dst; } static PyObject* surf_chop (PyObject* self, PyObject* arg) { PyObject *surfobj, *rectobj; SDL_Surface* surf, *newsurf; GAME_Rect* rect, temp; if (!PyArg_ParseTuple (arg, "O!O", &PySurface_Type, &surfobj, &rectobj)) return NULL; if (!(rect = GameRect_FromObject (rectobj, &temp))) return RAISE (PyExc_TypeError, "Rect argument is invalid"); surf=PySurface_AsSurface (surfobj); Py_BEGIN_ALLOW_THREADS; newsurf = chop (surf, rect->x, rect->y, rect->w, rect->h); Py_END_ALLOW_THREADS; return PySurface_New (newsurf); } /* * smooth scale functions. */ /* this function implements an area-averaging shrinking filter in the X-dimension */ static void filter_shrink_X_ONLYC(Uint8 *srcpix, Uint8 *dstpix, int height, int srcpitch, int dstpitch, int srcwidth, int dstwidth) { int srcdiff = srcpitch - (srcwidth * 4); int dstdiff = dstpitch - (dstwidth * 4); int x, y; int xspace = 0x10000 * srcwidth / dstwidth; /* must be > 1 */ int xrecip = (int) (0x100000000LL / xspace); for (y = 0; y < height; y++) { Uint16 accumulate[4] = {0,0,0,0}; int xcounter = xspace; for (x = 0; x < srcwidth; x++) { if (xcounter > 0x10000) { accumulate[0] += (Uint16) *srcpix++; accumulate[1] += (Uint16) *srcpix++; accumulate[2] += (Uint16) *srcpix++; accumulate[3] += (Uint16) *srcpix++; xcounter -= 0x10000; } else { int xfrac = 0x10000 - xcounter; /* write out a destination pixel */ *dstpix++ = (Uint8) (((accumulate[0] + ((srcpix[0] * xcounter) >> 16)) * xrecip) >> 16); *dstpix++ = (Uint8) (((accumulate[1] + ((srcpix[1] * xcounter) >> 16)) * xrecip) >> 16); *dstpix++ = (Uint8) (((accumulate[2] + ((srcpix[2] * xcounter) >> 16)) * xrecip) >> 16); *dstpix++ = (Uint8) (((accumulate[3] + ((srcpix[3] * xcounter) >> 16)) * xrecip) >> 16); /* reload the accumulator with the remainder of this pixel */ accumulate[0] = (Uint16) ((*srcpix++ * xfrac) >> 16); accumulate[1] = (Uint16) ((*srcpix++ * xfrac) >> 16); accumulate[2] = (Uint16) ((*srcpix++ * xfrac) >> 16); accumulate[3] = (Uint16) ((*srcpix++ * xfrac) >> 16); xcounter = xspace - xfrac; } } srcpix += srcdiff; dstpix += dstdiff; } } /* this function implements an area-averaging shrinking filter in the Y-dimension */ static void filter_shrink_Y_ONLYC(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) { Uint16 *templine; int srcdiff = srcpitch - (width * 4); int dstdiff = dstpitch - (width * 4); int x, y; int yspace = 0x10000 * srcheight / dstheight; /* must be > 1 */ int yrecip = (int) (0x100000000LL / yspace); int ycounter = yspace; /* allocate and clear a memory area for storing the accumulator line */ templine = (Uint16 *) malloc(dstpitch * 2); if (templine == NULL) return; memset(templine, 0, dstpitch * 2); for (y = 0; y < srcheight; y++) { Uint16 *accumulate = templine; if (ycounter > 0x10000) { for (x = 0; x < width; x++) { *accumulate++ += (Uint16) *srcpix++; *accumulate++ += (Uint16) *srcpix++; *accumulate++ += (Uint16) *srcpix++; *accumulate++ += (Uint16) *srcpix++; } ycounter -= 0x10000; } else { int yfrac = 0x10000 - ycounter; /* write out a destination line */ for (x = 0; x < width; x++) { *dstpix++ = (Uint8) (((*accumulate++ + ((*srcpix++ * ycounter) >> 16)) * yrecip) >> 16); *dstpix++ = (Uint8) (((*accumulate++ + ((*srcpix++ * ycounter) >> 16)) * yrecip) >> 16); *dstpix++ = (Uint8) (((*accumulate++ + ((*srcpix++ * ycounter) >> 16)) * yrecip) >> 16); *dstpix++ = (Uint8) (((*accumulate++ + ((*srcpix++ * ycounter) >> 16)) * yrecip) >> 16); } dstpix += dstdiff; /* reload the accumulator with the remainder of this line */ accumulate = templine; srcpix -= 4 * width; for (x = 0; x < width; x++) { *accumulate++ = (Uint16) ((*srcpix++ * yfrac) >> 16); *accumulate++ = (Uint16) ((*srcpix++ * yfrac) >> 16); *accumulate++ = (Uint16) ((*srcpix++ * yfrac) >> 16); *accumulate++ = (Uint16) ((*srcpix++ * yfrac) >> 16); } ycounter = yspace - yfrac; } srcpix += srcdiff; } /* for (int y = 0; y < srcheight; y++) */ /* free the temporary memory */ free(templine); } /* this function implements a bilinear filter in the X-dimension */ static void filter_expand_X_ONLYC(Uint8 *srcpix, Uint8 *dstpix, int height, int srcpitch, int dstpitch, int srcwidth, int dstwidth) { int dstdiff = dstpitch - (dstwidth * 4); int *xidx0, *xmult0, *xmult1; int x, y; int factorwidth = 4; /* Allocate memory for factors */ xidx0 = malloc(dstwidth * 4); if (xidx0 == NULL) return; xmult0 = (int *) malloc(dstwidth * factorwidth); xmult1 = (int *) malloc(dstwidth * factorwidth); if (xmult0 == NULL || xmult1 == NULL) { free(xidx0); if (xmult0) free(xmult0); if (xmult1) free(xmult1); } /* Create multiplier factors and starting indices and put them in arrays */ for (x = 0; x < dstwidth; x++) { xidx0[x] = x * (srcwidth - 1) / dstwidth; xmult1[x] = 0x10000 * ((x * (srcwidth - 1)) % dstwidth) / dstwidth; xmult0[x] = 0x10000 - xmult1[x]; } /* Do the scaling in raster order so we don't trash the cache */ for (y = 0; y < height; y++) { Uint8 *srcrow0 = srcpix + y * srcpitch; for (x = 0; x < dstwidth; x++) { Uint8 *src = srcrow0 + xidx0[x] * 4; int xm0 = xmult0[x]; int xm1 = xmult1[x]; *dstpix++ = (Uint8) (((src[0] * xm0) + (src[4] * xm1)) >> 16); *dstpix++ = (Uint8) (((src[1] * xm0) + (src[5] * xm1)) >> 16); *dstpix++ = (Uint8) (((src[2] * xm0) + (src[6] * xm1)) >> 16); *dstpix++ = (Uint8) (((src[3] * xm0) + (src[7] * xm1)) >> 16); } dstpix += dstdiff; } /* free memory */ free(xidx0); free(xmult0); free(xmult1); } /* this function implements a bilinear filter in the Y-dimension */ static void filter_expand_Y_ONLYC(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch, int dstpitch, int srcheight, int dstheight) { int x, y; for (y = 0; y < dstheight; y++) { int yidx0 = y * (srcheight - 1) / dstheight; Uint8 *srcrow0 = srcpix + yidx0 * srcpitch; Uint8 *srcrow1 = srcrow0 + srcpitch; int ymult1 = 0x10000 * ((y * (srcheight - 1)) % dstheight) / dstheight; int ymult0 = 0x10000 - ymult1; for (x = 0; x < width; x++) { *dstpix++ = (Uint8) (((*srcrow0++ * ymult0) + (*srcrow1++ * ymult1)) >> 16); *dstpix++ = (Uint8) (((*srcrow0++ * ymult0) + (*srcrow1++ * ymult1)) >> 16); *dstpix++ = (Uint8) (((*srcrow0++ * ymult0) + (*srcrow1++ * ymult1)) >> 16); *dstpix++ = (Uint8) (((*srcrow0++ * ymult0) + (*srcrow1++ * ymult1)) >> 16); } } } #if defined(SCALE_MMX_SUPPORT) static void smoothscale_init (struct _module_state *st) { if (st->filter_shrink_X == 0) { if (SDL_HasSSE ()) { st->filter_type = "SSE"; st->filter_shrink_X = filter_shrink_X_SSE; st->filter_shrink_Y = filter_shrink_Y_SSE; st->filter_expand_X = filter_expand_X_SSE; st->filter_expand_Y = filter_expand_Y_SSE; } else if (SDL_HasMMX ()) { st->filter_type = "MMX"; st->filter_shrink_X = filter_shrink_X_MMX; st->filter_shrink_Y = filter_shrink_Y_MMX; st->filter_expand_X = filter_expand_X_MMX; st->filter_expand_Y = filter_expand_Y_MMX; } else { st->filter_type = "GENERIC"; st->filter_shrink_X = filter_shrink_X_ONLYC; st->filter_shrink_Y = filter_shrink_Y_ONLYC; st->filter_expand_X = filter_expand_X_ONLYC; st->filter_expand_Y = filter_expand_Y_ONLYC; } } } #endif static void convert_24_32(Uint8 *srcpix, int srcpitch, Uint8 *dstpix, int dstpitch, int width, int height) { int srcdiff = srcpitch - (width * 3); int dstdiff = dstpitch - (width * 4); int x, y; for (y = 0; y < height; y++) { for (x = 0; x < width; x++) { *dstpix++ = *srcpix++; *dstpix++ = *srcpix++; *dstpix++ = *srcpix++; *dstpix++ = 0xff; } srcpix += srcdiff; dstpix += dstdiff; } } static void convert_32_24(Uint8 *srcpix, int srcpitch, Uint8 *dstpix, int dstpitch, int width, int height) { int srcdiff = srcpitch - (width * 4); int dstdiff = dstpitch - (width * 3); int x, y; for (y = 0; y < height; y++) { for (x = 0; x < width; x++) { *dstpix++ = *srcpix++; *dstpix++ = *srcpix++; *dstpix++ = *srcpix++; srcpix++; } srcpix += srcdiff; dstpix += dstdiff; } } static void scalesmooth(SDL_Surface *src, SDL_Surface *dst, struct _module_state *st) { Uint8* srcpix = (Uint8*)src->pixels; Uint8* dstpix = (Uint8*)dst->pixels; Uint8* dst32 = NULL; int srcpitch = src->pitch; int dstpitch = dst->pitch; int srcwidth = src->w; int srcheight = src->h; int dstwidth = dst->w; int dstheight = dst->h; int bpp = src->format->BytesPerPixel; Uint8 *temppix = NULL; int tempwidth=0, temppitch=0, tempheight=0; /* convert to 32-bit if necessary */ if (bpp == 3) { int newpitch = srcwidth * 4; Uint8 *newsrc = (Uint8 *) malloc(newpitch * srcheight); if (!newsrc) return; convert_24_32(srcpix, srcpitch, newsrc, newpitch, srcwidth, srcheight); srcpix = newsrc; srcpitch = newpitch; /* create a destination buffer for the 32-bit result */ dstpitch = dstwidth << 2; dst32 = (Uint8 *) malloc(dstpitch * dstheight); if (dst32 == NULL) { free(srcpix); return; } dstpix = dst32; } /* Create a temporary processing buffer if we will be scaling both X and Y */ if (srcwidth != dstwidth && srcheight != dstheight) { tempwidth = dstwidth; temppitch = tempwidth << 2; tempheight = srcheight; temppix = (Uint8 *) malloc(temppitch * tempheight); if (temppix == NULL) { if (bpp == 3) { free(srcpix); free(dstpix); } return; } } /* Start the filter by doing X-scaling */ if (dstwidth < srcwidth) /* shrink */ { if (srcheight != dstheight) st->filter_shrink_X(srcpix, temppix, srcheight, srcpitch, temppitch, srcwidth, dstwidth); else st->filter_shrink_X(srcpix, dstpix, srcheight, srcpitch, dstpitch, srcwidth, dstwidth); } else if (dstwidth > srcwidth) /* expand */ { if (srcheight != dstheight) st->filter_expand_X(srcpix, temppix, srcheight, srcpitch, temppitch, srcwidth, dstwidth); else st->filter_expand_X(srcpix, dstpix, srcheight, srcpitch, dstpitch, srcwidth, dstwidth); } /* Now do the Y scale */ if (dstheight < srcheight) /* shrink */ { if (srcwidth != dstwidth) st->filter_shrink_Y(temppix, dstpix, tempwidth, temppitch, dstpitch, srcheight, dstheight); else st->filter_shrink_Y(srcpix, dstpix, srcwidth, srcpitch, dstpitch, srcheight, dstheight); } else if (dstheight > srcheight) /* expand */ { if (srcwidth != dstwidth) st->filter_expand_Y(temppix, dstpix, tempwidth, temppitch, dstpitch, srcheight, dstheight); else st->filter_expand_Y(srcpix, dstpix, srcwidth, srcpitch, dstpitch, srcheight, dstheight); } /* Convert back to 24-bit if necessary */ if (bpp == 3) { convert_32_24(dst32, dstpitch, (Uint8*)dst->pixels, dst->pitch, dstwidth, dstheight); free(dst32); dst32 = NULL; free(srcpix); srcpix = NULL; } /* free temporary buffer if necessary */ if (temppix != NULL) free(temppix); } static PyObject* surf_scalesmooth(PyObject* self, PyObject* arg) { PyObject *surfobj, *surfobj2; SDL_Surface* surf, *newsurf; int width, height, bpp; surfobj2 = NULL; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!(ii)|O!", &PySurface_Type, &surfobj, &width, &height, &PySurface_Type, &surfobj2)) return NULL; if (width < 0 || height < 0) return RAISE (PyExc_ValueError, "Cannot scale to negative size"); surf = PySurface_AsSurface (surfobj); bpp = surf->format->BytesPerPixel; if(bpp < 3 || bpp > 4) return RAISE(PyExc_ValueError, "Only 24-bit or 32-bit surfaces can be smoothly scaled"); if (!surfobj2) { newsurf = newsurf_fromsurf (surf, width, height); if (!newsurf) return NULL; } else newsurf = PySurface_AsSurface (surfobj2); /* check to see if the size is twice as big. */ if (newsurf->w != width || newsurf->h != height) return RAISE (PyExc_ValueError, "Destination surface not the given width or height."); if(((width * bpp + 3) >> 2) > newsurf->pitch) return RAISE(PyExc_ValueError, "SDL Error: destination surface pitch not 4-byte aligned."); if(width && height) { SDL_LockSurface(newsurf); PySurface_Lock(surfobj); Py_BEGIN_ALLOW_THREADS; /* handle trivial case */ if (surf->w == width && surf->h == height) { int y; for (y = 0; y < height; y++) { memcpy((Uint8*)newsurf->pixels + y * newsurf->pitch, (Uint8*)surf->pixels + y * surf->pitch, width * bpp); } } else { scalesmooth(surf, newsurf, GETSTATE (self)); } Py_END_ALLOW_THREADS; PySurface_Unlock(surfobj); SDL_UnlockSurface(newsurf); } if (surfobj2) { Py_INCREF (surfobj2); return surfobj2; } else return PySurface_New (newsurf); } static PyObject * surf_get_smoothscale_backend (PyObject *self) { return Text_FromUTF8 (GETSTATE (self)->filter_type); } static PyObject * surf_set_smoothscale_backend (PyObject *self, PyObject *args, PyObject *kwds) { struct _module_state *st = GETSTATE (self); char *keywords[] = {"type", NULL}; const char *type; if (!PyArg_ParseTupleAndKeywords (args, kwds, "s:set_smoothscale_backend", keywords, &type)) { return NULL; } #if defined(SCALE_MMX_SUPPORT) if (strcmp (type, "GENERIC") == 0) { st->filter_type = "GENERIC"; st->filter_shrink_X = filter_shrink_X_ONLYC; st->filter_shrink_Y = filter_shrink_Y_ONLYC; st->filter_expand_X = filter_expand_X_ONLYC; st->filter_expand_Y = filter_expand_Y_ONLYC; } else if (strcmp (type, "MMX") == 0) { if (!SDL_HasMMX ()) { return RAISE (PyExc_ValueError, "MMX not supported on this machine"); } st->filter_type = "MMX"; st->filter_shrink_X = filter_shrink_X_MMX; st->filter_shrink_Y = filter_shrink_Y_MMX; st->filter_expand_X = filter_expand_X_MMX; st->filter_expand_Y = filter_expand_Y_MMX; } else if (strcmp (type, "SSE") == 0) { if (!SDL_HasSSE ()) { return RAISE (PyExc_ValueError, "SSE not supported on this machine"); } st->filter_type = "SSE"; st->filter_shrink_X = filter_shrink_X_SSE; st->filter_shrink_Y = filter_shrink_Y_SSE; st->filter_expand_X = filter_expand_X_SSE; st->filter_expand_Y = filter_expand_Y_SSE; } else { return PyErr_Format (PyExc_ValueError, "Unknown backend type %s", type); } Py_RETURN_NONE; #else /* Not an x86 processor */ if (strcmp (type, "GENERIC") != 0) { if (strcmp (st->filter_type, "MMX") == 0 || strcmp (st->filter_type, "SSE") == 0 ) { return PyErr_Format (PyExc_ValueError, "%s not supported on this machine", type); } return PyErr_Format (PyExc_ValueError, "Unknown backend type %s", type); } Py_RETURN_NONE; #endif /* defined(SCALE_MMX_SUPPORT) */ } static int get_threshold (SDL_Surface *destsurf, SDL_Surface *surf, SDL_Surface *surf2, Uint32 color, Uint32 threshold, Uint32 diff_color, int change_return, int inverse) { int x, y, result, similar, rshift, gshift, bshift, rshift2, gshift2, bshift2; int rloss, gloss, bloss, rloss2, gloss2, bloss2; Uint8 *pixels, *destpixels, *pixels2; SDL_Rect sdlrect; SDL_PixelFormat *format, *destformat, *format2; Uint32 the_color, the_color2, rmask, gmask, bmask, rmask2, gmask2, bmask2; Uint8 *pix, *byte_buf; Uint8 r, g, b, a; Uint8 dr, dg, db, da; Uint8 tr, tg, tb, ta; similar = 0; pixels = (Uint8 *) surf->pixels; format = surf->format; rmask = format->Rmask; gmask = format->Gmask; bmask = format->Bmask; rshift = format->Rshift; gshift = format->Gshift; bshift = format->Bshift; rloss = format->Rloss; gloss = format->Gloss; bloss = format->Bloss; if(change_return) { sdlrect.x = sdlrect.y = 0; sdlrect.w = destsurf->w; sdlrect.h = destsurf->h; destpixels = (Uint8 *) destsurf->pixels; destformat = destsurf->format; result = SDL_FillRect (destsurf, &sdlrect, diff_color); } else { /* make gcc stop complaining */ destpixels = NULL; destformat = NULL; } if(surf2) { format2 = surf2->format; rmask2 = format2->Rmask; gmask2 = format2->Gmask; bmask2 = format2->Bmask; rshift2 = format2->Rshift; gshift2 = format2->Gshift; bshift2 = format2->Bshift; rloss2 = format2->Rloss; gloss2 = format2->Gloss; bloss2 = format2->Bloss; pixels2 = (Uint8 *) surf2->pixels; } else { /* make gcc stop complaining */ rmask2 = gmask2 = bmask2 = 0; rshift2 = gshift2 = bshift2 = 0; rloss2 = gloss2 = bloss2 = 0; format2 = NULL; pixels2 = NULL; } SDL_GetRGBA (color, format, &r, &g, &b, &a); SDL_GetRGBA (threshold, format, &tr, &tg, &tb, &ta); SDL_GetRGBA (diff_color, format, &dr, &dg, &db, &da); for(y=0; y < surf->h; y++) { pixels = (Uint8 *) surf->pixels + y*surf->pitch; if (surf2) { pixels2 = (Uint8 *) surf2->pixels + y*surf2->pitch; } for(x=0; x < surf->w; x++) { /* the_color = surf->get_at(x,y) */ switch (format->BytesPerPixel) { case 1: the_color = (Uint32)*((Uint8 *) pixels); pixels++; break; case 2: the_color = (Uint32)*((Uint16 *) pixels); pixels += 2; break; case 3: pix = ((Uint8 *) pixels); pixels += 3; #if SDL_BYTEORDER == SDL_LIL_ENDIAN the_color = (pix[0]) + (pix[1] << 8) + (pix[2] << 16); #else the_color = (pix[2]) + (pix[1] << 8) + (pix[0] << 16); #endif break; default: /* case 4: */ the_color = *((Uint32 *) pixels); pixels += 4; break; } if (surf2) { switch (format2->BytesPerPixel) { case 1: the_color2 = (Uint32)*((Uint8 *) pixels2); pixels2++; break; case 2: the_color2 = (Uint32)*((Uint16 *) pixels2); pixels2 += 2; break; case 3: pix = ((Uint8 *) pixels2); pixels2 += 3; #if SDL_BYTEORDER == SDL_LIL_ENDIAN the_color2 = (pix[0]) + (pix[1] << 8) + (pix[2] << 16); #else the_color2 = (pix[2]) + (pix[1] << 8) + (pix[0] << 16); #endif break; default: /* case 4: */ the_color2 = *((Uint32 *) pixels2); pixels2 += 4; break; } if (((abs((((the_color2 & rmask2) >> rshift2) << rloss2) - (((the_color & rmask) >> rshift) << rloss)) <= tr) & (abs((((the_color2 & gmask2) >> gshift2) << gloss2) - (((the_color & gmask) >> gshift) << gloss)) <= tg) & (abs((((the_color2 & bmask2) >> bshift2) << bloss2) - (((the_color & bmask) >> bshift) << bloss)) <= tb)) ^ inverse) { /* this pixel is within the threshold of the pixel in the other surface. */ if (change_return == 2) { /* change the pixel to the color from the first surface. */ /* destsurf->set_at((x,y), the_color) */ switch (destformat->BytesPerPixel) { case 1: *((Uint8 *) destpixels + y * destsurf->pitch + x) = (Uint8) the_color; break; case 2: *((Uint16 *) (destpixels + y * destsurf->pitch) + x) = (Uint16) the_color; break; case 3: byte_buf = (Uint8 *) (destpixels + y * destsurf->pitch) + x * 3; #if (SDL_BYTEORDER == SDL_LIL_ENDIAN) *(byte_buf + (destformat->Rshift >> 3)) = (Uint8) (the_color >> 16); *(byte_buf + (destformat->Gshift >> 3)) = (Uint8) (the_color >> 8); *(byte_buf + (destformat->Bshift >> 3)) = (Uint8) the_color; #else *(byte_buf + 2 - (destformat->Rshift >> 3)) = (Uint8) (the_color >> 16); *(byte_buf + 2 - (destformat->Gshift >> 3)) = (Uint8) (the_color >> 8); *(byte_buf + 2 - (destformat->Bshift >> 3)) = (Uint8) the_color; #endif break; default: /* case 4: */ *((Uint32 *) (destpixels + y * destsurf->pitch) + x) = the_color; break; } } else if (change_return == 1) { /* change the pixel to color. */ /* destsurf->set_at((x,y), color) */ switch (destformat->BytesPerPixel) { case 1: *((Uint8 *) destpixels + y * destsurf->pitch + x) = (Uint8) color; break; case 2: *((Uint16 *) (destpixels + y * destsurf->pitch) + x) = (Uint16) color; break; case 3: byte_buf = (Uint8 *) (destpixels + y * destsurf->pitch) + x * 3; #if (SDL_BYTEORDER == SDL_LIL_ENDIAN) *(byte_buf + (destformat->Rshift >> 3)) = (Uint8) (color >> 16); *(byte_buf + (destformat->Gshift >> 3)) = (Uint8) (color >> 8); *(byte_buf + (destformat->Bshift >> 3)) = (Uint8) color; #else *(byte_buf + 2 - (destformat->Rshift >> 3)) = (Uint8) (color >> 16); *(byte_buf + 2 - (destformat->Gshift >> 3)) = (Uint8) (color >> 8); *(byte_buf + 2 - (destformat->Bshift >> 3)) = (Uint8) color; #endif break; default: /* case 4: */ *((Uint32 *) (destpixels + y * destsurf->pitch) + x) = color; break; } } similar++; } } else if (((abs((((the_color & rmask) >> rshift) << rloss) - r) <= tr) & (abs((((the_color & gmask) >> gshift) << gloss) - g) <= tg) & (abs((((the_color & bmask) >> bshift) << bloss) - b) <= tb)) ^ inverse) { /* Comparing the threshold against the color. */ /* this pixel is within the threshold. */ if (change_return == 2) { /* destsurf->set_at((x,y), the_color) */ switch (destformat->BytesPerPixel) { case 1: *((Uint8 *) destpixels + y * destsurf->pitch + x) = (Uint8) the_color; break; case 2: *((Uint16 *) (destpixels + y * destsurf->pitch) + x) = (Uint16) the_color; break; case 3: byte_buf = (Uint8 *) (destpixels + y * destsurf->pitch) + x * 3; #if (SDL_BYTEORDER == SDL_LIL_ENDIAN) *(byte_buf + (destformat->Rshift >> 3)) = (Uint8) (the_color >> 16); *(byte_buf + (destformat->Gshift >> 3)) = (Uint8) (the_color >> 8); *(byte_buf + (destformat->Bshift >> 3)) = (Uint8) the_color; #else *(byte_buf + 2 - (destformat->Rshift >> 3)) = (Uint8) (the_color >> 16); *(byte_buf + 2 - (destformat->Gshift >> 3)) = (Uint8) (the_color >> 8); *(byte_buf + 2 - (destformat->Bshift >> 3)) = (Uint8) the_color; #endif break; default: /* case 4: */ *((Uint32 *) (destpixels + y * destsurf->pitch) + x) = the_color; break; } } else if (change_return == 1) { /* change the pixel to color. */ /* destsurf->set_at((x,y), color) */ switch (destformat->BytesPerPixel) { case 1: *((Uint8 *) destpixels + y * destsurf->pitch + x) = (Uint8) color; break; case 2: *((Uint16 *) (destpixels + y * destsurf->pitch) + x) = (Uint16) color; break; case 3: byte_buf = (Uint8 *) (destpixels + y * destsurf->pitch) + x * 3; #if (SDL_BYTEORDER == SDL_LIL_ENDIAN) *(byte_buf + (destformat->Rshift >> 3)) = (Uint8) (color >> 16); *(byte_buf + (destformat->Gshift >> 3)) = (Uint8) (color >> 8); *(byte_buf + (destformat->Bshift >> 3)) = (Uint8) color; #else *(byte_buf + 2 - (destformat->Rshift >> 3)) = (Uint8) (color >> 16); *(byte_buf + 2 - (destformat->Gshift >> 3)) = (Uint8) (color >> 8); *(byte_buf + 2 - (destformat->Bshift >> 3)) = (Uint8) color; #endif break; default: /* case 4: */ *((Uint32 *) (destpixels + y * destsurf->pitch) + x) = color; break; } } similar++; } } } return similar; } static PyObject* surf_threshold(PyObject* self, PyObject* arg) { PyObject *surfobj, *surfobj2 = NULL, *surfobj3 = NULL; SDL_Surface* surf = NULL, *destsurf = NULL, *surf2 = NULL; int bpp, change_return = 1, inverse = 0; int num_threshold_pixels = 0; PyObject *rgba_obj_color; PyObject *rgba_obj_threshold = NULL; PyObject *rgba_obj_diff_color = NULL; Uint8 rgba_color[4]; Uint8 rgba_threshold[4] = {0, 0, 0, 255}; Uint8 rgba_diff_color[4] = {0, 0, 0, 255}; Uint32 color; Uint32 color_threshold; Uint32 color_diff_color; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!O!O|OOiO!i", &PySurface_Type, &surfobj, &PySurface_Type, &surfobj2, &rgba_obj_color, &rgba_obj_threshold, &rgba_obj_diff_color, &change_return, &PySurface_Type, &surfobj3, &inverse)) return NULL; destsurf = PySurface_AsSurface (surfobj); surf = PySurface_AsSurface (surfobj2); if(surfobj3) { surf2 = PySurface_AsSurface (surfobj3); } if (PyInt_Check (rgba_obj_color)) { color = (Uint32) PyInt_AsLong (rgba_obj_color); } else if (PyLong_Check (rgba_obj_color)) { color = (Uint32) PyLong_AsUnsignedLong (rgba_obj_color); } else if (RGBAFromColorObj (rgba_obj_color, rgba_color)) { color = SDL_MapRGBA (surf->format, rgba_color[0], rgba_color[1], rgba_color[2], rgba_color[3]); } else { return RAISE (PyExc_TypeError, "invalid color argument"); } if(rgba_obj_threshold) { if (PyInt_Check (rgba_obj_threshold)) color_threshold = (Uint32) PyInt_AsLong (rgba_obj_threshold); else if (PyLong_Check (rgba_obj_threshold)) color_threshold = (Uint32) PyLong_AsUnsignedLong (rgba_obj_threshold); else if (RGBAFromColorObj (rgba_obj_threshold, rgba_threshold)) color_threshold = SDL_MapRGBA (surf->format, rgba_threshold[0], rgba_threshold[1], rgba_threshold[2], rgba_threshold[3]); else return RAISE (PyExc_TypeError, "invalid threshold argument"); } else { color_threshold = SDL_MapRGBA (surf->format, rgba_threshold[0], rgba_threshold[1], rgba_threshold[2], rgba_threshold[3]); } if(rgba_obj_diff_color) { if (PyInt_Check (rgba_obj_diff_color)) color_diff_color = (Uint32) PyInt_AsLong (rgba_obj_diff_color); else if (PyLong_Check (rgba_obj_diff_color)) color_diff_color = (Uint32) PyLong_AsUnsignedLong (rgba_obj_diff_color); else if (RGBAFromColorObj (rgba_obj_diff_color, rgba_diff_color)) color_diff_color = SDL_MapRGBA (surf->format, rgba_diff_color[0], rgba_diff_color[1], rgba_diff_color[2], rgba_diff_color[3]); else return RAISE (PyExc_TypeError, "invalid diff_color argument"); } else { color_diff_color = SDL_MapRGBA (surf->format, rgba_diff_color[0], rgba_diff_color[1], rgba_diff_color[2], rgba_diff_color[3]); } bpp = surf->format->BytesPerPixel; PySurface_Lock(surfobj); PySurface_Lock(surfobj2); if(surfobj3) { PySurface_Lock(surfobj3); } Py_BEGIN_ALLOW_THREADS; num_threshold_pixels = get_threshold (destsurf, surf, surf2, color, color_threshold, color_diff_color, change_return, inverse); Py_END_ALLOW_THREADS; PySurface_Unlock(surfobj); PySurface_Unlock(surfobj2); if(surfobj3) { PySurface_Unlock(surfobj3); } return PyInt_FromLong (num_threshold_pixels); } /* TODO: add_4 sub_4 mul_4 clamp_4 */ #define SURF_GET_AT(p_color, p_surf, p_x, p_y, p_pixels, p_format, p_pix) \ switch (p_format->BytesPerPixel) \ { \ case 1: \ p_color = (Uint32)*((Uint8 *) (p_pixels) + (p_y) * p_surf->pitch + (p_x)); \ break; \ case 2: \ p_color = (Uint32)*((Uint16 *) ((p_pixels) + (p_y) * p_surf->pitch) + (p_x)); \ break; \ case 3: \ p_pix = ((Uint8 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x) * 3); \ p_color = (SDL_BYTEORDER == SDL_LIL_ENDIAN) ? \ (p_pix[0]) + (p_pix[1] << 8) + (p_pix[2] << 16) : \ (p_pix[2]) + (p_pix[1] << 8) + (p_pix[0] << 16); \ break; \ default: /* case 4: */ \ p_color = *((Uint32 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x)); \ break; \ } \ #if (SDL_BYTEORDER == SDL_LIL_ENDIAN) #define SURF_SET_AT(p_color, p_surf, p_x, p_y, p_pixels, p_format, p_byte_buf) \ switch (p_format->BytesPerPixel) \ { \ case 1: \ *((Uint8 *) p_pixels + (p_y) * p_surf->pitch + (p_x)) = (Uint8) p_color; \ break; \ case 2: \ *((Uint16 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x)) = (Uint16) p_color; \ break; \ case 3: \ p_byte_buf = (Uint8 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x) * 3; \ *(p_byte_buf + (p_format->Rshift >> 3)) = (Uint8) (p_color >> 16); \ *(p_byte_buf + (p_format->Gshift >> 3)) = (Uint8) (p_color >> 8); \ *(p_byte_buf + (p_format->Bshift >> 3)) = (Uint8) p_color; \ break; \ default: \ *((Uint32 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x)) = p_color; \ break; \ } \ #else #define SURF_SET_AT(p_color, p_surf, p_x, p_y, p_pixels, p_format, p_byte_buf) \ switch (p_format->BytesPerPixel) \ { \ case 1: \ *((Uint8 *) p_pixels + (p_y) * p_surf->pitch + (p_x)) = (Uint8) p_color; \ break; \ case 2: \ *((Uint16 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x)) = (Uint16) p_color; \ break; \ case 3: \ p_byte_buf = (Uint8 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x) * 3; \ *(p_byte_buf + 2 - (p_format->Rshift >> 3)) = (Uint8) (p_color >> 16); \ *(p_byte_buf + 2 - (p_format->Gshift >> 3)) = (Uint8) (p_color >> 8); \ *(p_byte_buf + 2 - (p_format->Bshift >> 3)) = (Uint8) p_color; \ break; \ default: \ *((Uint32 *) (p_pixels + (p_y) * p_surf->pitch) + (p_x)) = p_color; \ break; \ } \ #endif /* number to use for missing samples */ #define LAPLACIAN_NUM 0xFFFFFFFF void laplacian(SDL_Surface *surf, SDL_Surface *destsurf) { int ii; int x,y,height,width; Uint32 sample[9]; //Uint32 total[4]; int total[4]; Uint8 c1r, c1g, c1b, c1a; //Uint32 c1r, c1g, c1b, c1a; Uint8 acolor[4]; Uint32 the_color; int atmp0; int atmp1; int atmp2; int atmp3; SDL_PixelFormat *format, *destformat; Uint8 *pixels, *destpixels; Uint8 *pix; Uint8 *byte_buf; height = surf->h; width = surf->w; pixels = (Uint8 *) surf->pixels; format = surf->format; destpixels = (Uint8 *) destsurf->pixels; destformat = destsurf->format; /* -1 -1 -1 -1 8 -1 -1 -1 -1 col = (sample[4] * 8) - (sample[0] + sample[1] + sample[2] + sample[3] + sample[5] + sample[6] + sample[7] + sample[8]) [(-1,-1), (0,-1), (1,-1), (-1,0), (0,0), (1,0), (-1,1), (0,1), (1,1)] */ for(y=0;y<height;y++) { for(x=0;x<width;x++) { // Need to bounds check these accesses. if(y > 0) { if(x>0) { SURF_GET_AT(sample[0], surf, x+ -1, y+ -1, pixels, format, pix); } SURF_GET_AT(sample[1], surf, x+ 0, y+ -1, pixels, format, pix); if(x+1<width) { SURF_GET_AT(sample[2], surf, x+ 1, y+ -1, pixels, format, pix); } } else { sample[0] = LAPLACIAN_NUM; sample[1] = LAPLACIAN_NUM; sample[2] = LAPLACIAN_NUM; } if(x>0) { SURF_GET_AT(sample[3], surf, x+ -1, y+ 0, pixels, format, pix); } else { sample[3] = LAPLACIAN_NUM; } //SURF_GET_AT(sample[4], surf, x+0 , y+0); sample[4] = 0; if(x+1<width) { SURF_GET_AT(sample[5], surf, x+ 1, y+ 0, pixels, format, pix); } else { sample[5] = LAPLACIAN_NUM; } if(y+1 < height) { if(x>0) { SURF_GET_AT(sample[6], surf, x+ -1, y+ 1, pixels, format, pix); } SURF_GET_AT(sample[7], surf, x+ 0, y+ 1, pixels, format, pix); if(x+1<width) { SURF_GET_AT(sample[8], surf, x+ 1, y+ 1, pixels, format, pix); } } else { sample[6] = LAPLACIAN_NUM; sample[7] = LAPLACIAN_NUM; sample[8] = LAPLACIAN_NUM; } total[0] = 0; total[1] = 0; total[2] = 0; total[3] = 0; for(ii =0; ii<9; ii++) { SDL_GetRGBA (sample[ii], format, &c1r, &c1g, &c1b, &c1a); total[0] += c1r; total[1] += c1g; total[2] += c1b; total[3] += c1a; } SURF_GET_AT(sample[4], surf, x, y, pixels, format, pix); SDL_GetRGBA (sample[4], format, &c1r, &c1g, &c1b, &c1a); // cast on the right to a signed int, and then clamp to 0-255. //atmp = c1r * 8 atmp0 = c1r * 8; acolor[0] = MIN(MAX(atmp0 - total[0], 0), 255); atmp1 = c1g * 8; acolor[1] = MIN(MAX(atmp1 - total[1], 0), 255); atmp2 = c1b * 8; acolor[2] = MIN(MAX(atmp2 - total[2], 0), 255); atmp3 = c1a * 8; acolor[3] = MIN(MAX(atmp3 - total[3], 0), 255); //printf("%d;;%d;;%d;; ", atmp0, acolor[0],total[0]); //printf("%d,%d,%d,%d;; \n", acolor[0], acolor[1], acolor[2], acolor[3]); //the_color = (Uint32)acolor; //the_color = 0x00000000; // cast on the right to Uint32, and then clamp to 255. the_color = SDL_MapRGBA (surf->format, acolor[0], acolor[1], acolor[2], acolor[3]); // set_at(destsurf, color, x,y); switch (destformat->BytesPerPixel) { case 1: *((Uint8 *) destpixels + y * destsurf->pitch + x) = (Uint8) the_color; break; case 2: *((Uint16 *) (destpixels + y * destsurf->pitch) + x) = (Uint16) the_color; break; case 3: byte_buf = (Uint8 *) (destpixels + y * destsurf->pitch) + x * 3; #if (SDL_BYTEORDER == SDL_LIL_ENDIAN) *(byte_buf + (destformat->Rshift >> 3)) = (Uint8) (the_color >> 16); *(byte_buf + (destformat->Gshift >> 3)) = (Uint8) (the_color >> 8); *(byte_buf + (destformat->Bshift >> 3)) = (Uint8) the_color; #else *(byte_buf + 2 - (destformat->Rshift >> 3)) = (Uint8) (the_color >> 16); *(byte_buf + 2 - (destformat->Gshift >> 3)) = (Uint8) (the_color >> 8); *(byte_buf + 2 - (destformat->Bshift >> 3)) = (Uint8) the_color; #endif break; default: *((Uint32 *) (destpixels + y * destsurf->pitch) + x) = the_color; break; } } } } static PyObject* surf_laplacian (PyObject* self, PyObject* arg) { PyObject *surfobj, *surfobj2; SDL_Surface *surf; SDL_Surface *newsurf; int width, height; surfobj2 = NULL; /*get all the arguments*/ if (!PyArg_ParseTuple (arg, "O!|O!", &PySurface_Type, &surfobj, &PySurface_Type, &surfobj2)) return NULL; surf = PySurface_AsSurface (surfobj); /* if the second surface is not there, then make a new one. */ if (!surfobj2) { width = surf->w; height = surf->h; newsurf = newsurf_fromsurf (surf, width, height); if (!newsurf) return NULL; } else newsurf = PySurface_AsSurface (surfobj2); /* check to see if the size is the correct size. */ if (newsurf->w != (surf->w) || newsurf->h != (surf->h)) return RAISE (PyExc_ValueError, "Destination surface not the same size."); /* check to see if the format of the surface is the same. */ if (surf->format->BytesPerPixel != newsurf->format->BytesPerPixel) return RAISE (PyExc_ValueError, "Source and destination surfaces need the same format."); SDL_LockSurface (newsurf); SDL_LockSurface (surf); Py_BEGIN_ALLOW_THREADS; laplacian (surf, newsurf); Py_END_ALLOW_THREADS; SDL_UnlockSurface (surf); SDL_UnlockSurface (newsurf); if (surfobj2) { Py_INCREF (surfobj2); return surfobj2; } else return PySurface_New (newsurf); } int average_surfaces(SDL_Surface **surfaces, int num_surfaces, SDL_Surface *destsurf, int palette_colors) { /* returns the average surface from the ones given. All surfaces need to be the same size. palette_colors - if true we average the colors in palette, otherwise we average the pixel values. This is useful if the surface is actually greyscale colors, and not palette colors. */ Uint32 *accumulate; Uint32 *the_idx; Uint32 the_color; SDL_Surface *surf; int height, width, x, y, surf_idx; float div_inv; SDL_PixelFormat *format, *destformat; Uint8 *pixels, *destpixels; Uint8 *pix; Uint8 *byte_buf; Uint32 rmask, gmask, bmask; int rshift, gshift, bshift, rloss, gloss, bloss; int num_elements; if(!num_surfaces) { return 0; } height = surfaces[0]->h; width = surfaces[0]->w; destpixels = (Uint8 *) destsurf->pixels; destformat = destsurf->format; /* allocate an array to accumulate them all. If we're using 1 byte per pixel, then only need to average on that much. */ if((destformat->BytesPerPixel == 1) && (destformat->palette) && (!palette_colors)) { num_elements = 1; } else { num_elements = 3; } accumulate = (Uint32 *) calloc(1, sizeof(Uint32) * height * width * num_elements ); if(!accumulate) { return -1; } /* add up the r,g,b from all the surfaces. */ for(surf_idx=0;surf_idx < num_surfaces;surf_idx++) { surf = surfaces[surf_idx]; pixels = (Uint8 *) surf->pixels; format = surf->format; rmask = format->Rmask; gmask = format->Gmask; bmask = format->Bmask; rshift = format->Rshift; gshift = format->Gshift; bshift = format->Bshift; rloss = format->Rloss; gloss = format->Gloss; bloss = format->Bloss; the_idx = accumulate; /* If palette surface, we use a different code path... */ if((format->BytesPerPixel == 1 && destformat->BytesPerPixel == 1) && (format->palette) && (destformat->palette) && (!palette_colors) ) { /* This is useful if the surface is actually greyscale colors, and not palette colors. */ for(y=0;y<height;y++) { for(x=0;x<width;x++) { SURF_GET_AT(the_color, surf, x, y, pixels, format, pix); *(the_idx) += the_color; the_idx++; } } } else { /* TODO: This doesn't work correctly for palette surfaces yet, when the source is paletted. Probably need to use something like GET_PIXELVALS_1 from surface.h */ /* for non palette surfaces, we do this... */ for(y=0;y<height;y++) { for(x=0;x<width;x++) { SURF_GET_AT(the_color, surf, x, y, pixels, format, pix); *(the_idx) += ((the_color & rmask) >> rshift) << rloss; *(the_idx + 1) += ((the_color & gmask) >> gshift) << gloss; *(the_idx + 2) += ((the_color & bmask) >> bshift) << bloss; the_idx += 3; } } } } /* blit the accumulated array back to the destination surface. */ div_inv = (float) (1.0L / (num_surfaces)); the_idx = accumulate; if(num_elements == 1 && (!palette_colors)) { /* this is where we are using the palette surface without using its colors from the palette. */ for(y=0;y<height;y++) { for(x=0;x<width;x++) { the_color = (*(the_idx) * div_inv + .5f); SURF_SET_AT(the_color, destsurf, x, y, destpixels, destformat, byte_buf); the_idx++; } } /* TODO: will need to handle palette colors. */ } else if (num_elements == 3) { for(y=0;y<height;y++) { for(x=0;x<width;x++) { the_color = SDL_MapRGB (destformat, (Uint8) (*(the_idx) * div_inv + .5f), (Uint8) (*(the_idx + 1) * div_inv + .5f), (Uint8) (*(the_idx + 2) * div_inv + .5f)); /* TODO: should it take into consideration the output shifts/masks/losses? Or does SDL_MapRGB do that correctly? *(the_idx) += ((the_color & rmask) >> rshift) << rloss; *(the_idx + 1) += ((the_color & gmask) >> gshift) << gloss; *(the_idx + 2) += ((the_color & bmask) >> bshift) << bloss; */ SURF_SET_AT(the_color, destsurf, x, y, destpixels, destformat, byte_buf); the_idx += 3; } } } else { free(accumulate); return -4; } free(accumulate); return 1; } /* returns the average surface from the ones given. All surfaces need to be the same size. palette_colors - if true we average the colors in palette, otherwise we average the pixel values. This is useful if the surface is actually greyscale colors, and not palette colors. */ static PyObject* surf_average_surfaces (PyObject* self, PyObject* arg) { PyObject *surfobj2; SDL_Surface *surf; SDL_Surface *newsurf; SDL_Surface **surfaces; int width, height; int an_error; size_t size, loop, loop_up_to; int palette_colors = 1; PyObject* list, *obj; PyObject* ret = NULL; an_error = 0; surfobj2 = NULL; newsurf = NULL; if (!PyArg_ParseTuple (arg, "O|O!i", &list, &PySurface_Type, &surfobj2, &palette_colors )) return NULL; if (!PySequence_Check (list)) return RAISE (PyExc_TypeError, "Argument must be a sequence of surface objects."); size = PySequence_Length (list); /*warning, size could be -1 on error?*/ if(size < 1) return RAISE (PyExc_TypeError, "Needs to be given at least one surface."); /* Allocate an array of surface pointers. */ surfaces = (SDL_Surface **) calloc(1, sizeof(SDL_Surface *) * size); if(!surfaces) { return RAISE (PyExc_MemoryError, "Not enough memory to store surfaces.\n"); } /* Iterate over 'surfaces' passed in. */ /* need to get the first surface to see how big it is */ loop = 0; for (loop = 0; loop < size; ++loop) { obj = PySequence_GetItem (list, loop); if(!obj) { Py_XDECREF (obj); ret = RAISE (PyExc_TypeError, "Needs to be a surface object."); an_error = 1; break; } if (!PySurface_Check (obj)) { Py_XDECREF (obj); ret = RAISE (PyExc_TypeError, "Needs to be a surface object."); an_error = 1; break; } surf = PySurface_AsSurface (obj); if(!surf) { Py_XDECREF (obj); ret = RAISE (PyExc_TypeError, "Needs to be a surface object."); an_error = 1; break; } if(loop == 0) { /* if the second surface is not there, then make a new one. */ if (!surfobj2) { width = surf->w; height = surf->h; newsurf = newsurf_fromsurf (surf, width, height); if (!newsurf) { Py_XDECREF (obj); ret = RAISE (PyExc_ValueError, "Could not create new surface."); an_error = 1; break; } } else newsurf = PySurface_AsSurface (surfobj2); /* check to see if the size is the correct size. */ if (newsurf->w != (surf->w) || newsurf->h != (surf->h)) { Py_XDECREF (obj); ret = RAISE (PyExc_ValueError, "Destination surface not the same size."); an_error = 1; break; } /* check to see if the format of the surface is the same. */ if (surf->format->BytesPerPixel != newsurf->format->BytesPerPixel) { Py_XDECREF (obj); ret = RAISE (PyExc_ValueError, "Source and destination surfaces need the same format."); an_error = 1; break; } } /* Copy surface pointer, and also lock surface. */ SDL_LockSurface (surf); surfaces[loop] = surf; Py_DECREF (obj); } loop_up_to = loop; if(!an_error) { /* Process images, get average surface. */ SDL_LockSurface (newsurf); Py_BEGIN_ALLOW_THREADS; average_surfaces (surfaces, size, newsurf, palette_colors); Py_END_ALLOW_THREADS; SDL_UnlockSurface (newsurf); if (surfobj2) { Py_INCREF (surfobj2); ret = surfobj2; } else { ret = PySurface_New (newsurf); } } else { } /* cleanup */ /* unlock the surfaces we got up to. */ for (loop = 0; loop < loop_up_to; loop++) { if(surfaces[loop]) { SDL_UnlockSurface (surfaces[loop]); } } free(surfaces); return ret; } void average_color(SDL_Surface* surf, int x, int y, int width, int height, Uint8* r, Uint8* g, Uint8* b, Uint8* a) { Uint32 color, rmask, gmask, bmask, amask; Uint8 *pixels, *pix; unsigned int rtot, gtot, btot, atot, size, rshift, gshift, bshift, ashift; unsigned int rloss, gloss, bloss, aloss; int row, col; SDL_PixelFormat *format; format = surf->format; rmask = format->Rmask; gmask = format->Gmask; bmask = format->Bmask; amask = format->Amask; rshift = format->Rshift; gshift = format->Gshift; bshift = format->Bshift; ashift = format->Ashift; rloss = format->Rloss; gloss = format->Gloss; bloss = format->Bloss; aloss = format->Aloss; rtot = gtot = btot = atot = 0; /* make sure the area specified is within the Surface */ if ((x + width) > surf->w) width = surf->w - x; if ((y + height) > surf->h) height = surf->h - y; if (x < 0) { width -= (-x); x = 0; } if (y < 0) { height -= (-y); y = 0; } size = width*height; switch (format->BytesPerPixel) { case 1: for (row = y; row < y+height; row++) { pixels = (Uint8 *) surf->pixels + row*surf->pitch + x; for (col = x; col < x+width; col++) { color = (Uint32)*((Uint8 *) pixels); rtot += ((color & rmask) >> rshift) << rloss; gtot += ((color & gmask) >> gshift) << gloss; btot += ((color & bmask) >> bshift) << bloss; atot += ((color & amask) >> ashift) << aloss; pixels++; } } break; case 2: for (row = y; row < y+height; row++) { pixels = (Uint8 *) surf->pixels + row*surf->pitch + x*2; for (col = x; col < x+width; col++) { color = (Uint32)*((Uint16 *) pixels); rtot += ((color & rmask) >> rshift) << rloss; gtot += ((color & gmask) >> gshift) << gloss; btot += ((color & bmask) >> bshift) << bloss; atot += ((color & amask) >> ashift) << aloss; pixels += 2; } } break; case 3: for (row = y; row < y+height; row++) { pixels = (Uint8 *) surf->pixels + row*surf->pitch + x*3; for (col = x; col < x+width; col++) { pix = pixels; #if SDL_BYTEORDER == SDL_LIL_ENDIAN color = (pix[0]) + (pix[1] << 8) + (pix[2] << 16); #else color = (pix[2]) + (pix[1] << 8) + (pix[0] << 16); #endif rtot += ((color & rmask) >> rshift) << rloss; gtot += ((color & gmask) >> gshift) << gloss; btot += ((color & bmask) >> bshift) << bloss; atot += ((color & amask) >> ashift) << aloss; pixels += 3; } } break; default: /* case 4: */ for (row = y; row < y+height; row++) { pixels = (Uint8 *) surf->pixels + row*surf->pitch + x*4; for (col = x; col < x+width; col++) { color = *(Uint32 *)pixels; rtot += ((color & rmask) >> rshift) << rloss; gtot += ((color & gmask) >> gshift) << gloss; btot += ((color & bmask) >> bshift) << bloss; atot += ((color & amask) >> ashift) << aloss; pixels += 4; } } break; } *r = rtot/size; *g = gtot/size; *b = btot/size; *a = atot/size; } static PyObject* surf_average_color(PyObject* self, PyObject* arg) { PyObject *surfobj, *rectobj = NULL; SDL_Surface* surf; GAME_Rect* rect, temp; Uint8 r, g, b, a; int x, y, w, h; if (!PyArg_ParseTuple (arg, "O!|O", &PySurface_Type, &surfobj, &rectobj)) return NULL; surf = PySurface_AsSurface (surfobj); PySurface_Lock (surfobj); if (!rectobj) { x = 0; y = 0; w = surf->w; h = surf->h; } else { if (!(rect = GameRect_FromObject (rectobj, &temp))) return RAISE (PyExc_TypeError, "Rect argument is invalid"); x = rect->x; y = rect->y; w = rect->w; h = rect->h; } Py_BEGIN_ALLOW_THREADS; average_color(surf, x, y, w, h, &r, &g, &b, &a); Py_END_ALLOW_THREADS; PySurface_Unlock (surfobj); return Py_BuildValue ("(bbbb)", r, g, b, a); } static PyMethodDef _transform_methods[] = { { "scale", surf_scale, METH_VARARGS, DOC_PYGAMETRANSFORMSCALE }, { "rotate", surf_rotate, METH_VARARGS, DOC_PYGAMETRANSFORMROTATE }, { "flip", surf_flip, METH_VARARGS, DOC_PYGAMETRANSFORMFLIP }, { "rotozoom", surf_rotozoom, METH_VARARGS, DOC_PYGAMETRANSFORMROTOZOOM}, { "chop", surf_chop, METH_VARARGS, DOC_PYGAMETRANSFORMCHOP }, { "scale2x", surf_scale2x, METH_VARARGS, DOC_PYGAMETRANSFORMSCALE2X }, { "smoothscale", surf_scalesmooth, METH_VARARGS, DOC_PYGAMETRANSFORMSMOOTHSCALE }, { "get_smoothscale_backend", (PyCFunction) surf_get_smoothscale_backend, METH_NOARGS, DOC_PYGAMETRANSFORMGETSMOOTHSCALEBACKEND }, { "set_smoothscale_backend", (PyCFunction) surf_set_smoothscale_backend, METH_VARARGS | METH_KEYWORDS, DOC_PYGAMETRANSFORMSETSMOOTHSCALEBACKEND }, { "threshold", surf_threshold, METH_VARARGS, DOC_PYGAMETRANSFORMTHRESHOLD }, { "laplacian", surf_laplacian, METH_VARARGS, DOC_PYGAMETRANSFORMTHRESHOLD }, { "average_surfaces", surf_average_surfaces, METH_VARARGS, DOC_PYGAMETRANSFORMAVERAGESURFACES }, { "average_color", surf_average_color, METH_VARARGS, DOC_PYGAMETRANSFORMAVERAGECOLOR }, { NULL, NULL, 0, NULL } }; MODINIT_DEFINE (transform) { PyObject *module; struct _module_state *st; #if PY3 static struct PyModuleDef _module = { PyModuleDef_HEAD_INIT, "transform", DOC_PYGAMETRANSFORM, sizeof (struct _module_state), _transform_methods, NULL, NULL, NULL, NULL }; #endif /* imported needed apis; Do this first so if there is an error the module is not loaded. */ import_pygame_base (); if (PyErr_Occurred ()) { MODINIT_ERROR; } import_pygame_color (); if (PyErr_Occurred ()) { MODINIT_ERROR; } import_pygame_rect (); if (PyErr_Occurred ()) { MODINIT_ERROR; } import_pygame_surface (); if (PyErr_Occurred ()) { MODINIT_ERROR; } /* create the module */ #if PY3 module = PyModule_Create (&_module); #else module = Py_InitModule3 (MODPREFIX "transform", _transform_methods, DOC_PYGAMETRANSFORM); #endif if (module == 0) { MODINIT_ERROR; } st = GETSTATE (module); if (st->filter_type == 0) { smoothscale_init (st); } MODINIT_RETURN (module); }
gmittal/aar-nlp-research-2016
src/pygame-pygame-6625feb3fc7f/src/transform.c
C
mit
89,031
PER_PAGE = 100 SORT_MAP = {n: 'last_comment_time', v: 'view_counter', f: 'start_time', m: 'mylist_counter', r: 'comment_counter', l: 'length_seconds'} ORDER_MAP = {a: 'asc', d: 'desc'} @q = params['q'] @page = params['page'].to_i || 1 @sort = params['sort'] @sort = 'nd' unless %w{nd vd fd md na va rd ra ma fa ld la}.include?(@sort) sort_by = SORT_MAP[@sort[0]] order = ORDER_MAP[@sort[1]] @prev = @page - 1 @next = @page + 1 unless @q.nil? nico = NicoSearchSnapshot.new('page51') @results = nico.search(@q, size: PER_PAGE, from: ((@page - 1) * PER_PAGE, sort_by: sort_by, order: order)) end
mktoho/page51
top.rb
Ruby
mit
662
var log4js = require("log4js"), log = log4js.getLogger("megapis-worker"), request = require("request"), cheerio = require("cheerio"), _ = require("lodash"), async = require("async"), util = require("util"); var MegapisWorker = require("megapis-worker").MegapisWorker; function PrimeBooksWorker(config) { PrimeBooksWorker.super_.call(this, config); } util.inherits(PrimeBooksWorker, MegapisWorker); exports.createWorker = function(config) { return new PrimeBooksWorker(config); }; PrimeBooksWorker.prototype.getConfigKeys = function() { return ["urls", "output"]; }; PrimeBooksWorker.prototype.run = function(callback) { var self = this; async.waterfall([ function getExclude(next) { if (self.config.exclude) { self.get(self.config.exclude, function(err, values) { log.debug("found "+values.length+" ASINs to exclude"); next(null, values); }); } else { next(null, []); } }, function getBooks(exclude, next) { var byUrl = {}; async.forEach(self.config.urls, function(url, forEachCallback) { request(url, function(err, response, body) { if (err) throw err; var $ = cheerio.load(body); // get books $(".s-result-item").each(function() { var asin = $(this).attr("data-asin"); var item = $(this).find(".s-access-detail-page"); var title = $(item).attr("title"); var author = $(this).find(".a-row .a-row a").eq(2).text(); var url = $(item).attr("href"); //log.debug("exclude "+url+"="+_.includes(exclude, url)); if (!_.includes(exclude, asin)) { byUrl[url] = { asin: asin, title: title, author: author, url: url }; } }); forEachCallback(); }); }, function(err) { next(err, byUrl); }); }, function getDetails(byUrl, next) { var books = []; var i = 0; var total= _.keys(byUrl).length; log.info("found "+total+" books"); async.forEach(_.keys(byUrl), function(url, forEachCallback) { // get synopsis from detail page link request(url, function(err, response, body) { if (err) throw err; var $ = cheerio.load(body); var book = byUrl[url]; book.url = $("link[rel='canonical']").attr("href"); book.description = $("#bookDescription_feature_div noscript").text().trim(); if (book.description.length > 500) { book.description = book.description.substring(0, 500)+"..."; } var tag = $("meta[name='title']").attr("content"); tag = tag.replace("Amazon.com: ", ""); tag = tag.replace(": Kindle Store", ""); book.tag = tag; book.source = self.config.id; // TODO: author? books.push(book); i++; if (i%10 === 0) { log.debug("loaded "+i+"/"+total+" book pages"); } forEachCallback(); }); }, function(err) { next(err, books); }); } ], function(err, books) { self.save(books, callback); }); };
kielni/megapis
workers/prime_books/index.js
JavaScript
mit
3,957
# JPEG ファイルへの GPS 情報追加サンプル ## コンパイル ```sh ./mvnw compile ``` ## 実行 `test.jpg` という名前の jpeg ファイルをプロジェクトルートに配置したうえで、以下コマンドを実行。 ```sh ./mvnw exec:java ``` `test_dest.jpg` という名前の jpeg ファイルがプロジェクトルートに生成される。 ## プロジェクト作成 ```sh mvn archetype:generate \ -DarchetypeArtifactId=maven-archetype-quickstart \ -DinteractiveMode=false \ -DgroupId=dev.mikoto2000.study.exif \ -DartifactId=firststep mvn -N io.takari:maven:wrapper ``` この後、依存関係の追加や `exec-maven-plugin` の導入を行った。 ## Exif 確認ツール - [EXIF確認君 - 画像情報解析ツール](http://exif-check.org/) - [Exif読取り君 -ソフトウェアの部屋-](https://enrai.matrix.jp/exif.html) ## 参考資料 - [Maven を使った Java project 作成方法 - Qiita](https://qiita.com/hide/items/6593f3f02c3f28e57f2d) - [Java プログラムを Maven から実行する方法 - Qiita](https://qiita.com/hide/items/0c8795054219d04e5e98) - [mavenのコンパイルjavaバージョンを指定する - Qiita](https://qiita.com/kz1202/items/aa0f2f110908ff7ff530) - [【Java】JPEGのEXIFを取得・更新する方法 | 水戸スヤのSE備忘録](https://mitosuya.net/edit-exif) - [Java Source Code: org.apache.commons.imaging.formats.tiff.constants.GpsTagConstants](http://www.javased.com/index.php?source_dir=sanselan/src/main/java/org/apache/commons/imaging/formats/tiff/constants/GpsTagConstants.java) - [ディジタルスチルカメラ用 - DC-008-2010_J.pdf](https://www.cipa.jp/std/documents/j/DC-008-2010_J.pdf) - [Java Examples for org.apache.commons.imaging.formats.tiff.constants.GpsTagConstants.GPS_TAG_GPS_IMG_DIRECTION](https://www.javatips.net/api/org.apache.commons.imaging.formats.tiff.constants.gpstagconstants.gps.tag.gps.img.direction) - [EXIF確認君 - 画像情報解析ツール](http://exif-check.org/)
mikoto2000/MiscellaneousStudy
java/exif/firststep/README.md
Markdown
mit
2,029
# Makefile OBJECTS = main4.o dfsw.o HEADERS = dfsw.h TARGET = test all: ${TARGET} clean: rm -f ${TARGET} ${OBJECTS} ${TARGET}: ${OBJECTS} cc -g -o $@ ${OBJECTS} ${OBJECTS}: ${HEADERS}
her0m31/Studys
SoftC/10/Makefile
Makefile
mit
194
package tbsc.server.db.service; import tbsc.server.db.DB; import tbsc.server.security.PasswordHasher; import tbsc.server.security.RandomStringGenerator; import tbsc.shared.model.User; public class UserService { public static User createUser(String username, String password) { String md = new PasswordHasher().hash(password); User user = new User(); user.username = username; user.password = md; user.email = ""; user.session = new RandomStringGenerator().generate(); try { DB.datastore.save(user); } catch (Exception e){ return null; } return user; } public static boolean exists(String username) { return DB.datastore.createQuery(User.class) .field("username").equal(username) .countAll() > 0; } public static User getUserByName(String username) { return DB.datastore.createQuery(User.class) .field("username").equal(username).get(); } }
njustesen/tbsc
src/main/java/tbsc/server/db/service/UserService.java
Java
mit
922
<?php namespace Quartz\Tests\Triggers; use PHPUnit\Framework\TestCase; use Quartz\Core\SchedulerException; use Quartz\Core\Trigger; use Quartz\Triggers\SimpleTrigger; class SimpleTriggerTest extends TestCase { public function testShouldImplementTriggerInterface() { $this->assertInstanceOf(Trigger::class, new SimpleTrigger()); } public function testCouldSetGetRepeatCount() { $t = new SimpleTrigger(); $t->setRepeatCount(123); $this->assertSame(123, $t->getRepeatCount()); } public function testCouldSetGetRepeatInterval() { $t = new SimpleTrigger(); $t->setRepeatInterval(123); $this->assertSame(123, $t->getRepeatInterval()); } public function testOnValidateShouldThrowExceptionIfRepeatIntervalIsLessThanOne() { $t = new SimpleTrigger(); $t->setRepeatInterval(0); $this->expectException(SchedulerException::class); $this->expectExceptionMessage('Trigger\'s name cannot be null'); $t->validate(); } public function testShouldComputeFirstFireTime() { $t = new SimpleTrigger(); $t->setStartTime(new \DateTime('2012-12-12 12:00:00')); $t->setRepeatInterval(10); $this->assertEquals(new \DateTime('2012-12-12 12:00:00'), $t->computeFirstFireTime()); } public function testShouldComputeFireTimeAfter() { $t = new SimpleTrigger(); $t->setStartTime(new \DateTime('2012-12-12 12:00:00')); $t->setRepeatInterval(10); $t->setRepeatCount(SimpleTrigger::REPEAT_INDEFINITELY); $this->assertEquals(new \DateTime('2012-12-12 12:00:10'), $t->getFireTimeAfter(new \DateTime('2012-12-12 12:00:00'))); $this->assertEquals(new \DateTime('2012-12-13 00:00:00'), $t->getFireTimeAfter(new \DateTime('2012-12-12 23:59:55'))); } public function testOnFireTimeAfterShouldReturnNullIfTimesTriggeredMoreThanRepeatCount() { $t = new SimpleTrigger(); $t->setStartTime(new \DateTime('2012-12-12 12:00:00')); $t->setRepeatInterval(10); $t->setTimesTriggered(5); $t->setRepeatCount(3); $this->assertNull($t->getFireTimeAfter()); } public function testOnFireTimeAfterShouldReturnNullIfRepeatCountZeroAndAfterTimeAfterStartTime() { $t = new SimpleTrigger(); $t->setStartTime(new \DateTime('2012-12-12 12:00:00')); $t->setRepeatInterval(10); $t->setRepeatCount(0); $this->assertNull($t->getFireTimeAfter(new \DateTime('2012-12-12 13:00:00'))); } public function testOnFireTimeAfterShouldReturnStartTimeIfAfterTimeBeforeStartTime() { $t = new SimpleTrigger(); $t->setStartTime(new \DateTime('2012-12-12 12:00:00')); $t->setRepeatInterval(10); $t->setRepeatCount(0); $this->assertEquals(new \DateTime('2012-12-12 12:00:00'), $t->getFireTimeAfter(new \DateTime('2012-12-12 11:00:00'))); } public function testOnFireTimeAfterShouldReturnNullIfNumTimesExecutedIsMoreThanRepeatCount() { $t = new SimpleTrigger(); $t->setStartTime(new \DateTime('2012-12-12 12:00:00')); $t->setRepeatInterval(10); $t->setRepeatCount(2); $this->assertNull($t->getFireTimeAfter(new \DateTime('2012-12-12 12:00:21'))); } public function testOnFireTimeAfterShouldReturnNullIfCalculatedTimeIsAfterEndTime() { $t = new SimpleTrigger(); $t->setStartTime(new \DateTime('2012-12-12 12:00:00')); $t->setEndTime(new \DateTime('2012-12-12 13:00:00')); $t->setRepeatInterval(10); $t->setRepeatCount(SimpleTrigger::REPEAT_INDEFINITELY); $this->assertNull($t->getFireTimeAfter(new \DateTime('2012-12-12 12:59:55'))); } public function testShouldUpdateAfterMisfireWithFireNowInstruction() { $t = new SimpleTrigger(); $t->setRepeatCount(0); $t->setMisfireInstruction(SimpleTrigger::MISFIRE_INSTRUCTION_FIRE_NOW); $this->assertNull($t->getNextFireTime()); $t->updateAfterMisfire(); $this->assertEquals(new \DateTime(), $t->getNextFireTime(), '', 5); // closer to now $this->assertSame(0, $t->getRepeatCount()); } }
php-quartz/quartz-dev
pkg/quartz/Tests/Triggers/SimpleTriggerTest.php
PHP
mit
4,258
exports.ADD_ITEM_TO_IMPORT_LIST = function(state, contentNode) { state.itemsToImport.push(contentNode); }; exports.REMOVE_ITEM_FROM_IMPORT_LIST = function(state, contentNodeId) { state.itemsToImport = state.itemsToImport.filter(function(node) { return node.id !== contentNodeId; }); }; exports.UPDATE_IMPORT_SIZE = function(state, newSize) { state.importSizeInBytes = newSize; }; exports.UPDATE_CHANNELS = function(state, channels) { state.channels = channels; }; exports.UPDATE_IMPORT_STATUS = function(state, status) { state.importStatus = status; }; exports.UPDATE_PAGE_STATE = function(state, payload) { state.pageState = { pageType: payload.pageType, data: payload.data || {}, }; }; exports.RESET_IMPORT_STATE = function(state) { Object.assign(state, { itemsToImport: [], importStatus: null, importSizeInBytes: 0, }); }; exports.UPDATE_CHANNELS_ARE_LOADING = function(state, isLoading) { state.channelsAreLoading = isLoading; };
fle-internal/content-curation
contentcuration/contentcuration/static/js/edit_channel/import/vuex/importMutations.js
JavaScript
mit
987
var TutorialStudyLayer = cc.Layer.extend({ label : null, array : [ //"안녕하세요!\n뉴로스터디를 이용해주셔서 감사합니다!\n\n뉴로스터디는 뇌파를 이용한 영어 학습 도구입니다.\n\n뇌파 헤드셋을 통하여 집중력을 측정하고 이에 대한 피드백을 전달하여 사용자가 자연스럽게 집중 상태를 유지하도록 도와줍니다.\n\n이를 통하여 하루 30분 정도의 시간 투자만으로도 놀라울 정도의 학습 효과를 보장합니다.", "본격적인 학습에 앞서 뉴로스터디의 뇌파 스터디 시스템에 대해 소개해드리겠습니다.\n\n뇌파 스터디는 뇌파 ", "본격적인 학습에 앞서 뉴로 워밍업 프로그램을 소개합니다.\n\n뉴로 워밍업은 학습에 앞서서 집중력과 관련이 높은 세타파를 학습에 적합한 형태로 유도하는 프로그램입니다.\n\n시각 효과와 시냇물 소리를 통하여 사용자의 세타파를 다량 발생하도록 유도하여 집중 상태로 학습에 임할 수 있도록 도와줍니다", ], index : 0, cur : 0, nextEnabled : false, clickMenu : null, ctor:function () { this._super(); var size = cc.winSize; var backgroundLayer = new cc.LayerColor(); backgroundLayer.setColor(cc.color(0,0,0)); backgroundLayer.opacity = 230; this.addChild(backgroundLayer); var pageView = new ccui.PageView(); pageView.setTouchEnabled(true); pageView.setContentSize(cc.size(size.width, size.height)); pageView.x = (size.width - pageView.width) / 2; pageView.y = (size.height - pageView.height) / 2; this.addChild(pageView); this.clickMenu = new SimpleMenu(res.forward_white_png, res.forward_white_png, res.forward_white_png, function(sender) { this.touchEvent(); }, this); this.clickMenu.attr({ x : size.width - 128, y : 128, opacity : 0 }); this.addChild(this.clickMenu); this.clickMenu.runAction(new cc.RepeatForever( new cc.Sequence( new cc.ScaleTo(0.3, 1), new cc.ScaleTo(0.3, 1.03) ) )); this.label = new cc.LabelTTF("", "Arial", 50, cc.size(size.width * 0.8, size.height * 0.7), cc.TEXT_ALIGNMENT_LEFT, cc.VERTICAL_TEXT_ALIGNMENT_TOP); this.label.attr({ x : size.width / 2, y : size.height / 2 }); this.addChild(this.label); this.schedule(function() { if(this.cur < this.array[this.index].length) { this.label.string += this.array[this.index][this.cur]; this.cur++; } else { this.clickMenu.runAction(new cc.FadeIn(0.1)); this.nextEnabled = true; } }, 0.05); }, touchEvent:function (event) { if(this.nextEnabled) { this.clickMenu.runAction(new cc.FadeOut(0.1)); if(this.index < this.array.length - 1) { this.nextEnabled = false; this.index++; this.cur = 0; this.label.string = ""; } else { this.removeFromParent(); cc.sys.localStorage.setItem("warmup-tutorial", "true"); } } } });
sincntx/neurostudy
src/layer/tutorial_study.js
JavaScript
mit
3,447
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js const u = undefined; function plural(n: number): number { if (n === 1) return 1; if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10) return 3; if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19) return 4; return 5; } export default [ 'mt', [['am', 'pm'], ['AM', 'PM'], u], u, [ ['Ħd', 'T', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] ], [ ['Ħd', 'Tn', 'Tl', 'Er', 'Ħm', 'Ġm', 'Sb'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'], ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'], ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'] ], [ ['J', 'F', 'M', 'A', 'M', 'Ġ', 'L', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], [ 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', 'Ottubru', 'Novembru', 'Diċembru' ] ], [ ['Jn', 'Fr', 'Mz', 'Ap', 'Mj', 'Ġn', 'Lj', 'Aw', 'St', 'Ob', 'Nv', 'Dċ'], ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun', 'Lul', 'Aww', 'Set', 'Ott', 'Nov', 'Diċ'], [ 'Jannar', 'Frar', 'Marzu', 'April', 'Mejju', 'Ġunju', 'Lulju', 'Awwissu', 'Settembru', 'Ottubru', 'Novembru', 'Diċembru' ] ], [['QK', 'WK'], u, ['Qabel Kristu', 'Wara Kristu']], 0, [6, 0], ['dd/MM/y', 'dd MMM y', 'd \'ta\'’ MMMM y', 'EEEE, d \'ta\'’ MMMM y'], ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'], ['{1} {0}', u, u, u], ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], ['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '€', 'ewro', {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, 'ltr', plural ];
vikerman/angular
packages/common/locales/mt.ts
TypeScript
mit
2,250
--- layout: notes title: Differential Equations category: math --- {:toc} # Differential Equations Separable: Separate and Integrate FOLDE: y' + p(x)y = g(x) IF: $e^{\int{p(x)}dx}$ Exact: Mdx+Ndy = 0 $M_y=N_x$ Integrate Mdx or Ndy, make sure all terms are present Constant Coefficients: Plug in $e^{rt}$, solve characteristic polynomial repeated root solutions: $e^{rt},re^{rt}$ complex root solutions: $r=a\pm bi, y=c_1e^{at} cos(bt)+c_2e^{at} sin(bt)$ SOLDE (non-constant): py''+qy'+ry=0 Reduction of Order: Know one solution, can find other Undetermined Coefficients (doesn't have to be homogenous): solve homogenous first, then plug in form of solution with variable coefficients, solve polynomial to get the coefficients Variation of Parameters: start with homogenous solutions $y_1,y_2$ $Y_p=-y_1\int \frac{y_2g}{W(y_1,y_2)}dt+y_2\int \frac{y_1g}{W(y_1,y_2)}dt$ Laplace Transforms - for anything, best when g is noncontinuous $\mathcal{L}(f(t))=F(t)=\int_0^\infty e^{-st}f(t)dt$ Series Solutions: More difficult Wronskian: $W(y_1 ,y_2)=y_1y _2' -y_2 y_1'$ W = 0 $\implies$ solns linearly dependent Abel's Thm: y''+py'+q=0 $\implies W=ce^{\int pdt}$
csinva/csinva.github.io
_notes/math/differential_equations.md
Markdown
mit
1,170
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.6"/> <title>/home/pavm/programming/lib/gft/include/gft_matrix.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <!-- end header part --> <!-- Generated by Doxygen 1.8.6 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#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> </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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> &#124; <a href="#namespaces">Namespaces</a> &#124; <a href="#typedef-members">Typedefs</a> &#124; <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">gft_matrix.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include &quot;<a class="el" href="gft__common_8h_source.html">gft_common.h</a>&quot;</code><br/> <code>#include &quot;<a class="el" href="gft__image32_8h_source.html">gft_image32.h</a>&quot;</code><br/> </div> <p><a href="gft__matrix_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgft_1_1Matrix_1_1__matrix.html">gft::Matrix::_matrix</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2">&#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:namespacegft"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft.html">gft</a></td></tr> <tr class="memdesc:namespacegft"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base namespace for common definitions and prototypes. <br/></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:namespacegft_1_1Matrix"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html">gft::Matrix</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:aac4dc9ea9c8dc9abade70a84fbea7939"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structgft_1_1Matrix_1_1__matrix.html">gft::Matrix::_matrix</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aac4dc9ea9c8dc9abade70a84fbea7939">gft::Matrix::Matrix</a></td></tr> <tr class="separator:aac4dc9ea9c8dc9abade70a84fbea7939"><td class="memSeparator" colspan="2">&#160;</td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:ae6a2a044a2d14349592a86c7c6818617"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ae6a2a044a2d14349592a86c7c6818617">gft::Matrix::Create</a> (int ncols, int nrows)</td></tr> <tr class="separator:ae6a2a044a2d14349592a86c7c6818617"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a3cb60e1ef34405968cd04d0749309cae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a3cb60e1ef34405968cd04d0749309cae">gft::Matrix::Destroy</a> (Matrix **mat)</td></tr> <tr class="separator:a3cb60e1ef34405968cd04d0749309cae"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a260d70969b2b5d491db627a0f37c840e"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a260d70969b2b5d491db627a0f37c840e">gft::Matrix::Clone</a> (Matrix *mat)</td></tr> <tr class="separator:a260d70969b2b5d491db627a0f37c840e"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a6f9aec9897cada536ccc04375bb41de6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a6f9aec9897cada536ccc04375bb41de6">gft::Matrix::Copy</a> (Matrix *dest, Matrix *src)</td></tr> <tr class="separator:a6f9aec9897cada536ccc04375bb41de6"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a35846f5ffcd9e19e3958681e4e399bb7"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a35846f5ffcd9e19e3958681e4e399bb7">gft::Matrix::Invert</a> (Matrix *A)</td></tr> <tr class="separator:a35846f5ffcd9e19e3958681e4e399bb7"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:afb597972edec29ec6aa64603b30663a7"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#afb597972edec29ec6aa64603b30663a7">gft::Matrix::Transpose</a> (Matrix *A)</td></tr> <tr class="separator:afb597972edec29ec6aa64603b30663a7"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a0d1066ccb59072a0577e3ca9c68fb5ae"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a0d1066ccb59072a0577e3ca9c68fb5ae">gft::Matrix::Mult</a> (Matrix *A, Matrix *B)</td></tr> <tr class="separator:a0d1066ccb59072a0577e3ca9c68fb5ae"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ad68411dccb25c13df2a15bde1b075511"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ad68411dccb25c13df2a15bde1b075511">gft::Matrix::MultByScalar</a> (Matrix *A, float k)</td></tr> <tr class="separator:ad68411dccb25c13df2a15bde1b075511"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aa0eb01485f2ee434e78d6e8187afe13d"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aa0eb01485f2ee434e78d6e8187afe13d">gft::Matrix::Sub</a> (Matrix *A, Matrix *B)</td></tr> <tr class="separator:aa0eb01485f2ee434e78d6e8187afe13d"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a4a6b0a2470987697fe14353484672aea"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a4a6b0a2470987697fe14353484672aea">gft::Matrix::Add</a> (Matrix *A, Matrix *B)</td></tr> <tr class="separator:a4a6b0a2470987697fe14353484672aea"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a9ed2b387eef5ab3335c6a23050225355"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a9ed2b387eef5ab3335c6a23050225355">gft::Matrix::GetTrace</a> (Matrix *M)</td></tr> <tr class="separator:a9ed2b387eef5ab3335c6a23050225355"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ada9e9fba8fee3797821a84cd4c574ed1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ada9e9fba8fee3797821a84cd4c574ed1">gft::Matrix::Print</a> (Matrix *M)</td></tr> <tr class="separator:ada9e9fba8fee3797821a84cd4c574ed1"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ab8a4a23e3bb76f54412a6a254e63f6cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ab8a4a23e3bb76f54412a6a254e63f6cd">gft::Matrix::PrintDimension</a> (Matrix *M)</td></tr> <tr class="separator:ab8a4a23e3bb76f54412a6a254e63f6cd"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a7ccc9b1d85321f55f60ad2de8afcea03"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a7ccc9b1d85321f55f60ad2de8afcea03">gft::Matrix::ComputeDistanceL2</a> (Matrix *Y, Matrix *X)</td></tr> <tr class="separator:a7ccc9b1d85321f55f60ad2de8afcea03"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:abda1b97e822504017275cb46f3e702ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#abda1b97e822504017275cb46f3e702ec">gft::Matrix::Fill</a> (Matrix *M, float value)</td></tr> <tr class="separator:abda1b97e822504017275cb46f3e702ec"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aba52e5904870a4e515a8516864ea1f02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aba52e5904870a4e515a8516864ea1f02">gft::Matrix::ChangeValue</a> (Matrix *M, float old_value, float new_value)</td></tr> <tr class="separator:aba52e5904870a4e515a8516864ea1f02"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ab48b98d11734286a7b9066253460aa2e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#ab48b98d11734286a7b9066253460aa2e">gft::Matrix::IsValidEntry</a> (Matrix *M, int i, int j)</td></tr> <tr class="separator:ab48b98d11734286a7b9066253460aa2e"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a723e5bc1d8a1d76372cfa52f7097c6fa"><td class="memItemLeft" align="right" valign="top">Image32::Image32 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a723e5bc1d8a1d76372cfa52f7097c6fa">gft::Matrix::Convert2Image</a> (Matrix *M)</td></tr> <tr class="separator:a723e5bc1d8a1d76372cfa52f7097c6fa"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a5ac0577e95b5b062f96501e9d470ca0b"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a5ac0577e95b5b062f96501e9d470ca0b">gft::Matrix::Read</a> (char *filename)</td></tr> <tr class="separator:a5ac0577e95b5b062f96501e9d470ca0b"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:abcf44518e519452765be89bfe38e9ba2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#abcf44518e519452765be89bfe38e9ba2">gft::Matrix::Write</a> (Matrix *M, char *filename)</td></tr> <tr class="separator:abcf44518e519452765be89bfe38e9ba2"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a0c79e498a23a2769eea14de3addbbc78"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a0c79e498a23a2769eea14de3addbbc78">gft::Matrix::GetMinimumValue</a> (Matrix *M)</td></tr> <tr class="separator:a0c79e498a23a2769eea14de3addbbc78"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a47e3aeb2a3ea13db9551eda65f3230ff"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a47e3aeb2a3ea13db9551eda65f3230ff">gft::Matrix::GetMaximumValue</a> (Matrix *M)</td></tr> <tr class="separator:a47e3aeb2a3ea13db9551eda65f3230ff"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aeb27ac9716ff7edc884741481d125da5"><td class="memItemLeft" align="right" valign="top">Image32::Image32 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aeb27ac9716ff7edc884741481d125da5">gft::Matrix::Threshold</a> (Matrix *M, float lower, float higher)</td></tr> <tr class="separator:aeb27ac9716ff7edc884741481d125da5"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a9329f1fa07d1f1eeab81e1991ad6eea4"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#a9329f1fa07d1f1eeab81e1991ad6eea4">gft::Matrix::RotationMatrix3</a> (int axis, float th)</td></tr> <tr class="separator:a9329f1fa07d1f1eeab81e1991ad6eea4"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:af29dec6cfd7cb57b50e3b16b9cd4652d"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#af29dec6cfd7cb57b50e3b16b9cd4652d">gft::Matrix::TranslationMatrix3</a> (float dx, float dy, float dz)</td></tr> <tr class="separator:af29dec6cfd7cb57b50e3b16b9cd4652d"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:aefbf44b7059c7c386f0f7c85e22207be"><td class="memItemLeft" align="right" valign="top">Matrix *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegft_1_1Matrix.html#aefbf44b7059c7c386f0f7c85e22207be">gft::Matrix::TransformVoxel</a> (Matrix *m, <a class="el" href="namespacegft.html#a16db894075bb714f877a3c5733772db6">gft::Voxel</a> v)</td></tr> <tr class="separator:aefbf44b7059c7c386f0f7c85e22207be"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Feb 25 2015 10:27:50 by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.6 </small></address> </body> </html>
ademirtc/bandeirantes
lib/gft/doc/html/gft__matrix_8h.html
HTML
mit
15,521
const React = require('react') const {Cursor} = require('./prop_types') class Chat extends React.Component { onSubmit = (e) => { e.preventDefault() const input = this.refs.input.getDOMNode() const message = input.value input.value = '' // push the new message onto the array in ultrawave if (message.length > 0) { this.props.messages.push({sender: this.props.name, text: message}) } } render() { // get the messages array object out from our cursor const messages = this.props.messages.get() const name = this.props.name // make sure messages stay scrolled to the bottom setTimeout(() => {this.refs.messages.getDOMNode().scrollTop = Infinity}) return <section className='chat flex flex-column flex-none bg-darken-1'> <div className='flex flex-column flex-auto scroll py2' ref='messages' > { messages.map(({sender, text}, i) => <div key={i} className={ 'py1 px2 flex-none' + ((sender === name) ? ' bg-white' : '') + ((sender === null) ? ' gray' : '') } > { sender ? <span className='bold'>{sender}: </span> : null } {text} </div> ) } </div> <form className='flex p2 flex-none' onSubmit={this.onSubmit}> <input type='text' className='field-light border-white flex-auto rounded-left' ref='input' placeholder='Message' /> <button type='submit' className='button rounded-right white regular bg-aqua x-group-item' > Send </button> </form> </section> } } Chat.propTypes = { name: React.PropTypes.string.isRequired, messages: Cursor.isRequired, } module.exports = Chat
charlieschwabacher/ultrawave-chess-example
src/interface/chat.js
JavaScript
mit
1,974
import Enum from '../../lib/Enum'; export default new Enum([ 'init', 'initSuccess', 'fetch', 'fetchSuccess', 'fetchError', 'fSync', 'fSyncSuccess', 'fSyncError', 'iSync', 'iSyncSuccess', 'iSyncError', 'reset', 'resetSuccess', 'clearToken', ], 'callLogActionTypes');
u9520107/ringcentral-js-integration-commons
src/modules/CallLog/actionTypes.js
JavaScript
mit
295
//For submit articles tinymce.init({ selector: '#content', directionality:'ltr', language:'zh_CN', height:400, plugins: [ 'advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker', 'searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking', 'save table contextmenu directionality emoticons template paste textcolor', 'codesample', ], toolbar: 'insertfile undo redo | \ styleselect | \ bold italic | \ alignleft aligncenter alignright alignjustify | \ bullist numlist outdent indent | \ link image | \ print preview media fullpage | \ forecolor backcolor emoticons |\ codesample fontsizeselect fullscreen', fontsize_formats: '10pt 12pt 14pt 18pt 24pt 36pt', nonbreaking_force_tab: true }); //For add plugin tinymce.init({ selector: '#pluginContent', directionality:'ltr', language:'zh_CN', plugins: [ 'advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker', 'searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking', 'save table contextmenu directionality emoticons template paste textcolor', 'codesample', ], });
dsq-src/xslweb
app/static/js/tinymce_setup.js
JavaScript
mit
1,358
<HTML> <HEAD> <TITLE> ZCL_WB_VIEW </TITLE> <link rel="stylesheet" type="text/css" href="css/style_class.css" /> <link rel="stylesheet" type="text/css" href="css/style_function_groups.css" /> <link rel="stylesheet" type="text/css" href="css/style_object_list.css" /> </HEAD> <BODY> <H1>ZCL_WB_VIEW</H1> <BR/> Description: Database View <BR/> Visibility: Public <BR/> <H2>Attributes: </H2> <TABLE width="100%"> <TR class="top"> <TD>Name</TD> <TD>Level</TD> <TD>Visibility</TD> <TD>Read-Only</TD> <TD>Typing</TD> <TD>Associated Type</TD> <TD>Description</TD> <TD>Initial Value</TD> </TR> <TR> <TD>NAME</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>DDOBJNAME</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>STATE</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>DDOBJSTATE</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>LANGU</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>SY-LANGU</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>GOTSTATE</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>DDGOTSTATE</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>DD25V_WA</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>DD25V</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>DD09L_WA</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>DD09V</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>DD26V_TAB</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>TY_TT_DD26V</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>DD27P_TAB</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>TY_TT_DD27P</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>DD28J_TAB</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>TY_TT_DD28J</TD> <TD></TD> <TD></TD> </TR> <TR> <TD>DD28V_TAB</TD> <TD>Instance Attribute</TD> <TD>Public</TD> <TD>Yes</TD> <TD>Type</TD> <TD>TY_TT_DD28V</TD> <TD></TD> <TD></TD> </TR> </TABLE> <H2>Events: </H2> <BR/> </BODY> </HTML>
fabiopagoti/WB-Objects
last_release/abapdoc/ZWB_OBJECTS/ZCL_WB_VIEW.html
HTML
mit
2,154
import componentsModule from '../index'; describe('tl-people-you-may-know component', () => { 'use strict'; var $rootScope, $compile, elm, scope, $httpBackend, $timeout; beforeEach(window.module(componentsModule.name)); beforeEach(inject(($injector) => { $rootScope = $injector.get('$rootScope'); $compile = $injector.get('$compile'); $httpBackend = $injector.get('$httpBackend'); $timeout = $injector.get('$timeout'); scope = $rootScope.$new(); $httpBackend.expectJSONP(/http:\/\/www.filltext.com\/\?callback=JSON_CALLBACK&rows=2&fname=\{firstName}&lname=\{lastName}/).respond([ {fname: 'Chris', lname: 'Bond'}, {fname: 'Mike', lname: 'Bond'} ]); })); function renderComponent() { elm = angular.element('<tl-people-you-may-know></tl-people-you-may-know>'); $compile(elm)(scope); scope.$digest(); return elm; } it('should be able to load users suggested as friends', () => { let component = renderComponent(); let controller = component.controller('tlPeopleYouMayKnow'); $httpBackend.flush(); $timeout.flush(); expect(controller.suggestedPeople.length).toEqual(2); }); it('should be able to have loading state when fetching data', () => { let component = renderComponent(); expect(component.find('.segment').hasClass('loading')).toEqual(true); $httpBackend.flush(); $timeout.flush(); expect(component.find('.segment').hasClass('loading')).toEqual(false); }); it('should be able to display full user name', () => { let component = renderComponent(); $httpBackend.flush(); $timeout.flush(); expect(component.find('.content:eq(1)').text().trim()).toEqual('Chris Bond') }); it('should be able to add user as a friend', () => { spyOn($rootScope, '$broadcast'); let component = renderComponent(); let controller = component.controller('tlPeopleYouMayKnow'); $httpBackend.flush(); $timeout.flush(); expect(controller.suggestedPeople.length).toEqual(2); let userToAdd = controller.suggestedPeople[0]; controller.addUser(userToAdd); expect($rootScope.$broadcast).toHaveBeenCalledWith('add-suggested-user', userToAdd); expect(controller.suggestedPeople.length).toEqual(1); }); it('should be able to skip user as a friend', () => { let component = renderComponent(); let controller = component.controller('tlPeopleYouMayKnow'); $httpBackend.flush(); $timeout.flush(); expect(controller.suggestedPeople.length).toEqual(2); controller.skipUser(controller.suggestedPeople[0]); expect(controller.suggestedPeople.length).toEqual(1); }); it('should be hidden when there are no suggested users', () => { let component = renderComponent(); let controller = component.controller('tlPeopleYouMayKnow'); $httpBackend.flush(); $timeout.flush(); expect(component.find('.segment').hasClass('ng-hide')).toEqual(false); controller.skipUser(controller.suggestedPeople[0]); controller.skipUser(controller.suggestedPeople[0]); scope.$apply(); expect(component.find('.segment').hasClass('ng-hide')).toEqual(true); }); });
m0t0r/social-media-profile
src/components/tl-people-you-may-know/tl-people-you-may-know.spec.js
JavaScript
mit
3,171
namespace Carbon.Css { public class CssCompatibility { public static readonly CssCompatibility All = new CssCompatibility(); public static readonly CssCompatibility Default = new CssCompatibility(); public CssCompatibility( CompatibilityTable prefixed = default, CompatibilityTable standard = default) { Prefixed = prefixed; Standard = standard; } public bool PatchValues { get; set; } public CompatibilityTable Prefixed { get; } public CompatibilityTable Standard { get; } public virtual CssPatch GetPatch(CssDeclaration declaration, in BrowserInfo browser) { if (PatchValues) { return PatchFactory.PrefixNameAndValue.Patch(browser, declaration); } return PatchFactory.PrefixNameAndValue.Patch(browser, declaration); } public virtual bool HasPatch(CssDeclaration declaration, in BrowserInfo browser) => IsPrefixed(browser); public bool IsPrefixed(in BrowserInfo browser) => browser.Type switch { BrowserType.Chrome => Prefixed.Chrome > 0f && !IsStandard(browser), BrowserType.Firefox => Prefixed.Firefox > 0f && !IsStandard(browser), BrowserType.IE => Prefixed.IE > 0f && !IsStandard(browser), BrowserType.Safari => Prefixed.Safari > 0f && !IsStandard(browser), _ => false }; public bool IsStandard(in BrowserInfo browser) => browser.Type switch { BrowserType.Chrome => Standard.Safari != 0 && Standard.Chrome <= browser.Version, BrowserType.Firefox => Standard.Firefox != 0 && Standard.Firefox <= browser.Version, BrowserType.IE => Standard.IE != 0 && Standard.IE <= browser.Version, BrowserType.Safari => Standard.Safari != 0 && Standard.Safari <= browser.Version, _ => false }; public virtual bool HasPatches => Prefixed.IsDefined; } }
Carbon/Css
src/Carbon.Css/Comptability/CssCompatibility.cs
C#
mit
2,180
from jupyter_workflow.data import get_fremont_data import pandas as pd def test_fremont_data(): data = get_fremont_data() assert all(data.columns == ['West','East','Total']) assert isinstance(data.index,pd.DatetimeIndex)
irenalanc/JupyterPythonPals
jupyter_workflow/tests/test_data.py
Python
mit
234
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>doc</title> <style> /*github.com style (c) Vasily Polovnyov <vast@whiteants.net>*/ pre code { display: block; padding: 0.5em; color: #333; background: #f8f8ff } pre .comment, pre .template_comment, pre .diff .header, pre .javadoc { color: #998; font-style: italic } pre .keyword, pre .css .rule .keyword, pre .winutils, pre .javascript .title, pre .nginx .title, pre .subst, pre .request, pre .status { color: #333; font-weight: bold } pre .number, pre .hexcolor, pre .ruby .constant { color: #099; } pre .string, pre .tag .value, pre .phpdoc, pre .tex .formula { color: #d14 } pre .title, pre .id { color: #900; font-weight: bold } pre .javascript .title, pre .lisp .title, pre .clojure .title, pre .subst { font-weight: normal } pre .class .title, pre .haskell .type, pre .vhdl .literal, pre .tex .command { color: #458; font-weight: bold } pre .tag, pre .tag .title, pre .rules .property, pre .django .tag .keyword { color: #000080; font-weight: normal } pre .attribute, pre .variable, pre .lisp .body { color: #008080 } pre .regexp { color: #009926 } pre .class { color: #458; font-weight: bold } pre .symbol, pre .ruby .symbol .string, pre .lisp .keyword, pre .tex .special, pre .prompt { color: #990073 } pre .built_in, pre .lisp .title, pre .clojure .built_in { color: #0086b3 } pre .preprocessor, pre .pi, pre .doctype, pre .shebang, pre .cdata { color: #999; font-weight: bold } pre .deletion { background: #fdd } pre .addition { background: #dfd } pre .diff .change { background: #0086b3 } pre .chunk { color: #aaa } </style> </head> <body> <p>This is a mix-and-match set of utilities that you can use to write test harnesses and frameworks that communicate with one another using the Test Anything Protocol.</p> <p>If you don&#39;t yet know what TAP is, <a href="http://testanything.org/">you better ask somebody</a>.</p> <p>Default Usage:</p> <ol> <li>Make a directory. Maybe call it &#39;test&#39;. That&#39;d be nice and obvious.</li> <li>Put a bunch of test scripts in there. If they&#39;re node programs, then they should be &quot;.js&quot;. Anything else is assumed to be some kind of shell script, which should have a shebang line.</li> <li><code>npm install tap</code></li> <li>Update package.json scripts.test to include <code>tap ./test</code> <a href="https://gist.github.com/4469613">example gist</a></li> <li><code>npm test</code></li> </ol> <p>The output will be TAP-compliant.</p> <p>For extra special bonus points, you can do something like this:</p> <pre><code>var test = require(&quot;tap&quot;).test test(&quot;make sure the thingie is a thing&quot;, function (t) { t.equal(thingie, &quot;thing&quot;, &quot;thingie should be thing&quot;) t.deepEqual(array, [&quot;foo&quot;, &quot;bar&quot;], &quot;array has foo and bar elements&quot;) t.deepEqual(object, {foo: 42}, &quot;object has foo property&quot;) t.type(thingie, &quot;string&quot;, &quot;type of thingie is string&quot;) t.ok(true, &quot;this is always true&quot;) t.notOk(false, &quot;this is never true&quot;) t.test(&quot;a child test&quot;, function (t) { t.equal(this, superEasy, &quot;right!?&quot;) t.similar(7, 2, &quot;ever notice 7 is kinda like 2?&quot;, {todo: true}) t.test(&quot;so skippable&quot;, {skip: true}, function (t) { t.plan(1) // only one test in this block t.ok(true, &quot;but when the flag changes, it&#39;ll pass&quot;) // no need to end, since we had a plan. }) t.end() }) t.ok(99, &quot;can also skip individual assertions&quot;, {skip: true}) // end lets it know it&#39;s over. t.end() }) test(&quot;another one&quot;, function (t) { t.plan(1) t.ok(true, &quot;It&#39;s ok to plan, and also end. Watch.&quot;) t.end() // but it must match the plan! })</code></pre> <p>Node-tap is actually a collection of several modules, any of which may be mixed and matched however you please.</p> <p>If you don&#39;t like this test framework, and think you can do much much better, <em>I strongly encourage you to do so!</em> If you use this library, however, at least to output TAP-compliant results when <code>process.env.TAP</code> is set, then the data coming out of your framework will be much more consumable by machines.</p> <p>You can also use this to build programs that <em>consume</em> the TAP data, so this is very useful for CI systems and such.</p> <ul> <li>tap-assert: A collection of assert functions that return TAP result objects.</li> <li>tap-consumer: A stream interface for consuming TAP data.</li> <li>tap-producer: A class that produces a TAP stream by taking in result objects.</li> <li>tap-results: A class for keeping track of TAP result objects as they pass by, counting up skips, passes, fails, and so on.</li> <li>tap-runner: A program that runs through a directory running all the tests in it. (Tests which may or may not be TAP-outputting tests. But it&#39;s better if they are.)</li> <li>tap-test: A class for actually running tests.</li> <li>tap-harness: A class that runs tests. (Tests are also Harnesses, which is how sub-tests run.)</li> <li>tap-global-harness: A default harness that provides the top-level support for running TAP tests.</li> </ul> <h2 id="experimental-code-coverage-with-runforcover-bunker-">Experimental Code Coverage with runforcover &amp; bunker:</h2> <pre><code>TAP_COV=1 tap ./test [--cover=./lib,foo.js] [--coverage-dir=./coverage]</code></pre> <p>This feature is experimental, and will most likely change somewhat before being finalized. Feedback welcome.</p> </body> </html>
quattromani/placewise
node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/README.html
HTML
mit
6,300
<?xml version="1.0" encoding="UTF-8"?> <gpx creator="strava.com Android" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd"> <metadata> <time>2016-11-15T00:27:30Z</time> <cartotable>morning_2016_11_15_strava_10</cartotable> </metadata> <trk> <name>Morning Run</name> <trkseg> <trkpt lat="12.8917010" lon="77.5923600"> <ele>922.2</ele> <time>2016-11-15T00:27:30Z</time> </trkpt> <trkpt lat="12.8917330" lon="77.5923610"> <ele>922.2</ele> <time>2016-11-15T00:27:34Z</time> </trkpt> <trkpt lat="12.8917910" lon="77.5923690"> <ele>922.2</ele> <time>2016-11-15T00:27:36Z</time> </trkpt> <trkpt lat="12.8918210" lon="77.5923740"> <ele>922.2</ele> <time>2016-11-15T00:27:37Z</time> </trkpt> <trkpt lat="12.8918520" lon="77.5923800"> <ele>922.2</ele> <time>2016-11-15T00:27:38Z</time> </trkpt> <trkpt lat="12.8918860" lon="77.5923820"> <ele>922.2</ele> <time>2016-11-15T00:27:39Z</time> </trkpt> <trkpt lat="12.8919160" lon="77.5923820"> <ele>922.2</ele> <time>2016-11-15T00:27:40Z</time> </trkpt> <trkpt lat="12.8919660" lon="77.5923740"> <ele>922.3</ele> <time>2016-11-15T00:27:42Z</time> </trkpt> <trkpt lat="12.8920160" lon="77.5923680"> <ele>922.3</ele> <time>2016-11-15T00:27:43Z</time> </trkpt> <trkpt lat="12.8920500" lon="77.5923640"> <ele>922.3</ele> <time>2016-11-15T00:27:44Z</time> </trkpt> <trkpt lat="12.8920830" lon="77.5923640"> <ele>922.3</ele> <time>2016-11-15T00:27:45Z</time> </trkpt> <trkpt lat="12.8921240" lon="77.5923650"> <ele>922.3</ele> <time>2016-11-15T00:27:46Z</time> </trkpt> <trkpt lat="12.8921750" lon="77.5923620"> <ele>922.2</ele> <time>2016-11-15T00:27:48Z</time> </trkpt> <trkpt lat="12.8922340" lon="77.5923540"> <ele>922.2</ele> <time>2016-11-15T00:27:50Z</time> </trkpt> <trkpt lat="12.8922620" lon="77.5923520"> <ele>922.1</ele> <time>2016-11-15T00:27:51Z</time> </trkpt> <trkpt lat="12.8923100" lon="77.5923480"> <ele>922.1</ele> <time>2016-11-15T00:27:53Z</time> </trkpt> <trkpt lat="12.8923470" lon="77.5923350"> <ele>922.0</ele> <time>2016-11-15T00:27:55Z</time> </trkpt> <trkpt lat="12.8923850" lon="77.5923260"> <ele>922.0</ele> <time>2016-11-15T00:27:57Z</time> </trkpt> <trkpt lat="12.8924190" lon="77.5923300"> <ele>922.0</ele> <time>2016-11-15T00:27:58Z</time> </trkpt> <trkpt lat="12.8924520" lon="77.5923360"> <ele>921.9</ele> <time>2016-11-15T00:27:59Z</time> </trkpt> <trkpt lat="12.8924850" lon="77.5923400"> <ele>921.9</ele> <time>2016-11-15T00:28:00Z</time> </trkpt> <trkpt lat="12.8925240" lon="77.5923470"> <ele>921.8</ele> <time>2016-11-15T00:28:01Z</time> </trkpt> <trkpt lat="12.8925570" lon="77.5923540"> <ele>921.8</ele> <time>2016-11-15T00:28:02Z</time> </trkpt> <trkpt lat="12.8925890" lon="77.5923620"> <ele>921.7</ele> <time>2016-11-15T00:28:03Z</time> </trkpt> <trkpt lat="12.8926210" lon="77.5923680"> <ele>921.7</ele> <time>2016-11-15T00:28:05Z</time> </trkpt> <trkpt lat="12.8926690" lon="77.5923780"> <ele>921.6</ele> <time>2016-11-15T00:28:07Z</time> </trkpt> <trkpt lat="12.8926970" lon="77.5923850"> <ele>921.6</ele> <time>2016-11-15T00:28:08Z</time> </trkpt> <trkpt lat="12.8927290" lon="77.5923900"> <ele>921.6</ele> <time>2016-11-15T00:28:09Z</time> </trkpt> <trkpt lat="12.8927560" lon="77.5923920"> <ele>921.5</ele> <time>2016-11-15T00:28:10Z</time> </trkpt> <trkpt lat="12.8927980" lon="77.5923980"> <ele>921.5</ele> <time>2016-11-15T00:28:12Z</time> </trkpt> <trkpt lat="12.8928280" lon="77.5924050"> <ele>921.5</ele> <time>2016-11-15T00:28:13Z</time> </trkpt> <trkpt lat="12.8928640" lon="77.5924100"> <ele>921.4</ele> <time>2016-11-15T00:28:14Z</time> </trkpt> <trkpt lat="12.8929040" lon="77.5924140"> <ele>921.4</ele> <time>2016-11-15T00:28:15Z</time> </trkpt> <trkpt lat="12.8929370" lon="77.5924160"> <ele>921.4</ele> <time>2016-11-15T00:28:16Z</time> </trkpt> <trkpt lat="12.8929660" lon="77.5924190"> <ele>921.5</ele> <time>2016-11-15T00:28:17Z</time> </trkpt> <trkpt lat="12.8929950" lon="77.5924200"> <ele>921.6</ele> <time>2016-11-15T00:28:18Z</time> </trkpt> <trkpt lat="12.8930270" lon="77.5924130"> <ele>921.6</ele> <time>2016-11-15T00:28:19Z</time> </trkpt> <trkpt lat="12.8930590" lon="77.5924120"> <ele>921.7</ele> <time>2016-11-15T00:28:20Z</time> </trkpt> <trkpt lat="12.8930910" lon="77.5924150"> <ele>921.8</ele> <time>2016-11-15T00:28:21Z</time> </trkpt> <trkpt lat="12.8931380" lon="77.5924190"> <ele>921.9</ele> <time>2016-11-15T00:28:23Z</time> </trkpt> <trkpt lat="12.8931900" lon="77.5924160"> <ele>922.0</ele> <time>2016-11-15T00:28:25Z</time> </trkpt> <trkpt lat="12.8932210" lon="77.5924150"> <ele>922.1</ele> <time>2016-11-15T00:28:26Z</time> </trkpt> <trkpt lat="12.8932500" lon="77.5924180"> <ele>922.1</ele> <time>2016-11-15T00:28:27Z</time> </trkpt> <trkpt lat="12.8932820" lon="77.5924140"> <ele>922.2</ele> <time>2016-11-15T00:28:28Z</time> </trkpt> <trkpt lat="12.8933110" lon="77.5924140"> <ele>922.3</ele> <time>2016-11-15T00:28:29Z</time> </trkpt> <trkpt lat="12.8933580" lon="77.5924180"> <ele>922.4</ele> <time>2016-11-15T00:28:31Z</time> </trkpt> <trkpt lat="12.8934100" lon="77.5924210"> <ele>922.5</ele> <time>2016-11-15T00:28:33Z</time> </trkpt> <trkpt lat="12.8934380" lon="77.5924140"> <ele>922.5</ele> <time>2016-11-15T00:28:34Z</time> </trkpt> <trkpt lat="12.8934770" lon="77.5924030"> <ele>922.6</ele> <time>2016-11-15T00:28:35Z</time> </trkpt> <trkpt lat="12.8935140" lon="77.5923900"> <ele>922.7</ele> <time>2016-11-15T00:28:37Z</time> </trkpt> <trkpt lat="12.8935430" lon="77.5923720"> <ele>922.8</ele> <time>2016-11-15T00:28:39Z</time> </trkpt> <trkpt lat="12.8935830" lon="77.5923790"> <ele>922.9</ele> <time>2016-11-15T00:28:41Z</time> </trkpt> <trkpt lat="12.8936310" lon="77.5923790"> <ele>923.0</ele> <time>2016-11-15T00:28:43Z</time> </trkpt> <trkpt lat="12.8936760" lon="77.5923830"> <ele>923.1</ele> <time>2016-11-15T00:28:45Z</time> </trkpt> <trkpt lat="12.8937080" lon="77.5923730"> <ele>923.2</ele> <time>2016-11-15T00:28:47Z</time> </trkpt> <trkpt lat="12.8937520" lon="77.5923680"> <ele>923.3</ele> <time>2016-11-15T00:28:49Z</time> </trkpt> <trkpt lat="12.8938000" lon="77.5923730"> <ele>923.2</ele> <time>2016-11-15T00:28:51Z</time> </trkpt> <trkpt lat="12.8938440" lon="77.5923760"> <ele>923.2</ele> <time>2016-11-15T00:28:53Z</time> </trkpt> <trkpt lat="12.8938870" lon="77.5923770"> <ele>923.1</ele> <time>2016-11-15T00:28:55Z</time> </trkpt> <trkpt lat="12.8939160" lon="77.5923790"> <ele>923.0</ele> <time>2016-11-15T00:28:56Z</time> </trkpt> <trkpt lat="12.8939480" lon="77.5923790"> <ele>923.0</ele> <time>2016-11-15T00:28:57Z</time> </trkpt> <trkpt lat="12.8939810" lon="77.5923830"> <ele>922.9</ele> <time>2016-11-15T00:28:58Z</time> </trkpt> <trkpt lat="12.8940100" lon="77.5923870"> <ele>922.9</ele> <time>2016-11-15T00:28:59Z</time> </trkpt> <trkpt lat="12.8940640" lon="77.5923920"> <ele>922.8</ele> <time>2016-11-15T00:29:01Z</time> </trkpt> <trkpt lat="12.8941050" lon="77.5923860"> <ele>922.7</ele> <time>2016-11-15T00:29:03Z</time> </trkpt> <trkpt lat="12.8941460" lon="77.5923740"> <ele>922.7</ele> <time>2016-11-15T00:29:05Z</time> </trkpt> <trkpt lat="12.8941760" lon="77.5923750"> <ele>922.6</ele> <time>2016-11-15T00:29:06Z</time> </trkpt> <trkpt lat="12.8942030" lon="77.5923880"> <ele>922.6</ele> <time>2016-11-15T00:29:07Z</time> </trkpt> <trkpt lat="12.8942320" lon="77.5923970"> <ele>922.5</ele> <time>2016-11-15T00:29:08Z</time> </trkpt> <trkpt lat="12.8942750" lon="77.5923960"> <ele>922.5</ele> <time>2016-11-15T00:29:10Z</time> </trkpt> <trkpt lat="12.8943070" lon="77.5923920"> <ele>922.4</ele> <time>2016-11-15T00:29:11Z</time> </trkpt> <trkpt lat="12.8943340" lon="77.5923920"> <ele>922.4</ele> <time>2016-11-15T00:29:12Z</time> </trkpt> <trkpt lat="12.8943900" lon="77.5923930"> <ele>922.3</ele> <time>2016-11-15T00:29:14Z</time> </trkpt> <trkpt lat="12.8944200" lon="77.5923980"> <ele>922.2</ele> <time>2016-11-15T00:29:15Z</time> </trkpt> <trkpt lat="12.8944730" lon="77.5923960"> <ele>922.2</ele> <time>2016-11-15T00:29:17Z</time> </trkpt> <trkpt lat="12.8945280" lon="77.5923900"> <ele>922.1</ele> <time>2016-11-15T00:29:19Z</time> </trkpt> <trkpt lat="12.8945600" lon="77.5923980"> <ele>922.0</ele> <time>2016-11-15T00:29:20Z</time> </trkpt> <trkpt lat="12.8945890" lon="77.5924040"> <ele>922.0</ele> <time>2016-11-15T00:29:21Z</time> </trkpt> <trkpt lat="12.8946250" lon="77.5924100"> <ele>921.8</ele> <time>2016-11-15T00:29:22Z</time> </trkpt> <trkpt lat="12.8946540" lon="77.5924140"> <ele>921.7</ele> <time>2016-11-15T00:29:23Z</time> </trkpt> <trkpt lat="12.8947080" lon="77.5924260"> <ele>921.6</ele> <time>2016-11-15T00:29:25Z</time> </trkpt> <trkpt lat="12.8947450" lon="77.5924350"> <ele>921.4</ele> <time>2016-11-15T00:29:26Z</time> </trkpt> <trkpt lat="12.8947820" lon="77.5924400"> <ele>921.3</ele> <time>2016-11-15T00:29:27Z</time> </trkpt> <trkpt lat="12.8948180" lon="77.5924450"> <ele>921.2</ele> <time>2016-11-15T00:29:28Z</time> </trkpt> <trkpt lat="12.8948450" lon="77.5924450"> <ele>921.1</ele> <time>2016-11-15T00:29:29Z</time> </trkpt> <trkpt lat="12.8949000" lon="77.5924330"> <ele>920.9</ele> <time>2016-11-15T00:29:31Z</time> </trkpt> <trkpt lat="12.8949310" lon="77.5924260"> <ele>920.7</ele> <time>2016-11-15T00:29:32Z</time> </trkpt> <trkpt lat="12.8949620" lon="77.5924230"> <ele>920.6</ele> <time>2016-11-15T00:29:33Z</time> </trkpt> <trkpt lat="12.8949960" lon="77.5924230"> <ele>920.5</ele> <time>2016-11-15T00:29:34Z</time> </trkpt> <trkpt lat="12.8950310" lon="77.5924290"> <ele>920.4</ele> <time>2016-11-15T00:29:35Z</time> </trkpt> <trkpt lat="12.8950590" lon="77.5924320"> <ele>920.3</ele> <time>2016-11-15T00:29:36Z</time> </trkpt> <trkpt lat="12.8950880" lon="77.5924290"> <ele>920.2</ele> <time>2016-11-15T00:29:37Z</time> </trkpt> <trkpt lat="12.8951190" lon="77.5924240"> <ele>920.1</ele> <time>2016-11-15T00:29:38Z</time> </trkpt> <trkpt lat="12.8951510" lon="77.5924240"> <ele>920.0</ele> <time>2016-11-15T00:29:39Z</time> </trkpt> <trkpt lat="12.8952080" lon="77.5924200"> <ele>919.8</ele> <time>2016-11-15T00:29:41Z</time> </trkpt> <trkpt lat="12.8952390" lon="77.5924180"> <ele>919.6</ele> <time>2016-11-15T00:29:42Z</time> </trkpt> <trkpt lat="12.8952680" lon="77.5924140"> <ele>919.5</ele> <time>2016-11-15T00:29:43Z</time> </trkpt> <trkpt lat="12.8952980" lon="77.5924120"> <ele>919.4</ele> <time>2016-11-15T00:29:44Z</time> </trkpt> <trkpt lat="12.8953340" lon="77.5924130"> <ele>919.3</ele> <time>2016-11-15T00:29:45Z</time> </trkpt> <trkpt lat="12.8953690" lon="77.5924130"> <ele>919.2</ele> <time>2016-11-15T00:29:46Z</time> </trkpt> <trkpt lat="12.8953990" lon="77.5924120"> <ele>919.1</ele> <time>2016-11-15T00:29:47Z</time> </trkpt> <trkpt lat="12.8954280" lon="77.5924100"> <ele>918.9</ele> <time>2016-11-15T00:29:48Z</time> </trkpt> <trkpt lat="12.8954590" lon="77.5924090"> <ele>918.8</ele> <time>2016-11-15T00:29:49Z</time> </trkpt> <trkpt lat="12.8955150" lon="77.5924020"> <ele>918.5</ele> <time>2016-11-15T00:29:51Z</time> </trkpt> <trkpt lat="12.8955460" lon="77.5924000"> <ele>918.3</ele> <time>2016-11-15T00:29:52Z</time> </trkpt> <trkpt lat="12.8955730" lon="77.5923990"> <ele>918.1</ele> <time>2016-11-15T00:29:53Z</time> </trkpt> <trkpt lat="12.8956270" lon="77.5923920"> <ele>917.8</ele> <time>2016-11-15T00:29:55Z</time> </trkpt> <trkpt lat="12.8956540" lon="77.5923910"> <ele>917.7</ele> <time>2016-11-15T00:29:56Z</time> </trkpt> <trkpt lat="12.8956850" lon="77.5923900"> <ele>917.5</ele> <time>2016-11-15T00:29:57Z</time> </trkpt> <trkpt lat="12.8957170" lon="77.5923890"> <ele>917.3</ele> <time>2016-11-15T00:29:58Z</time> </trkpt> <trkpt lat="12.8957660" lon="77.5923810"> <ele>917.1</ele> <time>2016-11-15T00:30:00Z</time> </trkpt> <trkpt lat="12.8958170" lon="77.5923780"> <ele>916.8</ele> <time>2016-11-15T00:30:02Z</time> </trkpt> <trkpt lat="12.8958680" lon="77.5923780"> <ele>916.5</ele> <time>2016-11-15T00:30:04Z</time> </trkpt> <trkpt lat="12.8959250" lon="77.5923780"> <ele>916.2</ele> <time>2016-11-15T00:30:06Z</time> </trkpt> <trkpt lat="12.8959540" lon="77.5923760"> <ele>916.0</ele> <time>2016-11-15T00:30:07Z</time> </trkpt> <trkpt lat="12.8959820" lon="77.5923720"> <ele>915.8</ele> <time>2016-11-15T00:30:08Z</time> </trkpt> <trkpt lat="12.8960120" lon="77.5923720"> <ele>915.7</ele> <time>2016-11-15T00:30:09Z</time> </trkpt> <trkpt lat="12.8960450" lon="77.5923710"> <ele>915.5</ele> <time>2016-11-15T00:30:10Z</time> </trkpt> <trkpt lat="12.8960790" lon="77.5923700"> <ele>915.3</ele> <time>2016-11-15T00:30:11Z</time> </trkpt> <trkpt lat="12.8961330" lon="77.5923660"> <ele>915.0</ele> <time>2016-11-15T00:30:13Z</time> </trkpt> <trkpt lat="12.8961600" lon="77.5923640"> <ele>914.8</ele> <time>2016-11-15T00:30:14Z</time> </trkpt> <trkpt lat="12.8961900" lon="77.5923680"> <ele>914.7</ele> <time>2016-11-15T00:30:15Z</time> </trkpt> <trkpt lat="12.8962200" lon="77.5923700"> <ele>914.5</ele> <time>2016-11-15T00:30:16Z</time> </trkpt> <trkpt lat="12.8962530" lon="77.5923690"> <ele>914.3</ele> <time>2016-11-15T00:30:17Z</time> </trkpt> <trkpt lat="12.8962940" lon="77.5923710"> <ele>914.2</ele> <time>2016-11-15T00:30:19Z</time> </trkpt> <trkpt lat="12.8963430" lon="77.5923620"> <ele>914.0</ele> <time>2016-11-15T00:30:21Z</time> </trkpt> <trkpt lat="12.8963720" lon="77.5923560"> <ele>913.8</ele> <time>2016-11-15T00:30:22Z</time> </trkpt> <trkpt lat="12.8964030" lon="77.5923500"> <ele>913.7</ele> <time>2016-11-15T00:30:23Z</time> </trkpt> <trkpt lat="12.8964330" lon="77.5923460"> <ele>913.6</ele> <time>2016-11-15T00:30:24Z</time> </trkpt> <trkpt lat="12.8964670" lon="77.5923440"> <ele>913.5</ele> <time>2016-11-15T00:30:25Z</time> </trkpt> <trkpt lat="12.8965060" lon="77.5923420"> <ele>913.3</ele> <time>2016-11-15T00:30:26Z</time> </trkpt> <trkpt lat="12.8965430" lon="77.5923400"> <ele>913.1</ele> <time>2016-11-15T00:30:27Z</time> </trkpt> <trkpt lat="12.8965860" lon="77.5923370"> <ele>913.0</ele> <time>2016-11-15T00:30:28Z</time> </trkpt> <trkpt lat="12.8966170" lon="77.5923370"> <ele>912.8</ele> <time>2016-11-15T00:30:29Z</time> </trkpt> <trkpt lat="12.8966460" lon="77.5923370"> <ele>912.7</ele> <time>2016-11-15T00:30:30Z</time> </trkpt> <trkpt lat="12.8966740" lon="77.5923380"> <ele>912.6</ele> <time>2016-11-15T00:30:31Z</time> </trkpt> <trkpt lat="12.8967090" lon="77.5923390"> <ele>912.5</ele> <time>2016-11-15T00:30:32Z</time> </trkpt> <trkpt lat="12.8967390" lon="77.5923370"> <ele>912.4</ele> <time>2016-11-15T00:30:33Z</time> </trkpt> <trkpt lat="12.8967840" lon="77.5923380"> <ele>912.2</ele> <time>2016-11-15T00:30:35Z</time> </trkpt> <trkpt lat="12.8968410" lon="77.5923310"> <ele>912.0</ele> <time>2016-11-15T00:30:37Z</time> </trkpt> <trkpt lat="12.8968740" lon="77.5923280"> <ele>911.8</ele> <time>2016-11-15T00:30:38Z</time> </trkpt> <trkpt lat="12.8969280" lon="77.5923200"> <ele>911.6</ele> <time>2016-11-15T00:30:40Z</time> </trkpt> <trkpt lat="12.8969540" lon="77.5923140"> <ele>911.5</ele> <time>2016-11-15T00:30:41Z</time> </trkpt> <trkpt lat="12.8969950" lon="77.5923030"> <ele>911.3</ele> <time>2016-11-15T00:30:43Z</time> </trkpt> <trkpt lat="12.8970350" lon="77.5922710"> <ele>911.2</ele> <time>2016-11-15T00:30:45Z</time> </trkpt> <trkpt lat="12.8970540" lon="77.5922280"> <ele>911.1</ele> <time>2016-11-15T00:30:47Z</time> </trkpt> <trkpt lat="12.8970590" lon="77.5921970"> <ele>911.1</ele> <time>2016-11-15T00:30:48Z</time> </trkpt> <trkpt lat="12.8970670" lon="77.5921490"> <ele>911.1</ele> <time>2016-11-15T00:30:50Z</time> </trkpt> <trkpt lat="12.8970860" lon="77.5921090"> <ele>911.0</ele> <time>2016-11-15T00:30:51Z</time> </trkpt> <trkpt lat="12.8970900" lon="77.5920790"> <ele>911.0</ele> <time>2016-11-15T00:30:52Z</time> </trkpt> <trkpt lat="12.8971090" lon="77.5920170"> <ele>911.0</ele> <time>2016-11-15T00:30:54Z</time> </trkpt> <trkpt lat="12.8971190" lon="77.5919660"> <ele>911.1</ele> <time>2016-11-15T00:30:56Z</time> </trkpt> <trkpt lat="12.8971280" lon="77.5919200"> <ele>911.1</ele> <time>2016-11-15T00:30:58Z</time> </trkpt> <trkpt lat="12.8971380" lon="77.5918890"> <ele>911.1</ele> <time>2016-11-15T00:30:59Z</time> </trkpt> <trkpt lat="12.8971530" lon="77.5918360"> <ele>911.1</ele> <time>2016-11-15T00:31:01Z</time> </trkpt> <trkpt lat="12.8971580" lon="77.5918080"> <ele>911.2</ele> <time>2016-11-15T00:31:02Z</time> </trkpt> <trkpt lat="12.8971620" lon="77.5917810"> <ele>911.2</ele> <time>2016-11-15T00:31:03Z</time> </trkpt> <trkpt lat="12.8971700" lon="77.5917380"> <ele>911.2</ele> <time>2016-11-15T00:31:05Z</time> </trkpt> <trkpt lat="12.8971810" lon="77.5917030"> <ele>911.2</ele> <time>2016-11-15T00:31:07Z</time> </trkpt> <trkpt lat="12.8972090" lon="77.5916680"> <ele>911.2</ele> <time>2016-11-15T00:31:09Z</time> </trkpt> <trkpt lat="12.8972520" lon="77.5916530"> <ele>911.1</ele> <time>2016-11-15T00:31:11Z</time> </trkpt> <trkpt lat="12.8972990" lon="77.5916630"> <ele>911.0</ele> <time>2016-11-15T00:31:13Z</time> </trkpt> <trkpt lat="12.8973470" lon="77.5916770"> <ele>910.9</ele> <time>2016-11-15T00:31:15Z</time> </trkpt> <trkpt lat="12.8973860" lon="77.5916910"> <ele>910.7</ele> <time>2016-11-15T00:31:17Z</time> </trkpt> <trkpt lat="12.8974130" lon="77.5916760"> <ele>910.7</ele> <time>2016-11-15T00:31:22Z</time> </trkpt> <trkpt lat="12.8973770" lon="77.5916710"> <ele>910.8</ele> <time>2016-11-15T00:31:24Z</time> </trkpt> <trkpt lat="12.8973330" lon="77.5916520"> <ele>910.9</ele> <time>2016-11-15T00:31:26Z</time> </trkpt> <trkpt lat="12.8972950" lon="77.5916480"> <ele>911.0</ele> <time>2016-11-15T00:31:28Z</time> </trkpt> <trkpt lat="12.8972660" lon="77.5916550"> <ele>911.1</ele> <time>2016-11-15T00:31:31Z</time> </trkpt> <trkpt lat="12.8972600" lon="77.5916850"> <ele>911.1</ele> <time>2016-11-15T00:31:33Z</time> </trkpt> <trkpt lat="12.8972500" lon="77.5917310"> <ele>911.0</ele> <time>2016-11-15T00:31:35Z</time> </trkpt> <trkpt lat="12.8972470" lon="77.5917650"> <ele>911.0</ele> <time>2016-11-15T00:31:36Z</time> </trkpt> <trkpt lat="12.8972410" lon="77.5918010"> <ele>911.0</ele> <time>2016-11-15T00:31:37Z</time> </trkpt> <trkpt lat="12.8972360" lon="77.5918350"> <ele>910.9</ele> <time>2016-11-15T00:31:38Z</time> </trkpt> <trkpt lat="12.8972310" lon="77.5918710"> <ele>910.9</ele> <time>2016-11-15T00:31:39Z</time> </trkpt> <trkpt lat="12.8972250" lon="77.5919240"> <ele>910.9</ele> <time>2016-11-15T00:31:41Z</time> </trkpt> <trkpt lat="12.8972220" lon="77.5919560"> <ele>910.8</ele> <time>2016-11-15T00:31:42Z</time> </trkpt> <trkpt lat="12.8972200" lon="77.5919850"> <ele>910.8</ele> <time>2016-11-15T00:31:43Z</time> </trkpt> <trkpt lat="12.8972210" lon="77.5920300"> <ele>910.7</ele> <time>2016-11-15T00:31:45Z</time> </trkpt> <trkpt lat="12.8972150" lon="77.5920870"> <ele>910.7</ele> <time>2016-11-15T00:31:47Z</time> </trkpt> <trkpt lat="12.8972100" lon="77.5921180"> <ele>910.7</ele> <time>2016-11-15T00:31:48Z</time> </trkpt> <trkpt lat="12.8972050" lon="77.5921460"> <ele>910.7</ele> <time>2016-11-15T00:31:49Z</time> </trkpt> <trkpt lat="12.8972030" lon="77.5921760"> <ele>910.7</ele> <time>2016-11-15T00:31:50Z</time> </trkpt> <trkpt lat="12.8971990" lon="77.5922060"> <ele>910.7</ele> <time>2016-11-15T00:31:51Z</time> </trkpt> <trkpt lat="12.8972010" lon="77.5922420"> <ele>910.7</ele> <time>2016-11-15T00:31:53Z</time> </trkpt> <trkpt lat="12.8971900" lon="77.5922690"> <ele>910.8</ele> <time>2016-11-15T00:31:55Z</time> </trkpt> <trkpt lat="12.8971630" lon="77.5922800"> <ele>910.8</ele> <time>2016-11-15T00:31:57Z</time> </trkpt> <trkpt lat="12.8971180" lon="77.5922810"> <ele>910.9</ele> <time>2016-11-15T00:31:59Z</time> </trkpt> <trkpt lat="12.8970660" lon="77.5922790"> <ele>911.1</ele> <time>2016-11-15T00:32:01Z</time> </trkpt> <trkpt lat="12.8970170" lon="77.5922680"> <ele>911.3</ele> <time>2016-11-15T00:32:03Z</time> </trkpt> <trkpt lat="12.8969680" lon="77.5922590"> <ele>911.4</ele> <time>2016-11-15T00:32:05Z</time> </trkpt> <trkpt lat="12.8969110" lon="77.5922500"> <ele>911.7</ele> <time>2016-11-15T00:32:07Z</time> </trkpt> <trkpt lat="12.8968830" lon="77.5922460"> <ele>911.8</ele> <time>2016-11-15T00:32:08Z</time> </trkpt> <trkpt lat="12.8968360" lon="77.5922400"> <ele>911.9</ele> <time>2016-11-15T00:32:10Z</time> </trkpt> <trkpt lat="12.8968070" lon="77.5922400"> <ele>912.1</ele> <time>2016-11-15T00:32:11Z</time> </trkpt> <trkpt lat="12.8967780" lon="77.5922430"> <ele>912.2</ele> <time>2016-11-15T00:32:12Z</time> </trkpt> <trkpt lat="12.8967470" lon="77.5922440"> <ele>912.3</ele> <time>2016-11-15T00:32:13Z</time> </trkpt> <trkpt lat="12.8967180" lon="77.5922470"> <ele>912.4</ele> <time>2016-11-15T00:32:14Z</time> </trkpt> <trkpt lat="12.8966710" lon="77.5922530"> <ele>912.6</ele> <time>2016-11-15T00:32:16Z</time> </trkpt> <trkpt lat="12.8966170" lon="77.5922520"> <ele>912.8</ele> <time>2016-11-15T00:32:18Z</time> </trkpt> <trkpt lat="12.8965680" lon="77.5922520"> <ele>913.0</ele> <time>2016-11-15T00:32:20Z</time> </trkpt> <trkpt lat="12.8965210" lon="77.5922550"> <ele>913.2</ele> <time>2016-11-15T00:32:22Z</time> </trkpt> <trkpt lat="12.8964790" lon="77.5922570"> <ele>913.3</ele> <time>2016-11-15T00:32:24Z</time> </trkpt> <trkpt lat="12.8964370" lon="77.5922600"> <ele>913.5</ele> <time>2016-11-15T00:32:26Z</time> </trkpt> <trkpt lat="12.8963900" lon="77.5922560"> <ele>913.7</ele> <time>2016-11-15T00:32:28Z</time> </trkpt> <trkpt lat="12.8963500" lon="77.5922440"> <ele>913.8</ele> <time>2016-11-15T00:32:30Z</time> </trkpt> <trkpt lat="12.8963020" lon="77.5922460"> <ele>914.0</ele> <time>2016-11-15T00:32:32Z</time> </trkpt> <trkpt lat="12.8962740" lon="77.5922440"> <ele>914.1</ele> <time>2016-11-15T00:32:33Z</time> </trkpt> <trkpt lat="12.8962430" lon="77.5922410"> <ele>914.2</ele> <time>2016-11-15T00:32:34Z</time> </trkpt> <trkpt lat="12.8962150" lon="77.5922380"> <ele>914.4</ele> <time>2016-11-15T00:32:35Z</time> </trkpt> <trkpt lat="12.8961650" lon="77.5922380"> <ele>914.7</ele> <time>2016-11-15T00:32:37Z</time> </trkpt> <trkpt lat="12.8961200" lon="77.5922450"> <ele>914.9</ele> <time>2016-11-15T00:32:39Z</time> </trkpt> <trkpt lat="12.8960670" lon="77.5922510"> <ele>915.3</ele> <time>2016-11-15T00:32:41Z</time> </trkpt> <trkpt lat="12.8960400" lon="77.5922510"> <ele>915.4</ele> <time>2016-11-15T00:32:42Z</time> </trkpt> <trkpt lat="12.8960100" lon="77.5922510"> <ele>915.6</ele> <time>2016-11-15T00:32:43Z</time> </trkpt> <trkpt lat="12.8959610" lon="77.5922520"> <ele>915.9</ele> <time>2016-11-15T00:32:45Z</time> </trkpt> <trkpt lat="12.8959090" lon="77.5922510"> <ele>916.2</ele> <time>2016-11-15T00:32:47Z</time> </trkpt> <trkpt lat="12.8958660" lon="77.5922480"> <ele>916.4</ele> <time>2016-11-15T00:32:49Z</time> </trkpt> <trkpt lat="12.8958180" lon="77.5922420"> <ele>916.7</ele> <time>2016-11-15T00:32:51Z</time> </trkpt> <trkpt lat="12.8957740" lon="77.5922430"> <ele>916.9</ele> <time>2016-11-15T00:32:53Z</time> </trkpt> <trkpt lat="12.8957450" lon="77.5922450"> <ele>917.1</ele> <time>2016-11-15T00:32:54Z</time> </trkpt> <trkpt lat="12.8957150" lon="77.5922460"> <ele>917.3</ele> <time>2016-11-15T00:32:55Z</time> </trkpt> <trkpt lat="12.8956880" lon="77.5922480"> <ele>917.4</ele> <time>2016-11-15T00:32:56Z</time> </trkpt> <trkpt lat="12.8956390" lon="77.5922540"> <ele>917.7</ele> <time>2016-11-15T00:32:58Z</time> </trkpt> <trkpt lat="12.8956120" lon="77.5922520"> <ele>917.9</ele> <time>2016-11-15T00:32:59Z</time> </trkpt> <trkpt lat="12.8955680" lon="77.5922500"> <ele>918.1</ele> <time>2016-11-15T00:33:01Z</time> </trkpt> <trkpt lat="12.8955200" lon="77.5922520"> <ele>918.4</ele> <time>2016-11-15T00:33:03Z</time> </trkpt> <trkpt lat="12.8954700" lon="77.5922420"> <ele>918.7</ele> <time>2016-11-15T00:33:05Z</time> </trkpt> <trkpt lat="12.8954190" lon="77.5922360"> <ele>919.0</ele> <time>2016-11-15T00:33:07Z</time> </trkpt> <trkpt lat="12.8953700" lon="77.5922260"> <ele>919.2</ele> <time>2016-11-15T00:33:09Z</time> </trkpt> <trkpt lat="12.8953420" lon="77.5922250"> <ele>919.3</ele> <time>2016-11-15T00:33:10Z</time> </trkpt> <trkpt lat="12.8953130" lon="77.5922240"> <ele>919.4</ele> <time>2016-11-15T00:33:11Z</time> </trkpt> <trkpt lat="12.8952670" lon="77.5922260"> <ele>919.5</ele> <time>2016-11-15T00:33:13Z</time> </trkpt> <trkpt lat="12.8952220" lon="77.5922290"> <ele>919.7</ele> <time>2016-11-15T00:33:15Z</time> </trkpt> <trkpt lat="12.8951720" lon="77.5922380"> <ele>919.9</ele> <time>2016-11-15T00:33:17Z</time> </trkpt> <trkpt lat="12.8951200" lon="77.5922440"> <ele>920.1</ele> <time>2016-11-15T00:33:19Z</time> </trkpt> <trkpt lat="12.8950720" lon="77.5922540"> <ele>920.2</ele> <time>2016-11-15T00:33:21Z</time> </trkpt> <trkpt lat="12.8950230" lon="77.5922660"> <ele>920.4</ele> <time>2016-11-15T00:33:23Z</time> </trkpt> <trkpt lat="12.8949840" lon="77.5922710"> <ele>920.6</ele> <time>2016-11-15T00:33:25Z</time> </trkpt> <trkpt lat="12.8949520" lon="77.5922670"> <ele>920.7</ele> <time>2016-11-15T00:33:26Z</time> </trkpt> <trkpt lat="12.8949070" lon="77.5922580"> <ele>920.8</ele> <time>2016-11-15T00:33:28Z</time> </trkpt> <trkpt lat="12.8948650" lon="77.5922660"> <ele>921.0</ele> <time>2016-11-15T00:33:30Z</time> </trkpt> <trkpt lat="12.8948060" lon="77.5922650"> <ele>921.2</ele> <time>2016-11-15T00:33:32Z</time> </trkpt> <trkpt lat="12.8947600" lon="77.5922580"> <ele>921.4</ele> <time>2016-11-15T00:33:34Z</time> </trkpt> <trkpt lat="12.8947140" lon="77.5922600"> <ele>921.5</ele> <time>2016-11-15T00:33:36Z</time> </trkpt> <trkpt lat="12.8946660" lon="77.5922680"> <ele>921.7</ele> <time>2016-11-15T00:33:38Z</time> </trkpt> <trkpt lat="12.8946370" lon="77.5922680"> <ele>921.8</ele> <time>2016-11-15T00:33:39Z</time> </trkpt> <trkpt lat="12.8945870" lon="77.5922590"> <ele>922.0</ele> <time>2016-11-15T00:33:41Z</time> </trkpt> <trkpt lat="12.8945400" lon="77.5922440"> <ele>922.1</ele> <time>2016-11-15T00:33:43Z</time> </trkpt> <trkpt lat="12.8945070" lon="77.5922520"> <ele>922.1</ele> <time>2016-11-15T00:33:45Z</time> </trkpt> <trkpt lat="12.8944600" lon="77.5922610"> <ele>922.2</ele> <time>2016-11-15T00:33:47Z</time> </trkpt> <trkpt lat="12.8944120" lon="77.5922700"> <ele>922.3</ele> <time>2016-11-15T00:33:49Z</time> </trkpt> <trkpt lat="12.8943630" lon="77.5922730"> <ele>922.4</ele> <time>2016-11-15T00:33:51Z</time> </trkpt> <trkpt lat="12.8943330" lon="77.5922780"> <ele>922.5</ele> <time>2016-11-15T00:33:53Z</time> </trkpt> <trkpt lat="12.8942870" lon="77.5922770"> <ele>922.5</ele> <time>2016-11-15T00:33:55Z</time> </trkpt> <trkpt lat="12.8942400" lon="77.5922820"> <ele>922.6</ele> <time>2016-11-15T00:33:57Z</time> </trkpt> <trkpt lat="12.8942110" lon="77.5922870"> <ele>922.7</ele> <time>2016-11-15T00:33:59Z</time> </trkpt> <trkpt lat="12.8941610" lon="77.5922860"> <ele>922.8</ele> <time>2016-11-15T00:34:01Z</time> </trkpt> <trkpt lat="12.8941270" lon="77.5922990"> <ele>922.8</ele> <time>2016-11-15T00:34:03Z</time> </trkpt> <trkpt lat="12.8940880" lon="77.5923110"> <ele>922.9</ele> <time>2016-11-15T00:34:05Z</time> </trkpt> <trkpt lat="12.8940460" lon="77.5923140"> <ele>922.9</ele> <time>2016-11-15T00:34:07Z</time> </trkpt> <trkpt lat="12.8939950" lon="77.5923100"> <ele>923.0</ele> <time>2016-11-15T00:34:09Z</time> </trkpt> <trkpt lat="12.8939680" lon="77.5923050"> <ele>923.1</ele> <time>2016-11-15T00:34:10Z</time> </trkpt> <trkpt lat="12.8939250" lon="77.5923070"> <ele>923.2</ele> <time>2016-11-15T00:34:12Z</time> </trkpt> <trkpt lat="12.8938760" lon="77.5923070"> <ele>923.2</ele> <time>2016-11-15T00:34:14Z</time> </trkpt> <trkpt lat="12.8938370" lon="77.5922990"> <ele>923.3</ele> <time>2016-11-15T00:34:16Z</time> </trkpt> <trkpt lat="12.8937870" lon="77.5922900"> <ele>923.4</ele> <time>2016-11-15T00:34:18Z</time> </trkpt> <trkpt lat="12.8937450" lon="77.5922830"> <ele>923.5</ele> <time>2016-11-15T00:34:20Z</time> </trkpt> <trkpt lat="12.8936910" lon="77.5922800"> <ele>923.4</ele> <time>2016-11-15T00:34:22Z</time> </trkpt> <trkpt lat="12.8936400" lon="77.5922800"> <ele>923.2</ele> <time>2016-11-15T00:34:24Z</time> </trkpt> <trkpt lat="12.8935940" lon="77.5922960"> <ele>923.1</ele> <time>2016-11-15T00:34:26Z</time> </trkpt> <trkpt lat="12.8935630" lon="77.5923250"> <ele>922.9</ele> <time>2016-11-15T00:34:28Z</time> </trkpt> <trkpt lat="12.8935160" lon="77.5923290"> <ele>922.8</ele> <time>2016-11-15T00:34:30Z</time> </trkpt> <trkpt lat="12.8934710" lon="77.5923260"> <ele>922.7</ele> <time>2016-11-15T00:34:32Z</time> </trkpt> <trkpt lat="12.8934310" lon="77.5923210"> <ele>922.6</ele> <time>2016-11-15T00:34:34Z</time> </trkpt> <trkpt lat="12.8933780" lon="77.5923200"> <ele>922.5</ele> <time>2016-11-15T00:34:36Z</time> </trkpt> <trkpt lat="12.8933450" lon="77.5923190"> <ele>922.4</ele> <time>2016-11-15T00:34:37Z</time> </trkpt> <trkpt lat="12.8932950" lon="77.5923230"> <ele>922.3</ele> <time>2016-11-15T00:34:39Z</time> </trkpt> <trkpt lat="12.8932640" lon="77.5923240"> <ele>922.2</ele> <time>2016-11-15T00:34:40Z</time> </trkpt> <trkpt lat="12.8932190" lon="77.5923230"> <ele>922.1</ele> <time>2016-11-15T00:34:42Z</time> </trkpt> <trkpt lat="12.8931750" lon="77.5923200"> <ele>921.9</ele> <time>2016-11-15T00:34:44Z</time> </trkpt> <trkpt lat="12.8931300" lon="77.5923150"> <ele>921.8</ele> <time>2016-11-15T00:34:46Z</time> </trkpt> <trkpt lat="12.8930790" lon="77.5923100"> <ele>921.7</ele> <time>2016-11-15T00:34:48Z</time> </trkpt> <trkpt lat="12.8930300" lon="77.5923080"> <ele>921.6</ele> <time>2016-11-15T00:34:50Z</time> </trkpt> <trkpt lat="12.8929770" lon="77.5923140"> <ele>921.4</ele> <time>2016-11-15T00:34:52Z</time> </trkpt> <trkpt lat="12.8929280" lon="77.5923230"> <ele>921.3</ele> <time>2016-11-15T00:34:54Z</time> </trkpt> <trkpt lat="12.8929000" lon="77.5923300"> <ele>921.3</ele> <time>2016-11-15T00:34:55Z</time> </trkpt> <trkpt lat="12.8928720" lon="77.5923320"> <ele>921.4</ele> <time>2016-11-15T00:34:56Z</time> </trkpt> <trkpt lat="12.8928290" lon="77.5923470"> <ele>921.4</ele> <time>2016-11-15T00:34:58Z</time> </trkpt> <trkpt lat="12.8927900" lon="77.5923490"> <ele>921.5</ele> <time>2016-11-15T00:35:00Z</time> </trkpt> <trkpt lat="12.8927620" lon="77.5923490"> <ele>921.5</ele> <time>2016-11-15T00:35:01Z</time> </trkpt> <trkpt lat="12.8927070" lon="77.5923410"> <ele>921.6</ele> <time>2016-11-15T00:35:03Z</time> </trkpt> <trkpt lat="12.8926560" lon="77.5923410"> <ele>921.6</ele> <time>2016-11-15T00:35:05Z</time> </trkpt> <trkpt lat="12.8926170" lon="77.5923400"> <ele>921.7</ele> <time>2016-11-15T00:35:07Z</time> </trkpt> <trkpt lat="12.8925810" lon="77.5923350"> <ele>921.7</ele> <time>2016-11-15T00:35:09Z</time> </trkpt> <trkpt lat="12.8925370" lon="77.5923170"> <ele>921.8</ele> <time>2016-11-15T00:35:11Z</time> </trkpt> <trkpt lat="12.8924980" lon="77.5923090"> <ele>921.9</ele> <time>2016-11-15T00:35:13Z</time> </trkpt> <trkpt lat="12.8924550" lon="77.5923060"> <ele>921.9</ele> <time>2016-11-15T00:35:15Z</time> </trkpt> <trkpt lat="12.8924140" lon="77.5923090"> <ele>922.0</ele> <time>2016-11-15T00:35:17Z</time> </trkpt> <trkpt lat="12.8923850" lon="77.5923100"> <ele>922.0</ele> <time>2016-11-15T00:35:18Z</time> </trkpt> <trkpt lat="12.8923500" lon="77.5923170"> <ele>922.1</ele> <time>2016-11-15T00:35:21Z</time> </trkpt> <trkpt lat="12.8923020" lon="77.5923060"> <ele>922.2</ele> <time>2016-11-15T00:35:23Z</time> </trkpt> <trkpt lat="12.8922500" lon="77.5923020"> <ele>922.2</ele> <time>2016-11-15T00:35:25Z</time> </trkpt> <trkpt lat="12.8922060" lon="77.5923090"> <ele>922.3</ele> <time>2016-11-15T00:35:27Z</time> </trkpt> <trkpt lat="12.8921670" lon="77.5923200"> <ele>922.3</ele> <time>2016-11-15T00:35:29Z</time> </trkpt> <trkpt lat="12.8921370" lon="77.5923230"> <ele>922.4</ele> <time>2016-11-15T00:35:30Z</time> </trkpt> <trkpt lat="12.8920820" lon="77.5923170"> <ele>922.4</ele> <time>2016-11-15T00:35:32Z</time> </trkpt> <trkpt lat="12.8920510" lon="77.5923100"> <ele>922.4</ele> <time>2016-11-15T00:35:33Z</time> </trkpt> <trkpt lat="12.8920210" lon="77.5923050"> <ele>922.4</ele> <time>2016-11-15T00:35:34Z</time> </trkpt> <trkpt lat="12.8919940" lon="77.5923010"> <ele>922.4</ele> <time>2016-11-15T00:35:35Z</time> </trkpt> <trkpt lat="12.8919540" lon="77.5922990"> <ele>922.4</ele> <time>2016-11-15T00:35:37Z</time> </trkpt> <trkpt lat="12.8918980" lon="77.5922880"> <ele>922.3</ele> <time>2016-11-15T00:35:39Z</time> </trkpt> <trkpt lat="12.8918680" lon="77.5922800"> <ele>922.3</ele> <time>2016-11-15T00:35:40Z</time> </trkpt> <trkpt lat="12.8918350" lon="77.5922760"> <ele>922.3</ele> <time>2016-11-15T00:35:41Z</time> </trkpt> <trkpt lat="12.8918010" lon="77.5922710"> <ele>922.3</ele> <time>2016-11-15T00:35:42Z</time> </trkpt> <trkpt lat="12.8917470" lon="77.5922770"> <ele>922.2</ele> <time>2016-11-15T00:35:44Z</time> </trkpt> <trkpt lat="12.8917160" lon="77.5922720"> <ele>922.2</ele> <time>2016-11-15T00:35:45Z</time> </trkpt> <trkpt lat="12.8916670" lon="77.5922640"> <ele>922.1</ele> <time>2016-11-15T00:35:47Z</time> </trkpt> <trkpt lat="12.8916350" lon="77.5922600"> <ele>922.1</ele> <time>2016-11-15T00:35:49Z</time> </trkpt> <trkpt lat="12.8915960" lon="77.5922470"> <ele>922.0</ele> <time>2016-11-15T00:35:51Z</time> </trkpt> <trkpt lat="12.8916130" lon="77.5922780"> <ele>922.1</ele> <time>2016-11-15T00:35:55Z</time> </trkpt> <trkpt lat="12.8916470" lon="77.5922860"> <ele>922.1</ele> <time>2016-11-15T00:35:57Z</time> </trkpt> <trkpt lat="12.8916850" lon="77.5923040"> <ele>922.1</ele> <time>2016-11-15T00:35:59Z</time> </trkpt> <trkpt lat="12.8917210" lon="77.5923260"> <ele>922.2</ele> <time>2016-11-15T00:36:01Z</time> </trkpt> <trkpt lat="12.8917540" lon="77.5923420"> <ele>922.2</ele> <time>2016-11-15T00:36:03Z</time> </trkpt> <trkpt lat="12.8917940" lon="77.5923520"> <ele>922.2</ele> <time>2016-11-15T00:36:05Z</time> </trkpt> <trkpt lat="12.8918360" lon="77.5923620"> <ele>922.2</ele> <time>2016-11-15T00:36:07Z</time> </trkpt> <trkpt lat="12.8918660" lon="77.5923660"> <ele>922.2</ele> <time>2016-11-15T00:36:09Z</time> </trkpt> <trkpt lat="12.8918970" lon="77.5923710"> <ele>922.2</ele> <time>2016-11-15T00:36:11Z</time> </trkpt> <trkpt lat="12.8919430" lon="77.5923730"> <ele>922.3</ele> <time>2016-11-15T00:36:13Z</time> </trkpt> <trkpt lat="12.8919930" lon="77.5923820"> <ele>922.3</ele> <time>2016-11-15T00:36:15Z</time> </trkpt> <trkpt lat="12.8920370" lon="77.5923920"> <ele>922.3</ele> <time>2016-11-15T00:36:17Z</time> </trkpt> <trkpt lat="12.8920730" lon="77.5924020"> <ele>922.2</ele> <time>2016-11-15T00:36:19Z</time> </trkpt> <trkpt lat="12.8921050" lon="77.5924130"> <ele>922.2</ele> <time>2016-11-15T00:36:21Z</time> </trkpt> <trkpt lat="12.8921480" lon="77.5924230"> <ele>922.1</ele> <time>2016-11-15T00:36:23Z</time> </trkpt> <trkpt lat="12.8921770" lon="77.5924230"> <ele>922.1</ele> <time>2016-11-15T00:36:24Z</time> </trkpt> <trkpt lat="12.8922060" lon="77.5924180"> <ele>922.1</ele> <time>2016-11-15T00:36:25Z</time> </trkpt> <trkpt lat="12.8922510" lon="77.5924160"> <ele>922.0</ele> <time>2016-11-15T00:36:27Z</time> </trkpt> <trkpt lat="12.8922930" lon="77.5924140"> <ele>922.0</ele> <time>2016-11-15T00:36:29Z</time> </trkpt> <trkpt lat="12.8923250" lon="77.5924130"> <ele>922.0</ele> <time>2016-11-15T00:36:31Z</time> </trkpt> <trkpt lat="12.8923760" lon="77.5924240"> <ele>921.9</ele> <time>2016-11-15T00:36:33Z</time> </trkpt> <trkpt lat="12.8924120" lon="77.5924270"> <ele>921.9</ele> <time>2016-11-15T00:36:34Z</time> </trkpt> <trkpt lat="12.8924420" lon="77.5924290"> <ele>921.8</ele> <time>2016-11-15T00:36:35Z</time> </trkpt> <trkpt lat="12.8924720" lon="77.5924290"> <ele>921.8</ele> <time>2016-11-15T00:36:36Z</time> </trkpt> <trkpt lat="12.8925200" lon="77.5924260"> <ele>921.8</ele> <time>2016-11-15T00:36:38Z</time> </trkpt> <trkpt lat="12.8925740" lon="77.5924290"> <ele>921.7</ele> <time>2016-11-15T00:36:40Z</time> </trkpt> <trkpt lat="12.8926050" lon="77.5924330"> <ele>921.7</ele> <time>2016-11-15T00:36:41Z</time> </trkpt> <trkpt lat="12.8926580" lon="77.5924310"> <ele>921.6</ele> <time>2016-11-15T00:36:43Z</time> </trkpt> <trkpt lat="12.8927130" lon="77.5924300"> <ele>921.6</ele> <time>2016-11-15T00:36:45Z</time> </trkpt> <trkpt lat="12.8927450" lon="77.5924300"> <ele>921.6</ele> <time>2016-11-15T00:36:46Z</time> </trkpt> <trkpt lat="12.8927770" lon="77.5924270"> <ele>921.5</ele> <time>2016-11-15T00:36:47Z</time> </trkpt> <trkpt lat="12.8928130" lon="77.5924290"> <ele>921.5</ele> <time>2016-11-15T00:36:48Z</time> </trkpt> <trkpt lat="12.8928500" lon="77.5924300"> <ele>921.5</ele> <time>2016-11-15T00:36:49Z</time> </trkpt> <trkpt lat="12.8928880" lon="77.5924320"> <ele>921.4</ele> <time>2016-11-15T00:36:50Z</time> </trkpt> <trkpt lat="12.8929180" lon="77.5924300"> <ele>921.4</ele> <time>2016-11-15T00:36:51Z</time> </trkpt> <trkpt lat="12.8929520" lon="77.5924280"> <ele>921.5</ele> <time>2016-11-15T00:36:52Z</time> </trkpt> <trkpt lat="12.8930010" lon="77.5924210"> <ele>921.6</ele> <time>2016-11-15T00:36:54Z</time> </trkpt> <trkpt lat="12.8930480" lon="77.5924160"> <ele>921.7</ele> <time>2016-11-15T00:36:56Z</time> </trkpt> <trkpt lat="12.8930910" lon="77.5924150"> <ele>921.8</ele> <time>2016-11-15T00:36:58Z</time> </trkpt> <trkpt lat="12.8931450" lon="77.5924270"> <ele>921.9</ele> <time>2016-11-15T00:37:00Z</time> </trkpt> <trkpt lat="12.8931940" lon="77.5924330"> <ele>922.0</ele> <time>2016-11-15T00:37:02Z</time> </trkpt> <trkpt lat="12.8932420" lon="77.5924350"> <ele>922.1</ele> <time>2016-11-15T00:37:04Z</time> </trkpt> <trkpt lat="12.8932940" lon="77.5924350"> <ele>922.2</ele> <time>2016-11-15T00:37:06Z</time> </trkpt> <trkpt lat="12.8933420" lon="77.5924330"> <ele>922.3</ele> <time>2016-11-15T00:37:08Z</time> </trkpt> <trkpt lat="12.8933780" lon="77.5924350"> <ele>922.4</ele> <time>2016-11-15T00:37:10Z</time> </trkpt> <trkpt lat="12.8934190" lon="77.5924390"> <ele>922.5</ele> <time>2016-11-15T00:37:12Z</time> </trkpt> <trkpt lat="12.8934710" lon="77.5924430"> <ele>922.6</ele> <time>2016-11-15T00:37:14Z</time> </trkpt> <trkpt lat="12.8935180" lon="77.5924430"> <ele>922.7</ele> <time>2016-11-15T00:37:16Z</time> </trkpt> <trkpt lat="12.8935560" lon="77.5924410"> <ele>922.7</ele> <time>2016-11-15T00:37:18Z</time> </trkpt> <trkpt lat="12.8935980" lon="77.5924470"> <ele>922.8</ele> <time>2016-11-15T00:37:20Z</time> </trkpt> <trkpt lat="12.8936350" lon="77.5924520"> <ele>922.9</ele> <time>2016-11-15T00:37:22Z</time> </trkpt> <trkpt lat="12.8936710" lon="77.5924510"> <ele>923.0</ele> <time>2016-11-15T00:37:24Z</time> </trkpt> <trkpt lat="12.8937090" lon="77.5924510"> <ele>923.0</ele> <time>2016-11-15T00:37:26Z</time> </trkpt> <trkpt lat="12.8937560" lon="77.5924540"> <ele>923.1</ele> <time>2016-11-15T00:37:28Z</time> </trkpt> <trkpt lat="12.8937840" lon="77.5924590"> <ele>923.1</ele> <time>2016-11-15T00:37:29Z</time> </trkpt> <trkpt lat="12.8938430" lon="77.5924680"> <ele>923.0</ele> <time>2016-11-15T00:37:31Z</time> </trkpt> <trkpt lat="12.8938770" lon="77.5924720"> <ele>922.9</ele> <time>2016-11-15T00:37:32Z</time> </trkpt> <trkpt lat="12.8939050" lon="77.5924660"> <ele>922.9</ele> <time>2016-11-15T00:37:33Z</time> </trkpt> <trkpt lat="12.8939340" lon="77.5924630"> <ele>922.8</ele> <time>2016-11-15T00:37:34Z</time> </trkpt> <trkpt lat="12.8939610" lon="77.5924600"> <ele>922.8</ele> <time>2016-11-15T00:37:35Z</time> </trkpt> <trkpt lat="12.8939930" lon="77.5924570"> <ele>922.8</ele> <time>2016-11-15T00:37:36Z</time> </trkpt> <trkpt lat="12.8940300" lon="77.5924550"> <ele>922.7</ele> <time>2016-11-15T00:37:37Z</time> </trkpt> <trkpt lat="12.8940650" lon="77.5924520"> <ele>922.7</ele> <time>2016-11-15T00:37:38Z</time> </trkpt> <trkpt lat="12.8941010" lon="77.5924460"> <ele>922.7</ele> <time>2016-11-15T00:37:39Z</time> </trkpt> <trkpt lat="12.8941410" lon="77.5924450"> <ele>922.6</ele> <time>2016-11-15T00:37:40Z</time> </trkpt> <trkpt lat="12.8941710" lon="77.5924420"> <ele>922.6</ele> <time>2016-11-15T00:37:41Z</time> </trkpt> <trkpt lat="12.8941990" lon="77.5924370"> <ele>922.5</ele> <time>2016-11-15T00:37:42Z</time> </trkpt> <trkpt lat="12.8942290" lon="77.5924330"> <ele>922.5</ele> <time>2016-11-15T00:37:43Z</time> </trkpt> <trkpt lat="12.8942610" lon="77.5924320"> <ele>922.4</ele> <time>2016-11-15T00:37:44Z</time> </trkpt> <trkpt lat="12.8942900" lon="77.5924300"> <ele>922.4</ele> <time>2016-11-15T00:37:45Z</time> </trkpt> <trkpt lat="12.8943190" lon="77.5924230"> <ele>922.4</ele> <time>2016-11-15T00:37:46Z</time> </trkpt> <trkpt lat="12.8943500" lon="77.5924190"> <ele>922.3</ele> <time>2016-11-15T00:37:47Z</time> </trkpt> <trkpt lat="12.8943830" lon="77.5924160"> <ele>922.3</ele> <time>2016-11-15T00:37:48Z</time> </trkpt> <trkpt lat="12.8944150" lon="77.5924150"> <ele>922.2</ele> <time>2016-11-15T00:37:49Z</time> </trkpt> <trkpt lat="12.8944440" lon="77.5924070"> <ele>922.2</ele> <time>2016-11-15T00:37:50Z</time> </trkpt> <trkpt lat="12.8944730" lon="77.5924070"> <ele>922.2</ele> <time>2016-11-15T00:37:51Z</time> </trkpt> <trkpt lat="12.8945060" lon="77.5924030"> <ele>922.1</ele> <time>2016-11-15T00:37:53Z</time> </trkpt> <trkpt lat="12.8945490" lon="77.5924050"> <ele>922.1</ele> <time>2016-11-15T00:37:55Z</time> </trkpt> <trkpt lat="12.8945940" lon="77.5924060"> <ele>922.0</ele> <time>2016-11-15T00:37:57Z</time> </trkpt> <trkpt lat="12.8946230" lon="77.5924120"> <ele>921.9</ele> <time>2016-11-15T00:37:58Z</time> </trkpt> <trkpt lat="12.8946510" lon="77.5924150"> <ele>921.8</ele> <time>2016-11-15T00:37:59Z</time> </trkpt> <trkpt lat="12.8946970" lon="77.5924180"> <ele>921.6</ele> <time>2016-11-15T00:38:01Z</time> </trkpt> <trkpt lat="12.8947460" lon="77.5924140"> <ele>921.4</ele> <time>2016-11-15T00:38:03Z</time> </trkpt> <trkpt lat="12.8947750" lon="77.5924100"> <ele>921.3</ele> <time>2016-11-15T00:38:04Z</time> </trkpt> <trkpt lat="12.8948040" lon="77.5924030"> <ele>921.2</ele> <time>2016-11-15T00:38:05Z</time> </trkpt> <trkpt lat="12.8948600" lon="77.5923910"> <ele>921.0</ele> <time>2016-11-15T00:38:07Z</time> </trkpt> <trkpt lat="12.8948940" lon="77.5923860"> <ele>920.9</ele> <time>2016-11-15T00:38:08Z</time> </trkpt> <trkpt lat="12.8949240" lon="77.5923810"> <ele>920.8</ele> <time>2016-11-15T00:38:09Z</time> </trkpt> <trkpt lat="12.8949760" lon="77.5923770"> <ele>920.6</ele> <time>2016-11-15T00:38:11Z</time> </trkpt> <trkpt lat="12.8950330" lon="77.5923710"> <ele>920.4</ele> <time>2016-11-15T00:38:13Z</time> </trkpt> <trkpt lat="12.8950620" lon="77.5923650"> <ele>920.3</ele> <time>2016-11-15T00:38:14Z</time> </trkpt> <trkpt lat="12.8950950" lon="77.5923650"> <ele>920.2</ele> <time>2016-11-15T00:38:15Z</time> </trkpt> <trkpt lat="12.8951300" lon="77.5923630"> <ele>920.0</ele> <time>2016-11-15T00:38:16Z</time> </trkpt> <trkpt lat="12.8951620" lon="77.5923620"> <ele>919.9</ele> <time>2016-11-15T00:38:17Z</time> </trkpt> <trkpt lat="12.8951920" lon="77.5923610"> <ele>919.8</ele> <time>2016-11-15T00:38:18Z</time> </trkpt> <trkpt lat="12.8952220" lon="77.5923630"> <ele>919.7</ele> <time>2016-11-15T00:38:19Z</time> </trkpt> <trkpt lat="12.8952520" lon="77.5923620"> <ele>919.6</ele> <time>2016-11-15T00:38:20Z</time> </trkpt> <trkpt lat="12.8952820" lon="77.5923610"> <ele>919.5</ele> <time>2016-11-15T00:38:21Z</time> </trkpt> <trkpt lat="12.8953120" lon="77.5923610"> <ele>919.4</ele> <time>2016-11-15T00:38:22Z</time> </trkpt> <trkpt lat="12.8953420" lon="77.5923570"> <ele>919.3</ele> <time>2016-11-15T00:38:23Z</time> </trkpt> <trkpt lat="12.8953740" lon="77.5923590"> <ele>919.2</ele> <time>2016-11-15T00:38:24Z</time> </trkpt> <trkpt lat="12.8954030" lon="77.5923600"> <ele>919.0</ele> <time>2016-11-15T00:38:25Z</time> </trkpt> <trkpt lat="12.8954310" lon="77.5923610"> <ele>918.9</ele> <time>2016-11-15T00:38:26Z</time> </trkpt> <trkpt lat="12.8954650" lon="77.5923650"> <ele>918.7</ele> <time>2016-11-15T00:38:27Z</time> </trkpt> <trkpt lat="12.8954960" lon="77.5923690"> <ele>918.6</ele> <time>2016-11-15T00:38:28Z</time> </trkpt> <trkpt lat="12.8955250" lon="77.5923720"> <ele>918.4</ele> <time>2016-11-15T00:38:29Z</time> </trkpt> <trkpt lat="12.8955560" lon="77.5923660"> <ele>918.2</ele> <time>2016-11-15T00:38:30Z</time> </trkpt> <trkpt lat="12.8955880" lon="77.5923610"> <ele>918.0</ele> <time>2016-11-15T00:38:31Z</time> </trkpt> <trkpt lat="12.8956140" lon="77.5923570"> <ele>917.9</ele> <time>2016-11-15T00:38:32Z</time> </trkpt> <trkpt lat="12.8956670" lon="77.5923560"> <ele>917.6</ele> <time>2016-11-15T00:38:34Z</time> </trkpt> <trkpt lat="12.8957170" lon="77.5923520"> <ele>917.3</ele> <time>2016-11-15T00:38:36Z</time> </trkpt> <trkpt lat="12.8957700" lon="77.5923450"> <ele>917.0</ele> <time>2016-11-15T00:38:38Z</time> </trkpt> <trkpt lat="12.8958220" lon="77.5923410"> <ele>916.7</ele> <time>2016-11-15T00:38:40Z</time> </trkpt> <trkpt lat="12.8958680" lon="77.5923480"> <ele>916.5</ele> <time>2016-11-15T00:38:42Z</time> </trkpt> <trkpt lat="12.8959190" lon="77.5923570"> <ele>916.2</ele> <time>2016-11-15T00:38:44Z</time> </trkpt> <trkpt lat="12.8959480" lon="77.5923620"> <ele>916.0</ele> <time>2016-11-15T00:38:45Z</time> </trkpt> <trkpt lat="12.8959790" lon="77.5923660"> <ele>915.9</ele> <time>2016-11-15T00:38:46Z</time> </trkpt> <trkpt lat="12.8960070" lon="77.5923660"> <ele>915.7</ele> <time>2016-11-15T00:38:47Z</time> </trkpt> <trkpt lat="12.8960340" lon="77.5923710"> <ele>915.6</ele> <time>2016-11-15T00:38:48Z</time> </trkpt> <trkpt lat="12.8960830" lon="77.5923650"> <ele>915.3</ele> <time>2016-11-15T00:38:50Z</time> </trkpt> <trkpt lat="12.8961100" lon="77.5923620"> <ele>915.1</ele> <time>2016-11-15T00:38:51Z</time> </trkpt> <trkpt lat="12.8961590" lon="77.5923610"> <ele>914.8</ele> <time>2016-11-15T00:38:53Z</time> </trkpt> <trkpt lat="12.8962080" lon="77.5923620"> <ele>914.6</ele> <time>2016-11-15T00:38:55Z</time> </trkpt> <trkpt lat="12.8962620" lon="77.5923670"> <ele>914.3</ele> <time>2016-11-15T00:38:57Z</time> </trkpt> <trkpt lat="12.8962970" lon="77.5923650"> <ele>914.1</ele> <time>2016-11-15T00:38:58Z</time> </trkpt> <trkpt lat="12.8963260" lon="77.5923540"> <ele>914.0</ele> <time>2016-11-15T00:38:59Z</time> </trkpt> <trkpt lat="12.8963560" lon="77.5923420"> <ele>913.9</ele> <time>2016-11-15T00:39:00Z</time> </trkpt> <trkpt lat="12.8963850" lon="77.5923420"> <ele>913.8</ele> <time>2016-11-15T00:39:01Z</time> </trkpt> <trkpt lat="12.8964130" lon="77.5923450"> <ele>913.7</ele> <time>2016-11-15T00:39:02Z</time> </trkpt> <trkpt lat="12.8964660" lon="77.5923430"> <ele>913.5</ele> <time>2016-11-15T00:39:04Z</time> </trkpt> <trkpt lat="12.8964940" lon="77.5923390"> <ele>913.3</ele> <time>2016-11-15T00:39:05Z</time> </trkpt> <trkpt lat="12.8965240" lon="77.5923390"> <ele>913.2</ele> <time>2016-11-15T00:39:06Z</time> </trkpt> <trkpt lat="12.8965560" lon="77.5923420"> <ele>913.1</ele> <time>2016-11-15T00:39:07Z</time> </trkpt> <trkpt lat="12.8965860" lon="77.5923410"> <ele>913.0</ele> <time>2016-11-15T00:39:08Z</time> </trkpt> <trkpt lat="12.8966340" lon="77.5923420"> <ele>912.8</ele> <time>2016-11-15T00:39:10Z</time> </trkpt> <trkpt lat="12.8966820" lon="77.5923430"> <ele>912.6</ele> <time>2016-11-15T00:39:12Z</time> </trkpt> <trkpt lat="12.8967120" lon="77.5923410"> <ele>912.5</ele> <time>2016-11-15T00:39:13Z</time> </trkpt> <trkpt lat="12.8967620" lon="77.5923340"> <ele>912.3</ele> <time>2016-11-15T00:39:15Z</time> </trkpt> <trkpt lat="12.8968030" lon="77.5923320"> <ele>912.1</ele> <time>2016-11-15T00:39:17Z</time> </trkpt> <trkpt lat="12.8968450" lon="77.5923140"> <ele>911.9</ele> <time>2016-11-15T00:39:19Z</time> </trkpt> <trkpt lat="12.8968820" lon="77.5923000"> <ele>911.8</ele> <time>2016-11-15T00:39:21Z</time> </trkpt> <trkpt lat="12.8969210" lon="77.5922970"> <ele>911.6</ele> <time>2016-11-15T00:39:23Z</time> </trkpt> <trkpt lat="12.8969660" lon="77.5923010"> <ele>911.5</ele> <time>2016-11-15T00:39:25Z</time> </trkpt> <trkpt lat="12.8969990" lon="77.5923020"> <ele>911.3</ele> <time>2016-11-15T00:39:27Z</time> </trkpt> <trkpt lat="12.8970260" lon="77.5922900"> <ele>911.2</ele> <time>2016-11-15T00:39:29Z</time> </trkpt> <trkpt lat="12.8970510" lon="77.5922540"> <ele>911.1</ele> <time>2016-11-15T00:39:31Z</time> </trkpt> <trkpt lat="12.8970560" lon="77.5922210"> <ele>911.1</ele> <time>2016-11-15T00:39:33Z</time> </trkpt> <trkpt lat="12.8970600" lon="77.5921920"> <ele>911.1</ele> <time>2016-11-15T00:39:34Z</time> </trkpt> <trkpt lat="12.8970730" lon="77.5921320"> <ele>911.0</ele> <time>2016-11-15T00:39:36Z</time> </trkpt> <trkpt lat="12.8970750" lon="77.5920890"> <ele>911.0</ele> <time>2016-11-15T00:39:37Z</time> </trkpt> <trkpt lat="12.8970740" lon="77.5920470"> <ele>911.1</ele> <time>2016-11-15T00:39:38Z</time> </trkpt> <trkpt lat="12.8970740" lon="77.5920090"> <ele>911.1</ele> <time>2016-11-15T00:39:39Z</time> </trkpt> <trkpt lat="12.8970780" lon="77.5919770"> <ele>911.1</ele> <time>2016-11-15T00:39:40Z</time> </trkpt> <trkpt lat="12.8970820" lon="77.5919440"> <ele>911.2</ele> <time>2016-11-15T00:39:41Z</time> </trkpt> <trkpt lat="12.8970880" lon="77.5919120"> <ele>911.2</ele> <time>2016-11-15T00:39:42Z</time> </trkpt> <trkpt lat="12.8971000" lon="77.5918710"> <ele>911.2</ele> <time>2016-11-15T00:39:44Z</time> </trkpt> <trkpt lat="12.8971150" lon="77.5918210"> <ele>911.2</ele> <time>2016-11-15T00:39:46Z</time> </trkpt> <trkpt lat="12.8971240" lon="77.5917750"> <ele>911.3</ele> <time>2016-11-15T00:39:48Z</time> </trkpt> <trkpt lat="12.8971070" lon="77.5917510"> <ele>911.3</ele> <time>2016-11-15T00:39:49Z</time> </trkpt> <trkpt lat="12.8970780" lon="77.5917320"> <ele>911.4</ele> <time>2016-11-15T00:39:51Z</time> </trkpt> <trkpt lat="12.8970460" lon="77.5917250"> <ele>911.6</ele> <time>2016-11-15T00:39:53Z</time> </trkpt> <trkpt lat="12.8970160" lon="77.5917260"> <ele>911.7</ele> <time>2016-11-15T00:39:55Z</time> </trkpt> <trkpt lat="12.8969860" lon="77.5917170"> <ele>911.8</ele> <time>2016-11-15T00:39:57Z</time> </trkpt> <trkpt lat="12.8969840" lon="77.5916810"> <ele>911.8</ele> <time>2016-11-15T00:40:02Z</time> </trkpt> <trkpt lat="12.8969530" lon="77.5916770"> <ele>912.0</ele> <time>2016-11-15T00:40:04Z</time> </trkpt> <trkpt lat="12.8969230" lon="77.5916750"> <ele>912.1</ele> <time>2016-11-15T00:40:06Z</time> </trkpt> <trkpt lat="12.8968820" lon="77.5916740"> <ele>912.2</ele> <time>2016-11-15T00:40:08Z</time> </trkpt> <trkpt lat="12.8968480" lon="77.5916610"> <ele>912.4</ele> <time>2016-11-15T00:40:10Z</time> </trkpt> <trkpt lat="12.8968130" lon="77.5916250"> <ele>912.5</ele> <time>2016-11-15T00:40:12Z</time> </trkpt> <trkpt lat="12.8967690" lon="77.5916150"> <ele>912.7</ele> <time>2016-11-15T00:40:14Z</time> </trkpt> <trkpt lat="12.8967270" lon="77.5916250"> <ele>912.8</ele> <time>2016-11-15T00:40:16Z</time> </trkpt> <trkpt lat="12.8966870" lon="77.5916400"> <ele>913.0</ele> <time>2016-11-15T00:40:18Z</time> </trkpt> <trkpt lat="12.8966420" lon="77.5916400"> <ele>913.1</ele> <time>2016-11-15T00:40:20Z</time> </trkpt> <trkpt lat="12.8966100" lon="77.5916420"> <ele>913.2</ele> <time>2016-11-15T00:40:22Z</time> </trkpt> <trkpt lat="12.8965830" lon="77.5916450"> <ele>913.3</ele> <time>2016-11-15T00:40:23Z</time> </trkpt> <trkpt lat="12.8965530" lon="77.5916370"> <ele>913.4</ele> <time>2016-11-15T00:40:24Z</time> </trkpt> <trkpt lat="12.8965260" lon="77.5916310"> <ele>913.5</ele> <time>2016-11-15T00:40:25Z</time> </trkpt> <trkpt lat="12.8964860" lon="77.5916080"> <ele>913.7</ele> <time>2016-11-15T00:40:27Z</time> </trkpt> <trkpt lat="12.8964380" lon="77.5915930"> <ele>913.9</ele> <time>2016-11-15T00:40:29Z</time> </trkpt> <trkpt lat="12.8963940" lon="77.5915910"> <ele>914.1</ele> <time>2016-11-15T00:40:31Z</time> </trkpt> <trkpt lat="12.8963520" lon="77.5916000"> <ele>914.2</ele> <time>2016-11-15T00:40:33Z</time> </trkpt> <trkpt lat="12.8963040" lon="77.5915760"> <ele>914.4</ele> <time>2016-11-15T00:40:35Z</time> </trkpt> <trkpt lat="12.8962710" lon="77.5915390"> <ele>914.6</ele> <time>2016-11-15T00:40:37Z</time> </trkpt> <trkpt lat="12.8962480" lon="77.5915110"> <ele>914.7</ele> <time>2016-11-15T00:40:39Z</time> </trkpt> <trkpt lat="12.8962170" lon="77.5914820"> <ele>914.9</ele> <time>2016-11-15T00:40:41Z</time> </trkpt> <trkpt lat="12.8961800" lon="77.5914580"> <ele>915.2</ele> <time>2016-11-15T00:40:43Z</time> </trkpt> <trkpt lat="12.8961350" lon="77.5914350"> <ele>915.5</ele> <time>2016-11-15T00:40:45Z</time> </trkpt> <trkpt lat="12.8961060" lon="77.5914220"> <ele>915.7</ele> <time>2016-11-15T00:40:47Z</time> </trkpt> <trkpt lat="12.8960650" lon="77.5914130"> <ele>915.9</ele> <time>2016-11-15T00:40:49Z</time> </trkpt> <trkpt lat="12.8960330" lon="77.5914060"> <ele>916.1</ele> <time>2016-11-15T00:40:51Z</time> </trkpt> <trkpt lat="12.8960080" lon="77.5913770"> <ele>916.3</ele> <time>2016-11-15T00:40:53Z</time> </trkpt> <trkpt lat="12.8959760" lon="77.5913470"> <ele>916.5</ele> <time>2016-11-15T00:40:55Z</time> </trkpt> <trkpt lat="12.8959400" lon="77.5913190"> <ele>916.8</ele> <time>2016-11-15T00:40:57Z</time> </trkpt> <trkpt lat="12.8959150" lon="77.5912970"> <ele>917.0</ele> <time>2016-11-15T00:40:58Z</time> </trkpt> <trkpt lat="12.8958940" lon="77.5912770"> <ele>917.1</ele> <time>2016-11-15T00:40:59Z</time> </trkpt> <trkpt lat="12.8958660" lon="77.5912490"> <ele>917.3</ele> <time>2016-11-15T00:41:01Z</time> </trkpt> <trkpt lat="12.8958200" lon="77.5912470"> <ele>917.6</ele> <time>2016-11-15T00:41:03Z</time> </trkpt> <trkpt lat="12.8957800" lon="77.5912790"> <ele>917.8</ele> <time>2016-11-15T00:41:05Z</time> </trkpt> <trkpt lat="12.8957230" lon="77.5912940"> <ele>918.1</ele> <time>2016-11-15T00:41:07Z</time> </trkpt> <trkpt lat="12.8956880" lon="77.5912920"> <ele>918.3</ele> <time>2016-11-15T00:41:08Z</time> </trkpt> <trkpt lat="12.8956580" lon="77.5912940"> <ele>918.5</ele> <time>2016-11-15T00:41:09Z</time> </trkpt> <trkpt lat="12.8956300" lon="77.5912920"> <ele>918.7</ele> <time>2016-11-15T00:41:10Z</time> </trkpt> <trkpt lat="12.8956040" lon="77.5912820"> <ele>918.8</ele> <time>2016-11-15T00:41:11Z</time> </trkpt> <trkpt lat="12.8955720" lon="77.5912780"> <ele>919.0</ele> <time>2016-11-15T00:41:13Z</time> </trkpt> <trkpt lat="12.8955570" lon="77.5913030"> <ele>919.1</ele> <time>2016-11-15T00:41:16Z</time> </trkpt> <trkpt lat="12.8955350" lon="77.5913210"> <ele>919.2</ele> <time>2016-11-15T00:41:18Z</time> </trkpt> <trkpt lat="12.8955080" lon="77.5913540"> <ele>919.3</ele> <time>2016-11-15T00:41:20Z</time> </trkpt> <trkpt lat="12.8954630" lon="77.5913690"> <ele>919.6</ele> <time>2016-11-15T00:41:22Z</time> </trkpt> <trkpt lat="12.8954340" lon="77.5913580"> <ele>919.8</ele> <time>2016-11-15T00:41:23Z</time> </trkpt> <trkpt lat="12.8953930" lon="77.5913560"> <ele>919.9</ele> <time>2016-11-15T00:41:25Z</time> </trkpt> <trkpt lat="12.8953470" lon="77.5913540"> <ele>920.0</ele> <time>2016-11-15T00:41:27Z</time> </trkpt> <trkpt lat="12.8953140" lon="77.5913310"> <ele>920.0</ele> <time>2016-11-15T00:41:29Z</time> </trkpt> <trkpt lat="12.8952810" lon="77.5913110"> <ele>920.1</ele> <time>2016-11-15T00:41:31Z</time> </trkpt> <trkpt lat="12.8952540" lon="77.5913010"> <ele>920.2</ele> <time>2016-11-15T00:41:32Z</time> </trkpt> <trkpt lat="12.8952240" lon="77.5912930"> <ele>920.2</ele> <time>2016-11-15T00:41:33Z</time> </trkpt> <trkpt lat="12.8951780" lon="77.5912880"> <ele>920.3</ele> <time>2016-11-15T00:41:35Z</time> </trkpt> <trkpt lat="12.8951480" lon="77.5912930"> <ele>920.3</ele> <time>2016-11-15T00:41:37Z</time> </trkpt> <trkpt lat="12.8951050" lon="77.5912880"> <ele>920.4</ele> <time>2016-11-15T00:41:39Z</time> </trkpt> <trkpt lat="12.8950760" lon="77.5912810"> <ele>920.4</ele> <time>2016-11-15T00:41:41Z</time> </trkpt> <trkpt lat="12.8950240" lon="77.5912810"> <ele>920.5</ele> <time>2016-11-15T00:41:43Z</time> </trkpt> <trkpt lat="12.8949730" lon="77.5912880"> <ele>920.5</ele> <time>2016-11-15T00:41:45Z</time> </trkpt> <trkpt lat="12.8949350" lon="77.5913120"> <ele>920.6</ele> <time>2016-11-15T00:41:47Z</time> </trkpt> <trkpt lat="12.8948940" lon="77.5913360"> <ele>920.7</ele> <time>2016-11-15T00:41:49Z</time> </trkpt> <trkpt lat="12.8948560" lon="77.5913660"> <ele>920.7</ele> <time>2016-11-15T00:41:51Z</time> </trkpt> <trkpt lat="12.8948310" lon="77.5913960"> <ele>920.8</ele> <time>2016-11-15T00:41:53Z</time> </trkpt> <trkpt lat="12.8948040" lon="77.5914290"> <ele>920.8</ele> <time>2016-11-15T00:41:55Z</time> </trkpt> <trkpt lat="12.8947910" lon="77.5914540"> <ele>920.9</ele> <time>2016-11-15T00:41:57Z</time> </trkpt> <trkpt lat="12.8947780" lon="77.5914830"> <ele>920.9</ele> <time>2016-11-15T00:41:59Z</time> </trkpt> <trkpt lat="12.8947640" lon="77.5915240"> <ele>921.0</ele> <time>2016-11-15T00:42:01Z</time> </trkpt> <trkpt lat="12.8947620" lon="77.5915660"> <ele>921.0</ele> <time>2016-11-15T00:42:03Z</time> </trkpt> <trkpt lat="12.8947690" lon="77.5916110"> <ele>921.0</ele> <time>2016-11-15T00:42:05Z</time> </trkpt> <trkpt lat="12.8947690" lon="77.5916410"> <ele>921.0</ele> <time>2016-11-15T00:42:06Z</time> </trkpt> <trkpt lat="12.8947690" lon="77.5916700"> <ele>921.1</ele> <time>2016-11-15T00:42:07Z</time> </trkpt> <trkpt lat="12.8947700" lon="77.5917020"> <ele>921.1</ele> <time>2016-11-15T00:42:08Z</time> </trkpt> <trkpt lat="12.8947740" lon="77.5917330"> <ele>921.1</ele> <time>2016-11-15T00:42:09Z</time> </trkpt> <trkpt lat="12.8947770" lon="77.5917650"> <ele>921.1</ele> <time>2016-11-15T00:42:10Z</time> </trkpt> <trkpt lat="12.8947800" lon="77.5917940"> <ele>921.1</ele> <time>2016-11-15T00:42:11Z</time> </trkpt> <trkpt lat="12.8947760" lon="77.5918240"> <ele>921.1</ele> <time>2016-11-15T00:42:12Z</time> </trkpt> <trkpt lat="12.8947790" lon="77.5918590"> <ele>921.2</ele> <time>2016-11-15T00:42:13Z</time> </trkpt> <trkpt lat="12.8947840" lon="77.5919170"> <ele>921.2</ele> <time>2016-11-15T00:42:15Z</time> </trkpt> <trkpt lat="12.8947880" lon="77.5919690"> <ele>921.2</ele> <time>2016-11-15T00:42:17Z</time> </trkpt> <trkpt lat="12.8947890" lon="77.5919980"> <ele>921.2</ele> <time>2016-11-15T00:42:18Z</time> </trkpt> <trkpt lat="12.8947840" lon="77.5920250"> <ele>921.2</ele> <time>2016-11-15T00:42:19Z</time> </trkpt> <trkpt lat="12.8947750" lon="77.5920730"> <ele>921.3</ele> <time>2016-11-15T00:42:21Z</time> </trkpt> <trkpt lat="12.8947670" lon="77.5921140"> <ele>921.3</ele> <time>2016-11-15T00:42:23Z</time> </trkpt> <trkpt lat="12.8947550" lon="77.5921580"> <ele>921.4</ele> <time>2016-11-15T00:42:25Z</time> </trkpt> <trkpt lat="12.8947290" lon="77.5921980"> <ele>921.5</ele> <time>2016-11-15T00:42:27Z</time> </trkpt> <trkpt lat="12.8947070" lon="77.5922210"> <ele>921.6</ele> <time>2016-11-15T00:42:28Z</time> </trkpt> <trkpt lat="12.8946640" lon="77.5922400"> <ele>921.7</ele> <time>2016-11-15T00:42:30Z</time> </trkpt> <trkpt lat="12.8946370" lon="77.5922460"> <ele>921.8</ele> <time>2016-11-15T00:42:31Z</time> </trkpt> <trkpt lat="12.8946080" lon="77.5922450"> <ele>921.9</ele> <time>2016-11-15T00:42:32Z</time> </trkpt> <trkpt lat="12.8945820" lon="77.5922390"> <ele>922.0</ele> <time>2016-11-15T00:42:33Z</time> </trkpt> <trkpt lat="12.8945450" lon="77.5922230"> <ele>922.1</ele> <time>2016-11-15T00:42:35Z</time> </trkpt> <trkpt lat="12.8945180" lon="77.5922160"> <ele>922.1</ele> <time>2016-11-15T00:42:37Z</time> </trkpt> <trkpt lat="12.8944840" lon="77.5922400"> <ele>922.2</ele> <time>2016-11-15T00:42:39Z</time> </trkpt> <trkpt lat="12.8944410" lon="77.5922470"> <ele>922.3</ele> <time>2016-11-15T00:42:41Z</time> </trkpt> <trkpt lat="12.8943920" lon="77.5922470"> <ele>922.4</ele> <time>2016-11-15T00:42:43Z</time> </trkpt> <trkpt lat="12.8943520" lon="77.5922480"> <ele>922.4</ele> <time>2016-11-15T00:42:45Z</time> </trkpt> <trkpt lat="12.8943060" lon="77.5922390"> <ele>922.5</ele> <time>2016-11-15T00:42:47Z</time> </trkpt> <trkpt lat="12.8942530" lon="77.5922340"> <ele>922.6</ele> <time>2016-11-15T00:42:49Z</time> </trkpt> <trkpt lat="12.8941990" lon="77.5922290"> <ele>922.8</ele> <time>2016-11-15T00:42:51Z</time> </trkpt> <trkpt lat="12.8941580" lon="77.5922280"> <ele>922.8</ele> <time>2016-11-15T00:42:53Z</time> </trkpt> <trkpt lat="12.8941230" lon="77.5922350"> <ele>922.9</ele> <time>2016-11-15T00:42:55Z</time> </trkpt> <trkpt lat="12.8940910" lon="77.5922480"> <ele>922.9</ele> <time>2016-11-15T00:42:57Z</time> </trkpt> <trkpt lat="12.8940510" lon="77.5922570"> <ele>923.0</ele> <time>2016-11-15T00:42:59Z</time> </trkpt> <trkpt lat="12.8940120" lon="77.5922610"> <ele>923.1</ele> <time>2016-11-15T00:43:01Z</time> </trkpt> <trkpt lat="12.8939780" lon="77.5922630"> <ele>923.1</ele> <time>2016-11-15T00:43:02Z</time> </trkpt> <trkpt lat="12.8939480" lon="77.5922640"> <ele>923.2</ele> <time>2016-11-15T00:43:03Z</time> </trkpt> <trkpt lat="12.8939190" lon="77.5922610"> <ele>923.3</ele> <time>2016-11-15T00:43:04Z</time> </trkpt> <trkpt lat="12.8938870" lon="77.5922610"> <ele>923.3</ele> <time>2016-11-15T00:43:05Z</time> </trkpt> <trkpt lat="12.8938420" lon="77.5922610"> <ele>923.4</ele> <time>2016-11-15T00:43:07Z</time> </trkpt> <trkpt lat="12.8937920" lon="77.5922490"> <ele>923.5</ele> <time>2016-11-15T00:43:09Z</time> </trkpt> <trkpt lat="12.8937450" lon="77.5922480"> <ele>923.6</ele> <time>2016-11-15T00:43:11Z</time> </trkpt> <trkpt lat="12.8936930" lon="77.5922440"> <ele>923.4</ele> <time>2016-11-15T00:43:13Z</time> </trkpt> <trkpt lat="12.8936480" lon="77.5922440"> <ele>923.3</ele> <time>2016-11-15T00:43:15Z</time> </trkpt> <trkpt lat="12.8936130" lon="77.5922480"> <ele>923.2</ele> <time>2016-11-15T00:43:17Z</time> </trkpt> <trkpt lat="12.8935720" lon="77.5922640"> <ele>923.1</ele> <time>2016-11-15T00:43:19Z</time> </trkpt> <trkpt lat="12.8935340" lon="77.5922640"> <ele>923.0</ele> <time>2016-11-15T00:43:21Z</time> </trkpt> <trkpt lat="12.8934880" lon="77.5922590"> <ele>922.8</ele> <time>2016-11-15T00:43:23Z</time> </trkpt> <trkpt lat="12.8934480" lon="77.5922520"> <ele>922.7</ele> <time>2016-11-15T00:43:25Z</time> </trkpt> <trkpt lat="12.8934180" lon="77.5922560"> <ele>922.6</ele> <time>2016-11-15T00:43:26Z</time> </trkpt> <trkpt lat="12.8933890" lon="77.5922590"> <ele>922.6</ele> <time>2016-11-15T00:43:27Z</time> </trkpt> <trkpt lat="12.8933590" lon="77.5922580"> <ele>922.5</ele> <time>2016-11-15T00:43:28Z</time> </trkpt> <trkpt lat="12.8933270" lon="77.5922590"> <ele>922.4</ele> <time>2016-11-15T00:43:29Z</time> </trkpt> <trkpt lat="12.8932770" lon="77.5922550"> <ele>922.2</ele> <time>2016-11-15T00:43:31Z</time> </trkpt> <trkpt lat="12.8932300" lon="77.5922590"> <ele>922.1</ele> <time>2016-11-15T00:43:33Z</time> </trkpt> <trkpt lat="12.8931940" lon="77.5922650"> <ele>922.0</ele> <time>2016-11-15T00:43:35Z</time> </trkpt> <trkpt lat="12.8931580" lon="77.5922740"> <ele>921.9</ele> <time>2016-11-15T00:43:37Z</time> </trkpt> <trkpt lat="12.8931150" lon="77.5922730"> <ele>921.8</ele> <time>2016-11-15T00:43:39Z</time> </trkpt> <trkpt lat="12.8930740" lon="77.5922710"> <ele>921.7</ele> <time>2016-11-15T00:43:41Z</time> </trkpt> <trkpt lat="12.8930200" lon="77.5922690"> <ele>921.5</ele> <time>2016-11-15T00:43:43Z</time> </trkpt> <trkpt lat="12.8929700" lon="77.5922710"> <ele>921.4</ele> <time>2016-11-15T00:43:45Z</time> </trkpt> <trkpt lat="12.8929210" lon="77.5922730"> <ele>921.2</ele> <time>2016-11-15T00:43:47Z</time> </trkpt> <trkpt lat="12.8928770" lon="77.5922860"> <ele>921.3</ele> <time>2016-11-15T00:43:49Z</time> </trkpt> <trkpt lat="12.8928410" lon="77.5922840"> <ele>921.4</ele> <time>2016-11-15T00:43:50Z</time> </trkpt> <trkpt lat="12.8928110" lon="77.5922820"> <ele>921.4</ele> <time>2016-11-15T00:43:51Z</time> </trkpt> <trkpt lat="12.8927620" lon="77.5922870"> <ele>921.5</ele> <time>2016-11-15T00:43:53Z</time> </trkpt> <trkpt lat="12.8927330" lon="77.5922890"> <ele>921.5</ele> <time>2016-11-15T00:43:54Z</time> </trkpt> <trkpt lat="12.8926790" lon="77.5922930"> <ele>921.6</ele> <time>2016-11-15T00:43:56Z</time> </trkpt> <trkpt lat="12.8926410" lon="77.5922900"> <ele>921.7</ele> <time>2016-11-15T00:43:58Z</time> </trkpt> <trkpt lat="12.8926040" lon="77.5922840"> <ele>921.7</ele> <time>2016-11-15T00:44:00Z</time> </trkpt> <trkpt lat="12.8925580" lon="77.5922810"> <ele>921.8</ele> <time>2016-11-15T00:44:02Z</time> </trkpt> <trkpt lat="12.8925160" lon="77.5922800"> <ele>921.9</ele> <time>2016-11-15T00:44:04Z</time> </trkpt> <trkpt lat="12.8924610" lon="77.5922760"> <ele>921.9</ele> <time>2016-11-15T00:44:06Z</time> </trkpt> <trkpt lat="12.8924250" lon="77.5922850"> <ele>922.0</ele> <time>2016-11-15T00:44:08Z</time> </trkpt> <trkpt lat="12.8923950" lon="77.5922870"> <ele>922.0</ele> <time>2016-11-15T00:44:10Z</time> </trkpt> <trkpt lat="12.8923640" lon="77.5922870"> <ele>922.1</ele> <time>2016-11-15T00:44:11Z</time> </trkpt> <trkpt lat="12.8923120" lon="77.5922850"> <ele>922.2</ele> <time>2016-11-15T00:44:13Z</time> </trkpt> <trkpt lat="12.8922810" lon="77.5922840"> <ele>922.2</ele> <time>2016-11-15T00:44:14Z</time> </trkpt> <trkpt lat="12.8922540" lon="77.5922850"> <ele>922.3</ele> <time>2016-11-15T00:44:15Z</time> </trkpt> <trkpt lat="12.8922270" lon="77.5922860"> <ele>922.3</ele> <time>2016-11-15T00:44:16Z</time> </trkpt> <trkpt lat="12.8921970" lon="77.5922900"> <ele>922.3</ele> <time>2016-11-15T00:44:17Z</time> </trkpt> <trkpt lat="12.8921690" lon="77.5922950"> <ele>922.4</ele> <time>2016-11-15T00:44:18Z</time> </trkpt> <trkpt lat="12.8921190" lon="77.5923000"> <ele>922.4</ele> <time>2016-11-15T00:44:20Z</time> </trkpt> <trkpt lat="12.8920910" lon="77.5923010"> <ele>922.5</ele> <time>2016-11-15T00:44:21Z</time> </trkpt> <trkpt lat="12.8920590" lon="77.5923040"> <ele>922.5</ele> <time>2016-11-15T00:44:22Z</time> </trkpt> <trkpt lat="12.8920200" lon="77.5923180"> <ele>922.4</ele> <time>2016-11-15T00:44:24Z</time> </trkpt> <trkpt lat="12.8919860" lon="77.5923390"> <ele>922.3</ele> <time>2016-11-15T00:44:26Z</time> </trkpt> <trkpt lat="12.8919790" lon="77.5923720"> <ele>922.3</ele> <time>2016-11-15T00:44:28Z</time> </trkpt> <trkpt lat="12.8919680" lon="77.5924120"> <ele>922.2</ele> <time>2016-11-15T00:44:30Z</time> </trkpt> <trkpt lat="12.8919650" lon="77.5924410"> <ele>922.2</ele> <time>2016-11-15T00:44:31Z</time> </trkpt> <trkpt lat="12.8919620" lon="77.5924910"> <ele>922.1</ele> <time>2016-11-15T00:44:33Z</time> </trkpt> <trkpt lat="12.8919560" lon="77.5925390"> <ele>922.0</ele> <time>2016-11-15T00:44:35Z</time> </trkpt> <trkpt lat="12.8919480" lon="77.5925900"> <ele>922.0</ele> <time>2016-11-15T00:44:37Z</time> </trkpt> <trkpt lat="12.8919430" lon="77.5926520"> <ele>921.9</ele> <time>2016-11-15T00:44:39Z</time> </trkpt> <trkpt lat="12.8919430" lon="77.5926830"> <ele>921.8</ele> <time>2016-11-15T00:44:40Z</time> </trkpt> <trkpt lat="12.8919410" lon="77.5927250"> <ele>921.8</ele> <time>2016-11-15T00:44:42Z</time> </trkpt> <trkpt lat="12.8919400" lon="77.5927780"> <ele>921.7</ele> <time>2016-11-15T00:44:44Z</time> </trkpt> <trkpt lat="12.8919380" lon="77.5928110"> <ele>921.7</ele> <time>2016-11-15T00:44:45Z</time> </trkpt> <trkpt lat="12.8919280" lon="77.5928390"> <ele>921.7</ele> <time>2016-11-15T00:44:46Z</time> </trkpt> <trkpt lat="12.8919130" lon="77.5928750"> <ele>921.7</ele> <time>2016-11-15T00:44:47Z</time> </trkpt> <trkpt lat="12.8919100" lon="77.5929050"> <ele>921.6</ele> <time>2016-11-15T00:44:48Z</time> </trkpt> <trkpt lat="12.8919110" lon="77.5929390"> <ele>921.6</ele> <time>2016-11-15T00:44:49Z</time> </trkpt> <trkpt lat="12.8919080" lon="77.5929740"> <ele>921.5</ele> <time>2016-11-15T00:44:50Z</time> </trkpt> <trkpt lat="12.8919040" lon="77.5930050"> <ele>921.4</ele> <time>2016-11-15T00:44:51Z</time> </trkpt> <trkpt lat="12.8919080" lon="77.5930350"> <ele>921.3</ele> <time>2016-11-15T00:44:52Z</time> </trkpt> <trkpt lat="12.8919260" lon="77.5930600"> <ele>921.2</ele> <time>2016-11-15T00:44:54Z</time> </trkpt> <trkpt lat="12.8919630" lon="77.5930740"> <ele>921.0</ele> <time>2016-11-15T00:44:56Z</time> </trkpt> <trkpt lat="12.8919940" lon="77.5930760"> <ele>920.9</ele> <time>2016-11-15T00:44:57Z</time> </trkpt> <trkpt lat="12.8920380" lon="77.5930870"> <ele>920.7</ele> <time>2016-11-15T00:44:59Z</time> </trkpt> <trkpt lat="12.8920750" lon="77.5930980"> <ele>920.6</ele> <time>2016-11-15T00:45:01Z</time> </trkpt> <trkpt lat="12.8921120" lon="77.5931090"> <ele>920.6</ele> <time>2016-11-15T00:45:03Z</time> </trkpt> <trkpt lat="12.8921650" lon="77.5931320"> <ele>920.6</ele> <time>2016-11-15T00:45:05Z</time> </trkpt> <trkpt lat="12.8922040" lon="77.5931450"> <ele>920.6</ele> <time>2016-11-15T00:45:07Z</time> </trkpt> <trkpt lat="12.8922370" lon="77.5931760"> <ele>920.6</ele> <time>2016-11-15T00:45:10Z</time> </trkpt> <trkpt lat="12.8922630" lon="77.5932040"> <ele>920.6</ele> <time>2016-11-15T00:45:12Z</time> </trkpt> <trkpt lat="12.8922920" lon="77.5932370"> <ele>920.6</ele> <time>2016-11-15T00:45:14Z</time> </trkpt> <trkpt lat="12.8923170" lon="77.5932740"> <ele>920.5</ele> <time>2016-11-15T00:45:16Z</time> </trkpt> <trkpt lat="12.8923310" lon="77.5932980"> <ele>920.5</ele> <time>2016-11-15T00:45:18Z</time> </trkpt> <trkpt lat="12.8923610" lon="77.5933350"> <ele>920.5</ele> <time>2016-11-15T00:45:20Z</time> </trkpt> <trkpt lat="12.8923770" lon="77.5933610"> <ele>920.5</ele> <time>2016-11-15T00:45:21Z</time> </trkpt> <trkpt lat="12.8923980" lon="77.5933920"> <ele>920.5</ele> <time>2016-11-15T00:45:22Z</time> </trkpt> <trkpt lat="12.8924270" lon="77.5934240"> <ele>920.4</ele> <time>2016-11-15T00:45:24Z</time> </trkpt> <trkpt lat="12.8924460" lon="77.5934560"> <ele>920.4</ele> <time>2016-11-15T00:45:27Z</time> </trkpt> <trkpt lat="12.8924660" lon="77.5934840"> <ele>920.4</ele> <time>2016-11-15T00:45:29Z</time> </trkpt> <trkpt lat="12.8924970" lon="77.5935220"> <ele>920.4</ele> <time>2016-11-15T00:45:31Z</time> </trkpt> <trkpt lat="12.8925370" lon="77.5935670"> <ele>920.4</ele> <time>2016-11-15T00:45:33Z</time> </trkpt> <trkpt lat="12.8925570" lon="77.5935940"> <ele>920.4</ele> <time>2016-11-15T00:45:34Z</time> </trkpt> <trkpt lat="12.8925820" lon="77.5936180"> <ele>920.4</ele> <time>2016-11-15T00:45:35Z</time> </trkpt> <trkpt lat="12.8926060" lon="77.5936360"> <ele>920.4</ele> <time>2016-11-15T00:45:36Z</time> </trkpt> <trkpt lat="12.8926310" lon="77.5936530"> <ele>920.5</ele> <time>2016-11-15T00:45:37Z</time> </trkpt> <trkpt lat="12.8926570" lon="77.5936750"> <ele>920.5</ele> <time>2016-11-15T00:45:38Z</time> </trkpt> <trkpt lat="12.8926800" lon="77.5936940"> <ele>920.5</ele> <time>2016-11-15T00:45:39Z</time> </trkpt> <trkpt lat="12.8927050" lon="77.5937130"> <ele>920.5</ele> <time>2016-11-15T00:45:40Z</time> </trkpt> <trkpt lat="12.8927250" lon="77.5937320"> <ele>920.6</ele> <time>2016-11-15T00:45:41Z</time> </trkpt> <trkpt lat="12.8927650" lon="77.5937650"> <ele>920.6</ele> <time>2016-11-15T00:45:43Z</time> </trkpt> <trkpt lat="12.8927910" lon="77.5937770"> <ele>920.7</ele> <time>2016-11-15T00:45:44Z</time> </trkpt> <trkpt lat="12.8928320" lon="77.5937950"> <ele>920.7</ele> <time>2016-11-15T00:45:46Z</time> </trkpt> <trkpt lat="12.8928820" lon="77.5938140"> <ele>920.8</ele> <time>2016-11-15T00:45:48Z</time> </trkpt> <trkpt lat="12.8929240" lon="77.5938380"> <ele>920.9</ele> <time>2016-11-15T00:45:50Z</time> </trkpt> <trkpt lat="12.8929480" lon="77.5938530"> <ele>920.7</ele> <time>2016-11-15T00:45:51Z</time> </trkpt> <trkpt lat="12.8929850" lon="77.5938650"> <ele>920.6</ele> <time>2016-11-15T00:45:53Z</time> </trkpt> <trkpt lat="12.8930140" lon="77.5938640"> <ele>920.5</ele> <time>2016-11-15T00:45:55Z</time> </trkpt> <trkpt lat="12.8930610" lon="77.5938620"> <ele>920.3</ele> <time>2016-11-15T00:45:57Z</time> </trkpt> <trkpt lat="12.8931000" lon="77.5938710"> <ele>920.1</ele> <time>2016-11-15T00:45:59Z</time> </trkpt> <trkpt lat="12.8931370" lon="77.5938850"> <ele>920.0</ele> <time>2016-11-15T00:46:00Z</time> </trkpt> <trkpt lat="12.8931690" lon="77.5939080"> <ele>919.8</ele> <time>2016-11-15T00:46:01Z</time> </trkpt> <trkpt lat="12.8931980" lon="77.5939330"> <ele>919.7</ele> <time>2016-11-15T00:46:02Z</time> </trkpt> <trkpt lat="12.8932410" lon="77.5939550"> <ele>919.6</ele> <time>2016-11-15T00:46:04Z</time> </trkpt> <trkpt lat="12.8932760" lon="77.5939690"> <ele>919.5</ele> <time>2016-11-15T00:46:06Z</time> </trkpt> <trkpt lat="12.8933050" lon="77.5939840"> <ele>919.4</ele> <time>2016-11-15T00:46:07Z</time> </trkpt> <trkpt lat="12.8933360" lon="77.5939960"> <ele>919.3</ele> <time>2016-11-15T00:46:08Z</time> </trkpt> <trkpt lat="12.8933670" lon="77.5940060"> <ele>919.2</ele> <time>2016-11-15T00:46:09Z</time> </trkpt> <trkpt lat="12.8933970" lon="77.5940170"> <ele>919.1</ele> <time>2016-11-15T00:46:10Z</time> </trkpt> <trkpt lat="12.8934240" lon="77.5940280"> <ele>919.0</ele> <time>2016-11-15T00:46:11Z</time> </trkpt> <trkpt lat="12.8934500" lon="77.5940370"> <ele>919.0</ele> <time>2016-11-15T00:46:12Z</time> </trkpt> <trkpt lat="12.8934750" lon="77.5940550"> <ele>918.9</ele> <time>2016-11-15T00:46:14Z</time> </trkpt> <trkpt lat="12.8935070" lon="77.5940800"> <ele>918.9</ele> <time>2016-11-15T00:46:16Z</time> </trkpt> <trkpt lat="12.8935400" lon="77.5941030"> <ele>918.9</ele> <time>2016-11-15T00:46:18Z</time> </trkpt> <trkpt lat="12.8935850" lon="77.5941270"> <ele>918.8</ele> <time>2016-11-15T00:46:20Z</time> </trkpt> <trkpt lat="12.8936160" lon="77.5941460"> <ele>918.8</ele> <time>2016-11-15T00:46:21Z</time> </trkpt> <trkpt lat="12.8936440" lon="77.5941520"> <ele>918.7</ele> <time>2016-11-15T00:46:23Z</time> </trkpt> <trkpt lat="12.8936820" lon="77.5941470"> <ele>918.6</ele> <time>2016-11-15T00:46:25Z</time> </trkpt> <trkpt lat="12.8937360" lon="77.5941550"> <ele>918.5</ele> <time>2016-11-15T00:46:27Z</time> </trkpt> <trkpt lat="12.8937740" lon="77.5941660"> <ele>918.5</ele> <time>2016-11-15T00:46:28Z</time> </trkpt> <trkpt lat="12.8938190" lon="77.5941840"> <ele>918.5</ele> <time>2016-11-15T00:46:30Z</time> </trkpt> <trkpt lat="12.8938580" lon="77.5942050"> <ele>918.6</ele> <time>2016-11-15T00:46:32Z</time> </trkpt> <trkpt lat="12.8938880" lon="77.5942140"> <ele>918.6</ele> <time>2016-11-15T00:46:33Z</time> </trkpt> <trkpt lat="12.8939210" lon="77.5942440"> <ele>918.6</ele> <time>2016-11-15T00:46:35Z</time> </trkpt> <trkpt lat="12.8939520" lon="77.5942780"> <ele>918.7</ele> <time>2016-11-15T00:46:37Z</time> </trkpt> <trkpt lat="12.8939820" lon="77.5942930"> <ele>918.7</ele> <time>2016-11-15T00:46:38Z</time> </trkpt> <trkpt lat="12.8940330" lon="77.5943170"> <ele>918.7</ele> <time>2016-11-15T00:46:40Z</time> </trkpt> <trkpt lat="12.8940640" lon="77.5943350"> <ele>918.7</ele> <time>2016-11-15T00:46:41Z</time> </trkpt> <trkpt lat="12.8940880" lon="77.5943500"> <ele>918.7</ele> <time>2016-11-15T00:46:42Z</time> </trkpt> <trkpt lat="12.8941140" lon="77.5943700"> <ele>918.7</ele> <time>2016-11-15T00:46:43Z</time> </trkpt> <trkpt lat="12.8941420" lon="77.5943840"> <ele>918.7</ele> <time>2016-11-15T00:46:44Z</time> </trkpt> <trkpt lat="12.8941690" lon="77.5943910"> <ele>918.7</ele> <time>2016-11-15T00:46:45Z</time> </trkpt> <trkpt lat="12.8942000" lon="77.5944030"> <ele>918.6</ele> <time>2016-11-15T00:46:47Z</time> </trkpt> <trkpt lat="12.8942200" lon="77.5944380"> <ele>918.6</ele> <time>2016-11-15T00:46:49Z</time> </trkpt> <trkpt lat="12.8942380" lon="77.5944760"> <ele>918.7</ele> <time>2016-11-15T00:46:51Z</time> </trkpt> <trkpt lat="12.8942630" lon="77.5945160"> <ele>918.7</ele> <time>2016-11-15T00:46:53Z</time> </trkpt> <trkpt lat="12.8942780" lon="77.5945420"> <ele>918.7</ele> <time>2016-11-15T00:46:54Z</time> </trkpt> <trkpt lat="12.8943000" lon="77.5945760"> <ele>918.7</ele> <time>2016-11-15T00:46:56Z</time> </trkpt> <trkpt lat="12.8943180" lon="77.5945970"> <ele>918.6</ele> <time>2016-11-15T00:46:57Z</time> </trkpt> <trkpt lat="12.8943560" lon="77.5946330"> <ele>918.3</ele> <time>2016-11-15T00:46:59Z</time> </trkpt> <trkpt lat="12.8943880" lon="77.5946540"> <ele>918.2</ele> <time>2016-11-15T00:47:00Z</time> </trkpt> <trkpt lat="12.8944180" lon="77.5946650"> <ele>918.1</ele> <time>2016-11-15T00:47:01Z</time> </trkpt> <trkpt lat="12.8944540" lon="77.5946740"> <ele>918.0</ele> <time>2016-11-15T00:47:02Z</time> </trkpt> <trkpt lat="12.8944830" lon="77.5946850"> <ele>917.9</ele> <time>2016-11-15T00:47:03Z</time> </trkpt> <trkpt lat="12.8945150" lon="77.5946990"> <ele>917.8</ele> <time>2016-11-15T00:47:04Z</time> </trkpt> <trkpt lat="12.8945500" lon="77.5947120"> <ele>917.7</ele> <time>2016-11-15T00:47:05Z</time> </trkpt> <trkpt lat="12.8945870" lon="77.5947290"> <ele>917.6</ele> <time>2016-11-15T00:47:06Z</time> </trkpt> <trkpt lat="12.8946140" lon="77.5947430"> <ele>917.5</ele> <time>2016-11-15T00:47:07Z</time> </trkpt> <trkpt lat="12.8946410" lon="77.5947550"> <ele>917.3</ele> <time>2016-11-15T00:47:08Z</time> </trkpt> <trkpt lat="12.8946890" lon="77.5947710"> <ele>917.0</ele> <time>2016-11-15T00:47:10Z</time> </trkpt> <trkpt lat="12.8947310" lon="77.5947900"> <ele>916.7</ele> <time>2016-11-15T00:47:12Z</time> </trkpt> <trkpt lat="12.8947670" lon="77.5948020"> <ele>916.5</ele> <time>2016-11-15T00:47:14Z</time> </trkpt> <trkpt lat="12.8948050" lon="77.5948100"> <ele>916.3</ele> <time>2016-11-15T00:47:15Z</time> </trkpt> <trkpt lat="12.8948540" lon="77.5948220"> <ele>916.1</ele> <time>2016-11-15T00:47:16Z</time> </trkpt> <trkpt lat="12.8948980" lon="77.5948340"> <ele>915.9</ele> <time>2016-11-15T00:47:17Z</time> </trkpt> <trkpt lat="12.8949400" lon="77.5948430"> <ele>915.6</ele> <time>2016-11-15T00:47:18Z</time> </trkpt> <trkpt lat="12.8949810" lon="77.5948530"> <ele>915.4</ele> <time>2016-11-15T00:47:19Z</time> </trkpt> <trkpt lat="12.8950120" lon="77.5948530"> <ele>915.3</ele> <time>2016-11-15T00:47:20Z</time> </trkpt> <trkpt lat="12.8950410" lon="77.5948530"> <ele>915.1</ele> <time>2016-11-15T00:47:21Z</time> </trkpt> <trkpt lat="12.8950890" lon="77.5948600"> <ele>914.9</ele> <time>2016-11-15T00:47:23Z</time> </trkpt> <trkpt lat="12.8951350" lon="77.5948600"> <ele>914.7</ele> <time>2016-11-15T00:47:25Z</time> </trkpt> <trkpt lat="12.8951830" lon="77.5948440"> <ele>914.5</ele> <time>2016-11-15T00:47:27Z</time> </trkpt> <trkpt lat="12.8952250" lon="77.5948200"> <ele>914.2</ele> <time>2016-11-15T00:47:29Z</time> </trkpt> <trkpt lat="12.8952620" lon="77.5947840"> <ele>914.0</ele> <time>2016-11-15T00:47:31Z</time> </trkpt> <trkpt lat="12.8952670" lon="77.5947560"> <ele>914.0</ele> <time>2016-11-15T00:47:32Z</time> </trkpt> <trkpt lat="12.8952650" lon="77.5947260"> <ele>914.0</ele> <time>2016-11-15T00:47:33Z</time> </trkpt> <trkpt lat="12.8952580" lon="77.5946870"> <ele>914.0</ele> <time>2016-11-15T00:47:35Z</time> </trkpt> <trkpt lat="12.8952570" lon="77.5946520"> <ele>914.0</ele> <time>2016-11-15T00:47:37Z</time> </trkpt> <trkpt lat="12.8952610" lon="77.5946070"> <ele>913.9</ele> <time>2016-11-15T00:47:39Z</time> </trkpt> <trkpt lat="12.8952670" lon="77.5945690"> <ele>913.9</ele> <time>2016-11-15T00:47:41Z</time> </trkpt> <trkpt lat="12.8952730" lon="77.5945250"> <ele>914.0</ele> <time>2016-11-15T00:47:43Z</time> </trkpt> <trkpt lat="12.8952830" lon="77.5944800"> <ele>914.0</ele> <time>2016-11-15T00:47:46Z</time> </trkpt> <trkpt lat="12.8952860" lon="77.5944460"> <ele>914.1</ele> <time>2016-11-15T00:47:48Z</time> </trkpt> <trkpt lat="12.8952830" lon="77.5944170"> <ele>914.1</ele> <time>2016-11-15T00:47:49Z</time> </trkpt> <trkpt lat="12.8952860" lon="77.5943790"> <ele>914.2</ele> <time>2016-11-15T00:47:51Z</time> </trkpt> <trkpt lat="12.8952910" lon="77.5943290"> <ele>914.3</ele> <time>2016-11-15T00:47:53Z</time> </trkpt> <trkpt lat="12.8953060" lon="77.5942890"> <ele>914.3</ele> <time>2016-11-15T00:47:54Z</time> </trkpt> <trkpt lat="12.8953010" lon="77.5942530"> <ele>914.4</ele> <time>2016-11-15T00:47:55Z</time> </trkpt> <trkpt lat="12.8952920" lon="77.5942030"> <ele>914.5</ele> <time>2016-11-15T00:47:57Z</time> </trkpt> <trkpt lat="12.8952980" lon="77.5941550"> <ele>914.6</ele> <time>2016-11-15T00:47:59Z</time> </trkpt> <trkpt lat="12.8953020" lon="77.5941100"> <ele>914.7</ele> <time>2016-11-15T00:48:01Z</time> </trkpt> <trkpt lat="12.8953100" lon="77.5940650"> <ele>914.7</ele> <time>2016-11-15T00:48:03Z</time> </trkpt> <trkpt lat="12.8953250" lon="77.5940330"> <ele>914.7</ele> <time>2016-11-15T00:48:04Z</time> </trkpt> <trkpt lat="12.8953440" lon="77.5939800"> <ele>914.8</ele> <time>2016-11-15T00:48:05Z</time> </trkpt> <trkpt lat="12.8953610" lon="77.5939370"> <ele>914.8</ele> <time>2016-11-15T00:48:06Z</time> </trkpt> <trkpt lat="12.8953680" lon="77.5939000"> <ele>914.8</ele> <time>2016-11-15T00:48:07Z</time> </trkpt> <trkpt lat="12.8953700" lon="77.5938620"> <ele>914.9</ele> <time>2016-11-15T00:48:08Z</time> </trkpt> <trkpt lat="12.8953700" lon="77.5938300"> <ele>915.0</ele> <time>2016-11-15T00:48:09Z</time> </trkpt> <trkpt lat="12.8953720" lon="77.5937860"> <ele>915.1</ele> <time>2016-11-15T00:48:10Z</time> </trkpt> <trkpt lat="12.8953800" lon="77.5937460"> <ele>915.2</ele> <time>2016-11-15T00:48:11Z</time> </trkpt> <trkpt lat="12.8953880" lon="77.5937110"> <ele>915.3</ele> <time>2016-11-15T00:48:12Z</time> </trkpt> <trkpt lat="12.8953870" lon="77.5936830"> <ele>915.4</ele> <time>2016-11-15T00:48:13Z</time> </trkpt> <trkpt lat="12.8953810" lon="77.5936530"> <ele>915.6</ele> <time>2016-11-15T00:48:14Z</time> </trkpt> <trkpt lat="12.8953810" lon="77.5936020"> <ele>915.8</ele> <time>2016-11-15T00:48:16Z</time> </trkpt> <trkpt lat="12.8953790" lon="77.5935530"> <ele>916.1</ele> <time>2016-11-15T00:48:18Z</time> </trkpt> <trkpt lat="12.8953750" lon="77.5935140"> <ele>916.3</ele> <time>2016-11-15T00:48:20Z</time> </trkpt> <trkpt lat="12.8953740" lon="77.5934810"> <ele>916.4</ele> <time>2016-11-15T00:48:22Z</time> </trkpt> <trkpt lat="12.8953720" lon="77.5934370"> <ele>916.7</ele> <time>2016-11-15T00:48:24Z</time> </trkpt> <trkpt lat="12.8953680" lon="77.5934080"> <ele>916.8</ele> <time>2016-11-15T00:48:25Z</time> </trkpt> <trkpt lat="12.8953650" lon="77.5933780"> <ele>917.0</ele> <time>2016-11-15T00:48:26Z</time> </trkpt> <trkpt lat="12.8953670" lon="77.5933500"> <ele>917.1</ele> <time>2016-11-15T00:48:27Z</time> </trkpt> <trkpt lat="12.8953760" lon="77.5933040"> <ele>917.3</ele> <time>2016-11-15T00:48:29Z</time> </trkpt> <trkpt lat="12.8953840" lon="77.5932510"> <ele>917.5</ele> <time>2016-11-15T00:48:31Z</time> </trkpt> <trkpt lat="12.8953870" lon="77.5932080"> <ele>917.7</ele> <time>2016-11-15T00:48:33Z</time> </trkpt> <trkpt lat="12.8953870" lon="77.5931730"> <ele>917.9</ele> <time>2016-11-15T00:48:35Z</time> </trkpt> <trkpt lat="12.8953860" lon="77.5931450"> <ele>918.0</ele> <time>2016-11-15T00:48:37Z</time> </trkpt> <trkpt lat="12.8953870" lon="77.5931090"> <ele>918.2</ele> <time>2016-11-15T00:48:39Z</time> </trkpt> <trkpt lat="12.8953940" lon="77.5930700"> <ele>918.3</ele> <time>2016-11-15T00:48:41Z</time> </trkpt> <trkpt lat="12.8953910" lon="77.5930320"> <ele>918.5</ele> <time>2016-11-15T00:48:43Z</time> </trkpt> <trkpt lat="12.8953920" lon="77.5929780"> <ele>918.8</ele> <time>2016-11-15T00:48:45Z</time> </trkpt> <trkpt lat="12.8953840" lon="77.5929260"> <ele>919.1</ele> <time>2016-11-15T00:48:47Z</time> </trkpt> <trkpt lat="12.8953750" lon="77.5928780"> <ele>919.1</ele> <time>2016-11-15T00:48:49Z</time> </trkpt> <trkpt lat="12.8953650" lon="77.5928290"> <ele>919.2</ele> <time>2016-11-15T00:48:51Z</time> </trkpt> <trkpt lat="12.8953670" lon="77.5927820"> <ele>919.2</ele> <time>2016-11-15T00:48:53Z</time> </trkpt> <trkpt lat="12.8953660" lon="77.5927510"> <ele>919.2</ele> <time>2016-11-15T00:48:55Z</time> </trkpt> <trkpt lat="12.8953630" lon="77.5927050"> <ele>919.2</ele> <time>2016-11-15T00:48:57Z</time> </trkpt> <trkpt lat="12.8953590" lon="77.5926540"> <ele>919.2</ele> <time>2016-11-15T00:48:59Z</time> </trkpt> <trkpt lat="12.8953580" lon="77.5926070"> <ele>919.2</ele> <time>2016-11-15T00:49:01Z</time> </trkpt> <trkpt lat="12.8953610" lon="77.5925590"> <ele>919.2</ele> <time>2016-11-15T00:49:03Z</time> </trkpt> <trkpt lat="12.8953650" lon="77.5925240"> <ele>919.2</ele> <time>2016-11-15T00:49:05Z</time> </trkpt> <trkpt lat="12.8953720" lon="77.5924840"> <ele>919.2</ele> <time>2016-11-15T00:49:07Z</time> </trkpt> <trkpt lat="12.8953730" lon="77.5924380"> <ele>919.2</ele> <time>2016-11-15T00:49:09Z</time> </trkpt> <trkpt lat="12.8953740" lon="77.5924080"> <ele>919.2</ele> <time>2016-11-15T00:49:10Z</time> </trkpt> <trkpt lat="12.8953750" lon="77.5923630"> <ele>919.1</ele> <time>2016-11-15T00:49:12Z</time> </trkpt> <trkpt lat="12.8953830" lon="77.5923240"> <ele>919.1</ele> <time>2016-11-15T00:49:14Z</time> </trkpt> <trkpt lat="12.8954020" lon="77.5922810"> <ele>919.1</ele> <time>2016-11-15T00:49:16Z</time> </trkpt> <trkpt lat="12.8954330" lon="77.5922500"> <ele>918.9</ele> <time>2016-11-15T00:49:18Z</time> </trkpt> <trkpt lat="12.8954770" lon="77.5922410"> <ele>918.7</ele> <time>2016-11-15T00:49:20Z</time> </trkpt> <trkpt lat="12.8955280" lon="77.5922430"> <ele>918.4</ele> <time>2016-11-15T00:49:22Z</time> </trkpt> <trkpt lat="12.8955550" lon="77.5922490"> <ele>918.2</ele> <time>2016-11-15T00:49:23Z</time> </trkpt> <trkpt lat="12.8955850" lon="77.5922540"> <ele>918.0</ele> <time>2016-11-15T00:49:24Z</time> </trkpt> <trkpt lat="12.8956350" lon="77.5922550"> <ele>917.7</ele> <time>2016-11-15T00:49:26Z</time> </trkpt> <trkpt lat="12.8956650" lon="77.5922560"> <ele>917.6</ele> <time>2016-11-15T00:49:27Z</time> </trkpt> <trkpt lat="12.8956960" lon="77.5922550"> <ele>917.4</ele> <time>2016-11-15T00:49:28Z</time> </trkpt> <trkpt lat="12.8957430" lon="77.5922650"> <ele>917.1</ele> <time>2016-11-15T00:49:30Z</time> </trkpt> <trkpt lat="12.8957860" lon="77.5922680"> <ele>916.9</ele> <time>2016-11-15T00:49:32Z</time> </trkpt> <trkpt lat="12.8958180" lon="77.5922660"> <ele>916.7</ele> <time>2016-11-15T00:49:33Z</time> </trkpt> <trkpt lat="12.8958510" lon="77.5922660"> <ele>916.5</ele> <time>2016-11-15T00:49:34Z</time> </trkpt> <trkpt lat="12.8958940" lon="77.5922730"> <ele>916.3</ele> <time>2016-11-15T00:49:36Z</time> </trkpt> <trkpt lat="12.8959410" lon="77.5922780"> <ele>916.0</ele> <time>2016-11-15T00:49:38Z</time> </trkpt> <trkpt lat="12.8959870" lon="77.5922800"> <ele>915.7</ele> <time>2016-11-15T00:49:40Z</time> </trkpt> <trkpt lat="12.8960200" lon="77.5922830"> <ele>915.6</ele> <time>2016-11-15T00:49:41Z</time> </trkpt> <trkpt lat="12.8960600" lon="77.5922880"> <ele>915.3</ele> <time>2016-11-15T00:49:42Z</time> </trkpt> <trkpt lat="12.8960960" lon="77.5922910"> <ele>915.1</ele> <time>2016-11-15T00:49:43Z</time> </trkpt> <trkpt lat="12.8961280" lon="77.5922900"> <ele>914.9</ele> <time>2016-11-15T00:49:44Z</time> </trkpt> <trkpt lat="12.8961560" lon="77.5922940"> <ele>914.8</ele> <time>2016-11-15T00:49:45Z</time> </trkpt> <trkpt lat="12.8961980" lon="77.5922910"> <ele>914.5</ele> <time>2016-11-15T00:49:47Z</time> </trkpt> <trkpt lat="12.8962510" lon="77.5922850"> <ele>914.2</ele> <time>2016-11-15T00:49:49Z</time> </trkpt> <trkpt lat="12.8962960" lon="77.5922750"> <ele>914.1</ele> <time>2016-11-15T00:49:50Z</time> </trkpt> <trkpt lat="12.8963450" lon="77.5922750"> <ele>913.9</ele> <time>2016-11-15T00:49:52Z</time> </trkpt> <trkpt lat="12.8963860" lon="77.5922730"> <ele>913.7</ele> <time>2016-11-15T00:49:53Z</time> </trkpt> <trkpt lat="12.8964210" lon="77.5922680"> <ele>913.6</ele> <time>2016-11-15T00:49:54Z</time> </trkpt> <trkpt lat="12.8964610" lon="77.5922590"> <ele>913.4</ele> <time>2016-11-15T00:49:55Z</time> </trkpt> <trkpt lat="12.8965060" lon="77.5922490"> <ele>913.2</ele> <time>2016-11-15T00:49:56Z</time> </trkpt> <trkpt lat="12.8965490" lon="77.5922390"> <ele>913.0</ele> <time>2016-11-15T00:49:57Z</time> </trkpt> <trkpt lat="12.8965800" lon="77.5922390"> <ele>912.9</ele> <time>2016-11-15T00:49:58Z</time> </trkpt> <trkpt lat="12.8966110" lon="77.5922450"> <ele>912.8</ele> <time>2016-11-15T00:49:59Z</time> </trkpt> <trkpt lat="12.8966440" lon="77.5922480"> <ele>912.7</ele> <time>2016-11-15T00:50:00Z</time> </trkpt> <trkpt lat="12.8966740" lon="77.5922490"> <ele>912.6</ele> <time>2016-11-15T00:50:01Z</time> </trkpt> <trkpt lat="12.8967060" lon="77.5922510"> <ele>912.4</ele> <time>2016-11-15T00:50:02Z</time> </trkpt> <trkpt lat="12.8967340" lon="77.5922500"> <ele>912.3</ele> <time>2016-11-15T00:50:03Z</time> </trkpt> <trkpt lat="12.8967640" lon="77.5922460"> <ele>912.2</ele> <time>2016-11-15T00:50:04Z</time> </trkpt> <trkpt lat="12.8967920" lon="77.5922360"> <ele>912.1</ele> <time>2016-11-15T00:50:05Z</time> </trkpt> <trkpt lat="12.8968250" lon="77.5922320"> <ele>912.0</ele> <time>2016-11-15T00:50:06Z</time> </trkpt> <trkpt lat="12.8968670" lon="77.5922260"> <ele>911.8</ele> <time>2016-11-15T00:50:08Z</time> </trkpt> <trkpt lat="12.8969060" lon="77.5922220"> <ele>911.7</ele> <time>2016-11-15T00:50:09Z</time> </trkpt> <trkpt lat="12.8969410" lon="77.5922250"> <ele>911.5</ele> <time>2016-11-15T00:50:10Z</time> </trkpt> <trkpt lat="12.8969690" lon="77.5922230"> <ele>911.4</ele> <time>2016-11-15T00:50:11Z</time> </trkpt> <trkpt lat="12.8970180" lon="77.5922300"> <ele>911.2</ele> <time>2016-11-15T00:50:13Z</time> </trkpt> <trkpt lat="12.8970670" lon="77.5922310"> <ele>911.1</ele> <time>2016-11-15T00:50:15Z</time> </trkpt> <trkpt lat="12.8971100" lon="77.5922170"> <ele>910.9</ele> <time>2016-11-15T00:50:17Z</time> </trkpt> <trkpt lat="12.8971580" lon="77.5922040"> <ele>910.8</ele> <time>2016-11-15T00:50:19Z</time> </trkpt> <trkpt lat="12.8971980" lon="77.5921760"> <ele>910.7</ele> <time>2016-11-15T00:50:21Z</time> </trkpt> <trkpt lat="12.8972180" lon="77.5921410"> <ele>910.7</ele> <time>2016-11-15T00:50:23Z</time> </trkpt> <trkpt lat="12.8972310" lon="77.5921150"> <ele>910.7</ele> <time>2016-11-15T00:50:24Z</time> </trkpt> <trkpt lat="12.8972380" lon="77.5920740"> <ele>910.6</ele> <time>2016-11-15T00:50:26Z</time> </trkpt> <trkpt lat="12.8972390" lon="77.5920330"> <ele>910.7</ele> <time>2016-11-15T00:50:28Z</time> </trkpt> <trkpt lat="12.8972490" lon="77.5919790"> <ele>910.7</ele> <time>2016-11-15T00:50:30Z</time> </trkpt> <trkpt lat="12.8972560" lon="77.5919480"> <ele>910.7</ele> <time>2016-11-15T00:50:31Z</time> </trkpt> <trkpt lat="12.8972620" lon="77.5919190"> <ele>910.8</ele> <time>2016-11-15T00:50:32Z</time> </trkpt> <trkpt lat="12.8972700" lon="77.5918900"> <ele>910.8</ele> <time>2016-11-15T00:50:33Z</time> </trkpt> <trkpt lat="12.8972780" lon="77.5918610"> <ele>910.8</ele> <time>2016-11-15T00:50:34Z</time> </trkpt> <trkpt lat="12.8972890" lon="77.5918300"> <ele>910.8</ele> <time>2016-11-15T00:50:35Z</time> </trkpt> <trkpt lat="12.8973000" lon="77.5917990"> <ele>910.8</ele> <time>2016-11-15T00:50:36Z</time> </trkpt> <trkpt lat="12.8973220" lon="77.5917430"> <ele>910.8</ele> <time>2016-11-15T00:50:38Z</time> </trkpt> <trkpt lat="12.8973360" lon="77.5916940"> <ele>910.9</ele> <time>2016-11-15T00:50:40Z</time> </trkpt> <trkpt lat="12.8973550" lon="77.5916570"> <ele>910.9</ele> <time>2016-11-15T00:50:42Z</time> </trkpt> <trkpt lat="12.8973760" lon="77.5916100"> <ele>910.9</ele> <time>2016-11-15T00:50:44Z</time> </trkpt> <trkpt lat="12.8973910" lon="77.5915590"> <ele>910.9</ele> <time>2016-11-15T00:50:46Z</time> </trkpt> <trkpt lat="12.8973930" lon="77.5915260"> <ele>910.9</ele> <time>2016-11-15T00:50:48Z</time> </trkpt> <trkpt lat="12.8973930" lon="77.5914870"> <ele>911.0</ele> <time>2016-11-15T00:50:50Z</time> </trkpt> <trkpt lat="12.8973960" lon="77.5914370"> <ele>911.0</ele> <time>2016-11-15T00:50:52Z</time> </trkpt> <trkpt lat="12.8973950" lon="77.5913860"> <ele>911.1</ele> <time>2016-11-15T00:50:54Z</time> </trkpt> <trkpt lat="12.8973910" lon="77.5913330"> <ele>911.2</ele> <time>2016-11-15T00:50:56Z</time> </trkpt> <trkpt lat="12.8973870" lon="77.5912830"> <ele>911.2</ele> <time>2016-11-15T00:50:58Z</time> </trkpt> <trkpt lat="12.8973820" lon="77.5912520"> <ele>911.3</ele> <time>2016-11-15T00:50:59Z</time> </trkpt> <trkpt lat="12.8973770" lon="77.5912070"> <ele>911.3</ele> <time>2016-11-15T00:51:01Z</time> </trkpt> <trkpt lat="12.8973720" lon="77.5911710"> <ele>911.2</ele> <time>2016-11-15T00:51:02Z</time> </trkpt> <trkpt lat="12.8973650" lon="77.5911310"> <ele>911.2</ele> <time>2016-11-15T00:51:03Z</time> </trkpt> <trkpt lat="12.8973590" lon="77.5910940"> <ele>911.2</ele> <time>2016-11-15T00:51:04Z</time> </trkpt> <trkpt lat="12.8973550" lon="77.5910610"> <ele>911.2</ele> <time>2016-11-15T00:51:05Z</time> </trkpt> <trkpt lat="12.8973480" lon="77.5910080"> <ele>911.2</ele> <time>2016-11-15T00:51:07Z</time> </trkpt> <trkpt lat="12.8973460" lon="77.5909740"> <ele>911.1</ele> <time>2016-11-15T00:51:08Z</time> </trkpt> <trkpt lat="12.8973440" lon="77.5909430"> <ele>911.1</ele> <time>2016-11-15T00:51:09Z</time> </trkpt> <trkpt lat="12.8973440" lon="77.5909120"> <ele>911.1</ele> <time>2016-11-15T00:51:10Z</time> </trkpt> <trkpt lat="12.8973560" lon="77.5908780"> <ele>911.0</ele> <time>2016-11-15T00:51:12Z</time> </trkpt> <trkpt lat="12.8973630" lon="77.5909180"> <ele>911.1</ele> <time>2016-11-15T00:51:14Z</time> </trkpt> <trkpt lat="12.8973710" lon="77.5909660"> <ele>911.1</ele> <time>2016-11-15T00:51:16Z</time> </trkpt> <trkpt lat="12.8973900" lon="77.5910030"> <ele>911.1</ele> <time>2016-11-15T00:51:18Z</time> </trkpt> <trkpt lat="12.8973970" lon="77.5910360"> <ele>911.1</ele> <time>2016-11-15T00:51:19Z</time> </trkpt> <trkpt lat="12.8974050" lon="77.5910630"> <ele>911.1</ele> <time>2016-11-15T00:51:20Z</time> </trkpt> <trkpt lat="12.8974120" lon="77.5911070"> <ele>911.1</ele> <time>2016-11-15T00:51:22Z</time> </trkpt> <trkpt lat="12.8974130" lon="77.5911540"> <ele>911.1</ele> <time>2016-11-15T00:51:24Z</time> </trkpt> <trkpt lat="12.8974250" lon="77.5911920"> <ele>911.1</ele> <time>2016-11-15T00:51:26Z</time> </trkpt> <trkpt lat="12.8974350" lon="77.5912410"> <ele>911.1</ele> <time>2016-11-15T00:51:28Z</time> </trkpt> <trkpt lat="12.8974300" lon="77.5912910"> <ele>911.1</ele> <time>2016-11-15T00:51:30Z</time> </trkpt> <trkpt lat="12.8974250" lon="77.5913220"> <ele>911.1</ele> <time>2016-11-15T00:51:31Z</time> </trkpt> <trkpt lat="12.8974210" lon="77.5913530"> <ele>911.1</ele> <time>2016-11-15T00:51:32Z</time> </trkpt> <trkpt lat="12.8974200" lon="77.5913980"> <ele>911.0</ele> <time>2016-11-15T00:51:34Z</time> </trkpt> <trkpt lat="12.8974220" lon="77.5914420"> <ele>911.0</ele> <time>2016-11-15T00:51:36Z</time> </trkpt> <trkpt lat="12.8974180" lon="77.5914880"> <ele>910.9</ele> <time>2016-11-15T00:51:38Z</time> </trkpt> <trkpt lat="12.8974000" lon="77.5915370"> <ele>910.9</ele> <time>2016-11-15T00:51:40Z</time> </trkpt> <trkpt lat="12.8973840" lon="77.5915720"> <ele>910.9</ele> <time>2016-11-15T00:51:42Z</time> </trkpt> <trkpt lat="12.8973770" lon="77.5916200"> <ele>910.9</ele> <time>2016-11-15T00:51:45Z</time> </trkpt> <trkpt lat="12.8973730" lon="77.5916470"> <ele>910.8</ele> <time>2016-11-15T00:51:46Z</time> </trkpt> <trkpt lat="12.8973660" lon="77.5916820"> <ele>910.8</ele> <time>2016-11-15T00:51:47Z</time> </trkpt> <trkpt lat="12.8973590" lon="77.5917370"> <ele>910.8</ele> <time>2016-11-15T00:51:49Z</time> </trkpt> <trkpt lat="12.8973560" lon="77.5917730"> <ele>910.7</ele> <time>2016-11-15T00:51:50Z</time> </trkpt> <trkpt lat="12.8973510" lon="77.5918250"> <ele>910.7</ele> <time>2016-11-15T00:51:52Z</time> </trkpt> <trkpt lat="12.8973440" lon="77.5918760"> <ele>910.6</ele> <time>2016-11-15T00:51:54Z</time> </trkpt> <trkpt lat="12.8973350" lon="77.5919260"> <ele>910.6</ele> <time>2016-11-15T00:51:56Z</time> </trkpt> <trkpt lat="12.8973250" lon="77.5919680"> <ele>910.6</ele> <time>2016-11-15T00:51:57Z</time> </trkpt> <trkpt lat="12.8973140" lon="77.5920000"> <ele>910.5</ele> <time>2016-11-15T00:51:58Z</time> </trkpt> <trkpt lat="12.8973050" lon="77.5920310"> <ele>910.5</ele> <time>2016-11-15T00:51:59Z</time> </trkpt> <trkpt lat="12.8972850" lon="77.5920660"> <ele>910.5</ele> <time>2016-11-15T00:52:01Z</time> </trkpt> <trkpt lat="12.8972740" lon="77.5920930"> <ele>910.5</ele> <time>2016-11-15T00:52:03Z</time> </trkpt> <trkpt lat="12.8972530" lon="77.5921280"> <ele>910.6</ele> <time>2016-11-15T00:52:06Z</time> </trkpt> <trkpt lat="12.8972160" lon="77.5921540"> <ele>910.7</ele> <time>2016-11-15T00:52:08Z</time> </trkpt> <trkpt lat="12.8971820" lon="77.5921610"> <ele>910.8</ele> <time>2016-11-15T00:52:10Z</time> </trkpt> <trkpt lat="12.8971440" lon="77.5921660"> <ele>910.9</ele> <time>2016-11-15T00:52:12Z</time> </trkpt> <trkpt lat="12.8970970" lon="77.5921690"> <ele>911.0</ele> <time>2016-11-15T00:52:14Z</time> </trkpt> <trkpt lat="12.8970640" lon="77.5921720"> <ele>911.1</ele> <time>2016-11-15T00:52:15Z</time> </trkpt> <trkpt lat="12.8970130" lon="77.5921670"> <ele>911.3</ele> <time>2016-11-15T00:52:17Z</time> </trkpt> <trkpt lat="12.8969850" lon="77.5921650"> <ele>911.4</ele> <time>2016-11-15T00:52:18Z</time> </trkpt> <trkpt lat="12.8969460" lon="77.5921740"> <ele>911.5</ele> <time>2016-11-15T00:52:20Z</time> </trkpt> <trkpt lat="12.8969040" lon="77.5921680"> <ele>911.7</ele> <time>2016-11-15T00:52:22Z</time> </trkpt> <trkpt lat="12.8968590" lon="77.5921740"> <ele>911.8</ele> <time>2016-11-15T00:52:24Z</time> </trkpt> <trkpt lat="12.8968090" lon="77.5921700"> <ele>912.0</ele> <time>2016-11-15T00:52:26Z</time> </trkpt> <trkpt lat="12.8967800" lon="77.5921720"> <ele>912.1</ele> <time>2016-11-15T00:52:27Z</time> </trkpt> <trkpt lat="12.8967310" lon="77.5921710"> <ele>912.3</ele> <time>2016-11-15T00:52:29Z</time> </trkpt> <trkpt lat="12.8966850" lon="77.5921740"> <ele>912.5</ele> <time>2016-11-15T00:52:31Z</time> </trkpt> <trkpt lat="12.8966430" lon="77.5921810"> <ele>912.6</ele> <time>2016-11-15T00:52:33Z</time> </trkpt> <trkpt lat="12.8965950" lon="77.5921880"> <ele>912.8</ele> <time>2016-11-15T00:52:35Z</time> </trkpt> <trkpt lat="12.8965530" lon="77.5921990"> <ele>913.0</ele> <time>2016-11-15T00:52:37Z</time> </trkpt> <trkpt lat="12.8965060" lon="77.5922060"> <ele>913.2</ele> <time>2016-11-15T00:52:39Z</time> </trkpt> <trkpt lat="12.8964780" lon="77.5922140"> <ele>913.3</ele> <time>2016-11-15T00:52:40Z</time> </trkpt> <trkpt lat="12.8964310" lon="77.5922310"> <ele>913.5</ele> <time>2016-11-15T00:52:42Z</time> </trkpt> <trkpt lat="12.8963830" lon="77.5922460"> <ele>913.7</ele> <time>2016-11-15T00:52:44Z</time> </trkpt> <trkpt lat="12.8963340" lon="77.5922510"> <ele>913.9</ele> <time>2016-11-15T00:52:46Z</time> </trkpt> <trkpt lat="12.8962910" lon="77.5922470"> <ele>914.0</ele> <time>2016-11-15T00:52:48Z</time> </trkpt> <trkpt lat="12.8962630" lon="77.5922450"> <ele>914.1</ele> <time>2016-11-15T00:52:49Z</time> </trkpt> <trkpt lat="12.8962100" lon="77.5922370"> <ele>914.4</ele> <time>2016-11-15T00:52:51Z</time> </trkpt> <trkpt lat="12.8961620" lon="77.5922280"> <ele>914.7</ele> <time>2016-11-15T00:52:53Z</time> </trkpt> <trkpt lat="12.8961140" lon="77.5922310"> <ele>915.0</ele> <time>2016-11-15T00:52:55Z</time> </trkpt> <trkpt lat="12.8960870" lon="77.5922280"> <ele>915.1</ele> <time>2016-11-15T00:52:56Z</time> </trkpt> <trkpt lat="12.8960320" lon="77.5922260"> <ele>915.4</ele> <time>2016-11-15T00:52:58Z</time> </trkpt> <trkpt lat="12.8960030" lon="77.5922260"> <ele>915.6</ele> <time>2016-11-15T00:52:59Z</time> </trkpt> <trkpt lat="12.8959610" lon="77.5922240"> <ele>915.8</ele> <time>2016-11-15T00:53:01Z</time> </trkpt> <trkpt lat="12.8959170" lon="77.5922220"> <ele>916.1</ele> <time>2016-11-15T00:53:03Z</time> </trkpt> <trkpt lat="12.8958890" lon="77.5922210"> <ele>916.3</ele> <time>2016-11-15T00:53:04Z</time> </trkpt> <trkpt lat="12.8958570" lon="77.5922140"> <ele>916.4</ele> <time>2016-11-15T00:53:05Z</time> </trkpt> <trkpt lat="12.8958100" lon="77.5922080"> <ele>916.7</ele> <time>2016-11-15T00:53:07Z</time> </trkpt> <trkpt lat="12.8957670" lon="77.5922080"> <ele>917.0</ele> <time>2016-11-15T00:53:09Z</time> </trkpt> <trkpt lat="12.8957170" lon="77.5922110"> <ele>917.3</ele> <time>2016-11-15T00:53:11Z</time> </trkpt> <trkpt lat="12.8956730" lon="77.5922100"> <ele>917.5</ele> <time>2016-11-15T00:53:13Z</time> </trkpt> <trkpt lat="12.8956320" lon="77.5922030"> <ele>917.7</ele> <time>2016-11-15T00:53:15Z</time> </trkpt> <trkpt lat="12.8955870" lon="77.5921990"> <ele>918.0</ele> <time>2016-11-15T00:53:17Z</time> </trkpt> <trkpt lat="12.8955510" lon="77.5921980"> <ele>918.2</ele> <time>2016-11-15T00:53:19Z</time> </trkpt> <trkpt lat="12.8955160" lon="77.5922020"> <ele>918.4</ele> <time>2016-11-15T00:53:21Z</time> </trkpt> <trkpt lat="12.8954630" lon="77.5922100"> <ele>918.7</ele> <time>2016-11-15T00:53:23Z</time> </trkpt> <trkpt lat="12.8954350" lon="77.5922090"> <ele>918.9</ele> <time>2016-11-15T00:53:24Z</time> </trkpt> <trkpt lat="12.8953840" lon="77.5922110"> <ele>919.1</ele> <time>2016-11-15T00:53:26Z</time> </trkpt> <trkpt lat="12.8953320" lon="77.5922070"> <ele>919.3</ele> <time>2016-11-15T00:53:28Z</time> </trkpt> <trkpt lat="12.8952820" lon="77.5922100"> <ele>919.5</ele> <time>2016-11-15T00:53:30Z</time> </trkpt> <trkpt lat="12.8952320" lon="77.5922060"> <ele>919.7</ele> <time>2016-11-15T00:53:32Z</time> </trkpt> <trkpt lat="12.8951800" lon="77.5922080"> <ele>919.9</ele> <time>2016-11-15T00:53:34Z</time> </trkpt> <trkpt lat="12.8951380" lon="77.5922120"> <ele>920.0</ele> <time>2016-11-15T00:53:36Z</time> </trkpt> <trkpt lat="12.8950890" lon="77.5922140"> <ele>920.2</ele> <time>2016-11-15T00:53:38Z</time> </trkpt> <trkpt lat="12.8950450" lon="77.5922140"> <ele>920.3</ele> <time>2016-11-15T00:53:40Z</time> </trkpt> <trkpt lat="12.8949970" lon="77.5922100"> <ele>920.5</ele> <time>2016-11-15T00:53:42Z</time> </trkpt> <trkpt lat="12.8949520" lon="77.5922060"> <ele>920.7</ele> <time>2016-11-15T00:53:44Z</time> </trkpt> <trkpt lat="12.8949140" lon="77.5922000"> <ele>920.8</ele> <time>2016-11-15T00:53:46Z</time> </trkpt> <trkpt lat="12.8948780" lon="77.5921980"> <ele>920.9</ele> <time>2016-11-15T00:53:48Z</time> </trkpt> <trkpt lat="12.8948400" lon="77.5921980"> <ele>921.1</ele> <time>2016-11-15T00:53:50Z</time> </trkpt> <trkpt lat="12.8947950" lon="77.5921920"> <ele>921.2</ele> <time>2016-11-15T00:53:52Z</time> </trkpt> <trkpt lat="12.8947480" lon="77.5921850"> <ele>921.4</ele> <time>2016-11-15T00:53:54Z</time> </trkpt> <trkpt lat="12.8947000" lon="77.5921900"> <ele>921.6</ele> <time>2016-11-15T00:53:56Z</time> </trkpt> <trkpt lat="12.8946480" lon="77.5921940"> <ele>921.8</ele> <time>2016-11-15T00:53:58Z</time> </trkpt> <trkpt lat="12.8946060" lon="77.5921950"> <ele>921.9</ele> <time>2016-11-15T00:54:00Z</time> </trkpt> <trkpt lat="12.8945690" lon="77.5921910"> <ele>922.0</ele> <time>2016-11-15T00:54:02Z</time> </trkpt> <trkpt lat="12.8945250" lon="77.5921990"> <ele>922.1</ele> <time>2016-11-15T00:54:04Z</time> </trkpt> <trkpt lat="12.8944770" lon="77.5922070"> <ele>922.2</ele> <time>2016-11-15T00:54:06Z</time> </trkpt> <trkpt lat="12.8944270" lon="77.5922180"> <ele>922.3</ele> <time>2016-11-15T00:54:08Z</time> </trkpt> <trkpt lat="12.8943850" lon="77.5922250"> <ele>922.4</ele> <time>2016-11-15T00:54:10Z</time> </trkpt> <trkpt lat="12.8943470" lon="77.5922290"> <ele>922.5</ele> <time>2016-11-15T00:54:12Z</time> </trkpt> <trkpt lat="12.8943080" lon="77.5922350"> <ele>922.5</ele> <time>2016-11-15T00:54:14Z</time> </trkpt> <trkpt lat="12.8942670" lon="77.5922360"> <ele>922.6</ele> <time>2016-11-15T00:54:16Z</time> </trkpt> <trkpt lat="12.8942180" lon="77.5922400"> <ele>922.7</ele> <time>2016-11-15T00:54:18Z</time> </trkpt> <trkpt lat="12.8941750" lon="77.5922300"> <ele>922.8</ele> <time>2016-11-15T00:54:20Z</time> </trkpt> <trkpt lat="12.8941240" lon="77.5922230"> <ele>922.9</ele> <time>2016-11-15T00:54:22Z</time> </trkpt> <trkpt lat="12.8940870" lon="77.5922260"> <ele>923.0</ele> <time>2016-11-15T00:54:24Z</time> </trkpt> <trkpt lat="12.8940600" lon="77.5922280"> <ele>923.0</ele> <time>2016-11-15T00:54:25Z</time> </trkpt> <trkpt lat="12.8940330" lon="77.5922260"> <ele>923.1</ele> <time>2016-11-15T00:54:26Z</time> </trkpt> <trkpt lat="12.8939850" lon="77.5922330"> <ele>923.2</ele> <time>2016-11-15T00:54:28Z</time> </trkpt> <trkpt lat="12.8939390" lon="77.5922440"> <ele>923.2</ele> <time>2016-11-15T00:54:30Z</time> </trkpt> <trkpt lat="12.8938880" lon="77.5922550"> <ele>923.3</ele> <time>2016-11-15T00:54:32Z</time> </trkpt> <trkpt lat="12.8938590" lon="77.5922540"> <ele>923.4</ele> <time>2016-11-15T00:54:33Z</time> </trkpt> <trkpt lat="12.8938320" lon="77.5922520"> <ele>923.4</ele> <time>2016-11-15T00:54:34Z</time> </trkpt> <trkpt lat="12.8937890" lon="77.5922460"> <ele>923.5</ele> <time>2016-11-15T00:54:36Z</time> </trkpt> <trkpt lat="12.8937410" lon="77.5922410"> <ele>923.6</ele> <time>2016-11-15T00:54:38Z</time> </trkpt> <trkpt lat="12.8936940" lon="77.5922430"> <ele>923.5</ele> <time>2016-11-15T00:54:40Z</time> </trkpt> <trkpt lat="12.8936510" lon="77.5922410"> <ele>923.3</ele> <time>2016-11-15T00:54:42Z</time> </trkpt> <trkpt lat="12.8936100" lon="77.5922470"> <ele>923.2</ele> <time>2016-11-15T00:54:44Z</time> </trkpt> <trkpt lat="12.8935770" lon="77.5922630"> <ele>923.1</ele> <time>2016-11-15T00:54:46Z</time> </trkpt> <trkpt lat="12.8935380" lon="77.5922660"> <ele>923.0</ele> <time>2016-11-15T00:54:48Z</time> </trkpt> <trkpt lat="12.8934950" lon="77.5922570"> <ele>922.9</ele> <time>2016-11-15T00:54:50Z</time> </trkpt> <trkpt lat="12.8934660" lon="77.5922500"> <ele>922.8</ele> <time>2016-11-15T00:54:51Z</time> </trkpt> <trkpt lat="12.8934380" lon="77.5922460"> <ele>922.7</ele> <time>2016-11-15T00:54:52Z</time> </trkpt> <trkpt lat="12.8934120" lon="77.5922390"> <ele>922.6</ele> <time>2016-11-15T00:54:53Z</time> </trkpt> <trkpt lat="12.8933830" lon="77.5922360"> <ele>922.6</ele> <time>2016-11-15T00:54:54Z</time> </trkpt> <trkpt lat="12.8933520" lon="77.5922330"> <ele>922.5</ele> <time>2016-11-15T00:54:55Z</time> </trkpt> <trkpt lat="12.8933010" lon="77.5922310"> <ele>922.3</ele> <time>2016-11-15T00:54:57Z</time> </trkpt> <trkpt lat="12.8932540" lon="77.5922270"> <ele>922.2</ele> <time>2016-11-15T00:54:59Z</time> </trkpt> <trkpt lat="12.8932170" lon="77.5922290"> <ele>922.1</ele> <time>2016-11-15T00:55:01Z</time> </trkpt> <trkpt lat="12.8931680" lon="77.5922320"> <ele>921.9</ele> <time>2016-11-15T00:55:03Z</time> </trkpt> <trkpt lat="12.8931150" lon="77.5922250"> <ele>921.8</ele> <time>2016-11-15T00:55:05Z</time> </trkpt> <trkpt lat="12.8930730" lon="77.5922310"> <ele>921.6</ele> <time>2016-11-15T00:55:07Z</time> </trkpt> <trkpt lat="12.8930200" lon="77.5922320"> <ele>921.5</ele> <time>2016-11-15T00:55:09Z</time> </trkpt> <trkpt lat="12.8929930" lon="77.5922330"> <ele>921.4</ele> <time>2016-11-15T00:55:10Z</time> </trkpt> <trkpt lat="12.8929580" lon="77.5922390"> <ele>921.3</ele> <time>2016-11-15T00:55:11Z</time> </trkpt> <trkpt lat="12.8929110" lon="77.5922460"> <ele>921.2</ele> <time>2016-11-15T00:55:13Z</time> </trkpt> <trkpt lat="12.8928600" lon="77.5922500"> <ele>921.3</ele> <time>2016-11-15T00:55:15Z</time> </trkpt> <trkpt lat="12.8928300" lon="77.5922560"> <ele>921.4</ele> <time>2016-11-15T00:55:16Z</time> </trkpt> <trkpt lat="12.8927950" lon="77.5922580"> <ele>921.4</ele> <time>2016-11-15T00:55:17Z</time> </trkpt> <trkpt lat="12.8927440" lon="77.5922640"> <ele>921.5</ele> <time>2016-11-15T00:55:19Z</time> </trkpt> <trkpt lat="12.8927170" lon="77.5922640"> <ele>921.5</ele> <time>2016-11-15T00:55:20Z</time> </trkpt> <trkpt lat="12.8926890" lon="77.5922610"> <ele>921.6</ele> <time>2016-11-15T00:55:21Z</time> </trkpt> <trkpt lat="12.8926600" lon="77.5922600"> <ele>921.6</ele> <time>2016-11-15T00:55:22Z</time> </trkpt> <trkpt lat="12.8926140" lon="77.5922560"> <ele>921.7</ele> <time>2016-11-15T00:55:24Z</time> </trkpt> <trkpt lat="12.8925780" lon="77.5922640"> <ele>921.8</ele> <time>2016-11-15T00:55:26Z</time> </trkpt> <trkpt lat="12.8925350" lon="77.5922550"> <ele>921.8</ele> <time>2016-11-15T00:55:28Z</time> </trkpt> <trkpt lat="12.8924930" lon="77.5922520"> <ele>921.9</ele> <time>2016-11-15T00:55:30Z</time> </trkpt> <trkpt lat="12.8924520" lon="77.5922690"> <ele>922.0</ele> <time>2016-11-15T00:55:32Z</time> </trkpt> <trkpt lat="12.8924100" lon="77.5922710"> <ele>922.0</ele> <time>2016-11-15T00:55:34Z</time> </trkpt> <trkpt lat="12.8923750" lon="77.5922620"> <ele>922.1</ele> <time>2016-11-15T00:55:36Z</time> </trkpt> <trkpt lat="12.8923230" lon="77.5922490"> <ele>922.2</ele> <time>2016-11-15T00:55:38Z</time> </trkpt> <trkpt lat="12.8922780" lon="77.5922410"> <ele>922.3</ele> <time>2016-11-15T00:55:40Z</time> </trkpt> <trkpt lat="12.8922420" lon="77.5922440"> <ele>922.3</ele> <time>2016-11-15T00:55:42Z</time> </trkpt> <trkpt lat="12.8922000" lon="77.5922600"> <ele>922.4</ele> <time>2016-11-15T00:55:44Z</time> </trkpt> <trkpt lat="12.8921520" lon="77.5922610"> <ele>922.5</ele> <time>2016-11-15T00:55:46Z</time> </trkpt> <trkpt lat="12.8921020" lon="77.5922680"> <ele>922.5</ele> <time>2016-11-15T00:55:48Z</time> </trkpt> <trkpt lat="12.8920660" lon="77.5922780"> <ele>922.5</ele> <time>2016-11-15T00:55:49Z</time> </trkpt> <trkpt lat="12.8920320" lon="77.5922920"> <ele>922.5</ele> <time>2016-11-15T00:55:50Z</time> </trkpt> <trkpt lat="12.8919980" lon="77.5923200"> <ele>922.4</ele> <time>2016-11-15T00:55:52Z</time> </trkpt> <trkpt lat="12.8919720" lon="77.5923620"> <ele>922.3</ele> <time>2016-11-15T00:55:54Z</time> </trkpt> <trkpt lat="12.8919640" lon="77.5923900"> <ele>922.2</ele> <time>2016-11-15T00:55:55Z</time> </trkpt> <trkpt lat="12.8919490" lon="77.5924450"> <ele>922.2</ele> <time>2016-11-15T00:55:57Z</time> </trkpt> <trkpt lat="12.8919400" lon="77.5924760"> <ele>922.1</ele> <time>2016-11-15T00:55:58Z</time> </trkpt> <trkpt lat="12.8919330" lon="77.5925090"> <ele>922.1</ele> <time>2016-11-15T00:55:59Z</time> </trkpt> <trkpt lat="12.8919300" lon="77.5925410"> <ele>922.0</ele> <time>2016-11-15T00:56:00Z</time> </trkpt> <trkpt lat="12.8919230" lon="77.5925970"> <ele>922.0</ele> <time>2016-11-15T00:56:02Z</time> </trkpt> <trkpt lat="12.8919170" lon="77.5926290"> <ele>921.9</ele> <time>2016-11-15T00:56:03Z</time> </trkpt> <trkpt lat="12.8919090" lon="77.5926640"> <ele>921.9</ele> <time>2016-11-15T00:56:04Z</time> </trkpt> <trkpt lat="12.8919010" lon="77.5926960"> <ele>921.9</ele> <time>2016-11-15T00:56:05Z</time> </trkpt> <trkpt lat="12.8918930" lon="77.5927230"> <ele>921.9</ele> <time>2016-11-15T00:56:06Z</time> </trkpt> <trkpt lat="12.8918840" lon="77.5927550"> <ele>921.9</ele> <time>2016-11-15T00:56:08Z</time> </trkpt> <trkpt lat="12.8918790" lon="77.5927970"> <ele>921.8</ele> <time>2016-11-15T00:56:10Z</time> </trkpt> <trkpt lat="12.8918810" lon="77.5928370"> <ele>921.8</ele> <time>2016-11-15T00:56:12Z</time> </trkpt> <trkpt lat="12.8918700" lon="77.5928760"> <ele>921.8</ele> <time>2016-11-15T00:56:14Z</time> </trkpt> <trkpt lat="12.8918740" lon="77.5929040"> <ele>921.8</ele> <time>2016-11-15T00:56:15Z</time> </trkpt> <trkpt lat="12.8918900" lon="77.5929500"> <ele>921.6</ele> <time>2016-11-15T00:56:16Z</time> </trkpt> <trkpt lat="12.8919070" lon="77.5929890"> <ele>921.4</ele> <time>2016-11-15T00:56:17Z</time> </trkpt> <trkpt lat="12.8919500" lon="77.5930260"> <ele>921.2</ele> <time>2016-11-15T00:56:19Z</time> </trkpt> <trkpt lat="12.8919710" lon="77.5930460"> <ele>921.1</ele> <time>2016-11-15T00:56:20Z</time> </trkpt> <trkpt lat="12.8919950" lon="77.5930670"> <ele>920.9</ele> <time>2016-11-15T00:56:23Z</time> </trkpt> <trkpt lat="12.8920310" lon="77.5930970"> <ele>920.7</ele> <time>2016-11-15T00:56:25Z</time> </trkpt> <trkpt lat="12.8920740" lon="77.5931110"> <ele>920.6</ele> <time>2016-11-15T00:56:27Z</time> </trkpt> <trkpt lat="12.8921260" lon="77.5931310"> <ele>920.5</ele> <time>2016-11-15T00:56:29Z</time> </trkpt> <trkpt lat="12.8921540" lon="77.5931400"> <ele>920.6</ele> <time>2016-11-15T00:56:30Z</time> </trkpt> <trkpt lat="12.8921840" lon="77.5931510"> <ele>920.6</ele> <time>2016-11-15T00:56:31Z</time> </trkpt> <trkpt lat="12.8922130" lon="77.5931650"> <ele>920.6</ele> <time>2016-11-15T00:56:33Z</time> </trkpt> <trkpt lat="12.8922330" lon="77.5932000"> <ele>920.6</ele> <time>2016-11-15T00:56:35Z</time> </trkpt> <trkpt lat="12.8922520" lon="77.5932190"> <ele>920.6</ele> <time>2016-11-15T00:56:36Z</time> </trkpt> <trkpt lat="12.8922760" lon="77.5932460"> <ele>920.5</ele> <time>2016-11-15T00:56:37Z</time> </trkpt> <trkpt lat="12.8922930" lon="77.5932680"> <ele>920.5</ele> <time>2016-11-15T00:56:38Z</time> </trkpt> <trkpt lat="12.8923130" lon="77.5932990"> <ele>920.5</ele> <time>2016-11-15T00:56:39Z</time> </trkpt> <trkpt lat="12.8923260" lon="77.5933260"> <ele>920.5</ele> <time>2016-11-15T00:56:40Z</time> </trkpt> <trkpt lat="12.8923410" lon="77.5933560"> <ele>920.4</ele> <time>2016-11-15T00:56:41Z</time> </trkpt> <trkpt lat="12.8923620" lon="77.5933820"> <ele>920.4</ele> <time>2016-11-15T00:56:42Z</time> </trkpt> <trkpt lat="12.8923760" lon="77.5934060"> <ele>920.4</ele> <time>2016-11-15T00:56:43Z</time> </trkpt> <trkpt lat="12.8923910" lon="77.5934320"> <ele>920.4</ele> <time>2016-11-15T00:56:44Z</time> </trkpt> <trkpt lat="12.8924260" lon="77.5934780"> <ele>920.3</ele> <time>2016-11-15T00:56:46Z</time> </trkpt> <trkpt lat="12.8924480" lon="77.5935130"> <ele>920.3</ele> <time>2016-11-15T00:56:48Z</time> </trkpt> <trkpt lat="12.8924740" lon="77.5935380"> <ele>920.3</ele> <time>2016-11-15T00:56:50Z</time> </trkpt> <trkpt lat="12.8925060" lon="77.5935560"> <ele>920.4</ele> <time>2016-11-15T00:56:52Z</time> </trkpt> <trkpt lat="12.8925290" lon="77.5935830"> <ele>920.4</ele> <time>2016-11-15T00:56:53Z</time> </trkpt> <trkpt lat="12.8925530" lon="77.5936030"> <ele>920.4</ele> <time>2016-11-15T00:56:54Z</time> </trkpt> <trkpt lat="12.8926000" lon="77.5936190"> <ele>920.5</ele> <time>2016-11-15T00:56:56Z</time> </trkpt> <trkpt lat="12.8926360" lon="77.5936280"> <ele>920.5</ele> <time>2016-11-15T00:56:57Z</time> </trkpt> <trkpt lat="12.8926790" lon="77.5936390"> <ele>920.6</ele> <time>2016-11-15T00:56:59Z</time> </trkpt> <trkpt lat="12.8927070" lon="77.5936480"> <ele>920.6</ele> <time>2016-11-15T00:57:00Z</time> </trkpt> <trkpt lat="12.8927370" lon="77.5936600"> <ele>920.7</ele> <time>2016-11-15T00:57:02Z</time> </trkpt> <trkpt lat="12.8927790" lon="77.5936900"> <ele>920.8</ele> <time>2016-11-15T00:57:04Z</time> </trkpt> <trkpt lat="12.8928070" lon="77.5937040"> <ele>920.8</ele> <time>2016-11-15T00:57:05Z</time> </trkpt> <trkpt lat="12.8928320" lon="77.5937170"> <ele>920.8</ele> <time>2016-11-15T00:57:06Z</time> </trkpt> <trkpt lat="12.8928690" lon="77.5937240"> <ele>920.9</ele> <time>2016-11-15T00:57:08Z</time> </trkpt> <trkpt lat="12.8929090" lon="77.5937370"> <ele>921.0</ele> <time>2016-11-15T00:57:10Z</time> </trkpt> <trkpt lat="12.8929370" lon="77.5937530"> <ele>920.9</ele> <time>2016-11-15T00:57:11Z</time> </trkpt> <trkpt lat="12.8929670" lon="77.5937690"> <ele>920.7</ele> <time>2016-11-15T00:57:12Z</time> </trkpt> <trkpt lat="12.8929890" lon="77.5937890"> <ele>920.6</ele> <time>2016-11-15T00:57:13Z</time> </trkpt> <trkpt lat="12.8930280" lon="77.5938170"> <ele>920.4</ele> <time>2016-11-15T00:57:15Z</time> </trkpt> <trkpt lat="12.8930560" lon="77.5938270"> <ele>920.3</ele> <time>2016-11-15T00:57:16Z</time> </trkpt> <trkpt lat="12.8930850" lon="77.5938420"> <ele>920.2</ele> <time>2016-11-15T00:57:17Z</time> </trkpt> <trkpt lat="12.8931110" lon="77.5938560"> <ele>920.1</ele> <time>2016-11-15T00:57:18Z</time> </trkpt> <trkpt lat="12.8931360" lon="77.5938680"> <ele>920.0</ele> <time>2016-11-15T00:57:19Z</time> </trkpt> <trkpt lat="12.8931650" lon="77.5938840"> <ele>919.8</ele> <time>2016-11-15T00:57:20Z</time> </trkpt> <trkpt lat="12.8931960" lon="77.5939030"> <ele>919.7</ele> <time>2016-11-15T00:57:21Z</time> </trkpt> <trkpt lat="12.8932230" lon="77.5939220"> <ele>919.6</ele> <time>2016-11-15T00:57:22Z</time> </trkpt> <trkpt lat="12.8932490" lon="77.5939420"> <ele>919.5</ele> <time>2016-11-15T00:57:23Z</time> </trkpt> <trkpt lat="12.8932740" lon="77.5939580"> <ele>919.5</ele> <time>2016-11-15T00:57:24Z</time> </trkpt> <trkpt lat="12.8933060" lon="77.5939830"> <ele>919.4</ele> <time>2016-11-15T00:57:26Z</time> </trkpt> <trkpt lat="12.8933390" lon="77.5940070"> <ele>919.3</ele> <time>2016-11-15T00:57:28Z</time> </trkpt> <trkpt lat="12.8933770" lon="77.5940250"> <ele>919.2</ele> <time>2016-11-15T00:57:30Z</time> </trkpt> <trkpt lat="12.8934190" lon="77.5940440"> <ele>919.1</ele> <time>2016-11-15T00:57:32Z</time> </trkpt> <trkpt lat="12.8934450" lon="77.5940550"> <ele>919.0</ele> <time>2016-11-15T00:57:33Z</time> </trkpt> <trkpt lat="12.8934670" lon="77.5940720"> <ele>919.0</ele> <time>2016-11-15T00:57:34Z</time> </trkpt> <trkpt lat="12.8934920" lon="77.5940950"> <ele>919.0</ele> <time>2016-11-15T00:57:35Z</time> </trkpt> <trkpt lat="12.8935300" lon="77.5941250"> <ele>918.9</ele> <time>2016-11-15T00:57:37Z</time> </trkpt> <trkpt lat="12.8935530" lon="77.5941450"> <ele>918.9</ele> <time>2016-11-15T00:57:38Z</time> </trkpt> <trkpt lat="12.8935760" lon="77.5941640"> <ele>918.9</ele> <time>2016-11-15T00:57:39Z</time> </trkpt> <trkpt lat="12.8936230" lon="77.5941910"> <ele>918.9</ele> <time>2016-11-15T00:57:41Z</time> </trkpt> <trkpt lat="12.8936720" lon="77.5942210"> <ele>918.9</ele> <time>2016-11-15T00:57:43Z</time> </trkpt> <trkpt lat="12.8937180" lon="77.5942210"> <ele>918.8</ele> <time>2016-11-15T00:57:45Z</time> </trkpt> <trkpt lat="12.8937530" lon="77.5942200"> <ele>918.7</ele> <time>2016-11-15T00:57:46Z</time> </trkpt> <trkpt lat="12.8937860" lon="77.5942280"> <ele>918.7</ele> <time>2016-11-15T00:57:47Z</time> </trkpt> <trkpt lat="12.8938180" lon="77.5942460"> <ele>918.7</ele> <time>2016-11-15T00:57:48Z</time> </trkpt> <trkpt lat="12.8938650" lon="77.5942680"> <ele>918.7</ele> <time>2016-11-15T00:57:50Z</time> </trkpt> <trkpt lat="12.8938980" lon="77.5942820"> <ele>918.8</ele> <time>2016-11-15T00:57:51Z</time> </trkpt> <trkpt lat="12.8939250" lon="77.5942930"> <ele>918.8</ele> <time>2016-11-15T00:57:52Z</time> </trkpt> <trkpt lat="12.8939510" lon="77.5943110"> <ele>918.8</ele> <time>2016-11-15T00:57:53Z</time> </trkpt> <trkpt lat="12.8939860" lon="77.5943340"> <ele>918.8</ele> <time>2016-11-15T00:57:55Z</time> </trkpt> <trkpt lat="12.8940190" lon="77.5943570"> <ele>918.8</ele> <time>2016-11-15T00:57:57Z</time> </trkpt> <trkpt lat="12.8940610" lon="77.5943710"> <ele>918.8</ele> <time>2016-11-15T00:57:59Z</time> </trkpt> <trkpt lat="12.8941020" lon="77.5943960"> <ele>918.8</ele> <time>2016-11-15T00:58:01Z</time> </trkpt> <trkpt lat="12.8941320" lon="77.5944110"> <ele>918.7</ele> <time>2016-11-15T00:58:02Z</time> </trkpt> <trkpt lat="12.8941710" lon="77.5944350"> <ele>918.7</ele> <time>2016-11-15T00:58:04Z</time> </trkpt> <trkpt lat="12.8942080" lon="77.5944470"> <ele>918.7</ele> <time>2016-11-15T00:58:06Z</time> </trkpt> <trkpt lat="12.8942340" lon="77.5944570"> <ele>918.6</ele> <time>2016-11-15T00:58:07Z</time> </trkpt> <trkpt lat="12.8942590" lon="77.5944720"> <ele>918.6</ele> <time>2016-11-15T00:58:08Z</time> </trkpt> <trkpt lat="12.8942960" lon="77.5945060"> <ele>918.6</ele> <time>2016-11-15T00:58:10Z</time> </trkpt> <trkpt lat="12.8943260" lon="77.5945430"> <ele>918.6</ele> <time>2016-11-15T00:58:12Z</time> </trkpt> <trkpt lat="12.8943450" lon="77.5945630"> <ele>918.6</ele> <time>2016-11-15T00:58:13Z</time> </trkpt> <trkpt lat="12.8943710" lon="77.5945910"> <ele>918.5</ele> <time>2016-11-15T00:58:15Z</time> </trkpt> <trkpt lat="12.8944030" lon="77.5946180"> <ele>918.3</ele> <time>2016-11-15T00:58:17Z</time> </trkpt> <trkpt lat="12.8944280" lon="77.5946400"> <ele>918.1</ele> <time>2016-11-15T00:58:18Z</time> </trkpt> <trkpt lat="12.8944510" lon="77.5946640"> <ele>918.0</ele> <time>2016-11-15T00:58:19Z</time> </trkpt> <trkpt lat="12.8944860" lon="77.5946930"> <ele>917.9</ele> <time>2016-11-15T00:58:20Z</time> </trkpt> <trkpt lat="12.8945320" lon="77.5947000"> <ele>917.8</ele> <time>2016-11-15T00:58:21Z</time> </trkpt> <trkpt lat="12.8945680" lon="77.5947110"> <ele>917.7</ele> <time>2016-11-15T00:58:22Z</time> </trkpt> <trkpt lat="12.8946050" lon="77.5947280"> <ele>917.5</ele> <time>2016-11-15T00:58:23Z</time> </trkpt> <trkpt lat="12.8946320" lon="77.5947400"> <ele>917.4</ele> <time>2016-11-15T00:58:24Z</time> </trkpt> <trkpt lat="12.8946600" lon="77.5947510"> <ele>917.2</ele> <time>2016-11-15T00:58:25Z</time> </trkpt> <trkpt lat="12.8946950" lon="77.5947670"> <ele>917.0</ele> <time>2016-11-15T00:58:26Z</time> </trkpt> <trkpt lat="12.8947260" lon="77.5947780"> <ele>916.8</ele> <time>2016-11-15T00:58:27Z</time> </trkpt> <trkpt lat="12.8947700" lon="77.5947930"> <ele>916.5</ele> <time>2016-11-15T00:58:29Z</time> </trkpt> <trkpt lat="12.8948160" lon="77.5948010"> <ele>916.3</ele> <time>2016-11-15T00:58:31Z</time> </trkpt> <trkpt lat="12.8948770" lon="77.5948100"> <ele>916.0</ele> <time>2016-11-15T00:58:33Z</time> </trkpt> <trkpt lat="12.8949160" lon="77.5948180"> <ele>915.8</ele> <time>2016-11-15T00:58:34Z</time> </trkpt> <trkpt lat="12.8949520" lon="77.5948220"> <ele>915.6</ele> <time>2016-11-15T00:58:35Z</time> </trkpt> <trkpt lat="12.8949810" lon="77.5948290"> <ele>915.4</ele> <time>2016-11-15T00:58:36Z</time> </trkpt> <trkpt lat="12.8950140" lon="77.5948300"> <ele>915.3</ele> <time>2016-11-15T00:58:37Z</time> </trkpt> <trkpt lat="12.8950630" lon="77.5948280"> <ele>915.0</ele> <time>2016-11-15T00:58:39Z</time> </trkpt> <trkpt lat="12.8951080" lon="77.5948310"> <ele>914.8</ele> <time>2016-11-15T00:58:41Z</time> </trkpt> <trkpt lat="12.8951480" lon="77.5948320"> <ele>914.6</ele> <time>2016-11-15T00:58:42Z</time> </trkpt> <trkpt lat="12.8951860" lon="77.5948310"> <ele>914.4</ele> <time>2016-11-15T00:58:43Z</time> </trkpt> <trkpt lat="12.8952180" lon="77.5948270"> <ele>914.3</ele> <time>2016-11-15T00:58:44Z</time> </trkpt> <trkpt lat="12.8952480" lon="77.5948180"> <ele>914.1</ele> <time>2016-11-15T00:58:45Z</time> </trkpt> <trkpt lat="12.8952950" lon="77.5948110"> <ele>913.9</ele> <time>2016-11-15T00:58:47Z</time> </trkpt> <trkpt lat="12.8953390" lon="77.5947770"> <ele>913.6</ele> <time>2016-11-15T00:58:49Z</time> </trkpt> <trkpt lat="12.8953570" lon="77.5947250"> <ele>913.5</ele> <time>2016-11-15T00:58:51Z</time> </trkpt> <trkpt lat="12.8953620" lon="77.5946950"> <ele>913.4</ele> <time>2016-11-15T00:58:52Z</time> </trkpt> <trkpt lat="12.8953710" lon="77.5946600"> <ele>913.4</ele> <time>2016-11-15T00:58:54Z</time> </trkpt> <trkpt lat="12.8953790" lon="77.5946300"> <ele>913.3</ele> <time>2016-11-15T00:58:55Z</time> </trkpt> <trkpt lat="12.8953850" lon="77.5945760"> <ele>913.2</ele> <time>2016-11-15T00:58:57Z</time> </trkpt> <trkpt lat="12.8953850" lon="77.5945190"> <ele>913.3</ele> <time>2016-11-15T00:58:59Z</time> </trkpt> <trkpt lat="12.8953900" lon="77.5944680"> <ele>913.4</ele> <time>2016-11-15T00:59:01Z</time> </trkpt> <trkpt lat="12.8953980" lon="77.5944190"> <ele>913.5</ele> <time>2016-11-15T00:59:03Z</time> </trkpt> <trkpt lat="12.8953960" lon="77.5943820"> <ele>913.6</ele> <time>2016-11-15T00:59:05Z</time> </trkpt> <trkpt lat="12.8953960" lon="77.5943510"> <ele>913.7</ele> <time>2016-11-15T00:59:07Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5943030"> <ele>913.8</ele> <time>2016-11-15T00:59:09Z</time> </trkpt> <trkpt lat="12.8953920" lon="77.5942570"> <ele>913.9</ele> <time>2016-11-15T00:59:11Z</time> </trkpt> <trkpt lat="12.8953900" lon="77.5942260"> <ele>914.0</ele> <time>2016-11-15T00:59:12Z</time> </trkpt> <trkpt lat="12.8954000" lon="77.5941740"> <ele>914.1</ele> <time>2016-11-15T00:59:14Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5941240"> <ele>914.2</ele> <time>2016-11-15T00:59:16Z</time> </trkpt> <trkpt lat="12.8953960" lon="77.5940910"> <ele>914.3</ele> <time>2016-11-15T00:59:17Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5940610"> <ele>914.3</ele> <time>2016-11-15T00:59:18Z</time> </trkpt> <trkpt lat="12.8954050" lon="77.5940240"> <ele>914.4</ele> <time>2016-11-15T00:59:20Z</time> </trkpt> <trkpt lat="12.8954150" lon="77.5939900"> <ele>914.4</ele> <time>2016-11-15T00:59:22Z</time> </trkpt> <trkpt lat="12.8954150" lon="77.5939520"> <ele>914.5</ele> <time>2016-11-15T00:59:24Z</time> </trkpt> <trkpt lat="12.8954100" lon="77.5939090"> <ele>914.6</ele> <time>2016-11-15T00:59:26Z</time> </trkpt> <trkpt lat="12.8954040" lon="77.5938580"> <ele>914.8</ele> <time>2016-11-15T00:59:28Z</time> </trkpt> <trkpt lat="12.8954090" lon="77.5938240"> <ele>914.9</ele> <time>2016-11-15T00:59:29Z</time> </trkpt> <trkpt lat="12.8954150" lon="77.5937700"> <ele>915.0</ele> <time>2016-11-15T00:59:31Z</time> </trkpt> <trkpt lat="12.8954160" lon="77.5937420"> <ele>915.0</ele> <time>2016-11-15T00:59:32Z</time> </trkpt> <trkpt lat="12.8954210" lon="77.5936920"> <ele>915.3</ele> <time>2016-11-15T00:59:34Z</time> </trkpt> <trkpt lat="12.8954140" lon="77.5936450"> <ele>915.5</ele> <time>2016-11-15T00:59:36Z</time> </trkpt> <trkpt lat="12.8954120" lon="77.5935990"> <ele>915.7</ele> <time>2016-11-15T00:59:38Z</time> </trkpt> <trkpt lat="12.8954060" lon="77.5935550"> <ele>916.0</ele> <time>2016-11-15T00:59:40Z</time> </trkpt> <trkpt lat="12.8954010" lon="77.5935160"> <ele>916.2</ele> <time>2016-11-15T00:59:42Z</time> </trkpt> <trkpt lat="12.8954030" lon="77.5934770"> <ele>916.4</ele> <time>2016-11-15T00:59:44Z</time> </trkpt> <trkpt lat="12.8954010" lon="77.5934350"> <ele>916.6</ele> <time>2016-11-15T00:59:46Z</time> </trkpt> <trkpt lat="12.8954050" lon="77.5933910"> <ele>916.8</ele> <time>2016-11-15T00:59:48Z</time> </trkpt> <trkpt lat="12.8954100" lon="77.5933400"> <ele>917.0</ele> <time>2016-11-15T00:59:50Z</time> </trkpt> <trkpt lat="12.8954130" lon="77.5933110"> <ele>917.1</ele> <time>2016-11-15T00:59:51Z</time> </trkpt> <trkpt lat="12.8954130" lon="77.5932830"> <ele>917.3</ele> <time>2016-11-15T00:59:52Z</time> </trkpt> <trkpt lat="12.8954130" lon="77.5932410"> <ele>917.5</ele> <time>2016-11-15T00:59:54Z</time> </trkpt> <trkpt lat="12.8954080" lon="77.5931970"> <ele>917.7</ele> <time>2016-11-15T00:59:56Z</time> </trkpt> <trkpt lat="12.8954050" lon="77.5931620"> <ele>917.9</ele> <time>2016-11-15T00:59:58Z</time> </trkpt> <trkpt lat="12.8954070" lon="77.5931210"> <ele>918.1</ele> <time>2016-11-15T01:00:00Z</time> </trkpt> <trkpt lat="12.8954090" lon="77.5930710"> <ele>918.3</ele> <time>2016-11-15T01:00:02Z</time> </trkpt> <trkpt lat="12.8954040" lon="77.5930240"> <ele>918.5</ele> <time>2016-11-15T01:00:04Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5929840"> <ele>918.7</ele> <time>2016-11-15T01:00:06Z</time> </trkpt> <trkpt lat="12.8953950" lon="77.5929430"> <ele>919.0</ele> <time>2016-11-15T01:00:08Z</time> </trkpt> <trkpt lat="12.8953900" lon="77.5928940"> <ele>919.1</ele> <time>2016-11-15T01:00:10Z</time> </trkpt> <trkpt lat="12.8953920" lon="77.5928430"> <ele>919.1</ele> <time>2016-11-15T01:00:12Z</time> </trkpt> <trkpt lat="12.8953870" lon="77.5927960"> <ele>919.1</ele> <time>2016-11-15T01:00:14Z</time> </trkpt> <trkpt lat="12.8953810" lon="77.5927520"> <ele>919.1</ele> <time>2016-11-15T01:00:16Z</time> </trkpt> <trkpt lat="12.8953740" lon="77.5927040"> <ele>919.2</ele> <time>2016-11-15T01:00:18Z</time> </trkpt> <trkpt lat="12.8953650" lon="77.5926600"> <ele>919.2</ele> <time>2016-11-15T01:00:20Z</time> </trkpt> <trkpt lat="12.8953590" lon="77.5926080"> <ele>919.2</ele> <time>2016-11-15T01:00:22Z</time> </trkpt> <trkpt lat="12.8953570" lon="77.5925590"> <ele>919.2</ele> <time>2016-11-15T01:00:24Z</time> </trkpt> <trkpt lat="12.8953610" lon="77.5925160"> <ele>919.2</ele> <time>2016-11-15T01:00:26Z</time> </trkpt> <trkpt lat="12.8953580" lon="77.5924770"> <ele>919.2</ele> <time>2016-11-15T01:00:28Z</time> </trkpt> <trkpt lat="12.8953600" lon="77.5924340"> <ele>919.2</ele> <time>2016-11-15T01:00:30Z</time> </trkpt> <trkpt lat="12.8953650" lon="77.5923920"> <ele>919.2</ele> <time>2016-11-15T01:00:32Z</time> </trkpt> <trkpt lat="12.8953710" lon="77.5923590"> <ele>919.2</ele> <time>2016-11-15T01:00:34Z</time> </trkpt> <trkpt lat="12.8953790" lon="77.5923120"> <ele>919.1</ele> <time>2016-11-15T01:00:36Z</time> </trkpt> <trkpt lat="12.8954170" lon="77.5922870"> <ele>919.0</ele> <time>2016-11-15T01:00:38Z</time> </trkpt> <trkpt lat="12.8954580" lon="77.5922740"> <ele>918.8</ele> <time>2016-11-15T01:00:40Z</time> </trkpt> <trkpt lat="12.8955050" lon="77.5922700"> <ele>918.5</ele> <time>2016-11-15T01:00:42Z</time> </trkpt> <trkpt lat="12.8955500" lon="77.5922680"> <ele>918.2</ele> <time>2016-11-15T01:00:44Z</time> </trkpt> <trkpt lat="12.8955970" lon="77.5922710"> <ele>918.0</ele> <time>2016-11-15T01:00:46Z</time> </trkpt> <trkpt lat="12.8956260" lon="77.5922770"> <ele>917.8</ele> <time>2016-11-15T01:00:47Z</time> </trkpt> <trkpt lat="12.8956550" lon="77.5922830"> <ele>917.6</ele> <time>2016-11-15T01:00:48Z</time> </trkpt> <trkpt lat="12.8956880" lon="77.5922850"> <ele>917.5</ele> <time>2016-11-15T01:00:49Z</time> </trkpt> <trkpt lat="12.8957200" lon="77.5922850"> <ele>917.3</ele> <time>2016-11-15T01:00:50Z</time> </trkpt> <trkpt lat="12.8957490" lon="77.5922840"> <ele>917.1</ele> <time>2016-11-15T01:00:51Z</time> </trkpt> <trkpt lat="12.8957820" lon="77.5922780"> <ele>916.9</ele> <time>2016-11-15T01:00:52Z</time> </trkpt> <trkpt lat="12.8958300" lon="77.5922690"> <ele>916.6</ele> <time>2016-11-15T01:00:54Z</time> </trkpt> <trkpt lat="12.8958910" lon="77.5922670"> <ele>916.3</ele> <time>2016-11-15T01:00:56Z</time> </trkpt> <trkpt lat="12.8959410" lon="77.5922700"> <ele>916.0</ele> <time>2016-11-15T01:00:58Z</time> </trkpt> <trkpt lat="12.8959920" lon="77.5922780"> <ele>915.7</ele> <time>2016-11-15T01:01:00Z</time> </trkpt> <trkpt lat="12.8960200" lon="77.5922810"> <ele>915.6</ele> <time>2016-11-15T01:01:01Z</time> </trkpt> <trkpt lat="12.8960710" lon="77.5922860"> <ele>915.3</ele> <time>2016-11-15T01:01:03Z</time> </trkpt> <trkpt lat="12.8961100" lon="77.5922930"> <ele>915.0</ele> <time>2016-11-15T01:01:05Z</time> </trkpt> <trkpt lat="12.8961390" lon="77.5922900"> <ele>914.9</ele> <time>2016-11-15T01:01:06Z</time> </trkpt> <trkpt lat="12.8961700" lon="77.5922890"> <ele>914.7</ele> <time>2016-11-15T01:01:07Z</time> </trkpt> <trkpt lat="12.8962210" lon="77.5922890"> <ele>914.4</ele> <time>2016-11-15T01:01:09Z</time> </trkpt> <trkpt lat="12.8962710" lon="77.5922840"> <ele>914.2</ele> <time>2016-11-15T01:01:11Z</time> </trkpt> <trkpt lat="12.8963310" lon="77.5922820"> <ele>913.9</ele> <time>2016-11-15T01:01:13Z</time> </trkpt> <trkpt lat="12.8963850" lon="77.5922850"> <ele>913.7</ele> <time>2016-11-15T01:01:15Z</time> </trkpt> <trkpt lat="12.8964320" lon="77.5922930"> <ele>913.5</ele> <time>2016-11-15T01:01:17Z</time> </trkpt> <trkpt lat="12.8964650" lon="77.5922890"> <ele>913.4</ele> <time>2016-11-15T01:01:18Z</time> </trkpt> <trkpt lat="12.8964980" lon="77.5922880"> <ele>913.3</ele> <time>2016-11-15T01:01:19Z</time> </trkpt> <trkpt lat="12.8965570" lon="77.5922870"> <ele>913.0</ele> <time>2016-11-15T01:01:21Z</time> </trkpt> <trkpt lat="12.8965890" lon="77.5922890"> <ele>912.9</ele> <time>2016-11-15T01:01:22Z</time> </trkpt> <trkpt lat="12.8966200" lon="77.5922900"> <ele>912.8</ele> <time>2016-11-15T01:01:23Z</time> </trkpt> <trkpt lat="12.8966710" lon="77.5922870"> <ele>912.6</ele> <time>2016-11-15T01:01:25Z</time> </trkpt> <trkpt lat="12.8967000" lon="77.5922780"> <ele>912.5</ele> <time>2016-11-15T01:01:26Z</time> </trkpt> <trkpt lat="12.8967290" lon="77.5922650"> <ele>912.4</ele> <time>2016-11-15T01:01:27Z</time> </trkpt> <trkpt lat="12.8967650" lon="77.5922550"> <ele>912.2</ele> <time>2016-11-15T01:01:29Z</time> </trkpt> <trkpt lat="12.8968130" lon="77.5922480"> <ele>912.0</ele> <time>2016-11-15T01:01:31Z</time> </trkpt> <trkpt lat="12.8968560" lon="77.5922480"> <ele>911.9</ele> <time>2016-11-15T01:01:33Z</time> </trkpt> <trkpt lat="12.8969060" lon="77.5922570"> <ele>911.7</ele> <time>2016-11-15T01:01:35Z</time> </trkpt> <trkpt lat="12.8969360" lon="77.5922520"> <ele>911.6</ele> <time>2016-11-15T01:01:36Z</time> </trkpt> <trkpt lat="12.8969670" lon="77.5922510"> <ele>911.4</ele> <time>2016-11-15T01:01:37Z</time> </trkpt> <trkpt lat="12.8970010" lon="77.5922520"> <ele>911.3</ele> <time>2016-11-15T01:01:38Z</time> </trkpt> <trkpt lat="12.8970540" lon="77.5922470"> <ele>911.1</ele> <time>2016-11-15T01:01:40Z</time> </trkpt> <trkpt lat="12.8970980" lon="77.5922490"> <ele>911.0</ele> <time>2016-11-15T01:01:42Z</time> </trkpt> <trkpt lat="12.8971270" lon="77.5922420"> <ele>910.9</ele> <time>2016-11-15T01:01:43Z</time> </trkpt> <trkpt lat="12.8971580" lon="77.5922260"> <ele>910.8</ele> <time>2016-11-15T01:01:45Z</time> </trkpt> <trkpt lat="12.8971770" lon="77.5921890"> <ele>910.8</ele> <time>2016-11-15T01:01:47Z</time> </trkpt> <trkpt lat="12.8971890" lon="77.5921640"> <ele>910.8</ele> <time>2016-11-15T01:01:48Z</time> </trkpt> <trkpt lat="12.8972000" lon="77.5921290"> <ele>910.7</ele> <time>2016-11-15T01:01:50Z</time> </trkpt> <trkpt lat="12.8972180" lon="77.5920850"> <ele>910.7</ele> <time>2016-11-15T01:01:52Z</time> </trkpt> <trkpt lat="12.8972310" lon="77.5920550"> <ele>910.7</ele> <time>2016-11-15T01:01:53Z</time> </trkpt> <trkpt lat="12.8972420" lon="77.5920270"> <ele>910.7</ele> <time>2016-11-15T01:01:54Z</time> </trkpt> <trkpt lat="12.8972510" lon="77.5919960"> <ele>910.7</ele> <time>2016-11-15T01:01:55Z</time> </trkpt> <trkpt lat="12.8972590" lon="77.5919670"> <ele>910.7</ele> <time>2016-11-15T01:01:56Z</time> </trkpt> <trkpt lat="12.8972670" lon="77.5919090"> <ele>910.8</ele> <time>2016-11-15T01:01:58Z</time> </trkpt> <trkpt lat="12.8972770" lon="77.5918760"> <ele>910.8</ele> <time>2016-11-15T01:01:59Z</time> </trkpt> <trkpt lat="12.8972820" lon="77.5918440"> <ele>910.8</ele> <time>2016-11-15T01:02:00Z</time> </trkpt> <trkpt lat="12.8972880" lon="77.5918120"> <ele>910.8</ele> <time>2016-11-15T01:02:01Z</time> </trkpt> <trkpt lat="12.8972970" lon="77.5917820"> <ele>910.8</ele> <time>2016-11-15T01:02:02Z</time> </trkpt> <trkpt lat="12.8973030" lon="77.5917540"> <ele>910.9</ele> <time>2016-11-15T01:02:03Z</time> </trkpt> <trkpt lat="12.8973170" lon="77.5917040"> <ele>910.9</ele> <time>2016-11-15T01:02:05Z</time> </trkpt> <trkpt lat="12.8973280" lon="77.5916650"> <ele>910.9</ele> <time>2016-11-15T01:02:07Z</time> </trkpt> <trkpt lat="12.8973470" lon="77.5916290"> <ele>910.9</ele> <time>2016-11-15T01:02:09Z</time> </trkpt> <trkpt lat="12.8973640" lon="77.5915860"> <ele>910.9</ele> <time>2016-11-15T01:02:11Z</time> </trkpt> <trkpt lat="12.8973860" lon="77.5915420"> <ele>910.9</ele> <time>2016-11-15T01:02:13Z</time> </trkpt> <trkpt lat="12.8973940" lon="77.5914950"> <ele>911.0</ele> <time>2016-11-15T01:02:15Z</time> </trkpt> <trkpt lat="12.8973960" lon="77.5914520"> <ele>911.0</ele> <time>2016-11-15T01:02:17Z</time> </trkpt> <trkpt lat="12.8973890" lon="77.5914120"> <ele>911.1</ele> <time>2016-11-15T01:02:19Z</time> </trkpt> <trkpt lat="12.8973920" lon="77.5913570"> <ele>911.1</ele> <time>2016-11-15T01:02:21Z</time> </trkpt> <trkpt lat="12.8973920" lon="77.5913120"> <ele>911.2</ele> <time>2016-11-15T01:02:23Z</time> </trkpt> <trkpt lat="12.8973890" lon="77.5912680"> <ele>911.2</ele> <time>2016-11-15T01:02:25Z</time> </trkpt> <trkpt lat="12.8973750" lon="77.5912190"> <ele>911.3</ele> <time>2016-11-15T01:02:27Z</time> </trkpt> <trkpt lat="12.8973680" lon="77.5911800"> <ele>911.3</ele> <time>2016-11-15T01:02:29Z</time> </trkpt> <trkpt lat="12.8973620" lon="77.5911380"> <ele>911.2</ele> <time>2016-11-15T01:02:31Z</time> </trkpt> <trkpt lat="12.8973540" lon="77.5910930"> <ele>911.2</ele> <time>2016-11-15T01:02:33Z</time> </trkpt> <trkpt lat="12.8973520" lon="77.5910490"> <ele>911.2</ele> <time>2016-11-15T01:02:35Z</time> </trkpt> <trkpt lat="12.8973440" lon="77.5909990"> <ele>911.2</ele> <time>2016-11-15T01:02:37Z</time> </trkpt> <trkpt lat="12.8973390" lon="77.5909550"> <ele>911.1</ele> <time>2016-11-15T01:02:39Z</time> </trkpt> <trkpt lat="12.8973410" lon="77.5909070"> <ele>911.1</ele> <time>2016-11-15T01:02:41Z</time> </trkpt> <trkpt lat="12.8973380" lon="77.5908630"> <ele>911.1</ele> <time>2016-11-15T01:02:43Z</time> </trkpt> <trkpt lat="12.8973330" lon="77.5908170"> <ele>911.0</ele> <time>2016-11-15T01:02:45Z</time> </trkpt> <trkpt lat="12.8973250" lon="77.5907820"> <ele>911.0</ele> <time>2016-11-15T01:02:47Z</time> </trkpt> <trkpt lat="12.8973080" lon="77.5907500"> <ele>911.0</ele> <time>2016-11-15T01:02:49Z</time> </trkpt> <trkpt lat="12.8972960" lon="77.5907110"> <ele>911.0</ele> <time>2016-11-15T01:02:51Z</time> </trkpt> <trkpt lat="12.8972750" lon="77.5906650"> <ele>911.0</ele> <time>2016-11-15T01:02:53Z</time> </trkpt> <trkpt lat="12.8972630" lon="77.5906340"> <ele>911.0</ele> <time>2016-11-15T01:02:54Z</time> </trkpt> <trkpt lat="12.8972490" lon="77.5905930"> <ele>911.0</ele> <time>2016-11-15T01:02:56Z</time> </trkpt> <trkpt lat="12.8972430" lon="77.5905640"> <ele>911.0</ele> <time>2016-11-15T01:02:58Z</time> </trkpt> <trkpt lat="12.8972750" lon="77.5905870"> <ele>910.9</ele> <time>2016-11-15T01:03:02Z</time> </trkpt> <trkpt lat="12.8972910" lon="77.5906250"> <ele>910.9</ele> <time>2016-11-15T01:03:04Z</time> </trkpt> <trkpt lat="12.8973020" lon="77.5906630"> <ele>911.0</ele> <time>2016-11-15T01:03:06Z</time> </trkpt> <trkpt lat="12.8973130" lon="77.5907100"> <ele>911.0</ele> <time>2016-11-15T01:03:08Z</time> </trkpt> <trkpt lat="12.8973200" lon="77.5907530"> <ele>911.0</ele> <time>2016-11-15T01:03:11Z</time> </trkpt> <trkpt lat="12.8973210" lon="77.5907990"> <ele>911.0</ele> <time>2016-11-15T01:03:13Z</time> </trkpt> <trkpt lat="12.8973250" lon="77.5908260"> <ele>911.1</ele> <time>2016-11-15T01:03:14Z</time> </trkpt> <trkpt lat="12.8973280" lon="77.5908670"> <ele>911.1</ele> <time>2016-11-15T01:03:16Z</time> </trkpt> <trkpt lat="12.8973470" lon="77.5909220"> <ele>911.1</ele> <time>2016-11-15T01:03:18Z</time> </trkpt> <trkpt lat="12.8973620" lon="77.5909540"> <ele>911.1</ele> <time>2016-11-15T01:03:19Z</time> </trkpt> <trkpt lat="12.8973720" lon="77.5909800"> <ele>911.1</ele> <time>2016-11-15T01:03:20Z</time> </trkpt> <trkpt lat="12.8973770" lon="77.5910080"> <ele>911.1</ele> <time>2016-11-15T01:03:21Z</time> </trkpt> <trkpt lat="12.8973820" lon="77.5910400"> <ele>911.1</ele> <time>2016-11-15T01:03:22Z</time> </trkpt> <trkpt lat="12.8973970" lon="77.5910850"> <ele>911.1</ele> <time>2016-11-15T01:03:24Z</time> </trkpt> <trkpt lat="12.8974010" lon="77.5911340"> <ele>911.2</ele> <time>2016-11-15T01:03:26Z</time> </trkpt> <trkpt lat="12.8974050" lon="77.5911850"> <ele>911.2</ele> <time>2016-11-15T01:03:28Z</time> </trkpt> <trkpt lat="12.8974100" lon="77.5912300"> <ele>911.2</ele> <time>2016-11-15T01:03:30Z</time> </trkpt> <trkpt lat="12.8974090" lon="77.5912820"> <ele>911.2</ele> <time>2016-11-15T01:03:32Z</time> </trkpt> <trkpt lat="12.8974120" lon="77.5913350"> <ele>911.1</ele> <time>2016-11-15T01:03:34Z</time> </trkpt> <trkpt lat="12.8974180" lon="77.5913620"> <ele>911.1</ele> <time>2016-11-15T01:03:35Z</time> </trkpt> <trkpt lat="12.8974200" lon="77.5913910"> <ele>911.0</ele> <time>2016-11-15T01:03:36Z</time> </trkpt> <trkpt lat="12.8974230" lon="77.5914440"> <ele>911.0</ele> <time>2016-11-15T01:03:38Z</time> </trkpt> <trkpt lat="12.8974090" lon="77.5914840"> <ele>910.9</ele> <time>2016-11-15T01:03:40Z</time> </trkpt> <trkpt lat="12.8973920" lon="77.5915230"> <ele>910.9</ele> <time>2016-11-15T01:03:42Z</time> </trkpt> <trkpt lat="12.8973660" lon="77.5915570"> <ele>911.0</ele> <time>2016-11-15T01:03:44Z</time> </trkpt> <trkpt lat="12.8973410" lon="77.5915950"> <ele>911.0</ele> <time>2016-11-15T01:03:46Z</time> </trkpt> <trkpt lat="12.8973010" lon="77.5916070"> <ele>911.0</ele> <time>2016-11-15T01:03:48Z</time> </trkpt> <trkpt lat="12.8972520" lon="77.5915960"> <ele>911.2</ele> <time>2016-11-15T01:03:50Z</time> </trkpt> <trkpt lat="12.8972250" lon="77.5915910"> <ele>911.3</ele> <time>2016-11-15T01:03:51Z</time> </trkpt> <trkpt lat="12.8971940" lon="77.5915780"> <ele>911.3</ele> <time>2016-11-15T01:03:53Z</time> </trkpt> <trkpt lat="12.8971560" lon="77.5915730"> <ele>911.4</ele> <time>2016-11-15T01:03:55Z</time> </trkpt> <trkpt lat="12.8971140" lon="77.5915640"> <ele>911.5</ele> <time>2016-11-15T01:03:57Z</time> </trkpt> <trkpt lat="12.8970680" lon="77.5915510"> <ele>911.7</ele> <time>2016-11-15T01:03:59Z</time> </trkpt> <trkpt lat="12.8970270" lon="77.5915470"> <ele>911.8</ele> <time>2016-11-15T01:04:01Z</time> </trkpt> <trkpt lat="12.8969810" lon="77.5915400"> <ele>912.0</ele> <time>2016-11-15T01:04:03Z</time> </trkpt> <trkpt lat="12.8969300" lon="77.5915320"> <ele>912.2</ele> <time>2016-11-15T01:04:05Z</time> </trkpt> <trkpt lat="12.8968800" lon="77.5915300"> <ele>912.4</ele> <time>2016-11-15T01:04:07Z</time> </trkpt> <trkpt lat="12.8968320" lon="77.5915110"> <ele>912.6</ele> <time>2016-11-15T01:04:09Z</time> </trkpt> <trkpt lat="12.8968010" lon="77.5914970"> <ele>912.7</ele> <time>2016-11-15T01:04:11Z</time> </trkpt> <trkpt lat="12.8967540" lon="77.5915100"> <ele>912.9</ele> <time>2016-11-15T01:04:13Z</time> </trkpt> <trkpt lat="12.8967100" lon="77.5915220"> <ele>913.0</ele> <time>2016-11-15T01:04:15Z</time> </trkpt> <trkpt lat="12.8966630" lon="77.5915350"> <ele>913.2</ele> <time>2016-11-15T01:04:17Z</time> </trkpt> <trkpt lat="12.8966190" lon="77.5915370"> <ele>913.3</ele> <time>2016-11-15T01:04:19Z</time> </trkpt> <trkpt lat="12.8965840" lon="77.5915270"> <ele>913.5</ele> <time>2016-11-15T01:04:21Z</time> </trkpt> <trkpt lat="12.8965470" lon="77.5915260"> <ele>913.6</ele> <time>2016-11-15T01:04:23Z</time> </trkpt> <trkpt lat="12.8965010" lon="77.5915210"> <ele>913.8</ele> <time>2016-11-15T01:04:25Z</time> </trkpt> <trkpt lat="12.8964620" lon="77.5915120"> <ele>913.9</ele> <time>2016-11-15T01:04:27Z</time> </trkpt> <trkpt lat="12.8964150" lon="77.5915140"> <ele>914.1</ele> <time>2016-11-15T01:04:29Z</time> </trkpt> <trkpt lat="12.8963720" lon="77.5915160"> <ele>914.2</ele> <time>2016-11-15T01:04:31Z</time> </trkpt> <trkpt lat="12.8963430" lon="77.5915150"> <ele>914.3</ele> <time>2016-11-15T01:04:32Z</time> </trkpt> <trkpt lat="12.8963130" lon="77.5915120"> <ele>914.5</ele> <time>2016-11-15T01:04:33Z</time> </trkpt> <trkpt lat="12.8962710" lon="77.5914930"> <ele>914.6</ele> <time>2016-11-15T01:04:35Z</time> </trkpt> <trkpt lat="12.8962440" lon="77.5914790"> <ele>914.8</ele> <time>2016-11-15T01:04:37Z</time> </trkpt> <trkpt lat="12.8962150" lon="77.5914480"> <ele>915.0</ele> <time>2016-11-15T01:04:39Z</time> </trkpt> <trkpt lat="12.8961780" lon="77.5914160"> <ele>915.2</ele> <time>2016-11-15T01:04:41Z</time> </trkpt> <trkpt lat="12.8961510" lon="77.5913960"> <ele>915.4</ele> <time>2016-11-15T01:04:43Z</time> </trkpt> <trkpt lat="12.8961160" lon="77.5913830"> <ele>915.6</ele> <time>2016-11-15T01:04:45Z</time> </trkpt> <trkpt lat="12.8960660" lon="77.5913700"> <ele>916.0</ele> <time>2016-11-15T01:04:47Z</time> </trkpt> <trkpt lat="12.8960220" lon="77.5913630"> <ele>916.2</ele> <time>2016-11-15T01:04:49Z</time> </trkpt> <trkpt lat="12.8959850" lon="77.5913430"> <ele>916.5</ele> <time>2016-11-15T01:04:51Z</time> </trkpt> <trkpt lat="12.8959560" lon="77.5913050"> <ele>916.7</ele> <time>2016-11-15T01:04:53Z</time> </trkpt> <trkpt lat="12.8959170" lon="77.5912780"> <ele>917.0</ele> <time>2016-11-15T01:04:55Z</time> </trkpt> <trkpt lat="12.8958850" lon="77.5912570"> <ele>917.2</ele> <time>2016-11-15T01:04:57Z</time> </trkpt> <trkpt lat="12.8958510" lon="77.5912310"> <ele>917.4</ele> <time>2016-11-15T01:04:59Z</time> </trkpt> <trkpt lat="12.8958210" lon="77.5912160"> <ele>917.5</ele> <time>2016-11-15T01:05:01Z</time> </trkpt> <trkpt lat="12.8957880" lon="77.5912070"> <ele>917.7</ele> <time>2016-11-15T01:05:03Z</time> </trkpt> <trkpt lat="12.8957520" lon="77.5912030"> <ele>917.9</ele> <time>2016-11-15T01:05:05Z</time> </trkpt> <trkpt lat="12.8957150" lon="77.5911980"> <ele>918.1</ele> <time>2016-11-15T01:05:07Z</time> </trkpt> <trkpt lat="12.8956850" lon="77.5911990"> <ele>918.3</ele> <time>2016-11-15T01:05:09Z</time> </trkpt> <trkpt lat="12.8956480" lon="77.5912010"> <ele>918.5</ele> <time>2016-11-15T01:05:11Z</time> </trkpt> <trkpt lat="12.8956190" lon="77.5911940"> <ele>918.7</ele> <time>2016-11-15T01:05:12Z</time> </trkpt> <trkpt lat="12.8955710" lon="77.5911850"> <ele>919.0</ele> <time>2016-11-15T01:05:14Z</time> </trkpt> <trkpt lat="12.8955230" lon="77.5911860"> <ele>919.3</ele> <time>2016-11-15T01:05:16Z</time> </trkpt> <trkpt lat="12.8954750" lon="77.5911870"> <ele>919.6</ele> <time>2016-11-15T01:05:18Z</time> </trkpt> <trkpt lat="12.8954330" lon="77.5911940"> <ele>919.8</ele> <time>2016-11-15T01:05:20Z</time> </trkpt> <trkpt lat="12.8953990" lon="77.5911700"> <ele>919.9</ele> <time>2016-11-15T01:05:22Z</time> </trkpt> <trkpt lat="12.8953630" lon="77.5911570"> <ele>920.0</ele> <time>2016-11-15T01:05:24Z</time> </trkpt> <trkpt lat="12.8953290" lon="77.5911590"> <ele>920.0</ele> <time>2016-11-15T01:05:26Z</time> </trkpt> <trkpt lat="12.8952940" lon="77.5911680"> <ele>920.0</ele> <time>2016-11-15T01:05:28Z</time> </trkpt> <trkpt lat="12.8952640" lon="77.5911720"> <ele>920.1</ele> <time>2016-11-15T01:05:30Z</time> </trkpt> <trkpt lat="12.8952380" lon="77.5911640"> <ele>920.1</ele> <time>2016-11-15T01:05:32Z</time> </trkpt> <trkpt lat="12.8952020" lon="77.5911490"> <ele>920.1</ele> <time>2016-11-15T01:05:34Z</time> </trkpt> <trkpt lat="12.8951720" lon="77.5911490"> <ele>920.2</ele> <time>2016-11-15T01:05:35Z</time> </trkpt> <trkpt lat="12.8951450" lon="77.5911530"> <ele>920.2</ele> <time>2016-11-15T01:05:36Z</time> </trkpt> <trkpt lat="12.8950960" lon="77.5911480"> <ele>920.3</ele> <time>2016-11-15T01:05:38Z</time> </trkpt> <trkpt lat="12.8950550" lon="77.5911400"> <ele>920.3</ele> <time>2016-11-15T01:05:40Z</time> </trkpt> <trkpt lat="12.8950150" lon="77.5911240"> <ele>920.3</ele> <time>2016-11-15T01:05:42Z</time> </trkpt> <trkpt lat="12.8949720" lon="77.5911140"> <ele>920.4</ele> <time>2016-11-15T01:05:44Z</time> </trkpt> <trkpt lat="12.8949330" lon="77.5911100"> <ele>920.4</ele> <time>2016-11-15T01:05:46Z</time> </trkpt> <trkpt lat="12.8948820" lon="77.5910970"> <ele>920.5</ele> <time>2016-11-15T01:05:48Z</time> </trkpt> <trkpt lat="12.8948470" lon="77.5910880"> <ele>920.5</ele> <time>2016-11-15T01:05:49Z</time> </trkpt> <trkpt lat="12.8948190" lon="77.5910810"> <ele>920.5</ele> <time>2016-11-15T01:05:50Z</time> </trkpt> <trkpt lat="12.8947840" lon="77.5911110"> <ele>920.6</ele> <time>2016-11-15T01:05:52Z</time> </trkpt> <trkpt lat="12.8947620" lon="77.5911370"> <ele>920.6</ele> <time>2016-11-15T01:05:53Z</time> </trkpt> <trkpt lat="12.8947280" lon="77.5911410"> <ele>920.7</ele> <time>2016-11-15T01:05:55Z</time> </trkpt> <trkpt lat="12.8946970" lon="77.5911360"> <ele>920.7</ele> <time>2016-11-15T01:05:57Z</time> </trkpt> <trkpt lat="12.8946600" lon="77.5911430"> <ele>920.8</ele> <time>2016-11-15T01:05:59Z</time> </trkpt> <trkpt lat="12.8946230" lon="77.5911510"> <ele>920.8</ele> <time>2016-11-15T01:06:01Z</time> </trkpt> <trkpt lat="12.8945870" lon="77.5911590"> <ele>920.9</ele> <time>2016-11-15T01:06:03Z</time> </trkpt> <trkpt lat="12.8945480" lon="77.5911590"> <ele>920.9</ele> <time>2016-11-15T01:06:05Z</time> </trkpt> <trkpt lat="12.8944980" lon="77.5911630"> <ele>920.9</ele> <time>2016-11-15T01:06:07Z</time> </trkpt> <trkpt lat="12.8944610" lon="77.5911580"> <ele>920.9</ele> <time>2016-11-15T01:06:09Z</time> </trkpt> <trkpt lat="12.8944140" lon="77.5911470"> <ele>920.9</ele> <time>2016-11-15T01:06:11Z</time> </trkpt> <trkpt lat="12.8943640" lon="77.5911420"> <ele>920.9</ele> <time>2016-11-15T01:06:13Z</time> </trkpt> <trkpt lat="12.8943130" lon="77.5911430"> <ele>920.9</ele> <time>2016-11-15T01:06:15Z</time> </trkpt> <trkpt lat="12.8942850" lon="77.5911500"> <ele>920.9</ele> <time>2016-11-15T01:06:16Z</time> </trkpt> <trkpt lat="12.8942390" lon="77.5911510"> <ele>920.9</ele> <time>2016-11-15T01:06:18Z</time> </trkpt> <trkpt lat="12.8941920" lon="77.5911420"> <ele>920.9</ele> <time>2016-11-15T01:06:20Z</time> </trkpt> <trkpt lat="12.8941540" lon="77.5911210"> <ele>920.9</ele> <time>2016-11-15T01:06:22Z</time> </trkpt> <trkpt lat="12.8941180" lon="77.5911050"> <ele>920.9</ele> <time>2016-11-15T01:06:24Z</time> </trkpt> <trkpt lat="12.8940880" lon="77.5910950"> <ele>920.9</ele> <time>2016-11-15T01:06:26Z</time> </trkpt> <trkpt lat="12.8940480" lon="77.5910910"> <ele>920.9</ele> <time>2016-11-15T01:06:28Z</time> </trkpt> <trkpt lat="12.8940100" lon="77.5910870"> <ele>920.9</ele> <time>2016-11-15T01:06:30Z</time> </trkpt> <trkpt lat="12.8939690" lon="77.5910870"> <ele>920.9</ele> <time>2016-11-15T01:06:32Z</time> </trkpt> <trkpt lat="12.8939330" lon="77.5910800"> <ele>921.0</ele> <time>2016-11-15T01:06:34Z</time> </trkpt> <trkpt lat="12.8938990" lon="77.5910680"> <ele>921.0</ele> <time>2016-11-15T01:06:36Z</time> </trkpt> <trkpt lat="12.8938700" lon="77.5910550"> <ele>921.0</ele> <time>2016-11-15T01:06:38Z</time> </trkpt> <trkpt lat="12.8938370" lon="77.5910520"> <ele>921.0</ele> <time>2016-11-15T01:06:40Z</time> </trkpt> <trkpt lat="12.8938040" lon="77.5910510"> <ele>921.0</ele> <time>2016-11-15T01:06:42Z</time> </trkpt> <trkpt lat="12.8937530" lon="77.5910530"> <ele>921.0</ele> <time>2016-11-15T01:06:44Z</time> </trkpt> <trkpt lat="12.8937000" lon="77.5910520"> <ele>921.2</ele> <time>2016-11-15T01:06:46Z</time> </trkpt> <trkpt lat="12.8936600" lon="77.5910440"> <ele>921.3</ele> <time>2016-11-15T01:06:48Z</time> </trkpt> <trkpt lat="12.8936240" lon="77.5910500"> <ele>921.4</ele> <time>2016-11-15T01:06:50Z</time> </trkpt> <trkpt lat="12.8935730" lon="77.5910570"> <ele>921.6</ele> <time>2016-11-15T01:06:52Z</time> </trkpt> <trkpt lat="12.8935230" lon="77.5910640"> <ele>921.8</ele> <time>2016-11-15T01:06:54Z</time> </trkpt> <trkpt lat="12.8934800" lon="77.5910650"> <ele>921.9</ele> <time>2016-11-15T01:06:56Z</time> </trkpt> <trkpt lat="12.8934340" lon="77.5910630"> <ele>922.1</ele> <time>2016-11-15T01:06:58Z</time> </trkpt> <trkpt lat="12.8933970" lon="77.5910670"> <ele>922.2</ele> <time>2016-11-15T01:07:00Z</time> </trkpt> <trkpt lat="12.8933490" lon="77.5910760"> <ele>922.3</ele> <time>2016-11-15T01:07:02Z</time> </trkpt> <trkpt lat="12.8933020" lon="77.5910910"> <ele>922.5</ele> <time>2016-11-15T01:07:04Z</time> </trkpt> <trkpt lat="12.8932720" lon="77.5911000"> <ele>922.6</ele> <time>2016-11-15T01:07:05Z</time> </trkpt> <trkpt lat="12.8932460" lon="77.5911070"> <ele>922.7</ele> <time>2016-11-15T01:07:06Z</time> </trkpt> <trkpt lat="12.8932140" lon="77.5911210"> <ele>922.8</ele> <time>2016-11-15T01:07:07Z</time> </trkpt> <trkpt lat="12.8931880" lon="77.5911390"> <ele>922.9</ele> <time>2016-11-15T01:07:08Z</time> </trkpt> <trkpt lat="12.8931500" lon="77.5911580"> <ele>923.1</ele> <time>2016-11-15T01:07:10Z</time> </trkpt> <trkpt lat="12.8931220" lon="77.5911810"> <ele>923.2</ele> <time>2016-11-15T01:07:11Z</time> </trkpt> <trkpt lat="12.8930980" lon="77.5911970"> <ele>923.3</ele> <time>2016-11-15T01:07:12Z</time> </trkpt> <trkpt lat="12.8930740" lon="77.5912300"> <ele>923.4</ele> <time>2016-11-15T01:07:14Z</time> </trkpt> <trkpt lat="12.8930440" lon="77.5912600"> <ele>923.5</ele> <time>2016-11-15T01:07:17Z</time> </trkpt> <trkpt lat="12.8930070" lon="77.5912860"> <ele>923.6</ele> <time>2016-11-15T01:07:19Z</time> </trkpt> <trkpt lat="12.8929640" lon="77.5913070"> <ele>923.6</ele> <time>2016-11-15T01:07:21Z</time> </trkpt> <trkpt lat="12.8929180" lon="77.5913240"> <ele>923.7</ele> <time>2016-11-15T01:07:23Z</time> </trkpt> <trkpt lat="12.8928750" lon="77.5913400"> <ele>923.7</ele> <time>2016-11-15T01:07:25Z</time> </trkpt> <trkpt lat="12.8928270" lon="77.5913730"> <ele>923.6</ele> <time>2016-11-15T01:07:27Z</time> </trkpt> <trkpt lat="12.8928060" lon="77.5913910"> <ele>923.5</ele> <time>2016-11-15T01:07:28Z</time> </trkpt> <trkpt lat="12.8927850" lon="77.5914100"> <ele>923.5</ele> <time>2016-11-15T01:07:29Z</time> </trkpt> <trkpt lat="12.8927490" lon="77.5914410"> <ele>923.4</ele> <time>2016-11-15T01:07:31Z</time> </trkpt> <trkpt lat="12.8927140" lon="77.5914670"> <ele>923.3</ele> <time>2016-11-15T01:07:33Z</time> </trkpt> <trkpt lat="12.8927100" lon="77.5915090"> <ele>923.2</ele> <time>2016-11-15T01:07:35Z</time> </trkpt> <trkpt lat="12.8926990" lon="77.5915570"> <ele>923.1</ele> <time>2016-11-15T01:07:37Z</time> </trkpt> <trkpt lat="12.8926850" lon="77.5915820"> <ele>923.0</ele> <time>2016-11-15T01:07:38Z</time> </trkpt> <trkpt lat="12.8926490" lon="77.5916110"> <ele>923.0</ele> <time>2016-11-15T01:07:40Z</time> </trkpt> <trkpt lat="12.8926110" lon="77.5916520"> <ele>922.9</ele> <time>2016-11-15T01:07:42Z</time> </trkpt> <trkpt lat="12.8926070" lon="77.5916950"> <ele>922.8</ele> <time>2016-11-15T01:07:44Z</time> </trkpt> <trkpt lat="12.8926120" lon="77.5917490"> <ele>922.6</ele> <time>2016-11-15T01:07:46Z</time> </trkpt> <trkpt lat="12.8926130" lon="77.5917780"> <ele>922.6</ele> <time>2016-11-15T01:07:47Z</time> </trkpt> <trkpt lat="12.8926160" lon="77.5918070"> <ele>922.5</ele> <time>2016-11-15T01:07:48Z</time> </trkpt> <trkpt lat="12.8926180" lon="77.5918650"> <ele>922.3</ele> <time>2016-11-15T01:07:50Z</time> </trkpt> <trkpt lat="12.8926200" lon="77.5919020"> <ele>922.2</ele> <time>2016-11-15T01:07:51Z</time> </trkpt> <trkpt lat="12.8926220" lon="77.5919360"> <ele>922.1</ele> <time>2016-11-15T01:07:52Z</time> </trkpt> <trkpt lat="12.8926160" lon="77.5919650"> <ele>922.0</ele> <time>2016-11-15T01:07:53Z</time> </trkpt> <trkpt lat="12.8926110" lon="77.5919920"> <ele>922.0</ele> <time>2016-11-15T01:07:54Z</time> </trkpt> <trkpt lat="12.8926040" lon="77.5920430"> <ele>921.9</ele> <time>2016-11-15T01:07:56Z</time> </trkpt> <trkpt lat="12.8926040" lon="77.5920710"> <ele>921.8</ele> <time>2016-11-15T01:07:57Z</time> </trkpt> <trkpt lat="12.8925990" lon="77.5921270"> <ele>921.8</ele> <time>2016-11-15T01:07:59Z</time> </trkpt> <trkpt lat="12.8925930" lon="77.5921790"> <ele>921.8</ele> <time>2016-11-15T01:08:01Z</time> </trkpt> <trkpt lat="12.8925910" lon="77.5922250"> <ele>921.8</ele> <time>2016-11-15T01:08:03Z</time> </trkpt> <trkpt lat="12.8926050" lon="77.5922620"> <ele>921.7</ele> <time>2016-11-15T01:08:05Z</time> </trkpt> <trkpt lat="12.8926420" lon="77.5922800"> <ele>921.7</ele> <time>2016-11-15T01:08:07Z</time> </trkpt> <trkpt lat="12.8926700" lon="77.5922790"> <ele>921.6</ele> <time>2016-11-15T01:08:08Z</time> </trkpt> <trkpt lat="12.8927170" lon="77.5922780"> <ele>921.5</ele> <time>2016-11-15T01:08:10Z</time> </trkpt> <trkpt lat="12.8927580" lon="77.5922820"> <ele>921.5</ele> <time>2016-11-15T01:08:12Z</time> </trkpt> <trkpt lat="12.8928040" lon="77.5922880"> <ele>921.4</ele> <time>2016-11-15T01:08:14Z</time> </trkpt> <trkpt lat="12.8928330" lon="77.5922880"> <ele>921.4</ele> <time>2016-11-15T01:08:15Z</time> </trkpt> <trkpt lat="12.8928600" lon="77.5922860"> <ele>921.3</ele> <time>2016-11-15T01:08:16Z</time> </trkpt> <trkpt lat="12.8929100" lon="77.5922900"> <ele>921.3</ele> <time>2016-11-15T01:08:18Z</time> </trkpt> <trkpt lat="12.8929530" lon="77.5923010"> <ele>921.4</ele> <time>2016-11-15T01:08:20Z</time> </trkpt> <trkpt lat="12.8929940" lon="77.5923130"> <ele>921.5</ele> <time>2016-11-15T01:08:22Z</time> </trkpt> <trkpt lat="12.8930420" lon="77.5923100"> <ele>921.6</ele> <time>2016-11-15T01:08:24Z</time> </trkpt> <trkpt lat="12.8930940" lon="77.5923140"> <ele>921.7</ele> <time>2016-11-15T01:08:26Z</time> </trkpt> <trkpt lat="12.8931220" lon="77.5923190"> <ele>921.8</ele> <time>2016-11-15T01:08:27Z</time> </trkpt> <trkpt lat="12.8931570" lon="77.5923130"> <ele>921.9</ele> <time>2016-11-15T01:08:29Z</time> </trkpt> <trkpt lat="12.8931960" lon="77.5923130"> <ele>922.0</ele> <time>2016-11-15T01:08:31Z</time> </trkpt> <trkpt lat="12.8932460" lon="77.5923170"> <ele>922.1</ele> <time>2016-11-15T01:08:33Z</time> </trkpt> <trkpt lat="12.8932900" lon="77.5923160"> <ele>922.2</ele> <time>2016-11-15T01:08:35Z</time> </trkpt> <trkpt lat="12.8933300" lon="77.5923210"> <ele>922.3</ele> <time>2016-11-15T01:08:37Z</time> </trkpt> <trkpt lat="12.8933690" lon="77.5923270"> <ele>922.4</ele> <time>2016-11-15T01:08:39Z</time> </trkpt> <trkpt lat="12.8934170" lon="77.5923340"> <ele>922.6</ele> <time>2016-11-15T01:08:41Z</time> </trkpt> <trkpt lat="12.8934440" lon="77.5923270"> <ele>922.6</ele> <time>2016-11-15T01:08:42Z</time> </trkpt> <trkpt lat="12.8934720" lon="77.5923090"> <ele>922.7</ele> <time>2016-11-15T01:08:43Z</time> </trkpt> <trkpt lat="12.8935260" lon="77.5923030"> <ele>922.9</ele> <time>2016-11-15T01:08:45Z</time> </trkpt> <trkpt lat="12.8935730" lon="77.5923050"> <ele>923.0</ele> <time>2016-11-15T01:08:47Z</time> </trkpt> <trkpt lat="12.8936250" lon="77.5923100"> <ele>923.1</ele> <time>2016-11-15T01:08:49Z</time> </trkpt> <trkpt lat="12.8936520" lon="77.5923070"> <ele>923.2</ele> <time>2016-11-15T01:08:50Z</time> </trkpt> <trkpt lat="12.8937030" lon="77.5923150"> <ele>923.3</ele> <time>2016-11-15T01:08:52Z</time> </trkpt> <trkpt lat="12.8937340" lon="77.5923280"> <ele>923.4</ele> <time>2016-11-15T01:08:54Z</time> </trkpt> <trkpt lat="12.8937760" lon="77.5923350"> <ele>923.4</ele> <time>2016-11-15T01:08:56Z</time> </trkpt> <trkpt lat="12.8938200" lon="77.5923350"> <ele>923.3</ele> <time>2016-11-15T01:08:58Z</time> </trkpt> <trkpt lat="12.8938670" lon="77.5923300"> <ele>923.2</ele> <time>2016-11-15T01:09:00Z</time> </trkpt> <trkpt lat="12.8939090" lon="77.5923410"> <ele>923.1</ele> <time>2016-11-15T01:09:02Z</time> </trkpt> <trkpt lat="12.8939550" lon="77.5923370"> <ele>923.0</ele> <time>2016-11-15T01:09:04Z</time> </trkpt> <trkpt lat="12.8939840" lon="77.5923320"> <ele>923.0</ele> <time>2016-11-15T01:09:05Z</time> </trkpt> <trkpt lat="12.8940340" lon="77.5923280"> <ele>922.9</ele> <time>2016-11-15T01:09:07Z</time> </trkpt> <trkpt lat="12.8940620" lon="77.5923280"> <ele>922.9</ele> <time>2016-11-15T01:09:08Z</time> </trkpt> <trkpt lat="12.8941110" lon="77.5923250"> <ele>922.8</ele> <time>2016-11-15T01:09:10Z</time> </trkpt> <trkpt lat="12.8941630" lon="77.5923270"> <ele>922.7</ele> <time>2016-11-15T01:09:12Z</time> </trkpt> <trkpt lat="12.8942080" lon="77.5923230"> <ele>922.6</ele> <time>2016-11-15T01:09:14Z</time> </trkpt> <trkpt lat="12.8942570" lon="77.5923210"> <ele>922.6</ele> <time>2016-11-15T01:09:16Z</time> </trkpt> <trkpt lat="12.8942840" lon="77.5923240"> <ele>922.5</ele> <time>2016-11-15T01:09:17Z</time> </trkpt> <trkpt lat="12.8943280" lon="77.5923190"> <ele>922.4</ele> <time>2016-11-15T01:09:19Z</time> </trkpt> <trkpt lat="12.8943590" lon="77.5923050"> <ele>922.4</ele> <time>2016-11-15T01:09:20Z</time> </trkpt> <trkpt lat="12.8944240" lon="77.5922780"> <ele>922.3</ele> <time>2016-11-15T01:09:22Z</time> </trkpt> <trkpt lat="12.8944510" lon="77.5922750"> <ele>922.2</ele> <time>2016-11-15T01:09:23Z</time> </trkpt> <trkpt lat="12.8944990" lon="77.5922860"> <ele>922.2</ele> <time>2016-11-15T01:09:25Z</time> </trkpt> <trkpt lat="12.8945420" lon="77.5922940"> <ele>922.1</ele> <time>2016-11-15T01:09:27Z</time> </trkpt> <trkpt lat="12.8945930" lon="77.5922990"> <ele>922.0</ele> <time>2016-11-15T01:09:29Z</time> </trkpt> <trkpt lat="12.8946490" lon="77.5922990"> <ele>921.8</ele> <time>2016-11-15T01:09:31Z</time> </trkpt> <trkpt lat="12.8946810" lon="77.5922990"> <ele>921.6</ele> <time>2016-11-15T01:09:32Z</time> </trkpt> <trkpt lat="12.8947090" lon="77.5923000"> <ele>921.5</ele> <time>2016-11-15T01:09:33Z</time> </trkpt> <trkpt lat="12.8947580" lon="77.5923020"> <ele>921.4</ele> <time>2016-11-15T01:09:35Z</time> </trkpt> <trkpt lat="12.8947990" lon="77.5923020"> <ele>921.2</ele> <time>2016-11-15T01:09:37Z</time> </trkpt> <trkpt lat="12.8948450" lon="77.5923200"> <ele>921.1</ele> <time>2016-11-15T01:09:39Z</time> </trkpt> <trkpt lat="12.8948670" lon="77.5923370"> <ele>921.0</ele> <time>2016-11-15T01:09:40Z</time> </trkpt> <trkpt lat="12.8948950" lon="77.5923500"> <ele>920.9</ele> <time>2016-11-15T01:09:41Z</time> </trkpt> <trkpt lat="12.8949220" lon="77.5923560"> <ele>920.8</ele> <time>2016-11-15T01:09:42Z</time> </trkpt> <trkpt lat="12.8949660" lon="77.5923570"> <ele>920.6</ele> <time>2016-11-15T01:09:44Z</time> </trkpt> <trkpt lat="12.8950160" lon="77.5923540"> <ele>920.4</ele> <time>2016-11-15T01:09:46Z</time> </trkpt> <trkpt lat="12.8950500" lon="77.5923470"> <ele>920.3</ele> <time>2016-11-15T01:09:47Z</time> </trkpt> <trkpt lat="12.8950860" lon="77.5923390"> <ele>920.2</ele> <time>2016-11-15T01:09:48Z</time> </trkpt> <trkpt lat="12.8951220" lon="77.5923310"> <ele>920.1</ele> <time>2016-11-15T01:09:49Z</time> </trkpt> <trkpt lat="12.8951730" lon="77.5923320"> <ele>919.9</ele> <time>2016-11-15T01:09:51Z</time> </trkpt> <trkpt lat="12.8952010" lon="77.5923280"> <ele>919.8</ele> <time>2016-11-15T01:09:52Z</time> </trkpt> <trkpt lat="12.8952530" lon="77.5923270"> <ele>919.6</ele> <time>2016-11-15T01:09:54Z</time> </trkpt> <trkpt lat="12.8952900" lon="77.5923240"> <ele>919.5</ele> <time>2016-11-15T01:09:55Z</time> </trkpt> <trkpt lat="12.8953230" lon="77.5923230"> <ele>919.3</ele> <time>2016-11-15T01:09:56Z</time> </trkpt> <trkpt lat="12.8953720" lon="77.5923300"> <ele>919.2</ele> <time>2016-11-15T01:09:58Z</time> </trkpt> <trkpt lat="12.8954210" lon="77.5923340"> <ele>919.0</ele> <time>2016-11-15T01:10:00Z</time> </trkpt> <trkpt lat="12.8954810" lon="77.5923320"> <ele>918.6</ele> <time>2016-11-15T01:10:02Z</time> </trkpt> <trkpt lat="12.8955300" lon="77.5923370"> <ele>918.4</ele> <time>2016-11-15T01:10:04Z</time> </trkpt> <trkpt lat="12.8955820" lon="77.5923390"> <ele>918.1</ele> <time>2016-11-15T01:10:06Z</time> </trkpt> <trkpt lat="12.8956330" lon="77.5923400"> <ele>917.8</ele> <time>2016-11-15T01:10:08Z</time> </trkpt> <trkpt lat="12.8956850" lon="77.5923370"> <ele>917.5</ele> <time>2016-11-15T01:10:10Z</time> </trkpt> <trkpt lat="12.8957320" lon="77.5923320"> <ele>917.2</ele> <time>2016-11-15T01:10:12Z</time> </trkpt> <trkpt lat="12.8957790" lon="77.5923300"> <ele>917.0</ele> <time>2016-11-15T01:10:14Z</time> </trkpt> <trkpt lat="12.8958060" lon="77.5923310"> <ele>916.8</ele> <time>2016-11-15T01:10:15Z</time> </trkpt> <trkpt lat="12.8958380" lon="77.5923270"> <ele>916.6</ele> <time>2016-11-15T01:10:16Z</time> </trkpt> <trkpt lat="12.8958680" lon="77.5923230"> <ele>916.4</ele> <time>2016-11-15T01:10:17Z</time> </trkpt> <trkpt lat="12.8959120" lon="77.5923230"> <ele>916.2</ele> <time>2016-11-15T01:10:19Z</time> </trkpt> <trkpt lat="12.8959540" lon="77.5923170"> <ele>916.0</ele> <time>2016-11-15T01:10:21Z</time> </trkpt> <trkpt lat="12.8959870" lon="77.5923120"> <ele>915.8</ele> <time>2016-11-15T01:10:22Z</time> </trkpt> <trkpt lat="12.8960250" lon="77.5923160"> <ele>915.6</ele> <time>2016-11-15T01:10:24Z</time> </trkpt> <trkpt lat="12.8960560" lon="77.5923160"> <ele>915.4</ele> <time>2016-11-15T01:10:25Z</time> </trkpt> <trkpt lat="12.8960850" lon="77.5923140"> <ele>915.2</ele> <time>2016-11-15T01:10:26Z</time> </trkpt> <trkpt lat="12.8961130" lon="77.5923100"> <ele>915.0</ele> <time>2016-11-15T01:10:27Z</time> </trkpt> <trkpt lat="12.8961490" lon="77.5923020"> <ele>914.8</ele> <time>2016-11-15T01:10:28Z</time> </trkpt> <trkpt lat="12.8961930" lon="77.5923010"> <ele>914.6</ele> <time>2016-11-15T01:10:30Z</time> </trkpt> <trkpt lat="12.8962390" lon="77.5922950"> <ele>914.3</ele> <time>2016-11-15T01:10:32Z</time> </trkpt> <trkpt lat="12.8962660" lon="77.5922880"> <ele>914.2</ele> <time>2016-11-15T01:10:33Z</time> </trkpt> <trkpt lat="12.8963140" lon="77.5922800"> <ele>914.0</ele> <time>2016-11-15T01:10:35Z</time> </trkpt> <trkpt lat="12.8963420" lon="77.5922790"> <ele>913.9</ele> <time>2016-11-15T01:10:36Z</time> </trkpt> <trkpt lat="12.8963830" lon="77.5922830"> <ele>913.7</ele> <time>2016-11-15T01:10:38Z</time> </trkpt> <trkpt lat="12.8964360" lon="77.5922780"> <ele>913.5</ele> <time>2016-11-15T01:10:40Z</time> </trkpt> <trkpt lat="12.8964630" lon="77.5922780"> <ele>913.4</ele> <time>2016-11-15T01:10:41Z</time> </trkpt> <trkpt lat="12.8965160" lon="77.5922740"> <ele>913.2</ele> <time>2016-11-15T01:10:43Z</time> </trkpt> <trkpt lat="12.8965450" lon="77.5922730"> <ele>913.1</ele> <time>2016-11-15T01:10:44Z</time> </trkpt> <trkpt lat="12.8965910" lon="77.5922700"> <ele>912.9</ele> <time>2016-11-15T01:10:46Z</time> </trkpt> <trkpt lat="12.8966230" lon="77.5922690"> <ele>912.8</ele> <time>2016-11-15T01:10:47Z</time> </trkpt> <trkpt lat="12.8966490" lon="77.5922630"> <ele>912.7</ele> <time>2016-11-15T01:10:48Z</time> </trkpt> <trkpt lat="12.8966930" lon="77.5922570"> <ele>912.5</ele> <time>2016-11-15T01:10:50Z</time> </trkpt> <trkpt lat="12.8967270" lon="77.5922560"> <ele>912.4</ele> <time>2016-11-15T01:10:52Z</time> </trkpt> <trkpt lat="12.8967740" lon="77.5922610"> <ele>912.2</ele> <time>2016-11-15T01:10:54Z</time> </trkpt> <trkpt lat="12.8968210" lon="77.5922620"> <ele>912.0</ele> <time>2016-11-15T01:10:56Z</time> </trkpt> <trkpt lat="12.8968710" lon="77.5922600"> <ele>911.8</ele> <time>2016-11-15T01:10:58Z</time> </trkpt> <trkpt lat="12.8969260" lon="77.5922620"> <ele>911.6</ele> <time>2016-11-15T01:11:00Z</time> </trkpt> <trkpt lat="12.8969860" lon="77.5922600"> <ele>911.4</ele> <time>2016-11-15T01:11:02Z</time> </trkpt> <trkpt lat="12.8970140" lon="77.5922610"> <ele>911.3</ele> <time>2016-11-15T01:11:03Z</time> </trkpt> <trkpt lat="12.8970580" lon="77.5922650"> <ele>911.1</ele> <time>2016-11-15T01:11:05Z</time> </trkpt> <trkpt lat="12.8971030" lon="77.5922630"> <ele>911.0</ele> <time>2016-11-15T01:11:07Z</time> </trkpt> <trkpt lat="12.8971300" lon="77.5922580"> <ele>910.9</ele> <time>2016-11-15T01:11:08Z</time> </trkpt> <trkpt lat="12.8971840" lon="77.5922490"> <ele>910.8</ele> <time>2016-11-15T01:11:10Z</time> </trkpt> <trkpt lat="12.8972150" lon="77.5922250"> <ele>910.7</ele> <time>2016-11-15T01:11:12Z</time> </trkpt> <trkpt lat="12.8972480" lon="77.5922010"> <ele>910.6</ele> <time>2016-11-15T01:11:14Z</time> </trkpt> <trkpt lat="12.8972730" lon="77.5921780"> <ele>910.6</ele> <time>2016-11-15T01:11:16Z</time> </trkpt> <trkpt lat="12.8972860" lon="77.5921460"> <ele>910.5</ele> <time>2016-11-15T01:11:18Z</time> </trkpt> <trkpt lat="12.8973000" lon="77.5921030"> <ele>910.5</ele> <time>2016-11-15T01:11:20Z</time> </trkpt> <trkpt lat="12.8973120" lon="77.5920540"> <ele>910.5</ele> <time>2016-11-15T01:11:22Z</time> </trkpt> <trkpt lat="12.8973150" lon="77.5920040"> <ele>910.5</ele> <time>2016-11-15T01:11:24Z</time> </trkpt> <trkpt lat="12.8973240" lon="77.5919610"> <ele>910.6</ele> <time>2016-11-15T01:11:25Z</time> </trkpt> <trkpt lat="12.8973340" lon="77.5919190"> <ele>910.6</ele> <time>2016-11-15T01:11:26Z</time> </trkpt> <trkpt lat="12.8973450" lon="77.5918840"> <ele>910.6</ele> <time>2016-11-15T01:11:27Z</time> </trkpt> <trkpt lat="12.8973520" lon="77.5918540"> <ele>910.6</ele> <time>2016-11-15T01:11:28Z</time> </trkpt> <trkpt lat="12.8973620" lon="77.5918060"> <ele>910.7</ele> <time>2016-11-15T01:11:30Z</time> </trkpt> <trkpt lat="12.8973720" lon="77.5917590"> <ele>910.7</ele> <time>2016-11-15T01:11:32Z</time> </trkpt> <trkpt lat="12.8973780" lon="77.5917280"> <ele>910.7</ele> <time>2016-11-15T01:11:34Z</time> </trkpt> <trkpt lat="12.8973900" lon="77.5917010"> <ele>910.7</ele> <time>2016-11-15T01:11:36Z</time> </trkpt> <trkpt lat="12.8974050" lon="77.5916640"> <ele>910.7</ele> <time>2016-11-15T01:11:38Z</time> </trkpt> <trkpt lat="12.8974170" lon="77.5916330"> <ele>910.7</ele> <time>2016-11-15T01:11:39Z</time> </trkpt> <trkpt lat="12.8974130" lon="77.5915850"> <ele>910.8</ele> <time>2016-11-15T01:11:41Z</time> </trkpt> <trkpt lat="12.8974070" lon="77.5915330"> <ele>910.9</ele> <time>2016-11-15T01:11:43Z</time> </trkpt> <trkpt lat="12.8974040" lon="77.5915040"> <ele>910.9</ele> <time>2016-11-15T01:11:44Z</time> </trkpt> <trkpt lat="12.8974010" lon="77.5914580"> <ele>911.0</ele> <time>2016-11-15T01:11:46Z</time> </trkpt> <trkpt lat="12.8974020" lon="77.5914220"> <ele>911.0</ele> <time>2016-11-15T01:11:47Z</time> </trkpt> <trkpt lat="12.8973990" lon="77.5913830"> <ele>911.1</ele> <time>2016-11-15T01:11:48Z</time> </trkpt> <trkpt lat="12.8973940" lon="77.5913500"> <ele>911.1</ele> <time>2016-11-15T01:11:49Z</time> </trkpt> <trkpt lat="12.8973880" lon="77.5913210"> <ele>911.2</ele> <time>2016-11-15T01:11:50Z</time> </trkpt> <trkpt lat="12.8973850" lon="77.5912680"> <ele>911.3</ele> <time>2016-11-15T01:11:52Z</time> </trkpt> <trkpt lat="12.8973790" lon="77.5912220"> <ele>911.3</ele> <time>2016-11-15T01:11:54Z</time> </trkpt> <trkpt lat="12.8973720" lon="77.5911690"> <ele>911.2</ele> <time>2016-11-15T01:11:56Z</time> </trkpt> <trkpt lat="12.8973690" lon="77.5911350"> <ele>911.2</ele> <time>2016-11-15T01:11:57Z</time> </trkpt> <trkpt lat="12.8973660" lon="77.5910880"> <ele>911.2</ele> <time>2016-11-15T01:11:59Z</time> </trkpt> <trkpt lat="12.8973610" lon="77.5910500"> <ele>911.2</ele> <time>2016-11-15T01:12:01Z</time> </trkpt> <trkpt lat="12.8973540" lon="77.5910020"> <ele>911.1</ele> <time>2016-11-15T01:12:03Z</time> </trkpt> <trkpt lat="12.8973530" lon="77.5909570"> <ele>911.1</ele> <time>2016-11-15T01:12:05Z</time> </trkpt> <trkpt lat="12.8973570" lon="77.5909140"> <ele>911.1</ele> <time>2016-11-15T01:12:07Z</time> </trkpt> <trkpt lat="12.8973630" lon="77.5908720"> <ele>911.0</ele> <time>2016-11-15T01:12:09Z</time> </trkpt> <trkpt lat="12.8973670" lon="77.5908320"> <ele>911.0</ele> <time>2016-11-15T01:12:11Z</time> </trkpt> <trkpt lat="12.8973690" lon="77.5908770"> <ele>911.0</ele> <time>2016-11-15T01:12:15Z</time> </trkpt> <trkpt lat="12.8973710" lon="77.5909130"> <ele>911.0</ele> <time>2016-11-15T01:12:17Z</time> </trkpt> <trkpt lat="12.8973830" lon="77.5909490"> <ele>911.0</ele> <time>2016-11-15T01:12:19Z</time> </trkpt> <trkpt lat="12.8973940" lon="77.5909970"> <ele>911.1</ele> <time>2016-11-15T01:12:21Z</time> </trkpt> <trkpt lat="12.8974010" lon="77.5910400"> <ele>911.1</ele> <time>2016-11-15T01:12:23Z</time> </trkpt> <trkpt lat="12.8974110" lon="77.5910910"> <ele>911.1</ele> <time>2016-11-15T01:12:25Z</time> </trkpt> <trkpt lat="12.8974110" lon="77.5911310"> <ele>911.1</ele> <time>2016-11-15T01:12:27Z</time> </trkpt> <trkpt lat="12.8974190" lon="77.5911720"> <ele>911.1</ele> <time>2016-11-15T01:12:29Z</time> </trkpt> <trkpt lat="12.8974250" lon="77.5912130"> <ele>911.2</ele> <time>2016-11-15T01:12:31Z</time> </trkpt> <trkpt lat="12.8974240" lon="77.5912600"> <ele>911.2</ele> <time>2016-11-15T01:12:33Z</time> </trkpt> <trkpt lat="12.8974180" lon="77.5913100"> <ele>911.1</ele> <time>2016-11-15T01:12:35Z</time> </trkpt> <trkpt lat="12.8974210" lon="77.5913560"> <ele>911.1</ele> <time>2016-11-15T01:12:37Z</time> </trkpt> <trkpt lat="12.8974240" lon="77.5913840"> <ele>911.0</ele> <time>2016-11-15T01:12:38Z</time> </trkpt> <trkpt lat="12.8974260" lon="77.5914370"> <ele>911.0</ele> <time>2016-11-15T01:12:40Z</time> </trkpt> <trkpt lat="12.8974170" lon="77.5914640"> <ele>910.9</ele> <time>2016-11-15T01:12:41Z</time> </trkpt> <trkpt lat="12.8974090" lon="77.5914950"> <ele>910.9</ele> <time>2016-11-15T01:12:42Z</time> </trkpt> <trkpt lat="12.8973810" lon="77.5915350"> <ele>910.9</ele> <time>2016-11-15T01:12:44Z</time> </trkpt> <trkpt lat="12.8973640" lon="77.5915720"> <ele>910.9</ele> <time>2016-11-15T01:12:46Z</time> </trkpt> <trkpt lat="12.8973500" lon="77.5916090"> <ele>910.9</ele> <time>2016-11-15T01:12:48Z</time> </trkpt> <trkpt lat="12.8973470" lon="77.5916510"> <ele>910.9</ele> <time>2016-11-15T01:12:50Z</time> </trkpt> <trkpt lat="12.8973490" lon="77.5917020"> <ele>910.8</ele> <time>2016-11-15T01:12:52Z</time> </trkpt> <trkpt lat="12.8973470" lon="77.5917340"> <ele>910.8</ele> <time>2016-11-15T01:12:53Z</time> </trkpt> <trkpt lat="12.8973440" lon="77.5917660"> <ele>910.8</ele> <time>2016-11-15T01:12:54Z</time> </trkpt> <trkpt lat="12.8973420" lon="77.5917970"> <ele>910.7</ele> <time>2016-11-15T01:12:55Z</time> </trkpt> <trkpt lat="12.8973420" lon="77.5918280"> <ele>910.7</ele> <time>2016-11-15T01:12:56Z</time> </trkpt> <trkpt lat="12.8973320" lon="77.5918760"> <ele>910.7</ele> <time>2016-11-15T01:12:58Z</time> </trkpt> <trkpt lat="12.8973140" lon="77.5919140"> <ele>910.6</ele> <time>2016-11-15T01:13:00Z</time> </trkpt> <trkpt lat="12.8972980" lon="77.5919690"> <ele>910.6</ele> <time>2016-11-15T01:13:02Z</time> </trkpt> <trkpt lat="12.8972940" lon="77.5920010"> <ele>910.6</ele> <time>2016-11-15T01:13:03Z</time> </trkpt> <trkpt lat="12.8972880" lon="77.5920300"> <ele>910.6</ele> <time>2016-11-15T01:13:04Z</time> </trkpt> <trkpt lat="12.8972810" lon="77.5920790"> <ele>910.5</ele> <time>2016-11-15T01:13:06Z</time> </trkpt> <trkpt lat="12.8972810" lon="77.5921230"> <ele>910.5</ele> <time>2016-11-15T01:13:08Z</time> </trkpt> <trkpt lat="12.8972680" lon="77.5921530"> <ele>910.6</ele> <time>2016-11-15T01:13:10Z</time> </trkpt> <trkpt lat="12.8972410" lon="77.5921800"> <ele>910.6</ele> <time>2016-11-15T01:13:12Z</time> </trkpt> <trkpt lat="12.8972260" lon="77.5922120"> <ele>910.7</ele> <time>2016-11-15T01:13:15Z</time> </trkpt> <trkpt lat="12.8972390" lon="77.5922560"> <ele>910.7</ele> <time>2016-11-15T01:13:17Z</time> </trkpt> <trkpt lat="12.8972400" lon="77.5923000"> <ele>910.7</ele> <time>2016-11-15T01:13:19Z</time> </trkpt> <trkpt lat="12.8972380" lon="77.5923300"> <ele>910.7</ele> <time>2016-11-15T01:13:21Z</time> </trkpt> <trkpt lat="12.8972450" lon="77.5923600"> <ele>910.7</ele> <time>2016-11-15T01:13:22Z</time> </trkpt> <trkpt lat="12.8972520" lon="77.5923920"> <ele>910.7</ele> <time>2016-11-15T01:13:23Z</time> </trkpt> <trkpt lat="12.8972310" lon="77.5924300"> <ele>910.7</ele> <time>2016-11-15T01:13:26Z</time> </trkpt> <trkpt lat="12.8972120" lon="77.5924730"> <ele>910.8</ele> <time>2016-11-15T01:13:28Z</time> </trkpt> <trkpt lat="12.8972080" lon="77.5925010"> <ele>910.8</ele> <time>2016-11-15T01:13:29Z</time> </trkpt> <trkpt lat="12.8972090" lon="77.5925490"> <ele>910.8</ele> <time>2016-11-15T01:13:30Z</time> </trkpt> <trkpt lat="12.8972160" lon="77.5925980"> <ele>910.8</ele> <time>2016-11-15T01:13:31Z</time> </trkpt> <trkpt lat="12.8972180" lon="77.5926350"> <ele>910.8</ele> <time>2016-11-15T01:13:32Z</time> </trkpt> <trkpt lat="12.8972140" lon="77.5926710"> <ele>910.8</ele> <time>2016-11-15T01:13:33Z</time> </trkpt> <trkpt lat="12.8971880" lon="77.5927140"> <ele>910.8</ele> <time>2016-11-15T01:13:35Z</time> </trkpt> <trkpt lat="12.8971690" lon="77.5927460"> <ele>910.9</ele> <time>2016-11-15T01:13:36Z</time> </trkpt> <trkpt lat="12.8971580" lon="77.5927750"> <ele>910.9</ele> <time>2016-11-15T01:13:37Z</time> </trkpt> <trkpt lat="12.8971370" lon="77.5928160"> <ele>910.9</ele> <time>2016-11-15T01:13:39Z</time> </trkpt> <trkpt lat="12.8971060" lon="77.5928490"> <ele>911.0</ele> <time>2016-11-15T01:13:41Z</time> </trkpt> <trkpt lat="12.8970890" lon="77.5928770"> <ele>911.0</ele> <time>2016-11-15T01:13:42Z</time> </trkpt> <trkpt lat="12.8970670" lon="77.5929310"> <ele>911.1</ele> <time>2016-11-15T01:13:44Z</time> </trkpt> <trkpt lat="12.8970470" lon="77.5929530"> <ele>911.3</ele> <time>2016-11-15T01:13:46Z</time> </trkpt> <trkpt lat="12.8970290" lon="77.5930000"> <ele>911.4</ele> <time>2016-11-15T01:13:48Z</time> </trkpt> <trkpt lat="12.8970210" lon="77.5930370"> <ele>911.6</ele> <time>2016-11-15T01:13:50Z</time> </trkpt> <trkpt lat="12.8970060" lon="77.5930720"> <ele>911.7</ele> <time>2016-11-15T01:13:52Z</time> </trkpt> <trkpt lat="12.8969850" lon="77.5931220"> <ele>911.9</ele> <time>2016-11-15T01:13:54Z</time> </trkpt> <trkpt lat="12.8969750" lon="77.5931490"> <ele>912.0</ele> <time>2016-11-15T01:13:55Z</time> </trkpt> <trkpt lat="12.8969560" lon="77.5932010"> <ele>912.1</ele> <time>2016-11-15T01:13:57Z</time> </trkpt> <trkpt lat="12.8969370" lon="77.5932370"> <ele>912.3</ele> <time>2016-11-15T01:13:59Z</time> </trkpt> <trkpt lat="12.8969080" lon="77.5932630"> <ele>912.4</ele> <time>2016-11-15T01:14:01Z</time> </trkpt> <trkpt lat="12.8968670" lon="77.5932990"> <ele>912.6</ele> <time>2016-11-15T01:14:03Z</time> </trkpt> <trkpt lat="12.8968450" lon="77.5933200"> <ele>912.7</ele> <time>2016-11-15T01:14:04Z</time> </trkpt> <trkpt lat="12.8968100" lon="77.5933520"> <ele>912.8</ele> <time>2016-11-15T01:14:05Z</time> </trkpt> <trkpt lat="12.8967770" lon="77.5933760"> <ele>913.0</ele> <time>2016-11-15T01:14:06Z</time> </trkpt> <trkpt lat="12.8967460" lon="77.5933820"> <ele>913.1</ele> <time>2016-11-15T01:14:08Z</time> </trkpt> <trkpt lat="12.8967150" lon="77.5933670"> <ele>913.1</ele> <time>2016-11-15T01:14:10Z</time> </trkpt> <trkpt lat="12.8966890" lon="77.5933580"> <ele>913.2</ele> <time>2016-11-15T01:14:11Z</time> </trkpt> <trkpt lat="12.8966650" lon="77.5933440"> <ele>913.3</ele> <time>2016-11-15T01:14:12Z</time> </trkpt> <trkpt lat="12.8966310" lon="77.5933210"> <ele>913.4</ele> <time>2016-11-15T01:14:14Z</time> </trkpt> <trkpt lat="12.8965940" lon="77.5933210"> <ele>913.5</ele> <time>2016-11-15T01:14:16Z</time> </trkpt> <trkpt lat="12.8965500" lon="77.5933320"> <ele>913.6</ele> <time>2016-11-15T01:14:18Z</time> </trkpt> <trkpt lat="12.8965120" lon="77.5933340"> <ele>913.7</ele> <time>2016-11-15T01:14:20Z</time> </trkpt> <trkpt lat="12.8964770" lon="77.5933280"> <ele>913.8</ele> <time>2016-11-15T01:14:23Z</time> </trkpt> <trkpt lat="12.8964400" lon="77.5933150"> <ele>913.9</ele> <time>2016-11-15T01:14:25Z</time> </trkpt> <trkpt lat="12.8964090" lon="77.5933110"> <ele>914.0</ele> <time>2016-11-15T01:14:27Z</time> </trkpt> <trkpt lat="12.8963770" lon="77.5933010"> <ele>914.1</ele> <time>2016-11-15T01:14:29Z</time> </trkpt> <trkpt lat="12.8963430" lon="77.5932850"> <ele>914.3</ele> <time>2016-11-15T01:14:31Z</time> </trkpt> <trkpt lat="12.8962970" lon="77.5932650"> <ele>914.4</ele> <time>2016-11-15T01:14:33Z</time> </trkpt> <trkpt lat="12.8962480" lon="77.5932520"> <ele>914.6</ele> <time>2016-11-15T01:14:35Z</time> </trkpt> <trkpt lat="12.8962150" lon="77.5932590"> <ele>914.7</ele> <time>2016-11-15T01:14:37Z</time> </trkpt> <trkpt lat="12.8961530" lon="77.5932820"> <ele>914.9</ele> <time>2016-11-15T01:14:39Z</time> </trkpt> <trkpt lat="12.8961130" lon="77.5932950"> <ele>915.0</ele> <time>2016-11-15T01:14:41Z</time> </trkpt> <trkpt lat="12.8960780" lon="77.5932900"> <ele>915.1</ele> <time>2016-11-15T01:14:43Z</time> </trkpt> <trkpt lat="12.8960490" lon="77.5932800"> <ele>915.2</ele> <time>2016-11-15T01:14:45Z</time> </trkpt> <trkpt lat="12.8959970" lon="77.5932670"> <ele>915.4</ele> <time>2016-11-15T01:14:48Z</time> </trkpt> <trkpt lat="12.8959630" lon="77.5932670"> <ele>915.5</ele> <time>2016-11-15T01:14:49Z</time> </trkpt> <trkpt lat="12.8959240" lon="77.5932630"> <ele>915.7</ele> <time>2016-11-15T01:14:51Z</time> </trkpt> <trkpt lat="12.8958770" lon="77.5932660"> <ele>915.8</ele> <time>2016-11-15T01:14:53Z</time> </trkpt> <trkpt lat="12.8958440" lon="77.5932750"> <ele>915.9</ele> <time>2016-11-15T01:14:55Z</time> </trkpt> <trkpt lat="12.8958020" lon="77.5932720"> <ele>916.0</ele> <time>2016-11-15T01:14:57Z</time> </trkpt> <trkpt lat="12.8957610" lon="77.5932540"> <ele>916.2</ele> <time>2016-11-15T01:14:59Z</time> </trkpt> <trkpt lat="12.8957210" lon="77.5932390"> <ele>916.4</ele> <time>2016-11-15T01:15:01Z</time> </trkpt> <trkpt lat="12.8956780" lon="77.5932280"> <ele>916.6</ele> <time>2016-11-15T01:15:03Z</time> </trkpt> <trkpt lat="12.8956300" lon="77.5932290"> <ele>916.8</ele> <time>2016-11-15T01:15:05Z</time> </trkpt> <trkpt lat="12.8956010" lon="77.5932300"> <ele>916.9</ele> <time>2016-11-15T01:15:06Z</time> </trkpt> <trkpt lat="12.8955730" lon="77.5932310"> <ele>917.0</ele> <time>2016-11-15T01:15:07Z</time> </trkpt> <trkpt lat="12.8955430" lon="77.5932310"> <ele>917.1</ele> <time>2016-11-15T01:15:08Z</time> </trkpt> <trkpt lat="12.8955090" lon="77.5932170"> <ele>917.2</ele> <time>2016-11-15T01:15:10Z</time> </trkpt> <trkpt lat="12.8954950" lon="77.5931770"> <ele>917.5</ele> <time>2016-11-15T01:15:13Z</time> </trkpt> <trkpt lat="12.8954810" lon="77.5931450"> <ele>917.7</ele> <time>2016-11-15T01:15:16Z</time> </trkpt> <trkpt lat="12.8954680" lon="77.5931090"> <ele>917.9</ele> <time>2016-11-15T01:15:18Z</time> </trkpt> <trkpt lat="12.8954570" lon="77.5930630"> <ele>918.1</ele> <time>2016-11-15T01:15:20Z</time> </trkpt> <trkpt lat="12.8954500" lon="77.5930170"> <ele>918.4</ele> <time>2016-11-15T01:15:22Z</time> </trkpt> <trkpt lat="12.8954370" lon="77.5929640"> <ele>918.7</ele> <time>2016-11-15T01:15:24Z</time> </trkpt> <trkpt lat="12.8954350" lon="77.5929370"> <ele>918.8</ele> <time>2016-11-15T01:15:25Z</time> </trkpt> <trkpt lat="12.8954250" lon="77.5928880"> <ele>919.0</ele> <time>2016-11-15T01:15:27Z</time> </trkpt> <trkpt lat="12.8954250" lon="77.5928410"> <ele>919.0</ele> <time>2016-11-15T01:15:29Z</time> </trkpt> <trkpt lat="12.8954220" lon="77.5928010"> <ele>919.0</ele> <time>2016-11-15T01:15:31Z</time> </trkpt> <trkpt lat="12.8954140" lon="77.5927560"> <ele>919.0</ele> <time>2016-11-15T01:15:33Z</time> </trkpt> <trkpt lat="12.8954090" lon="77.5927050"> <ele>919.0</ele> <time>2016-11-15T01:15:35Z</time> </trkpt> <trkpt lat="12.8954140" lon="77.5926670"> <ele>919.0</ele> <time>2016-11-15T01:15:37Z</time> </trkpt> <trkpt lat="12.8954110" lon="77.5926160"> <ele>919.0</ele> <time>2016-11-15T01:15:39Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5925640"> <ele>919.1</ele> <time>2016-11-15T01:15:41Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5925360"> <ele>919.1</ele> <time>2016-11-15T01:15:42Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5925070"> <ele>919.1</ele> <time>2016-11-15T01:15:43Z</time> </trkpt> <trkpt lat="12.8953900" lon="77.5924800"> <ele>919.1</ele> <time>2016-11-15T01:15:44Z</time> </trkpt> <trkpt lat="12.8953810" lon="77.5924300"> <ele>919.1</ele> <time>2016-11-15T01:15:46Z</time> </trkpt> <trkpt lat="12.8953620" lon="77.5923890"> <ele>919.2</ele> <time>2016-11-15T01:15:48Z</time> </trkpt> <trkpt lat="12.8953450" lon="77.5923590"> <ele>919.3</ele> <time>2016-11-15T01:15:50Z</time> </trkpt> <trkpt lat="12.8953110" lon="77.5923430"> <ele>919.4</ele> <time>2016-11-15T01:15:52Z</time> </trkpt> <trkpt lat="12.8952690" lon="77.5923230"> <ele>919.5</ele> <time>2016-11-15T01:15:54Z</time> </trkpt> <trkpt lat="12.8952270" lon="77.5923190"> <ele>919.7</ele> <time>2016-11-15T01:15:56Z</time> </trkpt> <trkpt lat="12.8951800" lon="77.5923090"> <ele>919.9</ele> <time>2016-11-15T01:15:58Z</time> </trkpt> <trkpt lat="12.8951430" lon="77.5923020"> <ele>920.0</ele> <time>2016-11-15T01:16:00Z</time> </trkpt> <trkpt lat="12.8951030" lon="77.5923050"> <ele>920.1</ele> <time>2016-11-15T01:16:02Z</time> </trkpt> <trkpt lat="12.8950630" lon="77.5923080"> <ele>920.3</ele> <time>2016-11-15T01:16:04Z</time> </trkpt> <trkpt lat="12.8950120" lon="77.5923110"> <ele>920.5</ele> <time>2016-11-15T01:16:06Z</time> </trkpt> <trkpt lat="12.8949700" lon="77.5923100"> <ele>920.6</ele> <time>2016-11-15T01:16:08Z</time> </trkpt> <trkpt lat="12.8949370" lon="77.5922970"> <ele>920.7</ele> <time>2016-11-15T01:16:10Z</time> </trkpt> <trkpt lat="12.8949010" lon="77.5922800"> <ele>920.9</ele> <time>2016-11-15T01:16:12Z</time> </trkpt> <trkpt lat="12.8948630" lon="77.5922770"> <ele>921.0</ele> <time>2016-11-15T01:16:14Z</time> </trkpt> <trkpt lat="12.8948240" lon="77.5922790"> <ele>921.1</ele> <time>2016-11-15T01:16:16Z</time> </trkpt> <trkpt lat="12.8947790" lon="77.5922790"> <ele>921.3</ele> <time>2016-11-15T01:16:18Z</time> </trkpt> <trkpt lat="12.8947520" lon="77.5922800"> <ele>921.4</ele> <time>2016-11-15T01:16:19Z</time> </trkpt> <trkpt lat="12.8947160" lon="77.5922820"> <ele>921.5</ele> <time>2016-11-15T01:16:20Z</time> </trkpt> <trkpt lat="12.8946640" lon="77.5922860"> <ele>921.7</ele> <time>2016-11-15T01:16:22Z</time> </trkpt> <trkpt lat="12.8946150" lon="77.5922790"> <ele>921.9</ele> <time>2016-11-15T01:16:24Z</time> </trkpt> <trkpt lat="12.8945580" lon="77.5922630"> <ele>922.0</ele> <time>2016-11-15T01:16:26Z</time> </trkpt> <trkpt lat="12.8945280" lon="77.5922610"> <ele>922.1</ele> <time>2016-11-15T01:16:27Z</time> </trkpt> <trkpt lat="12.8944920" lon="77.5922760"> <ele>922.2</ele> <time>2016-11-15T01:16:29Z</time> </trkpt> <trkpt lat="12.8944480" lon="77.5922910"> <ele>922.2</ele> <time>2016-11-15T01:16:31Z</time> </trkpt> <trkpt lat="12.8944030" lon="77.5922830"> <ele>922.3</ele> <time>2016-11-15T01:16:33Z</time> </trkpt> <trkpt lat="12.8943610" lon="77.5922720"> <ele>922.4</ele> <time>2016-11-15T01:16:35Z</time> </trkpt> <trkpt lat="12.8943150" lon="77.5922800"> <ele>922.5</ele> <time>2016-11-15T01:16:37Z</time> </trkpt> <trkpt lat="12.8942610" lon="77.5922840"> <ele>922.6</ele> <time>2016-11-15T01:16:39Z</time> </trkpt> <trkpt lat="12.8942330" lon="77.5922920"> <ele>922.6</ele> <time>2016-11-15T01:16:40Z</time> </trkpt> <trkpt lat="12.8942030" lon="77.5922970"> <ele>922.7</ele> <time>2016-11-15T01:16:41Z</time> </trkpt> <trkpt lat="12.8941550" lon="77.5922920"> <ele>922.8</ele> <time>2016-11-15T01:16:43Z</time> </trkpt> <trkpt lat="12.8941040" lon="77.5922940"> <ele>922.9</ele> <time>2016-11-15T01:16:45Z</time> </trkpt> <trkpt lat="12.8940660" lon="77.5923040"> <ele>922.9</ele> <time>2016-11-15T01:16:47Z</time> </trkpt> <trkpt lat="12.8940260" lon="77.5922950"> <ele>923.0</ele> <time>2016-11-15T01:16:49Z</time> </trkpt> <trkpt lat="12.8939840" lon="77.5922870"> <ele>923.1</ele> <time>2016-11-15T01:16:51Z</time> </trkpt> <trkpt lat="12.8939430" lon="77.5922840"> <ele>923.2</ele> <time>2016-11-15T01:16:53Z</time> </trkpt> <trkpt lat="12.8938990" lon="77.5922860"> <ele>923.2</ele> <time>2016-11-15T01:16:55Z</time> </trkpt> <trkpt lat="12.8938530" lon="77.5922840"> <ele>923.3</ele> <time>2016-11-15T01:16:57Z</time> </trkpt> <trkpt lat="12.8938080" lon="77.5922730"> <ele>923.4</ele> <time>2016-11-15T01:16:59Z</time> </trkpt> <trkpt lat="12.8937770" lon="77.5922680"> <ele>923.5</ele> <time>2016-11-15T01:17:00Z</time> </trkpt> <trkpt lat="12.8937240" lon="77.5922630"> <ele>923.5</ele> <time>2016-11-15T01:17:02Z</time> </trkpt> <trkpt lat="12.8936750" lon="77.5922450"> <ele>923.4</ele> <time>2016-11-15T01:17:04Z</time> </trkpt> <trkpt lat="12.8936270" lon="77.5922440"> <ele>923.3</ele> <time>2016-11-15T01:17:06Z</time> </trkpt> <trkpt lat="12.8935790" lon="77.5922710"> <ele>923.1</ele> <time>2016-11-15T01:17:08Z</time> </trkpt> <trkpt lat="12.8935450" lon="77.5922940"> <ele>922.9</ele> <time>2016-11-15T01:17:09Z</time> </trkpt> <trkpt lat="12.8935140" lon="77.5922930"> <ele>922.9</ele> <time>2016-11-15T01:17:11Z</time> </trkpt> <trkpt lat="12.8934720" lon="77.5922930"> <ele>922.7</ele> <time>2016-11-15T01:17:13Z</time> </trkpt> <trkpt lat="12.8934410" lon="77.5922890"> <ele>922.7</ele> <time>2016-11-15T01:17:15Z</time> </trkpt> <trkpt lat="12.8933970" lon="77.5922880"> <ele>922.6</ele> <time>2016-11-15T01:17:17Z</time> </trkpt> <trkpt lat="12.8933700" lon="77.5922930"> <ele>922.5</ele> <time>2016-11-15T01:17:18Z</time> </trkpt> <trkpt lat="12.8933230" lon="77.5922970"> <ele>922.3</ele> <time>2016-11-15T01:17:20Z</time> </trkpt> <trkpt lat="12.8932770" lon="77.5922950"> <ele>922.2</ele> <time>2016-11-15T01:17:22Z</time> </trkpt> <trkpt lat="12.8932330" lon="77.5922960"> <ele>922.1</ele> <time>2016-11-15T01:17:24Z</time> </trkpt> <trkpt lat="12.8931850" lon="77.5922930"> <ele>922.0</ele> <time>2016-11-15T01:17:26Z</time> </trkpt> <trkpt lat="12.8931560" lon="77.5922930"> <ele>921.9</ele> <time>2016-11-15T01:17:27Z</time> </trkpt> <trkpt lat="12.8931290" lon="77.5923050"> <ele>921.8</ele> <time>2016-11-15T01:17:28Z</time> </trkpt> <trkpt lat="12.8930950" lon="77.5923200"> <ele>921.7</ele> <time>2016-11-15T01:17:29Z</time> </trkpt> <trkpt lat="12.8930590" lon="77.5923300"> <ele>921.7</ele> <time>2016-11-15T01:17:30Z</time> </trkpt> <trkpt lat="12.8930100" lon="77.5923450"> <ele>921.5</ele> <time>2016-11-15T01:17:32Z</time> </trkpt> <trkpt lat="12.8929820" lon="77.5923550"> <ele>921.5</ele> <time>2016-11-15T01:17:33Z</time> </trkpt> <trkpt lat="12.8929360" lon="77.5923530"> <ele>921.4</ele> <time>2016-11-15T01:17:35Z</time> </trkpt> <trkpt lat="12.8929070" lon="77.5923540"> <ele>921.3</ele> <time>2016-11-15T01:17:36Z</time> </trkpt> <trkpt lat="12.8928630" lon="77.5923600"> <ele>921.4</ele> <time>2016-11-15T01:17:38Z</time> </trkpt> <trkpt lat="12.8928310" lon="77.5923840"> <ele>921.5</ele> <time>2016-11-15T01:17:40Z</time> </trkpt> <trkpt lat="12.8928310" lon="77.5924150"> <ele>921.5</ele> <time>2016-11-15T01:17:43Z</time> </trkpt> <trkpt lat="12.8928370" lon="77.5924430"> <ele>921.5</ele> <time>2016-11-15T01:17:45Z</time> </trkpt> <trkpt lat="12.8928460" lon="77.5924760"> <ele>921.5</ele> <time>2016-11-15T01:17:47Z</time> </trkpt> <trkpt lat="12.8928560" lon="77.5925160"> <ele>921.6</ele> <time>2016-11-15T01:17:48Z</time> </trkpt> <trkpt lat="12.8928630" lon="77.5925440"> <ele>921.6</ele> <time>2016-11-15T01:17:49Z</time> </trkpt> <trkpt lat="12.8928750" lon="77.5925890"> <ele>921.6</ele> <time>2016-11-15T01:17:51Z</time> </trkpt> <trkpt lat="12.8928880" lon="77.5926260"> <ele>921.7</ele> <time>2016-11-15T01:17:53Z</time> </trkpt> <trkpt lat="12.8929010" lon="77.5926500"> <ele>921.7</ele> <time>2016-11-15T01:17:54Z</time> </trkpt> <trkpt lat="12.8929350" lon="77.5926920"> <ele>921.7</ele> <time>2016-11-15T01:17:56Z</time> </trkpt> <trkpt lat="12.8929550" lon="77.5927180"> <ele>921.8</ele> <time>2016-11-15T01:17:57Z</time> </trkpt> <trkpt lat="12.8929820" lon="77.5927650"> <ele>921.9</ele> <time>2016-11-15T01:17:59Z</time> </trkpt> <trkpt lat="12.8929990" lon="77.5927910"> <ele>921.9</ele> <time>2016-11-15T01:18:00Z</time> </trkpt> <trkpt lat="12.8930160" lon="77.5928150"> <ele>921.9</ele> <time>2016-11-15T01:18:01Z</time> </trkpt> <trkpt lat="12.8930440" lon="77.5928640"> <ele>922.0</ele> <time>2016-11-15T01:18:03Z</time> </trkpt> <trkpt lat="12.8930590" lon="77.5928880"> <ele>922.0</ele> <time>2016-11-15T01:18:04Z</time> </trkpt> <trkpt lat="12.8930740" lon="77.5929130"> <ele>922.0</ele> <time>2016-11-15T01:18:05Z</time> </trkpt> <trkpt lat="12.8930990" lon="77.5929540"> <ele>921.9</ele> <time>2016-11-15T01:18:07Z</time> </trkpt> <trkpt lat="12.8931290" lon="77.5929970"> <ele>921.8</ele> <time>2016-11-15T01:18:09Z</time> </trkpt> <trkpt lat="12.8931490" lon="77.5930170"> <ele>921.7</ele> <time>2016-11-15T01:18:10Z</time> </trkpt> <trkpt lat="12.8931700" lon="77.5930380"> <ele>921.7</ele> <time>2016-11-15T01:18:11Z</time> </trkpt> <trkpt lat="12.8932050" lon="77.5930710"> <ele>921.6</ele> <time>2016-11-15T01:18:13Z</time> </trkpt> <trkpt lat="12.8932390" lon="77.5930940"> <ele>921.5</ele> <time>2016-11-15T01:18:15Z</time> </trkpt> <trkpt lat="12.8932670" lon="77.5931120"> <ele>921.4</ele> <time>2016-11-15T01:18:16Z</time> </trkpt> <trkpt lat="12.8933080" lon="77.5931420"> <ele>921.2</ele> <time>2016-11-15T01:18:18Z</time> </trkpt> <trkpt lat="12.8933530" lon="77.5931680"> <ele>921.1</ele> <time>2016-11-15T01:18:20Z</time> </trkpt> <trkpt lat="12.8933980" lon="77.5931850"> <ele>920.9</ele> <time>2016-11-15T01:18:22Z</time> </trkpt> <trkpt lat="12.8934360" lon="77.5931920"> <ele>920.8</ele> <time>2016-11-15T01:18:24Z</time> </trkpt> <trkpt lat="12.8934840" lon="77.5932080"> <ele>920.7</ele> <time>2016-11-15T01:18:26Z</time> </trkpt> <trkpt lat="12.8935260" lon="77.5932390"> <ele>920.5</ele> <time>2016-11-15T01:18:28Z</time> </trkpt> <trkpt lat="12.8935470" lon="77.5932650"> <ele>920.3</ele> <time>2016-11-15T01:18:29Z</time> </trkpt> <trkpt lat="12.8935640" lon="77.5932920"> <ele>920.2</ele> <time>2016-11-15T01:18:30Z</time> </trkpt> <trkpt lat="12.8935770" lon="77.5933230"> <ele>920.0</ele> <time>2016-11-15T01:18:31Z</time> </trkpt> <trkpt lat="12.8935900" lon="77.5933480"> <ele>919.8</ele> <time>2016-11-15T01:18:32Z</time> </trkpt> <trkpt lat="12.8936070" lon="77.5933700"> <ele>919.7</ele> <time>2016-11-15T01:18:33Z</time> </trkpt> <trkpt lat="12.8936230" lon="77.5933930"> <ele>919.5</ele> <time>2016-11-15T01:18:34Z</time> </trkpt> <trkpt lat="12.8936520" lon="77.5934300"> <ele>919.2</ele> <time>2016-11-15T01:18:36Z</time> </trkpt> <trkpt lat="12.8936740" lon="77.5934540"> <ele>919.0</ele> <time>2016-11-15T01:18:38Z</time> </trkpt> <trkpt lat="12.8936920" lon="77.5934790"> <ele>918.8</ele> <time>2016-11-15T01:18:39Z</time> </trkpt> <trkpt lat="12.8937190" lon="77.5935150"> <ele>918.5</ele> <time>2016-11-15T01:18:41Z</time> </trkpt> <trkpt lat="12.8937190" lon="77.5935470"> <ele>918.3</ele> <time>2016-11-15T01:18:46Z</time> </trkpt> <trkpt lat="12.8937180" lon="77.5935770"> <ele>918.2</ele> <time>2016-11-15T01:18:48Z</time> </trkpt> <trkpt lat="12.8937270" lon="77.5936190"> <ele>917.9</ele> <time>2016-11-15T01:18:50Z</time> </trkpt> <trkpt lat="12.8937350" lon="77.5936600"> <ele>917.6</ele> <time>2016-11-15T01:18:52Z</time> </trkpt> <trkpt lat="12.8937570" lon="77.5936930"> <ele>917.3</ele> <time>2016-11-15T01:18:55Z</time> </trkpt> <trkpt lat="12.8937800" lon="77.5937200"> <ele>917.2</ele> <time>2016-11-15T01:18:57Z</time> </trkpt> <trkpt lat="12.8938120" lon="77.5937740"> <ele>917.2</ele> <time>2016-11-15T01:18:59Z</time> </trkpt> <trkpt lat="12.8938400" lon="77.5937820"> <ele>917.2</ele> <time>2016-11-15T01:19:01Z</time> </trkpt> <trkpt lat="12.8938760" lon="77.5937910"> <ele>917.3</ele> <time>2016-11-15T01:19:03Z</time> </trkpt> <trkpt lat="12.8939070" lon="77.5937980"> <ele>917.3</ele> <time>2016-11-15T01:19:05Z</time> </trkpt> <trkpt lat="12.8939460" lon="77.5938190"> <ele>917.4</ele> <time>2016-11-15T01:19:07Z</time> </trkpt> <trkpt lat="12.8939730" lon="77.5938220"> <ele>917.5</ele> <time>2016-11-15T01:19:08Z</time> </trkpt> <trkpt lat="12.8940150" lon="77.5938510"> <ele>917.6</ele> <time>2016-11-15T01:19:10Z</time> </trkpt> <trkpt lat="12.8940500" lon="77.5938750"> <ele>917.6</ele> <time>2016-11-15T01:19:12Z</time> </trkpt> <trkpt lat="12.8940910" lon="77.5938980"> <ele>917.7</ele> <time>2016-11-15T01:19:14Z</time> </trkpt> <trkpt lat="12.8941300" lon="77.5939280"> <ele>917.8</ele> <time>2016-11-15T01:19:16Z</time> </trkpt> <trkpt lat="12.8941570" lon="77.5939420"> <ele>917.8</ele> <time>2016-11-15T01:19:18Z</time> </trkpt> <trkpt lat="12.8941900" lon="77.5939730"> <ele>917.9</ele> <time>2016-11-15T01:19:21Z</time> </trkpt> <trkpt lat="12.8942230" lon="77.5940100"> <ele>918.0</ele> <time>2016-11-15T01:19:23Z</time> </trkpt> <trkpt lat="12.8942660" lon="77.5940350"> <ele>918.0</ele> <time>2016-11-15T01:19:25Z</time> </trkpt> <trkpt lat="12.8942930" lon="77.5940710"> <ele>918.1</ele> <time>2016-11-15T01:19:27Z</time> </trkpt> <trkpt lat="12.8943150" lon="77.5940890"> <ele>918.1</ele> <time>2016-11-15T01:19:28Z</time> </trkpt> <trkpt lat="12.8943540" lon="77.5941150"> <ele>918.1</ele> <time>2016-11-15T01:19:30Z</time> </trkpt> <trkpt lat="12.8943790" lon="77.5941460"> <ele>918.1</ele> <time>2016-11-15T01:19:31Z</time> </trkpt> <trkpt lat="12.8943890" lon="77.5941750"> <ele>918.1</ele> <time>2016-11-15T01:19:32Z</time> </trkpt> <trkpt lat="12.8944020" lon="77.5942040"> <ele>918.1</ele> <time>2016-11-15T01:19:33Z</time> </trkpt> <trkpt lat="12.8944180" lon="77.5942340"> <ele>918.1</ele> <time>2016-11-15T01:19:34Z</time> </trkpt> <trkpt lat="12.8944420" lon="77.5942680"> <ele>918.1</ele> <time>2016-11-15T01:19:36Z</time> </trkpt> <trkpt lat="12.8944690" lon="77.5943100"> <ele>918.1</ele> <time>2016-11-15T01:19:38Z</time> </trkpt> <trkpt lat="12.8944950" lon="77.5943370"> <ele>918.1</ele> <time>2016-11-15T01:19:40Z</time> </trkpt> <trkpt lat="12.8945260" lon="77.5943630"> <ele>918.1</ele> <time>2016-11-15T01:19:41Z</time> </trkpt> <trkpt lat="12.8945570" lon="77.5943940"> <ele>918.0</ele> <time>2016-11-15T01:19:43Z</time> </trkpt> <trkpt lat="12.8946160" lon="77.5944070"> <ele>917.8</ele> <time>2016-11-15T01:19:45Z</time> </trkpt> <trkpt lat="12.8946690" lon="77.5944290"> <ele>917.5</ele> <time>2016-11-15T01:19:47Z</time> </trkpt> <trkpt lat="12.8947040" lon="77.5944430"> <ele>917.3</ele> <time>2016-11-15T01:19:48Z</time> </trkpt> <trkpt lat="12.8947450" lon="77.5944610"> <ele>917.1</ele> <time>2016-11-15T01:19:50Z</time> </trkpt> <trkpt lat="12.8947900" lon="77.5944840"> <ele>916.8</ele> <time>2016-11-15T01:19:52Z</time> </trkpt> <trkpt lat="12.8948200" lon="77.5945070"> <ele>916.6</ele> <time>2016-11-15T01:19:54Z</time> </trkpt> <trkpt lat="12.8948470" lon="77.5945280"> <ele>916.5</ele> <time>2016-11-15T01:19:56Z</time> </trkpt> <trkpt lat="12.8948800" lon="77.5945500"> <ele>916.2</ele> <time>2016-11-15T01:19:58Z</time> </trkpt> <trkpt lat="12.8949150" lon="77.5945720"> <ele>916.0</ele> <time>2016-11-15T01:20:00Z</time> </trkpt> <trkpt lat="12.8949560" lon="77.5945980"> <ele>915.8</ele> <time>2016-11-15T01:20:02Z</time> </trkpt> <trkpt lat="12.8950070" lon="77.5946220"> <ele>915.4</ele> <time>2016-11-15T01:20:04Z</time> </trkpt> <trkpt lat="12.8950350" lon="77.5946280"> <ele>915.3</ele> <time>2016-11-15T01:20:05Z</time> </trkpt> <trkpt lat="12.8950760" lon="77.5946270"> <ele>915.0</ele> <time>2016-11-15T01:20:07Z</time> </trkpt> <trkpt lat="12.8951070" lon="77.5946270"> <ele>914.9</ele> <time>2016-11-15T01:20:08Z</time> </trkpt> <trkpt lat="12.8951430" lon="77.5946100"> <ele>914.6</ele> <time>2016-11-15T01:20:10Z</time> </trkpt> <trkpt lat="12.8951770" lon="77.5946030"> <ele>914.4</ele> <time>2016-11-15T01:20:11Z</time> </trkpt> <trkpt lat="12.8952190" lon="77.5945890"> <ele>914.2</ele> <time>2016-11-15T01:20:13Z</time> </trkpt> <trkpt lat="12.8952400" lon="77.5945540"> <ele>914.1</ele> <time>2016-11-15T01:20:15Z</time> </trkpt> <trkpt lat="12.8952660" lon="77.5945360"> <ele>914.0</ele> <time>2016-11-15T01:20:18Z</time> </trkpt> <trkpt lat="12.8952990" lon="77.5945300"> <ele>913.8</ele> <time>2016-11-15T01:20:20Z</time> </trkpt> <trkpt lat="12.8953250" lon="77.5945110"> <ele>913.7</ele> <time>2016-11-15T01:20:21Z</time> </trkpt> <trkpt lat="12.8953490" lon="77.5944820"> <ele>913.6</ele> <time>2016-11-15T01:20:23Z</time> </trkpt> <trkpt lat="12.8953670" lon="77.5944540"> <ele>913.6</ele> <time>2016-11-15T01:20:25Z</time> </trkpt> <trkpt lat="12.8953760" lon="77.5944190"> <ele>913.6</ele> <time>2016-11-15T01:20:27Z</time> </trkpt> <trkpt lat="12.8953780" lon="77.5943900"> <ele>913.7</ele> <time>2016-11-15T01:20:29Z</time> </trkpt> <trkpt lat="12.8953860" lon="77.5943460"> <ele>913.7</ele> <time>2016-11-15T01:20:31Z</time> </trkpt> <trkpt lat="12.8953840" lon="77.5943060"> <ele>913.8</ele> <time>2016-11-15T01:20:33Z</time> </trkpt> <trkpt lat="12.8953830" lon="77.5942760"> <ele>913.9</ele> <time>2016-11-15T01:20:35Z</time> </trkpt> <trkpt lat="12.8953830" lon="77.5942460"> <ele>914.0</ele> <time>2016-11-15T01:20:37Z</time> </trkpt> <trkpt lat="12.8953910" lon="77.5941970"> <ele>914.1</ele> <time>2016-11-15T01:20:39Z</time> </trkpt> <trkpt lat="12.8953990" lon="77.5941440"> <ele>914.1</ele> <time>2016-11-15T01:20:41Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5941160"> <ele>914.2</ele> <time>2016-11-15T01:20:42Z</time> </trkpt> <trkpt lat="12.8954050" lon="77.5940680"> <ele>914.3</ele> <time>2016-11-15T01:20:44Z</time> </trkpt> <trkpt lat="12.8954050" lon="77.5940320"> <ele>914.4</ele> <time>2016-11-15T01:20:45Z</time> </trkpt> <trkpt lat="12.8953960" lon="77.5939970"> <ele>914.5</ele> <time>2016-11-15T01:20:46Z</time> </trkpt> <trkpt lat="12.8953880" lon="77.5939430"> <ele>914.7</ele> <time>2016-11-15T01:20:48Z</time> </trkpt> <trkpt lat="12.8953760" lon="77.5939020"> <ele>914.8</ele> <time>2016-11-15T01:20:51Z</time> </trkpt> <trkpt lat="12.8953740" lon="77.5938510"> <ele>914.9</ele> <time>2016-11-15T01:20:53Z</time> </trkpt> <trkpt lat="12.8953770" lon="77.5938230"> <ele>915.0</ele> <time>2016-11-15T01:20:54Z</time> </trkpt> <trkpt lat="12.8953780" lon="77.5937780"> <ele>915.1</ele> <time>2016-11-15T01:20:56Z</time> </trkpt> <trkpt lat="12.8953930" lon="77.5937300"> <ele>915.2</ele> <time>2016-11-15T01:20:58Z</time> </trkpt> <trkpt lat="12.8953970" lon="77.5936910"> <ele>915.4</ele> <time>2016-11-15T01:21:00Z</time> </trkpt> <trkpt lat="12.8953890" lon="77.5936450"> <ele>915.6</ele> <time>2016-11-15T01:21:02Z</time> </trkpt> <trkpt lat="12.8953890" lon="77.5935980"> <ele>915.8</ele> <time>2016-11-15T01:21:04Z</time> </trkpt> <trkpt lat="12.8953890" lon="77.5935610"> <ele>916.0</ele> <time>2016-11-15T01:21:06Z</time> </trkpt> <trkpt lat="12.8953920" lon="77.5935150"> <ele>916.2</ele> <time>2016-11-15T01:21:08Z</time> </trkpt> <trkpt lat="12.8953910" lon="77.5934720"> <ele>916.4</ele> <time>2016-11-15T01:21:10Z</time> </trkpt> <trkpt lat="12.8953910" lon="77.5934360"> <ele>916.6</ele> <time>2016-11-15T01:21:12Z</time> </trkpt> <trkpt lat="12.8954000" lon="77.5933940"> <ele>916.8</ele> <time>2016-11-15T01:21:14Z</time> </trkpt> <trkpt lat="12.8953990" lon="77.5933640"> <ele>916.9</ele> <time>2016-11-15T01:21:15Z</time> </trkpt> <trkpt lat="12.8954020" lon="77.5933350"> <ele>917.0</ele> <time>2016-11-15T01:21:16Z</time> </trkpt> <trkpt lat="12.8953980" lon="77.5932920"> <ele>917.3</ele> <time>2016-11-15T01:21:18Z</time> </trkpt> <trkpt lat="12.8953910" lon="77.5932410"> <ele>917.5</ele> <time>2016-11-15T01:21:20Z</time> </trkpt> <trkpt lat="12.8953920" lon="77.5932040"> <ele>917.7</ele> <time>2016-11-15T01:21:22Z</time> </trkpt> <trkpt lat="12.8953880" lon="77.5931610"> <ele>917.9</ele> <time>2016-11-15T01:21:24Z</time> </trkpt> <trkpt lat="12.8953880" lon="77.5931220"> <ele>918.1</ele> <time>2016-11-15T01:21:26Z</time> </trkpt> <trkpt lat="12.8953780" lon="77.5930700"> <ele>918.4</ele> <time>2016-11-15T01:21:28Z</time> </trkpt> <trkpt lat="12.8953760" lon="77.5930220"> <ele>918.6</ele> <time>2016-11-15T01:21:30Z</time> </trkpt> <trkpt lat="12.8953780" lon="77.5929770"> <ele>918.8</ele> <time>2016-11-15T01:21:32Z</time> </trkpt> <trkpt lat="12.8953740" lon="77.5929430"> <ele>919.0</ele> <time>2016-11-15T01:21:34Z</time> </trkpt> <trkpt lat="12.8953660" lon="77.5928910"> <ele>919.2</ele> <time>2016-11-15T01:21:36Z</time> </trkpt> <trkpt lat="12.8953590" lon="77.5928470"> <ele>919.2</ele> <time>2016-11-15T01:21:38Z</time> </trkpt> <trkpt lat="12.8953540" lon="77.5928120"> <ele>919.2</ele> <time>2016-11-15T01:21:40Z</time> </trkpt> <trkpt lat="12.8953450" lon="77.5927710"> <ele>919.3</ele> <time>2016-11-15T01:21:42Z</time> </trkpt> <trkpt lat="12.8953340" lon="77.5927220"> <ele>919.3</ele> <time>2016-11-15T01:21:44Z</time> </trkpt> <trkpt lat="12.8953270" lon="77.5926830"> <ele>919.3</ele> <time>2016-11-15T01:21:46Z</time> </trkpt> <trkpt lat="12.8953320" lon="77.5926430"> <ele>919.3</ele> <time>2016-11-15T01:21:48Z</time> </trkpt> <trkpt lat="12.8953370" lon="77.5926110"> <ele>919.3</ele> <time>2016-11-15T01:21:50Z</time> </trkpt> <trkpt lat="12.8953340" lon="77.5925570"> <ele>919.3</ele> <time>2016-11-15T01:21:52Z</time> </trkpt> <trkpt lat="12.8953320" lon="77.5925110"> <ele>919.3</ele> <time>2016-11-15T01:21:54Z</time> </trkpt> <trkpt lat="12.8953300" lon="77.5924650"> <ele>919.3</ele> <time>2016-11-15T01:21:56Z</time> </trkpt> <trkpt lat="12.8953300" lon="77.5924250"> <ele>919.3</ele> <time>2016-11-15T01:21:58Z</time> </trkpt> <trkpt lat="12.8953380" lon="77.5923810"> <ele>919.3</ele> <time>2016-11-15T01:22:00Z</time> </trkpt> <trkpt lat="12.8953620" lon="77.5923320"> <ele>919.2</ele> <time>2016-11-15T01:22:02Z</time> </trkpt> <trkpt lat="12.8953960" lon="77.5923140"> <ele>919.1</ele> <time>2016-11-15T01:22:04Z</time> </trkpt> <trkpt lat="12.8954430" lon="77.5923070"> <ele>918.9</ele> <time>2016-11-15T01:22:06Z</time> </trkpt> <trkpt lat="12.8954830" lon="77.5923030"> <ele>918.6</ele> <time>2016-11-15T01:22:08Z</time> </trkpt> <trkpt lat="12.8955260" lon="77.5922980"> <ele>918.4</ele> <time>2016-11-15T01:22:10Z</time> </trkpt> <trkpt lat="12.8955830" lon="77.5922970"> <ele>918.1</ele> <time>2016-11-15T01:22:12Z</time> </trkpt> <trkpt lat="12.8956110" lon="77.5922980"> <ele>917.9</ele> <time>2016-11-15T01:22:13Z</time> </trkpt> <trkpt lat="12.8956570" lon="77.5922970"> <ele>917.6</ele> <time>2016-11-15T01:22:15Z</time> </trkpt> <trkpt lat="12.8957070" lon="77.5922930"> <ele>917.3</ele> <time>2016-11-15T01:22:17Z</time> </trkpt> <trkpt lat="12.8957530" lon="77.5922880"> <ele>917.1</ele> <time>2016-11-15T01:22:20Z</time> </trkpt> <trkpt lat="12.8957970" lon="77.5922830"> <ele>916.8</ele> <time>2016-11-15T01:22:22Z</time> </trkpt> <trkpt lat="12.8958280" lon="77.5922860"> <ele>916.7</ele> <time>2016-11-15T01:22:23Z</time> </trkpt> <trkpt lat="12.8958620" lon="77.5922870"> <ele>916.5</ele> <time>2016-11-15T01:22:24Z</time> </trkpt> <trkpt lat="12.8959110" lon="77.5922850"> <ele>916.2</ele> <time>2016-11-15T01:22:26Z</time> </trkpt> <trkpt lat="12.8959380" lon="77.5922860"> <ele>916.0</ele> <time>2016-11-15T01:22:27Z</time> </trkpt> <trkpt lat="12.8959680" lon="77.5922860"> <ele>915.9</ele> <time>2016-11-15T01:22:28Z</time> </trkpt> <trkpt lat="12.8960220" lon="77.5922940"> <ele>915.6</ele> <time>2016-11-15T01:22:30Z</time> </trkpt> <trkpt lat="12.8960530" lon="77.5922950"> <ele>915.4</ele> <time>2016-11-15T01:22:31Z</time> </trkpt> <trkpt lat="12.8961070" lon="77.5923010"> <ele>915.1</ele> <time>2016-11-15T01:22:33Z</time> </trkpt> <trkpt lat="12.8961350" lon="77.5923020"> <ele>914.9</ele> <time>2016-11-15T01:22:34Z</time> </trkpt> <trkpt lat="12.8961860" lon="77.5923070"> <ele>914.6</ele> <time>2016-11-15T01:22:36Z</time> </trkpt> <trkpt lat="12.8962340" lon="77.5923120"> <ele>914.4</ele> <time>2016-11-15T01:22:38Z</time> </trkpt> <trkpt lat="12.8962830" lon="77.5923140"> <ele>914.1</ele> <time>2016-11-15T01:22:40Z</time> </trkpt> <trkpt lat="12.8963290" lon="77.5923190"> <ele>914.0</ele> <time>2016-11-15T01:22:42Z</time> </trkpt> <trkpt lat="12.8963770" lon="77.5923230"> <ele>913.8</ele> <time>2016-11-15T01:22:44Z</time> </trkpt> <trkpt lat="12.8964060" lon="77.5923210"> <ele>913.7</ele> <time>2016-11-15T01:22:45Z</time> </trkpt> <trkpt lat="12.8964510" lon="77.5923210"> <ele>913.5</ele> <time>2016-11-15T01:22:47Z</time> </trkpt> <trkpt lat="12.8964960" lon="77.5923220"> <ele>913.3</ele> <time>2016-11-15T01:22:49Z</time> </trkpt> <trkpt lat="12.8965350" lon="77.5923200"> <ele>913.2</ele> <time>2016-11-15T01:22:51Z</time> </trkpt> <trkpt lat="12.8965760" lon="77.5923260"> <ele>913.0</ele> <time>2016-11-15T01:22:53Z</time> </trkpt> <trkpt lat="12.8966050" lon="77.5923300"> <ele>912.9</ele> <time>2016-11-15T01:22:54Z</time> </trkpt> <trkpt lat="12.8966570" lon="77.5923300"> <ele>912.7</ele> <time>2016-11-15T01:22:56Z</time> </trkpt> <trkpt lat="12.8967190" lon="77.5923290"> <ele>912.4</ele> <time>2016-11-15T01:22:58Z</time> </trkpt> <trkpt lat="12.8967570" lon="77.5923280"> <ele>912.3</ele> <time>2016-11-15T01:22:59Z</time> </trkpt> <trkpt lat="12.8967900" lon="77.5923260"> <ele>912.2</ele> <time>2016-11-15T01:23:00Z</time> </trkpt> <trkpt lat="12.8968220" lon="77.5923160"> <ele>912.0</ele> <time>2016-11-15T01:23:01Z</time> </trkpt> <trkpt lat="12.8968510" lon="77.5923070"> <ele>911.9</ele> <time>2016-11-15T01:23:02Z</time> </trkpt> <trkpt lat="12.8968990" lon="77.5923020"> <ele>911.7</ele> <time>2016-11-15T01:23:04Z</time> </trkpt> <trkpt lat="12.8969480" lon="77.5922930"> <ele>911.5</ele> <time>2016-11-15T01:23:06Z</time> </trkpt> <trkpt lat="12.8969780" lon="77.5922970"> <ele>911.4</ele> <time>2016-11-15T01:23:08Z</time> </trkpt> <trkpt lat="12.8970330" lon="77.5923010"> <ele>911.2</ele> <time>2016-11-15T01:23:10Z</time> </trkpt> <trkpt lat="12.8970640" lon="77.5923010"> <ele>911.1</ele> <time>2016-11-15T01:23:11Z</time> </trkpt> <trkpt lat="12.8971050" lon="77.5922960"> <ele>911.0</ele> <time>2016-11-15T01:23:13Z</time> </trkpt> <trkpt lat="12.8971290" lon="77.5922720"> <ele>910.9</ele> <time>2016-11-15T01:23:15Z</time> </trkpt> <trkpt lat="12.8971560" lon="77.5922340"> <ele>910.8</ele> <time>2016-11-15T01:23:17Z</time> </trkpt> <trkpt lat="12.8971720" lon="77.5921970"> <ele>910.8</ele> <time>2016-11-15T01:23:19Z</time> </trkpt> <trkpt lat="12.8971890" lon="77.5921590"> <ele>910.8</ele> <time>2016-11-15T01:23:20Z</time> </trkpt> <trkpt lat="12.8972030" lon="77.5921080"> <ele>910.7</ele> <time>2016-11-15T01:23:22Z</time> </trkpt> <trkpt lat="12.8972080" lon="77.5920780"> <ele>910.7</ele> <time>2016-11-15T01:23:23Z</time> </trkpt> <trkpt lat="12.8972080" lon="77.5920380"> <ele>910.8</ele> <time>2016-11-15T01:23:25Z</time> </trkpt> <trkpt lat="12.8972150" lon="77.5920050"> <ele>910.8</ele> <time>2016-11-15T01:23:26Z</time> </trkpt> <trkpt lat="12.8972240" lon="77.5919720"> <ele>910.8</ele> <time>2016-11-15T01:23:27Z</time> </trkpt> <trkpt lat="12.8972350" lon="77.5919440"> <ele>910.8</ele> <time>2016-11-15T01:23:28Z</time> </trkpt> <trkpt lat="12.8972440" lon="77.5919160"> <ele>910.8</ele> <time>2016-11-15T01:23:29Z</time> </trkpt> <trkpt lat="12.8972550" lon="77.5918890"> <ele>910.8</ele> <time>2016-11-15T01:23:30Z</time> </trkpt> <trkpt lat="12.8972640" lon="77.5918610"> <ele>910.8</ele> <time>2016-11-15T01:23:31Z</time> </trkpt> <trkpt lat="12.8972750" lon="77.5918300"> <ele>910.8</ele> <time>2016-11-15T01:23:32Z</time> </trkpt> <trkpt lat="12.8972840" lon="77.5918020"> <ele>910.9</ele> <time>2016-11-15T01:23:33Z</time> </trkpt> <trkpt lat="12.8973010" lon="77.5917540"> <ele>910.9</ele> <time>2016-11-15T01:23:35Z</time> </trkpt> <trkpt lat="12.8973110" lon="77.5917280"> <ele>910.9</ele> <time>2016-11-15T01:23:36Z</time> </trkpt> <trkpt lat="12.8973250" lon="77.5917010"> <ele>910.9</ele> <time>2016-11-15T01:23:37Z</time> </trkpt> <trkpt lat="12.8973410" lon="77.5916730"> <ele>910.9</ele> <time>2016-11-15T01:23:38Z</time> </trkpt> <trkpt lat="12.8973490" lon="77.5916250"> <ele>910.9</ele> <time>2016-11-15T01:23:40Z</time> </trkpt> <trkpt lat="12.8973370" lon="77.5915860"> <ele>911.0</ele> <time>2016-11-15T01:23:41Z</time> </trkpt> <trkpt lat="12.8973320" lon="77.5915420"> <ele>911.1</ele> <time>2016-11-15T01:23:43Z</time> </trkpt> <trkpt lat="12.8973420" lon="77.5914980"> <ele>911.1</ele> <time>2016-11-15T01:23:45Z</time> </trkpt> <trkpt lat="12.8973450" lon="77.5914470"> <ele>911.1</ele> <time>2016-11-15T01:23:47Z</time> </trkpt> <trkpt lat="12.8973350" lon="77.5914070"> <ele>911.2</ele> <time>2016-11-15T01:23:49Z</time> </trkpt> <trkpt lat="12.8973340" lon="77.5913630"> <ele>911.3</ele> <time>2016-11-15T01:23:51Z</time> </trkpt> <trkpt lat="12.8973320" lon="77.5913350"> <ele>911.3</ele> <time>2016-11-15T01:23:52Z</time> </trkpt> <trkpt lat="12.8973260" lon="77.5912990"> <ele>911.4</ele> <time>2016-11-15T01:23:53Z</time> </trkpt> <trkpt lat="12.8973240" lon="77.5912670"> <ele>911.4</ele> <time>2016-11-15T01:23:54Z</time> </trkpt> <trkpt lat="12.8973190" lon="77.5912330"> <ele>911.4</ele> <time>2016-11-15T01:23:55Z</time> </trkpt> <trkpt lat="12.8973160" lon="77.5912040"> <ele>911.4</ele> <time>2016-11-15T01:23:56Z</time> </trkpt> <trkpt lat="12.8973140" lon="77.5911740"> <ele>911.4</ele> <time>2016-11-15T01:23:57Z</time> </trkpt> <trkpt lat="12.8973120" lon="77.5911450"> <ele>911.4</ele> <time>2016-11-15T01:23:58Z</time> </trkpt> <trkpt lat="12.8973110" lon="77.5911170"> <ele>911.3</ele> <time>2016-11-15T01:23:59Z</time> </trkpt> <trkpt lat="12.8973090" lon="77.5910880"> <ele>911.3</ele> <time>2016-11-15T01:24:00Z</time> </trkpt> <trkpt lat="12.8973040" lon="77.5910590"> <ele>911.3</ele> <time>2016-11-15T01:24:01Z</time> </trkpt> <trkpt lat="12.8972940" lon="77.5910070"> <ele>911.3</ele> <time>2016-11-15T01:24:03Z</time> </trkpt> <trkpt lat="12.8972950" lon="77.5909560"> <ele>911.2</ele> <time>2016-11-15T01:24:05Z</time> </trkpt> <trkpt lat="12.8972980" lon="77.5909140"> <ele>911.2</ele> <time>2016-11-15T01:24:07Z</time> </trkpt> <trkpt lat="12.8973040" lon="77.5908640"> <ele>911.1</ele> <time>2016-11-15T01:24:09Z</time> </trkpt> <trkpt lat="12.8973330" lon="77.5908230"> <ele>911.0</ele> <time>2016-11-15T01:24:11Z</time> </trkpt> <trkpt lat="12.8973610" lon="77.5907820"> <ele>911.0</ele> <time>2016-11-15T01:24:13Z</time> </trkpt> <trkpt lat="12.8973830" lon="77.5907500"> <ele>910.9</ele> <time>2016-11-15T01:24:15Z</time> </trkpt> <trkpt lat="12.8973970" lon="77.5907150"> <ele>910.8</ele> <time>2016-11-15T01:24:17Z</time> </trkpt> <trkpt lat="12.8974230" lon="77.5906810"> <ele>910.8</ele> <time>2016-11-15T01:24:19Z</time> </trkpt> <trkpt lat="12.8974140" lon="77.5906300"> <ele>910.8</ele> <time>2016-11-15T01:24:21Z</time> </trkpt> <trkpt lat="12.8974130" lon="77.5905990"> <ele>910.7</ele> <time>2016-11-15T01:24:23Z</time> </trkpt> <trkpt lat="12.8974130" lon="77.5905490"> <ele>910.7</ele> <time>2016-11-15T01:24:25Z</time> </trkpt> <trkpt lat="12.8974110" lon="77.5905200"> <ele>910.7</ele> <time>2016-11-15T01:24:26Z</time> </trkpt> <trkpt lat="12.8974080" lon="77.5904710"> <ele>910.7</ele> <time>2016-11-15T01:24:28Z</time> </trkpt> <trkpt lat="12.8973950" lon="77.5904280"> <ele>910.6</ele> <time>2016-11-15T01:24:30Z</time> </trkpt> <trkpt lat="12.8973720" lon="77.5903970"> <ele>910.6</ele> <time>2016-11-15T01:24:32Z</time> </trkpt> <trkpt lat="12.8973400" lon="77.5903990"> <ele>910.6</ele> <time>2016-11-15T01:24:35Z</time> </trkpt> <trkpt lat="12.8973120" lon="77.5904110"> <ele>910.7</ele> <time>2016-11-15T01:24:37Z</time> </trkpt> <trkpt lat="12.8972910" lon="77.5904350"> <ele>910.8</ele> <time>2016-11-15T01:24:39Z</time> </trkpt> <trkpt lat="12.8972800" lon="77.5904620"> <ele>910.8</ele> <time>2016-11-15T01:24:42Z</time> </trkpt> <trkpt lat="12.8972840" lon="77.5904900"> <ele>910.8</ele> <time>2016-11-15T01:24:45Z</time> </trkpt> <trkpt lat="12.8972990" lon="77.5905270"> <ele>910.8</ele> <time>2016-11-15T01:24:47Z</time> </trkpt> <trkpt lat="12.8973120" lon="77.5905630"> <ele>910.9</ele> <time>2016-11-15T01:24:49Z</time> </trkpt> <trkpt lat="12.8973210" lon="77.5906000"> <ele>910.9</ele> <time>2016-11-15T01:24:51Z</time> </trkpt> <trkpt lat="12.8973310" lon="77.5906330"> <ele>910.9</ele> <time>2016-11-15T01:24:53Z</time> </trkpt> <trkpt lat="12.8973350" lon="77.5906760"> <ele>910.9</ele> <time>2016-11-15T01:24:55Z</time> </trkpt> <trkpt lat="12.8973410" lon="77.5907150"> <ele>910.9</ele> <time>2016-11-15T01:24:57Z</time> </trkpt> <trkpt lat="12.8973390" lon="77.5907530"> <ele>911.0</ele> <time>2016-11-15T01:24:59Z</time> </trkpt> <trkpt lat="12.8973400" lon="77.5907900"> <ele>911.0</ele> <time>2016-11-15T01:25:01Z</time> </trkpt> <trkpt lat="12.8973400" lon="77.5908410"> <ele>911.0</ele> <time>2016-11-15T01:25:03Z</time> </trkpt> <trkpt lat="12.8973420" lon="77.5908920"> <ele>911.1</ele> <time>2016-11-15T01:25:05Z</time> </trkpt> <trkpt lat="12.8973540" lon="77.5909320"> <ele>911.1</ele> <time>2016-11-15T01:25:07Z</time> </trkpt> <trkpt lat="12.8973650" lon="77.5909780"> <ele>911.1</ele> <time>2016-11-15T01:25:09Z</time> </trkpt> <trkpt lat="12.8973770" lon="77.5910280"> <ele>911.1</ele> <time>2016-11-15T01:25:11Z</time> </trkpt> <trkpt lat="12.8973850" lon="77.5910810"> <ele>911.1</ele> <time>2016-11-15T01:25:13Z</time> </trkpt> <trkpt lat="12.8973960" lon="77.5911330"> <ele>911.2</ele> <time>2016-11-15T01:25:15Z</time> </trkpt> <trkpt lat="12.8974020" lon="77.5911610"> <ele>911.2</ele> <time>2016-11-15T01:25:16Z</time> </trkpt> <trkpt lat="12.8974070" lon="77.5911930"> <ele>911.2</ele> <time>2016-11-15T01:25:17Z</time> </trkpt> <trkpt lat="12.8974100" lon="77.5912230"> <ele>911.2</ele> <time>2016-11-15T01:25:18Z</time> </trkpt> <trkpt lat="12.8974170" lon="77.5912520"> <ele>911.2</ele> <time>2016-11-15T01:25:19Z</time> </trkpt> <trkpt lat="12.8974220" lon="77.5912960"> <ele>911.1</ele> <time>2016-11-15T01:25:21Z</time> </trkpt> <trkpt lat="12.8974190" lon="77.5913260"> <ele>911.1</ele> <time>2016-11-15T01:25:22Z</time> </trkpt> <trkpt lat="12.8974140" lon="77.5913570"> <ele>911.1</ele> <time>2016-11-15T01:25:23Z</time> </trkpt> <trkpt lat="12.8974110" lon="77.5914030"> <ele>911.0</ele> <time>2016-11-15T01:25:25Z</time> </trkpt> <trkpt lat="12.8974160" lon="77.5914420"> <ele>911.0</ele> <time>2016-11-15T01:25:27Z</time> </trkpt> <trkpt lat="12.8974210" lon="77.5914800"> <ele>910.9</ele> <time>2016-11-15T01:25:29Z</time> </trkpt> <trkpt lat="12.8974130" lon="77.5915190"> <ele>910.9</ele> <time>2016-11-15T01:25:31Z</time> </trkpt> <trkpt lat="12.8973980" lon="77.5915480"> <ele>910.9</ele> <time>2016-11-15T01:25:32Z</time> </trkpt> <trkpt lat="12.8973810" lon="77.5915730"> <ele>910.9</ele> <time>2016-11-15T01:25:33Z</time> </trkpt> <trkpt lat="12.8973500" lon="77.5916050"> <ele>910.9</ele> <time>2016-11-15T01:25:35Z</time> </trkpt> <trkpt lat="12.8973190" lon="77.5916090"> <ele>911.0</ele> <time>2016-11-15T01:25:37Z</time> </trkpt> <trkpt lat="12.8972870" lon="77.5915960"> <ele>911.1</ele> <time>2016-11-15T01:25:39Z</time> </trkpt> <trkpt lat="12.8972440" lon="77.5915910"> <ele>911.2</ele> <time>2016-11-15T01:25:41Z</time> </trkpt> <trkpt lat="12.8972150" lon="77.5915850"> <ele>911.3</ele> <time>2016-11-15T01:25:43Z</time> </trkpt> <trkpt lat="12.8971720" lon="77.5915890"> <ele>911.4</ele> <time>2016-11-15T01:25:45Z</time> </trkpt> <trkpt lat="12.8971400" lon="77.5915860"> <ele>911.5</ele> <time>2016-11-15T01:25:47Z</time> </trkpt> <trkpt lat="12.8971020" lon="77.5915660"> <ele>911.6</ele> <time>2016-11-15T01:25:49Z</time> </trkpt> <trkpt lat="12.8970750" lon="77.5915560"> <ele>911.7</ele> <time>2016-11-15T01:25:50Z</time> </trkpt> <trkpt lat="12.8970300" lon="77.5915460"> <ele>911.8</ele> <time>2016-11-15T01:25:52Z</time> </trkpt> <trkpt lat="12.8969820" lon="77.5915450"> <ele>912.0</ele> <time>2016-11-15T01:25:54Z</time> </trkpt> <trkpt lat="12.8969470" lon="77.5915340"> <ele>912.1</ele> <time>2016-11-15T01:25:56Z</time> </trkpt> <trkpt lat="12.8968920" lon="77.5915230"> <ele>912.4</ele> <time>2016-11-15T01:25:58Z</time> </trkpt> <trkpt lat="12.8968660" lon="77.5915140"> <ele>912.5</ele> <time>2016-11-15T01:25:59Z</time> </trkpt> <trkpt lat="12.8968320" lon="77.5914940"> <ele>912.6</ele> <time>2016-11-15T01:26:01Z</time> </trkpt> <trkpt lat="12.8967920" lon="77.5914820"> <ele>912.8</ele> <time>2016-11-15T01:26:03Z</time> </trkpt> <trkpt lat="12.8967660" lon="77.5914900"> <ele>912.9</ele> <time>2016-11-15T01:26:04Z</time> </trkpt> <trkpt lat="12.8967370" lon="77.5915030"> <ele>912.9</ele> <time>2016-11-15T01:26:05Z</time> </trkpt> <trkpt lat="12.8966950" lon="77.5915240"> <ele>913.1</ele> <time>2016-11-15T01:26:07Z</time> </trkpt> <trkpt lat="12.8966610" lon="77.5915370"> <ele>913.2</ele> <time>2016-11-15T01:26:09Z</time> </trkpt> <trkpt lat="12.8966230" lon="77.5915320"> <ele>913.3</ele> <time>2016-11-15T01:26:11Z</time> </trkpt> <trkpt lat="12.8965830" lon="77.5915380"> <ele>913.5</ele> <time>2016-11-15T01:26:13Z</time> </trkpt> <trkpt lat="12.8965580" lon="77.5915490"> <ele>913.5</ele> <time>2016-11-15T01:26:15Z</time> </trkpt> <trkpt lat="12.8965240" lon="77.5915400"> <ele>913.7</ele> <time>2016-11-15T01:26:17Z</time> </trkpt> <trkpt lat="12.8964910" lon="77.5915170"> <ele>913.8</ele> <time>2016-11-15T01:26:19Z</time> </trkpt> <trkpt lat="12.8964600" lon="77.5915140"> <ele>913.9</ele> <time>2016-11-15T01:26:21Z</time> </trkpt> <trkpt lat="12.8964240" lon="77.5915230"> <ele>914.0</ele> <time>2016-11-15T01:26:23Z</time> </trkpt> <trkpt lat="12.8963900" lon="77.5915160"> <ele>914.2</ele> <time>2016-11-15T01:26:25Z</time> </trkpt> <trkpt lat="12.8963380" lon="77.5915060"> <ele>914.4</ele> <time>2016-11-15T01:26:27Z</time> </trkpt> <trkpt lat="12.8962990" lon="77.5914930"> <ele>914.5</ele> <time>2016-11-15T01:26:29Z</time> </trkpt> <trkpt lat="12.8962720" lon="77.5914700"> <ele>914.7</ele> <time>2016-11-15T01:26:31Z</time> </trkpt> <trkpt lat="12.8962420" lon="77.5914560"> <ele>914.8</ele> <time>2016-11-15T01:26:33Z</time> </trkpt> <trkpt lat="12.8962030" lon="77.5914390"> <ele>915.1</ele> <time>2016-11-15T01:26:35Z</time> </trkpt> <trkpt lat="12.8961720" lon="77.5914180"> <ele>915.3</ele> <time>2016-11-15T01:26:37Z</time> </trkpt> <trkpt lat="12.8961300" lon="77.5914060"> <ele>915.5</ele> <time>2016-11-15T01:26:39Z</time> </trkpt> <trkpt lat="12.8960920" lon="77.5913960"> <ele>915.8</ele> <time>2016-11-15T01:26:41Z</time> </trkpt> <trkpt lat="12.8960510" lon="77.5913920"> <ele>916.0</ele> <time>2016-11-15T01:26:43Z</time> </trkpt> <trkpt lat="12.8960090" lon="77.5913810"> <ele>916.3</ele> <time>2016-11-15T01:26:45Z</time> </trkpt> <trkpt lat="12.8959750" lon="77.5913610"> <ele>916.5</ele> <time>2016-11-15T01:26:47Z</time> </trkpt> <trkpt lat="12.8959480" lon="77.5913370"> <ele>916.7</ele> <time>2016-11-15T01:26:49Z</time> </trkpt> <trkpt lat="12.8959200" lon="77.5913090"> <ele>916.9</ele> <time>2016-11-15T01:26:51Z</time> </trkpt> <trkpt lat="12.8958920" lon="77.5912930"> <ele>917.1</ele> <time>2016-11-15T01:26:53Z</time> </trkpt> <trkpt lat="12.8958730" lon="77.5912730"> <ele>917.2</ele> <time>2016-11-15T01:26:55Z</time> </trkpt> <trkpt lat="12.8958530" lon="77.5912360"> <ele>917.4</ele> <time>2016-11-15T01:26:57Z</time> </trkpt> <trkpt lat="12.8958180" lon="77.5912020"> <ele>917.5</ele> <time>2016-11-15T01:26:59Z</time> </trkpt> <trkpt lat="12.8957910" lon="77.5911840"> <ele>917.6</ele> <time>2016-11-15T01:27:01Z</time> </trkpt> <trkpt lat="12.8957620" lon="77.5911720"> <ele>917.8</ele> <time>2016-11-15T01:27:03Z</time> </trkpt> <trkpt lat="12.8957330" lon="77.5911640"> <ele>918.0</ele> <time>2016-11-15T01:27:05Z</time> </trkpt> <trkpt lat="12.8956920" lon="77.5911640"> <ele>918.2</ele> <time>2016-11-15T01:27:07Z</time> </trkpt> <trkpt lat="12.8956650" lon="77.5911680"> <ele>918.4</ele> <time>2016-11-15T01:27:08Z</time> </trkpt> <trkpt lat="12.8956240" lon="77.5911660"> <ele>918.6</ele> <time>2016-11-15T01:27:10Z</time> </trkpt> <trkpt lat="12.8955780" lon="77.5911670"> <ele>918.9</ele> <time>2016-11-15T01:27:12Z</time> </trkpt> <trkpt lat="12.8955320" lon="77.5911690"> <ele>919.2</ele> <time>2016-11-15T01:27:14Z</time> </trkpt> <trkpt lat="12.8955030" lon="77.5911750"> <ele>919.4</ele> <time>2016-11-15T01:27:15Z</time> </trkpt> <trkpt lat="12.8954600" lon="77.5911800"> <ele>919.7</ele> <time>2016-11-15T01:27:17Z</time> </trkpt> <trkpt lat="12.8954260" lon="77.5911510"> <ele>919.8</ele> <time>2016-11-15T01:27:19Z</time> </trkpt> <trkpt lat="12.8953990" lon="77.5911300"> <ele>919.9</ele> <time>2016-11-15T01:27:21Z</time> </trkpt> <trkpt lat="12.8953650" lon="77.5911330"> <ele>919.9</ele> <time>2016-11-15T01:27:23Z</time> </trkpt> <trkpt lat="12.8953330" lon="77.5911390"> <ele>920.0</ele> <time>2016-11-15T01:27:26Z</time> </trkpt> <trkpt lat="12.8952970" lon="77.5911420"> <ele>920.0</ele> <time>2016-11-15T01:27:28Z</time> </trkpt> <trkpt lat="12.8952470" lon="77.5911390"> <ele>920.1</ele> <time>2016-11-15T01:27:30Z</time> </trkpt> <trkpt lat="12.8952140" lon="77.5911370"> <ele>920.1</ele> <time>2016-11-15T01:27:32Z</time> </trkpt> <trkpt lat="12.8951850" lon="77.5911490"> <ele>920.2</ele> <time>2016-11-15T01:27:33Z</time> </trkpt> <trkpt lat="12.8951560" lon="77.5911520"> <ele>920.2</ele> <time>2016-11-15T01:27:34Z</time> </trkpt> <trkpt lat="12.8951200" lon="77.5911510"> <ele>920.2</ele> <time>2016-11-15T01:27:37Z</time> </trkpt> <trkpt lat="12.8950790" lon="77.5911470"> <ele>920.3</ele> <time>2016-11-15T01:27:39Z</time> </trkpt> <trkpt lat="12.8950410" lon="77.5911450"> <ele>920.3</ele> <time>2016-11-15T01:27:41Z</time> </trkpt> <trkpt lat="12.8950000" lon="77.5911390"> <ele>920.4</ele> <time>2016-11-15T01:27:43Z</time> </trkpt> <trkpt lat="12.8949690" lon="77.5911360"> <ele>920.4</ele> <time>2016-11-15T01:27:44Z</time> </trkpt> <trkpt lat="12.8949380" lon="77.5911270"> <ele>920.4</ele> <time>2016-11-15T01:27:45Z</time> </trkpt> <trkpt lat="12.8949040" lon="77.5911210"> <ele>920.5</ele> <time>2016-11-15T01:27:46Z</time> </trkpt> <trkpt lat="12.8948450" lon="77.5911190"> <ele>920.5</ele> <time>2016-11-15T01:27:48Z</time> </trkpt> <trkpt lat="12.8948160" lon="77.5911230"> <ele>920.6</ele> <time>2016-11-15T01:27:49Z</time> </trkpt> <trkpt lat="12.8947880" lon="77.5911260"> <ele>920.6</ele> <time>2016-11-15T01:27:50Z</time> </trkpt> <trkpt lat="12.8947600" lon="77.5911350"> <ele>920.6</ele> <time>2016-11-15T01:27:51Z</time> </trkpt> <trkpt lat="12.8947190" lon="77.5911460"> <ele>920.7</ele> <time>2016-11-15T01:27:53Z</time> </trkpt> <trkpt lat="12.8946780" lon="77.5911430"> <ele>920.8</ele> <time>2016-11-15T01:27:55Z</time> </trkpt> <trkpt lat="12.8946400" lon="77.5911500"> <ele>920.8</ele> <time>2016-11-15T01:27:57Z</time> </trkpt> <trkpt lat="12.8946140" lon="77.5911570"> <ele>920.9</ele> <time>2016-11-15T01:27:59Z</time> </trkpt> <trkpt lat="12.8945710" lon="77.5911500"> <ele>920.9</ele> <time>2016-11-15T01:28:01Z</time> </trkpt> <trkpt lat="12.8945300" lon="77.5911650"> <ele>920.9</ele> <time>2016-11-15T01:28:03Z</time> </trkpt> <trkpt lat="12.8944860" lon="77.5911720"> <ele>920.9</ele> <time>2016-11-15T01:28:05Z</time> </trkpt> <trkpt lat="12.8944330" lon="77.5911630"> <ele>920.9</ele> <time>2016-11-15T01:28:07Z</time> </trkpt> <trkpt lat="12.8943840" lon="77.5911580"> <ele>920.9</ele> <time>2016-11-15T01:28:09Z</time> </trkpt> <trkpt lat="12.8943470" lon="77.5911680"> <ele>920.9</ele> <time>2016-11-15T01:28:11Z</time> </trkpt> <trkpt lat="12.8943050" lon="77.5911760"> <ele>920.9</ele> <time>2016-11-15T01:28:13Z</time> </trkpt> <trkpt lat="12.8942540" lon="77.5911880"> <ele>921.0</ele> <time>2016-11-15T01:28:15Z</time> </trkpt> <trkpt lat="12.8942210" lon="77.5911870"> <ele>921.0</ele> <time>2016-11-15T01:28:17Z</time> </trkpt> <trkpt lat="12.8941850" lon="77.5911750"> <ele>921.0</ele> <time>2016-11-15T01:28:19Z</time> </trkpt> <trkpt lat="12.8941500" lon="77.5911620"> <ele>920.9</ele> <time>2016-11-15T01:28:21Z</time> </trkpt> <trkpt lat="12.8941150" lon="77.5911410"> <ele>920.9</ele> <time>2016-11-15T01:28:23Z</time> </trkpt> <trkpt lat="12.8940810" lon="77.5911320"> <ele>920.9</ele> <time>2016-11-15T01:28:25Z</time> </trkpt> <trkpt lat="12.8940450" lon="77.5911240"> <ele>920.9</ele> <time>2016-11-15T01:28:27Z</time> </trkpt> <trkpt lat="12.8940130" lon="77.5911150"> <ele>920.9</ele> <time>2016-11-15T01:28:29Z</time> </trkpt> <trkpt lat="12.8939780" lon="77.5910980"> <ele>921.0</ele> <time>2016-11-15T01:28:31Z</time> </trkpt> <trkpt lat="12.8939500" lon="77.5910760"> <ele>920.9</ele> <time>2016-11-15T01:28:33Z</time> </trkpt> <trkpt lat="12.8939220" lon="77.5910510"> <ele>921.0</ele> <time>2016-11-15T01:28:35Z</time> </trkpt> <trkpt lat="12.8938860" lon="77.5910470"> <ele>921.0</ele> <time>2016-11-15T01:28:37Z</time> </trkpt> <trkpt lat="12.8938510" lon="77.5910460"> <ele>921.0</ele> <time>2016-11-15T01:28:39Z</time> </trkpt> <trkpt lat="12.8938230" lon="77.5910440"> <ele>921.0</ele> <time>2016-11-15T01:28:41Z</time> </trkpt> <trkpt lat="12.8937760" lon="77.5910370"> <ele>921.0</ele> <time>2016-11-15T01:28:44Z</time> </trkpt> <trkpt lat="12.8937500" lon="77.5910290"> <ele>921.0</ele> <time>2016-11-15T01:28:46Z</time> </trkpt> <trkpt lat="12.8937100" lon="77.5910150"> <ele>921.1</ele> <time>2016-11-15T01:28:49Z</time> </trkpt> <trkpt lat="12.8936760" lon="77.5910180"> <ele>921.2</ele> <time>2016-11-15T01:28:51Z</time> </trkpt> <trkpt lat="12.8936380" lon="77.5910180"> <ele>921.4</ele> <time>2016-11-15T01:28:53Z</time> </trkpt> <trkpt lat="12.8936110" lon="77.5910210"> <ele>921.5</ele> <time>2016-11-15T01:28:55Z</time> </trkpt> <trkpt lat="12.8935770" lon="77.5910200"> <ele>921.6</ele> <time>2016-11-15T01:28:57Z</time> </trkpt> <trkpt lat="12.8935410" lon="77.5910260"> <ele>921.7</ele> <time>2016-11-15T01:28:59Z</time> </trkpt> <trkpt lat="12.8934950" lon="77.5910400"> <ele>921.8</ele> <time>2016-11-15T01:29:01Z</time> </trkpt> <trkpt lat="12.8934670" lon="77.5910470"> <ele>921.9</ele> <time>2016-11-15T01:29:02Z</time> </trkpt> <trkpt lat="12.8934350" lon="77.5910720"> <ele>922.1</ele> <time>2016-11-15T01:29:04Z</time> </trkpt> <trkpt lat="12.8934050" lon="77.5910990"> <ele>922.2</ele> <time>2016-11-15T01:29:06Z</time> </trkpt> <trkpt lat="12.8933750" lon="77.5911270"> <ele>922.3</ele> <time>2016-11-15T01:29:08Z</time> </trkpt> <trkpt lat="12.8933610" lon="77.5911540"> <ele>922.3</ele> <time>2016-11-15T01:29:10Z</time> </trkpt> <trkpt lat="12.8933430" lon="77.5911760"> <ele>922.4</ele> <time>2016-11-15T01:29:12Z</time> </trkpt> <trkpt lat="12.8933140" lon="77.5912020"> <ele>922.5</ele> <time>2016-11-15T01:29:14Z</time> </trkpt> <trkpt lat="12.8932690" lon="77.5912210"> <ele>922.7</ele> <time>2016-11-15T01:29:16Z</time> </trkpt> <trkpt lat="12.8932320" lon="77.5912380"> <ele>922.9</ele> <time>2016-11-15T01:29:18Z</time> </trkpt> <trkpt lat="12.8931820" lon="77.5912480"> <ele>923.0</ele> <time>2016-11-15T01:29:20Z</time> </trkpt> <trkpt lat="12.8931540" lon="77.5912580"> <ele>923.1</ele> <time>2016-11-15T01:29:21Z</time> </trkpt> <trkpt lat="12.8931200" lon="77.5912680"> <ele>923.2</ele> <time>2016-11-15T01:29:22Z</time> </trkpt> <trkpt lat="12.8930830" lon="77.5912800"> <ele>923.3</ele> <time>2016-11-15T01:29:23Z</time> </trkpt> <trkpt lat="12.8930460" lon="77.5912910"> <ele>923.4</ele> <time>2016-11-15T01:29:24Z</time> </trkpt> <trkpt lat="12.8930050" lon="77.5913060"> <ele>923.5</ele> <time>2016-11-15T01:29:25Z</time> </trkpt> <trkpt lat="12.8929740" lon="77.5913190"> <ele>923.6</ele> <time>2016-11-15T01:29:26Z</time> </trkpt> <trkpt lat="12.8929250" lon="77.5913380"> <ele>923.7</ele> <time>2016-11-15T01:29:27Z</time> </trkpt> <trkpt lat="12.8928910" lon="77.5913510"> <ele>923.6</ele> <time>2016-11-15T01:29:28Z</time> </trkpt> <trkpt lat="12.8928660" lon="77.5913850"> <ele>923.5</ele> <time>2016-11-15T01:29:30Z</time> </trkpt> <trkpt lat="12.8928500" lon="77.5914250"> <ele>923.4</ele> <time>2016-11-15T01:29:32Z</time> </trkpt> <trkpt lat="12.8928370" lon="77.5914580"> <ele>923.3</ele> <time>2016-11-15T01:29:33Z</time> </trkpt> <trkpt lat="12.8928230" lon="77.5914890"> <ele>923.2</ele> <time>2016-11-15T01:29:34Z</time> </trkpt> <trkpt lat="12.8927960" lon="77.5915150"> <ele>923.1</ele> <time>2016-11-15T01:29:35Z</time> </trkpt> <trkpt lat="12.8927640" lon="77.5915290"> <ele>923.1</ele> <time>2016-11-15T01:29:36Z</time> </trkpt> <trkpt lat="12.8927360" lon="77.5915610"> <ele>923.0</ele> <time>2016-11-15T01:29:38Z</time> </trkpt> <trkpt lat="12.8927330" lon="77.5915920"> <ele>922.9</ele> <time>2016-11-15T01:29:39Z</time> </trkpt> <trkpt lat="12.8927140" lon="77.5916620"> <ele>922.8</ele> <time>2016-11-15T01:29:41Z</time> </trkpt> <trkpt lat="12.8927020" lon="77.5917020"> <ele>922.7</ele> <time>2016-11-15T01:29:42Z</time> </trkpt> <trkpt lat="12.8927010" lon="77.5917370"> <ele>922.5</ele> <time>2016-11-15T01:29:43Z</time> </trkpt> <trkpt lat="12.8926990" lon="77.5917720"> <ele>922.4</ele> <time>2016-11-15T01:29:44Z</time> </trkpt> <trkpt lat="12.8926960" lon="77.5918030"> <ele>922.4</ele> <time>2016-11-15T01:29:45Z</time> </trkpt> <trkpt lat="12.8926860" lon="77.5918320"> <ele>922.3</ele> <time>2016-11-15T01:29:46Z</time> </trkpt> <trkpt lat="12.8926650" lon="77.5918940"> <ele>922.1</ele> <time>2016-11-15T01:29:48Z</time> </trkpt> <trkpt lat="12.8926570" lon="77.5919290"> <ele>922.1</ele> <time>2016-11-15T01:29:49Z</time> </trkpt> <trkpt lat="12.8926570" lon="77.5919720"> <ele>921.9</ele> <time>2016-11-15T01:29:51Z</time> </trkpt> <trkpt lat="12.8926520" lon="77.5920170"> <ele>921.8</ele> <time>2016-11-15T01:29:53Z</time> </trkpt> <trkpt lat="12.8926330" lon="77.5920660"> <ele>921.7</ele> <time>2016-11-15T01:29:55Z</time> </trkpt> <trkpt lat="12.8926200" lon="77.5921070"> <ele>921.7</ele> <time>2016-11-15T01:29:57Z</time> </trkpt> <trkpt lat="12.8926190" lon="77.5921510"> <ele>921.7</ele> <time>2016-11-15T01:29:59Z</time> </trkpt> <trkpt lat="12.8926020" lon="77.5921750"> <ele>921.7</ele> <time>2016-11-15T01:30:00Z</time> </trkpt> <trkpt lat="12.8925760" lon="77.5921870"> <ele>921.8</ele> <time>2016-11-15T01:30:01Z</time> </trkpt> <trkpt lat="12.8925460" lon="77.5921950"> <ele>921.8</ele> <time>2016-11-15T01:30:02Z</time> </trkpt> <trkpt lat="12.8925130" lon="77.5922050"> <ele>921.9</ele> <time>2016-11-15T01:30:03Z</time> </trkpt> <trkpt lat="12.8924910" lon="77.5922260"> <ele>921.9</ele> <time>2016-11-15T01:30:04Z</time> </trkpt> <trkpt lat="12.8924810" lon="77.5922600"> <ele>921.9</ele> <time>2016-11-15T01:30:05Z</time> </trkpt> <trkpt lat="12.8924610" lon="77.5922870"> <ele>921.9</ele> <time>2016-11-15T01:30:07Z</time> </trkpt> <trkpt lat="12.8924150" lon="77.5922930"> <ele>922.0</ele> <time>2016-11-15T01:30:09Z</time> </trkpt> <trkpt lat="12.8923750" lon="77.5923140"> <ele>922.0</ele> <time>2016-11-15T01:30:11Z</time> </trkpt> <trkpt lat="12.8923530" lon="77.5923350"> <ele>922.0</ele> <time>2016-11-15T01:30:12Z</time> </trkpt> <trkpt lat="12.8923330" lon="77.5923580"> <ele>922.0</ele> <time>2016-11-15T01:30:13Z</time> </trkpt> <trkpt lat="12.8923090" lon="77.5923860"> <ele>922.0</ele> <time>2016-11-15T01:30:14Z</time> </trkpt> <trkpt lat="12.8922800" lon="77.5924330"> <ele>922.0</ele> <time>2016-11-15T01:30:16Z</time> </trkpt> <trkpt lat="12.8922700" lon="77.5924610"> <ele>922.0</ele> <time>2016-11-15T01:30:17Z</time> </trkpt> <trkpt lat="12.8922540" lon="77.5925080"> <ele>921.9</ele> <time>2016-11-15T01:30:19Z</time> </trkpt> <trkpt lat="12.8922430" lon="77.5925560"> <ele>921.8</ele> <time>2016-11-15T01:30:21Z</time> </trkpt> <trkpt lat="12.8922360" lon="77.5925860"> <ele>921.8</ele> <time>2016-11-15T01:30:22Z</time> </trkpt> <trkpt lat="12.8922300" lon="77.5926150"> <ele>921.7</ele> <time>2016-11-15T01:30:23Z</time> </trkpt> <trkpt lat="12.8922220" lon="77.5926420"> <ele>921.7</ele> <time>2016-11-15T01:30:24Z</time> </trkpt> <trkpt lat="12.8922020" lon="77.5926670"> <ele>921.6</ele> <time>2016-11-15T01:30:25Z</time> </trkpt> <trkpt lat="12.8921680" lon="77.5926800"> <ele>921.6</ele> <time>2016-11-15T01:30:27Z</time> </trkpt> <trkpt lat="12.8921230" lon="77.5926720"> <ele>921.6</ele> <time>2016-11-15T01:30:29Z</time> </trkpt> <trkpt lat="12.8920770" lon="77.5926770"> <ele>921.6</ele> <time>2016-11-15T01:30:31Z</time> </trkpt> <trkpt lat="12.8920220" lon="77.5926810"> <ele>921.7</ele> <time>2016-11-15T01:30:33Z</time> </trkpt> <trkpt lat="12.8919940" lon="77.5926810"> <ele>921.7</ele> <time>2016-11-15T01:30:34Z</time> </trkpt> <trkpt lat="12.8919660" lon="77.5926910"> <ele>921.8</ele> <time>2016-11-15T01:30:35Z</time> </trkpt> <trkpt lat="12.8919330" lon="77.5927200"> <ele>921.8</ele> <time>2016-11-15T01:30:37Z</time> </trkpt> <trkpt lat="12.8919150" lon="77.5927520"> <ele>921.8</ele> <time>2016-11-15T01:30:39Z</time> </trkpt> <trkpt lat="12.8919020" lon="77.5927960"> <ele>921.8</ele> <time>2016-11-15T01:30:42Z</time> </trkpt> <trkpt lat="12.8918940" lon="77.5928370"> <ele>921.8</ele> <time>2016-11-15T01:30:44Z</time> </trkpt> <trkpt lat="12.8919070" lon="77.5928760"> <ele>921.7</ele> <time>2016-11-15T01:30:46Z</time> </trkpt> <trkpt lat="12.8919230" lon="77.5929150"> <ele>921.6</ele> <time>2016-11-15T01:30:48Z</time> </trkpt> <trkpt lat="12.8919300" lon="77.5929530"> <ele>921.5</ele> <time>2016-11-15T01:30:50Z</time> </trkpt> <trkpt lat="12.8919660" lon="77.5929590"> <ele>921.3</ele> <time>2016-11-15T01:30:55Z</time> </trkpt> <trkpt lat="12.8919960" lon="77.5929640"> <ele>921.2</ele> <time>2016-11-15T01:30:56Z</time> </trkpt> <trkpt lat="12.8920340" lon="77.5929730"> <ele>921.0</ele> <time>2016-11-15T01:30:58Z</time> </trkpt> <trkpt lat="12.8920760" lon="77.5929730"> <ele>920.9</ele> <time>2016-11-15T01:31:00Z</time> </trkpt> <trkpt lat="12.8921120" lon="77.5929840"> <ele>920.9</ele> <time>2016-11-15T01:31:02Z</time> </trkpt> <trkpt lat="12.8921550" lon="77.5930110"> <ele>920.9</ele> <time>2016-11-15T01:31:04Z</time> </trkpt> <trkpt lat="12.8921770" lon="77.5930310"> <ele>920.9</ele> <time>2016-11-15T01:31:05Z</time> </trkpt> <trkpt lat="12.8921860" lon="77.5930700"> <ele>920.8</ele> <time>2016-11-15T01:31:07Z</time> </trkpt> <trkpt lat="12.8922130" lon="77.5931120"> <ele>920.7</ele> <time>2016-11-15T01:31:09Z</time> </trkpt> <trkpt lat="12.8922330" lon="77.5931310"> <ele>920.7</ele> <time>2016-11-15T01:31:10Z</time> </trkpt> <trkpt lat="12.8922550" lon="77.5931710"> <ele>920.7</ele> <time>2016-11-15T01:31:12Z</time> </trkpt> <trkpt lat="12.8922860" lon="77.5932050"> <ele>920.6</ele> <time>2016-11-15T01:31:14Z</time> </trkpt> <trkpt lat="12.8923300" lon="77.5932390"> <ele>920.6</ele> <time>2016-11-15T01:31:16Z</time> </trkpt> <trkpt lat="12.8923580" lon="77.5932590"> <ele>920.6</ele> <time>2016-11-15T01:31:18Z</time> </trkpt> <trkpt lat="12.8923800" lon="77.5932970"> <ele>920.6</ele> <time>2016-11-15T01:31:20Z</time> </trkpt> <trkpt lat="12.8924150" lon="77.5933300"> <ele>920.6</ele> <time>2016-11-15T01:31:22Z</time> </trkpt> <trkpt lat="12.8924480" lon="77.5933560"> <ele>920.6</ele> <time>2016-11-15T01:31:24Z</time> </trkpt> <trkpt lat="12.8924810" lon="77.5933690"> <ele>920.7</ele> <time>2016-11-15T01:31:25Z</time> </trkpt> <trkpt lat="12.8925110" lon="77.5933870"> <ele>920.7</ele> <time>2016-11-15T01:31:26Z</time> </trkpt> <trkpt lat="12.8925700" lon="77.5934020"> <ele>920.8</ele> <time>2016-11-15T01:31:28Z</time> </trkpt> <trkpt lat="12.8926130" lon="77.5934120"> <ele>920.8</ele> <time>2016-11-15T01:31:29Z</time> </trkpt> <trkpt lat="12.8926470" lon="77.5934240"> <ele>920.9</ele> <time>2016-11-15T01:31:30Z</time> </trkpt> <trkpt lat="12.8926900" lon="77.5934610"> <ele>920.9</ele> <time>2016-11-15T01:31:32Z</time> </trkpt> <trkpt lat="12.8927290" lon="77.5934950"> <ele>920.9</ele> <time>2016-11-15T01:31:34Z</time> </trkpt> <trkpt lat="12.8927690" lon="77.5935120"> <ele>921.0</ele> <time>2016-11-15T01:31:36Z</time> </trkpt> <trkpt lat="12.8928090" lon="77.5935310"> <ele>921.0</ele> <time>2016-11-15T01:31:38Z</time> </trkpt> <trkpt lat="12.8928500" lon="77.5935370"> <ele>921.1</ele> <time>2016-11-15T01:31:40Z</time> </trkpt> <trkpt lat="12.8928930" lon="77.5935460"> <ele>921.2</ele> <time>2016-11-15T01:31:42Z</time> </trkpt> <trkpt lat="12.8929190" lon="77.5935540"> <ele>921.2</ele> <time>2016-11-15T01:31:44Z</time> </trkpt> <trkpt lat="12.8929610" lon="77.5935680"> <ele>921.1</ele> <time>2016-11-15T01:31:46Z</time> </trkpt> <trkpt lat="12.8929900" lon="77.5935790"> <ele>920.9</ele> <time>2016-11-15T01:31:48Z</time> </trkpt> <trkpt lat="12.8930250" lon="77.5935870"> <ele>920.8</ele> <time>2016-11-15T01:31:49Z</time> </trkpt> <trkpt lat="12.8930610" lon="77.5935940"> <ele>920.6</ele> <time>2016-11-15T01:31:51Z</time> </trkpt> <trkpt lat="12.8930880" lon="77.5936030"> <ele>920.5</ele> <time>2016-11-15T01:31:53Z</time> </trkpt> <trkpt lat="12.8931380" lon="77.5936220"> <ele>920.3</ele> <time>2016-11-15T01:31:55Z</time> </trkpt> <trkpt lat="12.8931860" lon="77.5936380"> <ele>920.0</ele> <time>2016-11-15T01:31:57Z</time> </trkpt> <trkpt lat="12.8932280" lon="77.5936490"> <ele>919.8</ele> <time>2016-11-15T01:31:59Z</time> </trkpt> <trkpt lat="12.8932630" lon="77.5936600"> <ele>919.6</ele> <time>2016-11-15T01:32:01Z</time> </trkpt> <trkpt lat="12.8933060" lon="77.5936760"> <ele>919.4</ele> <time>2016-11-15T01:32:03Z</time> </trkpt> <trkpt lat="12.8933770" lon="77.5936930"> <ele>919.0</ele> <time>2016-11-15T01:32:05Z</time> </trkpt> <trkpt lat="12.8934150" lon="77.5937150"> <ele>918.8</ele> <time>2016-11-15T01:32:07Z</time> </trkpt> <trkpt lat="12.8934550" lon="77.5937250"> <ele>918.5</ele> <time>2016-11-15T01:32:08Z</time> </trkpt> <trkpt lat="12.8934930" lon="77.5937350"> <ele>918.3</ele> <time>2016-11-15T01:32:10Z</time> </trkpt> <trkpt lat="12.8935260" lon="77.5937460"> <ele>918.1</ele> <time>2016-11-15T01:32:11Z</time> </trkpt> <trkpt lat="12.8935680" lon="77.5937530"> <ele>917.9</ele> <time>2016-11-15T01:32:13Z</time> </trkpt> <trkpt lat="12.8936000" lon="77.5937560"> <ele>917.7</ele> <time>2016-11-15T01:32:16Z</time> </trkpt> <trkpt lat="12.8936320" lon="77.5937640"> <ele>917.6</ele> <time>2016-11-15T01:32:18Z</time> </trkpt> <trkpt lat="12.8936620" lon="77.5937710"> <ele>917.5</ele> <time>2016-11-15T01:32:19Z</time> </trkpt> <trkpt lat="12.8936880" lon="77.5937830"> <ele>917.4</ele> <time>2016-11-15T01:32:20Z</time> </trkpt> <trkpt lat="12.8937150" lon="77.5937930"> <ele>917.3</ele> <time>2016-11-15T01:32:21Z</time> </trkpt> <trkpt lat="12.8937640" lon="77.5938160"> <ele>917.3</ele> <time>2016-11-15T01:32:23Z</time> </trkpt> <trkpt lat="12.8938050" lon="77.5938390"> <ele>917.4</ele> <time>2016-11-15T01:32:25Z</time> </trkpt> <trkpt lat="12.8938280" lon="77.5938570"> <ele>917.4</ele> <time>2016-11-15T01:32:26Z</time> </trkpt> </trkseg> </trk> </gpx>
thayumanavar77/thayumanavar77.github.io
_traces/2016-11-15_strava_run.md
Markdown
mit
271,434
<?php /** * Google Dashboard Report * Receives : * - $pageViews * - $uniquePageViews * - $avgTimeOnPage * - $exitRate */ ?> <div id="analyticsChart"></div> <?php if ( ! empty($data)) :?> <div id="page-analytics"> <div class="metric"><div><span><?php echo lang('ionize_ga_pageviews') ?></span><strong><?php echo $data['pageViews'] ?></strong></div></div> <div class="metric"><div><span><?php echo lang('ionize_ga_unique_pageviews') ?></span><strong><?php echo $data['uniquePageViews'] ?></strong></div></div> <div class="metric"><div><span><?php echo lang('ionize_ga_avg_time_on_page') ?></span><strong><?php echo $data['avgTimeOnPage'] ?></strong></div></div> <div class="metric"><div><span><?php echo lang('ionize_ga_bounce_rate') ?></span><strong><?php echo $data['bounceRate'] ?></strong></div></div> <div class="metric"><div><span><?php echo lang('ionize_ga_exit_rate') ?></span><strong><?php echo $data['exitRate'] ?></strong></div></div> </div> <?php endif ;?> <script type="text/javascript"> function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('string', 'Day'); data.addColumn('number', 'Pageviews'); data.addRows(<?php echo $chartRows ?>); var chart = new google.visualization.AreaChart(document.getElementById('analyticsChart')); chart.draw(data, { backgroundColor:'transparent', vAxis: {gridlines:{color: '#ddd'}}, height: 180, title: '<?php echo date('M j, Y',strtotime('-30 day')).' - '.date('M j, Y'); ?>', colors:['#058dc7','#e6f4fa'], areaOpacity: 0.1, hAxis: {textPosition: 'in', showTextEvery: 5, slantedText: false, textStyle: { color: '#058dc7', fontSize: 10 } }, pointSize: 5, legend: 'none', chartArea:{left:0,top:30,width:"100%",height:"100%"} }); } function loadGoogle() { if(typeof google != 'undefined' && google && google.load) drawChart(); else setTimeout(loadGoogle, 100); } loadGoogle(); window.addEvent('resize', function() { if ($('analyticsChart')) { drawChart(); } // google.load("visualization", "1", {packages:["corechart"], "callback" : drawChart}); // google.load("visualization", "1", {packages:["corechart"]}); // google.setOnLoadCallback(drawChart); }); </script>
chguoxi/ionize
themes/admin/views/google/dashboard_report.php
PHP
mit
2,318
# 螺旋开发 - 将瀑布模型和快速原型模型结合起来,强调了其他模型所忽视的风险分析,特别适合于大型复杂的系统 - “螺旋模型”刚开始规模很小,当项目被定义得更好、更稳定时,逐渐展开 ## 核心 - 在于不需要在刚开始的时候就把所有事情都定义的清清楚楚 - 轻松上阵,定义最重要的功能,实现它,然后听取客户的意见,之后再进入到下一个阶段 - 如此不断轮回重复,直到得到您满意的最终产品 ## 步骤 1. 制定计划:确定软件目标,选定实施方案,弄清项目开发的限制条件 2. 风险分析:分析评估所选方案,考虑如何识别和消除风险 3. 实施工程:实施软件开发和验证 4. 客户评估:评价开发工作,提出修正建议,制定下一步计划 螺旋模型很大程度上是一种风险驱动的方法体系,因为在每个阶段之前及经常发生的循环之前,都必须首先进行风险评估。
zhuifeng740643787/learn-notes
other/development/spiral.md
Markdown
mit
1,010
//====================================================================== // Copyright (C) 2015-2020 Winddy He. All rights reserved // Email: hgplan@126.com //====================================================================== using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; namespace Knight.Framework.Hotfix { public class HotfixGameMainLogic : MonoBehaviour { private static HotfixGameMainLogic __instance; public static HotfixGameMainLogic Instance { get { return __instance; } } public string MainLogicScript; public HotfixObject MainLogicHotfixObj; void Awake() { if (__instance == null) __instance = this; } public async Task Initialize() { // 加载Hotfix端的代码 this.MainLogicHotfixObj = HotfixManager.Instance.Instantiate(this.MainLogicScript); // 加载Hotfix端的代码 await (HotfixManager.Instance.Invoke(this.MainLogicHotfixObj, "Initialize") as Task); } void Update() { if (this.MainLogicHotfixObj == null) return; HotfixManager.Instance.Invoke(this.MainLogicHotfixObj, "Update"); } } }
winddyhe/knight
knight-client/Packages/Knight-Lib/Knight.Framework.Hotfix/Runtime/HotfixGameMainLogic.cs
C#
mit
1,366
using System; using System.ComponentModel.DataAnnotations.Schema; using BundlesOfAmaze.Shared; namespace BundlesOfAmaze.Data { public class Cat : Entity { public long OwnerId { get; private set; } public string Name { get; private set; } public Gender Gender { get; private set; } public DateTimeOffset DateOfBirth { get; private set; } public CatStats Stats { get; private set; } public string Posessive => Gender == Gender.Male ? "his" : "her"; public string Pronoun => Gender == Gender.Male ? "he" : "she"; [NotMapped] public int HungerCap { get; private set; } [NotMapped] public int ThirstCap { get; private set; } protected Cat() { // TODO: These caps will be modified by stats / items HungerCap = 14400; ThirstCap = 14400; } public Cat(long ownerId, string name, Gender gender) : this() { OwnerId = ownerId; Name = name; Gender = gender; DateOfBirth = DateTimeOffset.UtcNow; Stats = new CatStats() { Hunger = HungerCap / 2, Thirst = ThirstCap / 2 }; } public void Tick() { Stats.NeedsTick(); } public void ApplyStatModifiers(CatStats adventureStatGain) { Stats.Hunger = (Stats.Hunger + adventureStatGain.Hunger).Clamp(0, HungerCap); Stats.Thirst = (Stats.Thirst + adventureStatGain.Thirst).Clamp(0, ThirstCap); Stats.Kind = (Stats.Kind + adventureStatGain.Kind).Clamp(0, int.MaxValue); Stats.Lazy = (Stats.Lazy + adventureStatGain.Lazy).Clamp(0, int.MaxValue); Stats.Resourceful = (Stats.Resourceful + adventureStatGain.Resourceful).Clamp(0, int.MaxValue); Stats.Outgoing = (Stats.Outgoing + adventureStatGain.Outgoing).Clamp(0, int.MaxValue); Stats.High = (Stats.High + adventureStatGain.High).Clamp(0, int.MaxValue); } public void GiveItem(Item item, int quantity) { var foodItem = item as FoodItem; if (foodItem != null) { if (foodItem.ItemType == ItemType.Food) { Stats.Hunger = (Stats.Hunger + foodItem.FoodValue * quantity).Clamp(0, HungerCap); } else if (foodItem.ItemType == ItemType.Drink) { Stats.Thirst = (Stats.Thirst + foodItem.FoodValue * quantity).Clamp(0, ThirstCap); } } } public string GetHungerLevel() { var hungerPercentage = (float)Stats.Hunger / HungerCap * 100; if (hungerPercentage > 95) { return "Completely stuffed!"; } if (hungerPercentage > 50) { return "Full"; } if (hungerPercentage > 15) { return "I'm getting hungry"; } return "I'm starving"; } public object GetThirstLevel() { var thirstPercentage = (float)Stats.Thirst / ThirstCap * 100; if (thirstPercentage > 95) { return "Completely soaked!"; } if (thirstPercentage > 50) { return "Full"; } if (thirstPercentage > 15) { return "Dehydrated"; } return "Dry as a desert"; } } }
minshea/BundlesOfAmaze
BundlesOfAmaze.Data/Entities/Cat.cs
C#
mit
3,669
<div class="row blue-mat"> <div class="breadcrumbs col-md-12"> <?php echo set_breadcrumb(); ?> </div> </div> <?php display_flashmsg($this->session->flashdata());?> <div class="container category"> <div class="row"> <form name="dropdowns" id="dropdowns" method="post" action="<?=site_url('admin/add_edit_dropdowns');?>"> <div class="form-grid col-md-12 panel panel-default panel-bor"> <div class="panel-heading formcontrol-box"> <input type="hidden" name="edit_id" value=""> <div class="form-grid"> <div class="form-group padding-zero col-md-4 <?php echo (form_error('table_type'))?'error':'';?>" data-error="<?php echo (form_error('table_type'))? strip_tags(form_error('table_type')):'';?>"> <label required="">Table Type</label> <select name="table_type" class="form-control"> <option value="">--Select--</option> <option value="1">Packaging</option> <option value="13">Color</option> <option value="2">Form</option> <option value="3">Product Type</option> <option value="4">Credit</option> <option value="5">Freight Carriers</option> <option value="6">Time Zones</option> <option value="7">States</option> <option value="8">Types of Contacts</option> <option value="9">Call Types</option> <option value="10">Types of Sales</option> <option value="11">Freight Paid</option> <option value="12">Payment Terms</option> </select> </div> <div class="clearfix"></div> <div class="form-group col-md-4 padding-zero " data-error=""> <select class="select2_sample2" name="table_value_list"> <option value=""></option> </select> </div> <div class="clearfix"></div> <div class="form-group padding-zero col-md-4 <?php echo (form_error('table_value'))?'error':'';?>" data-error="<?php echo (form_error('table_value'))? strip_tags(form_error('table_value')):'';?>"> <label>Value</label> <input type="text" name="table_value" class="form-control"> </div> <div class="clearfix"></div> <div class="form-group col-md-6 <?php echo (form_error('status'))?'error':'';?>" data-error="<?php echo (form_error('status'))? strip_tags(form_error('status')):'';?>"> <label required="" class="control-label col-md-12">Active</label> <label><input type="radio" name="status" value="1" /> Yes</label> <label><input type="radio" name="status" value="0" /> No</label> </div> <div class="clearfix"></div> <input type="hidden" name="edit_id" class="form-control" id="edit_id" value=""> </div> </div> <div class="form-group col-md-4 save"> <button type="button" class="btn btn-danger del-dropdown"><i class="fa fa-trash-o trash"></i>Delete</button> </div> <div class="form-group col-md-4 save"> <button type="button" class="btn btn-info add-new-dropdown"><i class="fa fa-plus"></i>Add New</button> </div> <div class="form-group col-md-4 save"> <button type="submit" class="btn btn-success"><i class="fa fa fa-life-saver"></i>Save</button> </div> </div> </form> </div> </div>
ariff-izaap/plastics
application/views/admin/general_dropdowns.php
PHP
mit
3,314