text:
/*
toolbar.css (part of editor.css)
==================================

This files styles the CKEditor toolbar and its buttons. For toolbar combo
styles, check richcombo.css.

The toolbar is rendered as a big container (called toolbox), which contains
smaller "toolbars". Each toolbar represents a group of items that cannot be
separated. The following is the visual representation of the toolbox.

+-- .cke_toolbox ----------------------------------------------------------+
| +-- .cke_toolbar --+ +-- .cke_toolbar --+ ... +-- .cke_toolbar_break --+ |
| |                  | |                  |     |                        | |
| +------------------+ +------------------+     +------------------------+ |
| +-- .cke_toolbar --+ +-- .cke_toolbar --+ ...                            |
| |                  | |                  |                                |
| +------------------+ +------------------+                                |
+--------------------------------------------------------------------------+

The following instead is the visual representation of a single toolbar:

+-- .cke_toolbar ----------------------------------------------------------------+
| +-- .cke_toolbar_start --+ +-- .cke_toolgroup (*) --+ +-- .cke_toolbar_end --+ |
| |                        | |                        | |                      | |
| +------------------------+ +------------------------+ +----------------------+ |
+--------------------------------------------------------------------------------+
(*) .cke_toolgroup is available only when the toolbar items can be grouped
    (buttons). If the items can't be group (combos), this box is not available
	and the items are rendered straight in that place.

This file also styles toolbar buttons, which are rendered inside the above
.cke_toolgroup containers. This is the visual representation of a button:

+-- .cke_button -------------------------------------+
| +-- .cke_button_icon --+ +-- .cke_button_label --+ |
| |                      | |                       | |
| +----------------------+ +-----------------------+ |
+----------------------------------------------------+

Special outer level classes used in this file:

	.cke_hc: Available when the editor is rendered on "High Contrast".
	.cke_rtl: Available when the editor UI is on RTL.
*/

/* The box that holds each toolbar. */
.cke_toolbar
{
  float: left;
}

.cke_rtl .cke_toolbar
{
  float: right;
}

/* The box that holds buttons. */
.cke_toolgroup
{
  float: left;
  margin: 0 6px 5px 0;
  border: 1px solid #a6a6a6;
  border-bottom-color: #979797;

  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;

  -moz-box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;
  -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;
  box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;

  background: #e4e4e4;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e4e4e4));
  background-image: -moz-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: -webkit-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: -o-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: -ms-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: linear-gradient(top, #ffffff, #e4e4e4);
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffffff', endColorstr='#ffe4e4e4');
}

.cke_toolgroup *:first-child
{
  -moz-border-top-left-radius: 2px;
  -moz-border-bottom-left-radius: 2px;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.cke_toolgroup *:last-child
{
  -moz-border-top-right-radius: 2px;
  -moz-border-bottom-right-radius: 2px;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.cke_rtl .cke_toolgroup *:first-child
{
  -moz-border-radius: 0 2px 2px 0;
  -webkit-border-radius: 0 2px 2px 0;
  border-radius: 0 2px 2px 0;
}

.cke_rtl .cke_toolgroup *:last-child
{
  -moz-border-radius: 2px 0 0 2px;
  -webkit-border-radius: 2px 0 0 2px;
  border-radius: 2px 0 0 2px;
}

.cke_rtl .cke_toolgroup
{
  float: right;
  margin-left: 6px;
  margin-right: 0;
}

/* A toolbar button . */
a.cke_button
{
  display: inline-block;
  height: 18px;
  padding: 4px 6px;
  outline: none;
  cursor: default;
  float: left;
  border: 0;
}

.cke_rtl .cke_button
{
  float: right;
}

/* This class is applied to the button when it is "active" (pushed).
This style indicates that the feature associated with the button is active
i.e. currently writing in bold or when spell checking is enabled. */
.cke_button_on
{
  -moz-box-shadow: 0 1px 5px rgba(0,0,0,.6) inset, 0 1px 0 rgba(0,0,0,.2);
  -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.6) inset, 0 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1px 5px rgba(0,0,0,.6) inset, 0 1px 0 rgba(0,0,0,.2);

  background: #b5b5b5;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#aaa), to(#cacaca));
  background-image: -moz-linear-gradient(top, #aaa, #cacaca);
  background-image: -webkit-linear-gradient(top, #aaa, #cacaca);
  background-image: -o-linear-gradient(top, #aaa, #cacaca);
  background-image: -ms-linear-gradient(top, #aaa, #cacaca);
  background-image: linear-gradient(top, #aaa, #cacaca);
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffaaaaaa', endColorstr='#ffcacaca');
}

.cke_button_on .cke_button_label
{
}

.cke_button_on .cke_button_icon
{
}

/* This class is applied to the button when the feature associated with the
   button is available but currently not active.*/
.cke_button_off
{
}

/* This class is applied to the button when the feature associated with the
   button cannot be used (grayed-out).
   i.e. paste button remains disabled when there is nothing in the clipboard to
   be pasted. */
.cke_button_disabled
{
  opacity: 0.3;
}

a.cke_button_on:hover,
a.cke_button_on:focus,
a.cke_button_on:active
{
  -moz-box-shadow: 0 1px 6px rgba(0,0,0,.7) inset, 0 1px 0 rgba(0,0,0,.2);
  -webkit-box-shadow: 0 1px 6px rgba(0,0,0,.7) inset, 0 1px 0 rgba(0,0,0,.2);
  box-shadow: 0 1px 6px rgba(0,0,0,.7) inset, 0 1px 0 rgba(0,0,0,.2);
}

a.cke_button_off:hover,
a.cke_button_off:focus,
a.cke_button_off:active
{
  -moz-box-shadow: 0 0 1px rgba(0,0,0,.3) inset;
  -webkit-box-shadow: 0 0 1px rgba(0,0,0,.3) inset;
  box-shadow: 0 0 1px rgba(0,0,0,.3) inset;

  background: #ccc;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ccc));
  background-image: -moz-linear-gradient(top, #f2f2f2, #ccc);
  background-image: -webkit-linear-gradient(top, #f2f2f2, #ccc);
  background-image: -o-linear-gradient(top, #f2f2f2, #ccc);
  background-image: -ms-linear-gradient(top, #f2f2f2, #ccc);
  background-image: linear-gradient(top, #f2f2f2, #ccc);
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fff2f2f2', endColorstr='#ffcccccc');
}

/* The icon which is a visual representation of the button. */
.cke_button_icon
{
  cursor: inherit;
  background-repeat: no-repeat;
  margin-top: 1px;
  width: 16px;
  height: 16px;
  float: left;
  display: inline-block;
}

.cke_rtl .cke_button_icon
{
  float: right;
}

a.cke_button_off:hover .cke_button_icon
{
  /* http://caniuse.com/css-filters */
  -webkit-filter: brightness(-10%);
}

/* The label of the button that stores the name of the feature. By default,
   labels are invisible. They can be revealed on demand though. */
.cke_button_label
{
  display: none;
  padding-left: 3px;
  margin-top: 1px;
  line-height: 17px;
  vertical-align: middle;
  float: left;
  cursor: default;
  color: #474747;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  font-size: 11px;
}

.cke_rtl .cke_button_label
{
  padding-right: 3px;
  padding-left: 0;
  float: right;
}

/* The small arrow available on buttons that can be expanded
(e.g. the color buttons). */
.cke_button_arrow
{
  /* Arrow in CSS */
  display: inline-block;
  margin: 8px 0 0 1px;
  width: 0;
  height: 0;
  cursor: default;
  vertical-align: top;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid #474747;
}

.cke_rtl .cke_button_arrow
{
  margin-right: 5px;
  margin-left: 0;
}

/* The vertical separator which is used within a single toolbar to split
buttons into sub-groups. */
.cke_toolbar_separator
{
  float: left;
  background-color: #c0c0c0;
  background-color: rgba(0,0,0,.2);
  margin: 5px 2px 0;
  height: 18px;
  width: 1px;

  -webkit-box-shadow: 1px 0 1px rgba(255,255,255,.5);
  -moz-box-shadow: 1px 0 1px rgba(255,255,255,.5);
  box-shadow: 1px 0 1px rgba(255,255,255,.5);
}

.cke_rtl .cke_toolbar_separator
{
  float: right;

  -webkit-box-shadow: -1px 0 1px rgba(255,255,255,.1);
  -moz-box-shadow: -1px 0 1px rgba(255,255,255,.1);
  box-shadow: -1px 0 1px rgba(255,255,255,.1);
}

/* The dummy element that breaks toolbars.
Once it is placed, the very next toolbar is moved to the new row. */
.cke_toolbar_break
{
  display: block;
  clear: left;
}

.cke_rtl .cke_toolbar_break
{
  clear: right;
}

/* The button, which when clicked hides (collapses) all the toolbars. */
.cke_toolbox_collapser
{
  width: 12px;
  height: 11px;
  float: right;
  margin: 11px 0 0;
  font-size: 0;
  cursor: default;
  text-align: center;

  border: 1px solid #a6a6a6;
  border-bottom-color: #979797;

  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;

  -moz-box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;
  -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;
  box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;

  background: #e4e4e4;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e4e4e4));
  background-image: -moz-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: -webkit-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: -o-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: -ms-linear-gradient(top, #ffffff, #e4e4e4);
  background-image: linear-gradient(top, #ffffff, #e4e4e4);
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffffff', endColorstr='#ffe4e4e4');
}

.cke_toolbox_collapser:hover
{
  background: #ccc;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ccc));
  background-image: -moz-linear-gradient(top, #f2f2f2, #ccc);
  background-image: -webkit-linear-gradient(top, #f2f2f2, #ccc);
  background-image: -o-linear-gradient(top, #f2f2f2, #ccc);
  background-image: -ms-linear-gradient(top, #f2f2f2, #ccc);
  background-image: linear-gradient(top, #f2f2f2, #ccc);
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fff2f2f2', endColorstr='#ffcccccc');
}

.cke_toolbox_collapser.cke_toolbox_collapser_min
{
  margin: 0 2px 4px;
}

.cke_rtl .cke_toolbox_collapser
{
  float: left;
}

/* The CSS arrow, which belongs to the toolbar collapser. */
.cke_toolbox_collapser .cke_arrow
{
  display: inline-block;

  /* Pure CSS Arrow */
  height: 0;
  width: 0;
  font-size: 0;
  margin-top: 4px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 3px solid #474747;
}

.cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow
{
  /*margin: 4px 2px 0 0;*/
  border-color: #e5e5e5 transparent transparent;
}


text:
"use strict";

//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------

const rule = require("../../../lib/rules/no-global-stop-start"),
    RuleTester = require("eslint").RuleTester;

//------------------------------------------------------------------------------
// Tests
//------------------------------------------------------------------------------

const ruleTester = new RuleTester();
ruleTester.run("no-global-stop-start", rule, {

    valid: [
        "QUnit.stop();",
        "QUnit.start();",

        // Global overridden by local import/declaration.
        {
            code: "var start = require('foo'); start();",
            globals: { start: true }
        }
    ],

    invalid: [
        {
            code: "stop();",
            globals: { stop: true },
            errors: [{
                messageId: "unexpectedGlobalStopStart",
                data: {
                    callee: "stop"
                },
                type: "CallExpression"
            }]
        },
        {
            code: "start();",
            globals: { start: true },
            errors: [{
                messageId: "unexpectedGlobalStopStart",
                data: {
                    callee: "start"
                },
                type: "CallExpression"
            }]
        }
    ]
});

redpajama_set_name: RedPajamaGithub


text:
/**
 * @author mrdoob / http://mrdoob.com/
 */

THREE.OBJLoader = function ( manager ) {

	this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager;

	this.materials = null;

	this.regexp = {
		// v float float float
		vertex_pattern           : /^v\s+([\d|\.|\+|\-|e|E]+)\s+([\d|\.|\+|\-|e|E]+)\s+([\d|\.|\+|\-|e|E]+)/,
		// vn float float float
		normal_pattern           : /^vn\s+([\d|\.|\+|\-|e|E]+)\s+([\d|\.|\+|\-|e|E]+)\s+([\d|\.|\+|\-|e|E]+)/,
		// vt float float
		uv_pattern               : /^vt\s+([\d|\.|\+|\-|e|E]+)\s+([\d|\.|\+|\-|e|E]+)/,
		// f vertex vertex vertex
		face_vertex              : /^f\s+(-?\d+)\s+(-?\d+)\s+(-?\d+)(?:\s+(-?\d+))?/,
		// f vertex/uv vertex/uv vertex/uv
		face_vertex_uv           : /^f\s+(-?\d+)\/(-?\d+)\s+(-?\d+)\/(-?\d+)\s+(-?\d+)\/(-?\d+)(?:\s+(-?\d+)\/(-?\d+))?/,
		// f vertex/uv/normal vertex/uv/normal vertex/uv/normal
		face_vertex_uv_normal    : /^f\s+(-?\d+)\/(-?\d+)\/(-?\d+)\s+(-?\d+)\/(-?\d+)\/(-?\d+)\s+(-?\d+)\/(-?\d+)\/(-?\d+)(?:\s+(-?\d+)\/(-?\d+)\/(-?\d+))?/,
		// f vertex//normal vertex//normal vertex//normal
		face_vertex_normal       : /^f\s+(-?\d+)\/\/(-?\d+)\s+(-?\d+)\/\/(-?\d+)\s+(-?\d+)\/\/(-?\d+)(?:\s+(-?\d+)\/\/(-?\d+))?/,
		// o object_name | g group_name
		object_pattern           : /^[og]\s*(.+)?/,
		// s boolean
		smoothing_pattern        : /^s\s+(\d+|on|off)/,
		// mtllib file_reference
		material_library_pattern : /^mtllib /,
		// usemtl material_name
		material_use_pattern     : /^usemtl /
	};

};

THREE.OBJLoader.prototype = {

	constructor: THREE.OBJLoader,

	load: function ( url, onLoad, onProgress, onError ) {

		var scope = this;

		var loader = new THREE.FileLoader( scope.manager );
		loader.setPath( this.path );
		loader.load( url, function ( text ) {

			onLoad( scope.parse( text ) );

		}, onProgress, onError );

	},

	setPath: function ( value ) {

		this.path = value;

	},

	setMaterials: function ( materials ) {

		this.materials = materials;

	},

	_createParserState : function () {

		var state = {
			objects  : [],
			object   : {},

			vertices : [],
			normals  : [],
			uvs      : [],

			materialLibraries : [],

			startObject: function ( name, fromDeclaration ) {

				// If the current object (initial from reset) is not from a g/o declaration in the parsed
				// file. We need to use it for the first parsed g/o to keep things in sync.
				if ( this.object && this.object.fromDeclaration === false ) {

					this.object.name = name;
					this.object.fromDeclaration = ( fromDeclaration !== false );
					return;

				}

				var previousMaterial = ( this.object && typeof this.object.currentMaterial === 'function' ? this.object.currentMaterial() : undefined );

				if ( this.object && typeof this.object._finalize === 'function' ) {

					this.object._finalize( true );

				}

				this.object = {
					name : name || '',
					fromDeclaration : ( fromDeclaration !== false ),

					geometry : {
						vertices : [],
						normals  : [],
						uvs      : []
					},
					materials : [],
					smooth : true,

					startMaterial : function( name, libraries ) {

						var previous = this._finalize( false );

						// New usemtl declaration overwrites an inherited material, except if faces were declared
						// after the material, then it must be preserved for proper MultiMaterial continuation.
						if ( previous && ( previous.inherited || previous.groupCount <= 0 ) ) {

							this.materials.splice( previous.index, 1 );

						}

						var material = {
							index      : this.materials.length,
							name       : name || '',
							mtllib     : ( Array.isArray( libraries ) && libraries.length > 0 ? libraries[ libraries.length - 1 ] : '' ),
							smooth     : ( previous !== undefined ? previous.smooth : this.smooth ),
							groupStart : ( previous !== undefined ? previous.groupEnd : 0 ),
							groupEnd   : -1,
							groupCount : -1,
							inherited  : false,

							clone : function( index ) {
								var cloned = {
									index      : ( typeof index === 'number' ? index : this.index ),
									name       : this.name,
									mtllib     : this.mtllib,
									smooth     : this.smooth,
									groupStart : 0,
									groupEnd   : -1,
									groupCount : -1,
									inherited  : false
								};
								cloned.clone = this.clone.bind(cloned);
								return cloned;
							}
						};

						this.materials.push( material );

						return material;

					},

					currentMaterial : function() {

						if ( this.materials.length > 0 ) {
							return this.materials[ this.materials.length - 1 ];
						}

						return undefined;

					},

					_finalize : function( end ) {

						var lastMultiMaterial = this.currentMaterial();
						if ( lastMultiMaterial && lastMultiMaterial.groupEnd === -1 ) {

							lastMultiMaterial.groupEnd = this.geometry.vertices.length / 3;
							lastMultiMaterial.groupCount = lastMultiMaterial.groupEnd - lastMultiMaterial.groupStart;
							lastMultiMaterial.inherited = false;

						}

						// Ignore objects tail materials if no face declarations followed them before a new o/g started.
						if ( end && this.materials.length > 1 ) {

							for ( var mi = this.materials.length - 1; mi >= 0; mi-- ) {
								if ( this.materials[mi].groupCount <= 0 ) {
									this.materials.splice( mi, 1 );
								}
							}

						}

						// Guarantee at least one empty material, this makes the creation later more straight forward.
						if ( end && this.materials.length === 0 ) {

							this.materials.push({
								name   : '',
								smooth : this.smooth
							});

						}

						return lastMultiMaterial;

					}
				};

				// Inherit previous objects material.
				// Spec tells us that a declared material must be set to all objects until a new material is declared.
				// If a usemtl declaration is encountered while this new object is being parsed, it will
				// overwrite the inherited material. Exception being that there was already face declarations
				// to the inherited material, then it will be preserved for proper MultiMaterial continuation.

				if ( previousMaterial && previousMaterial.name && typeof previousMaterial.clone === "function" ) {

					var declared = previousMaterial.clone( 0 );
					declared.inherited = true;
					this.object.materials.push( declared );

				}

				this.objects.push( this.object );

			},

			finalize : function() {

				if ( this.object && typeof this.object._finalize === 'function' ) {

					this.object._finalize( true );

				}

			},

			parseVertexIndex: function ( value, len ) {

				var index = parseInt( value, 10 );
				return ( index >= 0 ? index - 1 : index + len / 3 ) * 3;

			},

			parseNormalIndex: function ( value, len ) {

				var index = parseInt( value, 10 );
				return ( index >= 0 ? index - 1 : index + len / 3 ) * 3;

			},

			parseUVIndex: function ( value, len ) {

				var index = parseInt( value, 10 );
				return ( index >= 0 ? index - 1 : index + len / 2 ) * 2;

			},

			addVertex: function ( a, b, c ) {

				var src = this.vertices;
				var dst = this.object.geometry.vertices;

				dst.push( src[ a + 0 ] );
				dst.push( src[ a + 1 ] );
				dst.push( src[ a + 2 ] );
				dst.push( src[ b + 0 ] );
				dst.push( src[ b + 1 ] );
				dst.push( src[ b + 2 ] );
				dst.push( src[ c + 0 ] );
				dst.push( src[ c + 1 ] );
				dst.push( src[ c + 2 ] );

			},

			addVertexLine: function ( a ) {

				var src = this.vertices;
				var dst = this.object.geometry.vertices;

				dst.push( src[ a + 0 ] );
				dst.push( src[ a + 1 ] );
				dst.push( src[ a + 2 ] );

			},

			addNormal : function ( a, b, c ) {

				var src = this.normals;
				var dst = this.object.geometry.normals;

				dst.push( src[ a + 0 ] );
				dst.push( src[ a + 1 ] );
				dst.push( src[ a + 2 ] );
				dst.push( src[ b + 0 ] );
				dst.push( src[ b + 1 ] );
				dst.push( src[ b + 2 ] );
				dst.push( src[ c + 0 ] );
				dst.push( src[ c + 1 ] );
				dst.push( src[ c + 2 ] );

			},

			addUV: function ( a, b, c ) {

				var src = this.uvs;
				var dst = this.object.geometry.uvs;

				dst.push( src[ a + 0 ] );
				dst.push( src[ a + 1 ] );
				dst.push( src[ b + 0 ] );
				dst.push( src[ b + 1 ] );
				dst.push( src[ c + 0 ] );
				dst.push( src[ c + 1 ] );

			},

			addUVLine: function ( a ) {

				var src = this.uvs;
				var dst = this.object.geometry.uvs;

				dst.push( src[ a + 0 ] );
				dst.push( src[ a + 1 ] );

			},

			addFace: function ( a, b, c, d, ua, ub, uc, ud, na, nb, nc, nd ) {

				var vLen = this.vertices.length;

				var ia = this.parseVertexIndex( a, vLen );
				var ib = this.parseVertexIndex( b, vLen );
				var ic = this.parseVertexIndex( c, vLen );
				var id;

				if ( d === undefined ) {

					this.addVertex( ia, ib, ic );

				} else {

					id = this.parseVertexIndex( d, vLen );

					this.addVertex( ia, ib, id );
					this.addVertex( ib, ic, id );

				}

				if ( ua !== undefined ) {

					var uvLen = this.uvs.length;

					ia = this.parseUVIndex( ua, uvLen );
					ib = this.parseUVIndex( ub, uvLen );
					ic = this.parseUVIndex( uc, uvLen );

					if ( d === undefined ) {

						this.addUV( ia, ib, ic );

					} else {

						id = this.parseUVIndex( ud, uvLen );

						this.addUV( ia, ib, id );
						this.addUV( ib, ic, id );

					}

				}

				if ( na !== undefined ) {

					// Normals are many times the same. If so, skip function call and parseInt.
					var nLen = this.normals.length;
					ia = this.parseNormalIndex( na, nLen );

					ib = na === nb ? ia : this.parseNormalIndex( nb, nLen );
					ic = na === nc ? ia : this.parseNormalIndex( nc, nLen );

					if ( d === undefined ) {

						this.addNormal( ia, ib, ic );

					} else {

						id = this.parseNormalIndex( nd, nLen );

						this.addNormal( ia, ib, id );
						this.addNormal( ib, ic, id );

					}

				}

			},

			addLineGeometry: function ( vertices, uvs ) {

				this.object.geometry.type = 'Line';

				var vLen = this.vertices.length;
				var uvLen = this.uvs.length;

				for ( var vi = 0, l = vertices.length; vi < l; vi ++ ) {

					this.addVertexLine( this.parseVertexIndex( vertices[ vi ], vLen ) );

				}

				for ( var uvi = 0, l = uvs.length; uvi < l; uvi ++ ) {

					this.addUVLine( this.parseUVIndex( uvs[ uvi ], uvLen ) );

				}

			}

		};

		state.startObject( '', false );

		return state;

	},

	parse: function ( text ) {

		console.time( 'OBJLoader' );

		var state = this._createParserState();

		if ( text.indexOf( '\r\n' ) !== - 1 ) {

			// This is faster than String.split with regex that splits on both
			text = text.replace( /\r\n/g, '\n' );

		}

		if ( text.indexOf( '\\\n' ) !== - 1) {

			// join lines separated by a line continuation character (\)
			text = text.replace( /\\\n/g, '' );

		}

		var lines = text.split( '\n' );
		var line = '', lineFirstChar = '', lineSecondChar = '';
		var lineLength = 0;
		var result = [];

		// Faster to just trim left side of the line. Use if available.
		var trimLeft = ( typeof ''.trimLeft === 'function' );

		for ( var i = 0, l = lines.length; i < l; i ++ ) {

			line = lines[ i ];

			line = trimLeft ? line.trimLeft() : line.trim();

			lineLength = line.length;

			if ( lineLength === 0 ) continue;

			lineFirstChar = line.charAt( 0 );

			// @todo invoke passed in handler if any
			if ( lineFirstChar === '#' ) continue;

			if ( lineFirstChar === 'v' ) {

				lineSecondChar = line.charAt( 1 );

				if ( lineSecondChar === ' ' && ( result = this.regexp.vertex_pattern.exec( line ) ) !== null ) {

					// 0                  1      2      3
					// ["v 1.0 2.0 3.0", "1.0", "2.0", "3.0"]

					state.vertices.push(
						parseFloat( result[ 1 ] ),
						parseFloat( result[ 2 ] ),
						parseFloat( result[ 3 ] )
					);

				} else if ( lineSecondChar === 'n' && ( result = this.regexp.normal_pattern.exec( line ) ) !== null ) {

					// 0                   1      2      3
					// ["vn 1.0 2.0 3.0", "1.0", "2.0", "3.0"]

					state.normals.push(
						parseFloat( result[ 1 ] ),
						parseFloat( result[ 2 ] ),
						parseFloat( result[ 3 ] )
					);

				} else if ( lineSecondChar === 't' && ( result = this.regexp.uv_pattern.exec( line ) ) !== null ) {

					// 0               1      2
					// ["vt 0.1 0.2", "0.1", "0.2"]

					state.uvs.push(
						parseFloat( result[ 1 ] ),
						parseFloat( result[ 2 ] )
					);

				} else {

					throw new Error( "Unexpected vertex/normal/uv line: '" + line  + "'" );

				}

			} else if ( lineFirstChar === "f" ) {

				if ( ( result = this.regexp.face_vertex_uv_normal.exec( line ) ) !== null ) {

					// f vertex/uv/normal vertex/uv/normal vertex/uv/normal
					// 0                        1    2    3    4    5    6    7    8    9   10         11         12
					// ["f 1/1/1 2/2/2 3/3/3", "1", "1", "1", "2", "2", "2", "3", "3", "3", undefined, undefined, undefined]

					state.addFace(
						result[ 1 ], result[ 4 ], result[ 7 ], result[ 10 ],
						result[ 2 ], result[ 5 ], result[ 8 ], result[ 11 ],
						result[ 3 ], result[ 6 ], result[ 9 ], result[ 12 ]
					);

				} else if ( ( result = this.regexp.face_vertex_uv.exec( line ) ) !== null ) {

					// f vertex/uv vertex/uv vertex/uv
					// 0                  1    2    3    4    5    6   7          8
					// ["f 1/1 2/2 3/3", "1", "1", "2", "2", "3", "3", undefined, undefined]

					state.addFace(
						result[ 1 ], result[ 3 ], result[ 5 ], result[ 7 ],
						result[ 2 ], result[ 4 ], result[ 6 ], result[ 8 ]
					);

				} else if ( ( result = this.regexp.face_vertex_normal.exec( line ) ) !== null ) {

					// f vertex//normal vertex//normal vertex//normal
					// 0                     1    2    3    4    5    6   7          8
					// ["f 1//1 2//2 3//3", "1", "1", "2", "2", "3", "3", undefined, undefined]

					state.addFace(
						result[ 1 ], result[ 3 ], result[ 5 ], result[ 7 ],
						undefined, undefined, undefined, undefined,
						result[ 2 ], result[ 4 ], result[ 6 ], result[ 8 ]
					);

				} else if ( ( result = this.regexp.face_vertex.exec( line ) ) !== null ) {

					// f vertex vertex vertex
					// 0            1    2    3   4
					// ["f 1 2 3", "1", "2", "3", undefined]

					state.addFace(
						result[ 1 ], result[ 2 ], result[ 3 ], result[ 4 ]
					);

				} else {

					throw new Error( "Unexpected face line: '" + line  + "'" );

				}

			} else if ( lineFirstChar === "l" ) {

				var lineParts = line.substring( 1 ).trim().split( " " );
				var lineVertices = [], lineUVs = [];

				if ( line.indexOf( "/" ) === - 1 ) {

					lineVertices = lineParts;

				} else {

					for ( var li = 0, llen = lineParts.length; li < llen; li ++ ) {

						var parts = lineParts[ li ].split( "/" );

						if ( parts[ 0 ] !== "" ) lineVertices.push( parts[ 0 ] );
						if ( parts[ 1 ] !== "" ) lineUVs.push( parts[ 1 ] );

					}

				}
				state.addLineGeometry( lineVertices, lineUVs );

			} else if ( ( result = this.regexp.object_pattern.exec( line ) ) !== null ) {

				// o object_name
				// or
				// g group_name

				// WORKAROUND: https://bugs.chromium.org/p/v8/issues/detail?id=2869
				// var name = result[ 0 ].substr( 1 ).trim();
				var name = ( " " + result[ 0 ].substr( 1 ).trim() ).substr( 1 );

				state.startObject( name );

			} else if ( this.regexp.material_use_pattern.test( line ) ) {

				// material

				state.object.startMaterial( line.substring( 7 ).trim(), state.materialLibraries );

			} else if ( this.regexp.material_library_pattern.test( line ) ) {

				// mtl file

				state.materialLibraries.push( line.substring( 7 ).trim() );

			} else if ( ( result = this.regexp.smoothing_pattern.exec( line ) ) !== null ) {

				// smooth shading

				// @todo Handle files that have varying smooth values for a set of faces inside one geometry,
				// but does not define a usemtl for each face set.
				// This should be detected and a dummy material created (later MultiMaterial and geometry groups).
				// This requires some care to not create extra material on each smooth value for "normal" obj files.
				// where explicit usemtl defines geometry groups.
				// Example asset: examples/models/obj/cerberus/Cerberus.obj

				var value = result[ 1 ].trim().toLowerCase();
				state.object.smooth = ( value === '1' || value === 'on' );

				var material = state.object.currentMaterial();
				if ( material ) {

					material.smooth = state.object.smooth;

				}

			} else {

				// Handle null terminated files without exception
				if ( line === '\0' ) continue;

				throw new Error( "Unexpected line: '" + line  + "'" );

			}

		}

		state.finalize();

		var container = new THREE.Group();
		container.materialLibraries = [].concat( state.materialLibraries );

		for ( var i = 0, l = state.objects.length; i < l; i ++ ) {

			var object = state.objects[ i ];
			var geometry = object.geometry;
			var materials = object.materials;
			var isLine = ( geometry.type === 'Line' );

			// Skip o/g line declarations that did not follow with any faces
			if ( geometry.vertices.length === 0 ) continue;

			var buffergeometry = new THREE.BufferGeometry();

			buffergeometry.addAttribute( 'position', new THREE.BufferAttribute( new Float32Array( geometry.vertices ), 3 ) );

			if ( geometry.normals.length > 0 ) {

				buffergeometry.addAttribute( 'normal', new THREE.BufferAttribute( new Float32Array( geometry.normals ), 3 ) );

			} else {

				buffergeometry.computeVertexNormals();

			}

			if ( geometry.uvs.length > 0 ) {

				buffergeometry.addAttribute( 'uv', new THREE.BufferAttribute( new Float32Array( geometry.uvs ), 2 ) );

			}

			// Create materials

			var createdMaterials = [];

			for ( var mi = 0, miLen = materials.length; mi < miLen ; mi++ ) {

				var sourceMaterial = materials[mi];
				var material = undefined;

				if ( this.materials !== null ) {

					material = this.materials.create( sourceMaterial.name );

					// mtl etc. loaders probably can't create line materials correctly, copy properties to a line material.
					if ( isLine && material && ! ( material instanceof THREE.LineBasicMaterial ) ) {

						var materialLine = new THREE.LineBasicMaterial();
						materialLine.copy( material );
						material = materialLine;

					}

				}

				if ( ! material ) {

					material = ( ! isLine ? new THREE.MeshPhongMaterial() : new THREE.LineBasicMaterial() );
					material.name = sourceMaterial.name;

				}

				material.shading = sourceMaterial.smooth ? THREE.SmoothShading : THREE.FlatShading;

				createdMaterials.push(material);

			}

			// Create mesh

			var mesh;

			if ( createdMaterials.length > 1 ) {

				for ( var mi = 0, miLen = materials.length; mi < miLen ; mi++ ) {

					var sourceMaterial = materials[mi];
					buffergeometry.addGroup( sourceMaterial.groupStart, sourceMaterial.groupCount, mi );

				}

				var multiMaterial = new THREE.MultiMaterial( createdMaterials );
				mesh = ( ! isLine ? new THREE.Mesh( buffergeometry, multiMaterial ) : new THREE.LineSegments( buffergeometry, multiMaterial ) );

			} else {

				mesh = ( ! isLine ? new THREE.Mesh( buffergeometry, createdMaterials[ 0 ] ) : new THREE.LineSegments( buffergeometry, createdMaterials[ 0 ] ) );
			}

			mesh.name = object.name;

			container.add( mesh );

		}

		console.timeEnd( 'OBJLoader' );

		return container;

	}

};


text:
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
    android:drawable="@drawable/loading_inside"
    android:pivotX="50%"
    android:pivotY="50%" />
<!--
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
    android:drawable="@drawable/loading_inside"
    android:fromDegrees="0.0"
    android:pivotX="50.0%"
    android:pivotY="50.0%"
    android:toDegrees="360.0" />
-->


text:
from audi import launcher
from settings import config

app = launcher.create_app(conf=config)


text:
public class FBXModel : RCObject {
  private global::System.Runtime.InteropServices.HandleRef swigCPtr;

  internal FBXModel(global::System.IntPtr cPtr, bool cMemoryOwn) : base(FBXImporterUnmanagedPINVOKE.FBXModel_SWIGUpcast(cPtr), cMemoryOwn) {
    swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
  }

  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FBXModel obj) {
    return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
  }

  ~FBXModel() {
    Dispose();
  }

  public override void Dispose() {
    lock(this) {
      if (swigCPtr.Handle != global::System.IntPtr.Zero) {
        if (swigCMemOwn) {
          swigCMemOwn = false;
          FBXImporterUnmanagedPINVOKE.delete_FBXModel(swigCPtr);
        }
        swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
      }
      global::System.GC.SuppressFinalize(this);
      base.Dispose();
    }
  }

  public static FBXModelPtr Create() {
    FBXModelPtr ret = new FBXModelPtr(FBXImporterUnmanagedPINVOKE.FBXModel_Create(), true);
    return ret;
  }

  public FBXModel() : this(FBXImporterUnmanagedPINVOKE.new_FBXModel(), true) {
  }

  public void SetName(string name) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetName(swigCPtr, name);
  }

  public string GetName() {
    string ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetName(swigCPtr);
    return ret;
  }

  public int GetChildCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetChildCount(swigCPtr);
    return ret;
  }

  public FBXModelPtr GetChild(int index) {
    FBXModelPtr ret = new FBXModelPtr(FBXImporterUnmanagedPINVOKE.FBXModel_GetChild(swigCPtr, index), true);
    return ret;
  }

  public void AddChild(FBXModelPtr child) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddChild(swigCPtr, FBXModelPtr.getCPtr(child));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void ResizeVertex(int count) {
    FBXImporterUnmanagedPINVOKE.FBXModel_ResizeVertex(swigCPtr, count);
  }

  public void ResizeColor(int count) {
    FBXImporterUnmanagedPINVOKE.FBXModel_ResizeColor(swigCPtr, count);
  }

  public void ResizeUV(int layerCount, int count) {
    FBXImporterUnmanagedPINVOKE.FBXModel_ResizeUV(swigCPtr, layerCount, count);
  }

  public void ResizeNormal(int count) {
    FBXImporterUnmanagedPINVOKE.FBXModel_ResizeNormal(swigCPtr, count);
  }

  public void ResizeTangent(int count) {
    FBXImporterUnmanagedPINVOKE.FBXModel_ResizeTangent(swigCPtr, count);
  }

  public void ResizeBinormal(int count) {
    FBXImporterUnmanagedPINVOKE.FBXModel_ResizeBinormal(swigCPtr, count);
  }

  public void ResizeMaterial(int count) {
    FBXImporterUnmanagedPINVOKE.FBXModel_ResizeMaterial(swigCPtr, count);
  }

  public void SetPivotRotation(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetPivotRotation(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetRotationOffset(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetRotationOffset(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetPreRotation(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetPreRotation(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetPostRotation(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetPostRotation(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetPivotScale(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetPivotScale(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetScalingOffset(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetScalingOffset(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetTranslation(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetTranslation(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetRotation(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetRotation(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetScale(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetScale(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetGeometryTranslation(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetGeometryTranslation(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetGeometryRotation(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetGeometryRotation(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetGeometryScale(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetGeometryScale(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddVertex(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddVertex(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddIndex(int subMesh, int value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddIndex(swigCPtr, subMesh, value);
  }

  public void AddColor(FBXColor value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddColor(swigCPtr, FBXColor.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddUV(int layerIndex, FBXVector2 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddUV(swigCPtr, layerIndex, FBXVector2.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddNormal(FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddNormal(swigCPtr, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddTangent(FBXVector4 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddTangent(swigCPtr, FBXVector4.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddBinormal(FBXVector4 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddBinormal(swigCPtr, FBXVector4.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddMaterial(FBXMaterialPtr value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddMaterial(swigCPtr, FBXMaterialPtr.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetVertex(int index, FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetVertex(swigCPtr, index, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetColor(int index, FBXColor value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetColor(swigCPtr, index, FBXColor.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetUVLayer(int layerIndex) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetUVLayer(swigCPtr, layerIndex);
  }

  public void SetUV(int layerIndex, int index, FBXVector2 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetUV(swigCPtr, layerIndex, index, FBXVector2.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetNormal(int index, FBXVector3 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetNormal(swigCPtr, index, FBXVector3.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetTangent(int index, FBXVector4 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetTangent(swigCPtr, index, FBXVector4.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetBinormal(int index, FBXVector4 value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetBinormal(swigCPtr, index, FBXVector4.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void SetIndexMap(int iControlPoint, int iVertex) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetIndexMap(swigCPtr, iControlPoint, iVertex);
  }

  public void SetMaterial(int index, FBXMaterialPtr value) {
    FBXImporterUnmanagedPINVOKE.FBXModel_SetMaterial(swigCPtr, index, FBXMaterialPtr.getCPtr(value));
    if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
  }

  public void AddMaterialPolygons(int iMaterial, int iPolygon) {
    FBXImporterUnmanagedPINVOKE.FBXModel_AddMaterialPolygons(swigCPtr, iMaterial, iPolygon);
  }

  public FBXVector3 GetPivotRotation() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetPivotRotation(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetRotationOffset() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetRotationOffset(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetPreRotation() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetPreRotation(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetPostRotation() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetPostRotation(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetPivotScale() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetPivotScale(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetScalingOffset() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetScalingOffset(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetTranslation() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetTranslation(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetRotation() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetRotation(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetScale() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetScale(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetGeometryTranslation() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetGeometryTranslation(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetGeometryRotation() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetGeometryRotation(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetGeometryScale() {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetGeometryScale(swigCPtr), true);
    return ret;
  }

  public FBXVector3 GetVertex(int index) {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetVertex(swigCPtr, index), true);
    return ret;
  }

  public int GetIndex(int iMaterial, int index) {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetIndex(swigCPtr, iMaterial, index);
    return ret;
  }

  public FBXColor GetColor(int index) {
    FBXColor ret = new FBXColor(FBXImporterUnmanagedPINVOKE.FBXModel_GetColor(swigCPtr, index), true);
    return ret;
  }

  public FBXVector2 GetUV(int layerIndex, int index) {
    FBXVector2 ret = new FBXVector2(FBXImporterUnmanagedPINVOKE.FBXModel_GetUV(swigCPtr, layerIndex, index), true);
    return ret;
  }

  public FBXVector3 GetNormal(int index) {
    FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetNormal(swigCPtr, index), true);
    return ret;
  }

  public FBXVector4 GetTangent(int index) {
    FBXVector4 ret = new FBXVector4(FBXImporterUnmanagedPINVOKE.FBXModel_GetTangent(swigCPtr, index), true);
    return ret;
  }

  public FBXVector4 GetBinormal(int index) {
    FBXVector4 ret = new FBXVector4(FBXImporterUnmanagedPINVOKE.FBXModel_GetBinormal(swigCPtr, index), true);
    return ret;
  }

  public int GetIndexMapCount(int iControlPoint) {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetIndexMapCount(swigCPtr, iControlPoint);
    return ret;
  }

  public int GetIndexMap(int iControlPoint, int index) {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetIndexMap(swigCPtr, iControlPoint, index);
    return ret;
  }

  public FBXMaterialPtr GetMaterial(int index) {
    FBXMaterialPtr ret = new FBXMaterialPtr(FBXImporterUnmanagedPINVOKE.FBXModel_GetMaterial(swigCPtr, index), true);
    return ret;
  }

  public int GetMaterialPolygonCount(int iMaterial) {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetMaterialPolygonCount(swigCPtr, iMaterial);
    return ret;
  }

  public int GetMaterialPolygon(int iMaterial, int index) {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetMaterialPolygon(swigCPtr, iMaterial, index);
    return ret;
  }

  public int GetVertexCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetVertexCount(swigCPtr);
    return ret;
  }

  public int GetIndiceCount(int iMaterial) {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetIndiceCount(swigCPtr, iMaterial);
    return ret;
  }

  public int GetColorCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetColorCount(swigCPtr);
    return ret;
  }

  public int GetUVLayerCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetUVLayerCount(swigCPtr);
    return ret;
  }

  public int GetUVCount(int layerIndex) {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetUVCount(swigCPtr, layerIndex);
    return ret;
  }

  public int GetNormalCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetNormalCount(swigCPtr);
    return ret;
  }

  public int GetTangentCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetTangentCount(swigCPtr);
    return ret;
  }

  public int GetBinormalCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetBinormalCount(swigCPtr);
    return ret;
  }

  public int GetMaterialCount() {
    int ret = FBXImporterUnmanagedPINVOKE.FBXModel_GetMaterialCount(swigCPtr);
    return ret;
  }

}


text:
#ifndef WINPR_SSPI_NTLM_COMPUTE_H
#define WINPR_SSPI_NTLM_COMPUTE_H

#include "ntlm.h"

#include "ntlm_av_pairs.h"

void ntlm_get_version_info(NTLM_VERSION_INFO* versionInfo);
int ntlm_read_version_info(wStream* s, NTLM_VERSION_INFO* versionInfo);
void ntlm_write_version_info(wStream* s, NTLM_VERSION_INFO* versionInfo);
void ntlm_print_version_info(NTLM_VERSION_INFO* versionInfo);

int ntlm_read_ntlm_v2_response(wStream* s, NTLMv2_RESPONSE* response);
int ntlm_write_ntlm_v2_response(wStream* s, NTLMv2_RESPONSE* response);

void ntlm_output_target_name(NTLM_CONTEXT* context);
void ntlm_output_channel_bindings(NTLM_CONTEXT* context);

void ntlm_current_time(BYTE* timestamp);
void ntlm_generate_timestamp(NTLM_CONTEXT* context);

int ntlm_compute_lm_v2_response(NTLM_CONTEXT* context);
int ntlm_compute_ntlm_v2_response(NTLM_CONTEXT* context);

void ntlm_rc4k(BYTE* key, size_t length, BYTE* plaintext, BYTE* ciphertext);
void ntlm_generate_client_challenge(NTLM_CONTEXT* context);
void ntlm_generate_server_challenge(NTLM_CONTEXT* context);
void ntlm_generate_key_exchange_key(NTLM_CONTEXT* context);
void ntlm_generate_random_session_key(NTLM_CONTEXT* context);
void ntlm_generate_exported_session_key(NTLM_CONTEXT* context);
void ntlm_encrypt_random_session_key(NTLM_CONTEXT* context);
void ntlm_decrypt_random_session_key(NTLM_CONTEXT* context);

void ntlm_generate_client_signing_key(NTLM_CONTEXT* context);
void ntlm_generate_server_signing_key(NTLM_CONTEXT* context);
void ntlm_generate_client_sealing_key(NTLM_CONTEXT* context);
void ntlm_generate_server_sealing_key(NTLM_CONTEXT* context);
void ntlm_init_rc4_seal_states(NTLM_CONTEXT* context);

void ntlm_compute_message_integrity_check(NTLM_CONTEXT* context, BYTE* mic, UINT32 size);

#endif /* WINPR_AUTH_NTLM_COMPUTE_H */


text:
<?php

namespace CodeOrders\V1\Rest\Orders;

class OrdersEntity {

    protected $id;
    protected $client;
    protected $clientId;
    protected $product_name;
    protected $userId;
    protected $ptypeId;
    protected $total;
    protected $status;
    protected $createdAt;
    protected $items;

    public function __construct() {
        $this->items = [];
    }

    public function getId() {
        return $this->id;
    }

    public function getClient() {
        return $this->client;
    }

    public function getClientId() {
        return $this->clientId;
    }

    public function getUserId() {
        return $this->userId;
    }

    public function getPtypeId() {
        return $this->ptypeId;
    }

    public function getTotal() {
        return $this->total;
    }

    public function getStatus() {
        return $this->status;
    }

    public function getCreatedAt() {
        return $this->createdAt;
    }

    public function getItems() {
        return $this->items;
    }

    public function setId($id) {
        $this->id = $id;
        return $this;
    }

    public function setClient($client) {
        $this->client = $client;
        return $this;
    }

    public function setClientId($clientId) {
        $this->clientId = $clientId;
        return $this;
    }

    public function setUserId($userId) {
        $this->userId = $userId;
        return $this;
    }

    public function setPtypeId($ptypeId) {
        $this->ptypeId = $ptypeId;
        return $this;
    }

    public function setTotal($total) {
        $this->total = $total;
        return $this;
    }

    public function setStatus($status) {
        $this->status = $status;
        return $this;
    }

    public function setCreatedAt($createdAt) {
        $this->createdAt = $createdAt;
        return $this;
    }

    public function addItem($item) {
        $this->items[] = $item;
        return $this;
    }

}


text:
package com.android_mvc.framework.db.transaction.todo;

/**
 * トランザクションの完了を監視するリスナ。
 * @author id:language_and_engineering
 *
 */
public abstract class TxnListener
{
    public abstract void onComplete();

    // TODO: 共通エラー処理を隠ぺいし,個別エラー処理の記述は任意でOverrideさせる?
    public abstract void onError( Exception e );
}


text:
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.botservice.generated;

import com.azure.core.util.Context;

/** Samples for PrivateEndpointConnections Delete. */
public final class PrivateEndpointConnectionsDeleteSamples {
    /*
     * x-ms-original-file: specification/botservice/resource-manager/Microsoft.BotService/preview/2021-05-01-preview/examples/DeletePrivateEndpointConnection.json
     */
    /**
     * Sample code: Delete Private Endpoint Connection.
     *
     * @param manager Entry point to BotServiceManager.
     */
    public static void deletePrivateEndpointConnection(com.azure.resourcemanager.botservice.BotServiceManager manager) {
        manager
            .privateEndpointConnections()
            .deleteWithResponse("res6977", "sto2527", "{privateEndpointConnectionName}", Context.NONE);
    }
}


text:
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PhotoLife.Models
{
    public class Comment
    {
        public Comment()
        {

        }

        public Comment(User author, DateTime datePublished, string text)
        {
            this.Author = author;
            this.DatePublished = datePublished;
            this.Text = text;
        }

        [Key]
        public int CommentId { get; set; }

        public string Text { get; set; }

        public DateTime DatePublished { get; set; }

        [ForeignKey("Author")]
        public string UserId { get; set; }

        public virtual User Author { get; set; }
    }
}


text:
layout: post
title: "Ninjhax"
modified: 2014-11-20
categories: blog
excerpt: "Ninjhax Hack: 3DS Homebrew Exploit (Known as SSSpwn) Tutorial."
tags: [3ds-homebrew-ninjhax]
image:
  feature:
date: 2014-11-20
comments: true
share: true
---
Running http://smealum.net/ninjhax/ on my 3DS's.

Press UUDDLRLRAB for secret menu.

One 3DS on sysnand 4.4.0-10U, one on emunand 9.2.0-20U and one on sysnand 9.2.0-20U.

If you want to look into how this exploit works use my NCCH decryptor (https://github.com/Relys/3DS_Multi_Decryptor) to decrypt Cubic Ninja .3DS and ctrtool to extract the .code portion from the ExeFS.bin Then load up the extracted code.bin in IDA and find the functions that handle the QR loading. From there it's just understanding how the overflow works. Next you can piece together the payload and reverse the ROP chain. To determine how the ROP gadgets work you will have to have the binaries from which they are called from. :)  This means you will have to have RAM dumps (kernel access) or the title keys to decrypt from the CDN (https://github.com/Relys/3DS_Multi_Decryptor) for the firmware version you're targeting.

So, I haven't fully looked into it yet. But I think it works along these lines:
1. QR Code Overflow
2. Jump to ROP chain in QR code payload
3. Download AES encrypted payload smealum.net/ninjhax/p/POST5_WEST_4096_4096.bin from internet.
4. Escalate privilege level by exploiting a sysmodule and installing a new service used to launch .3dsx.
5. Transfer execution over to boot.3dsx

<iframe width="560" height="315" src="//www.youtube.com/embed/Kev-C6m1P9o" frameborder="0"> </iframe>


text:
Experimental Android game using free openGL game engine

This project is meant for simple experiementation with "AndEngine" and still requires major testing before release. Please note that this game is in ALPHA testing and will need approx 3-5 iterations of testing before it can be proceed to BETA testing. Use at your own risk.

Main objective of the game is to avoid reb bombs while collecting the yellow bombs. Number of enemy bombs increase as stage level increases. Game Engine used is "AndEngine".

Special Thanks***
Music is owned and provided by BEN SOUND [http://www.bensound.com/] and BXFR.
Please contact Ben Sound to use their music on your app.


text:
require 'spec_helper'

describe 'init_template' do
  before(:each) { scope.expects(:lookupvar).with('module_name').returns('foo') }

  it 'correctly renders the template' do
    is_expected.to run.with_params('fooservice', 'systemd').and_return("This is a test!\n")
  end
end


text:
class ChangeQuestionTypeAndAddSurverTemplateReferences < ActiveRecord::Migration
  def up
    remove_column :questions, :type, :string
    add_column :questions, :question_type, :integer, default: 0
    add_reference :questions, :survey_template, null: false, index: true
    add_foreign_key :questions, :survey_templates
  end

  def down
    add_column :questions, :type, :string
    remove_column :questions, :question_type, :integer, default: 0
    remove_foreign_key :questions, :survey_templates
    remove_reference :questions, :survey_template, null: false, index: true
  end
end


text:
package com.github.ferstl.spring.jdbc.oracle;

import org.springframework.test.context.ActiveProfiles;

import com.github.ferstl.spring.jdbc.oracle.dsconfig.DataSourceProfile;

@ActiveProfiles(DataSourceProfile.COMMONS_DBCP)
public class DbcpOracleNamedParameterIntegrationTest extends AbstractOracleNamedParameterIntegrationTest {

}


text:
package fakes

import (
	"sync"

	routing_api "github.com/cloudfoundry-incubator/routing-api"
	"github.com/cloudfoundry-incubator/routing-api/db"
	"github.com/cloudfoundry-incubator/routing-api/handlers"
)

type FakeRouteValidator struct {
	ValidateCreateStub        func(routes []db.Route, maxTTL int) *routing_api.Error
	validateCreateMutex       sync.RWMutex
	validateCreateArgsForCall []struct {
		routes []db.Route
		maxTTL int
	}
	validateCreateReturns struct {
		result1 *routing_api.Error
	}
	ValidateDeleteStub        func(routes []db.Route) *routing_api.Error
	validateDeleteMutex       sync.RWMutex
	validateDeleteArgsForCall []struct {
		routes []db.Route
	}
	validateDeleteReturns struct {
		result1 *routing_api.Error
	}
	ValidateTcpRouteMappingStub        func(tcpRouteMappings []db.TcpRouteMapping) *routing_api.Error
	validateTcpRouteMappingMutex       sync.RWMutex
	validateTcpRouteMappingArgsForCall []struct {
		tcpRouteMappings []db.TcpRouteMapping
	}
	validateTcpRouteMappingReturns struct {
		result1 *routing_api.Error
	}
}

func (fake *FakeRouteValidator) ValidateCreate(routes []db.Route, maxTTL int) *routing_api.Error {
	fake.validateCreateMutex.Lock()
	fake.validateCreateArgsForCall = append(fake.validateCreateArgsForCall, struct {
		routes []db.Route
		maxTTL int
	}{routes, maxTTL})
	fake.validateCreateMutex.Unlock()
	if fake.ValidateCreateStub != nil {
		return fake.ValidateCreateStub(routes, maxTTL)
	} else {
		return fake.validateCreateReturns.result1
	}
}

func (fake *FakeRouteValidator) ValidateCreateCallCount() int {
	fake.validateCreateMutex.RLock()
	defer fake.validateCreateMutex.RUnlock()
	return len(fake.validateCreateArgsForCall)
}

func (fake *FakeRouteValidator) ValidateCreateArgsForCall(i int) ([]db.Route, int) {
	fake.validateCreateMutex.RLock()
	defer fake.validateCreateMutex.RUnlock()
	return fake.validateCreateArgsForCall[i].routes, fake.validateCreateArgsForCall[i].maxTTL
}

func (fake *FakeRouteValidator) ValidateCreateReturns(result1 *routing_api.Error) {
	fake.ValidateCreateStub = nil
	fake.validateCreateReturns = struct {
		result1 *routing_api.Error
	}{result1}
}

func (fake *FakeRouteValidator) ValidateDelete(routes []db.Route) *routing_api.Error {
	fake.validateDeleteMutex.Lock()
	fake.validateDeleteArgsForCall = append(fake.validateDeleteArgsForCall, struct {
		routes []db.Route
	}{routes})
	fake.validateDeleteMutex.Unlock()
	if fake.ValidateDeleteStub != nil {
		return fake.ValidateDeleteStub(routes)
	} else {
		return fake.validateDeleteReturns.result1
	}
}

func (fake *FakeRouteValidator) ValidateDeleteCallCount() int {
	fake.validateDeleteMutex.RLock()
	defer fake.validateDeleteMutex.RUnlock()
	return len(fake.validateDeleteArgsForCall)
}

func (fake *FakeRouteValidator) ValidateDeleteArgsForCall(i int) []db.Route {
	fake.validateDeleteMutex.RLock()
	defer fake.validateDeleteMutex.RUnlock()
	return fake.validateDeleteArgsForCall[i].routes
}

func (fake *FakeRouteValidator) ValidateDeleteReturns(result1 *routing_api.Error) {
	fake.ValidateDeleteStub = nil
	fake.validateDeleteReturns = struct {
		result1 *routing_api.Error
	}{result1}
}

func (fake *FakeRouteValidator) ValidateTcpRouteMapping(tcpRouteMappings []db.TcpRouteMapping) *routing_api.Error {
	fake.validateTcpRouteMappingMutex.Lock()
	fake.validateTcpRouteMappingArgsForCall = append(fake.validateTcpRouteMappingArgsForCall, struct {
		tcpRouteMappings []db.TcpRouteMapping
	}{tcpRouteMappings})
	fake.validateTcpRouteMappingMutex.Unlock()
	if fake.ValidateTcpRouteMappingStub != nil {
		return fake.ValidateTcpRouteMappingStub(tcpRouteMappings)
	} else {
		return fake.validateTcpRouteMappingReturns.result1
	}
}

func (fake *FakeRouteValidator) ValidateTcpRouteMappingCallCount() int {
	fake.validateTcpRouteMappingMutex.RLock()
	defer fake.validateTcpRouteMappingMutex.RUnlock()
	return len(fake.validateTcpRouteMappingArgsForCall)
}

func (fake *FakeRouteValidator) ValidateTcpRouteMappingArgsForCall(i int) []db.TcpRouteMapping {
	fake.validateTcpRouteMappingMutex.RLock()
	defer fake.validateTcpRouteMappingMutex.RUnlock()
	return fake.validateTcpRouteMappingArgsForCall[i].tcpRouteMappings
}

func (fake *FakeRouteValidator) ValidateTcpRouteMappingReturns(result1 *routing_api.Error) {
	fake.ValidateTcpRouteMappingStub = nil
	fake.validateTcpRouteMappingReturns = struct {
		result1 *routing_api.Error
	}{result1}
}

var _ handlers.RouteValidator = new(FakeRouteValidator)


text:
require_relative 'spec_helper'

include Table2PNG

describe Converter do

  subject(:png) { Converter.new(table).process style}

  describe '#process' do
    context 'given a small table' do
      let(:style) { nil }
      let(:table) { File.read(Dir.pwd + "/spec/fixtures/small_table.html") }
      let(:result) { File.read(Dir.pwd + "/spec/fixtures/small.png") }

      it 'converts table to trimmed png' do
        expect(png.to_blob).to eq(result)
        expect(png.width).to eq(300)
        expect(png.height).to eq(73)
      end
    end

    context 'given a big table' do
      let(:style) { nil }
      let(:table) { File.read(Dir.pwd + "/spec/fixtures/big_table.html") }
      let(:result) { File.read(Dir.pwd + "/spec/fixtures/big.png") }

      it 'converts table to trimmed png' do
        expect(png.to_blob).to eq(result)
        expect(png.width).to eq(845)
        expect(png.height).to eq(414)
      end
    end

    context 'given a small table with other style file' do
      let(:style) { ['public/other_style.css'] }
      let(:table) { File.read(Dir.pwd + "/spec/fixtures/small_table.html") }
      let(:result) { File.read(Dir.pwd + "/spec/fixtures/other_style_small.png")}

      it 'should have new design' do
        expect(png.to_blob).to eq(result)
      end
    end

    context 'given a small table with wrong style file' do
      it 'should raises' do
        expect{Converter.new(File.read(Dir.pwd + "/spec/fixtures/small_table.html")).process('public/style.css')}.to raise_error(
          RuntimeError,
          'Please pass list of css path i.e [\'/public/file.css\',\'/public/file2.css\']')
      end
    end
  end

end


text:
require "cases/encryption/helper"
require "models/book_encrypted"
require "models/post_encrypted"

class ActiveRecord::Encryption::EncryptionPerformanceTest < ActiveRecord::EncryptionTestCase
  fixtures :encrypted_books, :posts

  setup do
    ActiveRecord::Encryption.config.support_unencrypted_data = true
  end

  test "performance when saving records" do
    baseline = -> { create_post_without_encryption }

    assert_slower_by_at_most 1.4, baseline: baseline do
      create_post_with_encryption
    end
  end

  test "reading an encrypted attribute multiple times is as fast as reading a regular attribute" do
    unencrypted_post = create_post_without_encryption
    baseline = -> { unencrypted_post.reload.title }

    encrypted_post = create_post_with_encryption
    assert_slower_by_at_most 1.2, baseline: baseline, duration: 3 do
      encrypted_post.reload.title
    end
  end

  private
    def create_post_without_encryption
      ActiveRecord::Encryption.without_encryption { create_post_with_encryption }
    end

    def create_post_with_encryption
      EncryptedPost.create!\
        title: "the Starfleet is here!",
        body: "
the Starfleet is here, we are safe now!
"
    end
end


text:
obj-y += pstore.o

pstore-objs += inode.o platform.o


text:
require 'puppet'

describe 'Puppet::Type.newtype(:nova_floating_range)' do
  before :each do
    @nova_floating_range = Puppet::Type.type(:nova_floating_range).new(:name => '10.0.0.1-10.0.0.254')
  end

  it 'should not expect a name without ip range' do
    expect {
      Puppet::Type.type(:nova_floating_range).new(:name => 'foo')
    }.to raise_error(Puppet::Error, /does not look/)
  end

  it 'pull should be "nova" by default' do
    @nova_floating_range[:pool].should == 'nova'
  end

  it 'auth url should be url' do
    expect {     @nova_floating_range[:auth_url] = 'h ttp://192.168.1.1:5000/v2.0/'
    }.to raise_error(Puppet::Error, /does not look/)
  end

  it 'api retries should be numeric' do
    expect {     @nova_floating_range[:api_retries] = '3b'
    }.to raise_error(Puppet::Error, /does not look/)
  end
end


text:
package rpc2

type Server struct {
	xp        *Transport
	wrapError WrapErrorFunc
}

func NewServer(xp *Transport, f WrapErrorFunc) *Server {
	return &Server{xp, f}
}

func (s *Server) Register(p Protocol) (err error) {
	p.WrapError = s.wrapError
	return s.xp.dispatcher.RegisterProtocol(p)
}

// RegisterEOFHook registers a callback that's called when there's
// and EOF condition on the underlying channel.
func (s *Server) RegisterEOFHook(h EOFHook) error {
	return s.xp.dispatcher.RegisterEOFHook(h)
}

func (s *Server) Run(bg bool) error {
	return s.xp.run(bg)
}


text: Enable debug mode to show a lot of information about SQL*Plus and your files.


text:
"""
EXSLT 2.0 - Regular Expressions (http://www.exslt.org/regexp/index.html)
"""
import re

from amara.xpath import datatypes

EXSL_REGEXP_NS = "http://exslt.org/regular-expressions"

def match_function(context, source, pattern, flags=None):
    """
    The regexp:match function lets you get hold of the substrings of the
    string passed as the first argument that match the captured parts of
    the regular expression passed as the second argument.

    The second argument is a regular expression that follows the Javascript
    regular expression syntax.

    The third argument is a string consisting of character flags to be used
    by the match. If a character is present then that flag is true. The
    flags are:
      g: global match - the submatches from all the matches in the string
                        are returned. If this character is not present, then
                        only the submatches from the first match in the
                        string are returned.
      i: case insensitive - the regular expression is treated as case
                            insensitive. If this character is not present,
                            then the regular expression is case sensitive.

    The regexp:match function returns a node set of 'match' elements, each of
    whose string value is equal to a portion of the first argument string
    that was captured by the regular expression. If the match is not global,
    the first match element has a value equal to the portion of the string
    matched by the entire regular expression.
    """
    source = source.evaluate_as_string(context)
    pattern = pattern.evaluate_as_string(context)
    flags = flags.evaluate_as_string(context) if flags else ''

    regexp = re.compile(pattern, re.IGNORECASE if 'i' in flags else 0)

    match = regexp.search(source)
    if match is None:
        return datatypes.nodeset()
    context.push_tree_writer(context.instruction.baseUri)
    if 'g' in flags:
        # find all matches in the source
        while match:
            context.start_element(u'match')
            # return everything that matched the pattern
            context.text(match.group())
            context.end_element(u'match')
            match = regexp.search(source, match.end())
    else:
        # the first 'match' element contains entire matched text
        all = [match.group()]
        groups = match.groups()
        groups and all.extend(list(groups))
        for match in all:
            context.start_element(u'match')
            match and context.text(match)
            context.end_element(u'match')
    writer = context.pop_writer()
    rtf = writer.get_result()
    return datatypes.nodeset(rtf.xml_children)

def replace_function(context, source, pattern, flags, repl):
    """
    The regexp:replace function replaces the parts of a string that match
    a regular expression with another string.

    The first argument is the string to be matched and replaced. The second
    argument is a regular expression that follows the Javascript regular
    expression syntax. The fourth argument is the string to replace the
    matched parts of the string.

    The third argument is a string consisting of character flags to be used
    by the match. If a character is present then that flag is true. The flags
    are:
      g: global replace - all occurrences of the regular expression in the
                          string are replaced. If this character is not
                          present, then only the first occurrence of the
                          regular expression is replaced.
      i: case insensitive - the regular expression is treated as case
                            insensitive. If this character is not present,
                            then the regular expression is case sensitive.
    """
    source = source.evaluate_as_string(context)
    pattern = pattern.evaluate_as_string(context)
    flags = flags.evaluate_as_string(context)
    repl = repl.evaluate_as_string(context)

    regexp = re.compile(pattern, re.IGNORECASE if 'i' in flags else 0)
    # a count of zero means replace all in RE.sub()
    result = regexp.sub(repl, source, 'g' not in flags)
    return datatypes.string(result)

def test_function(context, source, pattern, flags=''):
    """
    The regexp:test function returns true if the string given as the first
    argument matches the regular expression given as the second argument.

    The second argument is a regular expression that follows the Javascript
    regular expression syntax.

    The third argument is a string consisting of flags to be used by the test.
    If a character is present then that flag is true. The flags are:
      g: global test - has no effect on this function, but is retained for
                       consistency with regexp:match and regexp:replace.
      i: case insensitive - the regular expression is treated as case
                            insensitive. If this character is not present,
                            then the regular expression is case sensitive.
    """
    source = source.evaluate_as_string(context)
    pattern = pattern.evaluate_as_string(context)
    flags = flags.evaluate_as_string(context) if flags else ''

    regexp = re.compile(pattern, re.IGNORECASE if 'i' in flags else 0)
    return datatypes.TRUE if regexp.search(source) else datatypes.FALSE

## XSLT Extension Module Interface ####################################

extension_namespaces = {
    EXSL_REGEXP_NS : 'regexp',
    }

extension_functions = {
    (EXSL_REGEXP_NS, 'match') : match_function,
    (EXSL_REGEXP_NS, 'replace') : replace_function,
    (EXSL_REGEXP_NS, 'test') : test_function,
    }

extension_elements = {
    }


text:
package com.bolyartech.forge.skeleton.dagger.basic.app;

public class CurrentUserHolder {
    private CurrentUser mCurrentUser;

    public CurrentUser getCurrentUser() {
        return mCurrentUser;
    }

    public void setCurrentUser(CurrentUser currentUser) {
        mCurrentUser = currentUser;
    }
}


text:
package com.b2international.snowowl.core.request;

import com.b2international.snowowl.core.domain.TransactionContext;
import com.b2international.snowowl.core.internal.ResourceDocument;
import com.b2international.snowowl.core.internal.ResourceDocument.Builder;

/**
 * @since 8.0
 */
final class ResourceUpdateRequest extends BaseResourceUpdateRequest {

	private static final long serialVersionUID = 1L;

	ResourceUpdateRequest(String resourceId) {
		super(resourceId);
	}

	@Override
	protected boolean updateSpecializedProperties(TransactionContext context, ResourceDocument resource, Builder updated) {
		// No additional properties
		return false;
	}

}


text: package io.dockstore.tooltester.helper;


text:
class DepreciationIntervalType < ActiveRecord::Base

  # Active scope -- always use this scope in forms
  scope :active, -> { where(active: true) }

  def to_s
    name
  end

end


text:
import Str from './lowlevel/Str'
import Bool from './lowlevel/Bool'
import None from './lowlevel/None'

// Factories
import array from './lowlevel/array'
import fixedBuffer from './lowlevel/fixedBuffer'
import { integer, uinteger } from './lowlevel/integers'
import option from './lowlevel/option'
import struct from './lowlevel/struct'
import union from './lowlevel/union'
import message from './message'
import ListView from './ListView'
import MapView from './MapView'

// Resolver and type extensions
import TypeResolver from './lowlevel/TypeResolver'
import extendBits256 from './Bits256'

import rawDefinitions from './std.json'
// TODO: `Option` can be expressed as a factory

export const resolver = new TypeResolver()
  .addNativeTypes({ Str, Bool, None })
  .addFactories({
    array,
    integer,
    uinteger,
    fixedBuffer,
    buffer: fixedBuffer,
    option,
    struct,
    union,
    enum: union,
    message,
    ListView,
    MapView
  })
  .add(rawDefinitions)
  .extend('Bits256', extendBits256)

const types = resolver.namedTypes().toObject()
types.resolver = resolver
types.resolve = resolver.resolve.bind(resolver)

resolver.namedFactories().forEach((factory, fName) => {
  types[fName] = factory
})

export default types


text:
package org.estatio.fixture.party;

import org.estatio.dom.party.Party;
import org.estatio.fixture.security.tenancy.ApplicationTenancyForFr;

public class OrganisationForHelloWorldFr extends OrganisationAbstract {

    public static final String REF = "HELLOWORLD_FR";
    public static final String AT_PATH = ApplicationTenancyForFr.PATH;

    @Override
    protected void execute(ExecutionContext executionContext) {
        Party party = createOrganisation(
                AT_PATH,
                REF,
                "Hello World Properties (France)",
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null,
                null, executionContext);
    }

}


text:
require 'spec_helper'

type_class = Puppet::Type.type(:ec2_securitygroup)

describe type_class do

  let :params do
    [
      :name,
    ]
  end

  let :properties do
    [
      :ensure,
      :description,
      :region,
      :ingress,
      :tags,
    ]
  end

  it 'should have expected properties' do
    properties.each do |property|
      expect(type_class.properties.map(&:name)).to be_include(property)
    end
  end

  it 'should have expected parameters' do
    params.each do |param|
      expect(type_class.parameters).to be_include(param)
    end
  end

  it 'should order tags on output' do
    expect(type_class).to order_tags_on_output
  end

end


text:
/**
 * Autogenerated by Thrift Compiler (0.9.3)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
package com.facebook.buck.distributed.thrift;

import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;

import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2017-01-30")
public class CASContainsRequest implements org.apache.thrift.TBase<CASContainsRequest, CASContainsRequest._Fields>, java.io.Serializable, Cloneable, Comparable<CASContainsRequest> {
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CASContainsRequest");

  private static final org.apache.thrift.protocol.TField CONTENT_SHA1S_FIELD_DESC = new org.apache.thrift.protocol.TField("contentSha1s", org.apache.thrift.protocol.TType.LIST, (short)1);

  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
  static {
    schemes.put(StandardScheme.class, new CASContainsRequestStandardSchemeFactory());
    schemes.put(TupleScheme.class, new CASContainsRequestTupleSchemeFactory());
  }

  public List<String> contentSha1s; // optional

  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
    CONTENT_SHA1S((short)1, "contentSha1s");

    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();

    static {
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
        byName.put(field.getFieldName(), field);
      }
    }

    /**
     * Find the _Fields constant that matches fieldId, or null if its not found.
     */
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // CONTENT_SHA1S
          return CONTENT_SHA1S;
        default:
          return null;
      }
    }

    /**
     * Find the _Fields constant that matches fieldId, throwing an exception
     * if it is not found.
     */
    public static _Fields findByThriftIdOrThrow(int fieldId) {
      _Fields fields = findByThriftId(fieldId);
      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
      return fields;
    }

    /**
     * Find the _Fields constant that matches name, or null if its not found.
     */
    public static _Fields findByName(String name) {
      return byName.get(name);
    }

    private final short _thriftId;
    private final String _fieldName;

    _Fields(short thriftId, String fieldName) {
      _thriftId = thriftId;
      _fieldName = fieldName;
    }

    public short getThriftFieldId() {
      return _thriftId;
    }

    public String getFieldName() {
      return _fieldName;
    }
  }

  // isset id assignments
  private static final _Fields optionals[] = {_Fields.CONTENT_SHA1S};
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
  static {
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
    tmpMap.put(_Fields.CONTENT_SHA1S, new org.apache.thrift.meta_data.FieldMetaData("contentSha1s", org.apache.thrift.TFieldRequirementType.OPTIONAL,
        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
    metaDataMap = Collections.unmodifiableMap(tmpMap);
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CASContainsRequest.class, metaDataMap);
  }

  public CASContainsRequest() {
  }

  /**
   * Performs a deep copy on <i>other</i>.
   */
  public CASContainsRequest(CASContainsRequest other) {
    if (other.isSetContentSha1s()) {
      List<String> __this__contentSha1s = new ArrayList<String>(other.contentSha1s);
      this.contentSha1s = __this__contentSha1s;
    }
  }

  public CASContainsRequest deepCopy() {
    return new CASContainsRequest(this);
  }

  @Override
  public void clear() {
    this.contentSha1s = null;
  }

  public int getContentSha1sSize() {
    return (this.contentSha1s == null) ? 0 : this.contentSha1s.size();
  }

  public java.util.Iterator<String> getContentSha1sIterator() {
    return (this.contentSha1s == null) ? null : this.contentSha1s.iterator();
  }

  public void addToContentSha1s(String elem) {
    if (this.contentSha1s == null) {
      this.contentSha1s = new ArrayList<String>();
    }
    this.contentSha1s.add(elem);
  }

  public List<String> getContentSha1s() {
    return this.contentSha1s;
  }

  public CASContainsRequest setContentSha1s(List<String> contentSha1s) {
    this.contentSha1s = contentSha1s;
    return this;
  }

  public void unsetContentSha1s() {
    this.contentSha1s = null;
  }

  /** Returns true if field contentSha1s is set (has been assigned a value) and false otherwise */
  public boolean isSetContentSha1s() {
    return this.contentSha1s != null;
  }

  public void setContentSha1sIsSet(boolean value) {
    if (!value) {
      this.contentSha1s = null;
    }
  }

  public void setFieldValue(_Fields field, Object value) {
    switch (field) {
    case CONTENT_SHA1S:
      if (value == null) {
        unsetContentSha1s();
      } else {
        setContentSha1s((List<String>)value);
      }
      break;

    }
  }

  public Object getFieldValue(_Fields field) {
    switch (field) {
    case CONTENT_SHA1S:
      return getContentSha1s();

    }
    throw new IllegalStateException();
  }

  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
  public boolean isSet(_Fields field) {
    if (field == null) {
      throw new IllegalArgumentException();
    }

    switch (field) {
    case CONTENT_SHA1S:
      return isSetContentSha1s();
    }
    throw new IllegalStateException();
  }

  @Override
  public boolean equals(Object that) {
    if (that == null)
      return false;
    if (that instanceof CASContainsRequest)
      return this.equals((CASContainsRequest)that);
    return false;
  }

  public boolean equals(CASContainsRequest that) {
    if (that == null)
      return false;

    boolean this_present_contentSha1s = true && this.isSetContentSha1s();
    boolean that_present_contentSha1s = true && that.isSetContentSha1s();
    if (this_present_contentSha1s || that_present_contentSha1s) {
      if (!(this_present_contentSha1s && that_present_contentSha1s))
        return false;
      if (!this.contentSha1s.equals(that.contentSha1s))
        return false;
    }

    return true;
  }

  @Override
  public int hashCode() {
    List<Object> list = new ArrayList<Object>();

    boolean present_contentSha1s = true && (isSetContentSha1s());
    list.add(present_contentSha1s);
    if (present_contentSha1s)
      list.add(contentSha1s);

    return list.hashCode();
  }

  @Override
  public int compareTo(CASContainsRequest other) {
    if (!getClass().equals(other.getClass())) {
      return getClass().getName().compareTo(other.getClass().getName());
    }

    int lastComparison = 0;

    lastComparison = Boolean.valueOf(isSetContentSha1s()).compareTo(other.isSetContentSha1s());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetContentSha1s()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.contentSha1s, other.contentSha1s);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    return 0;
  }

  public _Fields fieldForId(int fieldId) {
    return _Fields.findByThriftId(fieldId);
  }

  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
  }

  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder("CASContainsRequest(");
    boolean first = true;

    if (isSetContentSha1s()) {
      sb.append("contentSha1s:");
      if (this.contentSha1s == null) {
        sb.append("null");
      } else {
        sb.append(this.contentSha1s);
      }
      first = false;
    }
    sb.append(")");
    return sb.toString();
  }

  public void validate() throws org.apache.thrift.TException {
    // check for required fields
    // check for sub-struct validity
  }

  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
    try {
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
    } catch (org.apache.thrift.TException te) {
      throw new java.io.IOException(te);
    }
  }

  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
    try {
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
    } catch (org.apache.thrift.TException te) {
      throw new java.io.IOException(te);
    }
  }

  private static class CASContainsRequestStandardSchemeFactory implements SchemeFactory {
    public CASContainsRequestStandardScheme getScheme() {
      return new CASContainsRequestStandardScheme();
    }
  }

  private static class CASContainsRequestStandardScheme extends StandardScheme<CASContainsRequest> {

    public void read(org.apache.thrift.protocol.TProtocol iprot, CASContainsRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TField schemeField;
      iprot.readStructBegin();
      while (true)
      {
        schemeField = iprot.readFieldBegin();
        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
          break;
        }
        switch (schemeField.id) {
          case 1: // CONTENT_SHA1S
            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
              {
                org.apache.thrift.protocol.TList _list50 = iprot.readListBegin();
                struct.contentSha1s = new ArrayList<String>(_list50.size);
                String _elem51;
                for (int _i52 = 0; _i52 < _list50.size; ++_i52)
                {
                  _elem51 = iprot.readString();
                  struct.contentSha1s.add(_elem51);
                }
                iprot.readListEnd();
              }
              struct.setContentSha1sIsSet(true);
            } else {
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
            }
            break;
          default:
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
        }
        iprot.readFieldEnd();
      }
      iprot.readStructEnd();

      // check for required fields of primitive type, which can't be checked in the validate method
      struct.validate();
    }

    public void write(org.apache.thrift.protocol.TProtocol oprot, CASContainsRequest struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.contentSha1s != null) {
        if (struct.isSetContentSha1s()) {
          oprot.writeFieldBegin(CONTENT_SHA1S_FIELD_DESC);
          {
            oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.contentSha1s.size()));
            for (String _iter53 : struct.contentSha1s)
            {
              oprot.writeString(_iter53);
            }
            oprot.writeListEnd();
          }
          oprot.writeFieldEnd();
        }
      }
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }

  }

  private static class CASContainsRequestTupleSchemeFactory implements SchemeFactory {
    public CASContainsRequestTupleScheme getScheme() {
      return new CASContainsRequestTupleScheme();
    }
  }

  private static class CASContainsRequestTupleScheme extends TupleScheme<CASContainsRequest> {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, CASContainsRequest struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      BitSet optionals = new BitSet();
      if (struct.isSetContentSha1s()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
      if (struct.isSetContentSha1s()) {
        {
          oprot.writeI32(struct.contentSha1s.size());
          for (String _iter54 : struct.contentSha1s)
          {
            oprot.writeString(_iter54);
          }
        }
      }
    }

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, CASContainsRequest struct) throws org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(1);
      if (incoming.get(0)) {
        {
          org.apache.thrift.protocol.TList _list55 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
          struct.contentSha1s = new ArrayList<String>(_list55.size);
          String _elem56;
          for (int _i57 = 0; _i57 < _list55.size; ++_i57)
          {
            _elem56 = iprot.readString();
            struct.contentSha1s.add(_elem56);
          }
        }
        struct.setContentSha1sIsSet(true);
      }
    }
  }

}


text:
=========
pam-ldap
=========

Formula to set up and configure ldap authentication.

.. note::

    See the full `Salt Formulas installation and usage instructions
    <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.

Available states
================

.. contents::
    :local:

``pam-ldap``
----------

Installs ldap and configures authentication.


text:
[class^="icon-"], [class*=" icon-"] {
  font-family: 'social-icons-lite';
  font-style: normal;
  font-weight: normal;

  /* fix buttons height */
  line-height: 1em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
}

.icon-star { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-star-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-heart-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-heart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-retweet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-comment { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-facebook { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-pinterest-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-gplus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-linkedin { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-reply { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-twitter-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-vimeo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-linkedin-squared-1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-facebook-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-vimeo-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-gplus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-tumblr-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-tumblr { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-pinterest { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-youtube { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-instagram { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-instagram-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }


text:
package nz.co.fortytwo.signalk.processor;

import nz.co.fortytwo.signalk.model.SignalKModel;
import nz.co.fortytwo.signalk.util.JsonSerializer;

import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;

/**
 * Converts the hashmap of key/values back to a json string
 *
 * @author robert
 *
 */
public class MapToJsonProcessor extends SignalkProcessor implements Processor {

	private static Logger logger = LogManager.getLogger(MapToJsonProcessor.class);
	JsonSerializer ser = new JsonSerializer();

	public void process(Exchange exchange) throws Exception {

		if (exchange.getIn().getBody()==null)
			return;
		if(logger.isDebugEnabled())logger.debug("Processing:"+exchange.getIn().getBody().getClass());

		if (exchange.getIn().getBody() instanceof SignalKModel){
			SignalKModel model = (SignalKModel)exchange.getIn().getBody();

			exchange.getIn().setBody(ser.writeJson(model));
		}
		if(logger.isDebugEnabled())logger.debug("Outputting:"+exchange.getIn());
	}

}


text:
tvrenamer.core package
======================

Submodules
----------

tvrenamer.core.episode module
-----------------------------

.. automodule:: tvrenamer.core.episode
    :members:
    :undoc-members:
    :show-inheritance:

tvrenamer.core.formatter module
-------------------------------

.. automodule:: tvrenamer.core.formatter
    :members:
    :undoc-members:
    :show-inheritance:

tvrenamer.core.parser module
----------------------------

.. automodule:: tvrenamer.core.parser
    :members:
    :undoc-members:
    :show-inheritance:

tvrenamer.core.patterns module
------------------------------

.. automodule:: tvrenamer.core.patterns
    :members:
    :undoc-members:
    :show-inheritance:

tvrenamer.core.renamer module
-----------------------------

.. automodule:: tvrenamer.core.renamer
    :members:
    :undoc-members:
    :show-inheritance:

tvrenamer.core.watcher module
-----------------------------

.. automodule:: tvrenamer.core.watcher
    :members:
    :undoc-members:
    :show-inheritance:

Module contents
---------------

.. automodule:: tvrenamer.core
    :members:
    :undoc-members:
    :show-inheritance:


text:
<!--
 Copyright 2013 The Polymer Authors. All rights reserved.
 Use of this source code is governed by a BSD-style
 license that can be found in the LICENSE file.
-->

<!--
This file is from the Polymer project (https://github.com/Polymer/polymer/).
You can replace polymer.html with a different version if desired.
-->
<!-- minified for deployment: -->
<link rel="import" href="src/js/polymer/polymer.html">
<script>
// TODO(sigmund): remove this script tag (dartbug.com/19650). This empty
// script tag is necessary to work around a bug in Chrome 36.
</script>

<!-- unminified for debugging:
<link rel="import" href="src/js/polymer/layout.html">
<script src="src/js/polymer/polymer.js"></script>
-->


text:
<!DOCTYPE HTML>
<html class="reftest-print">
<head>
<style>
html { margin:10px; border:20px solid black; padding:30px; height:4in; position:absolute; }
body { margin:0; }
</style>
</head>
<body>
</body>
</html>


text:
ACCEPTED

#### According to
The Catalogue of Life, 3rd January 2011

#### Published in
Bot. Notiser 131(2): 261 (1978)

#### Original name
Physcia insignis Mereschk.

### Remarks
null


text:
package io.autoscaling.routers;

import org.apache.camel.builder.RouteBuilder;

/**
 * Created by sascha.moellering on 19/05/2015.
 */
public class RestRouteBuilder extends RouteBuilder {

    private static final String PING_PONG = "{\"ping\":\"pong\"}";

    @Override
    public void configure() throws Exception {

        rest("cameltest").description("rest service for healthcheck")
                .produces("application/json")
                .get("/admin/healthcheck").to("direct:healthcheck");

        from("direct:healthcheck")
                .transform().simple(PING_PONG.toString());

        restConfiguration().component("jetty")
                .dataFormatProperty("prettyPrint", "true")
                .port(8080);
    }
}


text:
using System.Windows;

namespace Timesheets.WinClient
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
    }
}