code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace ContactList { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
gyuwon/TDK2015
ContactList/App.xaml.cs
C#
mit
327
require 'wasted' begin require 'pry' # rescue LoadError end
tombroomfield/wasted
spec/spec_helper.rb
Ruby
mit
64
<?php namespace Oro\Bundle\EmailBundle\EventListener\Datagrid; use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource; use Oro\Bundle\DataGridBundle\Event\BuildAfter; use Oro\Bundle\EmailBundle\Datagrid\EmailQueryFactory; class IncomingEmailGridListener { /** @var EmailQueryFactory */ protected $emailQueryFactory; /** * @param EmailQueryFactory $emailQueryFactory */ public function __construct(EmailQueryFactory $emailQueryFactory) { $this->emailQueryFactory = $emailQueryFactory; } /** * @param BuildAfter $event */ public function onBuildAfter(BuildAfter $event) { /** @var OrmDatasource $datasource */ $datasource = $event->getDatagrid()->getDatasource(); $this->emailQueryFactory->addFromEmailAddress($datasource->getQueryBuilder()); } }
orocrm/platform
src/Oro/Bundle/EmailBundle/EventListener/Datagrid/IncomingEmailGridListener.php
PHP
mit
847
<?php namespace GhaenCollege\ScrumBundle\Entity; use Doctrine\ORM\EntityRepository; /** * TestRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class TestRepository extends EntityRepository { }
mahmud-kasaei/Scrum4u
src/GhaenCollege/ScrumBundle/Entity/TestRepository.php
PHP
mit
264
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 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("ReactiveProperty Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ReactiveProperty Test")] [assembly: AssemblyCopyright("Copyright © 2015-2017 emoacht")] [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)] //In order to begin building localizable applications, set //<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file //inside a <PropertyGroup>. For example, if you are using US english //in your source files, set the <UICulture> to en-US. Then uncomment //the NeutralResourceLanguage attribute below. Update the "en-US" in //the line below to match the UICulture setting in the project file. //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] [assembly: ThemeInfo( ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located //(used if a resource is not found in the page, // or application resource dictionaries) ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located //(used if a resource is not found in the page, // app, or any theme specific resource dictionaries) )] // 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.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")]
emoacht/WlanProfileViewer
Source/ReactivePropertyTest/Properties/AssemblyInfo.cs
C#
mit
2,287
Option Infer On Imports System Imports System.Runtime.InteropServices Namespace Examples Friend Class Program <STAThread> Shared Sub Main(ByVal args() As String) Dim application As SolidEdgeFramework.Application = Nothing Dim partDocument As SolidEdgePart.PartDocument = Nothing Dim models As SolidEdgePart.Models = Nothing Dim model As SolidEdgePart.Model = Nothing Dim userDefinedPatterns As SolidEdgePart.UserDefinedPatterns = Nothing Dim userDefinedPattern As SolidEdgePart.UserDefinedPattern = Nothing Try ' See "Handling 'Application is Busy' and 'Call was Rejected By Callee' errors" topic. OleMessageFilter.Register() ' Attempt to connect to a running instance of Solid Edge. application = DirectCast(Marshal.GetActiveObject("SolidEdge.Application"), SolidEdgeFramework.Application) partDocument = TryCast(application.ActiveDocument, SolidEdgePart.PartDocument) If partDocument IsNot Nothing Then models = partDocument.Models model = models.Item(1) userDefinedPatterns = model.UserDefinedPatterns For i As Integer = 1 To userDefinedPatterns.Count userDefinedPattern = userDefinedPatterns.Item(i) Dim name = userDefinedPattern.Name Next i End If Catch ex As System.Exception Console.WriteLine(ex) Finally OleMessageFilter.Unregister() End Try End Sub End Class End Namespace
SolidEdgeCommunity/docs
docfx_project/snippets/SolidEdgePart.UserDefinedPattern.Name.vb
Visual Basic
mit
1,736
module.exports = { getDates: function(d) { var today = padDate(d); return { startTime: today + lowerBoundTime(), endTime: today + upperBoundTime() }; } }; function padDate (d){ function pad (n) { return n < 10 ? '0' + n : n } return d.getUTCFullYear() + '-' + pad(d.getUTCMonth() + 1 ) + '-' + pad(d.getUTCDate()) + 'T'; } function lowerBoundTime() { return '00:00:00Z'; } function upperBoundTime() { return '23:59:59Z'; }
iOnline247/heyo
utils/dateHelpers.js
JavaScript
mit
449
/** * Java Modular Image Synthesis Toolkit (JMIST) * Copyright (C) 2018 Bradley W. Kimmel * * 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. */ package ca.eandb.jmist.framework.scatter; import ca.eandb.jmist.framework.Function1; import ca.eandb.jmist.framework.Random; import ca.eandb.jmist.framework.SurfacePointGeometry; import ca.eandb.jmist.math.Vector3; /** * A <code>SurfaceScatterer</code> representing a absorptive layer with sieve * effects in the ABM-B/ABM-U light transport models. * @author Brad Kimmel * @see ABMSurfaceScatterer */ public final class ABMSieveAbsorbingSurfaceScatterer implements SurfaceScatterer { /** Serialization version ID. */ private static final long serialVersionUID = -8261906690789778531L; /** The absorption coefficient of the medium (in m<sup>-1</sup>). */ private final Function1 absorptionCoefficient; /** The thickness of the medium (in meters). */ private final double thickness; /** * Creates a new <code>AbsorbingSurfaceScatterer</code>. * @param absorptionCoefficient The absorption coefficient of the medium * (in m<sup>-1</sup>). * @param thickness The thickness of the medium (in meters). */ public ABMSieveAbsorbingSurfaceScatterer(Function1 absorptionCoefficient, double thickness) { this.absorptionCoefficient = absorptionCoefficient; this.thickness = thickness; } @Override public Vector3 scatter(SurfacePointGeometry x, Vector3 v, boolean adjoint, double lambda, Random rnd) { double abs = absorptionCoefficient.evaluate(lambda); double p = -Math.log(1.0 - rnd.next()) * Math.cos(Math.abs(x.getNormal().dot(v))) / abs; return (p > thickness) ? v : null; } }
bwkimmel/jmist
jmist-core/src/main/java/ca/eandb/jmist/framework/scatter/ABMSieveAbsorbingSurfaceScatterer.java
Java
mit
2,738
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `VERASE` constant in crate `libc`."> <meta name="keywords" content="rust, rustlang, rust-lang, VERASE"> <title>libc::VERASE - Rust</title> <link rel="stylesheet" type="text/css" href="../rustdoc.css"> <link rel="stylesheet" type="text/css" href="../main.css"> <link rel="shortcut icon" href="https://doc.rust-lang.org/favicon.ico"> </head> <body class="rustdoc"> <!--[if lte IE 8]> <div class="warning"> This old browser is unsupported and will most likely display funky things. </div> <![endif]--> <nav class="sidebar"> <a href='../libc/index.html'><img src='https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png' alt='logo' width='100'></a> <p class='location'><a href='index.html'>libc</a></p><script>window.sidebarCurrent = {name: 'VERASE', ty: 'constant', relpath: ''};</script><script defer src="sidebar-items.js"></script> </nav> <nav class="sub"> <form class="search-form js-only"> <div class="search-container"> <input class="search-input" name="search" autocomplete="off" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"> </div> </form> </nav> <section id='main' class="content constant"> <h1 class='fqn'><span class='in-band'><a href='index.html'>libc</a>::<wbr><a class='constant' href=''>VERASE</a></span><span class='out-of-band'><span id='render-detail'> <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>&#x2212;</span>] </a> </span><a id='src-1642' class='srclink' href='../src/libc/unix/notbsd/mod.rs.html#551' title='goto source code'>[src]</a></span></h1> <pre class='rust const'>pub const VERASE: <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.usize.html'>usize</a><code> = </code><code>2</code></pre></section> <section id='search' class="content hidden"></section> <section class="footer"></section> <aside id="help" class="hidden"> <div> <h1 class="hidden">Help</h1> <div class="shortcuts"> <h2>Keyboard Shortcuts</h2> <dl> <dt>?</dt> <dd>Show this help dialog</dd> <dt>S</dt> <dd>Focus the search field</dd> <dt>&larrb;</dt> <dd>Move up in search results</dd> <dt>&rarrb;</dt> <dd>Move down in search results</dd> <dt>&#9166;</dt> <dd>Go to active search result</dd> <dt>+</dt> <dd>Collapse/expand all sections</dd> </dl> </div> <div class="infos"> <h2>Search Tricks</h2> <p> Prefix searches with a type followed by a colon (e.g. <code>fn:</code>) to restrict the search to a given type. </p> <p> Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>. </p> <p> Search functions by type signature (e.g. <code>vec -> usize</code> or <code>* -> vec</code>) </p> </div> </div> </aside> <script> window.rootPath = "../"; window.currentCrate = "libc"; window.playgroundUrl = ""; </script> <script src="../jquery.js"></script> <script src="../main.js"></script> <script defer src="../search-index.js"></script> </body> </html>
rxse/rust-markov-text
docs/libc/constant.VERASE.html
HTML
mit
4,275
module.exports = require("./src/moment-interval");
luisfarzati/moment-interval
index.js
JavaScript
mit
50
/* BASICS */ .CodeMirror { /* Set height, width, borders, and global font properties here */ font-family: monospace; height: 500px; width: 100%; color: black; border: 1px solid #bbb; border-radius: 4px; resize: both; } /* PADDING */ .CodeMirror-lines { padding: 12px 0; /* Vertical padding around content */ } .CodeMirror pre { padding: 0 12px; /* Horizontal padding of content */ } .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { background-color: white; /* The little square between H and V scrollbars */ } /* GUTTER */ .CodeMirror-gutters { border-right: 1px solid #ddd; background-color: #f7f7f7; white-space: nowrap; } .CodeMirror-linenumbers {} .CodeMirror-linenumber { padding: 0 3px 0 5px; min-width: 20px; text-align: right; color: #999; white-space: nowrap; } .CodeMirror-guttermarker { color: black; } .CodeMirror-guttermarker-subtle { color: #999; } /* CURSOR */ .CodeMirror div.CodeMirror-cursor { border-left: 1px solid black; } /* Shown when moving in bi-directional text */ .CodeMirror div.CodeMirror-secondarycursor { border-left: 1px solid silver; } .CodeMirror.cm-fat-cursor div.CodeMirror-cursor { width: auto; border: 0; background: #7e7; } .CodeMirror.cm-fat-cursor div.CodeMirror-cursors { z-index: 1; } .cm-animate-fat-cursor { width: auto; border: 0; -webkit-animation: blink 1.06s steps(1) infinite; -moz-animation: blink 1.06s steps(1) infinite; animation: blink 1.06s steps(1) infinite; } @-moz-keyframes blink { 0% { background: #7e7; } 50% { background: none; } 100% { background: #7e7; } } @-webkit-keyframes blink { 0% { background: #7e7; } 50% { background: none; } 100% { background: #7e7; } } @keyframes blink { 0% { background: #7e7; } 50% { background: none; } 100% { background: #7e7; } } /* Can style cursor different in overwrite (non-insert) mode */ div.CodeMirror-overwrite div.CodeMirror-cursor {} .cm-tab { display: inline-block; text-decoration: inherit; } .CodeMirror-ruler { border-left: 1px solid #ccc; position: absolute; } /* DEFAULT THEME */ .cm-s-default .cm-keyword {color: #708;} .cm-s-default .cm-atom {color: #219;} .cm-s-default .cm-number {color: #164;} .cm-s-default .cm-def {color: #00f;} .cm-s-default .cm-variable, .cm-s-default .cm-punctuation, .cm-s-default .cm-property, .cm-s-default .cm-operator {} .cm-s-default .cm-variable-2 {color: #05a;} .cm-s-default .cm-variable-3 {color: #085;} .cm-s-default .cm-comment {color: #a50;} .cm-s-default .cm-string {color: #a11;} .cm-s-default .cm-string-2 {color: #f50;} .cm-s-default .cm-meta {color: #555;} .cm-s-default .cm-qualifier {color: #555;} .cm-s-default .cm-builtin {color: #30a;} .cm-s-default .cm-bracket {color: #997;} .cm-s-default .cm-tag {color: #170;} .cm-s-default .cm-attribute {color: #00c;} .cm-s-default .cm-header {color: blue;} .cm-s-default .cm-quote {color: #090;} .cm-s-default .cm-hr {color: #999;} .cm-s-default .cm-link {color: #00c;} .cm-negative {color: #d44;} .cm-positive {color: #292;} .cm-header, .cm-strong {font-weight: bold;} .cm-em {font-style: italic;} .cm-link {text-decoration: underline;} .cm-strikethrough {text-decoration: line-through;} .cm-s-default .cm-error {color: #f00;} .cm-invalidchar {color: #f00;} .CodeMirror-composing { border-bottom: 2px solid; } /* Default styles for common addons */ div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); } .CodeMirror-activeline-background {background: #e8f2ff;} /* STOP */ /* The rest of this file contains styles related to the mechanics of the editor. You probably shouldn't touch them. */ .CodeMirror { position: relative; overflow: hidden; background: white; } .CodeMirror-scroll { overflow: scroll !important; /* Things will break if this is overridden */ /* 30px is the magic margin used to hide the element's real scrollbars */ /* See overflow: hidden in .CodeMirror */ margin-bottom: -30px; margin-right: -30px; padding-bottom: 30px; height: 100%; outline: none; /* Prevent dragging from highlighting the element */ position: relative; } .CodeMirror-sizer { position: relative; border-right: 30px solid transparent; } /* The fake, visible scrollbars. Used to force redraw during scrolling before actuall scrolling happens, thus preventing shaking and flickering artifacts. */ .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler { position: absolute; z-index: 6; display: none; } .CodeMirror-vscrollbar { right: 0; top: 0; overflow-x: hidden; overflow-y: scroll; } .CodeMirror-hscrollbar { bottom: 0; left: 0; overflow-y: hidden; overflow-x: scroll; } .CodeMirror-scrollbar-filler { right: 0; bottom: 0; } .CodeMirror-gutter-filler { left: 0; bottom: 0; } .CodeMirror-gutters { position: absolute; left: 0; top: 0; z-index: 3; } .CodeMirror-gutter { white-space: normal; height: 100%; display: inline-block; margin-bottom: -30px; /* Hack to make IE7 behave */ *zoom:1; *display:inline; } .CodeMirror-gutter-wrapper { position: absolute; z-index: 4; height: 100%; } .CodeMirror-gutter-elt { position: absolute; cursor: default; z-index: 4; } .CodeMirror-gutter-wrapper { -webkit-user-select: none; -moz-user-select: none; user-select: none; } .CodeMirror-lines { cursor: text; min-height: 1px; /* prevents collapsing before first draw */ } .CodeMirror pre { /* Reset some styles that the rest of the page might have set */ -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; border-width: 0; background: transparent; font-family: inherit; font-size: inherit; margin: 0; white-space: pre; word-wrap: normal; line-height: inherit; color: inherit; z-index: 2; position: relative; overflow: visible; -webkit-tap-highlight-color: transparent; } .CodeMirror-wrap pre { word-wrap: break-word; white-space: pre-wrap; word-break: normal; } .CodeMirror-linebackground { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; } .CodeMirror-linewidget { position: relative; z-index: 2; overflow: auto; } .CodeMirror-widget {} .CodeMirror-code { outline: none; } /* Force content-box sizing for the elements where we expect it */ .CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber { -moz-box-sizing: content-box; box-sizing: content-box; } .CodeMirror-measure { position: absolute; width: 100%; height: 0; overflow: hidden; visibility: hidden; } .CodeMirror-measure pre { position: static; } .CodeMirror div.CodeMirror-cursor { position: absolute; border-right: none; width: 0; } div.CodeMirror-cursors { visibility: hidden; position: relative; z-index: 3; } .CodeMirror-focused div.CodeMirror-cursors { visibility: visible; } .CodeMirror-selected { background: #d9d9d9; } .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; } .CodeMirror-crosshair { cursor: crosshair; } .CodeMirror ::selection { background: #d7d4f0; } .CodeMirror ::-moz-selection { background: #d7d4f0; } .cm-searching { background: #ffa; background: rgba(255, 255, 0, .4); } /* IE7 hack to prevent it from returning funny offsetTops on the spans */ .CodeMirror span { *vertical-align: text-bottom; } /* Used to force a border model for a node */ .cm-force-border { padding-right: .1px; } @media print { /* Hide the cursor when printing */ .CodeMirror div.CodeMirror-cursors { visibility: hidden; } } /* See issue #2901 */ .cm-tab-wrap-hack:after { content: ''; } /* Help users use markselection to safely style text background */ span.CodeMirror-selectedtext { background: none; }
i3mainz/idarit-2016
sparqlsearch_textelsem/lib/codemirror.css
CSS
mit
7,852
// namespace plexus var plexus = plexus || {}; window._plexus = plexus; (function(plx) { console.log("plexus.js [loaded]"); //------------------------------ // Plexus utilties functions //------------------------------ plx.each = function(obj, iterator, context) { if (!obj) return; if (obj instanceof Array) { for (var i = 0, li = obj.length; i <li; i++) { if (iterator.call(context, obj[i], i) === false) return; } } else { for (var key in obj) { if (iterator.call(context, obj[key], key) === false) return; } } }; plx.extend = function(target) { var sources = arguments.length >= 2 ? Array.prototype.slice.call(arguments, 1) : []; plx.each(sources, function(src) { for (var key in src) { if (src.hasOwnProperty(key)) target[key] = src[key]; } }); return target; }; var ClassLoader = { id: (0 | (Math.random() * 998)), instanceId: (0 | (Math.random() * 998)), compileSuper: function(func, name, id) { var str = func.toString(); var pstart = str.indexOf('('), pend = str.indexOf(')'); var params = str.substring(pstart + 1, pend); params = params.trim(); var bstart = str.indexOf('{'), bend = str.lastIndexOf('}'); var str = str.substring(bstart + 1, bend); while (str.indexOf('this._super') != -1) { var sp = str.indexOf('this._super'); var bp = str.indexOf('(', sp); var bbp = str.indexOf(')', bp); var superParams = str.substring(bp + 1, bbp); superParams = superParams.trim(); var coma = superParams ? ',' : ''; str = str.substring(0, sp) + 'ClassLoader[' + id + '].' + name + '.call(this' + coma + str.substring(bp + 1); } return Function(params, str); }, newId: function() { return this.id++; }, newInstanceId: function() { return this.instanceId++; } }; ClassLoader.compileSuper.ClassLoader = ClassLoader; plx.Class = function() { }; var FuncRegexTest = /\b_super\b/; var releaseMode = false; plx.Class.extend = function(props) { var _super = this.prototype; var prototype = Object.create(_super); var classId = ClassLoader.newId(); ClassLoader[classId] = _super; var desc = { writable: true, enumerable: false, configurable: true }; prototype.__instanceId = null; function Class() { this.__instanceId = ClassLoader.newInstanceId(); if (this.ctor) this.ctor.apply(this, arguments); }; Class.id = classId; desc.value = classId; Object.defineProperty(prototype, "__pid", desc); Class.prototype = prototype; desc.value = Class; Object.defineProperty(Class.prototype, 'constructor', desc); for(var idx = 0, li = arguments.length; idx < li; ++idx) { var prop = arguments[idx]; for (var name in prop) { var isFunc = (typeof prop[name] === 'function'); var override = (typeof _super[name] === 'function'); var hasSuperCall = FuncRegexTest.test(prop[name]); if (releaseMode && isFunc && override && hasSuperCall) { desc.value = ClassLoader.compileSuper(prop[name], name, classId); Object.defineProperty(prototype, name, desc); } else if(isFunc && override && hasSuperCall) { desc.value = (function(name, fn) { return function() { var tmp = this._super; this._super = _super[name]; var ret = fn.apply(this, arguments); this._super = tmp; return ret; }; })(name, prop[name]); Object.defineProperty(prototype, name, desc); } else if (isFunc) { desc.value = prop[name]; Object.defineProperty(prototype, name, desc); } else { prototype[name] = prop[name]; } // ... Getters and Setters ... ? } } Class.extend = plx.Class.extend; Class.implement = function(prop) { for (var name in prop) { prototype[name] = prop[name]; } }; return Class; }; //------------------------------ // Plexus GameObject //------------------------------ /** * @class GameObject */ var GameObject = plx.Class.extend({ _components: {}, _data: null, ctor: function() { this._id = (+new Date()).toString(16) + (Math.random() * 1000000000 | 0).toString(16) + (++GameObject.sNumOfObjects); }, getId: function() { return this._id; }, getUserData: function() { return this._data; }, setUserData: function(data) { // plx.extend(this._data, data); this._data = data; }, getComponent: function(component) { var name = component; if (typeof component === 'function') { name = component.prototype.name; } return this._components[name]; }, addComponent: function(component) { if (!component || !component.name) return; this._components[component.name] = component; if (typeof component.setOwner === 'function') component.setOwner(this); return this; }, // Remove component data by removing the reference to it. removeComponent: function(component) { // Allows either a component function or a string of a component name to be passed in. var name = component; if (typeof component === 'function') { name = component.prototype.name; } // Remove component data by removing the reference to it. component = this._components[name]; delete this._components[name]; if (typeof component.setOwner === 'function') component.setOwner(null); return this; }, getTag: function() { return this._tag; }, setTag: function(tagValue) { this._tag = tagValue; } }); GameObject.sNumOfObjects = 0; //------------------------------ // Plexus Component //------------------------------ /** * @class GameComponent */ var GameComponent = plx.Class.extend({ _owner: null, ctor: function() { }, getOwner: function() { return this._owner; }, setOwner: function(owner) { this._owner = owner; } }); //------------------------------ // Plexus System //------------------------------ /** * @class System */ var System = plexus.Class.extend({ _managedObjects: [], _managedSystems: [], ctor: function() { }, addSubSystem: function(sub) { if (sub && sub.name) { this._managedSystems[sub.name] = sub; this._managedSystems.push(sub); } }, removeSubSystem: function(sub) { var name = sub; if (typeof sub === 'function') { name = sub.prototype.name; } var origin = this._managedSystems[name]; delete this._managedSystems[name]; var idx = this._managedSystems.indexOf(origin); if (idx != -1) { this._managedSystems.splice(idx, 1); } return origin; }, addObject: function(obj) { this._managedObjects.push(obj); // added in subsystems. this._managedSystems.forEach(function(elt, i) { elt.order(obj); return true; }); }, removeObject: function(obj) { var index = this._managedObjects.indexOf(obj); if (index != -1) { this._managedObjects.splice(index, 1); // remove in subsystems. this._managedSystems.every(function(elt, i) { elt.unorder(elt); return true; }); } }, update: function(dt) { this._managedSystems.forEach(function(elt, i) { elt.update(dt); return true; }); } }); /** * @class SubSystem */ var SubSystem = plexus.Class.extend({ _managed: [], check: function(obj) { if (!this.name) return false; if (typeof obj.getComponent === 'function') return obj.getComponent(this.name); return false; }, order: function(obj) { if (this.check(obj)) { this._managed.push(obj); } }, unorder: function(obj) { var index = -1; if ((index = _managed.indexOf(obj)) != -1) { if (this.check(obj)) { this._managed.splice(index, 1); } } }, update: function(dt) { var self = this; // console.log(JSON.stringify(self._managed, null, 4)); this._managed.every(function(elt, i) { if (typeof self.updateObjectDelta === 'function') self.updateObjectDelta(elt, dt); return true; }, self); }, updateObjectDelta: function(obj, dt) { if (!this.name) return; var comp = obj.getComponent(this.name); comp && comp.update(dt); } }); //------------------------------ // SubSystems //------------------------------ var InputSystem = SubSystem.extend({ name: 'input', check: function(obj) { if (typeof obj.getComponent === 'function') { return obj.getComponent(this.name); } return false; } }); /** * @class PhysicsSystem */ var PhysicsSystem = SubSystem.extend({ name: 'physics', check: function(obj) { if (typeof obj.getComponent=== 'function') { return obj.getComponent(this.name); } return false; }, updateObjectDelta: function(obj, dt) { } }); /** * @class AnimatorSystem */ var AnimatorSystem = SubSystem.extend({ name: 'animator', check: function(obj) { if (typeof obj.getComponent === 'function') { return obj.getComponent(this.name); } return false; }, updateObjectDelta: function(obj, dt) { var comp = obj.getComponent(this.name); comp && comp.update(dt); } }); var _systemInstance = undefined; System.getInstance = function getSystem() { if (!_systemInstance) _systemInstance = new System; return _systemInstance; }; plx.GameSystem = System; plx.GameSubSystem = SubSystem; plx.InputSystem = InputSystem; plx.PhysicsSystem = PhysicsSystem; plx.AnimatorSystem = AnimatorSystem; plx.GameComponent = GameComponent; plx.GameObject = GameObject; })(plexus); // vi: ft=javascript sw=4 ts=4 et :
keyhom/xstudio-html5
src/plexus/js/plexus-base.js
JavaScript
mit
12,046
using System; namespace SingleSignOnKata.sso { public interface SingleSignOnRegistry { SSOToken RegisterNewSession(String userName, String password); bool IsValid(SSOToken token); void Unregister(SSOToken token); } }
emilybache/Single-Sign-On-Kata
CSharp/SingleSignOnKata/sso/SingleSignOnRegistry.cs
C#
mit
257
Data-Driven DJ Track 9: Color Balance ================= You can listen to this track and read the full description [here](https://datadrivendj.com/tracks/hollywood). ## Software Required All software required for making this song from scratch is free and open-source * [ChucK](http://chuck.cs.princeton.edu/) - a programming language for real-time sound synthesis and music creation * [Python](https://www.python.org/) - I am running version 2.7.3 * [Processing](https://processing.org/) - for image analysis and supporting visualization ## Instructions ### Prepare Sound And Data 1. [top_10_movies_2006-2015.csv](data/top_10_movies_2006-2015.csv) contains the list of movies that should be analyzed 2. [top_10_movies_2011-2015_people.csv](data/top_10_movies_2011-2015_people.csv) contains the featured actors and actresses in those movies above 3. [races.json](data/races.json) contains the categories of race and ethnicity 4. [instruments.csv](data/instruments.csv) contains the sounds that will be used in the song * **File** is the filename of the instruments sound file * **POC** restrict instrument based on whether person is white (value: *0*), person of color (value: *1*), either (value: *-1*) * **Gender** restrict instrument based on gender: *m*, *f*, or *any* * **Race** restrict instrument based on race/ethnicity: White (*w*), Black (*b*), Hispanic/Latino (*h*), Asian/Pacific Islander (*a*), American Indian/Native (*o*), or *any* * **Min/Max Gender** restrict instrument based on gender diversity (0: least diverse, 1: most diverse) * **Min/Max POC** restrict instrument based on race/ethnicity diversity (0: least diverse, 1: most diverse) * **From Gain** and **To Gain** is the volume range this instrument can oscillate between. A value of 0 is silent. * **From Tempo** and **To Tempo** is the tempo range this instrument can oscillate bewteen. A value of 1 is standard BPM, 2 is twice as fast, 0.5 is twice as slow. * **Tempo Offset** is the offset as a percentage of the instruments tempo. For example if an instrument's tempo is 1 and the tempo offset is 0.5, the instrument will on the half beat. * **Interval Phase**, **Interval**, **Interval Offset** control at what intervals the instruments can play. For example, if interval phase is 16, interval is 2, and interval offset is 1, every 16 beats, the instrument can play on the 2nd half of the beats (8-16). * **Active** essentially activates or deactivates an instrument 5. Prepare any new sound files and place in folder [instruments](instruments). All files should be in .wav format. For best results, I'd recommend using very short clips (< 500ms). ### Configure The Scripts 1. Python script: [hollywood.py](hollywood.py) * **BPM** is the song's beats per minute. * **BEATS_PER_MOVIE** is number of beats that should play per movie 2. ChucK script: [hollywood.ck](hollywood.ck) * **padding** is the amount of milliseconds before and after the song. * **instrument_buffers** is the number of buffers each instrument has. If you hear clipping in your song, you will want to increase this number. * **start** is which millisecond you would like the song to start on. Useful for debugging a particular part of the song. ### Generating The Song 1. Run `python csv_to_json.py data/top_10_movies_2006-2015.csv data/top_10_movies_2006-2015_people.csv data/top_10_movies_2006-2015.json data/races.json` in the project's directory to generate the `data/top_10_movies_2006-2015.json` file that will be used to generate the song and visualization 2. Run `python hollywood.py` in the project's directory. This will generate two files that ChucK will use: * `data/ck_instruments.csv`: A manifest of instrument files * `data/ck_sequence.csv`: A sequence of instruments 3. Open up [hollywood.ck](hollywood.ck) in ChucK. You can either export the song to .ogg/.wav or start your VM and add a new shred ### Generating The Visualization 1. Open [visualization/visualization.pde](visualization/visualization.pde) in Processing. This script generates a visualization based on the data from the previous steps. * set `boolean captureFrames = true;` to output frames to output folder * run script, this will generate frames at the framerate (`fps`) in the configuration
beefoo/music-lab-scripts
09_hollywood/README.md
Markdown
mit
4,279
const http = require('http'); const server = http.createServer(); const io = require('socket.io'); const { spy } = require('sinon'); const { expect } = require('chai'); const client = require('./socket'); const TEST_URL = 'http://localhost:3001'; describe('test socket', () => { let sock; beforeEach( (done) => { sock = io(server); server.listen(3001, () => done()); }); afterEach((done) => { server.close( () => done()); sock.close(); }); it('should connect', (done) => { sock.on('connection', () => { done(); }); client(TEST_URL, {}); }); });
EPSI-I5-Kaamelott/Kaamelott-rasp
src/socket.test.js
JavaScript
mit
601
--- layout: post title: Week 1 - Back to school! --- I had always wanted to have a personal space online where I can share and discuss things that I think areinteresting. However, due to privacy concerns, I had put off this idea for so long and instead kept a private blog for myself. Fortunately, thanks to the CS373 (Software Engineering) course that I'm taking at school, I will be writing and publishing entries here weekly as to fulfill its requirements. My main focus for this blog will be the (technical) pieces of knowledge that I've learned in the class, at school, on the Internet, and from other people. ## My expectations of the class ## Since: ``` happiness = reality / expectation ``` I intentionally don't have any expectations for the class. --- Just kidding though. I've heard good reviews of this class from past students so my hopes are pretty high. More importantly, looking at the syllabus, I feel like I will be learning a ton of things that I'm very interested in, such as full-stack development, software design and algorithmic problem solving. Thus, at the of the day, I hope I will come out of the class informed and happy. "What I've done" (this past week) --- Some CS senior's trivia: * Interview prep * Mock interviews * Actual interviews What's in my way? --- The torments of life: * Stress * Heat * Hunger Plan for next week --- ``` repeat eat() sleep() code() go_to_class() do_homework_and_assignments() until week.ends() ``` My experience of the class --- This class goes much faster than I imagined. The intro day wasn't too bad. However, starting from the second day, I was surprised that professor Downing went from Docker fundamentals to Assertions within an hour. Even though what was taught in the class isn't too hard to grasp, much of the Docker stuff doesn't really make sense until one has actually worked with it. Thus, I feel like introducing a whole bunch of Docker commands to those who have never touched Docker could be quite overwhelming. Apart from that, I found Assertions to be pretty cool, especially when I've only used them for unit testing. I'll try to make use of them more in my side-projects and hopefully more bug-free lines of code will be produced in less time. Tips of the week --- Since my main focus for this semester is full-time job search, I'll be giving away my 2 cents on this topic. 1. If you are getting bored of grinding problems on [Leetcode](www.leetcode.com), give [Firecode](http://www.firecode.io) a try. I personally find solving problems on this site to be more fun. It first tests your knowledge and skills, before giving you a personalized study plan that matches your background and helps you advance to the next level pretty seamlessly. The problems are similar to those of Leetcode: concise and high-quality, which is also a plus. 2. Having trouble finding where to get (high-quality) mock interviews? I would highly recommend [Refdash](http://www.refdash.com) over other free platforms that I've used, such as [Pramp](www.pramp.com) or [InterviewBit](www.interviewbit.io). What sets Refdash apart from the rest is the quality of the interviewers. Graduating from schools like Harvey Mudd or MIT and having lots of experience interviewing candidates for tech companies such as Google, they give very solid feedback (both verbal and written) on the interview performance and advice on how to improve from there. You won't be left in the dark not knowing where you did wrong as with other interviews. And if you happen to do well, they'll fast track you to on-sites with a bunch of tech companies! 3. Another resource that I found to be super useful for full-time job search is [Triplebyte](http://www.triplebyte.com). It's a recruiting platform that aims to provide a more unbiased hiring process for everyone. Regardless of what your background is (aka no resume needed), this site will assess your programming skills via a (pretty challenging yet interesting) quiz, then interview you before sending you to on-site interviews with companies that it partners with.
gvikei/gvikei.github.io
_posts/2017-09-02-First-Week.md
Markdown
mit
4,111
#!/usr/bin/env python # encoding: utf-8 """MoodleFUSE initialization """ import os import errno from moodlefuse.filesystem import Filesystem from moodlefuse.core import setup, config from moodlefuse.services import USERS MOODLEFUSE_DATABASE_FILE = 'moodlefuse.sqlite' MOODLEFUSE_CONFIG_FILE = 'moodlefuse.conf' MOODLEFUSE_HIDDEN_FOLDER = '.moodlefuse' DATABASE_CONF = 'alembic.ini' class MoodleFuse(object): def __init__(self, settings=None, testing=None): setup(settings) self._create_filesystem_root() Filesystem(config['LOCAL_MOODLE_FOLDER'], testing) def _create_filesystem_root(self): moodle_fs_path = config['LOCAL_MOODLE_FOLDER'] try: os.makedirs(moodle_fs_path) except OSError as e: if e.errno is not errno.EEXIST: raise e
BroganD1993/MoodleFUSE
moodlefuse/__init__.py
Python
mit
836
<?php namespace Ackintosh\Snidel; /** * @codeCoverageIgnore */ function msg_send() { return false; }
ackintosh/snidel
tests/msg_send.php
PHP
mit
108
<meta name="robots" content="noindex, nofollow" />
osalabs/osafw-asp.net
www/App_Data/template/contact/index/head_script.html
HTML
mit
50
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Class Papi_Property_Relationship</title> <link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71"> <link rel="stylesheet" href="resources/style.css?04121df963d959d8cb6f3057fccf1e8067c675b0"> </head> <body> <nav id="navigation" class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> <div class="navbar-header"> <a href="index.html" class="navbar-brand"> <img src="https://avatars0.githubusercontent.com/u/6768662?s=200"> </a> </div> <div class="collapse navbar-collapse"> <form id="search" class="navbar-form navbar-left" role="search"> <input type="hidden" name="cx" value=""> <input type="hidden" name="ie" value="UTF-8"> <div class="form-group"> <input type="text" name="q" class="search-query form-control" placeholder="Search"> </div> </form> <ul class="nav navbar-nav"> <li class="active"> <span>Class</span> </li> <li class="divider-vertical"></li> <li> <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a> </li> <li> <a href="annotation-group-deprecated.html" title="List of elements with deprecated annotation"> <span>Deprecated</span> </a> </li> </ul> </div> </div> </nav> <div id="left"> <div id="menu"> <div id="groups"> </div> <div id="elements"> <h3>Classes</h3> <ul> <li><a href="class-Papi_Admin.html">Papi_Admin</a></li> <li><a href="class-Papi_Admin_Ajax.html">Papi_Admin_Ajax</a></li> <li><a href="class-Papi_Admin_Assets.html">Papi_Admin_Assets</a></li> <li><a href="class-Papi_Admin_Columns.html">Papi_Admin_Columns</a></li> <li><a href="class-Papi_Admin_Menu.html">Papi_Admin_Menu</a></li> <li><a href="class-Papi_Admin_Meta_Box.html">Papi_Admin_Meta_Box</a></li> <li><a href="class-Papi_Admin_Meta_Box_Tabs.html">Papi_Admin_Meta_Box_Tabs</a></li> <li><a href="class-Papi_Admin_Meta_Handler.html">Papi_Admin_Meta_Handler</a></li> <li><a href="class-Papi_Admin_Option_Handler.html">Papi_Admin_Option_Handler</a></li> <li><a href="class-Papi_Admin_Taxonomy.html">Papi_Admin_Taxonomy</a></li> <li><a href="class-Papi_Admin_View.html">Papi_Admin_View</a></li> <li><a href="class-Papi_Attachment_Type.html">Papi_Attachment_Type</a></li> <li><a href="class-Papi_CLI.html">Papi_CLI</a></li> <li><a href="class-Papi_CLI_Command.html">Papi_CLI_Command</a></li> <li><a href="class-Papi_CLI_Post_Command.html">Papi_CLI_Post_Command</a></li> <li><a href="class-Papi_CLI_Term_Command.html">Papi_CLI_Term_Command</a></li> <li><a href="class-Papi_CLI_Type_Command.html">Papi_CLI_Type_Command</a></li> <li><a href="class-Papi_Conditional_Rules.html">Papi_Conditional_Rules</a></li> <li><a href="class-Papi_Container.html">Papi_Container</a></li> <li><a href="class-Papi_Core_Autoload.html">Papi_Core_Autoload</a></li> <li><a href="class-Papi_Core_Box.html">Papi_Core_Box</a></li> <li><a href="class-Papi_Core_Conditional.html">Papi_Core_Conditional</a></li> <li><a href="class-Papi_Core_Conditional_Rule.html">Papi_Core_Conditional_Rule</a></li> <li><a href="class-Papi_Core_Data_Handler.html">Papi_Core_Data_Handler</a></li> <li><a href="class-Papi_Core_Meta_Store.html">Papi_Core_Meta_Store</a></li> <li><a href="class-Papi_Core_Property.html">Papi_Core_Property</a></li> <li><a href="class-Papi_Core_Tab.html">Papi_Core_Tab</a></li> <li><a href="class-Papi_Core_Type.html">Papi_Core_Type</a></li> <li><a href="class-Papi_Entry_Type.html">Papi_Entry_Type</a></li> <li><a href="class-Papi_Loader.html">Papi_Loader</a></li> <li><a href="class-Papi_Option_Store.html">Papi_Option_Store</a></li> <li><a href="class-Papi_Option_Type.html">Papi_Option_Type</a></li> <li><a href="class-Papi_Page_Type.html">Papi_Page_Type</a></li> <li><a href="class-Papi_Porter.html">Papi_Porter</a></li> <li><a href="class-Papi_Porter_Driver.html">Papi_Porter_Driver</a></li> <li><a href="class-Papi_Porter_Driver_Core.html">Papi_Porter_Driver_Core</a></li> <li><a href="class-Papi_Post_Store.html">Papi_Post_Store</a></li> <li><a href="class-Papi_Property.html">Papi_Property</a></li> <li><a href="class-Papi_Property_Bool.html">Papi_Property_Bool</a></li> <li><a href="class-Papi_Property_Checkbox.html">Papi_Property_Checkbox</a></li> <li><a href="class-Papi_Property_Color.html">Papi_Property_Color</a></li> <li><a href="class-Papi_Property_Datetime.html">Papi_Property_Datetime</a></li> <li><a href="class-Papi_Property_Divider.html">Papi_Property_Divider</a></li> <li><a href="class-Papi_Property_Dropdown.html">Papi_Property_Dropdown</a></li> <li><a href="class-Papi_Property_Editor.html">Papi_Property_Editor</a></li> <li><a href="class-Papi_Property_Email.html">Papi_Property_Email</a></li> <li><a href="class-Papi_Property_File.html">Papi_Property_File</a></li> <li><a href="class-Papi_Property_Flexible.html">Papi_Property_Flexible</a></li> <li><a href="class-Papi_Property_Gallery.html">Papi_Property_Gallery</a></li> <li><a href="class-Papi_Property_Group.html">Papi_Property_Group</a></li> <li><a href="class-Papi_Property_Hidden.html">Papi_Property_Hidden</a></li> <li><a href="class-Papi_Property_Html.html">Papi_Property_Html</a></li> <li><a href="class-Papi_Property_Image.html">Papi_Property_Image</a></li> <li><a href="class-Papi_Property_Link.html">Papi_Property_Link</a></li> <li><a href="class-Papi_Property_Number.html">Papi_Property_Number</a></li> <li><a href="class-Papi_Property_Post.html">Papi_Property_Post</a></li> <li><a href="class-Papi_Property_Radio.html">Papi_Property_Radio</a></li> <li><a href="class-Papi_Property_Reference.html">Papi_Property_Reference</a></li> <li class="active"><a href="class-Papi_Property_Relationship.html">Papi_Property_Relationship</a></li> <li><a href="class-Papi_Property_Repeater.html">Papi_Property_Repeater</a></li> <li><a href="class-Papi_Property_String.html">Papi_Property_String</a></li> <li><a href="class-Papi_Property_Term.html">Papi_Property_Term</a></li> <li><a href="class-Papi_Property_Text.html">Papi_Property_Text</a></li> <li><a href="class-Papi_Property_Url.html">Papi_Property_Url</a></li> <li><a href="class-Papi_Property_User.html">Papi_Property_User</a></li> <li><a href="class-Papi_Taxonomy_Type.html">Papi_Taxonomy_Type</a></li> <li><a href="class-Papi_Term_Store.html">Papi_Term_Store</a></li> </ul> <h3>Functions</h3> <ul> <li><a href="function-papi.html">papi</a></li> <li><a href="function-papi_action_delete_value.html">papi_action_delete_value</a></li> <li><a href="function-papi_append_post_type_query.html">papi_append_post_type_query</a></li> <li><a href="function-papi_body_class.html">papi_body_class</a></li> <li><a href="function-papi_cache_delete.html">papi_cache_delete</a></li> <li><a href="function-papi_cache_get.html">papi_cache_get</a></li> <li><a href="function-papi_cache_key.html">papi_cache_key</a></li> <li><a href="function-papi_cache_set.html">papi_cache_set</a></li> <li><a href="function-papi_camel_case.html">papi_camel_case</a></li> <li><a href="function-papi_cast_string_value.html">papi_cast_string_value</a></li> <li><a href="function-papi_convert_to_string.html">papi_convert_to_string</a></li> <li><a href="function-papi_current_user_is_allowed.html">papi_current_user_is_allowed</a></li> <li><a href="function-papi_delete_field.html">papi_delete_field</a></li> <li><a href="function-papi_delete_option.html">papi_delete_option</a></li> <li><a href="function-papi_delete_property_meta_value.html">papi_delete_property_meta_value</a></li> <li><a href="function-papi_delete_term_field.html">papi_delete_term_field</a></li> <li><a href="function-papi_display_page_type.html">papi_display_page_type</a></li> <li><a href="function-papi_doing_ajax.html">papi_doing_ajax</a></li> <li><a href="function-papi_entry_type_exists.html">papi_entry_type_exists</a></li> <li><a href="function-papi_esc_html.html">papi_esc_html</a></li> <li><a href="function-papi_f.html">papi_f</a></li> <li><a href="function-papi_field_shortcode.html">papi_field_shortcode</a></li> <li><a href="function-papi_field_value.html">papi_field_value</a></li> <li><a href="function-papi_filter_conditional_rule_allowed.html">papi_filter_conditional_rule_allowed</a></li> <li><a href="function-papi_filter_format_value.html">papi_filter_format_value</a></li> <li><a href="function-papi_filter_load_value.html">papi_filter_load_value</a></li> <li><a href="function-papi_filter_settings_directories.html">papi_filter_settings_directories</a></li> <li><a href="function-papi_filter_settings_only_page_type.html">papi_filter_settings_only_page_type</a></li> <li><a href="function-papi_filter_settings_only_taxonomy_type.html">papi_filter_settings_only_taxonomy_type</a></li> <li><a href="function-papi_filter_settings_show_page_type.html">papi_filter_settings_show_page_type</a></li> <li><a href="function-papi_filter_settings_show_standard_page_type.html">papi_filter_settings_show_standard_page_type</a></li> <li><a href="function-papi_filter_settings_show_standard_page_type_in_filter.html">papi_filter_settings_show_standard_page_type_in_filter</a></li> <li><a href="function-papi_filter_settings_show_standard_taxonomy_type.html">papi_filter_settings_show_standard_taxonomy_type</a></li> <li><a href="function-papi_filter_settings_sort_order.html">papi_filter_settings_sort_order</a></li> <li><a href="function-papi_filter_settings_standard_page_type_description.html">papi_filter_settings_standard_page_type_description</a></li> <li><a href="function-papi_filter_settings_standard_page_type_name.html">papi_filter_settings_standard_page_type_name</a></li> <li><a href="function-papi_filter_settings_standard_page_type_thumbnail.html">papi_filter_settings_standard_page_type_thumbnail</a></li> <li><a href="function-papi_filter_settings_standard_taxonomy_type_name.html">papi_filter_settings_standard_taxonomy_type_name</a></li> <li><a href="function-papi_filter_update_value.html">papi_filter_update_value</a></li> <li><a href="function-papi_from_property_array_slugs.html">papi_from_property_array_slugs</a></li> <li><a href="function-papi_get_all_core_type_files.html">papi_get_all_core_type_files</a></li> <li><a href="function-papi_get_all_entry_types.html">papi_get_all_entry_types</a></li> <li><a href="function-papi_get_all_files_in_directory.html">papi_get_all_files_in_directory</a></li> <li><a href="function-papi_get_all_page_types.html">papi_get_all_page_types</a></li> <li><a href="function-papi_get_class_name.html">papi_get_class_name</a></li> <li><a href="function-papi_get_core_type_base_path.html">papi_get_core_type_base_path</a></li> <li><a href="function-papi_get_core_type_file_path.html">papi_get_core_type_file_path</a></li> <li><a href="function-papi_get_entry_type.html">papi_get_entry_type</a></li> <li><a href="function-papi_get_entry_type_by_id.html">papi_get_entry_type_by_id</a></li> <li><a href="function-papi_get_entry_type_by_meta_id.html">papi_get_entry_type_by_meta_id</a></li> <li><a href="function-papi_get_entry_type_count.html">papi_get_entry_type_count</a></li> <li><a href="function-papi_get_entry_type_css_class.html">papi_get_entry_type_css_class</a></li> <li><a href="function-papi_get_entry_type_id.html">papi_get_entry_type_id</a></li> <li><a href="function-papi_get_entry_type_template.html">papi_get_entry_type_template</a></li> <li><a href="function-papi_get_field.html">papi_get_field</a></li> <li><a href="function-papi_get_file_path.html">papi_get_file_path</a></li> <li><a href="function-papi_get_meta_id.html">papi_get_meta_id</a></li> <li><a href="function-papi_get_meta_id_column.html">papi_get_meta_id_column</a></li> <li><a href="function-papi_get_meta_store.html">papi_get_meta_store</a></li> <li><a href="function-papi_get_meta_type.html">papi_get_meta_type</a></li> <li><a href="function-papi_get_only_objects.html">papi_get_only_objects</a></li> <li><a href="function-papi_get_option.html">papi_get_option</a></li> <li><a href="function-papi_get_options_and_properties.html">papi_get_options_and_properties</a></li> <li><a href="function-papi_get_or_post.html">papi_get_or_post</a></li> <li><a href="function-papi_get_page.html">papi_get_page</a></li> <li><a href="function-papi_get_page_new_url.html">papi_get_page_new_url</a></li> <li><a href="function-papi_get_page_type_id.html">papi_get_page_type_id</a></li> <li><a href="function-papi_get_page_type_key.html">papi_get_page_type_key</a></li> <li><a href="function-papi_get_page_type_name.html">papi_get_page_type_name</a></li> <li><a href="function-papi_get_parent_post_id.html">papi_get_parent_post_id</a></li> <li><a href="function-papi_get_post_id.html">papi_get_post_id</a></li> <li><a href="function-papi_get_post_type.html">papi_get_post_type</a></li> <li><a href="function-papi_get_post_type_label.html">papi_get_post_type_label</a></li> <li><a href="function-papi_get_post_types.html">papi_get_post_types</a></li> <li><a href="function-papi_get_property_class_name.html">papi_get_property_class_name</a></li> <li><a href="function-papi_get_property_meta_value.html">papi_get_property_meta_value</a></li> <li><a href="function-papi_get_property_type.html">papi_get_property_type</a></li> <li><a href="function-papi_get_property_type_key.html">papi_get_property_type_key</a></li> <li><a href="function-papi_get_property_type_key_f.html">papi_get_property_type_key_f</a></li> <li><a href="function-papi_get_qs.html">papi_get_qs</a></li> <li><a href="function-papi_get_sanitized_post.html">papi_get_sanitized_post</a></li> <li><a href="function-papi_get_slugs.html">papi_get_slugs</a></li> <li><a href="function-papi_get_taxonomies.html">papi_get_taxonomies</a></li> <li><a href="function-papi_get_taxonomy.html">papi_get_taxonomy</a></li> <li><a href="function-papi_get_taxonomy_label.html">papi_get_taxonomy_label</a></li> <li><a href="function-papi_get_taxonomy_type_id.html">papi_get_taxonomy_type_id</a></li> <li><a href="function-papi_get_taxonomy_type_name.html">papi_get_taxonomy_type_name</a></li> <li><a href="function-papi_get_template_file_name.html">papi_get_template_file_name</a></li> <li><a href="function-papi_get_term_field.html">papi_get_term_field</a></li> <li><a href="function-papi_get_term_id.html">papi_get_term_id</a></li> <li><a href="function-papi_get_term_slugs.html">papi_get_term_slugs</a></li> <li><a href="function-papi_html_name.html">papi_html_name</a></li> <li><a href="function-papi_html_tag.html">papi_html_tag</a></li> <li><a href="function-papi_include_query_strings.html">papi_include_query_strings</a></li> <li><a href="function-papi_include_template.html">papi_include_template</a></li> <li><a href="function-papi_is_empty.html">papi_is_empty</a></li> <li><a href="function-papi_is_json.html">papi_is_json</a></li> <li><a href="function-papi_is_method.html">papi_is_method</a></li> <li><a href="function-papi_is_option_type.html">papi_is_option_type</a></li> <li><a href="function-papi_is_page_type.html">papi_is_page_type</a></li> <li><a href="function-papi_is_property.html">papi_is_property</a></li> <li><a href="function-papi_is_property_type_key.html">papi_is_property_type_key</a></li> <li><a href="function-papi_is_rule.html">papi_is_rule</a></li> <li><a href="function-papi_load_page_type_id.html">papi_load_page_type_id</a></li> <li><a href="function-papi_load_taxonomy_type_id.html">papi_load_taxonomy_type_id</a></li> <li><a href="function-papi_maybe_convert_to_array.html">papi_maybe_convert_to_array</a></li> <li><a href="function-papi_maybe_convert_to_object.html">papi_maybe_convert_to_object</a></li> <li><a href="function-papi_maybe_get_callable_value.html">papi_maybe_get_callable_value</a></li> <li><a href="function-papi_maybe_json_decode.html">papi_maybe_json_decode</a></li> <li><a href="function-papi_maybe_json_encode.html">papi_maybe_json_encode</a></li> <li><a href="function-papi_nl2br.html">papi_nl2br</a></li> <li><a href="function-papi_option_shortcode.html">papi_option_shortcode</a></li> <li><a href="function-papi_option_type_exists.html">papi_option_type_exists</a></li> <li><a href="function-papi_populate_properties.html">papi_populate_properties</a></li> <li><a href="function-papi_property.html">papi_property</a></li> <li><a href="function-papi_remove_trailing_quotes.html">papi_remove_trailing_quotes</a></li> <li><a href="function-papi_render_html_tag.html">papi_render_html_tag</a></li> <li><a href="function-papi_render_properties.html">papi_render_properties</a></li> <li><a href="function-papi_render_property.html">papi_render_property</a></li> <li><a href="function-papi_require_text.html">papi_require_text</a></li> <li><a href="function-papi_required_html.html">papi_required_html</a></li> <li><a href="function-papi_rule.html">papi_rule</a></li> <li><a href="function-papi_santize_data.html">papi_santize_data</a></li> <li><a href="function-papi_set_page_type_id.html">papi_set_page_type_id</a></li> <li><a href="function-papi_set_taxonomy_type_id.html">papi_set_taxonomy_type_id</a></li> <li><a href="function-papi_slugify.html">papi_slugify</a></li> <li><a href="function-papi_sort_order.html">papi_sort_order</a></li> <li><a href="function-papi_supports_term_meta.html">papi_supports_term_meta</a></li> <li><a href="function-papi_tab.html">papi_tab</a></li> <li><a href="function-papi_tabs_setup.html">papi_tabs_setup</a></li> <li><a href="function-papi_taxonomy_shortcode.html">papi_taxonomy_shortcode</a></li> <li><a href="function-papi_template.html">papi_template</a></li> <li><a href="function-papi_template_include.html">papi_template_include</a></li> <li><a href="function-papi_to_array.html">papi_to_array</a></li> <li><a href="function-papi_to_property_array_slugs.html">papi_to_property_array_slugs</a></li> <li><a href="function-papi_underscorify.html">papi_underscorify</a></li> <li><a href="function-papi_update_field.html">papi_update_field</a></li> <li><a href="function-papi_update_option.html">papi_update_option</a></li> <li><a href="function-papi_update_property_meta_value.html">papi_update_property_meta_value</a></li> <li><a href="function-papi_update_property_meta_value_cache_delete.html">papi_update_property_meta_value_cache_delete</a></li> <li><a href="function-papi_update_term_field.html">papi_update_term_field</a></li> <li><a href="function-papify.html">papify</a></li> <li><a href="function-the_papi_field.html">the_papi_field</a></li> <li><a href="function-the_papi_option.html">the_papi_option</a></li> <li><a href="function-the_papi_page_type_name.html">the_papi_page_type_name</a></li> <li><a href="function-the_papi_taxonomy_type_name.html">the_papi_taxonomy_type_name</a></li> <li><a href="function-the_papi_term_field.html">the_papi_term_field</a></li> <li><a href="function-unpapify.html">unpapify</a></li> </ul> </div> </div> </div> <div id="splitter"></div> <div id="right"> <div id="rightInner"> <div id="content" class="class"> <h1>Class Papi_Property_Relationship</h1> <div class="description"> <p>Relationship property that can handle more than one relationship between posts or other data items.</p> </div> <dl class="tree well"> <dd style="padding-left:0px"> <a href="class-Papi_Core_Property.html"><span>Papi_Core_Property</span></a> </dd> <dd style="padding-left:30px"> <img src="resources/inherit.png" alt="Extended by"> <a href="class-Papi_Property.html"><span>Papi_Property</span></a> </dd> <dd style="padding-left:60px"> <img src="resources/inherit.png" alt="Extended by"> <b><span>Papi_Property_Relationship</span></b> </dd> </dl> <div class="alert alert-info"> <b>Located at</b> <a href="source-class-Papi_Property_Relationship.html#3-419" title="Go to source code">properties/class-papi-property-relationship.php</a> <br> </div> <div class="panel panel-default"> <div class="panel-heading"><h2>Methods summary</h2></div> <table class="summary table table-bordered table-striped methods" id="methods"> <tr data-order="convert_post_to_item" id="_convert_post_to_item"> <td class="attributes"><code> protected object </code> </td> <td class="name"><div> <a class="anchor" href="#_convert_post_to_item">#</a> <code><a href="source-class-Papi_Property_Relationship.html#23-35" title="Go to source code">convert_post_to_item</a>( <span>WP_Post <var>$post</var></span> )</code> <div class="description short"> <p>Convert WordPress post object to a item object.</p> </div> <div class="description detailed hidden"> <p>Convert WordPress post object to a item object.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$post</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> object </div> </div> </div></td> </tr> <tr data-order="format_value" id="_format_value"> <td class="attributes"><code> public array </code> </td> <td class="name"><div> <a class="anchor" href="#_format_value">#</a> <code><a href="source-class-Papi_Property_Relationship.html#37-92" title="Go to source code">format_value</a>( <span>mixed <var>$values</var></span>, <span>string <var>$slug</var></span>, <span>integer <var>$post_id</var></span> )</code> <div class="description short"> <p>Format the value of the property before it's returned to WordPress admin or the site.</p> </div> <div class="description detailed hidden"> <p>Format the value of the property before it's returned to WordPress admin or the site.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$values</var></dt> <dd></dd> <dt><var>$slug</var></dt> <dd></dd> <dt><var>$post_id</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> array </div> <h4>Overrides</h4> <div class="list"><code><a href="class-Papi_Core_Property.html#_format_value">Papi_Core_Property::format_value</a></code></div> </div> </div></td> </tr> <tr data-order="get_default_settings" id="_get_default_settings"> <td class="attributes"><code> public array </code> </td> <td class="name"><div> <a class="anchor" href="#_get_default_settings">#</a> <code><a href="source-class-Papi_Property_Relationship.html#94-109" title="Go to source code">get_default_settings</a>( )</code> <div class="description short"> <p>Get default settings.</p> </div> <div class="description detailed hidden"> <p>Get default settings.</p> <h4>Returns</h4> <div class="list"> array </div> <h4>Overrides</h4> <div class="list"><code><a href="class-Papi_Core_Property.html#_get_default_settings">Papi_Core_Property::get_default_settings</a></code></div> </div> </div></td> </tr> <tr data-order="get_sort_option" id="_get_sort_option"> <td class="attributes"><code> public string </code> </td> <td class="name"><div> <a class="anchor" href="#_get_sort_option">#</a> <code><a href="source-class-Papi_Property_Relationship.html#111-125" title="Go to source code">get_sort_option</a>( <span>integer <var>$post_id</var></span> )</code> <div class="description short"> <p>Get sort option value.</p> </div> <div class="description detailed hidden"> <p>Get sort option value.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$post_id</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> string </div> </div> </div></td> </tr> <tr data-order="get_sort_options" id="_get_sort_options"> <td class="attributes"><code> public static array </code> </td> <td class="name"><div> <a class="anchor" href="#_get_sort_options">#</a> <code><a href="source-class-Papi_Property_Relationship.html#127-183" title="Go to source code">get_sort_options</a>( )</code> <div class="description short"> <p>Get sort options for relationship property.</p> </div> <div class="description detailed hidden"> <p>Get sort options for relationship property.</p> <h4>Returns</h4> <div class="list"> array </div> </div> </div></td> </tr> <tr data-order="get_items" id="_get_items"> <td class="attributes"><code> protected array </code> </td> <td class="name"><div> <a class="anchor" href="#_get_items">#</a> <code><a href="source-class-Papi_Property_Relationship.html#185-225" title="Go to source code">get_items</a>( <span>stdClass <var>$settings</var></span> )</code> <div class="description short"> <p>Get items to display from settings.</p> </div> <div class="description detailed hidden"> <p>Get items to display from settings.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$settings</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> array </div> </div> </div></td> </tr> <tr data-order="html" id="_html"> <td class="attributes"><code> public </code> </td> <td class="name"><div> <a class="anchor" href="#_html">#</a> <code><a href="source-class-Papi_Property_Relationship.html#227-323" title="Go to source code">html</a>( )</code> <div class="description short"> <p>Render property html.</p> </div> <div class="description detailed hidden"> <p>Render property html.</p> <h4>Overrides</h4> <div class="list"><code><a href="class-Papi_Property.html#_html">Papi_Property::html</a></code></div> </div> </div></td> </tr> <tr data-order="import_value" id="_import_value"> <td class="attributes"><code> public mixed </code> </td> <td class="name"><div> <a class="anchor" href="#_import_value">#</a> <code><a href="source-class-Papi_Property_Relationship.html#325-356" title="Go to source code">import_value</a>( <span>mixed <var>$value</var></span>, <span>string <var>$slug</var></span>, <span>integer <var>$post_id</var></span> )</code> <div class="description short"> <p>Import value to the property.</p> </div> <div class="description detailed hidden"> <p>Import value to the property.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$value</var></dt> <dd></dd> <dt><var>$slug</var></dt> <dd></dd> <dt><var>$post_id</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> mixed </div> <h4>Overrides</h4> <div class="list"><code><a href="class-Papi_Core_Property.html#_import_value">Papi_Core_Property::import_value</a></code></div> </div> </div></td> </tr> <tr data-order="load_value" id="_load_value"> <td class="attributes"><code> public mixed </code> </td> <td class="name"><div> <a class="anchor" href="#_load_value">#</a> <code><a href="source-class-Papi_Property_Relationship.html#358-370" title="Go to source code">load_value</a>( <span>mixed <var>$values</var></span>, <span>string <var>$slug</var></span>, <span>integer <var>$post_id</var></span> )</code> <div class="description short"> <p>Change value after it's loaded from the database.</p> </div> <div class="description detailed hidden"> <p>Change value after it's loaded from the database.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$values</var></dt> <dd></dd> <dt><var>$slug</var></dt> <dd></dd> <dt><var>$post_id</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> mixed </div> <h4>Overrides</h4> <div class="list"><code><a href="class-Papi_Core_Property.html#_load_value">Papi_Core_Property::load_value</a></code></div> </div> </div></td> </tr> <tr data-order="sort_value" id="_sort_value"> <td class="attributes"><code> public array </code> </td> <td class="name"><div> <a class="anchor" href="#_sort_value">#</a> <code><a href="source-class-Papi_Property_Relationship.html#372-392" title="Go to source code">sort_value</a>( <span>array <var>$values</var></span>, <span>string <var>$slug</var></span>, <span>integer <var>$post_id</var></span> )</code> <div class="description short"> <p>Sort the values.</p> </div> <div class="description detailed hidden"> <p>Sort the values.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$values</var></dt> <dd></dd> <dt><var>$slug</var></dt> <dd></dd> <dt><var>$post_id</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> array </div> </div> </div></td> </tr> <tr data-order="update_value" id="_update_value"> <td class="attributes"><code> public string </code> </td> <td class="name"><div> <a class="anchor" href="#_update_value">#</a> <code><a href="source-class-Papi_Property_Relationship.html#394-418" title="Go to source code">update_value</a>( <span>mixed <var>$values</var></span>, <span>string <var>$slug</var></span>, <span>integer <var>$post_id</var></span> )</code> <div class="description short"> <p>Sort the values on update.</p> </div> <div class="description detailed hidden"> <p>Sort the values on update.</p> <h4>Parameters</h4> <div class="list"><dl> <dt><var>$values</var></dt> <dd></dd> <dt><var>$slug</var></dt> <dd></dd> <dt><var>$post_id</var></dt> <dd></dd> </dl></div> <h4>Returns</h4> <div class="list"> string </div> <h4>Overrides</h4> <div class="list"><code><a href="class-Papi_Core_Property.html#_update_value">Papi_Core_Property::update_value</a></code></div> </div> </div></td> </tr> </table> </div> <div class="panel panel-default"> <div class="panel-heading"><h3>Methods inherited from <a href="class-Papi_Property.html#methods">Papi_Property</a></h3></div> <p class="elementList"> <code><a href="class-Papi_Property.html#_get_value">get_value()</a></code>, <code><a href="class-Papi_Property.html#_is_option_page">is_option_page()</a></code>, <code><a href="class-Papi_Property.html#_render">render()</a></code>, <code><a href="class-Papi_Property.html#_render_description_html">render_description_html()</a></code>, <code><a href="class-Papi_Property.html#_render_hidden_html">render_hidden_html()</a></code>, <code><a href="class-Papi_Property.html#_render_label_html">render_label_html()</a></code>, <code><a href="class-Papi_Property.html#_render_property_html">render_property_html()</a></code>, <code><a href="class-Papi_Property.html#_render_row_html">render_row_html()</a></code>, <code><a href="class-Papi_Property.html#_render_rules_json">render_rules_json()</a></code> </p> </div> <div class="panel panel-default"> <div class="panel-heading"><h3>Methods inherited from <a href="class-Papi_Core_Property.html#methods">Papi_Core_Property</a></h3></div> <p class="elementList"> <code><a href="class-Papi_Core_Property.html#___construct">__construct()</a></code>, <code><a href="class-Papi_Core_Property.html#___get">__get()</a></code>, <code><a href="class-Papi_Core_Property.html#___isset">__isset()</a></code>, <code><a href="class-Papi_Core_Property.html#___set">__set()</a></code>, <code><a href="class-Papi_Core_Property.html#___toString">__toString()</a></code>, <code><a href="class-Papi_Core_Property.html#_create">create()</a></code>, <code><a href="class-Papi_Core_Property.html#_current_user_can">current_user_can()</a></code>, <code><a href="class-Papi_Core_Property.html#_delete_value">delete_value()</a></code>, <code><a href="class-Papi_Core_Property.html#_disabled">disabled()</a></code>, <code><a href="class-Papi_Core_Property.html#_display">display()</a></code>, <code><a href="class-Papi_Core_Property.html#_factory">factory()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_child_properties">get_child_properties()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_child_property">get_child_property()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_import_settings">get_import_settings()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_meta_type">get_meta_type()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_option">get_option()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_options">get_options()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_post_id">get_post_id()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_rules">get_rules()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_setting">get_setting()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_settings">get_settings()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_slug">get_slug()</a></code>, <code><a href="class-Papi_Core_Property.html#_get_store">get_store()</a></code>, <code><a href="class-Papi_Core_Property.html#_html_id">html_id()</a></code>, <code><a href="class-Papi_Core_Property.html#_html_name">html_name()</a></code>, <code><a href="class-Papi_Core_Property.html#_import_setting">import_setting()</a></code>, <code><a href="class-Papi_Core_Property.html#_import_settings">import_settings()</a></code>, <code><a href="class-Papi_Core_Property.html#_match_slug">match_slug()</a></code>, <code><a href="class-Papi_Core_Property.html#_prepare_value">prepare_value()</a></code>, <code><a href="class-Papi_Core_Property.html#_render_ajax_request">render_ajax_request()</a></code>, <code><a href="class-Papi_Core_Property.html#_render_is_allowed_by_rules">render_is_allowed_by_rules()</a></code>, <code><a href="class-Papi_Core_Property.html#_set_option">set_option()</a></code>, <code><a href="class-Papi_Core_Property.html#_set_options">set_options()</a></code>, <code><a href="class-Papi_Core_Property.html#_set_post_id">set_post_id()</a></code>, <code><a href="class-Papi_Core_Property.html#_set_setting">set_setting()</a></code>, <code><a href="class-Papi_Core_Property.html#_set_store">set_store()</a></code>, <code><a href="class-Papi_Core_Property.html#_setup_actions">setup_actions()</a></code>, <code><a href="class-Papi_Core_Property.html#_setup_conditional">setup_conditional()</a></code>, <code><a href="class-Papi_Core_Property.html#_setup_filters">setup_filters()</a></code> </p> </div> <div class="panel panel-default"> <div class="panel-heading"><h2>Properties summary</h2></div> <table class="summary table table-bordered table-striped properties" id="properties"> <tr data-order="convert_type" id="$convert_type"> <td class="attributes"><code> public string </code></td> <td class="name"> <a href="source-class-Papi_Property_Relationship.html#9-14" title="Go to source code"><var>$convert_type</var></a> <div class="description short"> <p>The convert type.</p> </div> <div class="description detailed hidden"> <p>The convert type.</p> </div> </td> <td class="value"> <div> <a href="#$convert_type" class="anchor">#</a> <code><span class="php-quote">'array'</span></code> </div> </td> </tr> <tr data-order="default_value" id="$default_value"> <td class="attributes"><code> public array </code></td> <td class="name"> <a href="source-class-Papi_Property_Relationship.html#16-21" title="Go to source code"><var>$default_value</var></a> <div class="description short"> <p>The default value.</p> </div> <div class="description detailed hidden"> <p>The default value.</p> </div> </td> <td class="value"> <div> <a href="#$default_value" class="anchor">#</a> <code>[]</code> </div> </td> </tr> </table> </div> <div class="panel panel-default"> <div class="panel-heading"><h3>Properties inherited from <a href="class-Papi_Core_Property.html#properties">Papi_Core_Property</a></h3></div> <p class="elementList"> <code><a href="class-Papi_Core_Property.html#$conditional"><var>$conditional</var></a></code>, <code><a href="class-Papi_Core_Property.html#$default_options"><var>$default_options</var></a></code>, <code><a href="class-Papi_Core_Property.html#$display"><var>$display</var></a></code>, <code><a href="class-Papi_Core_Property.html#$tab"><var>$tab</var></a></code> </p> </div> </div> </div> <div id="footer"> API documentation generated by <a href="http://apigen.org">ApiGen</a> </div> </div> <script src="resources/combined.js"></script> <script src="elementlist.js"></script> </body> </html>
wp-papi/wp-papi.github.io
docs/apigen/class-Papi_Property_Relationship.html
HTML
mit
38,132
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> html, body { padding: 0; margin: 0; } </style> </head> <body> <div id="htmlElement" class="yo hey cool" style="width: 40px; height: 30px; padding-top: 2px; padding-left: 2px; border-left: 1px solid black;"> <span style="display:none;" id="someSpan"> 42 </span> Yo </div> <svg width="400" height="110"> <rect class="svg1 svg2" id="svgElement" width="300px" height="100px" style="fill:rgb(0,0,255); stroke-width:0;"> Hey </rect> </svg> <form> <input id="textInput" type="text"> <input id="checkInput" type="checkbox"> <select id="selectInput"> <option id="option1">O1</option> <option id="option2">O2</option> </select> </form> <div id="htmlElementWithInnerText">Hey<br>yo test <script>42</script> test <script>'hey hey';</script> <style>.someClass { }</style> </div> <input type="button" id="createElement"> <input type="button" id="makeVisible"> <div id="invisibleElement" style="display: none; width:500px; height: 500px;"></div> <input type="button" id="newPage"> <script> document.querySelector('#createElement').addEventListener('click', function () { var div = document.createElement('div'); div.id = 'newElement'; window.setTimeout(function () { document.body.appendChild(div); }, 500); }); document.querySelector('#makeVisible').addEventListener('click', function () { var div = document.querySelector('#invisibleElement'); window.setTimeout(function () { div.style.display = 'block'; }, 500); }); document.querySelector('#newPage').addEventListener('click', function () { window.setTimeout(function () { document.location = 'http://localhost:3000/fixtures/api/es-next/selector/pages/new-page-element.html'; }, 1000); }); document.addEventListener("DOMContentLoaded", function () { window.setTimeout(function () { var div = document.createElement('div'); div.id = 'slowElement'; div.style.display = 'none'; div.style.width = '500px'; div.style.height = '500px'; window.setTimeout(function () { div.style.display = 'block'; }, 100); }, 2000); }); </script> <section id="container"> <div id="el1" class="idxEl">This is <script>var yo = 4;</script>element 1.</div> <div id="el2" class="idxEl">Hey?! (yo)</div> <div id="el3" class="idxEl">Hey?! (yo)</div> <div id="el4" class="idxEl">This <script>var yo = 3;</script>is element 4.</div> </section> <div id="withExactText"> <div class="should-not-pass"> Element with text <div id="passed-0" class="should-pass">Element with text</div> <div id="passed-1" class="should-pass"> Element with text </div> <div id="passed-2" class="should-pass">Element with text<div> </div></div> <div class="should-not-pass">Element with text<div>1</div></div> <div class="should-not-pass">Element with text1</div> </div> </div> <a><b><c></c></b><d>e</d><f><g>h</g></f></a> <div id="p2" class="parent2"> <div id="p1" class="parent1"> <div id="p0" class="parent0"> <div id="childDiv"></div> </div> </div> Hey </div> <ul id="list"> <li> <label id="write">Write code</label> </li> <li> <label id="test">Test it</label> </li> <li> <label id="release">Release it</label> </li> </ul> <div class="class1"> <div id="common1" class="common"></div> </div> <div> <div id="common2" class="common class1"></div> </div> <div class="find-parent"><div id="find-child1"><div id="find-child2"></div></div><div id="find-child3"></div><div id="find-child4"></div></div> <div> <div id="attr1" data-store="data-attr1" class="attr"></div> <div id="attr2" data-store="data-attr2" class="attr"></div> </div> <div id="filterVisiblePlain"> <div style="display: none;">displayNone</div> <div style="width: 0; height: 0;">zeroDimensions</div> <div style="visibility: hidden;">visibilityHidden</div> <div>visible</div> </div> <div id="filterVisibleHierarchical"> <div style="display: none;"> <p class="p" style="display: none;">1</p> <p class="p" style="display: none;">2</p> <p style="display: none;">3</p> <p class="p">4</p> <p>5</p> </div> <div> <p class="p">1</p> <p>2</p> <p>3</p> <p class="p" style="display: none;">4</p> <p class="p">5</p> <p>6</p> </div> </div> </body> </html>
churkin/testcafe
test/functional/fixtures/api/es-next/selector/pages/index.html
HTML
mit
4,797
/* * Copyright (c) 2020 Sekhar Bhattacharya * * SPDX-License-Identifier: MIT */ #ifndef _ARCH_TIMER_H_ #define _ARCH_TIMER_H_ // Initializes the generic timer void arch_timer_init(void); // Get the clock frequency of the counter in Hz #define arch_timer_get_freq()\ ({\ unsigned long result;\ asm ("mrs %0, CNTFRQ_EL0\n"\ : "=r" (result) :);\ result;\ }) // Get the clock period of the counter in seconds #define arch_timer_get_period() (1.0 / (double)arch_timer_get_freq()) // Get the number of ticks since the counter was started #define arch_timer_get_ticks()\ ({\ unsigned long result;\ asm ("mrs %0, CNTPCT_EL0\n"\ : "=r" (result) :);\ result;\ }) #define arch_timer_get_secs() ((double)arch_timer_get_ticks() * arch_timer_get_period()) #define arch_timer_get_msecs() (arch_timer_get_secs() * 1000.0) #define arch_timer_get_usecs() (arch_timer_get_msecs() * 1000.0) // Enable the generic timer to fire an interrupt after the given time has passed in number of counter ticks #define arch_timer_start(ticks)\ ({\ asm volatile ("msr CNTP_TVAL_EL0, %0\n"\ "mov x1, #1\n"\ "msr CNTP_CTL_EL0, x1\n"\ "isb sy\n"\ :: "r" (ticks)\ : "x1");\ }) #define arch_timer_stop()\ ({\ asm volatile ("msr CNTP_CTL_EL0, xzr\n"\ "isb sy\n"\ ::);\ }) #define ARCH_TIMER_SECS_TO_TICKS(t) ARCH_TIMER_MSECS_TO_TICKS(t*1000) #define ARCH_TIMER_MSECS_TO_TICKS(t) ARCH_TIMER_USECS_TO_TICKS(t*1000) #define ARCH_TIMER_USECS_TO_TICKS(t) ((unsigned long)((double)(t) * ((double)arch_timer_get_freq() / 1000000.0))) #define arch_timer_start_secs(t) (arch_timer_start(ARCH_TIMER_SECS_TO_TICKS(t))) #define arch_timer_start_msecs(t) (arch_timer_start(ARCH_TIMER_MSECS_TO_TICKS(t))) #define arch_timer_start_usecs(t) (arch_timer_start(ARCH_TIMER_USECS_TO_TICKS(t))) #endif // _ARCH_TIMER_H_
0ctobyte/arm-kernel
kernel/arch/arch_timer.h
C
mit
1,954
<?php namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration, Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your need! */ class Version20120802054929 extends AbstractMigration { public function up(Schema $schema) { // this up() migration is autogenerated, please modify it to your needs $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); $this->addSql("CREATE TABLE users (id INT AUTO_INCREMENT NOT NULL, username VARCHAR(25) NOT NULL, salt VARCHAR(32) NOT NULL, password VARCHAR(40) NOT NULL, email VARCHAR(60) NOT NULL, is_active TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_1483A5E9F85E0677 (username), UNIQUE INDEX UNIQ_1483A5E9E7927C74 (email), PRIMARY KEY(id)) ENGINE = InnoDB"); } public function down(Schema $schema) { // this down() migration is autogenerated, please modify it to your needs $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql"); $this->addSql("DROP TABLE users"); } }
theaudience-brett/podcasts
app/DoctrineMigrations/Version20120802054929.php
PHP
mit
1,101
# Poke The Game Pong + Snake = Poke Multiplayer, find the live demo at [http://poke-the-game.tk](http://poke-the-game.tk) Done for [JacobsHack](jacobshack.com) 2014 by @kpj, @moritzmhmk, @nk17 and @tkw1536. ## Install ```bash npm install . ``` ## How to start ```bash node index.js ``` Then navigate your Chrome Browser to [http://localhost:3000](http://localhost:3000). ## How to play Move your SNAKE to protect your goal and collect the POWERUPS. Score a GOAL to gain points. Use UP, RIGHT, DOWN, LEFT or W, A, S, D to control your snake or navigate the menu. Press ENTER to navigate menus. Press TAB to highlight links. ## Legal ### License ``` This software is licensed under the MIT License. Copyright (C) 2014 The POKE THE GAME Team https://github.com/Poke-the-Game 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. ``` ### Used Works * [Press Start 2P Font](https://www.google.com/fonts/specimen/Press+Start+2P), licensed under [SIL Open Font License, 1.1](http://scripts.sil.org/OFL) * [jQuery](https://jquery.org/) 2.1.0, licensed under [MIT License](https://jquery.org/license/) * [ExpressJS](http://expressjs.com/) 4.9.5, licensed under [MIT License](https://github.com/strongloop/express/blob/master/LICENSE) * [node-uuid](https://github.com/broofa/node-uuid) 1.4.1, licensed under [MIT License](https://github.com/broofa/node-uuid/blob/master/LICENSE.md) * [Socket.IO](http://socket.io/) 1.1.0, licensed under [MIT License](https://github.com/Automattic/socket.io/blob/master/LICENSE) * [winston](https://github.com/flatiron/winston) 0.8.0, licensed under [MIT License](https://github.com/flatiron/winston/blob/master/LICENSE)
Poke-the-Game/Poke
README.md
Markdown
mit
2,635
require 'spec_helper' require 'date' require 'bigdecimal' require 'xeroid/objects/invoice' require 'xeroid/objects/account' require 'xeroid/objects/payment' module Xeroid::Objects describe Payment do let(:invoice) { Invoice.new(id: "abcde-12345-abcde-12345") } let(:account) { Account.new(code: "NWBC") } let(:amount) { BigDecimal.new("10.00") } let(:date) { Date.parse("2012-11-15") } let(:payment) { Payment.new(invoice: invoice, account: account, amount: amount, date: date) } it "can return its invoice" do payment.invoice.should == invoice end it "can return its account" do payment.account.should == account end it "can return its date" do payment.date.should == date end it "can return its amount" do payment.amount.should == amount end it "returns nil for currency_rate by default" do payment.currency_rate.should be_nil end context "with currency_rate" do let(:currency_rate) { BigDecimal.new("1.2") } let(:payment) { Payment.new(invoice: invoice, account: account, amount: amount, date: date, currency_rate: currency_rate) } it "can return its currency_rate" do payment.currency_rate.should == currency_rate end end end end
fidothe/xeroid
spec/xeroid/objects/payment_spec.rb
Ruby
mit
1,277
const sqlite = require('sqlite'); const exec = require('child_process').exec; const program = require('commander'); const config = require('./config'); const fetchGroups = require('./lib/fetch-groups'); const fetchMembers = require('./lib/fetch-members'); program .version('0.0.0') .option('-a, --accessToken [value]', 'Facebook access token') .parse(process.argv); if(program.accessToken) { callMe(); } else { program.help(); } async function callMe() { let db; try { db = await sqlite.open(config.dbName); } catch(err) { console.error('unable to connect to database: ', config.dbName); } await db.exec(` CREATE TABLE IF NOT EXISTS fb_groups( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, fb_group_id NUMERIC NOT NULL UNIQUE, fb_privacy TEXT NOT NULL, fb_bookmark_order INTEGER NOT NULL, timestamp DATETIME DEFAULT 'now' ); `); await db.exec(` CREATE TABLE IF NOT EXISTS fb_users( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, fb_user_id NUMERIC NOT NULL UNIQUE, timestamp DATETIME DEFAULT 'now' ); `); await db.exec(` CREATE TABLE IF NOT EXISTS fb_groups_users( id INTEGER PRIMARY KEY AUTOINCREMENT, group_id INTEGER NOT NULL REFERENCES fb_groups, user_id INTEGER NOT NULL REFERENCES db_users, is_admin BOOLEAN NOT NULL DEFAULT FALSE, timestamp DATETIME DEFAULT 'now', UNIQUE(group_id, user_id) ); `); const result = await fetchGroups(program.accessToken); result.data.forEach(async function(gr) { try { // Insert data for all the groups there await db.run(` INSERT OR IGNORE INTO fb_groups (name, fb_group_id, fb_privacy, fb_bookmark_order) SELECT :name, :id, :privacy, :bookmark_order `, { ':name': gr.name, ':id': gr.id, ':privacy': gr.privacy, ':bookmark_order': gr.bookmark_order, }); } catch(err) { console.error(err) } }); const groups = await db.all(`SELECT * FROM fb_groups`); groups.forEach(async function(gr) { let membersEmmiter = await fetchMembers({ accessToken: program.accessToken, groupId: gr.fb_group_id, }); let chunkNum = 0; let totalMembers = 0; let prevTimestamp = new Date(); console.log(`Processing group "${ gr.name }" with id ${gr.fb_group_id}`) await new Promise((res, rej) => { membersEmmiter.on('error', err => rej(err)); membersEmmiter.on('end', err => res()); membersEmmiter.on('load', async (res) => { const membersList = res.resp.data; const newTimestamp = new Date(); chunkNum += 1; totalMembers += membersList.length; console.log(`Processing #${ chunkNum } total of ${ totalMembers } members, lasted ${ (newTimestamp - prevTimestamp) / 1000 }s from group ${ gr.name } with id ${ gr.fb_group_id }`) prevTimestamp = newTimestamp; for(let i = 0, l = membersList.length; i < l; i++) { let member = membersList[i]; try { await db.run(` INSERT OR IGNORE INTO fb_users ( name, fb_user_id) SELECT :name, :id `, { ':name': member.name, ':id': member.id, }); let user = await db.get(`SELECT * FROM fb_users WHERE fb_user_id = :id`, { ':id': member.id, }); await db.run(` INSERT OR IGNORE INTO fb_groups_users ( group_id, user_id, is_admin) SELECT :group_id, :user_id, :is_admin `, { ':group_id': gr.id, ':user_id': user.id, ':is_admin': !!member.administrator, }); } catch (err) { console.error(err) } } }); }); }); }
suricactus/fb-group-members
index.js
JavaScript
mit
3,912
<?php namespace FS\Injection\Pico; if (!defined('ABSPATH')) { exit; // Exit if accessed directly. } class Engine { protected $delimiter; protected $pattern; public function __construct($delimiter = ['\{{2}', '\}{2}']) { $this->setDelimiter($delimiter); } public function setDelimiter(array $delimiter) { $this->delimiter = $delimiter; $this->pattern = "/{$delimiter[0]}\s*('?[\w\.]*'?)([\s?\|\w]*)\s?{$delimiter[1]}/"; return $this; } public function render($content, array $payload = []) { $engine = $this; return preg_replace_callback($this->pattern, function ($matches) use ($payload, $engine) { preg_match("/^'.*'$/", $matches[1], $alphanum); if ($alphanum) { $filters = explode('|', trim($matches[2])); return $engine->applyFilters(trim($alphanum[0], '\''), $filters); } $keys = explode('.', trim($matches[1])); $filters = explode('|', trim($matches[2])); $value = $payload; while ($keys) { $key = array_shift($keys); if (!isset($value[$key])) { return ''; } $value = $value[$key]; } return $engine->applyFilters($value, $filters); }, $content); } public function renderFile($filePath, array $payload = []) { return $this->render($this->getFileContent($filePath)); } protected function getFileContent($filePath) { return file_get_contents($filePath); } protected function applyFilters($value, array $filters) { $filters = array_filter($filters); if (!$filters) { return $value; } foreach ($filters as $filter) { $filter = trim($filter); $value = $filter($value); } return $value; } }
flagshipcompany/flagship-for-woocommerce
src/Injection/Pico/Engine.php
PHP
mit
1,971
ng-countUp.js ========== ng-countUp.js is a AngularJS directive which wraps [countUp.js](https://github.com/inorganik/countUp.js) In action: [http://anderskristo.me/ng-countUp.js](http://anderskristo.me/ng-countUp.js) ### Install: ``` bower install ng-countUp.js --save ``` Add `ngCountUp` to angular module ex. ```js angular.module('App', ['ngCountUp']) ``` ### Usage: ``` <ng-count-up from="0" to="2500" decimals="1" duration="2" delay="500" options="options"></ng-count-up> ``` Params: - `from` = the value you want to begin at - `to` = the value you want to arrive at - `decimals` = number of decimals - `duration` = duration in seconds - `delay` = delay until countUp fires off - in milliseconds - `options` = object that determines number formatting and toggles easing - see below Options: ```js $scope.options = {   useEasing : true,   useGrouping : true,   separator : ',',   decimal : '.',   prefix : '',   suffix : '' }; ```
anderskristo/ng-countUp.js
README.md
Markdown
mit
968
############################################################################# # Makefile for building: myHTTP # Generated by qmake (3.0) (Qt 5.4.0) # Project: ..\myHTTP\myHTTP.pro # Template: app # Command: C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ..\myHTTP\myHTTP.pro ############################################################################# MAKEFILE = Makefile first: debug install: debug-install uninstall: debug-uninstall QMAKE = C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\qmake.exe DEL_FILE = del CHK_DIR_EXISTS= if not exist MKDIR = mkdir COPY = copy /y COPY_FILE = $(COPY) COPY_DIR = xcopy /s /q /y /i INSTALL_FILE = $(COPY_FILE) INSTALL_PROGRAM = $(COPY_FILE) INSTALL_DIR = $(COPY_DIR) DEL_FILE = del SYMLINK = copy /y DEL_DIR = rmdir MOVE = move SUBTARGETS = \ debug \ release debug: FORCE $(MAKE) -f $(MAKEFILE).Debug debug-make_first: FORCE $(MAKE) -f $(MAKEFILE).Debug debug-all: FORCE $(MAKE) -f $(MAKEFILE).Debug all debug-clean: FORCE $(MAKE) -f $(MAKEFILE).Debug clean debug-distclean: FORCE $(MAKE) -f $(MAKEFILE).Debug distclean debug-install: FORCE $(MAKE) -f $(MAKEFILE).Debug install debug-uninstall: FORCE $(MAKE) -f $(MAKEFILE).Debug uninstall release: FORCE $(MAKE) -f $(MAKEFILE).Release release-make_first: FORCE $(MAKE) -f $(MAKEFILE).Release release-all: FORCE $(MAKE) -f $(MAKEFILE).Release all release-clean: FORCE $(MAKE) -f $(MAKEFILE).Release clean release-distclean: FORCE $(MAKE) -f $(MAKEFILE).Release distclean release-install: FORCE $(MAKE) -f $(MAKEFILE).Release install release-uninstall: FORCE $(MAKE) -f $(MAKEFILE).Release uninstall Makefile: ../myHTTP/myHTTP.pro C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/win32-g++/qmake.conf C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/spec_pre.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/qdevice.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/device_config.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/common/shell-win32.conf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/qconfig.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_axbase.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_axbase_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_axcontainer.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_axcontainer_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_axserver.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_axserver_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_bluetooth.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_bluetooth_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_bootstrap_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_clucene_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_concurrent.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_concurrent_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_core.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_core_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_declarative.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_declarative_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_designer.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_designer_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_designercomponents_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_enginio.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_enginio_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_gui.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_gui_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_help.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_help_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_location.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_location_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_multimedia.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_multimedia_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_multimediawidgets.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_multimediawidgets_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_network.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_network_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_nfc.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_nfc_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_opengl.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_opengl_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_openglextensions.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_openglextensions_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_platformsupport_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_positioning.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_positioning_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_printsupport.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_printsupport_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_qml.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_qml_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_qmldevtools_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_qmltest.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_qmltest_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_quick.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_quick_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_quickparticles_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_quickwidgets.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_quickwidgets_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_script.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_script_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_scripttools.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_scripttools_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_sensors.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_sensors_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_serialport.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_serialport_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_sql.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_sql_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_svg.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_svg_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_testlib.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_testlib_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_uitools.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_uitools_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webchannel.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webchannel_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webkit.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webkit_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webkitwidgets.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webkitwidgets_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_websockets.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_websockets_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webview.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_webview_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_widgets.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_widgets_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_winextras.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_winextras_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_xml.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_xml_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_xmlpatterns.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/modules/qt_lib_xmlpatterns_private.pri \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/qt_functions.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/qt_config.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/win32/qt_config.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/win32-g++/qmake.conf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/spec_post.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/exclusive_builds.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/default_pre.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/win32/default_pre.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/resolve_config.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/exclusive_builds_post.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/default_post.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/win32/rtti.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/precompile_header.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/warn_on.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/qt.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/resources.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/moc.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/win32/opengl.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/uic.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/win32/windows.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/testcase_targets.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/exceptions.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/yacc.prf \ C:/Qt/Qt5.4.0/5.4/mingw491_32/mkspecs/features/lex.prf \ ../myHTTP/myHTTP.pro \ C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/qtmaind.prl \ C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Cored.prl \ C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Widgets.prl \ C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Gui.prl \ C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Network.prl \ C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Core.prl $(QMAKE) -spec win32-g++ CONFIG+=debug -o Makefile ..\myHTTP\myHTTP.pro C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\spec_pre.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\qdevice.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\device_config.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\common\shell-win32.conf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\qconfig.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_axbase.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_axbase_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_axcontainer.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_axcontainer_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_axserver.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_axserver_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_bluetooth.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_bluetooth_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_bootstrap_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_clucene_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_concurrent.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_concurrent_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_core.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_core_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_declarative.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_declarative_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_designer.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_designer_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_designercomponents_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_enginio.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_enginio_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_gui.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_gui_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_help.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_help_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_location.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_location_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_multimedia.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_multimedia_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_multimediawidgets.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_multimediawidgets_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_network.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_network_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_nfc.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_nfc_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_opengl.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_opengl_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_openglextensions.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_openglextensions_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_platformsupport_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_positioning.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_positioning_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_printsupport.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_printsupport_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_qml.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_qml_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_qmldevtools_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_qmltest.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_qmltest_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_qtmultimediaquicktools_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_quick.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_quick_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_quickparticles_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_quickwidgets.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_quickwidgets_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_script.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_script_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_scripttools.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_scripttools_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_sensors.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_sensors_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_serialport.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_serialport_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_sql.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_sql_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_svg.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_svg_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_testlib.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_testlib_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_uitools.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_uitools_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webchannel.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webchannel_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webkit.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webkit_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webkitwidgets.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webkitwidgets_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_websockets.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_websockets_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webview.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_webview_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_widgets.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_widgets_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_winextras.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_winextras_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_xml.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_xml_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_xmlpatterns.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\modules\qt_lib_xmlpatterns_private.pri: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\qt_functions.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\qt_config.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\win32\qt_config.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\win32-g++\qmake.conf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\spec_post.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\exclusive_builds.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\default_pre.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\win32\default_pre.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\resolve_config.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\exclusive_builds_post.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\default_post.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\win32\rtti.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\precompile_header.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\warn_on.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\qt.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\resources.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\moc.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\win32\opengl.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\uic.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\win32\windows.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\testcase_targets.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\exceptions.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\yacc.prf: C:\Qt\Qt5.4.0\5.4\mingw491_32\mkspecs\features\lex.prf: ..\myHTTP\myHTTP.pro: C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/qtmaind.prl: C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Cored.prl: C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Widgets.prl: C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Gui.prl: C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Network.prl: C:/Qt/Qt5.4.0/5.4/mingw491_32/lib/Qt5Core.prl: qmake: FORCE @$(QMAKE) -spec win32-g++ CONFIG+=debug -o Makefile ..\myHTTP\myHTTP.pro qmake_all: FORCE make_first: debug-make_first release-make_first FORCE all: debug-all release-all FORCE clean: debug-clean release-clean FORCE distclean: debug-distclean release-distclean FORCE -$(DEL_FILE) Makefile debug-mocclean: $(MAKE) -f $(MAKEFILE).Debug mocclean release-mocclean: $(MAKE) -f $(MAKEFILE).Release mocclean mocclean: debug-mocclean release-mocclean debug-mocables: $(MAKE) -f $(MAKEFILE).Debug mocables release-mocables: $(MAKE) -f $(MAKEFILE).Release mocables mocables: debug-mocables release-mocables check: first FORCE: $(MAKEFILE).Debug: Makefile $(MAKEFILE).Release: Makefile
captainwong/Qt5-src
CH10/CH1006/build-myHTTP-Desktop_Qt_5_4_0_MinGW_32bit-Debug/Makefile
Makefile
mit
19,979
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./df753416fe1ee9afaddeeaf2cb6b90786ac5ae51c9e9fa10205277e319efb594.html">Teleport</a> <hr> <a href="./../../about.md">About</a> (Spoilers! ) <script src="./../../assets/md5.js"></script> <script> window.currentLevel = 7; </script> <script src="./../../assets/script.js"></script> </body> </html>
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/e83720094f70ad88d3b4d97723b77bbbf4bd1ab6ee77fc8ca45ec4627ca8ba5a.html
HTML
mit
550
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Mysql::Mgmt::V2017_12_01 module Models # # The properties used to create a new server. # class ServerPropertiesForCreate include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Default"] = "ServerPropertiesForDefaultCreate" @@discriminatorMap["PointInTimeRestore"] = "ServerPropertiesForRestore" @@discriminatorMap["GeoRestore"] = "ServerPropertiesForGeoRestore" @@discriminatorMap["Replica"] = "ServerPropertiesForReplica" def initialize @createMode = "ServerPropertiesForCreate" end attr_accessor :createMode # @return [ServerVersion] Server version. Possible values include: '5.6', # '5.7' attr_accessor :version # @return [SslEnforcementEnum] Enable ssl enforcement or not when connect # to server. Possible values include: 'Enabled', 'Disabled' attr_accessor :ssl_enforcement # @return [StorageProfile] Storage profile of a server. attr_accessor :storage_profile # # Mapper for ServerPropertiesForCreate class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServerPropertiesForCreate', type: { name: 'Composite', polymorphic_discriminator: 'createMode', uber_parent: 'ServerPropertiesForCreate', class_name: 'ServerPropertiesForCreate', model_properties: { version: { client_side_validation: true, required: false, serialized_name: 'version', type: { name: 'String' } }, ssl_enforcement: { client_side_validation: true, required: false, serialized_name: 'sslEnforcement', type: { name: 'Enum', module: 'SslEnforcementEnum' } }, storage_profile: { client_side_validation: true, required: false, serialized_name: 'storageProfile', type: { name: 'Composite', class_name: 'StorageProfile' } } } } } end end end end
Azure/azure-sdk-for-ruby
management/azure_mgmt_mysql/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_create.rb
Ruby
mit
2,647
import * as HTTPStatus from 'http-status-codes'; import * as express from 'express'; import Logger from './Logger'; export default class ErrorHandler { private logger: Logger; constructor() { this.logger = new Logger('ErrorHandler'); } handleError(err: Error, _, res: express.Response, next: Function): express.Response { if (!err) { return next(); } this.logger.error('handleError', err.message); return res.status(HTTPStatus.INTERNAL_SERVER_ERROR).json({ message: process.env.NODE_ENV === 'development' ? err.message : 'Internal error', }); } }
simon-tannai/nodejs-typescript-boilerplate
src/utils/ErrorHandler.ts
TypeScript
mit
599
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Time traits requirements</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../boost_asio.html" title="Boost.Asio"> <link rel="up" href="../reference.html" title="Reference"> <link rel="prev" href="SyncWriteStream.html" title="Buffer-oriented synchronous write stream requirements"> <link rel="next" href="WaitHandler.html" title="Wait handler requirements"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="SyncWriteStream.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="WaitHandler.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="boost_asio.reference.TimeTraits"></a><a class="link" href="TimeTraits.html" title="Time traits requirements">Time traits requirements</a> </h3></div></div></div> <p> In the table below, <code class="computeroutput">X</code> denotes a time traits class for time type <code class="computeroutput">Time</code>, <code class="computeroutput">t</code>, <code class="computeroutput">t1</code>, and <code class="computeroutput">t2</code> denote values of type <code class="computeroutput">Time</code>, and <code class="computeroutput">d</code> denotes a value of type <code class="computeroutput">X::duration_type</code>. </p> <div class="table"> <a name="boost_asio.reference.TimeTraits.t0"></a><p class="title"><b>Table 34. TimeTraits requirements</b></p> <div class="table-contents"><table class="table" summary="TimeTraits requirements"> <colgroup> <col> <col> <col> </colgroup> <thead><tr> <th> <p> expression </p> </th> <th> <p> return type </p> </th> <th> <p> assertion/note<br> pre/post-condition </p> </th> </tr></thead> <tbody> <tr> <td> <p> <code class="computeroutput">X::time_type</code> </p> </td> <td> <p> <code class="computeroutput">Time</code> </p> </td> <td> <p> Represents an absolute time. Must support default construction, and meet the requirements for <code class="computeroutput">CopyConstructible</code> and <code class="computeroutput">Assignable</code>. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput">X::duration_type</code> </p> </td> <td> </td> <td> <p> Represents the difference between two absolute times. Must support default construction, and meet the requirements for <code class="computeroutput">CopyConstructible</code> and <code class="computeroutput">Assignable</code>. A duration can be positive, negative, or zero. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput">X::now();</code> </p> </td> <td> <p> <code class="computeroutput">time_type</code> </p> </td> <td> <p> Returns the current time. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput">X::add(t, d);</code> </p> </td> <td> <p> <code class="computeroutput">time_type</code> </p> </td> <td> <p> Returns a new absolute time resulting from adding the duration <code class="computeroutput">d</code> to the absolute time <code class="computeroutput">t</code>. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput">X::subtract(t1, t2);</code> </p> </td> <td> <p> <code class="computeroutput">duration_type</code> </p> </td> <td> <p> Returns the duration resulting from subtracting <code class="computeroutput">t2</code> from <code class="computeroutput">t1</code>. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput">X::less_than(t1, t2);</code> </p> </td> <td> <p> <code class="computeroutput">bool</code> </p> </td> <td> <p> Returns whether <code class="computeroutput">t1</code> is to be treated as less than <code class="computeroutput">t2</code>. </p> </td> </tr> <tr> <td> <p> <code class="computeroutput">X::to_posix_duration(d);</code> </p> </td> <td> <p> <code class="computeroutput">date_time::time_duration_type</code> </p> </td> <td> <p> Returns the <code class="computeroutput">date_time::time_duration_type</code> value that most closely represents the duration <code class="computeroutput">d</code>. </p> </td> </tr> </tbody> </table></div> </div> <br class="table-break"> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright © 2003-2021 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="SyncWriteStream.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="WaitHandler.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
davehorton/drachtio-server
deps/boost_1_77_0/doc/html/boost_asio/reference/TimeTraits.html
HTML
mit
7,716
// Copyright (c) 2010 Marshall A. Greenblatt. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the name Chromium Embedded // Framework 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. #ifndef CEF_INCLUDE_INTERNAL_CEF_TYPES_H_ #define CEF_INCLUDE_INTERNAL_CEF_TYPES_H_ #pragma once #include "include/internal/cef_build.h" #include "include/internal/cef_string.h" #include "include/internal/cef_string_list.h" #include "include/internal/cef_time.h" // Bring in platform-specific definitions. #if defined(OS_WIN) #include "include/internal/cef_types_win.h" #elif defined(OS_MACOSX) #include "include/internal/cef_types_mac.h" #elif defined(OS_LINUX) #include "include/internal/cef_types_linux.h" #endif #include <stddef.h> // For size_t // The NSPR system headers define 64-bit as |long| when possible, except on // Mac OS X. In order to not have typedef mismatches, we do the same on LP64. // // On Mac OS X, |long long| is used for 64-bit types for compatibility with // <inttypes.h> format macros even in the LP64 model. #if defined(__LP64__) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) typedef long int64; // NOLINT(runtime/int) typedef unsigned long uint64; // NOLINT(runtime/int) #else typedef long long int64; // NOLINT(runtime/int) typedef unsigned long long uint64; // NOLINT(runtime/int) #endif // TODO: Remove these type guards. These are to avoid conflicts with // obsolete/protypes.h in the Gecko SDK. #ifndef _INT32 #define _INT32 typedef int int32; #endif // TODO: Remove these type guards. These are to avoid conflicts with // obsolete/protypes.h in the Gecko SDK. #ifndef _UINT32 #define _UINT32 typedef unsigned int uint32; #endif // UTF-16 character type #ifndef char16 #if defined(WIN32) typedef wchar_t char16; #else typedef unsigned short char16; #endif #endif #ifdef __cplusplus extern "C" { #endif /// // Log severity levels. /// enum cef_log_severity_t { LOGSEVERITY_VERBOSE = -1, LOGSEVERITY_INFO, LOGSEVERITY_WARNING, LOGSEVERITY_ERROR, LOGSEVERITY_ERROR_REPORT, // Disables logging completely. LOGSEVERITY_DISABLE = 99 }; /// // Initialization settings. Specify NULL or 0 to get the recommended default // values. /// typedef struct _cef_settings_t { /// // Size of this structure. /// size_t size; /// // Set to true (1) to use a single process for the browser and renderer. This // run mode is not officially supported by Chromium and is less stable than // the multi-process default. /// bool single_process; /// // The path to a separate executable that will be launched for sub-processes. // By default the browser process executable is used. See the comments on // CefExecuteProcess() for details. /// cef_string_t browser_subprocess_path; /// // Set to true (1) to have the browser process message loop run in a separate // thread. If false (0) than the CefDoMessageLoopWork() function must be // called from your application message loop. /// bool multi_threaded_message_loop; /// // Set to true (1) to disable configuration of browser process features using // standard CEF and Chromium command-line arguments. Configuration can still // be specified using CEF data structures or via the // CefApp::OnBeforeCommandLineProcessing() method. /// bool command_line_args_disabled; /// // The location where cache data will be stored on disk. If empty an in-memory // cache will be used. HTML5 databases such as localStorage will only persist // across sessions if a cache path is specified. /// cef_string_t cache_path; /// // Value that will be returned as the User-Agent HTTP header. If empty the // default User-Agent string will be used. /// cef_string_t user_agent; /// // Value that will be inserted as the product portion of the default // User-Agent string. If empty the Chromium product version will be used. If // |userAgent| is specified this value will be ignored. /// cef_string_t product_version; /// // The locale string that will be passed to WebKit. If empty the default // locale of "en-US" will be used. This value is ignored on Linux where locale // is determined using environment variable parsing with the precedence order: // LANGUAGE, LC_ALL, LC_MESSAGES and LANG. /// cef_string_t locale; /// // The directory and file name to use for the debug log. If empty, the // default name of "debug.log" will be used and the file will be written // to the application directory. /// cef_string_t log_file; /// // The log severity. Only messages of this severity level or higher will be // logged. /// cef_log_severity_t log_severity; /// // Custom flags that will be used when initializing the V8 JavaScript engine. // The consequences of using custom flags may not be well tested. /// cef_string_t javascript_flags; /// // Set to true (1) to use the system proxy resolver on Windows when // "Automatically detect settings" is checked. This setting is disabled // by default for performance reasons. /// bool auto_detect_proxy_settings_enabled; /// // The fully qualified path for the cef.pak file. If this value is empty // the cef.pak file must be located in the module directory. This value is // ignored on Mac OS X where pack files are always loaded from the app bundle // resource directory. /// cef_string_t pack_file_path; /// // The fully qualified path for the locales directory. If this value is empty // the locales directory must be located in the module directory. This value // is ignored on Mac OS X where pack files are always loaded from the app // bundle resource directory. /// cef_string_t locales_dir_path; /// // Set to true (1) to disable loading of pack files for resources and locales. // A resource bundle handler must be provided for the browser and render // processes via CefApp::GetResourceBundleHandler() if loading of pack files // is disabled. /// bool pack_loading_disabled; /// // Set to a value between 1024 and 65535 to enable remote debugging on the // specified port. For example, if 8080 is specified the remote debugging URL // will be http://localhost:8080. CEF can be remotely debugged from any CEF or // Chrome browser window. /// int remote_debugging_port; } cef_settings_t; /// // Browser initialization settings. Specify NULL or 0 to get the recommended // default values. The consequences of using custom values may not be well // tested. /// typedef struct _cef_browser_settings_t { /// // Size of this structure. /// size_t size; // The below values map to WebPreferences settings. /// // Font settings. /// cef_string_t standard_font_family; cef_string_t fixed_font_family; cef_string_t serif_font_family; cef_string_t sans_serif_font_family; cef_string_t cursive_font_family; cef_string_t fantasy_font_family; int default_font_size; int default_fixed_font_size; int minimum_font_size; int minimum_logical_font_size; /// // Set to true (1) to disable loading of fonts from remote sources. /// bool remote_fonts_disabled; /// // Default encoding for Web content. If empty "ISO-8859-1" will be used. /// cef_string_t default_encoding; /// // Set to true (1) to attempt automatic detection of content encoding. /// bool encoding_detector_enabled; /// // Set to true (1) to disable JavaScript. /// bool javascript_disabled; /// // Set to true (1) to disallow JavaScript from opening windows. /// bool javascript_open_windows_disallowed; /// // Set to true (1) to disallow JavaScript from closing windows. /// bool javascript_close_windows_disallowed; /// // Set to true (1) to disallow JavaScript from accessing the clipboard. /// bool javascript_access_clipboard_disallowed; /// // Set to true (1) to disable DOM pasting in the editor. DOM pasting also // depends on |javascript_cannot_access_clipboard| being false (0). /// bool dom_paste_disabled; /// // Set to true (1) to enable drawing of the caret position. /// bool caret_browsing_enabled; /// // Set to true (1) to disable Java. /// bool java_disabled; /// // Set to true (1) to disable plugins. /// bool plugins_disabled; /// // Set to true (1) to allow access to all URLs from file URLs. /// bool universal_access_from_file_urls_allowed; /// // Set to true (1) to allow access to file URLs from other file URLs. /// bool file_access_from_file_urls_allowed; /// // Set to true (1) to allow risky security behavior such as cross-site // scripting (XSS). Use with extreme care. /// bool web_security_disabled; /// // Set to true (1) to enable console warnings about XSS attempts. /// bool xss_auditor_enabled; /// // Set to true (1) to suppress the network load of image URLs. A cached // image will still be rendered if requested. /// bool image_load_disabled; /// // Set to true (1) to shrink standalone images to fit the page. /// bool shrink_standalone_images_to_fit; /// // Set to true (1) to disable browser backwards compatibility features. /// bool site_specific_quirks_disabled; /// // Set to true (1) to disable resize of text areas. /// bool text_area_resize_disabled; /// // Set to true (1) to disable use of the page cache. /// bool page_cache_disabled; /// // Set to true (1) to not have the tab key advance focus to links. /// bool tab_to_links_disabled; /// // Set to true (1) to disable hyperlink pings (<a ping> and window.sendPing). /// bool hyperlink_auditing_disabled; /// // Set to true (1) to enable the user style sheet for all pages. /// bool user_style_sheet_enabled; /// // Location of the user style sheet. This must be a data URL of the form // "data:text/css;charset=utf-8;base64,csscontent" where "csscontent" is the // base64 encoded contents of the CSS file. /// cef_string_t user_style_sheet_location; /// // Set to true (1) to disable style sheets. /// bool author_and_user_styles_disabled; /// // Set to true (1) to disable local storage. /// bool local_storage_disabled; /// // Set to true (1) to disable databases. /// bool databases_disabled; /// // Set to true (1) to disable application cache. /// bool application_cache_disabled; /// // Set to true (1) to disable WebGL. /// bool webgl_disabled; /// // Set to true (1) to disable accelerated compositing. /// bool accelerated_compositing_disabled; /// // Set to true (1) to disable accelerated layers. This affects features like // 3D CSS transforms. /// bool accelerated_layers_disabled; /// // Set to true (1) to disable accelerated video. /// bool accelerated_video_disabled; /// // Set to true (1) to disable accelerated 2d canvas. /// bool accelerated_2d_canvas_disabled; /// // Set to true (1) to enable accelerated painting. /// bool accelerated_painting_enabled; /// // Set to true (1) to enable accelerated filters. /// bool accelerated_filters_enabled; /// // Set to true (1) to disable accelerated plugins. /// bool accelerated_plugins_disabled; /// // Set to true (1) to disable developer tools (WebKit inspector). /// bool developer_tools_disabled; /// // Set to true (1) to enable fullscreen mode. /// bool fullscreen_enabled; } cef_browser_settings_t; /// // URL component parts. /// typedef struct _cef_urlparts_t { /// // The complete URL specification. /// cef_string_t spec; /// // Scheme component not including the colon (e.g., "http"). /// cef_string_t scheme; /// // User name component. /// cef_string_t username; /// // Password component. /// cef_string_t password; /// // Host component. This may be a hostname, an IPv4 address or an IPv6 literal // surrounded by square brackets (e.g., "[2001:db8::1]"). /// cef_string_t host; /// // Port number component. /// cef_string_t port; /// // Path component including the first slash following the host. /// cef_string_t path; /// // Query string component (i.e., everything following the '?'). /// cef_string_t query; } cef_urlparts_t; /// // Cookie information. /// typedef struct _cef_cookie_t { /// // The cookie name. /// cef_string_t name; /// // The cookie value. /// cef_string_t value; /// // If |domain| is empty a host cookie will be created instead of a domain // cookie. Domain cookies are stored with a leading "." and are visible to // sub-domains whereas host cookies are not. /// cef_string_t domain; /// // If |path| is non-empty only URLs at or below the path will get the cookie // value. /// cef_string_t path; /// // If |secure| is true the cookie will only be sent for HTTPS requests. /// bool secure; /// // If |httponly| is true the cookie will only be sent for HTTP requests. /// bool httponly; /// // The cookie creation date. This is automatically populated by the system on // cookie creation. /// cef_time_t creation; /// // The cookie last access date. This is automatically populated by the system // on access. /// cef_time_t last_access; /// // The cookie expiration date is only valid if |has_expires| is true. /// bool has_expires; cef_time_t expires; } cef_cookie_t; /// // Storage types. /// enum cef_storage_type_t { ST_LOCALSTORAGE = 0, ST_SESSIONSTORAGE, }; /// // Supported error code values. See net\base\net_error_list.h for complete // descriptions of the error codes. /// enum cef_errorcode_t { ERR_NONE = 0, ERR_FAILED = -2, ERR_ABORTED = -3, ERR_INVALID_ARGUMENT = -4, ERR_INVALID_HANDLE = -5, ERR_FILE_NOT_FOUND = -6, ERR_TIMED_OUT = -7, ERR_FILE_TOO_BIG = -8, ERR_UNEXPECTED = -9, ERR_ACCESS_DENIED = -10, ERR_NOT_IMPLEMENTED = -11, ERR_CONNECTION_CLOSED = -100, ERR_CONNECTION_RESET = -101, ERR_CONNECTION_REFUSED = -102, ERR_CONNECTION_ABORTED = -103, ERR_CONNECTION_FAILED = -104, ERR_NAME_NOT_RESOLVED = -105, ERR_INTERNET_DISCONNECTED = -106, ERR_SSL_PROTOCOL_ERROR = -107, ERR_ADDRESS_INVALID = -108, ERR_ADDRESS_UNREACHABLE = -109, ERR_SSL_CLIENT_AUTH_CERT_NEEDED = -110, ERR_TUNNEL_CONNECTION_FAILED = -111, ERR_NO_SSL_VERSIONS_ENABLED = -112, ERR_SSL_VERSION_OR_CIPHER_MISMATCH = -113, ERR_SSL_RENEGOTIATION_REQUESTED = -114, ERR_CERT_COMMON_NAME_INVALID = -200, ERR_CERT_DATE_INVALID = -201, ERR_CERT_AUTHORITY_INVALID = -202, ERR_CERT_CONTAINS_ERRORS = -203, ERR_CERT_NO_REVOCATION_MECHANISM = -204, ERR_CERT_UNABLE_TO_CHECK_REVOCATION = -205, ERR_CERT_REVOKED = -206, ERR_CERT_INVALID = -207, ERR_CERT_END = -208, ERR_INVALID_URL = -300, ERR_DISALLOWED_URL_SCHEME = -301, ERR_UNKNOWN_URL_SCHEME = -302, ERR_TOO_MANY_REDIRECTS = -310, ERR_UNSAFE_REDIRECT = -311, ERR_UNSAFE_PORT = -312, ERR_INVALID_RESPONSE = -320, ERR_INVALID_CHUNKED_ENCODING = -321, ERR_METHOD_NOT_SUPPORTED = -322, ERR_UNEXPECTED_PROXY_AUTH = -323, ERR_EMPTY_RESPONSE = -324, ERR_RESPONSE_HEADERS_TOO_BIG = -325, ERR_CACHE_MISS = -400, ERR_INSECURE_RESPONSE = -501, }; /// // V8 access control values. /// enum cef_v8_accesscontrol_t { V8_ACCESS_CONTROL_DEFAULT = 0, V8_ACCESS_CONTROL_ALL_CAN_READ = 1, V8_ACCESS_CONTROL_ALL_CAN_WRITE = 1 << 1, V8_ACCESS_CONTROL_PROHIBITS_OVERWRITING = 1 << 2 }; /// // V8 property attribute values. /// enum cef_v8_propertyattribute_t { V8_PROPERTY_ATTRIBUTE_NONE = 0, // Writeable, Enumerable, // Configurable V8_PROPERTY_ATTRIBUTE_READONLY = 1 << 0, // Not writeable V8_PROPERTY_ATTRIBUTE_DONTENUM = 1 << 1, // Not enumerable V8_PROPERTY_ATTRIBUTE_DONTDELETE = 1 << 2 // Not configurable }; /// // Post data elements may represent either bytes or files. /// enum cef_postdataelement_type_t { PDE_TYPE_EMPTY = 0, PDE_TYPE_BYTES, PDE_TYPE_FILE, }; /// // Flags used to customize the behavior of CefURLRequest. /// enum cef_urlrequest_flags_t { /// // Default behavior. /// UR_FLAG_NONE = 0, /// // If set the cache will be skipped when handling the request. /// UR_FLAG_SKIP_CACHE = 1 << 0, /// // If set user name, password, and cookies may be sent with the request. /// UR_FLAG_ALLOW_CACHED_CREDENTIALS = 1 << 1, /// // If set cookies may be sent with the request and saved from the response. // UR_FLAG_ALLOW_CACHED_CREDENTIALS must also be set. /// UR_FLAG_ALLOW_COOKIES = 1 << 2, /// // If set upload progress events will be generated when a request has a body. /// UR_FLAG_REPORT_UPLOAD_PROGRESS = 1 << 3, /// // If set load timing info will be collected for the request. /// UR_FLAG_REPORT_LOAD_TIMING = 1 << 4, /// // If set the headers sent and received for the request will be recorded. /// UR_FLAG_REPORT_RAW_HEADERS = 1 << 5, /// // If set the CefURLRequestClient::OnDownloadData method will not be called. /// UR_FLAG_NO_DOWNLOAD_DATA = 1 << 6, /// // If set 5XX redirect errors will be propagated to the observer instead of // automatically re-tried. This currently only applies for requests // originated in the browser process. /// UR_FLAG_NO_RETRY_ON_5XX = 1 << 7, }; /// // Flags that represent CefURLRequest status. /// enum cef_urlrequest_status_t { /// // Unknown status. /// UR_UNKNOWN = 0, /// // Request succeeded. /// UR_SUCCESS, /// // An IO request is pending, and the caller will be informed when it is // completed. /// UR_IO_PENDING, /// // Request was successful but was handled by an external program, so there // is no response data. This usually means the current page should not be // navigated, but no error should be displayed. /// UR_HANDLED_EXTERNALLY, /// // Request was canceled programatically. /// UR_CANCELED, /// // Request failed for some reason. /// UR_FAILED, }; /// // Structure representing a rectangle. /// typedef struct _cef_rect_t { int x; int y; int width; int height; } cef_rect_t; /// // Existing process IDs. /// enum cef_process_id_t { /// // Browser process. /// PID_BROWSER, /// // Renderer process. /// PID_RENDERER, }; /// // Existing thread IDs. /// enum cef_thread_id_t { // BROWSER PROCESS THREADS -- Only available in the browser process. /// // The main thread in the browser. This will be the same as the main // application thread if CefInitialize() is called with a // CefSettings.multi_threaded_message_loop value of false. /// TID_UI, /// // Used to interact with the database. /// TID_DB, /// // Used to interact with the file system. /// TID_FILE, /// // Used for file system operations that block user interactions. // Responsiveness of this thread affects users. /// TID_FILE_USER_BLOCKING, /// // Used to launch and terminate browser processes. /// TID_PROCESS_LAUNCHER, /// // Used to handle slow HTTP cache operations. /// TID_CACHE, /// // Used to process IPC and network messages. /// TID_IO, // RENDER PROCESS THREADS -- Only available in the render process. /// // The main thread in the renderer. Used for all WebKit and V8 interaction. /// TID_RENDERER, }; /// // Supported value types. /// enum cef_value_type_t { VTYPE_INVALID = 0, VTYPE_NULL, VTYPE_BOOL, VTYPE_INT, VTYPE_DOUBLE, VTYPE_STRING, VTYPE_BINARY, VTYPE_DICTIONARY, VTYPE_LIST, }; /// // Supported JavaScript dialog types. /// enum cef_jsdialog_type_t { JSDIALOGTYPE_ALERT = 0, JSDIALOGTYPE_CONFIRM, JSDIALOGTYPE_PROMPT, }; /// // Supported menu IDs. Non-English translations can be provided for the // IDS_MENU_* strings in CefResourceBundleHandler::GetLocalizedString(). /// enum cef_menu_id_t { // Navigation. MENU_ID_BACK = 100, MENU_ID_FORWARD = 101, MENU_ID_RELOAD = 102, MENU_ID_RELOAD_NOCACHE = 103, MENU_ID_STOPLOAD = 104, // Editing. MENU_ID_UNDO = 110, MENU_ID_REDO = 111, MENU_ID_CUT = 112, MENU_ID_COPY = 113, MENU_ID_PASTE = 114, MENU_ID_DELETE = 115, MENU_ID_SELECT_ALL = 116, // Miscellaneous. MENU_ID_FIND = 130, MENU_ID_PRINT = 131, MENU_ID_VIEW_SOURCE = 132, // All user-defined menu IDs should come between MENU_ID_USER_FIRST and // MENU_ID_USER_LAST to avoid overlapping the Chromium and CEF ID ranges // defined in the tools/gritsettings/resource_ids file. MENU_ID_USER_FIRST = 26500, MENU_ID_USER_LAST = 28500, }; /// // Supported event bit flags. /// enum cef_event_flags_t { EVENTFLAG_NONE = 0, EVENTFLAG_CAPS_LOCK_DOWN = 1 << 0, EVENTFLAG_SHIFT_DOWN = 1 << 1, EVENTFLAG_CONTROL_DOWN = 1 << 2, EVENTFLAG_ALT_DOWN = 1 << 3, EVENTFLAG_LEFT_MOUSE_BUTTON = 1 << 4, EVENTFLAG_MIDDLE_MOUSE_BUTTON = 1 << 5, EVENTFLAG_RIGHT_MOUSE_BUTTON = 1 << 6, // Mac OS-X command key. EVENTFLAG_COMMAND_DOWN = 1 << 7, // Windows extended key (see WM_KEYDOWN doc). EVENTFLAG_EXTENDED = 1 << 8, }; /// // Supported menu item types. /// enum cef_menu_item_type_t { MENUITEMTYPE_NONE, MENUITEMTYPE_COMMAND, MENUITEMTYPE_CHECK, MENUITEMTYPE_RADIO, MENUITEMTYPE_SEPARATOR, MENUITEMTYPE_SUBMENU, }; /// // Supported context menu type flags. /// enum cef_context_menu_type_flags_t { /// // No node is selected. /// CM_TYPEFLAG_NONE = 0, /// // The top page is selected. /// CM_TYPEFLAG_PAGE = 1 << 0, /// // A subframe page is selected. /// CM_TYPEFLAG_FRAME = 1 << 1, /// // A link is selected. /// CM_TYPEFLAG_LINK = 1 << 2, /// // A media node is selected. /// CM_TYPEFLAG_MEDIA = 1 << 3, /// // There is a textual or mixed selection that is selected. /// CM_TYPEFLAG_SELECTION = 1 << 4, /// // An editable element is selected. /// CM_TYPEFLAG_EDITABLE = 1 << 5, }; /// // Supported context menu media types. /// enum cef_context_menu_media_type_t { /// // No special node is in context. /// CM_MEDIATYPE_NONE, /// // An image node is selected. /// CM_MEDIATYPE_IMAGE, /// // A video node is selected. /// CM_MEDIATYPE_VIDEO, /// // An audio node is selected. /// CM_MEDIATYPE_AUDIO, /// // A file node is selected. /// CM_MEDIATYPE_FILE, /// // A plugin node is selected. /// CM_MEDIATYPE_PLUGIN, }; /// // Supported context menu media state bit flags. /// enum cef_context_menu_media_state_flags_t { CM_MEDIAFLAG_NONE = 0, CM_MEDIAFLAG_ERROR = 1 << 0, CM_MEDIAFLAG_PAUSED = 1 << 1, CM_MEDIAFLAG_MUTED = 1 << 2, CM_MEDIAFLAG_LOOP = 1 << 3, CM_MEDIAFLAG_CAN_SAVE = 1 << 4, CM_MEDIAFLAG_HAS_AUDIO = 1 << 5, CM_MEDIAFLAG_HAS_VIDEO = 1 << 6, CM_MEDIAFLAG_CONTROL_ROOT_ELEMENT = 1 << 7, CM_MEDIAFLAG_CAN_PRINT = 1 << 8, CM_MEDIAFLAG_CAN_ROTATE = 1 << 9, }; /// // Supported context menu edit state bit flags. /// enum cef_context_menu_edit_state_flags_t { CM_EDITFLAG_NONE = 0, CM_EDITFLAG_CAN_UNDO = 1 << 0, CM_EDITFLAG_CAN_REDO = 1 << 1, CM_EDITFLAG_CAN_CUT = 1 << 2, CM_EDITFLAG_CAN_COPY = 1 << 3, CM_EDITFLAG_CAN_PASTE = 1 << 4, CM_EDITFLAG_CAN_DELETE = 1 << 5, CM_EDITFLAG_CAN_SELECT_ALL = 1 << 6, CM_EDITFLAG_CAN_TRANSLATE = 1 << 7, }; /// // Key event types. /// enum cef_key_event_type_t { KEYEVENT_RAWKEYDOWN = 0, KEYEVENT_KEYDOWN, KEYEVENT_KEYUP, KEYEVENT_CHAR }; /// // Key event modifiers. /// enum cef_key_event_modifiers_t { KEY_SHIFT = 1 << 0, KEY_CTRL = 1 << 1, KEY_ALT = 1 << 2, KEY_META = 1 << 3, KEY_KEYPAD = 1 << 4, // Only used on Mac OS-X }; /// // Structure representing keyboard event information. /// typedef struct _cef_key_event_t { /// // The type of keyboard event. /// cef_key_event_type_t type; /// // Bit flags describing any pressed modifier keys. See // cef_key_event_modifiers_t for values. /// int modifiers; /// // The Windows key code for the key event. This value is used by the DOM // specification. Sometimes it comes directly from the event (i.e. on // Windows) and sometimes it's determined using a mapping function. See // WebCore/platform/chromium/KeyboardCodes.h for the list of values. /// int windows_key_code; /// // The actual key code genenerated by the platform. /// int native_key_code; /// // Indicates whether the event is considered a "system key" event (see // http://msdn.microsoft.com/en-us/library/ms646286(VS.85).aspx for details). // This value will always be false on non-Windows platforms. /// bool is_system_key; /// // The character generated by the keystroke. /// char16 character; /// // Same as |character| but unmodified by any concurrently-held modifiers // (except shift). This is useful for working out shortcut keys. /// char16 unmodified_character; /// // True if the focus is currently on an editable field on the page. This is // useful for determining if standard key events should be intercepted. /// bool focus_on_editable_field; } cef_key_event_t; /// // Focus sources. /// enum cef_focus_source_t { /// // The source is explicit navigation via the API (LoadURL(), etc). /// FOCUS_SOURCE_NAVIGATION = 0, /// // The source is a system-generated focus event. /// FOCUS_SOURCE_SYSTEM, }; /// // Supported XML encoding types. The parser supports ASCII, ISO-8859-1, and // UTF16 (LE and BE) by default. All other types must be translated to UTF8 // before being passed to the parser. If a BOM is detected and the correct // decoder is available then that decoder will be used automatically. /// enum cef_xml_encoding_type_t { XML_ENCODING_NONE = 0, XML_ENCODING_UTF8, XML_ENCODING_UTF16LE, XML_ENCODING_UTF16BE, XML_ENCODING_ASCII, }; /// // XML node types. /// enum cef_xml_node_type_t { XML_NODE_UNSUPPORTED = 0, XML_NODE_PROCESSING_INSTRUCTION, XML_NODE_DOCUMENT_TYPE, XML_NODE_ELEMENT_START, XML_NODE_ELEMENT_END, XML_NODE_ATTRIBUTE, XML_NODE_TEXT, XML_NODE_CDATA, XML_NODE_ENTITY_REFERENCE, XML_NODE_WHITESPACE, XML_NODE_COMMENT, }; /// // Status message types. /// enum cef_handler_statustype_t { STATUSTYPE_TEXT = 0, STATUSTYPE_MOUSEOVER_URL, STATUSTYPE_KEYBOARD_FOCUS_URL, }; /// // Popup window features. /// typedef struct _cef_popup_features_t { int x; bool xSet; int y; bool ySet; int width; bool widthSet; int height; bool heightSet; bool menuBarVisible; bool statusBarVisible; bool toolBarVisible; bool locationBarVisible; bool scrollbarsVisible; bool resizable; bool fullscreen; bool dialog; cef_string_list_t additionalFeatures; } cef_popup_features_t; /// // Proxy types. /// enum cef_proxy_type_t { PROXY_TYPE_DIRECT = 0, PROXY_TYPE_NAMED, PROXY_TYPE_PAC_STRING, }; /// // Proxy information. /// typedef struct _cef_proxy_info_t { enum cef_proxy_type_t proxyType; cef_string_t proxyList; } cef_proxy_info_t; /// // DOM document types. /// enum cef_dom_document_type_t { DOM_DOCUMENT_TYPE_UNKNOWN = 0, DOM_DOCUMENT_TYPE_HTML, DOM_DOCUMENT_TYPE_XHTML, DOM_DOCUMENT_TYPE_PLUGIN, }; /// // DOM event category flags. /// enum cef_dom_event_category_t { DOM_EVENT_CATEGORY_UNKNOWN = 0x0, DOM_EVENT_CATEGORY_UI = 0x1, DOM_EVENT_CATEGORY_MOUSE = 0x2, DOM_EVENT_CATEGORY_MUTATION = 0x4, DOM_EVENT_CATEGORY_KEYBOARD = 0x8, DOM_EVENT_CATEGORY_TEXT = 0x10, DOM_EVENT_CATEGORY_COMPOSITION = 0x20, DOM_EVENT_CATEGORY_DRAG = 0x40, DOM_EVENT_CATEGORY_CLIPBOARD = 0x80, DOM_EVENT_CATEGORY_MESSAGE = 0x100, DOM_EVENT_CATEGORY_WHEEL = 0x200, DOM_EVENT_CATEGORY_BEFORE_TEXT_INSERTED = 0x400, DOM_EVENT_CATEGORY_OVERFLOW = 0x800, DOM_EVENT_CATEGORY_PAGE_TRANSITION = 0x1000, DOM_EVENT_CATEGORY_POPSTATE = 0x2000, DOM_EVENT_CATEGORY_PROGRESS = 0x4000, DOM_EVENT_CATEGORY_XMLHTTPREQUEST_PROGRESS = 0x8000, DOM_EVENT_CATEGORY_WEBKIT_ANIMATION = 0x10000, DOM_EVENT_CATEGORY_WEBKIT_TRANSITION = 0x20000, DOM_EVENT_CATEGORY_BEFORE_LOAD = 0x40000, }; /// // DOM event processing phases. /// enum cef_dom_event_phase_t { DOM_EVENT_PHASE_UNKNOWN = 0, DOM_EVENT_PHASE_CAPTURING, DOM_EVENT_PHASE_AT_TARGET, DOM_EVENT_PHASE_BUBBLING, }; /// // DOM node types. /// enum cef_dom_node_type_t { DOM_NODE_TYPE_UNSUPPORTED = 0, DOM_NODE_TYPE_ELEMENT, DOM_NODE_TYPE_ATTRIBUTE, DOM_NODE_TYPE_TEXT, DOM_NODE_TYPE_CDATA_SECTION, DOM_NODE_TYPE_ENTITY_REFERENCE, DOM_NODE_TYPE_ENTITY, DOM_NODE_TYPE_PROCESSING_INSTRUCTIONS, DOM_NODE_TYPE_COMMENT, DOM_NODE_TYPE_DOCUMENT, DOM_NODE_TYPE_DOCUMENT_TYPE, DOM_NODE_TYPE_DOCUMENT_FRAGMENT, DOM_NODE_TYPE_NOTATION, DOM_NODE_TYPE_XPATH_NAMESPACE, }; #ifdef __cplusplus } #endif #endif // CEF_INCLUDE_INTERNAL_CEF_TYPES_H_
neelance/ffi_gen
test/headers/cef/include/internal/cef_types.h
C
mit
30,940
// Copyright (c) 2013-2020 Rob Norris and Contributors // This software is licensed under the MIT License (MIT). // For more information see LICENSE or https://opensource.org/licenses/MIT package doobie.postgres import cats.effect.IO import cats.implicits.catsSyntaxApplicativeId import doobie.ConnectionIO import doobie.implicits._ import doobie.postgres.implicits._ import doobie.util.transactor.Transactor import munit.CatsEffectSuite import org.postgresql.ds.PGSimpleDataSource import javax.sql.DataSource class Issue1512 extends CatsEffectSuite { val minChunkSize = 200 val datasource: DataSource = { val ds = new PGSimpleDataSource ds.setUser("postgres") ds.setPassword("") ds } val xa: Transactor[IO] = Transactor.fromDataSource[IO](datasource, scala.concurrent.ExecutionContext.global) val setup: IO[Int] = sql""" DROP TABLE IF EXISTS demo; CREATE TABLE demo(id BIGSERIAL PRIMARY KEY NOT NULL, data BIGINT NOT NULL); """.update.run .transact(xa) test("A stream with a Pure effect inserts items properly") { setup.unsafeRunSync() // A pure stream is fine - can copy many items val count = 10000 val stream = fs2.Stream.emits(1 to count) sql"COPY demo(data) FROM STDIN".copyIn(stream, minChunkSize).transact(xa).unsafeRunSync() val queryCount = sql"SELECT count(*) from demo".query[Int].unique.transact(xa).unsafeRunSync() assertEquals(queryCount, count) } test("A stream with a ConnectionIO effect copies <= than minChunkSize items") { setup.unsafeRunSync() // Can copy up to minChunkSize just fine with ConnectionIO val inputs = 1 to minChunkSize val stream = fs2.Stream.emits[ConnectionIO, Int](inputs) .evalMap(i => (i + 2).pure[ConnectionIO]) val copiedRows = sql"COPY demo(data) FROM STDIN".copyIn(stream, minChunkSize).transact(xa).unsafeRunSync() assertEquals(copiedRows, inputs.size.toLong) val queryCount = sql"SELECT count(*) from demo".query[Int].unique.transact(xa).unsafeRunSync() assertEquals(queryCount, minChunkSize) } test("A stream with a ConnectionIO effect copies items with count > minChunkSize") { setup.unsafeRunSync() val inputs = 1 to minChunkSize + 1 val stream = fs2.Stream.emits[ConnectionIO, Int](inputs) .evalMap(i => (i + 2).pure[ConnectionIO]) val copiedRows = sql"COPY demo(data) FROM STDIN".copyIn(stream, minChunkSize).transact(xa).unsafeRunSync() assertEquals(copiedRows, inputs.size.toLong) val queryCount = sql"SELECT count(*) from demo".query[Int].unique.transact(xa).unsafeRunSync() assertEquals(queryCount, minChunkSize + 1) } }
tpolecat/doobie
modules/postgres/src/test/scala/doobie/postgres/Issue1512.scala
Scala
mit
2,698
'use strict'; let mongoose = require('mongoose'), fs = require('fs'); require('../models/project-model'); let Project = mongoose.model('Project'); require('../models/user-model'); let User = mongoose.model('User'); let getCount = function(req, res, next) { Project.count({}, function(err, count) { if (err) { next(err); return; } res.status(200); res.json(count); }); }; let getByArea = function(req, res, next) { let currentArea = req.params.area; if (!currentArea || currentArea === "") { next({ message: "Bad request!", status: 404 }); return; } Project.find({ 'area': currentArea }).sort('-year') .exec(function(err, projects) { if (err) { next(err); return; } res.status(200); res.json(projects); }); }; let getById = function(req, res, next) { let currentId = req.params.id; if (!currentId || currentId === "") { next({ message: "Bad request!", status: 404 }); return; } Project.findOne({ '_id': currentId }, function(err, project) { if (err) { next(err); return; } else if (project === null) { next({ message: "Project not found!", status: 404 }); return; } res.status(200); res.json(project); }); }; let create = function(req, res, next) { var newProject = new Project(req.body); var authKey = req.headers['x-auth-key']; User.findOne({ 'authKey': authKey }, function(err, user) { if (err) { next(err); return; } else if (user === null) { next({ message: "Authentication failed!", status: 401 }); return; } newProject.save(function(err) { if (err) { let error = { message: err.message, status: 400 }; next(err); return; } else { res.status(201); res.json(newProject); } }); }); }; let bulckCreate = function(req, res, next) { let len = req.body.length; for (let i = 0; i < len; i++) { var newProject = new Project(req.body[i]); var fileName = newProject.fileName; var areaName = newProject.area; var filePath = './files/projects/' + areaName + '/' + fileName; var bitmap = fs.readFileSync(filePath); var bufer = new Buffer(bitmap).toString('base64'); newProject.file = bufer; newProject.save(function(err) { if (err) { let error = { message: err.message, status: 400 }; next(err); return; } else { } }); console.log(fileName); }; res.json({}); }; let controller = { getByArea, getById, create, bulckCreate }; module.exports = controller;
veselints/belin
controllers/projects-controller.js
JavaScript
mit
3,316
[Bacon](My-Social-Stuff/Stuff/Name.png) [Stream](http://beam.pro/Bacon_Space) <a href="https://discord.me/Bacon_Space"><img src="https://discordapp.com/api/guilds/95608213499555840/widget.png?style=banner2" alt="Discord server"></a>
TheBaconSpace/My-Social-Stuff
README.md
Markdown
mit
233
import Logger from 'utils/logger'; const logger = new Logger('[push-simple/serviceworker]'); function onPush(event) { logger.log("Received push message", event); let title = (event.data && event.data.text()) || "Yay a message"; let body = "We have received a push message"; let tag = "push-simple-demo-notification-tag"; var icon = '/assets/turtle-logo-120x120.png'; event.waitUntil( self.registration.showNotification(title, { body, icon, tag }) ) } function onPushSubscriptionChange(event) { logger.log("Push subscription change event detected", event); } self.addEventListener("push", onPush); self.addEventListener("pushsubscriptionchange", onPushSubscriptionChange);
rossta/serviceworker-rails-sandbox
app/assets/javascripts/push-simple/serviceworker.js
JavaScript
mit
697
var http = require('../simpleHttp'), config = require('../config'), zmq = require('zmq'), _ = require('lodash'), argv = require('yargs').argv, logic = (argv.logic ? require('./' + argv.logic).logic : require('./sampleLogic').logic), modelRoot = (argv.modelRoot ? argv.modelRoot : '/Store/TestOrg'); //Stuff going out var storeSocket = zmq.socket('push'); var zmqStoreLocation = 'tcp://' + config.realTimeStoreZmqHost + ':' + config.realTimeStoreZmqPort; storeSocket.connect(zmqStoreLocation); console.log('bound to store at ' + zmqStoreLocation); //Stuff coming in var blpSubscriberSocket = zmq.socket('pull'); var zmqBlpLocation = 'tcp://' + config.blpServerZmqHost + ':' + config.blpServerZmqPort; blpSubscriberSocket.bindSync(zmqBlpLocation); console.log('listening for stream updates at ' + zmqBlpLocation); var onNew = function(msg){ var val = JSON.parse(msg); var _publishReceived = (new Date()).getTime(); _.forEach(val,function(evt){ evt._metadata = evt._metadata ? evt._metadata : {}; evt._metadata.perfPublishReceived = _publishReceived; }); var updates = logic(val,modelRoot); if(updates){ _.forEach(updates,function(update){ //tell it where to go... if(update.path.indexOf(modelRoot) < 0){ update.path = modelRoot + update.path; } update.data._metadata = update.data._metadata ? update.data._metadata : {}; update.data._metadata.perfSendToStore = (new Date()).getTime(); storeSocket.send(JSON.stringify(update)); }); } }; //'message' is the zmq event, our preferred semantics would be 'POST' blpSubscriberSocket.on('message', onNew); var client = http.create(config.eventServerHttpHost, config.eventServerHttpPort, 3); client.post('/SubscribeStream',{ streamName: config.testStreamName, protocol: 'zmq', host: config.blpServerZmqHost, port: config.blpServerZmqPort });
JediMindtrick/Hyperloop
App3_BusinessLogicProcessor/serveBLP.js
JavaScript
mit
1,833
// Generated by jsScript 1.10.0 (function() { AutoForm.hooks({ updatePassword: { onSubmit: function(insertDoc, updateDoc, currentDoc) { if (insertDoc["new"] !== insertDoc.confirm) { sAlert.error('Passwords do not match'); return false; } Accounts.changePassword(insertDoc.old, insertDoc["new"], function(e) { $('.btn-primary').attr('disabled', null); if (e) { return sAlert.error(e.message); } else { return sAlert.success('Password Updated'); } }); return false; } } }); Template.account.events({ 'click .js-delete-account': function() { return Meteor.call('deleteAccount', Meteor.userId()); } }); Template.setUserName.helpers({ user: function() { return Meteor.user(); } }); }).call(this);
patrickbolle/meteor-starter-purejs
client/views/account/account.js
JavaScript
mit
879
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WindowsIotLedDriver { // An interface used to get callbacks from the animator or in a chain of animation. internal interface IAnimationTickListner { // This callback will be fired on every animation tick. The time given is the // time since the last animation tick. bool NotifiyAnimationTick(int timeElapsedMs); } }
QuinnDamerell/WindowsIotLedDriver
WindowsIotLedDriver/Interfaces/IAnimationTickListener.cs
C#
mit
487
import sys import time as tmod import warnings import numpy as np import matplotlib.pyplot as plt import seaborn as sns sns.set() import pandas as pd warnings.simplefilter("ignore") sys.path.insert(0, "../FATS/") import FATS iterations = 100000 lc_size = 1000 random = np.random.RandomState(42) results = { "StetsonK": np.empty(iterations), "StetsonJ": np.empty(iterations), "AndersonDarling": np.empty(iterations)} for it in range(iterations): fs = FATS.FeatureSpace(featureList=list(results.keys())) # a simple time array from 0 to 99 with steps of 0.01 time = np.arange(0, 100, 100./lc_size).shape # create 1000 magnitudes with mu 0 and std 1 mags = random.normal(size=lc_size) # create 1000 magnitudes with difference <= 0.1% than mags mags2 = mags * random.uniform(0, 0.01, mags.size) # create two errors for the magnitudes equivalent to the 0.001% # of the magnitudes errors = random.normal(scale=0.00001, size=lc_size) errors2 = random.normal(scale=0.00001, size=lc_size) lc = np.array([ mags, # magnitude time, # time errors, # error mags, # magnitude2 mags, # aligned_magnitude mags, # aligned_magnitude2 time, # aligned_time errors, # aligned_error errors # aligned_error2 ]) fs.calculateFeature(lc) for k, v in fs.result("dict").items(): results[k][it] = v df = pd.DataFrame(results).describe() print df df.to_latex("features_montecarlo.tex", float_format='%.4f')
carpyncho/feets
res/paper/reports/features_montecarlo.py
Python
mit
1,591
UPDATE `cmdcfg` SET `access_req` = '0' WHERE `cmd` = 'whois'; UPDATE `cmdcfg` SET `access_req` = '0' WHERE `cmd` = 'online'; UPDATE `cmdcfg` SET `access_req` = '0' WHERE `cmd` = 'register'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `cmd` = 'invite'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'start'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'stop'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'pause'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'resume'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'lock'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'unlock'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'flatroll'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'rem'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'add'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'kick'; UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and cmd = 'loot'; UPDATE `cmdcfg` SET `status` = 'enabled' WHERE `module` = 'Core' and cmd = 'register'; UPDATE `cmdcfg` SET `status` = 'disabled' WHERE `module` = 'Core' and cmd = 'points'; UPDATE `cmdcfg` SET `status` = 'disabled' WHERE `module` = 'RAID' and cmd = 'points'; UPDATE `cmdcfg` SET `status` = 'disabled' WHERE `module` = 'RAID' and cmd = 'bid'; UPDATE `cmdcfg` SET `status` = 'disabled' WHERE `module` = 'RAID' and cmd = 'reward'; UPDATE `cmdcfg` SET `status` = 'disabled' WHERE `module` = 'RAID' and cmd = 'deduct';
Nepherius/Nephbot
settings/modes/public.sql
SQL
mit
1,665
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("squareSurface")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("squareSurface")] [assembly: AssemblyCopyright("Copyright © 2013")] [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("0a4f4820-8379-482d-949e-6e823a8caa1e")] // 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")]
LazarDL/TelerikHomeworks
C#1/Operators/squareSurface/Properties/AssemblyInfo.cs
C#
mit
1,402
<?php /** * Group * * This class has been auto-generated by the Doctrine ORM Framework * * @package LinkIgniter * @subpackage Models * @author YOUR_NAME_HERE <YOUR@NAME.HERE> * @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $ */ class Group extends Base_Group { }
linkworks/linkigniter
application/models/Group.php
PHP
mit
302
local xxx = require "m1" xxx.run()
darkdarkdragon/ripplenotifier
src/src/src/l.lua
Lua
mit
41
#!/usr/bin/ruby ## ##Author: Shashank Mathur ## # require "rubygems" require "json" require "net/http" require "uri" require 'open-uri' require 'nokogiri' require 'thread' require 'monitor' require 'io/console' require 'openssl' #Function to Analyze URL def analyze(url) #Preparing to call RESTapi and json results base_uri = "https://api.ssllabs.com/api/v2" fanalyzeuri = URI.parse("#{base_uri}/analyze?host=#{url}&startNew=on") analyzeuri = URI.parse("#{base_uri}/analyze?host=#{url}") fhttp = Net::HTTP.new(fanalyzeuri.host,fanalyzeuri.port) http = Net::HTTP.new(analyzeuri.host,analyzeuri.port) #Using SSL fhttp.use_ssl = true fhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE #Receiving JSON frequest = Net::HTTP::Get.new(fanalyzeuri.request_uri) fresponse = fhttp.request(frequest) request = Net::HTTP::Get.new(analyzeuri.request_uri) response = fhttp.request(request) #Parsing JSON result = JSON.parse(fresponse.body) #Waiting for endpoints to generate until result.has_key?("endpoints") response = fhttp.request(request) result = JSON.parse(response.body) sleep(2) end #Waiting for ipaddresses to populate result["endpoints"].each_index do |i| until result["endpoints"][i].has_key?("ipAddress") response = fhttp.request(request) result = JSON.parse(response.body) sleep(5) end #Check for status if ready until result["endpoints"][i]["statusMessage"] == "Ready" response = fhttp.request(request) result = JSON.parse(response.body) sleep(30) end end return result end #Function to get warnings def getwarnings(hostn, ipadr) #Getting Warning lines from actual SSLlabs web page since this info is not available through api yet doc = Nokogiri::HTML(open("https://www.ssllabs.com/ssltest/analyze.html?d=#{hostn}&s=#{ipadr}&hideResults=on")) #Printing warnings messages #doc.xpath("//div[contains(@class,'warningBox')]").each { |node| puts node.text} doc.xpath("//div[contains(@class,'warningBox')]").each { |node| puts node} end # Function to fetch details for hosts from ssllabs def fetchdtls(hname) joup=analyze(hname) puts "<table border=\"1\" style=\"border-spacing: 0px;float: left;margin: 8px; table-layout:fixed;font-family: monospace;\">" puts "<td colspan=\"3\" style=\"text-align: center; font-size: 25px; background-color: #f1c40f; color: #0c2c40;\"><a href=\"https://www.ssllabs.com/ssltest/analyze.html?d=#{hname}&hideResults=on\" target=\"_blank\">#{hname}</a></td>" puts "<tr><th style=\"background-color: #041317; color: #F2F2F2; font-size: 14px; font-family: sans-serif; padding: 6px 2px;\">IP</th><th style=\"background-color: #041317; color: #F2F2F2; font-size: 14px; font-family: sans-serif; padding: 6px 2px;\">Grade</th><th style=\"background-color: #041317; color: #F2F2F2; font-size: 14px; font-family: sans-serif; padding: 6px 2px;\">Warnings</th></tr>" joup["endpoints"].each_index do |i| puts "<tr>" puts "<td style=\"text-align: center; padding: 15px 8px; font-size:12px; background-color: #0c2c40; color: #f1c40f; font-weight: bold; word-wrap: break-word;\">" + joup['endpoints'][i]['ipAddress'] + "</td>" puts "<td style=\"text-align: center; padding: 15px 8px; font-size:38px; background-color: #0c2c40; color: #f1c40f; word-wrap: break-word;\">" + joup['endpoints'][i]['grade'] + "</td>" if joup["endpoints"][i]["hasWarnings"] puts "<td style=\"text-align: center; padding: 15px 8px; font-size:12px; background-color: #0c2c40; color: #f1c40f; word-wrap: break-word;\">" getwarnings(hname, joup['endpoints'][i]['ipAddress']) puts "</td>" else puts "<td style=\"text-align: center; padding: 15px 8px; font-size:12px; background-color: #0c2c40; color: #f1c40f; word-wrap: break-word; max-width: 100px;\">We do not have any warnings</td>" end end puts "</tr>" end # Array containing hostnames to check. Add any hosts you want to check in the domainnames.txt file. host = IO.readlines("domainnames.txt").map(&:chomp) # Beginning HTML puts "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" />" puts "<body bgcolor=\"#C9DCE1\">" puts "<style> .warningBox {border: 1px solid #f1c40f; padding: 5px; background: #0c2c40; margin-top: 10px; font-weight: bold; color: #f1c40f;} </style>" puts "<style>a:visited {color: #089994}</style>" puts "<style>a:link {color: #3282BB}</style>" puts "<style>table, th, td {width: 50%}</style>" puts "<style>footer {position: absolute; bottom:0;}</style>" #Declaring thread related variables thread_count = 5 threads = Array.new(thread_count) work_queue = SizedQueue.new(thread_count) threads.extend(MonitorMixin) threads_available = threads.new_cond sysexit = false # Declaring array for storing results as well as the mutex results = Array.new results_mutex = Mutex.new # Creating Consumer and Producer for thread management consumer_thread = Thread.new do loop do break if sysexit && work_queue.length == 0 found_index = nil threads.synchronize do threads_available.wait_while do threads.select { |thread| thread.nil? || thread.status == false || thread["finished"].nil? == false}.length == 0 end found_index = threads.rindex { |thread| thread.nil? || thread.status == false || thread["finished"].nil? == false } end hostn = work_queue.pop threads[found_index] = Thread.new(hostn) do results_mutex.synchronize do results << fetchdtls(hostn) end Thread.current["finished"] = true threads.synchronize do threads_available.signal end end end end # Getting hosts processed in threads producer_thread = Thread.new do host.each do |hostn| work_queue << hostn threads.synchronize do threads_available.signal end end sysexit = true end # Joining producer_thread.join consumer_thread.join threads.each do |thread| thread.join unless thread.nil? end # Putting output puts results.compact puts "<footer>" puts "This page was generated at " + Time.now.strftime("%d/%m/%Y %H:%M") puts "</footer>"
shashankm/ssllabs-report
ssllabs-report.rb
Ruby
mit
6,298
import { View } from '../core/view'; import { Property } from '../core/properties'; /** * Represents an time picker. */ export class TimePicker extends View { /** * Gets the native [android.widget.TimePicker](http://developer.android.com/reference/android/widget/TimePicker.html) that represents the user interface for this component. Valid only when running on Android OS. */ android: any /* android.widget.TimePicker */; /** * Gets the native iOS [UIDatePicker](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS. */ ios: any /* UIDatePicker */; /** * Gets or sets the time hour. */ hour: number; /** * Gets or sets the time minute. */ minute: number; /** * Gets or sets the time. */ time: Date; /** * Gets or sets the max time hour. */ maxHour: number; /** * Gets or sets the max time minute. */ maxMinute: number; /** * Gets or sets the min time hour. */ minHour: number; /** * Gets or sets the min time minute. */ minMinute: number; /** * Gets or sets the minute interval. */ minuteInterval: number; /** * Gets or set the UIDatePickerStyle of the date picker in iOS 13.4+. Defaults to 0. * Valid values are numbers: * - 0: automatic (system picks the concrete style based on the current platform and date picker mode) * - 1: wheels (the date picker displays as a wheel picker) * - 2: compact (the date picker displays as a label that when tapped displays a calendar-style editor) * - 3: inline (the date pickers displays as an inline, editable field) */ iosPreferredDatePickerStyle: number; } export const hourProperty: Property<TimePicker, number>; export const maxHourProperty: Property<TimePicker, number>; export const minHourProperty: Property<TimePicker, number>; export const minuteProperty: Property<TimePicker, number>; export const maxMinuteProperty: Property<TimePicker, number>; export const minMinuteProperty: Property<TimePicker, number>; export const timeProperty: Property<TimePicker, Date>; export const minuteIntervalProperty: Property<TimePicker, number>; export const iosPreferredDatePickerStyleProperty: Property<TimePicker, number>;
NativeScript/NativeScript
packages/core/ui/time-picker/index.d.ts
TypeScript
mit
2,307
# pyweek22
paeronskruven/pyweek22
README.md
Markdown
mit
10
package fpinscala.datastructures import fpinscala.datastructures.List._ import org.scalatest.{FunSpec, MustMatchers} class ListTest extends FunSpec with MustMatchers { describe("setHead") { it("throws exception for the empty list") { val error = the[java.lang.RuntimeException] thrownBy setHead(Nil, 1) error.getMessage mustBe "setHead on empty list" } it("replaces head of the non-empty list") { setHead(List(1, 2, 3), 4) mustBe List(4, 2, 3) } } describe("tail") { it("returns list without head") { tail(List(1, 2, 3)) mustBe List(2, 3) } it("returns empty tail for the 1-element list") { tail(List(1)) mustBe Nil } it("throws exception for the empty list tail ") { val error = the[java.lang.RuntimeException] thrownBy tail(Nil) error.getMessage mustBe "tail of empty list" } } describe("drop") { it("returns empty list when invoked on empty list") { drop(Nil, -10) mustBe Nil drop(Nil, 0) mustBe Nil drop(Nil, 10) mustBe Nil } it("returns empty list when n == list length") { drop(List(1, 2, 3), 3) mustBe Nil } it("returns empty list when n > list length") { drop(List(1, 2, 3), 4) mustBe Nil } it("returns remainder of the list when n < list length") { drop(List(1, 2, 3, 4), 2) mustBe List(3, 4) } } describe("dropWhile") { it("returns empty list when invoked on empty list") { dropWhile(Nil, (h: Any) => true) mustBe Nil } it("returns remainder of the list") { dropWhile(List(1, 2, 3), (e: Int) => e < 3) mustBe List(3) } } describe("init") { it("throws exception when invoked on empty list") { val error = the[java.lang.RuntimeException] thrownBy init(Nil) error.getMessage mustBe "init on empty list" } it("returns list without its last element") { init(List(1, 2, 3, 4)) mustBe List(1, 2, 3) } } describe("lengthViaFoldRight") { it("returns 0 for the empty list") { List.lengthViaFoldRight(Nil: List[Int]) mustBe 0 } it("returns length of the list") { List.lengthViaFoldRight(List(1, 2, 3)) mustBe 3 } } describe("foldLeft") { it("lengthViaFoldLeft returns 0 for the empty list") { lengthViaFoldLeft(Nil: List[Int]) mustBe 0 } it("lengthViaFoldLeft returns length of the non-empty list") { lengthViaFoldLeft(List(1, 2, 3)) mustBe 3 } it("sumLeft returns sum of the list") { sumLeft(List(1, 2, 3, 4)) mustBe 10 } it("productLeft returns product of the list") { productLeft(List(1, 2, 3)) mustBe 6 } } describe("reverse") { it("returns empty list as is") { reverse(Nil) mustBe Nil } it("returns non empty list reversed") { reverse(List(1, 2, 3)) mustBe List(3, 2, 1) } } describe("append") { it("append2 returns lists concatenated") { appendViaFoldRight(List(1, 2, 3), List(4, 5, 6)) mustBe List(1, 2, 3, 4, 5, 6) } it("append3 returns lists concatenated") { appendViaFoldLeft(List(1, 2, 3), List(4, 5, 6)) mustBe List(1, 2, 3, 4, 5, 6) } } describe("zipWith") { it("zipWith two lists of the same length") { zipWith(List(1, 2, 3), List("a", "b", "c"))(_ + _) mustBe List("1a", "2b", "3c") } it("zipWith two lists where first list is shorter") { zipWith(List(1, 2), List("a", "b", "c"))(_ + _) mustBe List("1a", "2b") } it("zipWith two lists where last list is shorter") { zipWith(List(1, 2, 3), List("a", "b"))(_ + _) mustBe List("1a", "2b") } } it("flatten returns flattened list") { flatten(List(List(1, 2), List(2, 3), List(3, 4))) mustBe List(1, 2, 2, 3, 3, 4) } it("add1 adds 1 to each element of a list") { add1(List(1, 2, 3)) mustBe List(2, 3, 4) } it("doublesToStrings transforms list of doubles to list of strings") { doubles2strings(List(1, 2, 3)) mustBe List("1.0", "2.0", "3.0") } it("map applies f to each elements of a list") { map(List(1, 2, 3))(_ + 1) mustBe List(2, 3, 4) } it("filter returns filtered list") { filter(List(1, 2, 3, 4))(_ % 2 == 0) mustBe List(2, 4) } it("filterViaFoldRight returns filtered list") { filterViaFoldRight(List(1, 2, 3, 4))(_ % 2 == 0) mustBe List(2, 4) } it("filterViaFlatMap returns filtered list") { filterViaFlatMap(List(1, 2, 3, 4))(_ % 2 == 0) mustBe List(2, 4) } it("flatMap first maps and then flattens a list") { flatMap(List(1, 2, 3))(i => List(i, i)) mustBe List(1, 1, 2, 2, 3, 3) } }
Unisay/fpinscala
exercises/src/test/scala/fpinscala/datastructures/ListTest.scala
Scala
mit
4,607
The MIT License (MIT) Copyright (c) 2014 Simbits 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.
simbits/Lumiere
LICENSE.md
Markdown
mit
1,074
using System; namespace NgPlateVerifier { public class PlateInfo { public string PlateNumber { get; set; } public string Owner { get; set; } public string Color { get; set; } public string Model { get; set; } public string Chasis { get; set; } public string Status { get; set; } public DateTime LicenseIssueDate { get; set; } public DateTime LicenseExpiryDate { get; set; } } }
matmape/ngPlateNumberVerifier
PlateInfo.cs
C#
mit
455
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Container, TextInput, Label, Text, View, Button, } from 'react-native'; import LoginScreen from './Login.js'; import RegisterScreen from './Register.js'; import { StackNavigator, TabNavigator } from 'react-navigation'; export default class UserControlScreen extends Component { loginView(){ this.setState({view: <LoginScreen /> }) } constructor(){ super() this.loginView = this.loginView.bind(this) this.state = { view: <RegisterScreen press={this.loginView} /> } } render(){ return ( <View> </View> ) } }
nyc-fiery-skippers-2017/AwesomeProject
Users/UserControl.js
JavaScript
mit
671
require "spec_helper" RSpec.describe Realms::Cards::TradingPost do include_examples "type", :outpost include_examples "defense", 4 include_examples "factions", :trade_federation include_examples "cost", 3 describe "#primary_ability" do include_context "base_ability" do before do game.base_ability(card) end end context "authority" do it { expect { game.decide(:trading_post, :authority) }.to change { game.active_player.authority }.by(1) } end context "trade" do it { expect { game.decide(:trading_post, :trade) }.to change { game.active_turn.trade }.by(1) } end end describe "#scrap_ability" do include_context "scrap_ability" it { expect { game.scrap_ability(card) }.to change { game.active_turn.combat }.by(3) } end end
tonywok/realms
spec/cards/trading_post_spec.rb
Ruby
mit
809
import path from 'path'; const { SupRuntime, } = global; SupRuntime.registerPlugin('dependencyBundle', { loadAsset(player, asset, callback) { window.__dependencyBundles = window.__dependencyBundles || {}; const bundleScript = document.createElement('SCRIPT'); bundleScript.addEventListener('load', () => { callback(null, window.__dependencyBundles[asset.id]); }); bundleScript.src = path.join(player.dataURL, 'assets', asset.storagePath, 'bundle.js'); document.body.appendChild(bundleScript); }, });
antca/superpowers-package-manager-plugin
src/runtime/index.js
JavaScript
mit
538
let path = document.location.pathname, details, login, url; if (m = path.match(/^\/([\w-]+)\??.*?/)) { login = m[1].trim(); if (-1 === ['timeline', 'languages', 'blog', 'explore'].indexOf(login)) { url = 'http://coderstats.net/github#' + login; details = document.getElementsByClassName('vcard-details'); if (details.length > 0) { addLink(); } } } function addLink() { let li = document.createElement('li'); li.setAttribute('id', 'coderstats'); li.setAttribute('class', 'vcard-detail pt-1'); li.setAttribute('itemprop', 'url'); let span = document.createElement('span'); span.setAttribute('class', 'octicon'); span.setAttribute('style', 'margin-top:-2px;'); span.textContent = "📊"; li.appendChild(span) let a = document.createElement('a'); a.setAttribute('href', url); a.textContent = "CoderStats('" + login + "')"; li.appendChild(a); details[0].appendChild(li); }
coderstats/fxt_coderstats
coderstats/coderstats.js
JavaScript
mit
997
.userStand { flex: 0 1 auto; color: #fff; } .userName { font-size: 3rem; font-weight: bold; padding: 30px 0px 0px 50px; } .userUpdate { padding: 0px 0px 0px 50px; font-size: 1.25rem; } .userInfo { background-image: url("https://i.imgur.com/MPcDf2v.jpg"); background-repeat: repeat; box-shadow: 0px 1px 5px 1px gray; display:flex; flex-direction:column; }
modrzew/malusers
web/src/User.css
CSS
mit
392
using System; using System.Runtime.InteropServices; namespace Vanara.PInvoke { public static partial class Kernel32 { /// <summary>The memory allocation attributes.</summary> [Flags] public enum GMEM { /// <summary>Combines GMEM_MOVEABLE and GMEM_ZEROINIT.</summary> GHND = 0x0042, /// <summary>Allocates fixed memory. The return value is a pointer.</summary> GMEM_FIXED = 0x0000, /// <summary> /// Allocates movable memory. Memory blocks are never moved in physical memory, but they can be moved within the default heap. /// <para>The return value is a handle to the memory object. To translate the handle into a pointer, use the GlobalLock function.</para> /// <para>This value cannot be combined with GMEM_FIXED.</para> /// </summary> GMEM_MOVEABLE = 0x0002, /// <summary>Initializes memory contents to zero.</summary> GMEM_ZEROINIT = 0x0040, /// <summary>Combines GMEM_FIXED and GMEM_ZEROINIT.</summary> GPTR = 0x0040, /// <summary> /// The function modifies the attributes of the memory object only (the dwBytes parameter is ignored). This value can only be /// used with <see cref="GlobalReAlloc"/>. /// </summary> GMEM_MODIFY = 0x0080, } /// <summary>The memory allocation attributes.</summary> [PInvokeData("MinWinBase.h")] [Flags] public enum LMEM { /// <summary>Allocates fixed memory. The return value is a pointer to the memory object.</summary> LMEM_FIXED = 0x0000, /// <summary> /// Allocates movable memory. Memory blocks are never moved in physical memory, but they can be moved within the default heap. /// The return value is a handle to the memory object. To translate the handle to a pointer, use the LocalLock function. This /// value cannot be combined with LMEM_FIXED. /// </summary> LMEM_MOVEABLE = 0x0002, /// <summary>Obsolete.</summary> [Obsolete] LMEM_NOCOMPACT = 0x0010, /// <summary>Obsolete.</summary> [Obsolete] LMEM_NODISCARD = 0x0020, /// <summary>Initializes memory contents to zero.</summary> LMEM_ZEROINIT = 0x0040, /// <summary> /// If the LMEM_MODIFY flag is specified in LocalReAlloc, this parameter modifies the attributes of the memory object, and the /// uBytes parameter is ignored. /// </summary> LMEM_MODIFY = 0x0080, /// <summary>Obsolete.</summary> [Obsolete] LMEM_DISCARDABLE = 0x0F00, /// <summary>Valid flags.</summary> LMEM_VALID_FLAGS = 0x0F72, /// <summary>Indicates that the local handle is not valid</summary> LMEM_INVALID_HANDLE = 0x8000, /// <summary>Combines LMEM_MOVEABLE and LMEM_ZEROINIT.</summary> LHND = LMEM_MOVEABLE | LMEM_ZEROINIT, /// <summary>Combines LMEM_FIXED and LMEM_ZEROINIT.</summary> LPTR = LMEM_FIXED | LMEM_ZEROINIT, /// <summary>Same as LMEM_MOVEABLE.</summary> NONZEROLHND = LMEM_MOVEABLE, /// <summary>Same as LMEM_FIXED.</summary> NONZEROLPTR = LMEM_FIXED } /// <summary>Allocates the specified number of bytes from the heap.</summary> /// <param name="uFlags"> /// <para> /// The memory allocation attributes. If zero is specified, the default is <c>GMEM_FIXED</c>. This parameter can be one or more of /// the following values, except for the incompatible combinations that are specifically noted. /// </para> /// <para> /// <list type="table"> /// <listheader> /// <term>Value</term> /// <term>Meaning</term> /// </listheader> /// <item> /// <term>GHND0x0042</term> /// <term>Combines GMEM_MOVEABLE and GMEM_ZEROINIT.</term> /// </item> /// <item> /// <term>GMEM_FIXED0x0000</term> /// <term>Allocates fixed memory. The return value is a pointer.</term> /// </item> /// <item> /// <term>GMEM_MOVEABLE0x0002</term> /// <term> /// Allocates movable memory. Memory blocks are never moved in physical memory, but they can be moved within the default heap.The /// return value is a handle to the memory object. To translate the handle into a pointer, use the GlobalLock function.This value /// cannot be combined with GMEM_FIXED. /// </term> /// </item> /// <item> /// <term>GMEM_ZEROINIT0x0040</term> /// <term>Initializes memory contents to zero.</term> /// </item> /// <item> /// <term>GPTR0x0040</term> /// <term>Combines GMEM_FIXED and GMEM_ZEROINIT.</term> /// </item> /// </list> /// </para> /// <para>The following values are obsolete, but are provided for compatibility with 16-bit Windows. They are ignored.</para> /// </param> /// <param name="dwBytes"> /// The number of bytes to allocate. If this parameter is zero and the uFlags parameter specifies <c>GMEM_MOVEABLE</c>, the function /// returns a handle to a memory object that is marked as discarded. /// </param> /// <returns> /// <para>If the function succeeds, the return value is a handle to the newly allocated memory object.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call <c>GetLastError</c>.</para> /// </returns> // HGLOBAL WINAPI GlobalAlloc( _In_ UINT uFlags, _In_ SIZE_T dwBytes); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366574(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366574")] public static extern HGLOBAL GlobalAlloc(GMEM uFlags, SizeT dwBytes); /// <summary>Retrieves information about the specified global memory object.</summary> /// <param name="hMem"> /// A handle to the global memory object. This handle is returned by either the <c>GlobalAlloc</c> or <c>GlobalReAlloc</c> function. /// </param> /// <returns> /// <para>If the function succeeds, the return value specifies the allocation values and the lock count for the memory object.</para> /// <para> /// If the function fails, the return value is <c>GMEM_INVALID_HANDLE</c>, indicating that the global handle is not valid. To get /// extended error information, call <c>GetLastError</c>. /// </para> /// </returns> // UINT WINAPI GlobalFlags( _In_ HGLOBAL hMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366577(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366577")] public static extern GMEM GlobalFlags([In] HGLOBAL hMem); /// <summary>Frees the specified global memory object and invalidates its handle.</summary> /// <param name="hMem"> /// A handle to the global memory object. This handle is returned by either the <c>GlobalAlloc</c> or <c>GlobalReAlloc</c> function. /// It is not safe to free memory allocated with <c>LocalAlloc</c>. /// </param> /// <returns> /// <para>If the function succeeds, the return value is <c>NULL</c>.</para> /// <para> /// If the function fails, the return value is equal to a handle to the global memory object. To get extended error information, call <c>GetLastError</c>. /// </para> /// </returns> // HGLOBAL WINAPI GlobalFree( _In_ HGLOBAL hMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366579(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366579")] public static extern HGLOBAL GlobalFree(HGLOBAL hMem); /// <summary>Retrieves the handle associated with the specified pointer to a global memory block.</summary> /// <param name="pMem"> /// A pointer to the first byte of the global memory block. This pointer is returned by the <c>GlobalLock</c> function. /// </param> /// <returns> /// <para>If the function succeeds, the return value is a handle to the specified global memory object.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call <c>GetLastError</c>.</para> /// </returns> // HGLOBAL WINAPI GlobalHandle( _In_ LPCVOID pMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366582(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366582")] public static extern HGLOBAL GlobalHandle([In] IntPtr pMem); /// <summary> /// <para>Locks a global memory object and returns a pointer to the first byte of the object's memory block.</para> /// <para> /// <c>Note</c> The global functions have greater overhead and provide fewer features than other memory management functions. New /// applications should use the heap functions unless documentation states that a global function should be used. For more /// information, see Global and Local Functions. /// </para> /// </summary> /// <param name="hMem"> /// <para>A handle to the global memory object. This handle is returned by either the GlobalAlloc or GlobalReAlloc function.</para> /// </param> /// <returns> /// <para>If the function succeeds, the return value is a pointer to the first byte of the memory block.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call GetLastError.</para> /// </returns> /// <remarks> /// <para> /// The internal data structures for each memory object include a lock count that is initially zero. For movable memory objects, /// <c>GlobalLock</c> increments the count by one, and the GlobalUnlock function decrements the count by one. Each successful call /// that a process makes to <c>GlobalLock</c> for an object must be matched by a corresponding call to <c>GlobalUnlock</c>. Locked /// memory will not be moved or discarded, unless the memory object is reallocated by using the GlobalReAlloc function. The memory /// block of a locked memory object remains locked until its lock count is decremented to zero, at which time it can be moved or discarded. /// </para> /// <para> /// Memory objects allocated with <c>GMEM_FIXED</c> always have a lock count of zero. For these objects, the value of the returned /// pointer is equal to the value of the specified handle. /// </para> /// <para>If the specified memory block has been discarded or if the memory block has a zero-byte size, this function returns <c>NULL</c>.</para> /// <para>Discarded objects always have a lock count of zero.</para> /// </remarks> // https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-globallock LPVOID GlobalLock( HGLOBAL hMem ); [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("winbase.h", MSDNShortId = "0d7deac2-c9c4-4adc-8a0a-edfc512a4d6c")] public static extern IntPtr GlobalLock(HGLOBAL hMem); /// <summary>Changes the size or attributes of a specified global memory object. The size can increase or decrease.</summary> /// <param name="hMem"> /// A handle to the global memory object to be reallocated. This handle is returned by either the <c>GlobalAlloc</c> or /// <c>GlobalReAlloc</c> function. /// </param> /// <param name="dwBytes"> /// The new size of the memory block, in bytes. If uFlags specifies <c>GMEM_MODIFY</c>, this parameter is ignored. /// </param> /// <param name="uFlags"> /// <para> /// The reallocation options. If <c>GMEM_MODIFY</c> is specified, the function modifies the attributes of the memory object only (the /// dwBytes parameter is ignored.) Otherwise, the function reallocates the memory object. /// </para> /// <para>You can optionally combine <c>GMEM_MODIFY</c> with the following value.</para> /// <para> /// <list type="table"> /// <listheader> /// <term>Value</term> /// <term>Meaning</term> /// </listheader> /// <item> /// <term>GMEM_MOVEABLE0x0002</term> /// <term> /// Allocates movable memory.If the memory is a locked GMEM_MOVEABLE memory block or a GMEM_FIXED memory block and this flag is not /// specified, the memory can only be reallocated in place. /// </term> /// </item> /// </list> /// </para> /// <para>If this parameter does not specify <c>GMEM_MODIFY</c>, you can use the following value.</para> /// <para> /// <list type="table"> /// <listheader> /// <term>Value</term> /// <term>Meaning</term> /// </listheader> /// <item> /// <term>GMEM_ZEROINIT0x0040</term> /// <term>Causes the additional memory contents to be initialized to zero if the memory object is growing in size.</term> /// </item> /// </list> /// </para> /// </param> /// <returns> /// <para>If the function succeeds, the return value is a handle to the reallocated memory object.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call <c>GetLastError</c>.</para> /// </returns> // HGLOBAL WINAPI GlobalReAlloc( _In_ HGLOBAL hMem, _In_ SIZE_T dwBytes, _In_ UINT uFlags); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366590(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366590")] public static extern HGLOBAL GlobalReAlloc([In] HGLOBAL hMem, SizeT dwBytes, GMEM uFlags); /// <summary>Retrieves the current size of the specified global memory object, in bytes.</summary> /// <param name="hMem"> /// A handle to the global memory object. This handle is returned by either the <c>GlobalAlloc</c> or <c>GlobalReAlloc</c> function. /// </param> /// <returns> /// <para>If the function succeeds, the return value is the size of the specified global memory object, in bytes.</para> /// <para> /// If the specified handle is not valid or if the object has been discarded, the return value is zero. To get extended error /// information, call <c>GetLastError</c>. /// </para> /// </returns> // SIZE_T WINAPI GlobalSize( _In_ HGLOBAL hMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366593(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366593")] public static extern SizeT GlobalSize([In] HGLOBAL hMem); /// <summary> /// <para> /// Decrements the lock count associated with a memory object that was allocated with <c>GMEM_MOVEABLE</c>. This function has no /// effect on memory objects allocated with <c>GMEM_FIXED</c>. /// </para> /// <para> /// <c>Note</c> The global functions have greater overhead and provide fewer features than other memory management functions. New /// applications should use the heap functions unless documentation states that a global function should be used. For more /// information, see Global and Local Functions. /// </para> /// </summary> /// <param name="hMem"> /// <para>A handle to the global memory object. This handle is returned by either the GlobalAlloc or GlobalReAlloc function.</para> /// </param> /// <returns> /// <para> /// If the memory object is still locked after decrementing the lock count, the return value is a nonzero value. If the memory object /// is unlocked after decrementing the lock count, the function returns zero and GetLastError returns <c>NO_ERROR</c>. /// </para> /// <para>If the function fails, the return value is zero and GetLastError returns a value other than <c>NO_ERROR</c>.</para> /// </returns> /// <remarks> /// <para> /// The internal data structures for each memory object include a lock count that is initially zero. For movable memory objects, the /// GlobalLock function increments the count by one, and <c>GlobalUnlock</c> decrements the count by one. For each call that a /// process makes to <c>GlobalLock</c> for an object, it must eventually call <c>GlobalUnlock</c>. Locked memory will not be moved or /// discarded, unless the memory object is reallocated by using the GlobalReAlloc function. The memory block of a locked memory /// object remains locked until its lock count is decremented to zero, at which time it can be moved or discarded. /// </para> /// <para> /// Memory objects allocated with <c>GMEM_FIXED</c> always have a lock count of zero. If the specified memory block is fixed memory, /// this function returns <c>TRUE</c>. /// </para> /// <para>If the memory object is already unlocked, <c>GlobalUnlock</c> returns <c>FALSE</c> and GetLastError reports <c>ERROR_NOT_LOCKED</c>.</para> /// <para> /// A process should not rely on the return value to determine the number of times it must subsequently call <c>GlobalUnlock</c> for /// a memory object. /// </para> /// </remarks> // https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-globalunlock BOOL GlobalUnlock( HGLOBAL hMem ); [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("winbase.h", MSDNShortId = "580a2873-7f06-47a1-acf5-c2b3c96e15e7")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool GlobalUnlock(HGLOBAL hMem); /// <summary>Determines whether the calling process has read access to the memory at the specified address.</summary> /// <param name="lpfn">A pointer to a memory address.</param> /// <returns> /// <para>If the calling process has read access to the specified memory, the return value is zero.</para> /// <para> /// If the calling process does not have read access to the specified memory, the return value is nonzero. To get extended error /// information, call <c>GetLastError</c>. /// </para> /// <para> /// If the application is compiled as a debugging version, and the process does not have read access to the specified memory /// location, the function causes an assertion and breaks into the debugger. Leaving the debugger, the function continues as usual, /// and returns a nonzero value. This behavior is by design, as a debugging aid. /// </para> /// </returns> // BOOL WINAPI IsBadCodePtr( _In_ FARPROC lpfn); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366712(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366712")] [Obsolete("This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use.")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool IsBadCodePtr(IntPtr lpfn); /// <summary>Verifies that the calling process has read access to the specified range of memory.</summary> /// <param name="lp">A pointer to the first byte of the memory block.</param> /// <param name="ucb">The size of the memory block, in bytes. If this parameter is zero, the return value is zero.</param> /// <returns> /// <para>If the calling process has read access to all bytes in the specified memory range, the return value is zero.</para> /// <para>If the calling process does not have read access to all bytes in the specified memory range, the return value is nonzero.</para> /// <para> /// If the application is compiled as a debugging version, and the process does not have read access to all bytes in the specified /// memory range, the function causes an assertion and breaks into the debugger. Leaving the debugger, the function continues as /// usual, and returns a nonzero value. This behavior is by design, as a debugging aid. /// </para> /// </returns> // BOOL WINAPI IsBadReadPtr( _In_ const VOID *lp, _In_ UINT_PTR ucb); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366713(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = false, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366713")] [Obsolete("This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use.")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool IsBadReadPtr([In] IntPtr lp, SizeT ucb); /// <summary>Verifies that the calling process has read access to the specified range of memory.</summary> /// <param name="lpsz">A pointer to a null-terminated string, either Unicode or ASCII.</param> /// <param name="ucchMax"> /// The maximum size of the string, in <c>TCHARs</c>. The function checks for read access in all characters up to the string's /// terminating null character or up to the number of characters specified by this parameter, whichever is smaller. If this parameter /// is zero, the return value is zero. /// </param> /// <returns> /// <para> /// If the calling process has read access to all characters up to the string's terminating null character or up to the number of /// characters specified by ucchMax, the return value is zero. /// </para> /// <para> /// If the calling process does not have read access to all characters up to the string's terminating null character or up to the /// number of characters specified by ucchMax, the return value is nonzero. /// </para> /// <para> /// If the application is compiled as a debugging version, and the process does not have read access to the entire memory range /// specified, the function causes an assertion and breaks into the debugger. Leaving the debugger, the function continues as usual, /// and returns a nonzero value This behavior is by design, as a debugging aid. /// </para> /// </returns> // BOOL WINAPI IsBadStringPtr( _In_ LPCTSTR lpsz, _In_ UINT_PTR ucchMax); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366714(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = false, CharSet = CharSet.Auto)] [PInvokeData("WinBase.h", MSDNShortId = "aa366714")] [Obsolete("This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use.")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool IsBadStringPtr(string lpsz, SizeT ucchMax); /// <summary>Verifies that the calling process has write access to the specified range of memory.</summary> /// <param name="lp">A pointer to the first byte of the memory block.</param> /// <param name="ucb">The size of the memory block, in bytes. If this parameter is zero, the return value is zero.</param> /// <returns> /// <para>If the calling process has write access to all bytes in the specified memory range, the return value is zero.</para> /// <para>If the calling process does not have write access to all bytes in the specified memory range, the return value is nonzero.</para> /// <para> /// If the application is run under a debugger and the process does not have write access to all bytes in the specified memory range, /// the function causes a first chance STATUS_ACCESS_VIOLATION exception. The debugger can be configured to break for this condition. /// After resuming process execution in the debugger, the function continues as usual and returns a nonzero value This behavior is by /// design and serves as a debugging aid. /// </para> /// </returns> // BOOL WINAPI IsBadWritePtr( _In_ LPVOID lp, _In_ UINT_PTR ucb); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366716(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = false, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366716")] [Obsolete("This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use.")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool IsBadWritePtr([In] IntPtr lp, SizeT ucb); /// <summary> /// <para>Allocates the specified number of bytes from the heap.</para> /// <para> /// <c>Note</c> The local functions have greater overhead and provide fewer features than other memory management functions. New /// applications should use the heap functions unless documentation states that a local function should be used. For more /// information, see Global and Local Functions. /// </para> /// </summary> /// <param name="uFlags"> /// <para> /// The memory allocation attributes. The default is the <c>LMEM_FIXED</c> value. This parameter can be one or more of the following /// values, except for the incompatible combinations that are specifically noted. /// </para> /// <list type="table"> /// <listheader> /// <term>Value</term> /// <term>Meaning</term> /// </listheader> /// <item> /// <term>LHND 0x0042</term> /// <term>Combines LMEM_MOVEABLE and LMEM_ZEROINIT.</term> /// </item> /// <item> /// <term>LMEM_FIXED 0x0000</term> /// <term>Allocates fixed memory. The return value is a pointer to the memory object.</term> /// </item> /// <item> /// <term>LMEM_MOVEABLE 0x0002</term> /// <term> /// Allocates movable memory. Memory blocks are never moved in physical memory, but they can be moved within the default heap. The /// return value is a handle to the memory object. To translate the handle to a pointer, use the LocalLock function. This value /// cannot be combined with LMEM_FIXED. /// </term> /// </item> /// <item> /// <term>LMEM_ZEROINIT 0x0040</term> /// <term>Initializes memory contents to zero.</term> /// </item> /// <item> /// <term>LPTR 0x0040</term> /// <term>Combines LMEM_FIXED and LMEM_ZEROINIT.</term> /// </item> /// <item> /// <term>NONZEROLHND</term> /// <term>Same as LMEM_MOVEABLE.</term> /// </item> /// <item> /// <term>NONZEROLPTR</term> /// <term>Same as LMEM_FIXED.</term> /// </item> /// </list> /// <para>The following values are obsolete, but are provided for compatibility with 16-bit Windows. They are ignored.</para> /// </param> /// <param name="uBytes"> /// <para> /// The number of bytes to allocate. If this parameter is zero and the uFlags parameter specifies <c>LMEM_MOVEABLE</c>, the function /// returns a handle to a memory object that is marked as discarded. /// </para> /// </param> /// <returns> /// <para>If the function succeeds, the return value is a handle to the newly allocated memory object.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call GetLastError.</para> /// </returns> /// <remarks> /// <para> /// Windows memory management does not provide a separate local heap and global heap. Therefore, the <c>LocalAlloc</c> and /// GlobalAlloc functions are essentially the same. /// </para> /// <para> /// The movable-memory flags <c>LHND</c>, <c>LMEM_MOVABLE</c>, and <c>NONZEROLHND</c> add unnecessary overhead and require locking to /// be used safely. They should be avoided unless documentation specifically states that they should be used. /// </para> /// <para> /// New applications should use the heap functions unless the documentation specifically states that a local function should be used. /// For example, some Windows functions allocate memory that must be freed with LocalFree. /// </para> /// <para> /// If the heap does not contain sufficient free space to satisfy the request, <c>LocalAlloc</c> returns <c>NULL</c>. Because /// <c>NULL</c> is used to indicate an error, virtual address zero is never allocated. It is, therefore, easy to detect the use of a /// <c>NULL</c> pointer. /// </para> /// <para> /// If the <c>LocalAlloc</c> function succeeds, it allocates at least the amount requested. If the amount allocated is greater than /// the amount requested, the process can use the entire amount. To determine the actual number of bytes allocated, use the LocalSize function. /// </para> /// <para>To free the memory, use the LocalFree function. It is not safe to free memory allocated with <c>LocalAlloc</c> using GlobalFree.</para> /// <para>Examples</para> /// <para>The following code shows a simple use of <c>LocalAlloc</c> and LocalFree.</para> /// </remarks> // https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-localalloc DECLSPEC_ALLOCATOR HLOCAL LocalAlloc( UINT // uFlags, SIZE_T uBytes ); [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("winbase.h", MSDNShortId = "da8cd2be-ff4c-4da5-813c-8759a58228c9")] public static extern HLOCAL LocalAlloc(LMEM uFlags, SizeT uBytes); /// <summary>Retrieves information about the specified local memory object.</summary> /// <param name="hMem"> /// A handle to the local memory object. This handle is returned by either the <c>LocalAlloc</c> or <c>LocalReAlloc</c> function. /// </param> /// <returns> /// <para>If the function succeeds, the return value specifies the allocation values and the lock count for the memory object.</para> /// <para> /// If the function fails, the return value is <c>LMEM_INVALID_HANDLE</c>, indicating that the local handle is not valid. To get /// extended error information, call <c>GetLastError</c>. /// </para> /// </returns> // UINT WINAPI LocalFlags( _In_ HLOCAL hMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366728(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366728")] public static extern LMEM LocalFlags([In] HLOCAL hMem); /// <summary> /// <para>Frees the specified local memory object and invalidates its handle.</para> /// <para> /// <c>Note</c> The local functions have greater overhead and provide fewer features than other memory management functions. New /// applications should use the heap functions unless documentation states that a local function should be used. For more /// information, see Global and Local Functions. /// </para> /// </summary> /// <param name="hMem"> /// <para> /// A handle to the local memory object. This handle is returned by either the LocalAlloc or LocalReAlloc function. It is not safe to /// free memory allocated with GlobalAlloc. /// </para> /// </param> /// <returns> /// <para>If the function succeeds, the return value is <c>NULL</c>.</para> /// <para> /// If the function fails, the return value is equal to a handle to the local memory object. To get extended error information, call GetLastError. /// </para> /// </returns> /// <remarks> /// <para> /// If the process tries to examine or modify the memory after it has been freed, heap corruption may occur or an access violation /// exception (EXCEPTION_ACCESS_VIOLATION) may be generated. /// </para> /// <para>If the hMem parameter is <c>NULL</c>, <c>LocalFree</c> ignores the parameter and returns <c>NULL</c>.</para> /// <para> /// The <c>LocalFree</c> function will free a locked memory object. A locked memory object has a lock count greater than zero. The /// LocalLock function locks a local memory object and increments the lock count by one. The LocalUnlock function unlocks it and /// decrements the lock count by one. To get the lock count of a local memory object, use the LocalFlags function. /// </para> /// <para> /// If an application is running under a debug version of the system, <c>LocalFree</c> will issue a message that tells you that a /// locked object is being freed. If you are debugging the application, <c>LocalFree</c> will enter a breakpoint just before freeing /// a locked object. This allows you to verify the intended behavior, then continue execution. /// </para> /// <para>Examples</para> /// <para>For an example, see LocalAlloc.</para> /// </remarks> // https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-localfree HLOCAL LocalFree( _Frees_ptr_opt_ HLOCAL hMem ); [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("winbase.h", MSDNShortId = "a0393983-cb43-4dfa-91a6-d82a5fb8de12")] public static extern HLOCAL LocalFree(HLOCAL hMem); /// <summary>Retrieves the handle associated with the specified pointer to a local memory object.</summary> /// <param name="pMem"> /// A pointer to the first byte of the local memory object. This pointer is returned by the <c>LocalLock</c> function. /// </param> /// <returns> /// <para>If the function succeeds, the return value is a handle to the specified local memory object.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call <c>GetLastError</c>.</para> /// </returns> // HLOCAL WINAPI LocalHandle( _In_ LPCVOID pMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366733(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366733")] public static extern HLOCAL LocalHandle([In] IntPtr pMem); /// <summary>Locks a local memory object and returns a pointer to the first byte of the object's memory block.</summary> /// <param name="hMem"> /// A handle to the local memory object. This handle is returned by either the <c>LocalAlloc</c> or <c>LocalReAlloc</c> function. /// </param> /// <returns> /// <para>If the function succeeds, the return value is a pointer to the first byte of the memory block.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call <c>GetLastError</c>.</para> /// </returns> // LPVOID WINAPI LocalLock( _In_ HLOCAL hMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366737(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366737")] public static extern IntPtr LocalLock([In] HLOCAL hMem); /// <summary> /// <para>Changes the size or the attributes of a specified local memory object. The size can increase or decrease.</para> /// <para> /// <c>Note</c> The local functions have greater overhead and provide fewer features than other memory management functions. New /// applications should use the heap functions unless documentation states that a local function should be used. For more /// information, see Global and Local Functions. /// </para> /// </summary> /// <param name="hMem"> /// <para> /// A handle to the local memory object to be reallocated. This handle is returned by either the LocalAlloc or <c>LocalReAlloc</c> function. /// </para> /// </param> /// <param name="uBytes"> /// <para>The new size of the memory block, in bytes. If uFlags specifies <c>LMEM_MODIFY</c>, this parameter is ignored.</para> /// </param> /// <param name="uFlags"> /// <para> /// The reallocation options. If <c>LMEM_MODIFY</c> is specified, the function modifies the attributes of the memory object only (the /// uBytes parameter is ignored.) Otherwise, the function reallocates the memory object. /// </para> /// <para>You can optionally combine <c>LMEM_MODIFY</c> with the following value.</para> /// <list type="table"> /// <listheader> /// <term>Value</term> /// <term>Meaning</term> /// </listheader> /// <item> /// <term>LMEM_MOVEABLE 0x0002</term> /// <term> /// Allocates fixed or movable memory. If the memory is a locked LMEM_MOVEABLE memory block or a LMEM_FIXED memory block and this /// flag is not specified, the memory can only be reallocated in place. /// </term> /// </item> /// </list> /// <para>If this parameter does not specify <c>LMEM_MODIFY</c>, you can use the following value.</para> /// <list type="table"> /// <listheader> /// <term>Value</term> /// <term>Meaning</term> /// </listheader> /// <item> /// <term>LMEM_ZEROINIT 0x0040</term> /// <term>Causes the additional memory contents to be initialized to zero if the memory object is growing in size.</term> /// </item> /// </list> /// </param> /// <returns> /// <para>If the function succeeds, the return value is a handle to the reallocated memory object.</para> /// <para>If the function fails, the return value is <c>NULL</c>. To get extended error information, call GetLastError.</para> /// </returns> /// <remarks> /// <para>If <c>LocalReAlloc</c> fails, the original memory is not freed, and the original handle and pointer are still valid.</para> /// <para> /// If <c>LocalReAlloc</c> reallocates a fixed object, the value of the handle returned is the address of the first byte of the /// memory block. To access the memory, a process can simply cast the return value to a pointer. /// </para> /// </remarks> // https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-localrealloc DECLSPEC_ALLOCATOR HLOCAL LocalReAlloc( // _Frees_ptr_opt_ HLOCAL hMem, SIZE_T uBytes, UINT uFlags ); [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("winbase.h", MSDNShortId = "88527ddd-e0c2-4a41-825e-d3a6df77fd2a")] public static extern HLOCAL LocalReAlloc(HLOCAL hMem, SizeT uBytes, LMEM uFlags); /// <summary> /// <para>Retrieves the current size of the specified local memory object, in bytes.</para> /// <para> /// <c>Note</c> The local functions have greater overhead and provide fewer features than other memory management functions. New /// applications should use the heap functions unless documentation states that a local function should be used. For more /// information, see Global and Local Functions. /// </para> /// </summary> /// <param name="hMem"> /// <para>A handle to the local memory object. This handle is returned by the LocalAlloc, LocalReAlloc, or LocalHandle function.</para> /// </param> /// <returns> /// <para> /// If the function succeeds, the return value is the size of the specified local memory object, in bytes. If the specified handle is /// not valid or if the object has been discarded, the return value is zero. To get extended error information, call GetLastError. /// </para> /// </returns> /// <remarks> /// <para>The size of a memory block may be larger than the size requested when the memory was allocated.</para> /// <para> /// To verify that the specified object's memory block has not been discarded, call the LocalFlags function before calling <c>LocalSize</c>. /// </para> /// </remarks> // https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-localsize SIZE_T LocalSize( HLOCAL hMem ); [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("winbase.h", MSDNShortId = "d1337845-d89c-4cd5-a584-36fe0c682c1a")] public static extern SizeT LocalSize(HLOCAL hMem); /// <summary> /// Decrements the lock count associated with a memory object that was allocated with <c>LMEM_MOVEABLE</c>. This function has no /// effect on memory objects allocated with <c>LMEM_FIXED</c>. /// </summary> /// <param name="hMem"> /// A handle to the local memory object. This handle is returned by either the <c>LocalAlloc</c> or <c>LocalReAlloc</c> function. /// </param> /// <returns> /// <para> /// If the memory object is still locked after decrementing the lock count, the return value is nonzero. If the memory object is /// unlocked after decrementing the lock count, the function returns zero and <c>GetLastError</c> returns <c>NO_ERROR</c>. /// </para> /// <para>If the function fails, the return value is zero and <c>GetLastError</c> returns a value other than <c>NO_ERROR</c>.</para> /// </returns> // BOOL WINAPI LocalUnlock( _In_ HLOCAL hMem); https://msdn.microsoft.com/en-us/library/windows/desktop/aa366747(v=vs.85).aspx [DllImport(Lib.Kernel32, SetLastError = true, ExactSpelling = true)] [PInvokeData("WinBase.h", MSDNShortId = "aa366747")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool LocalUnlock([In] HLOCAL hMem); /// <summary>Provides a handle to heap allocated memory.</summary> [StructLayout(LayoutKind.Sequential)] public struct HGLOBAL : IHandle { private IntPtr handle; /// <summary>Initializes a new instance of the <see cref="HGLOBAL"/> struct.</summary> /// <param name="preexistingHandle">An <see cref="IntPtr"/> object that represents the pre-existing handle to use.</param> public HGLOBAL(IntPtr preexistingHandle) => handle = preexistingHandle; /// <summary>Returns an invalid handle by instantiating a <see cref="HGLOBAL"/> object with <see cref="IntPtr.Zero"/>.</summary> public static HGLOBAL NULL => new HGLOBAL(IntPtr.Zero); /// <summary>Gets a value indicating whether this instance is a null handle.</summary> public bool IsNull => handle == IntPtr.Zero; /// <summary>Performs an explicit conversion from <see cref="HGLOBAL"/> to <see cref="IntPtr"/>.</summary> /// <param name="h">The handle.</param> /// <returns>The result of the conversion.</returns> public static explicit operator IntPtr(HGLOBAL h) => h.handle; /// <summary>Performs an implicit conversion from <see cref="IntPtr"/> to <see cref="HGLOBAL"/>.</summary> /// <param name="h">The pointer to a handle.</param> /// <returns>The result of the conversion.</returns> public static implicit operator HGLOBAL(IntPtr h) => new HGLOBAL(h); /// <summary>Implements the operator !=.</summary> /// <param name="h1">The first handle.</param> /// <param name="h2">The second handle.</param> /// <returns>The result of the operator.</returns> public static bool operator !=(HGLOBAL h1, HGLOBAL h2) => !(h1 == h2); /// <summary>Implements the operator ==.</summary> /// <param name="h1">The first handle.</param> /// <param name="h2">The second handle.</param> /// <returns>The result of the operator.</returns> public static bool operator ==(HGLOBAL h1, HGLOBAL h2) => h1.Equals(h2); /// <inheritdoc/> public override bool Equals(object obj) => obj is HGLOBAL h ? handle == h.handle : false; /// <inheritdoc/> public override int GetHashCode() => handle.GetHashCode(); /// <inheritdoc/> public IntPtr DangerousGetHandle() => handle; } /// <summary>Provides a handle to a local heap allocation.</summary> [StructLayout(LayoutKind.Sequential)] public struct HLOCAL : IHandle { private IntPtr handle; /// <summary>Initializes a new instance of the <see cref="HLOCAL"/> struct.</summary> /// <param name="preexistingHandle">An <see cref="IntPtr"/> object that represents the pre-existing handle to use.</param> public HLOCAL(IntPtr preexistingHandle) => handle = preexistingHandle; /// <summary>Returns an invalid handle by instantiating a <see cref="HLOCAL"/> object with <see cref="IntPtr.Zero"/>.</summary> public static HLOCAL NULL => new HLOCAL(IntPtr.Zero); /// <summary>Gets a value indicating whether this instance is a null handle.</summary> public bool IsNull => handle == IntPtr.Zero; /// <summary>Performs an explicit conversion from <see cref="HLOCAL"/> to <see cref="IntPtr"/>.</summary> /// <param name="h">The handle.</param> /// <returns>The result of the conversion.</returns> public static explicit operator IntPtr(HLOCAL h) => h.handle; /// <summary>Performs an implicit conversion from <see cref="IntPtr"/> to <see cref="HLOCAL"/>.</summary> /// <param name="h">The pointer to a handle.</param> /// <returns>The result of the conversion.</returns> public static implicit operator HLOCAL(IntPtr h) => new HLOCAL(h); /// <summary>Implements the operator !=.</summary> /// <param name="h1">The first handle.</param> /// <param name="h2">The second handle.</param> /// <returns>The result of the operator.</returns> public static bool operator !=(HLOCAL h1, HLOCAL h2) => !(h1 == h2); /// <summary>Implements the operator ==.</summary> /// <param name="h1">The first handle.</param> /// <param name="h2">The second handle.</param> /// <returns>The result of the operator.</returns> public static bool operator ==(HLOCAL h1, HLOCAL h2) => h1.Equals(h2); /// <inheritdoc/> public override bool Equals(object obj) => obj is HLOCAL h ? handle == h.handle : false; /// <inheritdoc/> public override int GetHashCode() => handle.GetHashCode(); /// <inheritdoc/> public IntPtr DangerousGetHandle() => handle; } } }
dahall/vanara
PInvoke/Kernel32/WinBase.MemMgmt.cs
C#
mit
44,045
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Industrial Light & Magic 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. // /////////////////////////////////////////////////////////////////////////// #include <ImfTiledOutputFile.h> #include <ImfInputFile.h> #include <ImathRandom.h> #include <ImfTiledInputFile.h> #include <ImfChannelList.h> #include <ImfArray.h> #include <ImfThreading.h> #include <IlmThread.h> #include <half.h> #include <vector> #include <stdio.h> #include <assert.h> #include "tmpDir.h" using namespace OPENEXR_IMF_NAMESPACE; using namespace std; using namespace IMATH_NAMESPACE; namespace { void fillPixels (Array2D<half> &ph, int width, int height) { for (int y = 0; y < height; ++y) for (int x = 0; x < width; ++x) ph[y][x] = sin (double (x)) + sin (y * 0.5); } void writeCopyReadONE (const char fileName[], int width, int height, LineOrder lorder, LevelRoundingMode rmode, int xSize, int ySize, Compression comp, bool triggerBuffering, bool triggerSeeks) { cout << "LineOrder " << lorder << ", buffer " << triggerBuffering << ", seek " << triggerSeeks << ", levelMode 0, " << "roundingMode " << rmode << ", " "compression " << comp << endl; Header hdr ((Box2i (V2i (0, 0), // display window V2i (width - 1, height -1))), (Box2i (V2i (0, 0), // data window V2i (width - 1, height - 1)))); hdr.compression() = comp; hdr.lineOrder() = INCREASING_Y; hdr.channels().insert ("H", Channel (HALF, 1, 1)); hdr.setTileDescription(TileDescription(xSize, ySize, ONE_LEVEL, rmode)); Array2D<half> ph1 (height, width); fillPixels (ph1, width, height); { FrameBuffer fb; fb.insert ("H", Slice (HALF, (char *) &ph1[0][0], sizeof (ph1[0][0]), sizeof (ph1[0][0]) * width)); cout << " writing" << flush; remove (fileName); TiledOutputFile out (fileName, hdr); out.setFrameBuffer (fb); int i; Rand32 rand1 = Rand32(); std::vector<int> tileYs = std::vector<int>(out.numYTiles()); std::vector<int> tileXs = std::vector<int>(out.numXTiles()); for (i = 0; i < out.numYTiles(); i++) { if (lorder == DECREASING_Y) tileYs[out.numYTiles()-1-i] = i; else tileYs[i] = i; } for (i = 0; i < out.numXTiles(); i++) { tileXs[i] = i; } if (triggerBuffering) { // shuffle the tile orders for (i = 0; i < out.numYTiles(); i++) std::swap(tileYs[i], tileYs[int(rand1.nextf(i,out.numYTiles()-1) + 0.5)]); for (i = 0; i < out.numXTiles(); i++) std::swap(tileXs[i], tileXs[int(rand1.nextf(i,out.numXTiles()-1) + 0.5)]); } for (int tileY = 0; tileY < out.numYTiles(); tileY++) for (int tileX = 0; tileX < out.numXTiles(); tileX++) out.writeTile (tileXs[tileX], tileYs[tileY]); } { cout << " reading" << flush; TiledInputFile in (fileName); const Box2i &dw = in.header().dataWindow(); int w = dw.max.x - dw.min.x + 1; int h = dw.max.y - dw.min.y + 1; int dwx = dw.min.x; int dwy = dw.min.y; Array2D<half> ph2 (h, w); FrameBuffer fb; fb.insert ("H", Slice (HALF, (char *) &ph2[-dwy][-dwx], sizeof (ph2[0][0]), sizeof (ph2[0][0]) * w)); in.setFrameBuffer (fb); int startTileY, endTileY; int dy; if ((lorder == DECREASING_Y && !triggerSeeks) || (lorder == INCREASING_Y && triggerSeeks) || (lorder == RANDOM_Y && triggerSeeks)) { startTileY = in.numYTiles() - 1; endTileY = -1; dy = -1; } else { startTileY = 0; endTileY = in.numYTiles(); dy = 1; } for (int tileY = startTileY; tileY != endTileY; tileY += dy) for (int tileX = 0; tileX < in.numXTiles(); ++tileX) in.readTile (tileX, tileY); cout << " comparing" << flush; assert (in.header().displayWindow() == hdr.displayWindow()); assert (in.header().dataWindow() == hdr.dataWindow()); assert (in.header().pixelAspectRatio() == hdr.pixelAspectRatio()); assert (in.header().screenWindowCenter() == hdr.screenWindowCenter()); assert (in.header().screenWindowWidth() == hdr.screenWindowWidth()); assert (in.header().lineOrder() == hdr.lineOrder()); assert (in.header().compression() == hdr.compression()); assert (in.header().channels() == hdr.channels()); for (int y = 0; y < h; ++y) for (int x = 0; x < w; ++x) assert (ph1[y][x] == ph2[y][x]); } remove (fileName); cout << endl; } void writeCopyReadMIP (const char fileName[], int width, int height, LineOrder lorder, LevelRoundingMode rmode, int xSize, int ySize, Compression comp, bool triggerBuffering, bool triggerSeeks) { cout << "LineOrder " << lorder << ", buffer " << triggerBuffering << ", seek " << triggerSeeks << ", levelMode 1, " << "roundingMode " << rmode << ", " "compression " << comp << endl; Header hdr ((Box2i (V2i (0, 0), // display window V2i (width - 1, height -1))), (Box2i (V2i (0, 0), // data window V2i (width - 1, height - 1)))); hdr.compression() = comp; hdr.lineOrder() = INCREASING_Y; hdr.channels().insert ("H", Channel (HALF, 1, 1)); hdr.setTileDescription(TileDescription(xSize, ySize, MIPMAP_LEVELS, rmode)); Array < Array2D<half> > levels; { cout << " writing" << flush; remove (fileName); TiledOutputFile out (fileName, hdr); int numLevels = out.numLevels(); levels.resizeErase (numLevels); int i; Rand32 rand1 = Rand32(); std::vector<int> shuffled_levels = std::vector<int>(numLevels); for (i = 0; i < numLevels; i++) shuffled_levels[i] = i; if (triggerBuffering) // shuffle the level order for (i = 0; i < numLevels; i++) std::swap(shuffled_levels[i], shuffled_levels[int(rand1.nextf(i,numLevels-1) + 0.5)]); for (int level = 0; level < numLevels; ++level) { const int slevel = shuffled_levels[level]; int levelWidth = out.levelWidth(slevel); int levelHeight = out.levelHeight(slevel); levels[slevel].resizeErase(levelHeight, levelWidth); fillPixels (levels[slevel], levelWidth, levelHeight); FrameBuffer fb; fb.insert ("H", Slice (HALF, (char *) &levels[slevel][0][0], sizeof (levels[slevel][0][0]), sizeof (levels[slevel][0][0]) * levelWidth)); out.setFrameBuffer (fb); std::vector<int> tileYs = std::vector<int>(out.numYTiles(slevel)); std::vector<int> tileXs = std::vector<int>(out.numXTiles(slevel)); for (i = 0; i < out.numYTiles(slevel); i++) { if (lorder == DECREASING_Y) tileYs[out.numYTiles(slevel)-1-i] = i; else tileYs[i] = i; } for (i = 0; i < out.numXTiles(slevel); i++) tileXs[i] = i; if (triggerBuffering) { // shuffle the tile orders for (i = 0; i < out.numYTiles(slevel); i++) std::swap(tileYs[i], tileYs[int(rand1.nextf(i,out.numYTiles(slevel)-1) + 0.5)]); for (i = 0; i < out.numXTiles(slevel); i++) std::swap(tileXs[i], tileXs[int(rand1.nextf(i,out.numXTiles(slevel)-1) + 0.5)]); } for (int tileY = 0; tileY < out.numYTiles(slevel); ++tileY) for (int tileX = 0; tileX < out.numXTiles(slevel); ++tileX) out.writeTile (tileXs[tileX], tileYs[tileY], slevel); } } { cout << " reading" << flush; TiledInputFile in (fileName); const Box2i &dw = in.header().dataWindow(); int dwx = dw.min.x; int dwy = dw.min.y; int numLevels = in.numLevels(); Array < Array2D<half> > levels2 (numLevels); int startTileY, endTileY; int dy; for (int level = 0; level < in.numLevels(); ++level) { int levelWidth = in.levelWidth(level); int levelHeight = in.levelHeight(level); levels2[level].resizeErase(levelHeight, levelWidth); FrameBuffer fb; fb.insert ("H", Slice (HALF, (char *) &levels2[level][-dwy][-dwx], sizeof (levels2[level][0][0]), sizeof (levels2[level][0][0]) * levelWidth)); in.setFrameBuffer (fb); if ((lorder == DECREASING_Y && !triggerSeeks) || (lorder == INCREASING_Y && triggerSeeks) || (lorder == RANDOM_Y && triggerSeeks)) { startTileY = in.numYTiles(level) - 1; endTileY = -1; dy = -1; } else { startTileY = 0; endTileY = in.numYTiles(level); dy = 1; } for (int tileY = startTileY; tileY != endTileY; tileY += dy) for (int tileX = 0; tileX < in.numXTiles (level); ++tileX) in.readTile (tileX, tileY, level); } cout << " comparing" << flush; assert (in.header().displayWindow() == hdr.displayWindow()); assert (in.header().dataWindow() == hdr.dataWindow()); assert (in.header().pixelAspectRatio() == hdr.pixelAspectRatio()); assert (in.header().screenWindowCenter() == hdr.screenWindowCenter()); assert (in.header().screenWindowWidth() == hdr.screenWindowWidth()); assert (in.header().lineOrder() == hdr.lineOrder()); assert (in.header().compression() == hdr.compression()); assert (in.header().channels() == hdr.channels()); for (int l = 0; l < numLevels; ++l) for (int y = 0; y < in.levelHeight(l); ++y) for (int x = 0; x < in.levelWidth(l); ++x) assert ((levels2[l])[y][x] == (levels[l])[y][x]); } remove (fileName); cout << endl; } void writeCopyReadRIP (const char fileName[], int width, int height, LineOrder lorder, LevelRoundingMode rmode, int xSize, int ySize, Compression comp, bool triggerBuffering, bool triggerSeeks) { cout << "LineOrder " << lorder << ", buffer " << triggerBuffering << ", seek " << triggerSeeks << ", levelMode 2, " << "roundingMode " << rmode << ", " "compression " << comp << endl; Header hdr ((Box2i (V2i (0, 0), // display window V2i (width - 1, height -1))), (Box2i (V2i (0, 0), // data window V2i (width - 1, height - 1)))); hdr.compression() = comp; hdr.lineOrder() = INCREASING_Y; hdr.channels().insert ("H", Channel (HALF, 1, 1)); hdr.setTileDescription(TileDescription(xSize, ySize, RIPMAP_LEVELS, rmode)); Array2D < Array2D<half> > levels; { cout << " writing" << flush; remove (fileName); TiledOutputFile out (fileName, hdr); levels.resizeErase (out.numYLevels(), out.numXLevels()); int i; Rand32 rand1 = Rand32(); std::vector<int> shuffled_xLevels = std::vector<int>(out.numXLevels()); std::vector<int> shuffled_yLevels = std::vector<int>(out.numYLevels()); for (i = 0; i < out.numXLevels(); i++) shuffled_xLevels[i] = i; for (i = 0; i < out.numYLevels(); i++) shuffled_yLevels[i] = i; if (triggerBuffering) { // shuffle the level orders for (i = 0; i < out.numXLevels(); i++) std::swap(shuffled_xLevels[i], shuffled_xLevels[int(rand1.nextf(i,out.numXLevels()-1) + 0.5)]); for (i = 0; i < out.numYLevels(); i++) std::swap(shuffled_yLevels[i], shuffled_yLevels[int(rand1.nextf(i,out.numYLevels()-1) + 0.5)]); } for (int ylevel = 0; ylevel < out.numYLevels(); ++ylevel) { const int sylevel = shuffled_yLevels[ylevel]; std::vector<int> tileYs = std::vector<int>(out.numYTiles(sylevel)); for (i = 0; i < out.numYTiles(sylevel); i++) { if (lorder == DECREASING_Y) tileYs[out.numYTiles(sylevel)-1-i] = i; else tileYs[i] = i; } if (triggerBuffering) // shuffle the tile orders for (i = 0; i < out.numYTiles(sylevel); i++) std::swap(tileYs[i], tileYs[int(rand1.nextf(i,out.numYTiles(sylevel)-1) + 0.5)]); for (int xlevel = 0; xlevel < out.numXLevels(); ++xlevel) { const int sxlevel = shuffled_xLevels[xlevel]; int levelWidth = out.levelWidth(sxlevel); int levelHeight = out.levelHeight(sylevel); levels[sylevel][sxlevel].resizeErase(levelHeight, levelWidth); fillPixels (levels[sylevel][sxlevel], levelWidth, levelHeight); FrameBuffer fb; fb.insert ("H", Slice (HALF, (char *) &levels[sylevel][sxlevel][0][0], sizeof (levels[sylevel][sxlevel][0][0]), sizeof (levels[sylevel][sxlevel][0][0]) * levelWidth)); out.setFrameBuffer (fb); std::vector<int> tileXs = std::vector<int>(out.numXTiles(sxlevel)); for (i = 0; i < out.numXTiles(sxlevel); i++) tileXs[i] = i; if (triggerBuffering) // shuffle the tile orders for (i = 0; i < out.numXTiles(sxlevel); i++) std::swap(tileXs[i], tileXs[int(rand1.nextf(i,out.numXTiles(sxlevel)-1) + 0.5)]); for (int tileY = 0; tileY < out.numYTiles(sylevel); ++tileY) for (int tileX = 0; tileX < out.numXTiles(sxlevel); ++tileX) out.writeTile(tileXs[tileX], tileYs[tileY], sxlevel, sylevel); } } } { cout << " reading" << flush; TiledInputFile in (fileName); const Box2i &dw = in.header().dataWindow(); int dwx = dw.min.x; int dwy = dw.min.y; int numXLevels = in.numXLevels(); int numYLevels = in.numYLevels(); Array2D < Array2D<half> > levels2 (numYLevels, numXLevels); int startTileY, endTileY; int dy; for (int ylevel = 0; ylevel < in.numYLevels(); ++ylevel) { if ((lorder == DECREASING_Y && !triggerSeeks) || (lorder == INCREASING_Y && triggerSeeks) || (lorder == RANDOM_Y && triggerSeeks)) { startTileY = in.numYTiles(ylevel) - 1; endTileY = -1; dy = -1; } else { startTileY = 0; endTileY = in.numYTiles(ylevel); dy = 1; } for (int xlevel = 0; xlevel < in.numXLevels(); ++xlevel) { int levelWidth = in.levelWidth(xlevel); int levelHeight = in.levelHeight(ylevel); levels2[ylevel][xlevel].resizeErase(levelHeight, levelWidth); FrameBuffer fb; fb.insert ("H", Slice (HALF, (char *) &levels2[ylevel][xlevel][-dwy][-dwx], sizeof (levels2[ylevel][xlevel][0][0]), sizeof (levels2[ylevel][xlevel][0][0]) * levelWidth)); in.setFrameBuffer (fb); for (int tileY = startTileY; tileY != endTileY; tileY += dy) for (int tileX = 0; tileX < in.numXTiles (xlevel); ++tileX) in.readTile (tileX, tileY, xlevel, ylevel); } } cout << " comparing" << flush; assert (in.header().displayWindow() == hdr.displayWindow()); assert (in.header().dataWindow() == hdr.dataWindow()); assert (in.header().pixelAspectRatio() == hdr.pixelAspectRatio()); assert (in.header().screenWindowCenter() == hdr.screenWindowCenter()); assert (in.header().screenWindowWidth() == hdr.screenWindowWidth()); assert (in.header().lineOrder() == hdr.lineOrder()); assert (in.header().compression() == hdr.compression()); assert (in.header().channels() == hdr.channels()); for (int ly = 0; ly < numYLevels; ++ly) for (int lx = 0; lx < numXLevels; ++lx) for (int y = 0; y < in.levelHeight(ly); ++y) for (int x = 0; x < in.levelWidth(lx); ++x) assert ((levels2[ly][lx])[y][x] == (levels[ly][lx])[y][x]); } remove (fileName); cout << endl; } void writeCopyRead (int w, int h, int xs, int ys) { const char *filename = IMF_TMP_DIR "imf_test_copy.exr"; for (int comp = 0; comp < NUM_COMPRESSION_METHODS; ++comp) { if (comp == B44_COMPRESSION || comp == B44A_COMPRESSION) continue; for (int lorder = 0; lorder < RANDOM_Y; ++lorder) { for (int rmode = 0; rmode < NUM_ROUNDINGMODES; ++rmode) { for (int tb = 0; tb <= 1; ++tb) { for (int ts = 0; ts <= 1; ++ts) { writeCopyReadONE (filename, w, h, (LineOrder)lorder, (LevelRoundingMode) rmode, xs, ys, Compression (comp), (bool)tb, (bool)ts); writeCopyReadMIP (filename, w, h, (LineOrder)lorder, (LevelRoundingMode) rmode, xs, ys, Compression (comp), (bool)tb, (bool)ts); writeCopyReadRIP (filename, w, h, (LineOrder)lorder, (LevelRoundingMode) rmode, xs, ys, Compression (comp), (bool)tb, (bool)ts); } } } } } } } // namespace void testTiledLineOrder () { try { cout << "Testing line orders for tiled files and " "buffered/unbuffered tile writes" << endl; const int W = 171; const int H = 259; const int XS = 55; const int YS = 55; int maxThreads = ILMTHREAD_NAMESPACE::supportsThreads()? 3: 0; for (int n = 0; n <= maxThreads; ++n) { if (ILMTHREAD_NAMESPACE::supportsThreads()) { setGlobalThreadCount (n); cout << "\nnumber of threads: " << globalThreadCount() << endl; } writeCopyRead (W, H, XS, YS); } cout << "ok\n" << endl; } catch (const std::exception &e) { cerr << "ERROR -- caught exception: " << e.what() << endl; assert (false); } }
jamesbigler/Legion
src/Support/openexr-2.0.1/IlmImfTest/testTiledLineOrder.cpp
C++
mit
21,673
package main import "fmt" // Bitcoin represents a number of Bitcoins type Bitcoin int func (b Bitcoin) String() string { return fmt.Sprintf("%d BTC", b) } // Wallet stores the number of Bitcoin someone owns type Wallet struct { balance Bitcoin } // Deposit will add some Bitcoin to a wallet func (w *Wallet) Deposit(amount Bitcoin) { w.balance += amount } // Withdraw subtracts some Bitcoin from the wallet func (w *Wallet) Withdraw(amount Bitcoin) { w.balance -= amount } // Balance returns the number of Bitcoin a wallet has func (w *Wallet) Balance() Bitcoin { return w.balance }
a233894432/Golang-lesson
src/my_example/gctt/pointers_demo/v2/wallet.go
GO
mit
595
import pymc3 as pm from lasagne.layers.helper import * from lasagne.layers.helper import __all__ as __helper__all__ __all__ = [ "find_parent", "find_root", ] + __helper__all__ def find_parent(layer): candidates = get_all_layers(layer)[::-1] found = None for candidate in candidates: if isinstance(candidate, pm.Model): found = candidate break return found def find_root(layer): model = find_parent(layer) if model is not None: return model.root else: return None
ferrine/gelato
gelato/layers/helper.py
Python
mit
551
# Documentation Dead pages, broken links, the scourge of the internet. Powerhouse sites like Slashdot and Digg can bring a server to its knees. What do we do when a page is dead but we still want to see it? Call in the clerics, and perform a resurrection ceremony! Or (the easier route) use this extension. ## Screenshots ![Context Menu](https://camo.githubusercontent.com/264d0c9221bd3b22a41b3848597eeedbd606a5fb/68747470733a2f2f692e696d6775722e636f6d2f48654d666f77792e706e67) ![Toolbar Menu](https://camo.githubusercontent.com/973154dcbc6c17736b9b2d4e4a4a00959465ec6d/68747470733a2f2f692e696d6775722e636f6d2f6d4c554e52414c2e706e67) ## Features * Searches through five page cache/mirrors: * [Google Cache](http://www.google.com/) (plus text-only version) * [The Internet Archive](http://web.archive.org/) * [WebCite](http://www.webcitation.org/) * [archive.is](https://archive.is/) * [Memento Time Travel](http://timetravel.mementoweb.org/) Of course, not every page can be in every cache. When a page is unavailable, you'll generally see that site's error page. Hit back and try another one! * Accessible: * In the context (right-click) menu for the current page, and for all links. * In the toolbar, just customize it to drag the button in. * With the keyboard: press `Ctrl-Shift-U` # Changelog * Version 7 (Apr 16, 2018) * New high resolution icons. * Version 6 (Feb 25, 2018) * Bug fixes. * Add "list all versions" for The Internet Archive. * Add MementoWeb TimeTravel source. * Version 5 (Aug 23, 2017) * Don't use `innerHTML`, per Mozilla reviewer. * Version 4 (Aug 20, 2017) * Rewritten as WebExtension with major contributions by [Tobias Girstmair](https://gir.st/) * Does not include netError page ([not possible currently](http://bugzil.la/1376793)) * Not everything from the old version ported over yet * Version 3 (Sep 9, 2015) * Fix layout on error page w.r.t. the "report error" dialog. * Add keyboard accessibility for cache retrieval buttons. * Add source: archive.is. * Remove sources: CoralCDN, Yahoo, Bing, Gigablast. * Compatibility with multi-process Firefox. * Version 2.0.7 (Jun 26, 2011) * Firefox 5.0 compatibility. * Updated translations from babelzilla.org. * Version 2.0.6 (Jan 17, 2011) * Firefox 4 compatibility. (#444, #453) * Rework `netError.xhtml` modifications to interact better with other extensions. * Add translations: cs-CZ, da, de, fr, nl, sr, sv-SE, tr-TR, zh-CN * Update translations: ca-AD, el-GR, en-US, es-AR, es-CL, es-ES, fi-FI, hr-HR, it-IT, ja-JP, ko-KR, pl-PL, pt-BR, pt-PT, ru-RU, sl-SI, uk-UA, zh-TW * Version 2.0.5 (Nov 12, 2009) * Replace "MSN" with "Bing" engine. * Firefox 3.6 compatibility flag. * Version 2.0.4 (Apr 30, 2009) * Compatibility with Firefox 3.5. * Visual tweak to the net error page. * Remove port number from CoralCDN URLs. * Remember the last target (window/tab) and use it as the default next time. * Version 2.0.3 (June 27, 2008) * Increase the space available for the resurrect UI in the net error page. * Use the built-in openUILinkIn method to create a new tab. * Version 2.0.2 (May 31, 2008) * Various translation updates. * Add ja-JP locale. * Do not show resurrect buttons in the "net error" page when it doesn't make sense. * Version 2.0.1 * Firefox 3.0 RC1 compatibility. * Version 2.0.0 * Firefox 3.0 beta compatibility. * New interface incorporating graphics and more intuitive buttons. * Version 1.0.8 (Mar 28, 2007) * Disable the cache-selection interface while a synchronous API call is being made. * Add translations: ko-KR, fi-FI, ca-AD. * Update translations: hr-HR, es-CL. * Version 1.0.7 (Feb 19, 2007) * Add translations: da-DK, hr-HR, uk-UA, sl-SI, el-GR * Version 1.0.6 * Clerical error, missing? * Version 1.0.5 * Internal fix for locale translations. * Version 1.0.4 * Locale updates. * Version 1.0.3 * Fix a foolish bug that left the in-error-page control broken in the last bugfix. * Version 1.0.2 * Fix bug when using "Resurrect this link" function. * Version 1.0.1 * Fix bug case * When a page that couldn't load shows the error page in a background tab, the interface would not work. * Version 1.0: * Select current tab, new tab, new window for new page. * Translations for 9 languages, thanks to BabelZilla.org. * Minor code tweaks and improvements. * Version 0.6: * Switch to using the MSN Search API, instead of screen scraping. * Integrate into the net error page. * Version 0.5.1 * Bugfix, broken shortcut key. # License Resurrect Pages is released under the MIT license.
arantius/resurrect-pages
README.md
Markdown
mit
4,708
import inspect __all__ = ['GenericVisitor'] class GenericVisitor(object): """ A generic visitor. To define handlers, subclasses should define :data:`visit_Foo` methods for each class :data:`Foo` they want to handle. If a specific method for a class :data:`Foo` is not found, the MRO of the class is walked in order until a matching method is found. The method signature is: .. code-block:: def visit_Foo(self, o, [*args, **kwargs]): pass The handler is responsible for visiting the children (if any) of the node :data:`o`. :data:`*args` and :data:`**kwargs` may be used to pass information up and down the call stack. You can also pass named keyword arguments, e.g.: .. code-block:: def visit_Foo(self, o, parent=None, *args, **kwargs): pass """ def __init__(self): handlers = {} # visit methods are spelt visit_Foo. prefix = "visit_" # Inspect the methods on this instance to find out which # handlers are defined. for (name, meth) in inspect.getmembers(self, predicate=inspect.ismethod): if not name.startswith(prefix): continue # Check the argument specification # Valid options are: # visit_Foo(self, o, [*args, **kwargs]) argspec = inspect.getfullargspec(meth) if len(argspec.args) < 2: raise RuntimeError("Visit method signature must be " "visit_Foo(self, o, [*args, **kwargs])") handlers[name[len(prefix):]] = meth self._handlers = handlers """ :attr:`default_args`. A dict of default keyword arguments for the visitor. These are not used by default in :meth:`visit`, however, a caller may pass them explicitly to :meth:`visit` by accessing :attr:`default_args`. For example:: .. code-block:: v = FooVisitor() v.visit(node, **v.default_args) """ default_args = {} @classmethod def default_retval(cls): """ A method that returns an object to use to populate return values. If your visitor combines values in a tree-walk, it may be useful to provide a object to combine the results into. :meth:`default_retval` may be defined by the visitor to be called to provide an empty object of appropriate type. """ return None def lookup_method(self, instance): """ Look up a handler method for a visitee. Parameters ---------- instance : object The instance to look up a method for. """ cls = instance.__class__ try: # Do we have a method handler defined for this type name return self._handlers[cls.__name__] except KeyError: # No, walk the MRO. for klass in cls.mro()[1:]: entry = self._handlers.get(klass.__name__) if entry: # Save it on this type name for faster lookup next time self._handlers[cls.__name__] = entry return entry raise RuntimeError("No handler found for class %s", cls.__name__) def visit(self, o, *args, **kwargs): """ Apply this Visitor to an object. Parameters ---------- o : object The object to be visited. *args Optional arguments to pass to the visit methods. **kwargs Optional keyword arguments to pass to the visit methods. """ ret = self._visit(o, *args, **kwargs) ret = self._post_visit(ret) return ret def _visit(self, o, *args, **kwargs): """Visit ``o``.""" meth = self.lookup_method(o) return meth(o, *args, **kwargs) def _post_visit(self, ret): """Postprocess the visitor output before returning it to the caller.""" return ret def visit_object(self, o, **kwargs): return self.default_retval()
opesci/devito
devito/tools/visitors.py
Python
mit
4,134
package xsmeral.pipe.context; import java.io.File; /** * A file system context, based on the notion of a single working directory. * @author Ron Šmeral (xsmeral@fi.muni.cz) */ public interface FSContext { /** * Sets the working directory to the given path (relative or absolute) */ public void setWorkingDir(String path); /** * Returns the working directory */ public String getWorkingDir(); /** * Returns a file with the specified path. * If the path is relative, it is resolved against the working directory. */ public File getFile(String path); }
rsmeral/semnet
PipedObjectProcessor/src/xsmeral/pipe/context/FSContext.java
Java
mit
619
//--------------------------------------------------------------------------- // // <copyright file="FillRuleValidation.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { /// <summary> /// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// </summary> /// <param name="valueObject"> /// Enumeration value to validate. /// </param> /// <returns> 'true' if the enumeration contains a valid value, 'false' otherwise. </returns> public static bool IsFillRuleValid(object valueObject) { FillRule value = (FillRule) valueObject; return (value == FillRule.EvenOdd) || (value == FillRule.Nonzero); } } }
mind0n/hive
Cache/Libs/net46/wpf/src/Shared/MS/Internal/Generated/FillRuleValidation.cs
C#
mit
1,605
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("Tasker.TaskAntImporter")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Tasker.TaskAntImporter")] [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("1a5ccda4-fa92-4711-805b-6541cf3fb650")] // 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")]
Digiman/Tasker
Tasker.TaskAntImporter/Properties/AssemblyInfo.cs
C#
mit
1,420
[![Stories in Ready](https://badge.waffle.io/robertdfrench/ghal.png?label=ready&title=Ready)](https://waffle.io/robertdfrench/ghal?utm_source=badge) [![Build Status](https://travis-ci.org/robertdfrench/ghal.svg?branch=master)](https://travis-ci.org/robertdfrench/ghal) # Ghal Githost Abstraction Layer ## Installation ```bash pip install ghal ``` ## Usage ```python import ghal githost = ghal.connect("robertdfrench@github.com", "API_KEY_HERE") spack = githost.get_project("LLNL/spack") print("## Spack bugs") for issue in spack.get_issues(label="bug"): print("* %s" % issue.title) ```
robertdfrench/ghal
README.md
Markdown
mit
596
# Die Class 1: Numeric # I worked on this challenge [by myself] # I spent [.5] hours on this challenge. # 0. Pseudocode # Input: integer amount of sides on a die object # Output: either integer number of sides or random integer # Steps: # => IF there is less than one side THEN # => => RAISE an Argument Error # => ELSE # => => allow the 'die' to be created with trait -size # => ENDIF # => When Sides is called (Die.sides) RETURN the number of sides # => When rolled return a RANDOM number between 1 and # of sides. # 1. Initial Solution #class Die # def initialize(sides) # @sides = sides # end # # def sides # return @sides # end # # def roll # return rand(1..@sides) # end #end # 3. Refactored Solution class Die def initialize(sides) if sides < 1 raise ArgumentError else @sides = sides end end def sides return @sides end def roll return rand(1..@sides) end end # 4. Reflection =begin What is an ArgumentError and why would you use one? It is an error that tells the user why their input won't work. You would use one to warn a user that the way they're trying to use the class or method is incorrect. It could be that the input is the wrong type or the wrong quantity or really anything that would cause the class and/or subsequent methods to fail. What new Ruby methods did you implement? What challenges and successes did you have in implementing them? I used rand() in order to call a random number between 1 and sides. There wasn't too much that could have gone wrong. What is a Ruby class? A class is like a framework that can be used to create an individual object. A class can have traits (like how Die had sides) and can have functions (die can be rolled to return a random number). Why would you use a Ruby class? It is useful to store many instances of data. For example, with a class Person, you can store the name, hometown, age, and profession of all the persons in that class without using a hash. You can also call methods on those persons (e.g. work, drive, eat, etc.). What is the difference between a local variable and an instance variable? Instance variables are available across methods for any instance or any object. Instance variables have an '@' before the variable name. They also change from object to object. Local variables are variables defined in a method and they're not available outside the method. They generally begin with lowercase letters or '_' Where can an instance variable be used? Within an instance of a class. =end
themcny/phase-0
week-5/die-class/my_solution.rb
Ruby
mit
2,564
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2011-2012 Litecoin Developers // Copyright (c) 2013 AuroraCoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_DB_H #define BITCOIN_DB_H #include "main.h" #include <map> #include <string> #include <vector> #include <db_cxx.h> class CAddress; class CAddrMan; class CBlockLocator; class CDiskBlockIndex; class CDiskTxPos; class CMasterKey; class COutPoint; class CTxIndex; class CWallet; class CWalletTx; extern unsigned int nWalletDBUpdated; void ThreadFlushWalletDB(void* parg); bool BackupWallet(const CWallet& wallet, const std::string& strDest); class CDBEnv { private: bool fDetachDB; bool fDbEnvInit; boost::filesystem::path pathEnv; void EnvShutdown(); public: mutable CCriticalSection cs_db; DbEnv dbenv; std::map<std::string, int> mapFileUseCount; std::map<std::string, Db*> mapDb; CDBEnv(); ~CDBEnv(); bool Open(boost::filesystem::path pathEnv_); void Close(); void Flush(bool fShutdown); void CheckpointLSN(std::string strFile); void SetDetach(bool fDetachDB_) { fDetachDB = fDetachDB_; } bool GetDetach() { return fDetachDB; } void CloseDb(const std::string& strFile); DbTxn *TxnBegin(int flags=DB_TXN_WRITE_NOSYNC) { DbTxn* ptxn = NULL; int ret = dbenv.txn_begin(NULL, &ptxn, flags); if (!ptxn || ret != 0) return NULL; return ptxn; } }; extern CDBEnv bitdb; /** RAII class that provides access to a Berkeley database */ class CDB { protected: Db* pdb; std::string strFile; DbTxn *activeTxn; bool fReadOnly; explicit CDB(const char* pszFile, const char* pszMode="r+"); ~CDB() { Close(); } public: void Close(); private: CDB(const CDB&); void operator=(const CDB&); protected: template<typename K, typename T> bool Read(const K& key, T& value) { if (!pdb) return false; // Key CDataStream ssKey(SER_DISK, CLIENT_VERSION); ssKey.reserve(1000); ssKey << key; Dbt datKey(&ssKey[0], ssKey.size()); // Read Dbt datValue; datValue.set_flags(DB_DBT_MALLOC); int ret = pdb->get(activeTxn, &datKey, &datValue, 0); memset(datKey.get_data(), 0, datKey.get_size()); if (datValue.get_data() == NULL) return false; // Unserialize value try { CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), SER_DISK, CLIENT_VERSION); ssValue >> value; } catch (std::exception &e) { return false; } // Clear and free memory memset(datValue.get_data(), 0, datValue.get_size()); free(datValue.get_data()); return (ret == 0); } template<typename K, typename T> bool Write(const K& key, const T& value, bool fOverwrite=true) { if (!pdb) return false; if (fReadOnly) assert(!"Write called on database in read-only mode"); // Key CDataStream ssKey(SER_DISK, CLIENT_VERSION); ssKey.reserve(1000); ssKey << key; Dbt datKey(&ssKey[0], ssKey.size()); // Value CDataStream ssValue(SER_DISK, CLIENT_VERSION); ssValue.reserve(10000); ssValue << value; Dbt datValue(&ssValue[0], ssValue.size()); // Write int ret = pdb->put(activeTxn, &datKey, &datValue, (fOverwrite ? 0 : DB_NOOVERWRITE)); // Clear memory in case it was a private key memset(datKey.get_data(), 0, datKey.get_size()); memset(datValue.get_data(), 0, datValue.get_size()); return (ret == 0); } template<typename K> bool Erase(const K& key) { if (!pdb) return false; if (fReadOnly) assert(!"Erase called on database in read-only mode"); // Key CDataStream ssKey(SER_DISK, CLIENT_VERSION); ssKey.reserve(1000); ssKey << key; Dbt datKey(&ssKey[0], ssKey.size()); // Erase int ret = pdb->del(activeTxn, &datKey, 0); // Clear memory memset(datKey.get_data(), 0, datKey.get_size()); return (ret == 0 || ret == DB_NOTFOUND); } template<typename K> bool Exists(const K& key) { if (!pdb) return false; // Key CDataStream ssKey(SER_DISK, CLIENT_VERSION); ssKey.reserve(1000); ssKey << key; Dbt datKey(&ssKey[0], ssKey.size()); // Exists int ret = pdb->exists(activeTxn, &datKey, 0); // Clear memory memset(datKey.get_data(), 0, datKey.get_size()); return (ret == 0); } Dbc* GetCursor() { if (!pdb) return NULL; Dbc* pcursor = NULL; int ret = pdb->cursor(NULL, &pcursor, 0); if (ret != 0) return NULL; return pcursor; } int ReadAtCursor(Dbc* pcursor, CDataStream& ssKey, CDataStream& ssValue, unsigned int fFlags=DB_NEXT) { // Read at cursor Dbt datKey; if (fFlags == DB_SET || fFlags == DB_SET_RANGE || fFlags == DB_GET_BOTH || fFlags == DB_GET_BOTH_RANGE) { datKey.set_data(&ssKey[0]); datKey.set_size(ssKey.size()); } Dbt datValue; if (fFlags == DB_GET_BOTH || fFlags == DB_GET_BOTH_RANGE) { datValue.set_data(&ssValue[0]); datValue.set_size(ssValue.size()); } datKey.set_flags(DB_DBT_MALLOC); datValue.set_flags(DB_DBT_MALLOC); int ret = pcursor->get(&datKey, &datValue, fFlags); if (ret != 0) return ret; else if (datKey.get_data() == NULL || datValue.get_data() == NULL) return 99999; // Convert to streams ssKey.SetType(SER_DISK); ssKey.clear(); ssKey.write((char*)datKey.get_data(), datKey.get_size()); ssValue.SetType(SER_DISK); ssValue.clear(); ssValue.write((char*)datValue.get_data(), datValue.get_size()); // Clear and free memory memset(datKey.get_data(), 0, datKey.get_size()); memset(datValue.get_data(), 0, datValue.get_size()); free(datKey.get_data()); free(datValue.get_data()); return 0; } public: bool TxnBegin() { if (!pdb || activeTxn) return false; DbTxn* ptxn = bitdb.TxnBegin(); if (!ptxn) return false; activeTxn = ptxn; return true; } bool TxnCommit() { if (!pdb || !activeTxn) return false; int ret = activeTxn->commit(0); activeTxn = NULL; return (ret == 0); } bool TxnAbort() { if (!pdb || !activeTxn) return false; int ret = activeTxn->abort(); activeTxn = NULL; return (ret == 0); } bool ReadVersion(int& nVersion) { nVersion = 0; return Read(std::string("version"), nVersion); } bool WriteVersion(int nVersion) { return Write(std::string("version"), nVersion); } bool static Rewrite(const std::string& strFile, const char* pszSkip = NULL); }; /** Access to the transaction database (blkindex.dat) */ class CTxDB : public CDB { public: CTxDB(const char* pszMode="r+") : CDB("blkindex.dat", pszMode) { } private: CTxDB(const CTxDB&); void operator=(const CTxDB&); public: bool ReadTxIndex(uint256 hash, CTxIndex& txindex); bool UpdateTxIndex(uint256 hash, const CTxIndex& txindex); bool AddTxIndex(const CTransaction& tx, const CDiskTxPos& pos, int nHeight); bool EraseTxIndex(const CTransaction& tx); bool ContainsTx(uint256 hash); bool ReadDiskTx(uint256 hash, CTransaction& tx, CTxIndex& txindex); bool ReadDiskTx(uint256 hash, CTransaction& tx); bool ReadDiskTx(COutPoint outpoint, CTransaction& tx, CTxIndex& txindex); bool ReadDiskTx(COutPoint outpoint, CTransaction& tx); bool WriteBlockIndex(const CDiskBlockIndex& blockindex); bool ReadHashBestChain(uint256& hashBestChain); bool WriteHashBestChain(uint256 hashBestChain); bool ReadBestInvalidWork(CBigNum& bnBestInvalidWork); bool WriteBestInvalidWork(CBigNum bnBestInvalidWork); bool LoadBlockIndex(); // sync checkpoint related data bool ReadSyncCheckpoint(uint256& hashCheckpoint); bool WriteSyncCheckpoint(uint256 hashCheckpoint); bool ReadCheckpointPubKey(std::string& strPubKey); bool WriteCheckpointPubKey(const std::string& strPubKey); private: bool LoadBlockIndexGuts(); }; /** Access to the (IP) address database (peers.dat) */ class CAddrDB { private: boost::filesystem::path pathAddr; public: CAddrDB(); bool Write(const CAddrMan& addr); bool Read(CAddrMan& addr); }; #endif // BITCOIN_DB_H
TBoehm/greedyaur
src/db.h
C
mit
9,122
// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name // for both bitcoind and bitcoin-qt, to make it harder for attackers to // target servers or GUI users specifically. const std::string CLIENT_NAME("Blake"); // Client version number #define CLIENT_VERSION_SUFFIX "-beta" // The following part of the code determines the CLIENT_BUILD variable. // Several mechanisms are used for this: // * first, if HAVE_BUILD_INFO is defined, include build.h, a file that is // generated by the build environment, possibly containing the output // of git-describe in a macro called BUILD_DESC // * secondly, if this is an exported version of the code, GIT_ARCHIVE will // be defined (automatically using the export-subst git attribute), and // GIT_COMMIT will contain the commit id. // * then, three options exist for determining CLIENT_BUILD: // * if BUILD_DESC is defined, use that literally (output of git-describe) // * if not, but GIT_COMMIT is defined, use v[maj].[min].[rev].[build]-g[commit] // * otherwise, use v[maj].[min].[rev].[build]-unk // finally CLIENT_VERSION_SUFFIX is added // First, include build.h if requested #ifdef HAVE_BUILD_INFO # include "build.h" #endif // git will put "#define GIT_ARCHIVE 1" on the next line inside archives. #define GIT_ARCHIVE 1 #ifdef GIT_ARCHIVE # define GIT_COMMIT_ID "8c5e74e" # define GIT_COMMIT_DATE "2022-03-05 11:47:21 +0000" #endif #define BUILD_DESC_FROM_COMMIT(maj,min,rev,build,commit) \ "v" DO_STRINGIZE(maj) "." DO_STRINGIZE(min) "." DO_STRINGIZE(rev) "." DO_STRINGIZE(build) "-g" commit #define BUILD_DESC_FROM_UNKNOWN(maj,min,rev,build) \ "v" DO_STRINGIZE(maj) "." DO_STRINGIZE(min) "." DO_STRINGIZE(rev) "." DO_STRINGIZE(build) "-unk" #ifndef BUILD_DESC # ifdef GIT_COMMIT_ID # define BUILD_DESC BUILD_DESC_FROM_COMMIT(CLIENT_VERSION_MAJOR, CLIENT_VERSION_MINOR, CLIENT_VERSION_REVISION, CLIENT_VERSION_BUILD, GIT_COMMIT_ID) # else # define BUILD_DESC BUILD_DESC_FROM_UNKNOWN(CLIENT_VERSION_MAJOR, CLIENT_VERSION_MINOR, CLIENT_VERSION_REVISION, CLIENT_VERSION_BUILD) # endif #endif #ifndef BUILD_DATE # ifdef GIT_COMMIT_DATE # define BUILD_DATE GIT_COMMIT_DATE # else # define BUILD_DATE __DATE__ ", " __TIME__ # endif #endif const std::string CLIENT_BUILD(BUILD_DESC CLIENT_VERSION_SUFFIX); const std::string CLIENT_DATE(BUILD_DATE);
BlakeBitcoin/BlakeBitcoin
src/version.cpp
C++
mit
2,628
import base64 import demistomock as demisto from WildFireReports import main import requests_mock def test_wildfire_report(mocker): """ Given: A sha256 represents a file uploaded to WildFire. When: internal-wildfire-get-report command is running. Then: Ensure that the command is running as expected. """ mock_sha256 = 'abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890' mocker.patch.object(demisto, 'command', return_value='internal-wildfire-get-report') mocker.patch.object(demisto, 'params', return_value={'server': 'https://test.com/', 'token': '123456'}) mocker.patch.object(demisto, 'args', return_value={'sha256': mock_sha256}) with open('test_data/response.pdf', 'rb') as file: file_content = b'' while byte := file.read(1): file_content += byte mocker.patch('WildFireReports.fileResult', return_value=file_content) # prevent file creation demisto_mock = mocker.patch.object(demisto, 'results') with requests_mock.Mocker() as m: m.post(f'https://test.com/publicapi/get/report?format=pdf&hash={mock_sha256}', content=file_content) main() assert demisto_mock.call_args_list[0][0][0]['data'] == base64.b64encode(file_content).decode() def test_report_not_found(mocker): """ Given: A sha256 represents a file not uploaded to WildFire. When: internal-wildfire-get-report command is running. Then: Ensure that the command is running as expected. """ mock_sha256 = 'abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567891' mocker.patch.object(demisto, 'command', return_value='internal-wildfire-get-report') mocker.patch.object(demisto, 'params', return_value={'server': 'https://test.com/', 'token': '123456'}) mocker.patch.object(demisto, 'args', return_value={'sha256': mock_sha256}) demisto_mock = mocker.patch.object(demisto, 'results') with requests_mock.Mocker() as m: m.post(f'https://test.com/publicapi/get/report?format=pdf&hash={mock_sha256}', status_code=404) main() assert demisto_mock.call_args[0][0] == {'status': 'not found'} def test_incorrect_sha256(mocker): """ Given: An incorrect sha256. When: internal-wildfire-get-report command is running. Then: Ensure that the command is running as expected. """ mock_sha256 = 'abcdef1234567890abcdef1234567890abcdef1234567890abcdef123456789' # The length is 63 insteadof 64 mocker.patch.object(demisto, 'command', return_value='internal-wildfire-get-report') mocker.patch.object(demisto, 'params', return_value={'server': 'https://test.com/', 'token': '123456'}) mocker.patch.object(demisto, 'args', return_value={'sha256': mock_sha256}) demisto_mock = mocker.patch.object(demisto, 'results') expected_description_error = 'Failed to download report.\nError:\nInvalid hash. Only SHA256 are supported.' main() assert demisto_mock.call_args_list[0].args[0].get('error', {}).get('description') == expected_description_error def test_incorrect_authorization(mocker): """ Given: An incorrect API token. When: test-module command is running. Then: Ensure that the command is running as expected. """ mocker.patch.object(demisto, 'command', return_value='test-module') mocker.patch.object(demisto, 'params', return_value={'server': 'https://test.com/', 'token': 'incorrect api token'}) demisto_mock = mocker.patch.object(demisto, 'results') expected_description_error = 'Authorization Error: make sure API Key is correctly set' url = 'https://test.com/publicapi/get/report' params = '?apikey=incorrect+api+token&format=pdf&hash=dca86121cc7427e375fd24fe5871d727' with requests_mock.Mocker() as m: m.post(url + params, status_code=401) main() assert demisto_mock.call_args_list[0].args[0] == expected_description_error def test_empty_api_token(mocker): """ Given: An empty API token. When: test-module command is running. Then: Ensure that the command is running as expected. """ mocker.patch.object(demisto, 'command', return_value='test-module') mocker.patch.object(demisto, 'params', return_value={'server': 'https://test.com/', 'token': ''}) mocker.patch.object(demisto, 'getLicenseCustomField', return_value=None) demisto_mock = mocker.patch('WildFireReports.return_error') expected_description_error = 'Authorization Error: It\'s seems that the token is empty and you have not a ' \ 'TIM license that is up-to-date, Please fill the token or update your TIM license ' \ 'and try again.' main() assert demisto_mock.call_args_list[0].args[0] == expected_description_error
VirusTotal/content
Packs/Palo_Alto_Networks_WildFire/Integrations/WildFireReports/WildFireReports_test.py
Python
mit
4,906
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminLTE 2 | Boxed Layout</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Bootstrap 3.3.5 --> <link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css"> <!-- Font Awesome --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> <!-- Theme style --> <link rel="stylesheet" href="../../dist/css/AdminLTE.min.css"> <!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. --> <link rel="stylesheet" href="../../dist/css/skins/_all-skins.min.css"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <!-- ADD THE CLASS layout-boxed TO GET A BOXED LAYOUT --> <body class="hold-transition skin-blue layout-boxed sidebar-mini"> <!-- Site wrapper --> <div class="wrapper"> <header class="main-header"> <!-- Logo --> <a href="../../index2.html" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels --> <span class="logo-mini"><b>A</b>LT</span> <!-- logo for regular state and mobile devices --> <span class="logo-lg"><b>Admin</b>LTE</span> </a> <!-- Header Navbar: style can be found in header.less --> <nav class="navbar navbar-static-top" role="navigation"> <!-- Sidebar toggle button--> <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> </a> <div class="navbar-custom-menu"> <ul class="nav navbar-nav"> <!-- Messages: style can be found in dropdown.less--> <li class="dropdown messages-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-envelope-o"></i> <span class="label label-success">4</span> </a> <ul class="dropdown-menu"> <li class="header">You have 4 messages</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu"> <li><!-- start message --> <a href="#"> <div class="pull-left"> <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image"> </div> <h4> Support Team <small><i class="fa fa-clock-o"></i> 5 mins</small> </h4> <p>Why not buy a new awesome theme?</p> </a> </li><!-- end message --> </ul> </li> <li class="footer"><a href="#">See All Messages</a></li> </ul> </li> <!-- Notifications: style can be found in dropdown.less --> <li class="dropdown notifications-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-bell-o"></i> <span class="label label-warning">10</span> </a> <ul class="dropdown-menu"> <li class="header">You have 10 notifications</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu"> <li> <a href="#"> <i class="fa fa-users text-aqua"></i> 5 new members joined today </a> </li> </ul> </li> <li class="footer"><a href="#">View all</a></li> </ul> </li> <!-- Tasks: style can be found in dropdown.less --> <li class="dropdown tasks-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-flag-o"></i> <span class="label label-danger">9</span> </a> <ul class="dropdown-menu"> <li class="header">You have 9 tasks</li> <li> <!-- inner menu: contains the actual data --> <ul class="menu"> <li><!-- Task item --> <a href="#"> <h3> Design some buttons <small class="pull-right">20%</small> </h3> <div class="progress xs"> <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"> <span class="sr-only">20% Complete</span> </div> </div> </a> </li><!-- end task item --> </ul> </li> <li class="footer"> <a href="#">View all tasks</a> </li> </ul> </li> <!-- User Account: style can be found in dropdown.less --> <li class="dropdown user user-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image"> <span class="hidden-xs">Alexander Pierce</span> </a> <ul class="dropdown-menu"> <!-- User image --> <li class="user-header"> <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image"> <p> Alexander Pierce - Web Developer <small>Member since Nov. 2012</small> </p> </li> <!-- Menu Body --> <li class="user-body"> <div class="col-xs-4 text-center"> <a href="#">Followers</a> </div> <div class="col-xs-4 text-center"> <a href="#">Sales</a> </div> <div class="col-xs-4 text-center"> <a href="#">Friends</a> </div> </li> <!-- Menu Footer--> <li class="user-footer"> <div class="pull-left"> <a href="#" class="btn btn-default btn-flat">Profile</a> </div> <div class="pull-right"> <a href="#" class="btn btn-default btn-flat">Sign out</a> </div> </li> </ul> </li> <!-- Control Sidebar Toggle Button --> <li> <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a> </li> </ul> </div> </nav> </header> <!-- =============================================== --> <!-- Left side column. contains the sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel --> <div class="user-panel"> <div class="pull-left image"> <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image"> </div> <div class="pull-left info"> <p>Alexander Pierce</p> <a href="#"><i class="fa fa-circle text-success"></i> Online</a> </div> </div> <!-- search form --> <form action="#" method="get" class="sidebar-form"> <div class="input-group"> <input type="text" name="q" class="form-control" placeholder="Search..."> <span class="input-group-btn"> <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button> </span> </div> </form> <!-- /.search form --> <!-- sidebar menu: : style can be found in sidebar.less --> <ul class="sidebar-menu"> <li class="header">MAIN NAVIGATION</li> <li class="treeview"> <a href="#"> <i class="fa fa-dashboard"></i> <span>Dashboard</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="../../index.php"><i class="fa fa-circle-o"></i> Dashboard v1</a></li> <li><a href="../../index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li> </ul> </li> <li class="treeview active"> <a href="#"> <i class="fa fa-files-o"></i> <span>Layout Options</span> <span class="label label-primary pull-right">4</span> </a> <ul class="treeview-menu"> <li><a href="top-nav.html"><i class="fa fa-circle-o"></i> Top Navigation</a></li> <li class="active"><a href="boxed.html"><i class="fa fa-circle-o"></i> Boxed</a></li> <li><a href="fixed.html"><i class="fa fa-circle-o"></i> Fixed</a></li> <li><a href="collapsed-sidebar.html"><i class="fa fa-circle-o"></i> Collapsed Sidebar</a></li> </ul> </li> <li> <a href="../widgets.html"> <i class="fa fa-th"></i> <span>Widgets</span> <small class="label pull-right bg-green">new</small> </a> </li> <li class="treeview"> <a href="#"> <i class="fa fa-pie-chart"></i> <span>Charts</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="../charts/chartjs.html"><i class="fa fa-circle-o"></i> ChartJS</a></li> <li><a href="../charts/morris.html"><i class="fa fa-circle-o"></i> Morris</a></li> <li><a href="../charts/flot.html"><i class="fa fa-circle-o"></i> Flot</a></li> <li><a href="../charts/inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li> </ul> </li> <li class="treeview"> <a href="#"> <i class="fa fa-laptop"></i> <span>UI Elements</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="../UI/general.html"><i class="fa fa-circle-o"></i> General</a></li> <li><a href="../UI/icons.html"><i class="fa fa-circle-o"></i> Icons</a></li> <li><a href="../UI/buttons.html"><i class="fa fa-circle-o"></i> Buttons</a></li> <li><a href="../UI/sliders.html"><i class="fa fa-circle-o"></i> Sliders</a></li> <li><a href="../UI/timeline.html"><i class="fa fa-circle-o"></i> Timeline</a></li> <li><a href="../UI/modals.html"><i class="fa fa-circle-o"></i> Modals</a></li> </ul> </li> <li class="treeview"> <a href="#"> <i class="fa fa-edit"></i> <span>Forms</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="../forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li> <li><a href="../forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li> <li><a href="../forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li> </ul> </li> <li class="treeview"> <a href="#"> <i class="fa fa-table"></i> <span>Tables</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="../tables/simple.html"><i class="fa fa-circle-o"></i> Simple tables</a></li> <li><a href="../tables/data.html"><i class="fa fa-circle-o"></i> Data tables</a></li> </ul> </li> <li> <a href="../calendar.html"> <i class="fa fa-calendar"></i> <span>Calendar</span> <small class="label pull-right bg-red">3</small> </a> </li> <li> <a href="../mailbox/mailbox.html"> <i class="fa fa-envelope"></i> <span>Mailbox</span> <small class="label pull-right bg-yellow">12</small> </a> </li> <li class="treeview"> <a href="#"> <i class="fa fa-folder"></i> <span>Examples</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="../examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li> <li><a href="../examples/profile.html"><i class="fa fa-circle-o"></i> Profile</a></li> <li><a href="../examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li> <li><a href="../examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li> <li><a href="../examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li> <li><a href="../examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li> <li><a href="../examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li> <li><a href="../examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li> </ul> </li> <li class="treeview"> <a href="#"> <i class="fa fa-share"></i> <span>Multilevel</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li> <li> <a href="#"><i class="fa fa-circle-o"></i> Level One <i class="fa fa-angle-left pull-right"></i></a> <ul class="treeview-menu"> <li><a href="#"><i class="fa fa-circle-o"></i> Level Two</a></li> <li> <a href="#"><i class="fa fa-circle-o"></i> Level Two <i class="fa fa-angle-left pull-right"></i></a> <ul class="treeview-menu"> <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li> <li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li> </ul> </li> </ul> </li> <li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li> </ul> </li> <li><a href="../../documentation/index.html"><i class="fa fa-book"></i> <span>Documentation</span></a></li> <li class="header">LABELS</li> <li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>Important</span></a></li> <li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li> <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li> </ul> </section> <!-- /.sidebar --> </aside> <!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Boxed Layout <small>Blank example to the boxed layout</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li><a href="#">Layout</a></li> <li class="active">Boxed</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="callout callout-info"> <h4>Tip!</h4> <p>Add the layout-boxed class to the body tag to get this layout. The boxed layout is helpful when working on large screens because it prevents the site from stretching very wide.</p> </div> <!-- Default box --> <div class="box"> <div class="box-header with-border"> <h3 class="box-title">Title</h3> <div class="box-tools pull-right"> <button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button> <button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button> </div> </div> <div class="box-body"> Start creating your amazing application! </div><!-- /.box-body --> <div class="box-footer"> Footer </div><!-- /.box-footer--> </div><!-- /.box --> </section><!-- /.content --> </div><!-- /.content-wrapper --> <footer class="main-footer"> <div class="pull-right hidden-xs"> <b>Version</b> 2.3.0 </div> <strong>Copyright &copy; 2014-2015 <a href="http://almsaeedstudio.com">Almsaeed Studio</a>.</strong> All rights reserved. </footer> <!-- Control Sidebar --> <aside class="control-sidebar control-sidebar-dark"> <!-- Create the tabs --> <ul class="nav nav-tabs nav-justified control-sidebar-tabs"> <li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li> <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <!-- Home tab content --> <div class="tab-pane" id="control-sidebar-home-tab"> <h3 class="control-sidebar-heading">Recent Activity</h3> <ul class="control-sidebar-menu"> <li> <a href="javascript::;"> <i class="menu-icon fa fa-birthday-cake bg-red"></i> <div class="menu-info"> <h4 class="control-sidebar-subheading">Langdon's Birthday</h4> <p>Will be 23 on April 24th</p> </div> </a> </li> <li> <a href="javascript::;"> <i class="menu-icon fa fa-user bg-yellow"></i> <div class="menu-info"> <h4 class="control-sidebar-subheading">Frodo Updated His Profile</h4> <p>New phone +1(800)555-1234</p> </div> </a> </li> <li> <a href="javascript::;"> <i class="menu-icon fa fa-envelope-o bg-light-blue"></i> <div class="menu-info"> <h4 class="control-sidebar-subheading">Nora Joined Mailing List</h4> <p>nora@example.com</p> </div> </a> </li> <li> <a href="javascript::;"> <i class="menu-icon fa fa-file-code-o bg-green"></i> <div class="menu-info"> <h4 class="control-sidebar-subheading">Cron Job 254 Executed</h4> <p>Execution time 5 seconds</p> </div> </a> </li> </ul><!-- /.control-sidebar-menu --> <h3 class="control-sidebar-heading">Tasks Progress</h3> <ul class="control-sidebar-menu"> <li> <a href="javascript::;"> <h4 class="control-sidebar-subheading"> Custom Template Design <span class="label label-danger pull-right">70%</span> </h4> <div class="progress progress-xxs"> <div class="progress-bar progress-bar-danger" style="width: 70%"></div> </div> </a> </li> <li> <a href="javascript::;"> <h4 class="control-sidebar-subheading"> Update Resume <span class="label label-success pull-right">95%</span> </h4> <div class="progress progress-xxs"> <div class="progress-bar progress-bar-success" style="width: 95%"></div> </div> </a> </li> <li> <a href="javascript::;"> <h4 class="control-sidebar-subheading"> Laravel Integration <span class="label label-warning pull-right">50%</span> </h4> <div class="progress progress-xxs"> <div class="progress-bar progress-bar-warning" style="width: 50%"></div> </div> </a> </li> <li> <a href="javascript::;"> <h4 class="control-sidebar-subheading"> Back End Framework <span class="label label-primary pull-right">68%</span> </h4> <div class="progress progress-xxs"> <div class="progress-bar progress-bar-primary" style="width: 68%"></div> </div> </a> </li> </ul><!-- /.control-sidebar-menu --> </div><!-- /.tab-pane --> <!-- Stats tab content --> <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div><!-- /.tab-pane --> <!-- Settings tab content --> <div class="tab-pane" id="control-sidebar-settings-tab"> <form method="post"> <h3 class="control-sidebar-heading">General Settings</h3> <div class="form-group"> <label class="control-sidebar-subheading"> Report panel usage <input type="checkbox" class="pull-right" checked> </label> <p> Some information about this general settings option </p> </div><!-- /.form-group --> <div class="form-group"> <label class="control-sidebar-subheading"> Allow mail redirect <input type="checkbox" class="pull-right" checked> </label> <p> Other sets of options are available </p> </div><!-- /.form-group --> <div class="form-group"> <label class="control-sidebar-subheading"> Expose author name in posts <input type="checkbox" class="pull-right" checked> </label> <p> Allow the user to show his name in blog posts </p> </div><!-- /.form-group --> <h3 class="control-sidebar-heading">Chat Settings</h3> <div class="form-group"> <label class="control-sidebar-subheading"> Show me as online <input type="checkbox" class="pull-right" checked> </label> </div><!-- /.form-group --> <div class="form-group"> <label class="control-sidebar-subheading"> Turn off notifications <input type="checkbox" class="pull-right"> </label> </div><!-- /.form-group --> <div class="form-group"> <label class="control-sidebar-subheading"> Delete chat history <a href="javascript::;" class="text-red pull-right"><i class="fa fa-trash-o"></i></a> </label> </div><!-- /.form-group --> </form> </div><!-- /.tab-pane --> </div> </aside><!-- /.control-sidebar --> <!-- Add the sidebar's background. This div must be placed immediately after the control sidebar --> <div class="control-sidebar-bg"></div> </div><!-- ./wrapper --> <!-- jQuery 2.1.4 --> <script src="../../plugins/jQuery/jQuery-2.1.4.min.js"></script> <!-- Bootstrap 3.3.5 --> <script src="../../bootstrap/js/bootstrap.min.js"></script> <!-- SlimScroll --> <script src="../../plugins/slimScroll/jquery.slimscroll.min.js"></script> <!-- FastClick --> <script src="../../plugins/fastclick/fastclick.min.js"></script> <!-- AdminLTE App --> <script src="../../dist/js/app.min.js"></script> <!-- AdminLTE for demo purposes --> <script src="../../dist/js/demo.js"></script> </body> </html>
redangel1993/anaptu3h_efarmogwn
pages/layout/boxed.html
HTML
mit
26,444
using System; using System.Collections.Generic; using System.Globalization; using System.Runtime.Serialization; using uWebshop.Domain; using uWebshop.Domain.Helpers; using uWebshop.Domain.Interfaces; namespace uWebshop.API { [DataContract(Namespace = "")] internal class BasketStore : IStore { private readonly Domain.Store _store; public BasketStore(Domain.Store store) { _store = store; Id = store.Id; Alias = store.Alias; TypeAlias = store.TypeAlias; } public BasketStore(StoreInfo info) : this(info.Store) { Alias = info.Alias; } [DataMember] public int Id { get; set; } [DataMember] public string TypeAlias { get; private set; } [DataMember] public string Culture { get { return _store.Culture; } } [DataMember] public string Alias { get; set; } [DataMember] public string CountryCode { get { return _store.CountryCode; } } [DataMember] public string DefaultCountryCode { get { return _store.DefaultCountryCode; } } [DataMember] public string CurrencyCulture { get { return _store.CountryCode; } } [IgnoreDataMember] public IEnumerable<ICurrency> Currencies { get { return _store.Currencies; } } [IgnoreDataMember] public CultureInfo DefaultCurrencyCultureInfo { get { return _store.DefaultCurrencyCultureInfo; } } [DataMember] public string DefaultCurrencyCultureSymbol { get { return _store.DefaultCurrencyCultureSymbol; } } [IgnoreDataMember] public CultureInfo CultureInfo { get { return _store.CultureInfo; } } [DataMember] public decimal GlobalVat { get { return _store.GlobalVat; } } [DataMember] public bool Testmode { get { return _store.Testmode; } } [DataMember] public string StoreUrlWithoutDomain { get { return _store.StoreUrlWithoutDomain; } } [DataMember] public string EmailAddressFrom { get { return _store.EmailAddressFrom; } } [DataMember] public string EmailAddressFromName { get { return _store.EmailAddressFromName; } } [DataMember] public string EmailAddressTo { get { return _store.EmailAddressTo; } } [DataMember] public string StoreURL { get { return _store.StoreURL; } } public IEnumerable<int> GetConnectedNodes { get { return _store.GetConnectedNodes; } } [IgnoreDataMember] public bool Disabled { get { return _store.Disabled; } } [IgnoreDataMember] public DateTime CreateDate { get { return _store.CreateDate; } } [IgnoreDataMember] public DateTime UpdateDate { get { return _store.UpdateDate; } } [DataMember] public int SortOrder { get { return _store.SortOrder; } } } }
uWebshop/uWebshop-Releases
Core/uWebshop.Domain/API/DataClasses/BasketStore.cs
C#
mit
2,701
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Claims; using Ascon.Pilot.Core; using Ascon.Pilot.Server.Api; using Ascon.Pilot.Server.Api.Contracts; using Ascon.Pilot.Transport; using Microsoft.AspNet.Http; using ISession = Microsoft.AspNet.Http.Features.ISession; namespace Ascon.Pilot.WebClient.Extensions { public static class SessionExt { public static IDictionary<int, MType> GetMetatypes(this ISession session) { return session.GetSessionValues<IDictionary<int, MType>>(SessionKeys.MetaTypes); } /// <summary> /// Set value of type <typeparam name="T">T</typeparam> at session dictionary using protobuf-net /// </summary> /// <typeparam name="T">type of value to set. Must be proto-serializable</typeparam> /// <param name="session">session to add values</param> /// <param name="key">key of value</param> /// <param name="value">value to set</param> public static void SetSessionValues<T>(this ISession session, string key, T value) { using (var bs = new MemoryStream()) { ProtoBuf.Serializer.Serialize(bs, value); session.Set(key, bs.ToArray()); } } /// <summary> /// Deserialize values if type T from session dictionary using protobuf-net /// </summary> /// <typeparam name="T">type of value</typeparam> /// <param name="session">Session where values located</param> /// <param name="key">key of values in dictionary</param> /// <returns></returns> public static T GetSessionValues<T>(this ISession session, string key) { var val = session.Get(key); if (val == null) return default(T); using (var bs = new MemoryStream(val)) { return ProtoBuf.Serializer.Deserialize<T>(bs); } } } public static class HttpContextClientsStorage { private static readonly Dictionary<Guid, HttpPilotClient> ClientsDictionary = new Dictionary<Guid, HttpPilotClient>(); public static HttpPilotClient GetClient(this HttpContext context) { var clientIdString = context.User.FindFirstValue(ClaimTypes.Sid); if (string.IsNullOrEmpty(clientIdString)) return null; var clientId = Guid.Parse(clientIdString); if (ClientsDictionary.ContainsKey(clientId)) { var client = ClientsDictionary[clientId]; if (client.IsClientActive()) return client; } return null; } public static void SetClient(this HttpContext context, HttpPilotClient client, Guid clientId) { ClientsDictionary[clientId] = client; } public static IServerApi GetServerApi(this HttpContext context, IServerCallback callback = null) { if (callback == null) callback = CallbackFactory.Get<IServerCallback>(); var client = context.GetClient(); if (client == null) client = Reconnect(context, callback); return client.GetServerApi(callback); } private static HttpPilotClient Reconnect(HttpContext context, IServerCallback callback) { var client = new HttpPilotClient(); client.Connect(ApplicationConst.PilotServerUrl); var serverApi = client.GetServerApi(callback); var dbName = context.User.FindFirstValue(ClaimTypes.Surname); var login = context.User.FindFirstValue(ClaimTypes.Name); var protectedPassword = context.User.FindFirstValue(ClaimTypes.UserData); var useWindowsAuth = login.Contains("/") || login.Contains("\\"); var dbInfo = serverApi.OpenDatabase(dbName, login, protectedPassword, useWindowsAuth); if (dbInfo == null) throw new TransportException(); var clientIdString = context.User.FindFirstValue(ClaimTypes.Sid); ClientsDictionary[Guid.Parse(clientIdString)] = client; DMetadata dMetadata = serverApi.GetMetadata(dbInfo.MetadataVersion); context.Session.SetSessionValues(SessionKeys.MetaTypes, dMetadata.Types.ToDictionary(x => x.Id, y => y)); return client; } } }
perminov-aleksandr/askon-pilot-client-asp
src/Ascon.Pilot.WebClient/Extensions/ClientsStorage.cs
C#
mit
4,520
package io.swagger.client.api; import io.swagger.client.ApiClient; import io.swagger.client.model.InlineResponse200; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * API tests for StoriesApi */ public class StoriesApiTest { private StoriesApi api; @Before public void setup() { api = new ApiClient().createService(StoriesApi.class); } /** * Top Stories * * The Top Stories API provides JSON and JSONP lists of articles and associated images by section. */ @Test public void sectionFormatGetTest() { String section = null; String format = null; String callback = null; // InlineResponse200 response = api.sectionFormatGet(section, format, callback); // TODO: test validations } }
amardeshbd/android-daily-headlines
api-lib/src/test/java/io/swagger/client/api/StoriesApiTest.java
Java
mit
903
require 'calabash-android/operations' INSTALLATION_STATE = { :installed => false } Before do |scenario| $calabashQueryView = self scenario_tags = scenario.source_tag_names if !INSTALLATION_STATE[:installed] uninstall_apps install_app(ENV['TEST_APP_PATH']) install_app(ENV['APP_PATH']) INSTALLATION_STATE[:installed] = true end if scenario_tags.include?('@reinstall') clear_app_data end start_test_server_in_background end After do |scenario| shutdown_test_server end
RuudPuts/CalabashTesting
features/android/support/app_life_cycle_hooks.rb
Ruby
mit
521
<!DOCTYPE html> <!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> <!-- Mirrored from webnus.biz/themes/florida/icons.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 11 Aug 2014 22:32:24 GMT --> <head> <!-- Basic Page Needs ================================================== --> <meta charset="utf-8"> <title>Florida</title> <meta name="description" content=""> <meta name="author" content=""> <!-- Mobile Specific Metas ================================================== --> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <!-- CSS ================================================== --> <link rel="stylesheet" href="css/style.css" type="text/css" media="all"> <link href="http://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700|Roboto+Slab:300,400" rel="stylesheet" type="text/css"> <!-- JS ================================================== --> <script type="text/javascript" src="js/jquery.min.js" ></script> <!--[if lt IE 9]> <script src="js/modernizr.custom.11889.js" type="text/javascript"></script> <![endif]--> <!-- HTML5 Shiv events (end)--> <!-- Favicons ================================================== --> <link rel="shortcut icon" href="images/favicon.ico"> </head> <body> <!-- Primary Page Layout ================================================== --> <div id="wrap" class="colorskin-0"> <div id="sticker"> <header id="header"> <div class="container"> <div class="four columns"> <div class="logo"><a href="index-2.html"><img src="images/logo.png" width="150" id="img-logo" alt="logo"></a></div> </div> <!-- Navigation starts ================================================== --> <nav id="nav-wrap" class="nav-wrap1 twelve columns"> <div id="search-form"> <form action="#" method="get"> <input type="text" class="search-text-box" id="search-box"> </form> </div> <ul id="nav"> <li><a href="index-2.html">Home</a> <ul> <li><a href="index-2.html">Home 1 - Index</a></li> <li><a href="home2.html">Home 2 - Classic</a></li> <li><a href="home3.html">Home 3 - Parallax</a></li> <li><a href="home4.html">Home 4 - Video-bg</a></li> <li class="submenu"><a href="#">Headers</a> <ul> <li><a href="topbar.html">Header + Topbar</a></li> <li><a href="header2.html">Header 2</a></li> <li><a href="header3.html">Header 3</a></li> <li><a href="header4.html">Header 4</a></li> <li><a href="header5.html">Header 5</a></li> <li><a href="header6-menu-icon.html">Header 6 - Menu Icon</a></li> <li><a href="header7.html">Header 7</a></li> </ul> </li> </ul> </li> <li><a href="#">Pages</a> <ul> <li><a href="services.html">Services</a></li> <li><a href="about.html">About us</a></li> <li><a href="about-extended.html">About us - Extended</a></li> <li><a href="about-me.html">About me</a></li> <li><a href="process.html">Process</a></li> <li><a href="ourteam.html">Our team</a></li> <li><a href="sidebar-right.html">Right Side-Bar</a></li> <li><a href="sidebar-left.html">Left Side-Bar</a></li> <li><a href="faq.html">FAQ</a></li> <li><a href="contact.html">Contact</a></li> <li><a href="404.html">404 Not Found</a></li> </ul> </li> <li class="current"><a href="#">Features</a> <ul> <li class="submenu"><a href="#">Shop</a> <ul> <li><a href="shop.html">Shop 1</a></li> <li><a href="shop2.html">Shop 2</a></li> <li><a href="product-item.html">Product</a></li> </ul> </li> <li><a href="elements.html">Elements</a></li> <li><a href="icon-boxes.html">Icons Boxes</a></li> <li class="current"><a href="icons.html">Icons</a></li> <li><a href="pricing.html">Pricing Tables</a></li> <li><a href="gallery.html">Image Gallery</a></li> <li><a href="columns.html">Columns</a></li> <li><a href="timeline1.html">Timeline</a></li> <li><a href="left-nav-page.html">Left Navigation</a></li> <li class="submenu"><a href="#">Sub Menu</a> <ul> <li><a href="#">Menu Item 01</a></li> <li><a href="#">Menu Item 02</a></li> <li><a href="#">Menu Item 03</a></li> </ul> </li> </ul> </li> <li><a href="blog.html">Blog</a> <ul> <li><a href="blog.html">Blog 1</a></li> <li><a href="blog-leftsidebar.html">Blog 1 - Left Sidebar</a></li> <li><a href="blog2.html">Blog 2</a></li> <li><a href="blog2-leftsidebar.html">Blog 2 - Left Sidebar</a></li> <li><a href="blog-bothsidebar.html">Blog - Both Sidebar</a></li> <li><a href="timeline1.html">Blog - Timeline</a></li> <li><a href="blog-single.html">Blog - Single Post</a></li> </ul> </li> <li><a href="portfolio.html">Work</a> <ul> <li><a href="portfolio.html">Portfolio</a></li> <li><a href="portfolio-pin.html">Portfolio Pinterest</a></li> <li><a href="timeline2.html">Portfolio Timeline</a></li> <li><a href="portfolio-item.html">Portfolio Item (Single)</a></li> </ul> </li> <li><a href="blog.html">Mega menu</a> <ul class="mega"> <div class="one_third"> <h4 class="subtitle">Contact Form</h4> <form action="#" method="post" class="frmContact"> <input name="txtName" type="text" class="txbx" value="Name" /> <input name="txtEmail" type="text" class="txbx" value="Email" /> <input name="txtSubject" type="text" class="txbx" value="Subject" /> <textarea name="txtText" class="txbx era" ></textarea> <button name="" type="button" class="sendbtn btnSend" >Send Message</button> </form> </div> <div class="one_third"> <h4 class="subtitle">Image and Text</h4> <img src="images/hpic1.jpg" alt=""><br> <h6><strong>Phasellus bibendum</strong></h6> <p>In non porttitor tortor. Donec vel egestas Morlem adipiscing mauris ultricies.</p> </div> <div class="one_third"> <h4 class="subtitle">Icon Links</h4> <li><a href="#"><i class="icomoon-dashboard"></i> Proin porta molestie</a></li> <li><a href="#"><i class="icomoon-marker-2"></i> Praesent adipiscing</a></li> <li><a href="#"><i class="icomoon-cube4"></i> Faucibus euismod</a></li> <li><a href="#"><i class="icomoon-screen"></i> Integer nec ligula</a></li> <li><a href="#"><i class="icomoon-laptop"></i> Adipiscing timeline</a></li> <li><a href="#"><i class="icomoon-earth"></i> Bliquam erat Post</a></li> </div> </ul> </li> </ul> </nav> <!-- /nav-wrap --> <!-- Navigation ends ================================================== --> </div> <div id="search-form2"> <form action="#" method="get"> <input type="text" class="search-text-box2"> </form> </div> </header> </div> <!-- end-header --> <section id="main-timeline"> <div class="container page-content" > <section class="mtm clearfix" id="glyphs"> <header> <h1>1200+ Vector Icons</h1><p>Generated by <a href="http://icomoon.io/">IcoMoon.io</a></p> </header> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home"></span> &nbsp;icomoon-home </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-2"></span> &nbsp;icomoon-home-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-3"></span> &nbsp;icomoon-home-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-4"></span> &nbsp;icomoon-home-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-5"></span> &nbsp;icomoon-home-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-6"></span> &nbsp;icomoon-home-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-7"></span> &nbsp;icomoon-home-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-8"></span> &nbsp;icomoon-home-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-9"></span> &nbsp;icomoon-home-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-10"></span> &nbsp;icomoon-home-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-office"></span> &nbsp;icomoon-office </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-newspaper"></span> &nbsp;icomoon-newspaper </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pencil"></span> &nbsp;icomoon-pencil </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pencil-2"></span> &nbsp;icomoon-pencil-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pencil-3"></span> &nbsp;icomoon-pencil-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pencil-4"></span> &nbsp;icomoon-pencil-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pencil-5"></span> &nbsp;icomoon-pencil-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pencil-6"></span> &nbsp;icomoon-pencil-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-quill"></span> &nbsp;icomoon-quill </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-quill-2"></span> &nbsp;icomoon-quill-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-quill-3"></span> &nbsp;icomoon-quill-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pen"></span> &nbsp;icomoon-pen </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pen-2"></span> &nbsp;icomoon-pen-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pen-3"></span> &nbsp;icomoon-pen-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pen-4"></span> &nbsp;icomoon-pen-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pen-5"></span> &nbsp;icomoon-pen-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-marker"></span> &nbsp;icomoon-marker </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-11"></span> &nbsp;icomoon-home-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-marker-2"></span> &nbsp;icomoon-marker-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-blog"></span> &nbsp;icomoon-blog </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-blog-2"></span> &nbsp;icomoon-blog-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-brush"></span> &nbsp;icomoon-brush </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-palette"></span> &nbsp;icomoon-palette </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-palette-2"></span> &nbsp;icomoon-palette-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eyedropper"></span> &nbsp;icomoon-eyedropper </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eyedropper-2"></span> &nbsp;icomoon-eyedropper-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-droplet"></span> &nbsp;icomoon-droplet </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-droplet-2"></span> &nbsp;icomoon-droplet-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-droplet-3"></span> &nbsp;icomoon-droplet-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-droplet-4"></span> &nbsp;icomoon-droplet-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paint-format"></span> &nbsp;icomoon-paint-format </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paint-format-2"></span> &nbsp;icomoon-paint-format-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-image"></span> &nbsp;icomoon-image </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-image-2"></span> &nbsp;icomoon-image-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-image-3"></span> &nbsp;icomoon-image-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-images"></span> &nbsp;icomoon-images </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-image-4"></span> &nbsp;icomoon-image-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-image-5"></span> &nbsp;icomoon-image-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-image-6"></span> &nbsp;icomoon-image-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-images-2"></span> &nbsp;icomoon-images-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-image-7"></span> &nbsp;icomoon-image-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera"></span> &nbsp;icomoon-camera </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-2"></span> &nbsp;icomoon-camera-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-3"></span> &nbsp;icomoon-camera-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-4"></span> &nbsp;icomoon-camera-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-music"></span> &nbsp;icomoon-music </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-music-2"></span> &nbsp;icomoon-music-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-music-3"></span> &nbsp;icomoon-music-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-music-4"></span> &nbsp;icomoon-music-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-music-5"></span> &nbsp;icomoon-music-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-music-6"></span> &nbsp;icomoon-music-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-piano"></span> &nbsp;icomoon-piano </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-guitar"></span> &nbsp;icomoon-guitar </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-headphones"></span> &nbsp;icomoon-headphones </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-headphones-2"></span> &nbsp;icomoon-headphones-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-play"></span> &nbsp;icomoon-play </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-play-2"></span> &nbsp;icomoon-play-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-movie"></span> &nbsp;icomoon-movie </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-movie-2"></span> &nbsp;icomoon-movie-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-movie-3"></span> &nbsp;icomoon-movie-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-film"></span> &nbsp;icomoon-film </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-film-2"></span> &nbsp;icomoon-film-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-film-3"></span> &nbsp;icomoon-film-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-film-4"></span> &nbsp;icomoon-film-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-5"></span> &nbsp;icomoon-camera-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-6"></span> &nbsp;icomoon-camera-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-7"></span> &nbsp;icomoon-camera-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-8"></span> &nbsp;icomoon-camera-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-camera-9"></span> &nbsp;icomoon-camera-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-dice"></span> &nbsp;icomoon-dice </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gamepad"></span> &nbsp;icomoon-gamepad </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gamepad-2"></span> &nbsp;icomoon-gamepad-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gamepad-3"></span> &nbsp;icomoon-gamepad-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pacman"></span> &nbsp;icomoon-pacman </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spades"></span> &nbsp;icomoon-spades </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clubs"></span> &nbsp;icomoon-clubs </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-diamonds"></span> &nbsp;icomoon-diamonds </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-king"></span> &nbsp;icomoon-king </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-queen"></span> &nbsp;icomoon-queen </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rock"></span> &nbsp;icomoon-rock </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bishop"></span> &nbsp;icomoon-bishop </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-knight"></span> &nbsp;icomoon-knight </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pawn"></span> &nbsp;icomoon-pawn </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-chess"></span> &nbsp;icomoon-chess </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bullhorn"></span> &nbsp;icomoon-bullhorn </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-megaphone"></span> &nbsp;icomoon-megaphone </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-new"></span> &nbsp;icomoon-new </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-connection"></span> &nbsp;icomoon-connection </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-connection-2"></span> &nbsp;icomoon-connection-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-podcast"></span> &nbsp;icomoon-podcast </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-radio"></span> &nbsp;icomoon-radio </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-feed"></span> &nbsp;icomoon-feed </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-connection-3"></span> &nbsp;icomoon-connection-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-radio-2"></span> &nbsp;icomoon-radio-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-podcast-2"></span> &nbsp;icomoon-podcast-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-podcast-3"></span> &nbsp;icomoon-podcast-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mic"></span> &nbsp;icomoon-mic </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mic-2"></span> &nbsp;icomoon-mic-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mic-3"></span> &nbsp;icomoon-mic-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mic-4"></span> &nbsp;icomoon-mic-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mic-5"></span> &nbsp;icomoon-mic-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-book"></span> &nbsp;icomoon-book </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-book-2"></span> &nbsp;icomoon-book-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-books"></span> &nbsp;icomoon-books </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-reading"></span> &nbsp;icomoon-reading </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-library"></span> &nbsp;icomoon-library </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-library-2"></span> &nbsp;icomoon-library-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-graduation"></span> &nbsp;icomoon-graduation </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file"></span> &nbsp;icomoon-file </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-profile"></span> &nbsp;icomoon-profile </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-2"></span> &nbsp;icomoon-file-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-3"></span> &nbsp;icomoon-file-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-4"></span> &nbsp;icomoon-file-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-5"></span> &nbsp;icomoon-file-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-6"></span> &nbsp;icomoon-file-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-files"></span> &nbsp;icomoon-files </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-plus"></span> &nbsp;icomoon-file-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-minus"></span> &nbsp;icomoon-file-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-download"></span> &nbsp;icomoon-file-download </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-upload"></span> &nbsp;icomoon-file-upload </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-check"></span> &nbsp;icomoon-file-check </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-remove"></span> &nbsp;icomoon-file-remove </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-7"></span> &nbsp;icomoon-file-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-8"></span> &nbsp;icomoon-file-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-plus-2"></span> &nbsp;icomoon-file-plus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-minus-2"></span> &nbsp;icomoon-file-minus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-download-2"></span> &nbsp;icomoon-file-download-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-upload-2"></span> &nbsp;icomoon-file-upload-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-check-2"></span> &nbsp;icomoon-file-check-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-remove-2"></span> &nbsp;icomoon-file-remove-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-9"></span> &nbsp;icomoon-file-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-copy"></span> &nbsp;icomoon-copy </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-copy-2"></span> &nbsp;icomoon-copy-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-copy-3"></span> &nbsp;icomoon-copy-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-copy-4"></span> &nbsp;icomoon-copy-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paste"></span> &nbsp;icomoon-paste </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paste-2"></span> &nbsp;icomoon-paste-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paste-3"></span> &nbsp;icomoon-paste-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack"></span> &nbsp;icomoon-stack </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-2"></span> &nbsp;icomoon-stack-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-3"></span> &nbsp;icomoon-stack-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder"></span> &nbsp;icomoon-folder </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-download"></span> &nbsp;icomoon-folder-download </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-upload"></span> &nbsp;icomoon-folder-upload </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-plus"></span> &nbsp;icomoon-folder-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-plus-2"></span> &nbsp;icomoon-folder-plus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-minus"></span> &nbsp;icomoon-folder-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-minus-2"></span> &nbsp;icomoon-folder-minus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder8"></span> &nbsp;icomoon-folder8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-remove"></span> &nbsp;icomoon-folder-remove </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-2"></span> &nbsp;icomoon-folder-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-open"></span> &nbsp;icomoon-folder-open </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-3"></span> &nbsp;icomoon-folder-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-4"></span> &nbsp;icomoon-folder-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-plus-3"></span> &nbsp;icomoon-folder-plus-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-minus-3"></span> &nbsp;icomoon-folder-minus-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-plus-4"></span> &nbsp;icomoon-folder-plus-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-remove-2"></span> &nbsp;icomoon-folder-remove-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-download-2"></span> &nbsp;icomoon-folder-download-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-upload-2"></span> &nbsp;icomoon-folder-upload-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-download-3"></span> &nbsp;icomoon-folder-download-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-upload-3"></span> &nbsp;icomoon-folder-upload-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-5"></span> &nbsp;icomoon-folder-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-open-2"></span> &nbsp;icomoon-folder-open-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-6"></span> &nbsp;icomoon-folder-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-folder-open-3"></span> &nbsp;icomoon-folder-open-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-certificate"></span> &nbsp;icomoon-certificate </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cc"></span> &nbsp;icomoon-cc </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag"></span> &nbsp;icomoon-tag </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag-2"></span> &nbsp;icomoon-tag-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag-3"></span> &nbsp;icomoon-tag-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag-4"></span> &nbsp;icomoon-tag-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag-5"></span> &nbsp;icomoon-tag-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag-6"></span> &nbsp;icomoon-tag-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag-7"></span> &nbsp;icomoon-tag-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tags"></span> &nbsp;icomoon-tags </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tags-2"></span> &nbsp;icomoon-tags-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tag-8"></span> &nbsp;icomoon-tag-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-barcode"></span> &nbsp;icomoon-barcode </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-barcode-2"></span> &nbsp;icomoon-barcode-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-qrcode"></span> &nbsp;icomoon-qrcode </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-ticket"></span> &nbsp;icomoon-ticket </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart"></span> &nbsp;icomoon-cart </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-2"></span> &nbsp;icomoon-cart-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-3"></span> &nbsp;icomoon-cart-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-4"></span> &nbsp;icomoon-cart-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-5"></span> &nbsp;icomoon-cart-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-6"></span> &nbsp;icomoon-cart-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-7"></span> &nbsp;icomoon-cart-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-plus"></span> &nbsp;icomoon-cart-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-minus"></span> &nbsp;icomoon-cart-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-add"></span> &nbsp;icomoon-cart-add </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-remove"></span> &nbsp;icomoon-cart-remove </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-checkout"></span> &nbsp;icomoon-cart-checkout </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cart-remove-2"></span> &nbsp;icomoon-cart-remove-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-basket"></span> &nbsp;icomoon-basket </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-basket-2"></span> &nbsp;icomoon-basket-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bag"></span> &nbsp;icomoon-bag </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bag-2"></span> &nbsp;icomoon-bag-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bag-3"></span> &nbsp;icomoon-bag-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-coin"></span> &nbsp;icomoon-coin </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-coins"></span> &nbsp;icomoon-coins </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-credit"></span> &nbsp;icomoon-credit </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-credit-2"></span> &nbsp;icomoon-credit-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-calculate"></span> &nbsp;icomoon-calculate </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-calculate-2"></span> &nbsp;icomoon-calculate-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-support"></span> &nbsp;icomoon-support </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone"></span> &nbsp;icomoon-phone </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone-2"></span> &nbsp;icomoon-phone-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone-3"></span> &nbsp;icomoon-phone-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone-4"></span> &nbsp;icomoon-phone-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contact-add"></span> &nbsp;icomoon-contact-add </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contact-remove"></span> &nbsp;icomoon-contact-remove </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contact-add-2"></span> &nbsp;icomoon-contact-add-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contact-remove-2"></span> &nbsp;icomoon-contact-remove-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-call-incoming"></span> &nbsp;icomoon-call-incoming </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-call-outgoing"></span> &nbsp;icomoon-call-outgoing </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone-5"></span> &nbsp;icomoon-phone-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone-6"></span> &nbsp;icomoon-phone-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone-hang-up"></span> &nbsp;icomoon-phone-hang-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-phone-hang-up-2"></span> &nbsp;icomoon-phone-hang-up-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-address-book"></span> &nbsp;icomoon-address-book </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-address-book-2"></span> &nbsp;icomoon-address-book-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-notebook"></span> &nbsp;icomoon-notebook </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-envelop"></span> &nbsp;icomoon-envelop </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-envelop-2"></span> &nbsp;icomoon-envelop-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mail-send"></span> &nbsp;icomoon-mail-send </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-envelop-opened"></span> &nbsp;icomoon-envelop-opened </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-envelop-3"></span> &nbsp;icomoon-envelop-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pushpin"></span> &nbsp;icomoon-pushpin </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-location"></span> &nbsp;icomoon-location </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-location-2"></span> &nbsp;icomoon-location-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-location-3"></span> &nbsp;icomoon-location-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-location-4"></span> &nbsp;icomoon-location-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-location-5"></span> &nbsp;icomoon-location-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-location-6"></span> &nbsp;icomoon-location-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-location-7"></span> &nbsp;icomoon-location-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-compass"></span> &nbsp;icomoon-compass </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-compass-2"></span> &nbsp;icomoon-compass-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-map"></span> &nbsp;icomoon-map </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-map-2"></span> &nbsp;icomoon-map-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-map-3"></span> &nbsp;icomoon-map-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-map-4"></span> &nbsp;icomoon-map-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-direction"></span> &nbsp;icomoon-direction </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-history"></span> &nbsp;icomoon-history </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-history-2"></span> &nbsp;icomoon-history-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clock"></span> &nbsp;icomoon-clock </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clock-2"></span> &nbsp;icomoon-clock-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clock-3"></span> &nbsp;icomoon-clock-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clock-4"></span> &nbsp;icomoon-clock-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-watch"></span> &nbsp;icomoon-watch </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clock-5"></span> &nbsp;icomoon-clock-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clock-6"></span> &nbsp;icomoon-clock-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clock-7"></span> &nbsp;icomoon-clock-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-alarm"></span> &nbsp;icomoon-alarm </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-alarm-2"></span> &nbsp;icomoon-alarm-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bell"></span> &nbsp;icomoon-bell </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bell-2"></span> &nbsp;icomoon-bell-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-alarm-plus"></span> &nbsp;icomoon-alarm-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-alarm-minus"></span> &nbsp;icomoon-alarm-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-alarm-check"></span> &nbsp;icomoon-alarm-check </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-alarm-cancel"></span> &nbsp;icomoon-alarm-cancel </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stopwatch"></span> &nbsp;icomoon-stopwatch </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-calendar"></span> &nbsp;icomoon-calendar </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-calendar-2"></span> &nbsp;icomoon-calendar-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-calendar-3"></span> &nbsp;icomoon-calendar-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-calendar-4"></span> &nbsp;icomoon-calendar-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-calendar-5"></span> &nbsp;icomoon-calendar-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-print"></span> &nbsp;icomoon-print </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-print-2"></span> &nbsp;icomoon-print-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-print-3"></span> &nbsp;icomoon-print-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mouse"></span> &nbsp;icomoon-mouse </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mouse-2"></span> &nbsp;icomoon-mouse-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mouse-3"></span> &nbsp;icomoon-mouse-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mouse-4"></span> &nbsp;icomoon-mouse-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-keyboard"></span> &nbsp;icomoon-keyboard </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-keyboard-2"></span> &nbsp;icomoon-keyboard-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-screen"></span> &nbsp;icomoon-screen </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-screen-2"></span> &nbsp;icomoon-screen-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-screen-3"></span> &nbsp;icomoon-screen-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-screen-4"></span> &nbsp;icomoon-screen-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-laptop"></span> &nbsp;icomoon-laptop </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mobile"></span> &nbsp;icomoon-mobile </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mobile-2"></span> &nbsp;icomoon-mobile-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tablet"></span> &nbsp;icomoon-tablet </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mobile-3"></span> &nbsp;icomoon-mobile-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tv"></span> &nbsp;icomoon-tv </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cabinet"></span> &nbsp;icomoon-cabinet </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-archive"></span> &nbsp;icomoon-archive </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-drawer"></span> &nbsp;icomoon-drawer </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-drawer-2"></span> &nbsp;icomoon-drawer-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-drawer-3"></span> &nbsp;icomoon-drawer-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-box"></span> &nbsp;icomoon-box </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-box-add"></span> &nbsp;icomoon-box-add </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-box-remove"></span> &nbsp;icomoon-box-remove </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-download"></span> &nbsp;icomoon-download </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-upload"></span> &nbsp;icomoon-upload </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-disk"></span> &nbsp;icomoon-disk </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cd"></span> &nbsp;icomoon-cd </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-storage"></span> &nbsp;icomoon-storage </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-storage-2"></span> &nbsp;icomoon-storage-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-database"></span> &nbsp;icomoon-database </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-database-2"></span> &nbsp;icomoon-database-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-database-3"></span> &nbsp;icomoon-database-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-undo"></span> &nbsp;icomoon-undo </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-redo"></span> &nbsp;icomoon-redo </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rotate"></span> &nbsp;icomoon-rotate </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rotate-2"></span> &nbsp;icomoon-rotate-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flip"></span> &nbsp;icomoon-flip </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flip-2"></span> &nbsp;icomoon-flip-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-unite"></span> &nbsp;icomoon-unite </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-subtract"></span> &nbsp;icomoon-subtract </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-interset"></span> &nbsp;icomoon-interset </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-exclude"></span> &nbsp;icomoon-exclude </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-align-left"></span> &nbsp;icomoon-align-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-align-center-horizontal"></span> &nbsp;icomoon-align-center-horizontal </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-align-right"></span> &nbsp;icomoon-align-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-align-top"></span> &nbsp;icomoon-align-top </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-align-center-vertical"></span> &nbsp;icomoon-align-center-vertical </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-align-bottom"></span> &nbsp;icomoon-align-bottom </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-undo-2"></span> &nbsp;icomoon-undo-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-redo-2"></span> &nbsp;icomoon-redo-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-forward"></span> &nbsp;icomoon-forward </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-reply"></span> &nbsp;icomoon-reply </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-reply-2"></span> &nbsp;icomoon-reply-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble"></span> &nbsp;icomoon-bubble </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles"></span> &nbsp;icomoon-bubbles </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-2"></span> &nbsp;icomoon-bubbles-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-2"></span> &nbsp;icomoon-bubble-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-3"></span> &nbsp;icomoon-bubbles-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-4"></span> &nbsp;icomoon-bubbles-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-notification"></span> &nbsp;icomoon-bubble-notification </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-5"></span> &nbsp;icomoon-bubbles-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-6"></span> &nbsp;icomoon-bubbles-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-3"></span> &nbsp;icomoon-bubble-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-dots"></span> &nbsp;icomoon-bubble-dots </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-4"></span> &nbsp;icomoon-bubble-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-5"></span> &nbsp;icomoon-bubble-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-dots-2"></span> &nbsp;icomoon-bubble-dots-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-6"></span> &nbsp;icomoon-bubble-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-7"></span> &nbsp;icomoon-bubble-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-8"></span> &nbsp;icomoon-bubble-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-7"></span> &nbsp;icomoon-bubbles-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-9"></span> &nbsp;icomoon-bubble-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-8"></span> &nbsp;icomoon-bubbles-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-10"></span> &nbsp;icomoon-bubble-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-dots-3"></span> &nbsp;icomoon-bubble-dots-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-11"></span> &nbsp;icomoon-bubble-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-12"></span> &nbsp;icomoon-bubble-12 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-dots-4"></span> &nbsp;icomoon-bubble-dots-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-13"></span> &nbsp;icomoon-bubble-13 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-9"></span> &nbsp;icomoon-bubbles-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubbles-10"></span> &nbsp;icomoon-bubbles-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-blocked"></span> &nbsp;icomoon-bubble-blocked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-quote"></span> &nbsp;icomoon-bubble-quote </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-user"></span> &nbsp;icomoon-bubble-user </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-check"></span> &nbsp;icomoon-bubble-check </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-video-chat"></span> &nbsp;icomoon-bubble-video-chat </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-link"></span> &nbsp;icomoon-bubble-link </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-locked"></span> &nbsp;icomoon-bubble-locked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-star"></span> &nbsp;icomoon-bubble-star </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-heart"></span> &nbsp;icomoon-bubble-heart </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-paperclip"></span> &nbsp;icomoon-bubble-paperclip </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-cancel"></span> &nbsp;icomoon-bubble-cancel </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-plus"></span> &nbsp;icomoon-bubble-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-minus"></span> &nbsp;icomoon-bubble-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-notification-2"></span> &nbsp;icomoon-bubble-notification-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-trash"></span> &nbsp;icomoon-bubble-trash </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-left"></span> &nbsp;icomoon-bubble-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-right"></span> &nbsp;icomoon-bubble-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-up"></span> &nbsp;icomoon-bubble-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-down"></span> &nbsp;icomoon-bubble-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-first"></span> &nbsp;icomoon-bubble-first </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-last"></span> &nbsp;icomoon-bubble-last </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-replu"></span> &nbsp;icomoon-bubble-replu </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-forward"></span> &nbsp;icomoon-bubble-forward </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-reply"></span> &nbsp;icomoon-bubble-reply </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bubble-forward-2"></span> &nbsp;icomoon-bubble-forward-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user"></span> &nbsp;icomoon-user </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-users"></span> &nbsp;icomoon-users </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-plus"></span> &nbsp;icomoon-user-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-plus-2"></span> &nbsp;icomoon-user-plus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-minus"></span> &nbsp;icomoon-user-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-minus-2"></span> &nbsp;icomoon-user-minus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-cancel"></span> &nbsp;icomoon-user-cancel </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-block"></span> &nbsp;icomoon-user-block </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-users-2"></span> &nbsp;icomoon-users-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-2"></span> &nbsp;icomoon-user-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-users-3"></span> &nbsp;icomoon-users-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-plus-3"></span> &nbsp;icomoon-user-plus-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-minus-3"></span> &nbsp;icomoon-user-minus-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-cancel-2"></span> &nbsp;icomoon-user-cancel-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-block-2"></span> &nbsp;icomoon-user-block-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-3"></span> &nbsp;icomoon-user-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-4"></span> &nbsp;icomoon-user-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-5"></span> &nbsp;icomoon-user-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-6"></span> &nbsp;icomoon-user-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-users-4"></span> &nbsp;icomoon-users-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-7"></span> &nbsp;icomoon-user-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-user-8"></span> &nbsp;icomoon-user-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-users-5"></span> &nbsp;icomoon-users-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-vcard"></span> &nbsp;icomoon-vcard </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tshirt"></span> &nbsp;icomoon-tshirt </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-hanger"></span> &nbsp;icomoon-hanger </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-quotes-left"></span> &nbsp;icomoon-quotes-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-quotes-right"></span> &nbsp;icomoon-quotes-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-quotes-right-2"></span> &nbsp;icomoon-quotes-right-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-quotes-right-3"></span> &nbsp;icomoon-quotes-right-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-busy"></span> &nbsp;icomoon-busy </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-busy-2"></span> &nbsp;icomoon-busy-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-busy-3"></span> &nbsp;icomoon-busy-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-busy-4"></span> &nbsp;icomoon-busy-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner"></span> &nbsp;icomoon-spinner </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-2"></span> &nbsp;icomoon-spinner-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-3"></span> &nbsp;icomoon-spinner-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-4"></span> &nbsp;icomoon-spinner-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-5"></span> &nbsp;icomoon-spinner-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-6"></span> &nbsp;icomoon-spinner-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-7"></span> &nbsp;icomoon-spinner-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-8"></span> &nbsp;icomoon-spinner-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-9"></span> &nbsp;icomoon-spinner-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-10"></span> &nbsp;icomoon-spinner-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-11"></span> &nbsp;icomoon-spinner-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spinner-12"></span> &nbsp;icomoon-spinner-12 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-microscope"></span> &nbsp;icomoon-microscope </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-binoculars"></span> &nbsp;icomoon-binoculars </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-binoculars-2"></span> &nbsp;icomoon-binoculars-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-search"></span> &nbsp;icomoon-search </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-search-2"></span> &nbsp;icomoon-search-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-zoom-in"></span> &nbsp;icomoon-zoom-in </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-zoom-out"></span> &nbsp;icomoon-zoom-out </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-search-3"></span> &nbsp;icomoon-search-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-search-4"></span> &nbsp;icomoon-search-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-zoom-in-2"></span> &nbsp;icomoon-zoom-in-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-zoom-out-2"></span> &nbsp;icomoon-zoom-out-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-search-5"></span> &nbsp;icomoon-search-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-expand"></span> &nbsp;icomoon-expand </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contract"></span> &nbsp;icomoon-contract </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-scale-up"></span> &nbsp;icomoon-scale-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-scale-down"></span> &nbsp;icomoon-scale-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-expand-2"></span> &nbsp;icomoon-expand-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contract-2"></span> &nbsp;icomoon-contract-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-scale-up-2"></span> &nbsp;icomoon-scale-up-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-scale-down-2"></span> &nbsp;icomoon-scale-down-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-fullscreen"></span> &nbsp;icomoon-fullscreen </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-expand-3"></span> &nbsp;icomoon-expand-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contract-3"></span> &nbsp;icomoon-contract-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key"></span> &nbsp;icomoon-key </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-2"></span> &nbsp;icomoon-key-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-3"></span> &nbsp;icomoon-key-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-4"></span> &nbsp;icomoon-key-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-5"></span> &nbsp;icomoon-key-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-keyhole"></span> &nbsp;icomoon-keyhole </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lock"></span> &nbsp;icomoon-lock </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lock-2"></span> &nbsp;icomoon-lock-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lock-3"></span> &nbsp;icomoon-lock-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lock-4"></span> &nbsp;icomoon-lock-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-unlocked"></span> &nbsp;icomoon-unlocked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lock-5"></span> &nbsp;icomoon-lock-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-unlocked-2"></span> &nbsp;icomoon-unlocked-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wrench"></span> &nbsp;icomoon-wrench </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wrench-2"></span> &nbsp;icomoon-wrench-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wrench-3"></span> &nbsp;icomoon-wrench-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wrench-4"></span> &nbsp;icomoon-wrench-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-settings"></span> &nbsp;icomoon-settings </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-equalizer"></span> &nbsp;icomoon-equalizer </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-equalizer-2"></span> &nbsp;icomoon-equalizer-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-equalizer-3"></span> &nbsp;icomoon-equalizer-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cog"></span> &nbsp;icomoon-cog </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cogs"></span> &nbsp;icomoon-cogs </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cog-2"></span> &nbsp;icomoon-cog-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cog-3"></span> &nbsp;icomoon-cog-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cog-4"></span> &nbsp;icomoon-cog-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cog-5"></span> &nbsp;icomoon-cog-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cog-6"></span> &nbsp;icomoon-cog-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cog-7"></span> &nbsp;icomoon-cog-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-factory"></span> &nbsp;icomoon-factory </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-hammer"></span> &nbsp;icomoon-hammer </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tools"></span> &nbsp;icomoon-tools </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-screwdriver"></span> &nbsp;icomoon-screwdriver </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-screwdriver-2"></span> &nbsp;icomoon-screwdriver-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wand"></span> &nbsp;icomoon-wand </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wand-2"></span> &nbsp;icomoon-wand-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-health"></span> &nbsp;icomoon-health </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-aid"></span> &nbsp;icomoon-aid </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-patch"></span> &nbsp;icomoon-patch </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bug"></span> &nbsp;icomoon-bug </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bug-2"></span> &nbsp;icomoon-bug-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-inject"></span> &nbsp;icomoon-inject </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-inject-2"></span> &nbsp;icomoon-inject-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-construction"></span> &nbsp;icomoon-construction </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cone"></span> &nbsp;icomoon-cone </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pie"></span> &nbsp;icomoon-pie </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pie-2"></span> &nbsp;icomoon-pie-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pie-3"></span> &nbsp;icomoon-pie-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pie-4"></span> &nbsp;icomoon-pie-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pie-5"></span> &nbsp;icomoon-pie-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pie-6"></span> &nbsp;icomoon-pie-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pie-7"></span> &nbsp;icomoon-pie-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stats"></span> &nbsp;icomoon-stats </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stats-2"></span> &nbsp;icomoon-stats-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stats-3"></span> &nbsp;icomoon-stats-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bars"></span> &nbsp;icomoon-bars </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bars-2"></span> &nbsp;icomoon-bars-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bars-3"></span> &nbsp;icomoon-bars-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bars-4"></span> &nbsp;icomoon-bars-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bars-5"></span> &nbsp;icomoon-bars-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bars-6"></span> &nbsp;icomoon-bars-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stats-up"></span> &nbsp;icomoon-stats-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stats-down"></span> &nbsp;icomoon-stats-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stairs-down"></span> &nbsp;icomoon-stairs-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stairs-down-2"></span> &nbsp;icomoon-stairs-down-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-chart"></span> &nbsp;icomoon-chart </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stairs"></span> &nbsp;icomoon-stairs </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stairs-2"></span> &nbsp;icomoon-stairs-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-ladder"></span> &nbsp;icomoon-ladder </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cake"></span> &nbsp;icomoon-cake </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gift"></span> &nbsp;icomoon-gift </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gift-2"></span> &nbsp;icomoon-gift-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-balloon"></span> &nbsp;icomoon-balloon </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rating"></span> &nbsp;icomoon-rating </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rating-2"></span> &nbsp;icomoon-rating-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rating-3"></span> &nbsp;icomoon-rating-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-podium"></span> &nbsp;icomoon-podium </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-medal"></span> &nbsp;icomoon-medal </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-medal-2"></span> &nbsp;icomoon-medal-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-medal-3"></span> &nbsp;icomoon-medal-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-medal-4"></span> &nbsp;icomoon-medal-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-medal-5"></span> &nbsp;icomoon-medal-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-crown"></span> &nbsp;icomoon-crown </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-trophy"></span> &nbsp;icomoon-trophy </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-trophy-2"></span> &nbsp;icomoon-trophy-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-trophy-star"></span> &nbsp;icomoon-trophy-star </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-diamond"></span> &nbsp;icomoon-diamond </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-diamond-2"></span> &nbsp;icomoon-diamond-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-glass"></span> &nbsp;icomoon-glass </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-glass-2"></span> &nbsp;icomoon-glass-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bottle"></span> &nbsp;icomoon-bottle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bottle-2"></span> &nbsp;icomoon-bottle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mug"></span> &nbsp;icomoon-mug </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-food"></span> &nbsp;icomoon-food </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-food-2"></span> &nbsp;icomoon-food-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-hamburger"></span> &nbsp;icomoon-hamburger </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cup"></span> &nbsp;icomoon-cup </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cup-2"></span> &nbsp;icomoon-cup-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-leaf"></span> &nbsp;icomoon-leaf </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-leaf-2"></span> &nbsp;icomoon-leaf-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-apple-fruit"></span> &nbsp;icomoon-apple-fruit </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tree"></span> &nbsp;icomoon-tree </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tree-2"></span> &nbsp;icomoon-tree-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paw"></span> &nbsp;icomoon-paw </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-steps"></span> &nbsp;icomoon-steps </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flower"></span> &nbsp;icomoon-flower </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rocket"></span> &nbsp;icomoon-rocket </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-meter"></span> &nbsp;icomoon-meter </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-meter2"></span> &nbsp;icomoon-meter2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-meter-slow"></span> &nbsp;icomoon-meter-slow </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-meter-medium"></span> &nbsp;icomoon-meter-medium </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-meter-fast"></span> &nbsp;icomoon-meter-fast </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-dashboard"></span> &nbsp;icomoon-dashboard </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-hammer-2"></span> &nbsp;icomoon-hammer-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-balance"></span> &nbsp;icomoon-balance </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bomb"></span> &nbsp;icomoon-bomb </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-fire"></span> &nbsp;icomoon-fire </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-fire-2"></span> &nbsp;icomoon-fire-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lab"></span> &nbsp;icomoon-lab </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-atom"></span> &nbsp;icomoon-atom </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-atom-2"></span> &nbsp;icomoon-atom-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-magnet"></span> &nbsp;icomoon-magnet </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-magnet-2"></span> &nbsp;icomoon-magnet-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-magnet-3"></span> &nbsp;icomoon-magnet-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-magnet-4"></span> &nbsp;icomoon-magnet-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-dumbbell"></span> &nbsp;icomoon-dumbbell </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-skull"></span> &nbsp;icomoon-skull </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-skull-2"></span> &nbsp;icomoon-skull-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-skull-3"></span> &nbsp;icomoon-skull-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lamp"></span> &nbsp;icomoon-lamp </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lamp-2"></span> &nbsp;icomoon-lamp-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lamp-3"></span> &nbsp;icomoon-lamp-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lamp-4"></span> &nbsp;icomoon-lamp-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove"></span> &nbsp;icomoon-remove </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove-2"></span> &nbsp;icomoon-remove-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove-3"></span> &nbsp;icomoon-remove-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove-4"></span> &nbsp;icomoon-remove-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove-5"></span> &nbsp;icomoon-remove-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove-6"></span> &nbsp;icomoon-remove-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove-7"></span> &nbsp;icomoon-remove-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-remove-8"></span> &nbsp;icomoon-remove-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-briefcase"></span> &nbsp;icomoon-briefcase </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-briefcase-2"></span> &nbsp;icomoon-briefcase-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-briefcase-3"></span> &nbsp;icomoon-briefcase-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-airplane"></span> &nbsp;icomoon-airplane </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-airplane-2"></span> &nbsp;icomoon-airplane-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paper-plane"></span> &nbsp;icomoon-paper-plane </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-car"></span> &nbsp;icomoon-car </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gas-pump"></span> &nbsp;icomoon-gas-pump </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bus"></span> &nbsp;icomoon-bus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-truck"></span> &nbsp;icomoon-truck </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bike"></span> &nbsp;icomoon-bike </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-road"></span> &nbsp;icomoon-road </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-train"></span> &nbsp;icomoon-train </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-ship"></span> &nbsp;icomoon-ship </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-boat"></span> &nbsp;icomoon-boat </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cube"></span> &nbsp;icomoon-cube </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cube-2"></span> &nbsp;icomoon-cube-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cube-3"></span> &nbsp;icomoon-cube-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cube4"></span> &nbsp;icomoon-cube4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pyramid"></span> &nbsp;icomoon-pyramid </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pyramid-2"></span> &nbsp;icomoon-pyramid-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cylinder"></span> &nbsp;icomoon-cylinder </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-package"></span> &nbsp;icomoon-package </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-puzzle"></span> &nbsp;icomoon-puzzle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-puzzle-2"></span> &nbsp;icomoon-puzzle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-puzzle-3"></span> &nbsp;icomoon-puzzle-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-puzzle-4"></span> &nbsp;icomoon-puzzle-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-glasses"></span> &nbsp;icomoon-glasses </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-glasses-2"></span> &nbsp;icomoon-glasses-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-glasses-3"></span> &nbsp;icomoon-glasses-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sun-glasses"></span> &nbsp;icomoon-sun-glasses </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-accessibility"></span> &nbsp;icomoon-accessibility </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-accessibility-2"></span> &nbsp;icomoon-accessibility-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-brain"></span> &nbsp;icomoon-brain </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-target"></span> &nbsp;icomoon-target </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-target-2"></span> &nbsp;icomoon-target-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-target-3"></span> &nbsp;icomoon-target-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gun"></span> &nbsp;icomoon-gun </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-gun-ban"></span> &nbsp;icomoon-gun-ban </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shield"></span> &nbsp;icomoon-shield </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shield-2"></span> &nbsp;icomoon-shield-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shield-3"></span> &nbsp;icomoon-shield-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shield-4"></span> &nbsp;icomoon-shield-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-soccer"></span> &nbsp;icomoon-soccer </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-football"></span> &nbsp;icomoon-football </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-baseball"></span> &nbsp;icomoon-baseball </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-basketball"></span> &nbsp;icomoon-basketball </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-golf"></span> &nbsp;icomoon-golf </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-hockey"></span> &nbsp;icomoon-hockey </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-racing"></span> &nbsp;icomoon-racing </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eight-ball"></span> &nbsp;icomoon-eight-ball </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bowling-ball"></span> &nbsp;icomoon-bowling-ball </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bowling"></span> &nbsp;icomoon-bowling </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bowling-2"></span> &nbsp;icomoon-bowling-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lightning"></span> &nbsp;icomoon-lightning </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-power"></span> &nbsp;icomoon-power </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-power-2"></span> &nbsp;icomoon-power-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-switch"></span> &nbsp;icomoon-switch </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-power-cord"></span> &nbsp;icomoon-power-cord </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cord"></span> &nbsp;icomoon-cord </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-socket"></span> &nbsp;icomoon-socket </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clipboard"></span> &nbsp;icomoon-clipboard </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clipboard-2"></span> &nbsp;icomoon-clipboard-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-signup"></span> &nbsp;icomoon-signup </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clipboard-3"></span> &nbsp;icomoon-clipboard-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clipboard-4"></span> &nbsp;icomoon-clipboard-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-list"></span> &nbsp;icomoon-list </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-list-2"></span> &nbsp;icomoon-list-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-list-3"></span> &nbsp;icomoon-list-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-numbered-list"></span> &nbsp;icomoon-numbered-list </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-list-4"></span> &nbsp;icomoon-list-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-list-5"></span> &nbsp;icomoon-list-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-playlist"></span> &nbsp;icomoon-playlist </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grid"></span> &nbsp;icomoon-grid </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grid-2"></span> &nbsp;icomoon-grid-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grid-3"></span> &nbsp;icomoon-grid-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grid-4"></span> &nbsp;icomoon-grid-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grid-5"></span> &nbsp;icomoon-grid-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grid-6"></span> &nbsp;icomoon-grid-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tree-3"></span> &nbsp;icomoon-tree-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tree-4"></span> &nbsp;icomoon-tree-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tree-5"></span> &nbsp;icomoon-tree-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu"></span> &nbsp;icomoon-menu </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-2"></span> &nbsp;icomoon-menu-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-circle-small"></span> &nbsp;icomoon-circle-small </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-3"></span> &nbsp;icomoon-menu-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-4"></span> &nbsp;icomoon-menu-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-5"></span> &nbsp;icomoon-menu-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-6"></span> &nbsp;icomoon-menu-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-7"></span> &nbsp;icomoon-menu-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-8"></span> &nbsp;icomoon-menu-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-9"></span> &nbsp;icomoon-menu-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cloud"></span> &nbsp;icomoon-cloud </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cloud-2"></span> &nbsp;icomoon-cloud-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cloud-3"></span> &nbsp;icomoon-cloud-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cloud-download"></span> &nbsp;icomoon-cloud-download </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cloud-upload"></span> &nbsp;icomoon-cloud-upload </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-download-2"></span> &nbsp;icomoon-download-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-upload-2"></span> &nbsp;icomoon-upload-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-download-3"></span> &nbsp;icomoon-download-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-upload-3"></span> &nbsp;icomoon-upload-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-download-4"></span> &nbsp;icomoon-download-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-upload-4"></span> &nbsp;icomoon-upload-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-download-5"></span> &nbsp;icomoon-download-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-upload-5"></span> &nbsp;icomoon-upload-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-download-6"></span> &nbsp;icomoon-download-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-upload-6"></span> &nbsp;icomoon-upload-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-download-7"></span> &nbsp;icomoon-download-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-upload-7"></span> &nbsp;icomoon-upload-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-globe"></span> &nbsp;icomoon-globe </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-globe-2"></span> &nbsp;icomoon-globe-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-globe-3"></span> &nbsp;icomoon-globe-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-earth"></span> &nbsp;icomoon-earth </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-network"></span> &nbsp;icomoon-network </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-link"></span> &nbsp;icomoon-link </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-link-2"></span> &nbsp;icomoon-link-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-link-3"></span> &nbsp;icomoon-link-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-link2"></span> &nbsp;icomoon-link2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-link-4"></span> &nbsp;icomoon-link-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-link-5"></span> &nbsp;icomoon-link-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-link-6"></span> &nbsp;icomoon-link-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-anchor"></span> &nbsp;icomoon-anchor </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flag"></span> &nbsp;icomoon-flag </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flag-2"></span> &nbsp;icomoon-flag-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flag-3"></span> &nbsp;icomoon-flag-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flag-4"></span> &nbsp;icomoon-flag-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flag-5"></span> &nbsp;icomoon-flag-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flag-6"></span> &nbsp;icomoon-flag-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-attachment"></span> &nbsp;icomoon-attachment </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-attachment-2"></span> &nbsp;icomoon-attachment-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye"></span> &nbsp;icomoon-eye </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-blocked"></span> &nbsp;icomoon-eye-blocked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-2"></span> &nbsp;icomoon-eye-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-3"></span> &nbsp;icomoon-eye-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-blocked-2"></span> &nbsp;icomoon-eye-blocked-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-4"></span> &nbsp;icomoon-eye-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-5"></span> &nbsp;icomoon-eye-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-6"></span> &nbsp;icomoon-eye-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-7"></span> &nbsp;icomoon-eye-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eye-8"></span> &nbsp;icomoon-eye-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bookmark"></span> &nbsp;icomoon-bookmark </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bookmark-2"></span> &nbsp;icomoon-bookmark-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bookmarks"></span> &nbsp;icomoon-bookmarks </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bookmark-3"></span> &nbsp;icomoon-bookmark-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spotlight"></span> &nbsp;icomoon-spotlight </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-starburst"></span> &nbsp;icomoon-starburst </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-snowflake"></span> &nbsp;icomoon-snowflake </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-temperature"></span> &nbsp;icomoon-temperature </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-temperature-2"></span> &nbsp;icomoon-temperature-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-weather-lightning"></span> &nbsp;icomoon-weather-lightning </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-weather-rain"></span> &nbsp;icomoon-weather-rain </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-weather-snow"></span> &nbsp;icomoon-weather-snow </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-windy"></span> &nbsp;icomoon-windy </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-fan"></span> &nbsp;icomoon-fan </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-umbrella"></span> &nbsp;icomoon-umbrella </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sun"></span> &nbsp;icomoon-sun </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sun-2"></span> &nbsp;icomoon-sun-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-brightness-high"></span> &nbsp;icomoon-brightness-high </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-brightness-medium"></span> &nbsp;icomoon-brightness-medium </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-brightness-low"></span> &nbsp;icomoon-brightness-low </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-brightness-contrast"></span> &nbsp;icomoon-brightness-contrast </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-contrast"></span> &nbsp;icomoon-contrast </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-moon"></span> &nbsp;icomoon-moon </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bed"></span> &nbsp;icomoon-bed </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bed-2"></span> &nbsp;icomoon-bed-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-star"></span> &nbsp;icomoon-star </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-star-2"></span> &nbsp;icomoon-star-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-star-3"></span> &nbsp;icomoon-star-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-star-4"></span> &nbsp;icomoon-star-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-star-5"></span> &nbsp;icomoon-star-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-star-6"></span> &nbsp;icomoon-star-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart"></span> &nbsp;icomoon-heart </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-2"></span> &nbsp;icomoon-heart-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-3"></span> &nbsp;icomoon-heart-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-4"></span> &nbsp;icomoon-heart-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-broken"></span> &nbsp;icomoon-heart-broken </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-5"></span> &nbsp;icomoon-heart-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-6"></span> &nbsp;icomoon-heart-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-broken-2"></span> &nbsp;icomoon-heart-broken-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-7"></span> &nbsp;icomoon-heart-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-8"></span> &nbsp;icomoon-heart-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-heart-broken-3"></span> &nbsp;icomoon-heart-broken-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lips"></span> &nbsp;icomoon-lips </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lips-2"></span> &nbsp;icomoon-lips-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-up"></span> &nbsp;icomoon-thumbs-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-up-2"></span> &nbsp;icomoon-thumbs-up-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-down"></span> &nbsp;icomoon-thumbs-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-down-2"></span> &nbsp;icomoon-thumbs-down-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-up-3"></span> &nbsp;icomoon-thumbs-up-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-up-4"></span> &nbsp;icomoon-thumbs-up-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-up-5"></span> &nbsp;icomoon-thumbs-up-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-thumbs-up-6"></span> &nbsp;icomoon-thumbs-up-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-people"></span> &nbsp;icomoon-people </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-man"></span> &nbsp;icomoon-man </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-male"></span> &nbsp;icomoon-male </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-woman"></span> &nbsp;icomoon-woman </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-female"></span> &nbsp;icomoon-female </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-peace"></span> &nbsp;icomoon-peace </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-yin-yang"></span> &nbsp;icomoon-yin-yang </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-happy"></span> &nbsp;icomoon-happy </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-happy-2"></span> &nbsp;icomoon-happy-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-smiley"></span> &nbsp;icomoon-smiley </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-smiley-2"></span> &nbsp;icomoon-smiley-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tongue"></span> &nbsp;icomoon-tongue </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tongue-2"></span> &nbsp;icomoon-tongue-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sad"></span> &nbsp;icomoon-sad </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sad-2"></span> &nbsp;icomoon-sad-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wink"></span> &nbsp;icomoon-wink </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wink-2"></span> &nbsp;icomoon-wink-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grin"></span> &nbsp;icomoon-grin </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-grin-2"></span> &nbsp;icomoon-grin-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cool"></span> &nbsp;icomoon-cool </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cool-2"></span> &nbsp;icomoon-cool-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-angry"></span> &nbsp;icomoon-angry </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-angry-2"></span> &nbsp;icomoon-angry-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-evil"></span> &nbsp;icomoon-evil </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-evil-2"></span> &nbsp;icomoon-evil-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shocked"></span> &nbsp;icomoon-shocked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shocked-2"></span> &nbsp;icomoon-shocked-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-confused"></span> &nbsp;icomoon-confused </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-confused-2"></span> &nbsp;icomoon-confused-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-neutral"></span> &nbsp;icomoon-neutral </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-neutral-2"></span> &nbsp;icomoon-neutral-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wondering"></span> &nbsp;icomoon-wondering </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wondering-2"></span> &nbsp;icomoon-wondering-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cursor"></span> &nbsp;icomoon-cursor </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cursor-2"></span> &nbsp;icomoon-cursor-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-point-up"></span> &nbsp;icomoon-point-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-point-right"></span> &nbsp;icomoon-point-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-point-down"></span> &nbsp;icomoon-point-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-point-left"></span> &nbsp;icomoon-point-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pointer"></span> &nbsp;icomoon-pointer </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-hand"></span> &nbsp;icomoon-hand </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-empty"></span> &nbsp;icomoon-stack-empty </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-plus"></span> &nbsp;icomoon-stack-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-minus"></span> &nbsp;icomoon-stack-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-star"></span> &nbsp;icomoon-stack-star </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-picture"></span> &nbsp;icomoon-stack-picture </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-down"></span> &nbsp;icomoon-stack-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-up"></span> &nbsp;icomoon-stack-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-cancel"></span> &nbsp;icomoon-stack-cancel </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-checkmark"></span> &nbsp;icomoon-stack-checkmark </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-list"></span> &nbsp;icomoon-stack-list </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-clubs"></span> &nbsp;icomoon-stack-clubs </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-spades"></span> &nbsp;icomoon-stack-spades </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-hearts"></span> &nbsp;icomoon-stack-hearts </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-diamonds"></span> &nbsp;icomoon-stack-diamonds </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-user"></span> &nbsp;icomoon-stack-user </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-4"></span> &nbsp;icomoon-stack-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-music"></span> &nbsp;icomoon-stack-music </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stack-play"></span> &nbsp;icomoon-stack-play </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-move"></span> &nbsp;icomoon-move </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-resize"></span> &nbsp;icomoon-resize </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-resize-2"></span> &nbsp;icomoon-resize-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-warning"></span> &nbsp;icomoon-warning </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-warning-2"></span> &nbsp;icomoon-warning-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-notification"></span> &nbsp;icomoon-notification </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-notification-2"></span> &nbsp;icomoon-notification-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-question"></span> &nbsp;icomoon-question </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-question-2"></span> &nbsp;icomoon-question-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-question-3"></span> &nbsp;icomoon-question-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-question-4"></span> &nbsp;icomoon-question-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-question-5"></span> &nbsp;icomoon-question-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-plus-circle"></span> &nbsp;icomoon-plus-circle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-plus-circle-2"></span> &nbsp;icomoon-plus-circle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-minus-circle"></span> &nbsp;icomoon-minus-circle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-minus-circle-2"></span> &nbsp;icomoon-minus-circle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-info"></span> &nbsp;icomoon-info </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-info-2"></span> &nbsp;icomoon-info-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-blocked"></span> &nbsp;icomoon-blocked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cancel-circle"></span> &nbsp;icomoon-cancel-circle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cancel-circle-2"></span> &nbsp;icomoon-cancel-circle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkmark-circle"></span> &nbsp;icomoon-checkmark-circle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkmark-circle-2"></span> &nbsp;icomoon-checkmark-circle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-cancel"></span> &nbsp;icomoon-cancel </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spam"></span> &nbsp;icomoon-spam </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-close"></span> &nbsp;icomoon-close </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-close-2"></span> &nbsp;icomoon-close-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-close-3"></span> &nbsp;icomoon-close-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-close-4"></span> &nbsp;icomoon-close-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-close-5"></span> &nbsp;icomoon-close-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkmark"></span> &nbsp;icomoon-checkmark </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkmark-2"></span> &nbsp;icomoon-checkmark-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkmark-3"></span> &nbsp;icomoon-checkmark-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkmark-4"></span> &nbsp;icomoon-checkmark-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-spell-check"></span> &nbsp;icomoon-spell-check </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-minus"></span> &nbsp;icomoon-minus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-plus"></span> &nbsp;icomoon-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-minus-2"></span> &nbsp;icomoon-minus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-plus-2"></span> &nbsp;icomoon-plus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-enter"></span> &nbsp;icomoon-enter </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-exit"></span> &nbsp;icomoon-exit </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-enter-2"></span> &nbsp;icomoon-enter-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-exit-2"></span> &nbsp;icomoon-exit-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-enter-3"></span> &nbsp;icomoon-enter-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-exit-3"></span> &nbsp;icomoon-exit-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-exit-4"></span> &nbsp;icomoon-exit-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-play-3"></span> &nbsp;icomoon-play-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pause"></span> &nbsp;icomoon-pause </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stop"></span> &nbsp;icomoon-stop </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-backward"></span> &nbsp;icomoon-backward </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-forward-2"></span> &nbsp;icomoon-forward-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-play-4"></span> &nbsp;icomoon-play-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pause-2"></span> &nbsp;icomoon-pause-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stop-2"></span> &nbsp;icomoon-stop-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-backward-2"></span> &nbsp;icomoon-backward-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-forward-3"></span> &nbsp;icomoon-forward-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-first"></span> &nbsp;icomoon-first </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-last"></span> &nbsp;icomoon-last </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-previous"></span> &nbsp;icomoon-previous </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-next"></span> &nbsp;icomoon-next </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-eject"></span> &nbsp;icomoon-eject </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-high"></span> &nbsp;icomoon-volume-high </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-medium"></span> &nbsp;icomoon-volume-medium </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-low"></span> &nbsp;icomoon-volume-low </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-mute"></span> &nbsp;icomoon-volume-mute </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-mute-2"></span> &nbsp;icomoon-volume-mute-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-increase"></span> &nbsp;icomoon-volume-increase </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-decrease"></span> &nbsp;icomoon-volume-decrease </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-high-2"></span> &nbsp;icomoon-volume-high-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-medium-2"></span> &nbsp;icomoon-volume-medium-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-low-2"></span> &nbsp;icomoon-volume-low-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-mute-3"></span> &nbsp;icomoon-volume-mute-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-mute-4"></span> &nbsp;icomoon-volume-mute-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-increase-2"></span> &nbsp;icomoon-volume-increase-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-decrease-2"></span> &nbsp;icomoon-volume-decrease-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume5"></span> &nbsp;icomoon-volume5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume4"></span> &nbsp;icomoon-volume4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume3"></span> &nbsp;icomoon-volume3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume2"></span> &nbsp;icomoon-volume2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume1"></span> &nbsp;icomoon-volume1 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume0"></span> &nbsp;icomoon-volume0 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-mute-5"></span> &nbsp;icomoon-volume-mute-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-volume-mute-6"></span> &nbsp;icomoon-volume-mute-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-loop"></span> &nbsp;icomoon-loop </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-loop-2"></span> &nbsp;icomoon-loop-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-loop-3"></span> &nbsp;icomoon-loop-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-loop-4"></span> &nbsp;icomoon-loop-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-loop-5"></span> &nbsp;icomoon-loop-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shuffle"></span> &nbsp;icomoon-shuffle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-shuffle-2"></span> &nbsp;icomoon-shuffle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wave"></span> &nbsp;icomoon-wave </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wave-2"></span> &nbsp;icomoon-wave-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-first"></span> &nbsp;icomoon-arrow-first </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right"></span> &nbsp;icomoon-arrow-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up"></span> &nbsp;icomoon-arrow-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-2"></span> &nbsp;icomoon-arrow-right-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down"></span> &nbsp;icomoon-arrow-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left"></span> &nbsp;icomoon-arrow-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-2"></span> &nbsp;icomoon-arrow-up-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-3"></span> &nbsp;icomoon-arrow-right-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-2"></span> &nbsp;icomoon-arrow-down-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-2"></span> &nbsp;icomoon-arrow-left-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-left"></span> &nbsp;icomoon-arrow-up-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-3"></span> &nbsp;icomoon-arrow-up-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-right"></span> &nbsp;icomoon-arrow-up-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-4"></span> &nbsp;icomoon-arrow-right-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-right"></span> &nbsp;icomoon-arrow-down-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-3"></span> &nbsp;icomoon-arrow-down-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-left"></span> &nbsp;icomoon-arrow-down-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-3"></span> &nbsp;icomoon-arrow-left-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-left-2"></span> &nbsp;icomoon-arrow-up-left-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-4"></span> &nbsp;icomoon-arrow-up-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-right-2"></span> &nbsp;icomoon-arrow-up-right-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-5"></span> &nbsp;icomoon-arrow-right-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-right-2"></span> &nbsp;icomoon-arrow-down-right-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-4"></span> &nbsp;icomoon-arrow-down-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-left-2"></span> &nbsp;icomoon-arrow-down-left-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-4"></span> &nbsp;icomoon-arrow-left-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-left-3"></span> &nbsp;icomoon-arrow-up-left-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-5"></span> &nbsp;icomoon-arrow-up-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-right-3"></span> &nbsp;icomoon-arrow-up-right-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-6"></span> &nbsp;icomoon-arrow-right-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-right-3"></span> &nbsp;icomoon-arrow-down-right-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-5"></span> &nbsp;icomoon-arrow-down-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-left-3"></span> &nbsp;icomoon-arrow-down-left-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-5"></span> &nbsp;icomoon-arrow-left-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-left-4"></span> &nbsp;icomoon-arrow-up-left-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-6"></span> &nbsp;icomoon-arrow-up-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-right-4"></span> &nbsp;icomoon-arrow-up-right-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-7"></span> &nbsp;icomoon-arrow-right-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-right-4"></span> &nbsp;icomoon-arrow-down-right-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-6"></span> &nbsp;icomoon-arrow-down-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-left-4"></span> &nbsp;icomoon-arrow-down-left-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-6"></span> &nbsp;icomoon-arrow-left-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow"></span> &nbsp;icomoon-arrow </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-2"></span> &nbsp;icomoon-arrow-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-3"></span> &nbsp;icomoon-arrow-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-4"></span> &nbsp;icomoon-arrow-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-5"></span> &nbsp;icomoon-arrow-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-6"></span> &nbsp;icomoon-arrow-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-7"></span> &nbsp;icomoon-arrow-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-8"></span> &nbsp;icomoon-arrow-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-left-5"></span> &nbsp;icomoon-arrow-up-left-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-square"></span> &nbsp;icomoon-arrow-square </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-right-5"></span> &nbsp;icomoon-arrow-up-right-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-8"></span> &nbsp;icomoon-arrow-right-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-right-5"></span> &nbsp;icomoon-arrow-down-right-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-7"></span> &nbsp;icomoon-arrow-down-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-left-5"></span> &nbsp;icomoon-arrow-down-left-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-7"></span> &nbsp;icomoon-arrow-left-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-7"></span> &nbsp;icomoon-arrow-up-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-9"></span> &nbsp;icomoon-arrow-right-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-8"></span> &nbsp;icomoon-arrow-down-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-8"></span> &nbsp;icomoon-arrow-left-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-8"></span> &nbsp;icomoon-arrow-up-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-10"></span> &nbsp;icomoon-arrow-right-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-bottom"></span> &nbsp;icomoon-arrow-bottom </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-9"></span> &nbsp;icomoon-arrow-left-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-left-6"></span> &nbsp;icomoon-arrow-up-left-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-9"></span> &nbsp;icomoon-arrow-up-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-right-6"></span> &nbsp;icomoon-arrow-up-right-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-11"></span> &nbsp;icomoon-arrow-right-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-right-6"></span> &nbsp;icomoon-arrow-down-right-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-9"></span> &nbsp;icomoon-arrow-down-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-left-6"></span> &nbsp;icomoon-arrow-down-left-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-10"></span> &nbsp;icomoon-arrow-left-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-left-7"></span> &nbsp;icomoon-arrow-up-left-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-10"></span> &nbsp;icomoon-arrow-up-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-right-7"></span> &nbsp;icomoon-arrow-up-right-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-12"></span> &nbsp;icomoon-arrow-right-12 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-right-7"></span> &nbsp;icomoon-arrow-down-right-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-10"></span> &nbsp;icomoon-arrow-down-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-left-7"></span> &nbsp;icomoon-arrow-down-left-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-11"></span> &nbsp;icomoon-arrow-left-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-11"></span> &nbsp;icomoon-arrow-up-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-13"></span> &nbsp;icomoon-arrow-right-13 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-11"></span> &nbsp;icomoon-arrow-down-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-12"></span> &nbsp;icomoon-arrow-left-12 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-12"></span> &nbsp;icomoon-arrow-up-12 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-14"></span> &nbsp;icomoon-arrow-right-14 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-12"></span> &nbsp;icomoon-arrow-down-12 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-13"></span> &nbsp;icomoon-arrow-left-13 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-13"></span> &nbsp;icomoon-arrow-up-13 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-15"></span> &nbsp;icomoon-arrow-right-15 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-13"></span> &nbsp;icomoon-arrow-down-13 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-14"></span> &nbsp;icomoon-arrow-left-14 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-14"></span> &nbsp;icomoon-arrow-up-14 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-16"></span> &nbsp;icomoon-arrow-right-16 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-14"></span> &nbsp;icomoon-arrow-down-14 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-15"></span> &nbsp;icomoon-arrow-left-15 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-15"></span> &nbsp;icomoon-arrow-up-15 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-17"></span> &nbsp;icomoon-arrow-right-17 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-15"></span> &nbsp;icomoon-arrow-down-15 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-16"></span> &nbsp;icomoon-arrow-left-16 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-up-16"></span> &nbsp;icomoon-arrow-up-16 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-right-18"></span> &nbsp;icomoon-arrow-right-18 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-down-16"></span> &nbsp;icomoon-arrow-down-16 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-arrow-left-17"></span> &nbsp;icomoon-arrow-left-17 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-10"></span> &nbsp;icomoon-menu-10 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-11"></span> &nbsp;icomoon-menu-11 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-close"></span> &nbsp;icomoon-menu-close </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-menu-close-2"></span> &nbsp;icomoon-menu-close-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-enter-4"></span> &nbsp;icomoon-enter-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-enter-5"></span> &nbsp;icomoon-enter-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-esc"></span> &nbsp;icomoon-esc </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-backspace"></span> &nbsp;icomoon-backspace </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-backspace-2"></span> &nbsp;icomoon-backspace-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-backspace-3"></span> &nbsp;icomoon-backspace-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tab"></span> &nbsp;icomoon-tab </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-transmission"></span> &nbsp;icomoon-transmission </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-transmission-2"></span> &nbsp;icomoon-transmission-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sort"></span> &nbsp;icomoon-sort </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sort-2"></span> &nbsp;icomoon-sort-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-keyboard"></span> &nbsp;icomoon-key-keyboard </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-A"></span> &nbsp;icomoon-key-A </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-up"></span> &nbsp;icomoon-key-up </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-right"></span> &nbsp;icomoon-key-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-down"></span> &nbsp;icomoon-key-down </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-key-left"></span> &nbsp;icomoon-key-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-command"></span> &nbsp;icomoon-command </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-checked"></span> &nbsp;icomoon-checkbox-checked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-unchecked"></span> &nbsp;icomoon-checkbox-unchecked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-square"></span> &nbsp;icomoon-square </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-partial"></span> &nbsp;icomoon-checkbox-partial </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox"></span> &nbsp;icomoon-checkbox </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-unchecked-2"></span> &nbsp;icomoon-checkbox-unchecked-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-partial-2"></span> &nbsp;icomoon-checkbox-partial-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-checked-2"></span> &nbsp;icomoon-checkbox-checked-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-unchecked-3"></span> &nbsp;icomoon-checkbox-unchecked-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-checkbox-partial-3"></span> &nbsp;icomoon-checkbox-partial-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-radio-checked"></span> &nbsp;icomoon-radio-checked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-radio-unchecked"></span> &nbsp;icomoon-radio-unchecked </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-circle"></span> &nbsp;icomoon-circle </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-circle-2"></span> &nbsp;icomoon-circle-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-crop"></span> &nbsp;icomoon-crop </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-crop-2"></span> &nbsp;icomoon-crop-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-vector"></span> &nbsp;icomoon-vector </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-rulers"></span> &nbsp;icomoon-rulers </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-scissors"></span> &nbsp;icomoon-scissors </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-scissors-2"></span> &nbsp;icomoon-scissors-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-scissors-3"></span> &nbsp;icomoon-scissors-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-filter"></span> &nbsp;icomoon-filter </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-filter-2"></span> &nbsp;icomoon-filter-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-filter-3"></span> &nbsp;icomoon-filter-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-filter-4"></span> &nbsp;icomoon-filter-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-font"></span> &nbsp;icomoon-font </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-font-size"></span> &nbsp;icomoon-font-size </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-type"></span> &nbsp;icomoon-type </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-text-height"></span> &nbsp;icomoon-text-height </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-text-width"></span> &nbsp;icomoon-text-width </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-height"></span> &nbsp;icomoon-height </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-width"></span> &nbsp;icomoon-width </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bold"></span> &nbsp;icomoon-bold </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-underline"></span> &nbsp;icomoon-underline </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-italic"></span> &nbsp;icomoon-italic </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-strikethrough"></span> &nbsp;icomoon-strikethrough </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-strikethrough-2"></span> &nbsp;icomoon-strikethrough-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-font-size-2"></span> &nbsp;icomoon-font-size-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-bold-2"></span> &nbsp;icomoon-bold-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-underline-2"></span> &nbsp;icomoon-underline-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-italic-2"></span> &nbsp;icomoon-italic-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-strikethrough-3"></span> &nbsp;icomoon-strikethrough-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-omega"></span> &nbsp;icomoon-omega </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-sigma"></span> &nbsp;icomoon-sigma </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-nbsp"></span> &nbsp;icomoon-nbsp </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-page-break"></span> &nbsp;icomoon-page-break </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-page-break-2"></span> &nbsp;icomoon-page-break-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-superscript"></span> &nbsp;icomoon-superscript </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-subscript"></span> &nbsp;icomoon-subscript </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-superscript-2"></span> &nbsp;icomoon-superscript-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-subscript-2"></span> &nbsp;icomoon-subscript-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-text-color"></span> &nbsp;icomoon-text-color </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-highlight"></span> &nbsp;icomoon-highlight </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pagebreak"></span> &nbsp;icomoon-pagebreak </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-clear-formatting"></span> &nbsp;icomoon-clear-formatting </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-table"></span> &nbsp;icomoon-table </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-table-2"></span> &nbsp;icomoon-table-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-insert-template"></span> &nbsp;icomoon-insert-template </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pilcrow"></span> &nbsp;icomoon-pilcrow </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-left-to-right"></span> &nbsp;icomoon-left-to-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-right-to-left"></span> &nbsp;icomoon-right-to-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-left"></span> &nbsp;icomoon-paragraph-left </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-center"></span> &nbsp;icomoon-paragraph-center </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-right"></span> &nbsp;icomoon-paragraph-right </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-justify"></span> &nbsp;icomoon-paragraph-justify </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-left-2"></span> &nbsp;icomoon-paragraph-left-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-center-2"></span> &nbsp;icomoon-paragraph-center-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-right-2"></span> &nbsp;icomoon-paragraph-right-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-justify-2"></span> &nbsp;icomoon-paragraph-justify-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-indent-increase"></span> &nbsp;icomoon-indent-increase </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-indent-decrease"></span> &nbsp;icomoon-indent-decrease </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-left-3"></span> &nbsp;icomoon-paragraph-left-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-center-3"></span> &nbsp;icomoon-paragraph-center-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-right-3"></span> &nbsp;icomoon-paragraph-right-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paragraph-justify-3"></span> &nbsp;icomoon-paragraph-justify-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-indent-increase-2"></span> &nbsp;icomoon-indent-increase-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-indent-decrease-2"></span> &nbsp;icomoon-indent-decrease-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-share"></span> &nbsp;icomoon-share </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-new-tab"></span> &nbsp;icomoon-new-tab </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-new-tab-2"></span> &nbsp;icomoon-new-tab-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-popout"></span> &nbsp;icomoon-popout </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-embed"></span> &nbsp;icomoon-embed </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-code"></span> &nbsp;icomoon-code </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-console"></span> &nbsp;icomoon-console </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-0"></span> &nbsp;icomoon-seven-segment-0 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-1"></span> &nbsp;icomoon-seven-segment-1 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-2"></span> &nbsp;icomoon-seven-segment-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-3"></span> &nbsp;icomoon-seven-segment-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-4"></span> &nbsp;icomoon-seven-segment-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-5"></span> &nbsp;icomoon-seven-segment-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-6"></span> &nbsp;icomoon-seven-segment-6 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-7"></span> &nbsp;icomoon-seven-segment-7 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-8"></span> &nbsp;icomoon-seven-segment-8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-seven-segment-9"></span> &nbsp;icomoon-seven-segment-9 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-share-2"></span> &nbsp;icomoon-share-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-share-3"></span> &nbsp;icomoon-share-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mail"></span> &nbsp;icomoon-mail </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mail-2"></span> &nbsp;icomoon-mail-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mail-3"></span> &nbsp;icomoon-mail-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-mail-4"></span> &nbsp;icomoon-mail-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-google"></span> &nbsp;icomoon-google </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-google-plus"></span> &nbsp;icomoon-google-plus </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-google-plus-2"></span> &nbsp;icomoon-google-plus-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-google-plus-3"></span> &nbsp;icomoon-google-plus-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-google-plus-4"></span> &nbsp;icomoon-google-plus-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-google-drive"></span> &nbsp;icomoon-google-drive </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-facebook"></span> &nbsp;icomoon-facebook </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-facebook-2"></span> &nbsp;icomoon-facebook-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-facebook-3"></span> &nbsp;icomoon-facebook-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-facebook-4"></span> &nbsp;icomoon-facebook-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-instagram"></span> &nbsp;icomoon-instagram </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-twitter"></span> &nbsp;icomoon-twitter </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-twitter-2"></span> &nbsp;icomoon-twitter-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-twitter-3"></span> &nbsp;icomoon-twitter-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-feed-2"></span> &nbsp;icomoon-feed-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-feed-3"></span> &nbsp;icomoon-feed-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-feed-4"></span> &nbsp;icomoon-feed-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-youtube"></span> &nbsp;icomoon-youtube </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-youtube-2"></span> &nbsp;icomoon-youtube-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-vimeo"></span> &nbsp;icomoon-vimeo </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-vimeo2"></span> &nbsp;icomoon-vimeo2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-vimeo-2"></span> &nbsp;icomoon-vimeo-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lanyrd"></span> &nbsp;icomoon-lanyrd </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flickr"></span> &nbsp;icomoon-flickr </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flickr-2"></span> &nbsp;icomoon-flickr-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flickr-3"></span> &nbsp;icomoon-flickr-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flickr-4"></span> &nbsp;icomoon-flickr-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-picassa"></span> &nbsp;icomoon-picassa </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-picassa-2"></span> &nbsp;icomoon-picassa-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-dribbble"></span> &nbsp;icomoon-dribbble </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-dribbble-2"></span> &nbsp;icomoon-dribbble-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-dribbble-3"></span> &nbsp;icomoon-dribbble-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-forrst"></span> &nbsp;icomoon-forrst </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-forrst-2"></span> &nbsp;icomoon-forrst-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-deviantart"></span> &nbsp;icomoon-deviantart </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-deviantart-2"></span> &nbsp;icomoon-deviantart-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-steam"></span> &nbsp;icomoon-steam </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-steam-2"></span> &nbsp;icomoon-steam-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-github"></span> &nbsp;icomoon-github </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-github-2"></span> &nbsp;icomoon-github-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-github-3"></span> &nbsp;icomoon-github-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-github-4"></span> &nbsp;icomoon-github-4 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-github-5"></span> &nbsp;icomoon-github-5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wordpress"></span> &nbsp;icomoon-wordpress </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-wordpress-2"></span> &nbsp;icomoon-wordpress-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-joomla"></span> &nbsp;icomoon-joomla </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-blogger"></span> &nbsp;icomoon-blogger </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-blogger-2"></span> &nbsp;icomoon-blogger-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tumblr"></span> &nbsp;icomoon-tumblr </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tumblr-2"></span> &nbsp;icomoon-tumblr-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-yahoo"></span> &nbsp;icomoon-yahoo </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-tux"></span> &nbsp;icomoon-tux </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-apple"></span> &nbsp;icomoon-apple </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-finder"></span> &nbsp;icomoon-finder </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-android"></span> &nbsp;icomoon-android </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-windows"></span> &nbsp;icomoon-windows </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-windows8"></span> &nbsp;icomoon-windows8 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-soundcloud"></span> &nbsp;icomoon-soundcloud </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-soundcloud-2"></span> &nbsp;icomoon-soundcloud-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-skype"></span> &nbsp;icomoon-skype </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-reddit"></span> &nbsp;icomoon-reddit </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-linkedin"></span> &nbsp;icomoon-linkedin </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lastfm"></span> &nbsp;icomoon-lastfm </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-lastfm-2"></span> &nbsp;icomoon-lastfm-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-delicious"></span> &nbsp;icomoon-delicious </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stumbleupon"></span> &nbsp;icomoon-stumbleupon </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stumbleupon-2"></span> &nbsp;icomoon-stumbleupon-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-stackoverflow"></span> &nbsp;icomoon-stackoverflow </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pinterest"></span> &nbsp;icomoon-pinterest </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-pinterest-2"></span> &nbsp;icomoon-pinterest-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-xing"></span> &nbsp;icomoon-xing </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-xing-2"></span> &nbsp;icomoon-xing-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-flattr"></span> &nbsp;icomoon-flattr </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-foursquare"></span> &nbsp;icomoon-foursquare </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-foursquare-2"></span> &nbsp;icomoon-foursquare-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paypal"></span> &nbsp;icomoon-paypal </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paypal-2"></span> &nbsp;icomoon-paypal-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-paypal-3"></span> &nbsp;icomoon-paypal-3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-yelp"></span> &nbsp;icomoon-yelp </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-libreoffice"></span> &nbsp;icomoon-libreoffice </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-pdf"></span> &nbsp;icomoon-file-pdf </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-openoffice"></span> &nbsp;icomoon-file-openoffice </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-word"></span> &nbsp;icomoon-file-word </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-excel"></span> &nbsp;icomoon-file-excel </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-zip"></span> &nbsp;icomoon-file-zip </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-powerpoint"></span> &nbsp;icomoon-file-powerpoint </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-xml"></span> &nbsp;icomoon-file-xml </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-file-css"></span> &nbsp;icomoon-file-css </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-html5"></span> &nbsp;icomoon-html5 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-html5-2"></span> &nbsp;icomoon-html5-2 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-css3"></span> &nbsp;icomoon-css3 </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-chrome"></span> &nbsp;icomoon-chrome </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-firefox"></span> &nbsp;icomoon-firefox </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-IE"></span> &nbsp;icomoon-IE </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-opera"></span> &nbsp;icomoon-opera </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-safari"></span> &nbsp;icomoon-safari </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-IcoMoon"></span> &nbsp;icomoon-IcoMoon </span> <span class="moonicons-box1"> <span aria-hidden="true" class="icomoon-home-12"></span> &nbsp;icomoon-home-12 </span> </section> <div class="white-space"></div> </div> </section><!-- container --> <footer id="footer"> <section class="container footer-in"> <div class="one-third column"> <h5 class="subtitle">Latest News<span><a href="#">-VIEW ALL</a></span></h5> <div class="side-list"> <ul> <li> <a href="#"><img src="images/blog-line1.jpg" alt=""></a> <h5><a href="#">Blog Post Title Example</a></h5> <p>8 Comments</p> </li> <li> <a href="#"><img src="images/blog-line2.jpg" alt=""></a> <h5><a href="#">Blog Post Title Example</a></h5> <p>8 Comments</p> </li> <li><a href="#"><img src="images/blog-line3.jpg" alt=""></a> <h5><a href="#">Blog Post Title Example</a></h5> <p>8 Comments</p> </li> <li><a href="#"><img src="images/blog-line4.jpg" alt=""></a> <h5><a href="#">Blog Post Title Example</a></h5> <p>8 Comments</p> </li> </ul> </div> </div> <!-- LATASET NEWS end- --> <div class="one-third column"> <h5 class="subtitle">Tags</h5> <div class="tagcloud"> <a href="#">Features</a><a href="#">Inspiration</a><a href="#">Showcase</a> <a href="#">Graphic Design</a><a href="#">Illustration</a><a href="#">Design</a> <a href="#">Web Design</a><a href="#">Video</a><a href="#">ART</a><a href="#">New Work</a> <a href="#">Animation</a><a href="#">Photoshop</a><a href="#">Digital Painting</a> <a href="#">CG</a><a href="#">Howto</a> </div> <br class="clear"> <div class="partner-website"> <h5 class="subtitle">Partner Websites</h5> <a href="#"><i class="icomoon-arrow-right-17"></i>Cube Development Services</a> <a href="#"><i class="icomoon-arrow-right-17"></i>New Energy Corporation</a> <a href="#"><i class="icomoon-arrow-right-17"></i>MNKY Web Design Agency</a> <a href="#"><i class="icomoon-arrow-right-17"></i>Green Business Association</a> <a href="#"><i class="icomoon-arrow-right-17"></i>Bright Idia Photography</a> </div> </div> <!-- TAG & Partner end --> <div class="one-third column contact-inf"> <h5 class="subtitle">Contact Info</h5> <span><i class="icomoon-home"></i> 2013 Main St New York, NY 10044</span> <span><i class="icomoon-phone"></i> +1 234 5678</span> <span><i class="icomoon-envelop-2"></i> info@yoursite.com</span> <form class="frmContact" action="#"> <input type="text" name="txtName" id="txtName" value="" placeholder="Your Name..."/> <input type="text" name="txtEmail" id="txtEmail" value="" placeholder="Your Email Address..."/> <textarea name="txtText" id="txtText" placeholder="Your Message..."></textarea> <button type="button" class="btnSend">SEND MESSAGE</button> <div class="spanMessage"></div> </form> </div> <!-- Contact info end --> </section> <!-- end-footer-in --> <section class="footbot"> <div class="container"> <div class="footer-navi">© 2013 <a href="#">Florida Studio</a> All Rights Reserved.</div> <div class="socailfollow"> <a href="#" class="facebook"><i class="icomoon-facebook"></i></a> <a href="#" class="twitter"><i class="icomoon-twitter"></i></a> <a href="#" class="google"><i class="icomoon-google-plus-2"></i></a> <a href="#" class="dribble"><i class="icomoon-dribbble"></i></a> <a href="#" class="pinterest"><i class="icomoon-pinterest-2"></i></a> <a href="#" class="vimeo"><i class="icomoon-vimeo"></i></a> <a href="#" class="youtube"><i class="icomoon-youtube"></i></a> </div> </div> <!-- footer-navigation /end --> </section> <!-- end-footbot --> </footer> <!-- end-footer --> <span id="scroll-top"><a class="scrollup"><i class="icomoon-arrow-up"></i></a></span> </div><!-- end-wrap --> <!-- End Document ================================================== --> <script src="js/jquery.jcarousel.min.js"></script> <script type="text/javascript" src="js/doubletaptogo.js" ></script> <script defer src="js/jquery.flexslider-min.js"></script> <script src="js/bootstrap-alert.js"></script> <script src="js/bootstrap-dropdown.js"></script> <script src="js/bootstrap-tab.js"></script> <script src="js/bootstrap-tooltip.js"></script> <script type="text/javascript" src="js/florida-custom.js" ></script> <script src="js/jquery.prettyPhoto.js" ></script> <script type="text/javascript" src="js/jquery.sticky.js"></script> <script type="text/javascript" src="js/jquery.easy-pie-chart.js"></script> </body> <!-- Mirrored from webnus.biz/themes/florida/icons.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 11 Aug 2014 22:32:24 GMT --> </html>
ShadiNachat/QuantumWorks.Github.io
icons.html
HTML
mit
172,424
/** * @Author: shenyu <SamMFFL> * @Date: 2016/12/08 10:18:06 * @Email: samfec@163.com * @Last modified by: SamMFFL * @Last modified time: 2016/12/13 14:39:33 */ import React, {Component} from 'react'; import { StyleSheet, Text, View, Image, TouchableHighlight, ScrollView, } from 'react-native'; import Header from '../Header'; import Box from '../Box'; import Icon from 'react-native-vector-icons/FontAwesome'; import demoImg from '../imgs/demo.png'; const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#fff', flexDirection: 'column' }, scroll: { flex: 1, // borderWidth: 1, marginBottom: 50, }, box: { height: 200, borderTopWidth: 1, borderBottomWidth: 1, borderColor: '#D6DCDF', backgroundColor: '#f5fcff', marginBottom: 10, paddingBottom: 20, }, animateView: { flex: 1, justifyContent: 'center', alignItems: 'center', }, boxBtn: { height: 30, flexDirection: 'row', justifyContent: 'space-around', alignItems: 'center', } }); export default class setNativePropsDemo extends Component { count = 0; constructor(props) { super(props); this.startAnimationOfSize = this.startAnimationOfSize.bind(this); this.stopAnimationOfSize = this.stopAnimationOfSize.bind(this); this._renderSize = this._renderSize.bind(this); this.animateSizeFunc = this.animateSizeFunc.bind(this); this.state = { width: 50, height: 50, } } _renderSize() { return ( <View style={[styles.animateView,{ opacity:1 }]}> <Image ref="img" source = { demoImg } style={{ width: this.state.width, height: this.state.height, }} /> </View> ); } animateSizeFunc(){ requestAnimationFrame(() =>{ if(this.count<50){ ++this.count; // this.setState({ // width: this.state.width+10 , // height: this.state.height+10 // }); this.refs.img.setNativeProps({ style: { width: this.state.width++, height: this.state.height++, } }); // console.log('count',this.count) this.animateSizeFunc(); } }); } startAnimationOfSize(){ this.setState({ width: 50, height: 50 }); this.count = 0; this.animateSizeFunc(); } stopAnimationOfSize(){ this.setState({ width: 50, height: 50 }); this.refs.img.setNativeProps({ style: { width: 50, height: 50, } }); this.count = 100; setTimeout(()=>{ this.count = 0; },100) } startAnimation(){ var count = 0; var width=50, height=50; while (++count < 10000) { requestAnimationFrame(() =>{ // console.log(12) this.refs.img.setNativeProps({ style: { width: width, height: height, } }); }); width += 0.01; height += 0.01; } // LayoutAnimation.configureNext({ // duration: 700, //持续时间 // create: { // 视图创建 // type: LayoutAnimation.Types.spring, // property: LayoutAnimation.Properties.scaleXY,// opacity、scaleXY // }, // update: { // 视图更新 // type: LayoutAnimation.Types.spring, // }, // }); // this.setState({ // width: this.state.width + 100, // height: this.state.height + 100 // }); } render() { const {navigator, title} = this.props; console.log(1) return ( <View style={styles.container}> <Header title={title} showArrow={Boolean(true)} navigator={navigator} /> <ScrollView vertical={Boolean(true)} directionalLockEnabled={Boolean(true)} showsHorizontalScrollIndicator={Boolean(false)} indicatorStyle="white" style={styles.scroll} > <Box title="放大动画处理" animatedContent={this._renderSize()} playFunc={this.startAnimationOfSize} pauseFunc={this.stopAnimationOfSize} /> </ScrollView> </View> ) } componentDidMount(){ // this.startAnimation(); } }
yeeFlame/animate-for-RN
studyAnimate/containers/examples/setNativePropsDemo.js
JavaScript
mit
5,282
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_11) on Mon Sep 01 21:58:18 IST 2014 --> <title>Base64FilterInputStream</title> <meta name="date" content="2014-09-01"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Base64FilterInputStream"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Base64FilterInputStream.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/security/crypt/io/AbstractX509CredentialReader.html" title="class in org.security.crypt.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../../org/security/crypt/io/Base64FilterInputStreamTest.html" title="class in org.security.crypt.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/security/crypt/io/Base64FilterInputStream.html" target="_top">Frames</a></li> <li><a href="Base64FilterInputStream.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#methods.inherited.from.class.org.security.crypt.io.AbstractEncodingFilterInputStream">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li>Method</li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.security.crypt.io</div> <h2 title="Class Base64FilterInputStream" class="title">Class Base64FilterInputStream</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>java.io.InputStream</li> <li> <ul class="inheritance"> <li>java.io.FilterInputStream</li> <li> <ul class="inheritance"> <li><a href="../../../../org/security/crypt/io/AbstractEncodingFilterInputStream.html" title="class in org.security.crypt.io">org.security.crypt.io.AbstractEncodingFilterInputStream</a></li> <li> <ul class="inheritance"> <li>org.security.crypt.io.Base64FilterInputStream</li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>java.io.Closeable, java.lang.AutoCloseable</dd> </dl> <hr> <br> <pre>public class <span class="typeNameLabel">Base64FilterInputStream</span> extends <a href="../../../../org/security/crypt/io/AbstractEncodingFilterInputStream.html" title="class in org.security.crypt.io">AbstractEncodingFilterInputStream</a></pre> <div class="block">Converts an input stream of base-64 encoded character bytes into raw bytes.</div> <dl> <dt><span class="simpleTagLabel">Author:</span></dt> <dd>shivam</dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field.summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/security/crypt/io/Base64FilterInputStream.html#LINE_LENGTH_64">LINE_LENGTH_64</a></span></code> <div class="block">Wrap lines at 64 characters.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/security/crypt/io/Base64FilterInputStream.html#LINE_LENGTH_76">LINE_LENGTH_76</a></span></code> <div class="block">Wrap lines at 76 characters.</div> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/security/crypt/io/Base64FilterInputStream.html#Base64FilterInputStream-java.io.InputStream-">Base64FilterInputStream</a></span>(java.io.InputStream&nbsp;in)</code> <div class="block">Creates a base-64 filter input stream around the given input stream.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/security/crypt/io/Base64FilterInputStream.html#Base64FilterInputStream-java.io.InputStream-int-">Base64FilterInputStream</a></span>(java.io.InputStream&nbsp;in, int&nbsp;charsPerLine)</code> <div class="block">Creates a base-64 filter input stream around the given input stream.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.org.security.crypt.io.AbstractEncodingFilterInputStream"> <!-- --> </a> <h3>Methods inherited from class&nbsp;org.security.crypt.io.<a href="../../../../org/security/crypt/io/AbstractEncodingFilterInputStream.html" title="class in org.security.crypt.io">AbstractEncodingFilterInputStream</a></h3> <code><a href="../../../../org/security/crypt/io/AbstractEncodingFilterInputStream.html#read--">read</a>, <a href="../../../../org/security/crypt/io/AbstractEncodingFilterInputStream.html#read-byte:A-">read</a>, <a href="../../../../org/security/crypt/io/AbstractEncodingFilterInputStream.html#read-byte:A-int-int-">read</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.io.FilterInputStream"> <!-- --> </a> <h3>Methods inherited from class&nbsp;java.io.FilterInputStream</h3> <code>available, close, mark, markSupported, reset, skip</code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class&nbsp;java.lang.Object</h3> <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field.detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="LINE_LENGTH_64"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>LINE_LENGTH_64</h4> <pre>public static final&nbsp;int LINE_LENGTH_64</pre> <div class="block">Wrap lines at 64 characters.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../constant-values.html#org.security.crypt.io.Base64FilterInputStream.LINE_LENGTH_64">Constant Field Values</a></dd> </dl> </li> </ul> <a name="LINE_LENGTH_76"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>LINE_LENGTH_76</h4> <pre>public static final&nbsp;int LINE_LENGTH_76</pre> <div class="block">Wrap lines at 76 characters.</div> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../constant-values.html#org.security.crypt.io.Base64FilterInputStream.LINE_LENGTH_76">Constant Field Values</a></dd> </dl> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="Base64FilterInputStream-java.io.InputStream-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Base64FilterInputStream</h4> <pre>public&nbsp;Base64FilterInputStream(java.io.InputStream&nbsp;in)</pre> <div class="block">Creates a base-64 filter input stream around the given input stream.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>in</code> - Input stream to wrap.</dd> </dl> </li> </ul> <a name="Base64FilterInputStream-java.io.InputStream-int-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Base64FilterInputStream</h4> <pre>public&nbsp;Base64FilterInputStream(java.io.InputStream&nbsp;in, int&nbsp;charsPerLine)</pre> <div class="block">Creates a base-64 filter input stream around the given input stream.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>in</code> - Input stream to wrap.</dd> <dd><code>charsPerLine</code> - Number of characters per line of encoded input. Must be one of <a href="../../../../org/security/crypt/io/Base64FilterInputStream.html#LINE_LENGTH_64"><code>LINE_LENGTH_64</code></a>, <a href="../../../../org/security/crypt/io/Base64FilterInputStream.html#LINE_LENGTH_76"><code>LINE_LENGTH_76</code></a>, or 0 to indicate no wrapping.</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Base64FilterInputStream.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/security/crypt/io/AbstractX509CredentialReader.html" title="class in org.security.crypt.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../../org/security/crypt/io/Base64FilterInputStreamTest.html" title="class in org.security.crypt.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/security/crypt/io/Base64FilterInputStream.html" target="_top">Frames</a></li> <li><a href="Base64FilterInputStream.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#methods.inherited.from.class.org.security.crypt.io.AbstractEncodingFilterInputStream">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li>Method</li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
shivam091/Java-Security
crypt/doc/org/security/crypt/io/Base64FilterInputStream.html
HTML
mit
13,700
# MGR.CommandLineParser documentation `MGR.CommandLineParser` is a multi-command line parser library. It provides an extensible mechanism to provide define commands (with multiple out-of-the-box providers) and is able to automatically generate help/usage output for all commands. Built-in providers lets you define command by: - [creating a class](class-based/create-class-based-command.md) that implements `MGR.CommandLineParser.Command.ICommand` or inherits `MGR.CommandLineParser.Command.CommandBase` (provides some basic behavior for commands like support of `--help` option) - [dynamically defining a command that uses a lambda](lambda/create-a-lambda-based-command.md) as execution (via the package `MGR.CommandLineParser.Command.Lambda) The general syntax on the command line is: `<commandName> <options> <arguments>` Options can be specified by their _normal/long_ form (`--full-option`) or with its short form (`-fo`). The value of the option can be separated of the name of the option by a space (` `) or a colon (`:`). Arguments is a list of non-option string that is passed to the command. There is also some ways to customize others parts of the parser: - how to display information to the user: the [`IConsole` interface](extensibility/console.md) - how the value of the options are converted: the [`IConverter` interface](extensibility/converter.md) This library use [dependency injection](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection) to retrieve the implementation of all this service, so you just have to register your own implementation to override/augment the default behavior. --- ## [Customize command display](customize-command-display.md) ## [Call command's options](call-command-options.md) ## [Customize the internal of the parser](customize-internal-of-parser.md)
mgrosperrin/commandlineparser
docs/index.md
Markdown
mit
1,836
--- layout: post title: "Sampling as an Epidemic Process" description: "Synopsis of our RDS Biometrics paper" category: tags: [statistics] --- _Respondent driven sampling_ (RDS) is an approach to sampling design and analysis which utilizes the networks of social relationships that connect members of the target population, using chain-referral. It is especially useful when sampling stigmatized groups, such as injection drug users, sex workers, and men who have sex with men, etc. In our latest contribution, just published in [Biometrics](http://onlinelibrary.wiley.com/doi/10.1111/biom.12678/abstract), [Yakir Berchenko](https://scholar.google.co.il/citations?user=U3ykKLQAAAAJ&hl=en), [Simon Frost](http://www.infectiousdisease.cam.ac.uk/directory/sdf22@cam.ac.uk) and myself, take a look at RDS and cast the sampling as a __stochastic epidemic__. This view allows us to analyze RDS using the likelihood framework, which was previously impossible. In particular, this allows us to debias population prevalence estimates, and estimate the population size! The likelihood framework also allows us to add Bayesian regularization, debias risk estimates a-la AIC, or cross-validation, which were previously impossible, without the sampling distribution. I particularly like this project, because it is a real end-to-end statistical challenge with nice theory, computational considerations, and a deliverable R package: - A widely applicable problem: sampling in hidden populations is both very important, and a real challenge to classical sampling techniques. RDS is also a potential tool to analyze "Facebook-samples", which are becoming more prevalent. - The theory: viewing the sampling as a stochastic epidemic, an idea due to Yakir, allows to link the sampling literature to the vast corpus of knowledge on epidemics, software reliability, and counting processes. - A computational challenge: The likelihood function implied by the stochastic epidemic is essentially, a [stochastic differential equation](https://en.wikipedia.org/wiki/Stochastic_differential_equation). The counting processes literature allowed us to state the likelihood directly, observe it is separable, and solve the maximum-likelihood problem efficiently. - An R package: Our RDS estimator, with the numerical "tricks" above, is implemented in the __chords__ package, available from [CRAN](https://CRAN.R-project.org/package=chords).
johnros/johnros.github.com
_posts/2017-02-22-rds.md
Markdown
mit
2,428
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: GrabzIt::ImageOptions &mdash; Documentation by YARD 0.9.5 </title> <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" /> <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> pathId = "GrabzIt::ImageOptions"; relpath = '../'; </script> <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="../js/app.js"></script> </head> <body> <div class="nav_wrap"> <iframe id="nav" src="../class_list.html"></iframe> <div id="resizer"></div> </div> <div id="main" tabindex="-1"> <div id="header"> <div id="menu"> <a href="../_index.html">Index (I)</a> &raquo; <span class='title'><span class='object_link'><a href="../GrabzIt.html" title="GrabzIt (module)">GrabzIt</a></span></span> &raquo; <span class="title">ImageOptions</span> </div> <div id="search"> <a class="full_list_link" id="class_list_link" href="../class_list.html"> <svg width="24" height="24"> <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> </svg> </a> </div> <div class="clear"></div> </div> <iframe id="search_frame" src="../class_list.html"></iframe> <div id="content"><h1>Class: GrabzIt::ImageOptions </h1> <div class="box_info"> <dl> <dt>Inherits:</dt> <dd> <span class="inheritName"><span class='object_link'><a href="BaseOptions.html" title="GrabzIt::BaseOptions (class)">BaseOptions</a></span></span> <ul class="fullTree"> <li>Object</li> <li class="next"><span class='object_link'><a href="BaseOptions.html" title="GrabzIt::BaseOptions (class)">BaseOptions</a></span></li> <li class="next">GrabzIt::ImageOptions</li> </ul> <a href="#" class="inheritanceTree">show all</a> </dd> </dl> <dl> <dt>Defined in:</dt> <dd>lib/grabzit/imageoptions.rb</dd> </dl> </div> <h2>Overview</h2><div class="docstring"> <div class="discussion"> <p>Represents all of the options available when creating an image</p> </div> </div> <div class="tags"> <p class="tag_title">Author:</p> <ul class="author"> <li> <div class='inline'> <p>GrabzIt</p> </div> </li> </ul> <p class="tag_title">Version:</p> <ul class="version"> <li> <div class='inline'> <p>3.0</p> </div> </li> </ul> </div> <h2> Instance Method Summary <small><a href="#" class="summary_toggle">collapse</a></small> </h2> <ul class="summary"> <li class="public "> <span class="summary_signature"> <a href="#browserHeight-instance_method" title="#browserHeight (instance method)">#<strong>browserHeight</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the height of the browser in pixels.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#browserWidth-instance_method" title="#browserWidth (instance method)">#<strong>browserWidth</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the width of the browser in pixels.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#customWaterMarkId-instance_method" title="#customWaterMarkId (instance method)">#<strong>customWaterMarkId</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set a custom watermark to add to the screenshot.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#delay-instance_method" title="#delay (instance method)">#<strong>delay</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the number of milliseconds to wait before creating the capture.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#format-instance_method" title="#format (instance method)">#<strong>format</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the format the screenshot should be in: bmp8, bmp16, bmp24, bmp, tiff, jpg, png.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#height-instance_method" title="#height (instance method)">#<strong>height</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the height of the resulting screenshot in pixels.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; ImageOptions </a> </span> <span class="note title constructor">constructor</span> <span class="summary_desc"><div class='inline'> <p>A new instance of ImageOptions.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#quality-instance_method" title="#quality (instance method)">#<strong>quality</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the quality of the screenshot where 0 is poor and 100 excellent.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#requestAs-instance_method" title="#requestAs (instance method)">#<strong>requestAs</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set which user agent type should be used: Standard Browser = 0, Mobile Browser = 1, Search Engine = 2 and Fallback Browser = 3.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#targetElement-instance_method" title="#targetElement (instance method)">#<strong>targetElement</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the id of the only HTML element in the web page to turn into a screenshot.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> <a href="#width-instance_method" title="#width (instance method)">#<strong>width</strong>(value) &#x21d2; void </a> </span> <span class="summary_desc"><div class='inline'> <p>Set the width of the resulting screenshot in pixels.</p> </div></span> </li> </ul> <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseOptions.html" title="GrabzIt::BaseOptions (class)">BaseOptions</a></span></h3> <p class="inherited"><span class='object_link'><a href="BaseOptions.html#country-instance_method" title="GrabzIt::BaseOptions#country (method)">#country</a></span>, <span class='object_link'><a href="BaseOptions.html#customId-instance_method" title="GrabzIt::BaseOptions#customId (method)">#customId</a></span></p> <div id="constructor_details" class="method_details_list"> <h2>Constructor Details</h2> <div class="method_details first"> <h3 class="signature first" id="initialize-instance_method"> #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="GrabzIt::ImageOptions (class)">ImageOptions</a></span></tt> </h3><div class="docstring"> <div class="discussion"> <p>Returns a new instance of ImageOptions</p> </div> </div> <div class="tags"> </div><table class="source_code"> <tr> <td> <pre class="lines"> 8 9 10 11 12 13 14 15 16 17 18</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 8</span> <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='ivar'>@browserWidth</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='ivar'>@browserHeight</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='ivar'>@width</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='ivar'>@height</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='ivar'>@format</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='ivar'>@targetElement</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='ivar'>@requestAs</span> <span class='op'>=</span> <span class='int'>0</span> <span class='ivar'>@customWaterMarkId</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='ivar'>@quality</span> <span class='op'>=</span> <span class='op'>-</span><span class='int'>1</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> </div> <div id="instance_method_details" class="method_details_list"> <h2>Instance Method Details</h2> <div class="method_details first"> <h3 class="signature first" id="browserHeight-instance_method"> #<strong>browserHeight</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the height of the browser in pixels. Use -1 to screenshot the whole web page</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>Integer</tt>)</span> &mdash; <div class='inline'> <p>the browser height</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 34 35 36</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 34</span> <span class='kw'>def</span> <span class='id identifier rubyid_browserHeight'>browserHeight</span> <span class='ivar'>@browserHeight</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="browserWidth-instance_method"> #<strong>browserWidth</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the width of the browser in pixels</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>Integer</tt>)</span> &mdash; <div class='inline'> <p>the browser width</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 21 22 23</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 21</span> <span class='kw'>def</span> <span class='id identifier rubyid_browserWidth'>browserWidth</span> <span class='ivar'>@browserWidth</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="customWaterMarkId-instance_method"> #<strong>customWaterMarkId</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set a custom watermark to add to the screenshot.</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>String</tt>)</span> &mdash; <div class='inline'> <p>custom watermark id</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 125 126 127</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 125</span> <span class='kw'>def</span> <span class='id identifier rubyid_customWaterMarkId'>customWaterMarkId</span> <span class='ivar'>@customWaterMarkId</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="delay-instance_method"> #<strong>delay</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the number of milliseconds to wait before creating the capture</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>Integer</tt>)</span> &mdash; <div class='inline'> <p>the delay</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 86 87 88</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 86</span> <span class='kw'>def</span> <span class='id identifier rubyid_delay'>delay</span> <span class='ivar'>@delay</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="format-instance_method"> #<strong>format</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the format the screenshot should be in: bmp8, bmp16, bmp24, bmp, tiff, jpg, png</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>String</tt>)</span> &mdash; <div class='inline'> <p>the format</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 73 74 75</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 73</span> <span class='kw'>def</span> <span class='id identifier rubyid_format'>format</span> <span class='ivar'>@format</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="height-instance_method"> #<strong>height</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the height of the resulting screenshot in pixels. Use -1 to not reduce the height of the screenshot</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>Integer</tt>)</span> &mdash; <div class='inline'> <p>the height</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 60 61 62</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 60</span> <span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span> <span class='ivar'>@height</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="quality-instance_method"> #<strong>quality</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the quality of the screenshot where 0 is poor and 100 excellent. The default is -1 which uses the recommended quality</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>Integer</tt>)</span> &mdash; <div class='inline'> <p>the custom identifier</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 138 139 140</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 138</span> <span class='kw'>def</span> <span class='id identifier rubyid_quality'>quality</span> <span class='ivar'>@quality</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="requestAs-instance_method"> #<strong>requestAs</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set which user agent type should be used: Standard Browser = 0, Mobile Browser = 1, Search Engine = 2 and Fallback Browser = 3</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>Integer</tt>)</span> &mdash; <div class='inline'> <p>the browser type</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 112 113 114</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 112</span> <span class='kw'>def</span> <span class='id identifier rubyid_requestAs'>requestAs</span> <span class='ivar'>@requestAs</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="targetElement-instance_method"> #<strong>targetElement</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the id of the only HTML element in the web page to turn into a screenshot</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>String</tt>)</span> &mdash; <div class='inline'> <p>the target element</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 99 100 101</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 99</span> <span class='kw'>def</span> <span class='id identifier rubyid_targetElement'>targetElement</span> <span class='ivar'>@targetElement</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> <h3 class="signature " id="width-instance_method"> #<strong>width</strong>(value) &#x21d2; <tt>void</tt> </h3><div class="docstring"> <div class="discussion"> <p class="note returns_void">This method returns an undefined value.</p> <p>Set the width of the resulting screenshot in pixels. Use -1 to not reduce the width of the screenshot</p> </div> </div> <div class="tags"> <p class="tag_title">Parameters:</p> <ul class="param"> <li> <span class='name'>value</span> <span class='type'>(<tt>Integer</tt>)</span> &mdash; <div class='inline'> <p>the width</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> 47 48 49</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/grabzit/imageoptions.rb', line 47</span> <span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span> <span class='ivar'>@width</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> </div> </div> <div id="footer"> Generated on Tue Oct 18 07:52:18 2016 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.5 (ruby-1.9.3). </div> </div> </body> </html>
GrabzIt/grabzit
ruby/GrabzIt/doc/GrabzIt/ImageOptions.html
HTML
mit
21,992
.container{ max-width: 400px; padding: 20px; } .title{ margin-bottom: 50px; } .result-table{ display: none; } .swap-currency{ cursor: pointer; }
alpdogan/parapul.js
public/_assets/css/parapul.css
CSS
mit
164
package simpul.core; import simpul.Interfaces; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class EventEmitter implements Interfaces.EventEmitter{ private class RegisteredCallback{ private final Interfaces.EventCallback cb; private final boolean once; private RegisteredCallback(Interfaces.EventCallback cb, boolean once) { this.cb = cb; this.once = once; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RegisteredCallback that = (RegisteredCallback) o; return cb.equals(that.cb); } @Override public int hashCode() { return cb.hashCode(); } } private final Map<String,List<RegisteredCallback>> listeners; public EventEmitter() { listeners = new HashMap<>(); } @Override public <T> void on(String event, Interfaces.EventCallback<T> cb) { addListener(event, cb, false); } private <T> void addListener(String event, Interfaces.EventCallback<T> cb, boolean once) { List<RegisteredCallback> callbacks = listeners.get(event); if (callbacks == null) { callbacks = new ArrayList<>(); listeners.put(event,callbacks); } callbacks.add(new RegisteredCallback(cb,once)); } @Override public <T> void once(String event, Interfaces.EventCallback<T> cb) { addListener(event, cb, true); } @Override public <T> void emit(String event, T data) { List<RegisteredCallback> callbacks = listeners.get(event); if (callbacks == null) { return; } for (RegisteredCallback registeredCallback: callbacks) { if (registeredCallback.once) { //noinspection unchecked removeListener(event,registeredCallback.cb); } //noinspection unchecked registeredCallback.cb.invoke(data); } } @Override public <T> void removeListener(String event, Interfaces.EventCallback<T> cb) { List<RegisteredCallback> callbacks = listeners.get(event); if (callbacks == null) { return; } callbacks.remove(new RegisteredCallback(cb,false)); } @Override public void removeAllListeners(String event) { listeners.remove(event); } @Override public int listeners(String event) { List<RegisteredCallback> callbacks = listeners.get(event); if (callbacks == null) { return 0; } return callbacks.size(); } }
parroit/simpul
src/main/java/simpul/core/EventEmitter.java
Java
mit
2,783
#!/usr/bin/env python2 import argparse import xml.etree.ElementTree as ET import subprocess import os.path as path from watchdog.observers import Observer from watchdog.events import PatternMatchingEventHandler import time OUT_DIR = './_out' HAXE_PATH = 'haxe' def get_main_info(meta_root): server_main, client_main = None, None node = meta_root.find('server_main') if node is not None: server_main = {'src': '', 'class': 'Main', 'main_dir': ''} src = node.attrib['src'] if src is not None: server_main['main_dir'] = path.dirname(src) server_main['src'] = path.relpath(src, server_main['main_dir']) node = meta_root.find('client_main') if node is not None: client_main = {'src': '', 'class': 'Main', 'main_dir': ''} src = node.attrib['src'] if src is not None: client_main['main_dir'] = path.dirname(src) client_main['src'] = path.relpath(src, client_main['main_dir']) return server_main, client_main def build_meta(meta_root): meta_root.append(ET.Element('script', {'src': 'server.lua', 'type': 'server'})) meta_root.append(ET.Element('script', {'src': 'client.lua', 'type': 'client'})) for node in meta_root.findall('server_main'): meta_root.remove(node) for node in meta_root.findall('client_main'): meta_root.remove(node) ET.ElementTree(meta_root).write(path.join(OUT_DIR, 'meta.xml')) def build_resource(): print('Building...') # Parse meta.xml tree = ET.parse('meta.xml') root = tree.getroot() # Get information about entry point server_main, client_main = get_main_info(root) server_out_path = path.join('..', OUT_DIR, 'server.lua') client_out_path = path.join('..', OUT_DIR, 'client.lua') # Invoke the compiler if server_main is not None: ret = subprocess.call([HAXE_PATH, '-main', server_main['class'], '-lua', server_out_path, server_main['src'], '-lib', 'mtasa-typings'], cwd=server_main['main_dir']) if client_main is not None: ret = subprocess.call([HAXE_PATH, '-main', client_main['class'], '-lua', client_out_path, client_main['src'], '-lib', 'mtasa-typings'], cwd=client_main['main_dir']) # Build new meta build_meta(root) if __name__ == '__main__': # Parse args parser = argparse.ArgumentParser(description='haxe-mta build tools') sub_parsers = parser.add_subparsers(help='sub commands') build_parser = sub_parsers.add_parser('build', help='build resource') run_parser = sub_parsers.add_parser('run', help='wait and recompile on changes') build_parser.set_defaults(build_parser=True, run_parser=False) run_parser.set_defaults(run_parser=True, build_parser=False) args = parser.parse_args() # Handle commands if args.build_parser: # Build resource once build_resource() elif args.run_parser: # Build resource again on any change class FileSystemListener(PatternMatchingEventHandler): def __init__(self): super(FileSystemListener, self).__init__(ignore_patterns=['**/_out*']) def on_any_event(self, event): build_resource() event_handler = FileSystemListener() observer = Observer() observer.schedule(event_handler, '.', recursive=True) observer.start() try: while True: time.sleep(1) except KeyboardInterrupt: observer.stop() observer.join()
Jusonex/haxe-mtasa-typings
example/build.py
Python
mit
3,302
@testset "gibbs.jl" begin @turing_testset "gibbs constructor" begin N = 500 s1 = Gibbs(HMC(0.1, 5, :s, :m)) s2 = Gibbs(PG(10, :s, :m)) s3 = Gibbs(PG(3, :s), HMC( 0.4, 8, :m)) s4 = Gibbs(PG(3, :s), HMC(0.4, 8, :m)) s5 = Gibbs(CSMC(3, :s), HMC(0.4, 8, :m)) s6 = Gibbs(HMC(0.1, 5, :s), ESS(:m)) for s in (s1, s2, s3, s4, s5, s6) @test DynamicPPL.alg_str(Turing.Sampler(s, gdemo_default)) == "Gibbs" end c1 = sample(gdemo_default, s1, N) c2 = sample(gdemo_default, s2, N) c3 = sample(gdemo_default, s3, N) c4 = sample(gdemo_default, s4, N) c5 = sample(gdemo_default, s5, N) c6 = sample(gdemo_default, s6, N) # Test gid of each samplers g = Turing.Sampler(s3, gdemo_default) _, state = AbstractMCMC.step(Random.GLOBAL_RNG, gdemo_default, g) @test state.samplers[1].selector != g.selector @test state.samplers[2].selector != g.selector @test state.samplers[1].selector != state.samplers[2].selector # run sampler: progress logging should be disabled and # it should return a Chains object @test sample(gdemo_default, g, N) isa MCMCChains.Chains end @numerical_testset "gibbs inference" begin Random.seed!(100) alg = Gibbs(CSMC(15, :s), HMC(0.2, 4, :m)) chain = sample(gdemo(1.5, 2.0), alg, 5_000) check_numerical(chain, [:s, :m], [49/24, 7/6], atol=0.15) Random.seed!(100) alg = Gibbs(MH(:s), HMC(0.2, 4, :m)) chain = sample(gdemo(1.5, 2.0), alg, 5_000) check_numerical(chain, [:s, :m], [49/24, 7/6], atol=0.1) alg = Gibbs(CSMC(15, :s), ESS(:m)) chain = sample(gdemo(1.5, 2.0), alg, 5_000) check_numerical(chain, [:s, :m], [49/24, 7/6], atol=0.1) alg = CSMC(15) chain = sample(gdemo(1.5, 2.0), alg, 5_000) check_numerical(chain, [:s, :m], [49/24, 7/6], atol=0.1) setadsafe(true) Random.seed!(200) gibbs = Gibbs(PG(15, :z1, :z2, :z3, :z4), HMC(0.15, 3, :mu1, :mu2)) chain = sample(MoGtest_default, gibbs, 5_000) check_MoGtest_default(chain, atol=0.15) setadsafe(false) Random.seed!(200) gibbs = Gibbs(PG(15, :z1, :z2, :z3, :z4), ESS(:mu1), ESS(:mu2)) chain = sample(MoGtest_default, gibbs, 5_000) check_MoGtest_default(chain, atol=0.1) end @turing_testset "transitions" begin @model gdemo_copy() = begin s ~ InverseGamma(2, 3) m ~ Normal(0, sqrt(s)) 1.5 ~ Normal(m, sqrt(s)) 2.0 ~ Normal(m, sqrt(s)) return s, m end model = gdemo_copy() function AbstractMCMC.bundle_samples( samples::Vector, ::typeof(model), ::Turing.Sampler{<:Gibbs}, state, ::Type{MCMCChains.Chains}; kwargs... ) samples isa Vector{<:Inference.GibbsTransition} || error("incorrect transitions") return end function callback(rng, model, sampler, sample, state, i; kwargs...) sample isa Inference.GibbsTransition || error("incorrect sample") return end alg = Gibbs(MH(:s), HMC(0.2, 4, :m)) sample(model, alg, 100; callback = callback) end @turing_testset "dynamic model" begin @model imm(y, alpha, ::Type{M}=Vector{Float64}) where {M} = begin N = length(y) rpm = DirichletProcess(alpha) z = tzeros(Int, N) cluster_counts = tzeros(Int, N) fill!(cluster_counts, 0) for i in 1:N z[i] ~ ChineseRestaurantProcess(rpm, cluster_counts) cluster_counts[z[i]] += 1 end Kmax = findlast(!iszero, cluster_counts) m = M(undef, Kmax) for k = 1:Kmax m[k] ~ Normal(1.0, 1.0) end end model = imm(randn(100), 1.0); sample(model, Gibbs(MH(:z), HMC(0.01, 4, :m)), 100); sample(model, Gibbs(PG(10, :z), HMC(0.01, 4, :m)), 100); end end
yebai/Turing.jl
test/inference/gibbs.jl
Julia
mit
4,241
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `XK_Cyrillic_HARDSIGN` constant in crate `x11_dl`."> <meta name="keywords" content="rust, rustlang, rust-lang, XK_Cyrillic_HARDSIGN"> <title>x11_dl::keysym::XK_Cyrillic_HARDSIGN - Rust</title> <link rel="stylesheet" type="text/css" href="../../main.css"> </head> <body class="rustdoc"> <!--[if lte IE 8]> <div class="warning"> This old browser is unsupported and will most likely display funky things. </div> <![endif]--> <section class="sidebar"> <p class='location'><a href='../index.html'>x11_dl</a>::<wbr><a href='index.html'>keysym</a></p><script>window.sidebarCurrent = {name: 'XK_Cyrillic_HARDSIGN', ty: 'constant', relpath: ''};</script><script defer src="sidebar-items.js"></script> </section> <nav class="sub"> <form class="search-form js-only"> <div class="search-container"> <input class="search-input" name="search" autocomplete="off" placeholder="Click or press 'S' to search, '?' for more options..." type="search"> </div> </form> </nav> <section id='main' class="content constant"> <h1 class='fqn'><span class='in-band'><a href='../index.html'>x11_dl</a>::<wbr><a href='index.html'>keysym</a>::<wbr><a class='constant' href=''>XK_Cyrillic_HARDSIGN</a></span><span class='out-of-band'><span id='render-detail'> <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>&#x2212;</span>] </a> </span><a id='src-4533' class='srclink' href='../../src/x11_dl/keysym.rs.html#710' title='goto source code'>[src]</a></span></h1> <pre class='rust const'>pub const XK_Cyrillic_HARDSIGN: <a class='type' href='../../libc/types/os/arch/c95/type.c_uint.html' title='libc::types::os::arch::c95::c_uint'>c_uint</a><code> = </code><code>0x6ff</code></pre></section> <section id='search' class="content hidden"></section> <section class="footer"></section> <div id="help" class="hidden"> <div class="shortcuts"> <h1>Keyboard shortcuts</h1> <dl> <dt>?</dt> <dd>Show this help dialog</dd> <dt>S</dt> <dd>Focus the search field</dd> <dt>&larrb;</dt> <dd>Move up in search results</dd> <dt>&rarrb;</dt> <dd>Move down in search results</dd> <dt>&#9166;</dt> <dd>Go to active search result</dd> </dl> </div> <div class="infos"> <h1>Search tricks</h1> <p> Prefix searches with a type followed by a colon (e.g. <code>fn:</code>) to restrict the search to a given type. </p> <p> Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>typedef</code> (or <code>tdef</code>). </p> <p> Search functions by type signature (e.g. <code>vec -> usize</code>) </p> </div> </div> <script> window.rootPath = "../../"; window.currentCrate = "x11_dl"; window.playgroundUrl = ""; </script> <script src="../../jquery.js"></script> <script src="../../main.js"></script> <script async src="../../search-index.js"></script> </body> </html>
mcanders/bevy
doc/x11_dl/keysym/constant.XK_Cyrillic_hardsign (Case Conflict).html
HTML
mit
3,862
<?php /** * Copyright (c) 2017. Puerto Parrot Booklet. Written by Dimitri Mostrey for www.puertoparrot.com * Contact me at admin@puertoparrot.com or dmostrey@yahoo.com */ namespace App\Http\Controllers; use App\Models\City; use App\Models\Province; use App\Models\Service; use DB; /** * Class ApiController * * @package App\Http\Controllers */ class ApiController extends Controller { /** * @return string * @throws \Exception */ public static function Currency() { $data = array(); //$old = DB::table('currencies')->first(); $data['usdphp'] = ApiController::convertCurrency(1, 'USD', 'PHP') ? : $data['usdphp'] = cache('usdphp'); $data['eurphp'] = ApiController::convertCurrency(1, 'EUR', 'PHP') ? : $data['eurphp'] = cache('eurphp'); //empty the database DB::table('currencies')->truncate(); //insert the data DB::table('currencies')->insert($data); cache(['usdphp' => $data['usdphp']], 400); cache(['eurphp' => $data['eurphp']], 400); $message = 'The currency has been successfully added: USDPHP = ' . $data['usdphp'] . ' and EURPHP ' . $data['eurphp']; \Log::info('[ApiController Currency] ' . $message); return $message; /*$message = 'There was a problem adding the currency in the table at ' . date('Y-m-d H:i:s'); \Log::error('[ApiController Currency] ' . $message); return $message;*/ } /** * @param $amount * @param $from * @param $to * * @return string|null */ private static function convertCurrency($amount, $from, $to) { //$url = "https://www.xe.com/currencyconverter/convert/?Amount={$amount}&From={$from}&To={$to}"; $url = "https://themoneyconverter.com/{$from}/{$to}.aspx"; $data = @file_get_contents($url); if ( ! $data) { return null; } //preg_match_all("/<span class='uccResultAmount'>([0-9.]*)<\/span>/", $data, $converted); preg_match_all('/<td id="PHP">([0-9.]*)<\/td>/', $data, $converted); try { $final = $converted[1][0]; } catch (\Exception $e) { return null; } return round($final, 2); } /** * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function googleCoordsPage() { $provinces = Province::where('id', '=', 1)->orderBy('id')->get(); $cities = City::where('id', '=', 1645)->get(); foreach ($cities as $city) { if ($data = $this->getGoogleCoords($city)) { DB::table('cities')->where('id', $data['city_id'])->update(['lat' => $data['lat'], 'long' => $data['long'], ]); } } return view('google_coords', compact('provinces')); } /** * @param $city * * @return bool */ public function getGoogleCoords($city) { //create the call URL $city_db = $city; //City::where('name', $city)->first(); $google_api = "AIzaSyB-7u1CvRIkmsjcHVVQgilPj6doeIh93oA"; $baseURL = "https://maps.googleapis.com/maps/api/geocode/json?address="; $format = "&key=" . $google_api; $query = "philippines,+" . urlencode($city_db->province->name) . ",+" . urlencode($city_db->name); $callURL = $baseURL . $query . $format; //make the call $session = curl_init($callURL); curl_setopt($session, CURLOPT_URL, $callURL); curl_setopt($session, CURLOPT_BINARYTRANSFER, true); curl_setopt($session, CURLOPT_RETURNTRANSFER, true); $json = curl_exec($session); curl_close($session); // Decode JSON response: $coords = json_decode($json, true); if ($coords["status"] == "OK") { $data['lat'] = $coords["results"][0]["geometry"]["location"]["lat"]; $data['long'] = $coords["results"][0]["geometry"]["location"]["lng"]; $data['postcode'] = $coords["results"][0]["address_components"]; $data['city_id'] = $city_db->id; return $data; } else { return false; } } public function blank() { // $services = Service::whereNotNull('icon') ->with(['categories']) ->join('service_category_service', 'services.id', '=', 'service_category_service.service_id') ->join('service_categories', 'service_category_service.service_category_id', '=', 'service_categories.id') ->groupBy('service_categories.name') ->pluck('services.icon', 'service_categories.slug'); //$services['generic'] = 'https://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png'; dd($services); /*foreach ($services as $k => $v) { echo "<h2>$k has $v</h2>"; $category = ServiceCategory::where('slug', '=', $k)->first(); if ($category) { if (count($category->services) != 0) { $categories = $category->services->where('icon', 'IS', null); foreach ($categories as $c) { echo $c->id . " " . $c->icon . " => <strong>". $c->title . "</strong><br>\n"; if($k != 'government' && $k != 'education' && $k != 'atm' && $c->title == strtoupper($c->title)) { $c->title = ucwords(strtolower($c->title)); echo $c->title . "<br>"; $c->update(); } } } echo "<br><hr><br>\n\n"; } }*/ /*$category = ServiceCategory::where('slug', '=', 'terminal')->first(); $categories = $category->services->where('icon', 'IS', null); foreach ($categories as $category) { $category->icon = 'https://maps.gstatic.com/mapfiles/place_api/icons/bus-71.png'; $category->update(); echo "<strong>UPDATED</strong> " . $category->id . " " . $category->icon . " => <strong>". $category->title . "</strong><br>\n"; }*/ return view('blank'); } }
Dimimo/Booklet
app/Http/Controllers/ApiController.php
PHP
mit
6,538
# Esri Leaflet [![Build Status](https://travis-ci.org/Esri/esri-leaflet.svg)](https://travis-ci.org/Esri/esri-leaflet) Leaflet plugins for [ArcGIS Services](http://developers.arcgis.com). Currently Esri Leaflet supports loading Esri [basemaps](http://esri.github.io/esri-leaflet/examples/switching-basemaps.html) and [feature services](http://esri.github.io/esri-leaflet/examples/simple-feature-layer.html), as well as [tiled](http://esri.github.io/esri-leaflet/examples/tile-layer-2.html), [dynamic](http://esri.github.io/esri-leaflet/examples/simple-dynamic-map-layer.html) and [image](http://esri.github.io/esri-leaflet/examples/simple-image-map-layer.html) map services. The goal of Esri Leaflet is **not** to replace the [ArcGIS API for JavaScript](https://developers.arcgis.com/en/javascript/), but rather to provide small components to allow developers to build mapping applications with Leaflet. **Currently Esri Leaflet is in development and should be thought of as a beta or preview.** ### Demos There are [loads of demos](http://patrickarlt.github.io/esri-leaflet/examples/) showing many of the features of Esri Leaflet. ### Example Here is a quick example to get you started. Just change the paths to point to the proper libraries and go. ![App](https://raw.github.com/Esri/esri-leaflet/master/esri-leaflet.png) ```html <!DOCTYPE html> <html> <head> <!-- Load Leaflet from CDN--> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> <!-- Load Esri Leaflet from CDN --> <script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/1.0.0-rc.3/esri-leaflet.js"></script> <style> html, body, #map { width : 100%; height : 100%; } </style> </head> <body> <div id="map"></div> <script> var map = L.map('map').setView([45.528, -122.680], 13); L.esri.basemapLayer("Gray").addTo(map); var parks = new L.esri.FeatureLayer("http://services.arcgis.com/rOo16HdIMeOBI4Mb/arcgis/rest/services/Portland_Parks/FeatureServer/0", { style: function () { return { color: "#70ca49", weight: 2 }; } }).addTo(map); var popupTemplate = "<h3>{NAME}</h3>{ACRES} Acres<br><small>Property ID: {PROPERTYID}<small>"; parks.bindPopup(function(feature){ return L.Util.template(popupTemplate, feature.properties) }); </script> </body> </html> ``` ### Documentation & Examples A full [API Reference](http://esri.github.io/esri-leaflet/api-reference/) and plenty of [sample code](http://esri.github.io/esri-leaflet/examples/) can be found at the [Esri Leaflet](http://esri.github.io/esri-leaflet/) website. ### Development Roadmap If you are interested in contributing to Esri Leaflet or are interested in seeing what is coming up next checkout the [development roadmap](https://github.com/Esri/esri-leaflet/wiki/Roadmap). ### Frequently Asked Questions * [Will Esri Leaflet replace the ArcGIS API for JavaScript?](https://github.com/Esri/esri-leaflet/wiki/FAQ#will-esri-leaflet-replace-the-arcgis-api-for-javascript) * [What are the goals of Esri Leaflet?](https://github.com/Esri/esri-leaflet/wiki/FAQ#what-are-the-goals-of-esri-leaflet) * [When will Esri Leaflet leave beta?](https://github.com/Esri/esri-leaflet/wiki/FAQ#when-will-esri-leaflet-leave-beta) * [How do you decide what features get included in Esri Leaflet?](https://github.com/Esri/esri-leaflet/wiki/FAQ#how-do-you-decide-what-features-get-included-in-esri-leaflet) * [I have an idea! What should I do?](https://github.com/Esri/esri-leaflet/wiki/FAQ#i-have-an-idea-what-should-i-do) * [When will you support "x"?](https://github.com/Esri/esri-leaflet/wiki/FAQ#when-will-you-support-x) * [Can you implement feature "x"?](https://github.com/Esri/esri-leaflet/wiki/FAQ#can-you-implement-feature-x) * [When will feature "x" get done?](https://github.com/Esri/esri-leaflet/wiki/FAQ#when-will-feature-x-get-done) * [I want to contribute. How can I help?](https://github.com/Esri/esri-leaflet/wiki/FAQ#i-want-to-contribute-how-can-i-help) * [I built something with Esri Leaflet can I show you?](https://github.com/Esri/esri-leaflet/wiki/FAQ#i-built-something-with-esri-leaflet-can-i-show-you) * [I built a reusable component (layer type, api wrapper, ui control ect...) can I contribute it to Esri Leaflet?](i-built-a-reusable-component-layer-type-api-wrapper-ui-control-ect-can-i-contribute-it-to-esri-leaflet) * [What are the terms of use for Esri map tiles?](#what-are-the-terms-of-use-for-esri-map-tiles) * [Which services require authentication?](#which-services-require-authentication) * [What are some good Leaflet Plugins?](https://github.com/Esri/esri-leaflet/wiki/FAQ#what-are-some-good-leaflet-plugins) * [What browsers does Esri Leaflet support](https://github.com/Esri/esri-leaflet/wiki/FAQ#what-browsers-does-esri-leaflet-support) * [What versions of ArcGIS Server does Esri Leaflet support?](https://github.com/Esri/esri-leaflet/wiki/FAQ#what-versions-of-arcgis-server-does-esri-leaflet-support) Please take a look at [previous issues](https://github.com/Esri/esri-leaflet/issues?labels=FAQ&milestone=&page=1&state=closed) that resolve common problems. You can also ask questions on [GIS Stackexchange](http://gis.stackexchange.com/questions/ask?tags=esri-leaflet,leaflet) an/or the [Esri Leaflet place](https://geonet.esri.com/discussion/create.jspa?sr=pmenu&containerID=1841&containerType=700&tags=esri-leaflet,leaflet) on GeoNet. ### Projects Using Esri Leaflet * [Geotrigger Editor](https://github.com/Esri/geotrigger-editor) * [Geotrigger Faker](https://github.com/Esri/geotrigger-faker) * [ArcGIS for Developers](https://developers.arcgis.com/en/) Feel free to add your projects to this list! ### Development Instructions Make Sure you have the [Grunt CLI](http://gruntjs.com/getting-started) installed. 1. [Fork and clone Esri Leaflet](https://help.github.com/articles/fork-a-repo) 2. `cd` into the `esri-leaflet` folder 5. Install the dependencies with `npm install` 5. run `grunt` from the command line. This will start the web server locally at [http://localhost:8001](http://localhost:8001) and start watching the source files and running linting and testing commands. 6. Make your changes and create a [pull request](https://help.github.com/articles/creating-a-pull-request) ### Dependencies * [Leaflet](http://leafletjs.com) version 0.7 or higher is required but the latest version is recommended. ### Resources * [Importing Data Into Feature Services](https://developers.arcgis.com/tools/csv-to-feature-service/) * [ArcGIS for Developers](http://developers.arcgis.com) * [ArcGIS REST Services](http://resources.arcgis.com/en/help/arcgis-rest-api/) * [@Esri](http://twitter.com/esri) * [@EsriPDX](http://twitter.com/esripdx) ### Issues Find a bug or want to request a new feature? Please let us know by submitting an [issue](https://github.com/Esri/esri-leaflet/issues). Please take a look at [previous issues](https://github.com/Esri/esri-leaflet/issues?labels=FAQ&milestone=&page=1&state=closed) that resolve common problems. You can also post issues on [GIS Stackexchange](http://gis.stackexchange.com/questions/ask?tags=esri-leaflet,leaflet) an/or the [Esri Leaflet place](https://geonet.esri.com/discussion/create.jspa?sr=pmenu&containerID=1841&containerType=700&tags=esri-leaflet,leaflet) on GeoNet. ### Contributing Esri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/Esri/esri-leaflet/blob/master/CONTRIBUTING.md). ### Credit `L.esri.DynamicMapLayer` was originally code from https://github.com/sanborn/leaflet-ags/blob/master/src/AGS.Layer.Dynamic.js ### Licensing Copyright 2014 Esri 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. A copy of the license is available in the repository's [LICENSE](./LICENSE) file. [](Esri Tags: ArcGIS Web Mapping Leaflet) [](Esri Language: JavaScript)
rossanag/bicimapuy
node_modules/esri-leaflet/README.md
Markdown
mit
8,505
package utils.verbos; /** Clase que representa una conjugación verbal * Se ordena por valor completo, pero su igualdad se mira con la conjugación (sin tildes) * @author andoni * */ public class Conjugacion extends SufijoVerbal { // en Conjugacion el modelo genérico pasa a ser ya el infinitivo concreto private String conjugacion = ""; private String conjugacionSinTildes = ""; private String sufijoEnclitico = ""; private float confianza = 0.0F; // Confianza de detección automática del verbo (si procede) /** Constructor por defecto de un sufijo de conjugación no reflexivo * @param pInfinitivo Infinitivo verbal, p ej "amar", "deber", "vivir" ... * @param pTerminacion Terminación verbal (la que se sustituye por el sufijo de conjugación), p ej "ar" "er" "ir" para esos 3 modelos * @param pPersona Persona (1-3) de la conjugación, 0 si no procede * @param pNumeroPlural Singular (false) o plural (true) * @param pForma Forma verbal ("presente", "futuro"..., "participio", "gerundio" ...) * @param pModoSubjuntivo Indicativo (false) o subjuntivo (true) * @param pSufijo Sufijo verbal en minúsculas (con tildes, si procede) [si solo se usan las conjugaciones, puede ser ""] * @param pConjugacion Conjugación verbal en minúsculas (con tildes, si procede) [si solo se usan los sufijos, puede ser ""] * @param pConfianza Confianza (0.0F a 1.0F) de detección automática del verbo (si procede) */ public Conjugacion( String pInfinitivo, String pTerminacion, int pPersona, boolean pNumeroPlural, String pForma, boolean pModoSubjuntivo, String pSufijo, String pConjugacion, float pConfianza ) { super( pInfinitivo, pTerminacion, pPersona, pNumeroPlural, pForma, pModoSubjuntivo, pSufijo ); conjugacion = pConjugacion; conjugacionSinTildes = UtilsVerbos.quitarTildes( pConjugacion ); confianza = pConfianza; } public float getConfianza() { return confianza; } public String getInfinitivo() { // = getModelo() return modelo; } public String getConjugacion() { return conjugacion; } public String getConjugacionSinTildes() { return conjugacionSinTildes; } public String getSufijoEnclitico( ) { return sufijoEnclitico; } public void setConjugacion( String conj ) { conjugacion = conj; conjugacionSinTildes = UtilsVerbos.quitarTildes( conj ); } public void setSufijoEnclitico( String se ) { sufijoEnclitico = se; } public void setConfianza( float conf ) { confianza = conf; } /** Pone la forma verbal de la conjugación, eliminando el resto de los datos (dejándolos a blanco), * preparando este elemento para la búsqueda. * @param pConjugacion forma verbal */ /* Activa internamente el flag de búsqueda para poder encontrar la primera ocurrencia en la estructura */ public void initConjugBusqueda( String pConjugacion ) { conjugacion = pConjugacion; conjugacionSinTildes = UtilsVerbos.quitarTildes( pConjugacion ); flagBusqueda = true; // Estamos buscando este elemento en el Tree modelo = ""; persona = 0; numeroPlural = false; forma = ""; modoSubjuntivo = false; sufijo = ""; sufijoSinTildes = ""; } public int compareTo( SufijoVerbal c2 ) { // Si todo igual se devuelve 0 if (c2 instanceof Conjugacion) { return compareTo( (Conjugacion)c2 ); } return -1; } public int compareTo( Conjugacion c2 ) { // Si todo igual se devuelve 0 if (modelo.equals(c2.modelo) && terminacion==c2.terminacion && persona==c2.persona && numeroPlural==c2.numeroPlural && forma.equals(c2.forma) && modoSubjuntivo==c2.modoSubjuntivo && sufijo.equals(c2.sufijo) && conjugacion.equals(c2.conjugacion)) return 0; // Si alguno está en modo de búsqueda y coinciden las claves se devuelve 0 if (conjugacionSinTildes.equals(c2.conjugacionSinTildes) && (flagBusqueda || c2.flagBusqueda)) return 0; // Si no, -1 o +1 if (conjugacionSinTildes.compareTo( c2.conjugacionSinTildes )<0) return -1; else return +1; } public String showReduc() { return "<" + modelo + ">" + persona + (numeroPlural?"P":"S") + forma.substring(0,4) + (modoSubjuntivo?"Sub":"") + (reflexivo?"reflexivo":""); } public String show( boolean mostrarConfianza ) { return conjugacion + " (<" + modelo + "> (-" + terminacion + ") " + persona + (numeroPlural?"P ":"S ") + forma + (modoSubjuntivo?" subju":" indic") + (reflexivo?" reflexivo":"") + (sufijo.equals("")?"":" -"+sufijo) + ( (sufijoEnclitico.equals(""))?"":(" -" + sufijoEnclitico) ) + (mostrarConfianza?" [confi " + confianza + "]":"") + ")"; } public String toString() { return conjugacionSinTildes; } }
andoni-eguiluz/UD-Prog3-ant
src/utils/verbos/Conjugacion.java
Java
mit
4,580
# -*- coding: utf-8 -*- from google.appengine.api import apiproxy_stub_map from google.appengine.ext import db from django.core.urlresolvers import resolve from django.http import HttpRequest, QueryDict from ragendja.testutils import ModelTestCase from search.core import SearchIndexProperty import base64 class Indexed(db.Model): # Test normal and prefix index one = db.StringProperty() two = db.StringProperty() one_two_index = SearchIndexProperty(('one', 'two')) check = db.BooleanProperty() # Test relation index value = db.StringProperty() value_index = SearchIndexProperty('value', integrate=('one', 'check')) def run_tasks(): stub = apiproxy_stub_map.apiproxy.GetStub('taskqueue') tasks = stub.GetTasks('default') for task in tasks: view, args, kwargs = resolve(task['url']) request = HttpRequest() request.POST = QueryDict(base64.b64decode(task['body'])) view(request) stub.DeleteTask('default', task['name']) class TestIndexed(ModelTestCase): model = Indexed.value_index._relation_index_model def setUp(self): apiproxy_stub_map.apiproxy.GetStub('taskqueue').FlushQueue('default') for i in range(3): Indexed(one=u'OneOne%d' % i).put() for i in range(3): Indexed(one=u'one%d' % i, two='two%d' % i).put() for i in range(3): Indexed(one=(None, u'ÜÄÖ-+!#><|', 'blub')[i], check=bool(i%2), value=u'value%d test-word' % i).put() run_tasks() def test_setup(self): self.assertEqual(len(Indexed.one_two_index.search('one2')), 1) self.assertEqual(len(Indexed.one_two_index.search('two')), 0) self.assertEqual(len(Indexed.one_two_index.search('two1')), 1) self.assertEqual(len(Indexed.value_index.search('word')), 3) self.assertEqual(len(Indexed.value_index.search('test-word')), 3) self.assertEqual(len(Indexed.value_index.search('value0', filters=('check =', False))), 1) self.assertEqual(len(Indexed.value_index.search('value1', filters=('check =', True, 'one =', u'ÜÄÖ-+!#><|'))), 1) self.assertEqual(len(Indexed.value_index.search('value2', filters=('check =', False, 'one =', 'blub'))), 1) def test_change(self): value = Indexed.value_index.search('value0').get() value.value = 'value1 test-word' value.put() value.one = 'shidori' value.value = 'value3 rasengan/shidori' value.put() run_tasks() self.assertEqual(len(Indexed.value_index.search('rasengan')), 1) self.assertEqual(len(Indexed.value_index.search('value3')), 1) value = Indexed.value_index.search('value3').get() value.delete() run_tasks() self.assertEqual(len(Indexed.value_index.search('value3')), 0)
nurey/disclosed
app2/search/tests.py
Python
mit
2,896
<sqx-layout titleText="i18n:common.filters" [width]="20" [white]="true" [padding]="true" [overflow]="true"> <ng-container *ngIf="schemaQueries | async; let queries"> <sqx-query-list [types]="'common.contents' | sqxTranslate" [queryUsed]="contentsState.query | async" [queries]="queries.defaultQueries" (search)="search($event)"> </sqx-query-list> <hr> <div class="sidebar-section"> <h3>{{ 'contents.statusQueries' | sqxTranslate }}</h3> <sqx-query-list [types]="'common.contents' | sqxTranslate" [queryUsed]="contentsState.query | async" [queries]="contentsState.statusQueries | async" (search)="search($event)"> </sqx-query-list> </div> <hr> <sqx-shared-queries [types]="'common.contents' | sqxTranslate" [queryUsed]="contentsState.query | async" [queries]="queries" (search)="search($event)"> </sqx-shared-queries> </ng-container> </sqx-layout>
Squidex/squidex
frontend/src/app/features/content/pages/contents/contents-filters-page.component.html
HTML
mit
1,119
const SPRINTER_COUNT = 7; // how many lanes there are, including the player var runners = []; // lineup var runner; // player var laneWidth; // width of each lane var startTime; // beginning of the game function setup() { createCanvas(window.innerWidth, window.innerHeight); /* initialize opponents */ var opponentColor = randomColor(); // color of opponents for (var i = 1; i < SPRINTER_COUNT; i++) { // push opponents runners.push(new Sprinter(random(0.075) + 0.1, opponentColor)); } /* initialize player */ runner = new Sprinter(0, invertColor(opponentColor)); runners.splice(Math.floor(runners.length / 2), 0, runner); /* initialize stopwatch */ startTime = new Date().getTime(); laneWidth = height / runners.length; } function draw() { background(51); handleTrack(); stride(); } /** * handle user input */ function keyPressed() { runner.run(keyCode); } /** * AI for opponents */ function stride() { for (var r = 0; r < runners.length; r++) { // loop through runners if (random() < runners[r].skill) { // calculate the speed of the runner // take a stride // LEFT_ARROW + RIGHT_ARROW = 76, therefore; // 76 - LEFT_ARROW = RIGHT_ARROW & // 76 - RIGHT_ARROW = LEFT_ARROW runners[r].run(76 - runners[r].previousKey); } } } /** * draws & updates runners * draws lanes */ function handleTrack() { for (var r = 0; r < runners.length; r++) { /* draw & update runners */ runners[r].draw(r, laneWidth); runners[r].update(); /* draw lanes */ var y1 = (r / runners.length) * height; // inner line var y2 = (r / runners.length) * height + laneWidth; // outer line stroke("#A14948"); strokeWeight(3); line(0, y1, width, y1); line(0, y2, width, y2); } } /** * returns a random color */ function randomColor() { return color(random(255), random(255), random(255)); } /** * returns an inverted color of the passed col */ function invertColor(col) { var r = 255 - red(col); var g = 255 - green(col); var b = 255 - blue(col); return color(r, g, b); }
Kaelinator/AGAD
Sprinter Game/SprinterGame.js
JavaScript
mit
2,082
<?php if (! defined('BASEPATH')) exit('No direct Script access allowed'); class Prova_model extends CI_Model { /*------------------------------ ATRIBUTOS ------------------------------*/ private $idProva; private $nome; private $introducao; private $inicio; private $termino; private $tentativas; private $objDisciplina; private $objTurma; private $data_exclusao; /*------------------------------ CONSTRUTOR ------------------------------*/ public function __construct() { parent::__construct(); } /*------------------------------ METODOS ------------------------------*/ public function GetidProva() // RETORNA PROVA { return $this->idProva; } public function SetidProva($idProva) // ATRIBUI PROVA { $this->idProva = $idProva; } public function GetNome() // RETORNA NOME { return $this->nome; } public function SetNome($nome) // ATRIBUI NOME { $this->nome = $nome; } public function GetIntroducao() // RETORNA INTRODUCAO { return $this->introducao; } public function SetIntroducao($introducao) // ATRIBUI INTRODUCAO { $this->introducao = $introducao; } public function GetInicio() // RETORNA INICIO DA PROVA { return $this->inicio; } public function SetInicio($inicio) // ATRIBUI INICIO DA PROVA { $this->inicio = $inicio; } public function GetTermino() // RETORNA TERMINO DA PROVA { return $this->termino; } public function SetTermino($termino) // ATRIBUI TERMINO DA PROVA { $this->termino = $termino; } public function GetTentativas() // RETORNA TENTATIVAS DA PROVA { return $this->tentativas; } public function SetTentativas($tentativas) // ATRIBUI TENTATIVAS DA PROVA { $this->tentativas = $tentativas; } /*--- NÃO NECESSARIO public function GetobjDisciplina() { return $this->objDisciplina; } public function SetobjDisciplina($objDisciplina) { $this->objDisciplina = $objDisciplina; } public function GetobjTurma() { return $this->objTurma; } public function SetobjTurma($objTurma) { $this->objTurma = $objTurma; } --- DESCONTINUADO */ public function GetDataExclusao() { return $this->data_exclusao; } public function SetDataExclusao($data_exclusao) { $this->data_exclusao = $data_exclusao; } public function consultar(){ $this->db->select('p.*,d.descricao as disciplina'); $this->db->where('p.data_exclusao',null); $this->db->from('provas p'); $this->db->join('disciplina d','p.disciplina_iddisciplina = d.iddisciplina'); return $this->db->get()->result(); } public function Consultar_Id($id){ $id = addslashes($id); return $this->db->get_where('provas',array('idprovas'=>$id))->row(); } public function ConsultarDisciplinaProva(){ $this->db->select('p.idprovas,p.nome,d.iddisciplina,d.descricao as disciplina'); $this->db->where('p.data_exclusao',null); $this->db->where('p.aplicada',1); $this->db->from('provas p'); $this->db->join('disciplina d','p.disciplina_iddisciplina = d.iddisciplina'); return $this->db->get()->result(); } public function Contagem(){ $this->db->select('idprovas'); $this->db->where('p.data_exclusao',null); $this->db->where('p.aplicada',1); $this->db->from('provas p'); return $this->db->get()->result()-num_rows; } public function Validacao($id,$aluno) { $this->db->where('idprovas', $id); $this->db->from('provas'); $query = $this->db->get(); if ($query->num_rows() == 1) { return true; // RETORNA VERDADEIRO } } public function inserir(){ $object = array( 'idprovas' => $this->GetIdProva(), 'nome' => $this->GetNome(), 'introducao' => $this->GetIntroducao(), 'inicio' => $this->GetInicio(), 'termino' => $this->GetTermino(), 'tentativa' => $this->GetTentativas(), 'turma_idturma' => $this->Turma_model->GetidTurma(), 'disciplina_iddisciplina' => $this->Disciplina_model->GetIdDisciplina(), 'data_exclusao' => null, ); $query = $this->db->insert('provas',$object); if($query){ $this->session->set_flashdata('sucesso','<div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4> <i class="icon fa fa-check"></i> Alerta!</h4> Sua Turma foi cadastrada com sucesso..</div>'); redirect('prova'); } } public function update(){ $object = array( 'idprovas' => $this->GetIdProva(), 'nome' => $this->GetNome(), 'introducao' => $this->GetIntroducao(), 'inicio' => $this->GetInicio(), 'termino' => $this->GetTermino(), 'tentativa' => $this->GetTentativas(), 'turma_idturma' => $this->Turma_model->GetidTurma(), 'disciplina_iddisciplina' => $this->Disciplina_model->GetIdDisciplina(), 'data_exclusao' => null, ); $this->db->where('idprovas', $this->GetIdProva()); if($this->db->update('provas',$object)){ $this->session->set_flashdata('sucesso','<div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4><i class="icon fa fa-check"></i> Alerta!</h4> Seu produto foi Alterado com sucesso..</div>'); redirect('prova'); } } public function aplicar(){ $object = array( 'aplicada' => 1, ); $this->db->where('idprovas', $this->GetIdProva()); if($this->db->update('provas',$object)){ $this->session->set_flashdata('sucesso','<div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4><i class="icon fa fa-check"></i> Alerta!</h4> Seu produto foi Alterado com sucesso..</div>'); redirect('prova'); } } public function excluir(){ $object = array( 'data_exclusao' => $this->GetDataExclusao() ); $this->db->where('idprovas', $this->GetIdProva()); if($this->db->update('provas',$object)){ $this->session->set_flashdata('sucesso','<div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4><i class="icon fa fa-check"></i> Alerta!</h4> Seu produto foi deletado com sucesso..</div>'); redirect('prova'); } } public function Consulta_ProvaDisciplina($iddisciplina){ $this->db->select('*'); $this->db->where('p.data_exclusao',null); $this->db->where('p.aplicada',1); $this->db->where('p.disciplina_iddisciplina',$iddisciplina); $this->db->from('provas p'); $this->db->join('disciplina d', 'p.disciplina_iddisciplina = d.iddisciplina'); return $this->db->get()->result(); } public function Consulta_ProvaDisciplina2($matricula){ $this->db->select('*'); $this->db->from('cursando c'); $this->db->where('c.disciplina_iddisciplina',$matricula); $this->db->where('p.aplicada',1); $this->db->join('aluno a', 'c.Aluno_idAluno = a.idaluno'); $this->db->join('disciplina d', 'c.disciplina_iddisciplina = d.iddisciplina'); $this->db->join('provas p', 'p.disciplina_iddisciplina = d.iddisciplina'); return $this->db->get()->result(); } } ?>
Lasterblade/SGPLTE
application/models/Prova_model.php
PHP
mit
8,474
<!DOCTYPE html> <html> <head> <title>H VS $</title> </head> <body> <div id="changeMe" class="addToMe" hello=true> <p>Results:</p> </div> <div style="display: none;"> <span title="first"> </span> <span title="second"> </span> <div id="myId" class="myClass">Succeed</div> <div> <span> <a> <p class="google"><em></em></p> </a> </span> </div> <div> <p> <a> </a> </p> </div> <div> <div class="addToMe"></div> <div class="addToMe"></div> <div class="addToMe"></div> <div id="addToMejq"></div> <div id="addToMeH"></div> <div class="addToMe"></div> <div> <a id="linkH" href="http://google.com/" foo="bar"></a> <a id="linkjq" href="http://google.com/" foo="bar"></a> <input id="cbjq" type="checkbox" checked="checked"> <input id="cbH" type="checkbox" checked="checked"> </div> <div class="appendtoMejq"></div> <div class="appendtoMejq"></div> <div class="appendtoMejq"></div> <div class="appendtoMeH"></div> <div class="appendtoMeH"></div> <div class="appendtoMeH"></div> </div> </div> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="../h.js"></script> <script type="text/javascript" src="JqVSH.js"></script> </body> </html>
hbrc/h.js
benchmark/JqVSH.html
HTML
mit
1,459
#include "qrcodedialog.h" #include "ui_qrcodedialog.h" #include "bitcoinunits.h" #include "guiconstants.h" #include "guiutil.h" #include "optionsmodel.h" #include <QPixmap> #if QT_VERSION < 0x050000 #include <QUrl> #endif #include <qrencode.h> QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) : QDialog(parent), ui(new Ui::QRCodeDialog), model(0), address(addr) { ui->setupUi(this); setWindowTitle(QString("%1").arg(address)); ui->chkReqPayment->setVisible(enableReq); ui->lblAmount->setVisible(enableReq); ui->lnReqAmount->setVisible(enableReq); ui->lnLabel->setText(label); ui->btnSaveAs->setEnabled(false); genCode(); } QRCodeDialog::~QRCodeDialog() { delete ui; } void QRCodeDialog::setModel(OptionsModel *model) { this->model = model; if (model) connect(model, SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit())); // update the display unit, to not use the default ("BTC") updateDisplayUnit(); } void QRCodeDialog::genCode() { QString uri = getURI(); if (uri != "") { ui->lblQRCode->setText(""); QRcode *code = QRcode_encodeString(uri.toUtf8().constData(), 0, QR_ECLEVEL_L, QR_MODE_8, 1); if (!code) { ui->lblQRCode->setText(tr("Error encoding URI into QR Code.")); return; } myImage = QImage(code->width + 8, code->width + 8, QImage::Format_RGB32); myImage.fill(0xffffff); unsigned char *p = code->data; for (int y = 0; y < code->width; y++) { for (int x = 0; x < code->width; x++) { myImage.setPixel(x + 4, y + 4, ((*p & 1) ? 0x0 : 0xffffff)); p++; } } QRcode_free(code); ui->lblQRCode->setPixmap(QPixmap::fromImage(myImage).scaled(300, 300)); ui->outUri->setPlainText(uri); } } QString QRCodeDialog::getURI() { QString ret = QString("roxcoin:%1").arg(address); int paramCount = 0; ui->outUri->clear(); if (ui->chkReqPayment->isChecked()) { if (ui->lnReqAmount->validate()) { // even if we allow a non BTC unit input in lnReqAmount, we generate the URI with BTC as unit (as defined in BIP21) ret += QString("?amount=%1").arg(BitcoinUnits::format(BitcoinUnits::BTC, ui->lnReqAmount->value())); paramCount++; } else { ui->btnSaveAs->setEnabled(false); ui->lblQRCode->setText(tr("The entered amount is invalid, please check.")); return QString(""); } } if (!ui->lnLabel->text().isEmpty()) { QString lbl(QUrl::toPercentEncoding(ui->lnLabel->text())); ret += QString("%1label=%2").arg(paramCount == 0 ? "?" : "&").arg(lbl); paramCount++; } if (!ui->lnMessage->text().isEmpty()) { QString msg(QUrl::toPercentEncoding(ui->lnMessage->text())); ret += QString("%1message=%2").arg(paramCount == 0 ? "?" : "&").arg(msg); paramCount++; } // limit URI length to prevent a DoS against the QR-Code dialog if (ret.length() > MAX_URI_LENGTH) { ui->btnSaveAs->setEnabled(false); ui->lblQRCode->setText(tr("Resulting URI too long, try to reduce the text for label / message.")); return QString(""); } ui->btnSaveAs->setEnabled(true); return ret; } void QRCodeDialog::on_lnReqAmount_textChanged() { genCode(); } void QRCodeDialog::on_lnLabel_textChanged() { genCode(); } void QRCodeDialog::on_lnMessage_textChanged() { genCode(); } void QRCodeDialog::on_btnSaveAs_clicked() { QString fn = GUIUtil::getSaveFileName(this, tr("Save QR Code"), QString(), tr("PNG Images (*.png)")); if (!fn.isEmpty()) myImage.scaled(EXPORT_IMAGE_SIZE, EXPORT_IMAGE_SIZE).save(fn); } void QRCodeDialog::on_chkReqPayment_toggled(bool fChecked) { if (!fChecked) // if chkReqPayment is not active, don't display lnReqAmount as invalid ui->lnReqAmount->setValid(true); genCode(); } void QRCodeDialog::updateDisplayUnit() { if (model) { // Update lnReqAmount with the current unit ui->lnReqAmount->setDisplayUnit(model->getDisplayUnit()); } }
Roxcoin/roxcointor
src/qt/qrcodedialog.cpp
C++
mit
4,343
using System; using Microsoft.Tools.WindowsInstallerXml.Bootstrapper; namespace Shimmer.Client.WiXUi { public interface IWiXEvents { IObservable<DetectBeginEventArgs> DetectBeginObs { get; } IObservable<DetectPackageCompleteEventArgs> DetectPackageCompleteObs { get; } IObservable<DetectRelatedBundleEventArgs> DetectRelatedBundleObs { get; } IObservable<PlanPackageBeginEventArgs> PlanPackageBeginObs { get; } IObservable<PlanCompleteEventArgs> PlanCompleteObs { get; } IObservable<ApplyBeginEventArgs> ApplyBeginObs { get; } IObservable<ApplyCompleteEventArgs> ApplyCompleteObs { get; } IObservable<ResolveSourceEventArgs> ResolveSourceObs { get; } IObservable<ErrorEventArgs> ErrorObs { get; } IObservable<ExecuteMsiMessageEventArgs> ExecuteMsiMessageObs { get; } IObservable<ExecuteProgressEventArgs> ExecuteProgressObs { get; } IObservable<ProgressEventArgs> ProgressObs { get; } IObservable<CacheAcquireBeginEventArgs> CacheAcquireBeginObs { get; } IObservable<CacheCompleteEventArgs> CacheCompleteObs { get; } IEngine Engine { get; } IntPtr MainWindowHwnd { get; } Display DisplayMode { get; } LaunchAction Action { get; } void ShouldQuit(); } }
stefanolson/Squirrel.Windows.MahApps
src/Shimmer.WiXUiClient/IWiXEvents.cs
C#
mit
1,324
/** * Tree View Collapse * @see https://github.com/cpojer/mootools-tree */ export default new Class({ Implements: [Options, Class.Single], options: { animate: false, fadeOpacity: 1, className: 'collapse', selector: 'a.expand', listSelector: 'li', childSelector: 'ul' }, initialize: function(element, options) { this.setOptions(options); element = this.element = document.id(element); return this.check(element) || this.setup(); }, setup: function() { var self = this; this.handler = function(e) { self.toggle(this, e); }; this.mouseover = function() { if (self.hasChildren(this)) { this.getElement(self.options.selector).fade(1); } }; this.mouseout = function() { if (self.hasChildren(this)) { this.getElement(self.options.selector).fade(self.options.fadeOpacity); } }; this.prepare().attach(); }, attach: function() { var element = this.element; element.addEvent('click:relay(' + this.options.selector + ')', this.handler); if (this.options.animate) { element.addEvent('mouseover:relay(' + this.options.listSelector + ')', this.mouseover); element.addEvent('mouseout:relay(' + this.options.listSelector + ')', this.mouseout); } return this; }, detach: function() { this.element.removeEvent('click:relay(' + this.options.selector + ')', this.handler) .removeEvent('mouseover:relay(' + this.options.listSelector + ')', this.mouseover) .removeEvent('mouseout:relay(' + this.options.listSelector + ')', this.mouseout); return this; }, prepare: function() { this.prepares = true; this.element.getElements(this.options.listSelector).each(this.updateElement, this); this.prepares = false; return this; }, updateElement: function(element) { var child = element.getElement(this.options.childSelector); var icon = element.getElement(this.options.selector); if (!this.hasChildren(element)) { if (!this.options.animate || this.prepares) { icon.setStyle('opacity', 0); } else { icon.fade(0); } return; } if (this.options.animate) { icon.fade(this.options.fadeOpacity); } else { icon.setStyle('opacity', this.options.fadeOpacity); } if (this.isCollapsed(child)) { icon.removeClass('collapse'); } else { icon.addClass('collapse'); } }, hasChildren: function(element) { var child = element.getElement(this.options.childSelector); return (child && child.getChildren().length); }, isCollapsed: function(element) { if (!element) { return; } return (element.getStyle('display') == 'none'); }, toggle: function(element, event) { if (event) { event.preventDefault(); } if (!element.match(this.options.listSelector)) { element = element.getParent(this.options.listSelector); } if (this.isCollapsed(element.getElement(this.options.childSelector))) { this.expand(element); } else { this.collapse(element); } return this; }, expand: function(element) { element.getElement(this.options.childSelector).setStyle('display', 'block'); element.getElement(this.options.selector).addClass(this.options.className); return this; }, collapse: function(element) { if (!element.getElement(this.options.childSelector)) { return; } element.getElement(this.options.childSelector).setStyle('display', 'none'); element.getElement(this.options.selector).removeClass(this.options.className); return this; } });
codepolitan/caoutchouc
src/view/tree/utils/collapse.js
JavaScript
mit
3,649
* { color: blue; } E { color: blue; } E[foo] { color: blue; } [foo] { color: blue; } [foo] .helloWorld { color: blue; } [foo].helloWorld { color: blue; } E[foo="barbar"] { color: blue; } E[foo~="hello#$@%@$#^"] { color: blue; } E[foo^="color: green;"] { color: blue; } E[foo$="239023"] { color: blue; } E[foo*="29302"] { color: blue; } E[foo|="239032"] { color: blue; } [foo="barbar"] { color: blue; } [foo~="hello#$@%@$#^"] { color: blue; } [foo^="color: green;"] { color: blue; } [foo$="239023"] { color: blue; } [foo*="29302"] { color: blue; } [foo|="239032"] { color: blue; } [foo|att=val] { color: blue; } [*|att] { color: yellow; } [|att] { color: green; } [att] { color: green; } E:root { color: blue; } E:nth-child(odd) { color: blue; } E:nth-child(2n+1) { color: blue; } E:nth-child(5) { color: blue; } E:nth-last-child(-n+2) { color: blue; } E:nth-of-type(2n) { color: blue; } E:nth-last-of-type(n) { color: blue; } E:first-child { color: blue; } E:last-child { color: blue; } E:first-of-type { color: blue; } E:last-of-type { color: blue; } E:only-child { color: blue; } E:only-of-type { color: blue; } E:empty { color: blue; } E:lang(en) { color: blue; } E::first-line { color: blue; } E::before { color: blue; } E#id { color: blue; } E:not(:link) { color: blue; } E F { color: blue; } E > F { color: blue; } E + F { color: blue; } E ~ F { color: blue; } div { font: something; font-size: 30em; } div font:something { size: 30em; } .something.world { color: blue; } .something .mold { height: 200px; } .dog .something { color: blue; } .dad .simple .wolf { color: blue; } .rad.simple.bad { color: blue; } .something div .what.world { color: blue; } div.foo div { color: blue; } .nice-fonts .main .message div .title, .nice-fonts div .message div .title { font-size: 24px; }
guilhermeblanco/scssphp
tests/outputs/selectors.css
CSS
mit
1,963
#ifndef ADD_BINARY_HPP_ #define ADD_BINARY_HPP_ #include <string> using namespace std; class AddBinary { public: string addBinary(string a, string b); }; #endif // ADD_BINARY_HPP_
yanzhe-chen/leetcode
include/AddBinary.hpp
C++
mit
188