text:
<?php

namespace Magento\Store\Test\Repository;

use Mtf\Repository\AbstractRepository;

/**
 * Class Store
 * Data for creation Store
 */
class Store extends AbstractRepository
{
    /**
     * @constructor
     * @param array $defaultConfig
     * @param array $defaultData
     *
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
     */
    public function __construct(array $defaultConfig = [], array $defaultData = [])
    {
        $this->_data['default'] = [
            'group_id' => ['dataSet' => 'default'],
            'name' => 'Default Store View',
            'code' => 'base',
            'is_active' => 'Enabled',
            'store_id' => 1,
        ];

        $this->_data['custom'] = [
            'group_id' => ['dataSet' => 'default'],
            'name' => 'Custom_Store_%isolation%',
            'code' => 'code_%isolation%',
            'is_active' => 'Enabled',
        ];

        $this->_data['default_store_view'] = [
            'store_id' => 1,
            'name' => 'Default Store View',
        ];

        $this->_data['All Store Views'] = [
            'name' => 'All Store Views',
            'store_id' => 0,
        ];

        $this->_data['german'] = [
            'group_id' => ['dataSet' => 'default'],
            'name' => 'DE%isolation%',
            'code' => 'de%isolation%',
            'is_active' => 'Enabled',
        ];
    }
}


text:
===============================
Mapping of policy target to API
===============================

The following table shows the target in the policy.json file for each API.

=========================================================  ===
Target                                                     API
=========================================================  ===
identity:get_region                                        GET /v3/regions/{region_id}
identity:list_regions                                      GET /v3/regions
identity:create_region                                     POST /v3/regions
identity:update_region                                     PATCH /v3/regions/{region_id}
identity:delete_region                                     DELETE /v3/regions/{region_id}

identity:get_service                                       GET /v3/services/{service_id}
identity:list_services                                     GET /v3/services
identity:create_service                                    POST /v3/services
identity:update_service                                    PATCH /v3/services/{service__id}
identity:delete_service                                    DELETE /v3/services/{service__id}

identity:get_endpoint                                      GET /v3/endpoints/{endpoint_id}
identity:list_endpoints                                    GET /v3/endpoints
identity:create_endpoint                                   POST /v3/endpoints
identity:update_endpoint                                   PATCH /v3/endpoints/{endpoint_id}
identity:delete_endpoint                                   DELETE /v3/endpoints/{endpoint_id}

identity:get_domain                                        GET /v3/domains/{domain_id}
identity:list_domains                                      GET /v3/domains
identity:create_domain                                     POST /v3/domains
identity:update_domain                                     PATCH /v3/domains/{domain_id}
identity:delete_domain                                     DELETE /v3/domains/{domain_id}

identity:get_project                                       GET /v3/projects/{project_id}
identity:list_projects                                     GET /v3/projects
identity:list_user_projects                                GET /v3/users/{user_id}/projects
identity:create_project                                    POST /v3/projects
identity:update_project                                    PATCH /v3/projects/{project_id}
identity:delete_project                                    DELETE /v3/projects/{project_id}

identity:get_user                                          GET /v3/users/{user_id}
identity:list_users                                        GET /v3/users
identity:create_user                                       POST /v3/users
identity:update_user                                       PATCH /v3/users/{user_id}
identity:delete_user                                       DELETE /v3/users/{user_id}
identity:change_password                                   POST /v3/users/{user_id}/password

identity:get_group                                         GET /v3/groups/{group_id}
identity:list_groups                                       GET /v3/groups
identity:list_groups_for_user                              GET /v3/users/{user_id}/groups
identity:create_group                                      POST /v3/groups
identity:update_group                                      PATCH /v3/groups/{group_id}
identity:delete_group                                      DELETE /v3/groups/{group_id}
identity:list_users_in_group                               GET /v3/groups/{group_id}/users
identity:remove_user_from_group                            DELETE /v3/groups/{group_id}/users/{user_id}
identity:check_user_in_group                               GET /v3/groups/{group_id}/users/{user_id}
identity:add_user_to_group                                 PUT /v3/groups/{group_id}/users/{user_id}

identity:get_credential                                    GET /v3/credentials/{credential_id}
identity:list_credentials                                  GET /v3/credentials
identity:create_credential                                 POST /v3/credentials
identity:update_credential                                 PATCH /v3/credentials/{credential_id}
identity:delete_credential                                 DELETE /v3/credentials/{credential_id}

identity:ec2_get_credential                                GET /v3/users/{user_id}/credentials/OS-EC2/{credential_id}
identity:ec2_list_credentials                              GET /v3/users/{user_id}/credentials/OS-EC2
identity:ec2_create_credential                             POST /v3/users/{user_id}/credentials/OS-EC2
identity:ec2_delete_credential                             DELETE /v3/users/{user_id}/credentials/OS-EC2/{credential_id}

identity:get_role                                          GET /v3/roles/{role_id}
identity:list_roles                                        GET /v3/roles
identity:create_role                                       POST /v3/roles
identity:update_role                                       PATCH /v3/roles/{role_id}
identity:delete_role                                       DELETE /v3/roles/{role_id}

identity:check_grant                                       GET `grant_resources`_
identity:list_grants                                       GET `grant_collections`_
identity:create_grant                                      PUT `grant_resources`_
identity:revoke_grant                                      DELETE `grant_resources`_

identity:list_role_assignments                             GET /v3/role_assignments

identity:get_policy                                        GET /v3/policy/{policy_id}
identity:list_policies                                     GET /v3/policy
identity:create_policy                                     POST /v3/policy
identity:update_policy                                     PATCH /v3/policy/{policy_id}
identity:delete_policy                                     DELETE /v3/policy/{policy_id}

identity:check_token                                       HEAD /v3/auth/tokens
identity:validate_token                                    - GET /v2.0/tokens/{token_id}
                                                           - GET /v3/auth/tokens
identity:validate_token_head                               HEAD /v2.0/tokens/{token_id}
identity:revocation_list                                   - GET /v2.0/tokens/revoked
                                                           - GET /v3/auth/tokens/OS-PKI/revoked
identity:revoke_token                                      DELETE /v3/auth/tokens
identity:create_trust                                      POST /v3/OS-TRUST/trusts
identity:list_trusts                                       GET /v3/OS-TRUST/trusts
identity:list_roles_for_trust                              GET /v3/OS-TRUST/trusts/{trust_id}/roles
identity:get_role_for_trust                                GET /v3/OS-TRUST/trusts/{trust_id}/roles/{role_id}
identity:delete_trust                                      DELETE /v3/OS-TRUST/trusts/{trust_id}

identity:create_consumer                                   POST /v3/OS-OAUTH1/consumers
identity:get_consumer                                      GET /v3/OS-OAUTH1/consumers/{consumer_id}
identity:list_consumers                                    GET /v3/OS-OAUTH1/consumers
identity:delete_consumer                                   DELETE /v3/OS-OAUTH1/consumers/{consumer_id}
identity:update_consumer                                   PATCH /v3/OS-OAUTH1/consumers/{consumer_id}

identity:authorize_request_token                           PUT /v3/OS-OAUTH1/authorize/{request_token_id}
identity:list_access_token_roles                           GET /v3/users/{user_id}/OS-OAUTH1/access_tokens/{access_token_id}/roles
identity:get_access_token_role                             GET /v3/users/{user_id}/OS-OAUTH1/access_tokens/{access_token_id}/roles/{role_id}
identity:list_access_tokens                                GET /v3/users/{user_id}/OS-OAUTH1/access_tokens
identity:get_access_token                                  GET /v3/users/{user_id}/OS-OAUTH1/access_tokens/{access_token_id}
identity:delete_access_token                               DELETE /v3/users/{user_id}/OS-OAUTH1/access_tokens/{access_token_id}

identity:list_projects_for_endpoint                        GET /v3/OS-EP-FILTER/endpoints/{endpoint_id}/projects
identity:add_endpoint_to_project                           PUT /v3/OS-EP-FILTER/projects/{project_id}/endpoints/{endpoint_id}
identity:check_endpoint_in_project                         GET /v3/OS-EP-FILTER/projects/{project_id}/endpoints/{endpoint_id}
identity:list_endpoints_for_project                        GET /v3/OS-EP-FILTER/projects/{project_id}/endpoints
identity:remove_endpoint_from_project                      DELETE /v3/OS-EP-FILTER/projects/{project_id}/endpoints/{endpoint_id}

identity:create_endpoint_group                             POST /v3/OS-EP-FILTER/endpoint_groups
identity:list_endpoint_groups                              GET /v3/OS-EP-FILTER/endpoint_groups
identity:get_endpoint_group                                GET /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
identity:update_endpoint_group                             PATCH /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
identity:delete_endpoint_group                             DELETE /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}
identity:list_projects_associated_with_endpoint_group      GET /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/projects
identity:list_endpoints_associated_with_endpoint_group     GET /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/endpoints
identity:get_endpoint_group_in_project                     GET /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/projects/{project_id}
identity:list_endpoint_groups_for_project                  GET /v3/OS-EP-FILTER/projects/{project_id}/endpoint_groups
identity:add_endpoint_group_to_project                     PUT /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/projects/{project_id}
identity:remove_endpoint_group_from_project                DELETE /v3/OS-EP-FILTER/endpoint_groups/{endpoint_group_id}/projects/{project_id}

identity:create_identity_provider                          PUT /v3/OS-FEDERATION/identity_providers/{idp_id}
identity:list_identity_providers                           GET /v3/OS-FEDERATION/identity_providers
identity:get_identity_providers                            GET /v3/OS-FEDERATION/identity_providers/{idp_id}
identity:update_identity_provider                          PATCH /v3/OS-FEDERATION/identity_providers/{idp_id}
identity:delete_identity_provider                          DELETE /v3/OS-FEDERATION/identity_providers/{idp_id}

identity:create_protocol                                   PUT /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id}
identity:update_protocol                                   PATCH /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id}
identity:get_protocol                                      GET /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id}
identity:list_protocols                                    GET /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols
identity:delete_protocol                                   DELETE /v3/OS-FEDERATION/identity_providers/{idp_id}/protocols/{protocol_id}

identity:create_mapping                                    PUT /v3/OS-FEDERATION/mappings/{mapping_id}
identity:get_mapping                                       GET /v3/OS-FEDERATION/mappings/{mapping_id}
identity:list_mappings                                     GET /v3/OS-FEDERATION/mappings
identity:delete_mapping                                    DELETE /v3/OS-FEDERATION/mappings/{mapping_id}
identity:update_mapping                                    PATCH /v3/OS-FEDERATION/mappings/{mapping_id}

identity:create_service_provider                           PUT /v3/OS-FEDERATION/service_providers/{sp_id}
identity:list_service_providers                            GET /v3/OS-FEDERATION/service_providers
identity:get_service_provider                              GET /v3/OS-FEDERATION/service_providers/{sp_id}
identity:update_service_provider                           PATCH /v3/OS-FEDERATION/service_providers/{sp_id}
identity:delete_service_provider                           DELETE /v3/OS-FEDERATION/service_providers/{sp_id}

identity:get_auth_catalog                                  GET /v3/auth/catalog
identity:get_auth_projects                                 GET /v3/auth/projects
identity:get_auth_domains                                  GET /v3/auth/domains

identity:list_projects_for_groups                          GET /v3/OS-FEDERATION/projects
identity:list_domains_for_groups                           GET /v3/OS-FEDERATION/domains

identity:list_revoke_events                                GET /v3/OS-REVOKE/events

identity:create_policy_association_for_endpoint            PUT /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints/{endpoint_id}
identity:check_policy_association_for_endpoint             GET /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints/{endpoint_id}
identity:delete_policy_association_for_endpoint            DELETE /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints/{endpoint_id}
identity:create_policy_association_for_service             PUT /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}
identity:check_policy_association_for_service              GET /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}
identity:delete_policy_association_for_service             DELETE /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}
identity:create_policy_association_for_region_and_service  PUT /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}/regions/{region_id}
identity:check_policy_association_for_region_and_service   GET /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}/regions/{region_id}
identity:delete_policy_association_for_region_and_service  DELETE /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/services/{service_id}/regions/{region_id}
identity:get_policy_for_endpoint                           GET /v3/endpoints/{endpoint_id}/OS-ENDPOINT-POLICY/policy
identity:list_endpoints_for_policy                         GET /v3/policies/{policy_id}/OS-ENDPOINT-POLICY/endpoints

identity:create_domain_config                              PUT /v3/domains/{domain_id}/config
identity:get_domain_config                                 - GET /v3/domains/{domain_id}/config
                                                           - GET /v3/domains/{domain_id}/config/{group}
                                                           - GET /v3/domains/{domain_id}/config/{group}/{option}
identity:update_domain_config                              - PATCH /v3/domains/{domain_id}/config
                                                           - PATCH /v3/domains/{domain_id}/config/{group}
                                                           - PATCH /v3/domains/{domain_id}/config/{group}/{option}
identity:delete_domain_config                              - DELETE /v3/domains/{domain_id}/config
                                                           - DELETE /v3/domains/{domain_id}/config/{group}
                                                           - DELETE /v3/domains/{domain_id}/config/{group}/{option}

=========================================================  ===

.. _grant_resources:

*grant_resources* are:

- /v3/projects/{project_id}/users/{user_id}/roles/{role_id}
- /v3/projects/{project_id}/groups/{group_id}/roles/{role_id}
- /v3/domains/{domain_id}/users/{user_id}/roles/{role_id}
- /v3/domains/{domain_id}/groups/{group_id}/roles/{role_id}
- /v3/OS-INHERIT/domains/{domain_id}/users/{user_id}/roles/{role_id}/inherited_to_projects
- /v3/OS-INHERIT/domains/{domain_id}/groups/{group_id}/roles/{role_id}/inherited_to_projects
- /v3/OS-INHERIT/projects/{project_id}/users/{user_id}/roles/{role_id}/inherited_to_projects
- /v3/OS-INHERIT/projects/{project_id}/groups/{group_id}/roles/{role_id}/inherited_to_projects

.. _grant_collections:

*grant_collections* are:

- /v3/projects/{project_id}/users/{user_id}/roles
- /v3/projects/{project_id}/groups/{group_id}/roles
- /v3/domains/{domain_id}/users/{user_id}/roles
- /v3/domains/{domain_id}/groups/{group_id}/role
- /v3/OS-INHERIT/domains/{domain_id}/groups/{group_id}/roles/inherited_to_projects
- /v3/OS-INHERIT/domains/{domain_id}/users/{user_id}/roles/inherited_to_projects

redpajama_set_name: RedPajamaGithub


text:
CREATE CLASS t1(
   col1       timestamp
);

INSERT INTO t1 VALUES ({'golf', 'handicap'});

drop t1;


text:
package types

// TransformSummary type.
//
// https://github.com/elastic/elasticsearch-specification/blob/4ca0cc05d3ae3fa06c2cd7be91905b656a474334/specification/transform/get_transform/types.ts#L33-L61
type TransformSummary struct {
	// Authorization The security privileges that the transform uses to run its queries. If
	// Elastic Stack security features were disabled at the time of the most recent
	// update to the transform, this property is omitted.
	Authorization *TransformAuthorization `json:"authorization,omitempty"`
	// CreateTime The time the transform was created.
	CreateTime *int64 `json:"create_time,omitempty"`
	// Description Free text description of the transform.
	Description *string `json:"description,omitempty"`
	// Dest The destination for the transform.
	Dest      ReindexDestination     `json:"dest"`
	Frequency *Duration              `json:"frequency,omitempty"`
	Id        string                 `json:"id"`
	Latest    *Latest                `json:"latest,omitempty"`
	Meta_     map[string]interface{} `json:"_meta,omitempty"`
	// Pivot The pivot method transforms the data by aggregating and grouping it.
	Pivot           *Pivot                    `json:"pivot,omitempty"`
	RetentionPolicy *RetentionPolicyContainer `json:"retention_policy,omitempty"`
	// Settings Defines optional transform settings.
	Settings *Settings `json:"settings,omitempty"`
	// Source The source of the data for the transform.
	Source TransformSource `json:"source"`
	// Sync Defines the properties transforms require to run continuously.
	Sync *SyncContainer `json:"sync,omitempty"`
	// Version The version of Elasticsearch that existed on the node when the transform was
	// created.
	Version *string `json:"version,omitempty"`
}

// NewTransformSummary returns a TransformSummary.
func NewTransformSummary() *TransformSummary {
	r := &TransformSummary{}

	return r
}


text:
import os
import logging
import yaml
from schema import Use, Schema, SchemaError, Optional

class InvalidConfig(Exception):
    pass

class MissingConfig(Exception):
    pass

default_config = {
    'debug': False
}
schema = Schema({
    'tracked_repositories': [Use(str)],
    'unstable_tests': [Use(str)],
    'api_key': Use(str),
    'max_attempts': Use(int),
    'debug': bool
})

def get_config_path():
    current_directory = os.getcwd()
    while True:
        try:
            with open(
                os.path.join(current_directory, 'vakautin.yaml'),
                'rb'
            ) as fp:
                return os.path.join(current_directory, 'vakautin.yaml')
        except IOError:
            pass

        current_directory = os.path.abspath(
            os.path.join(current_directory, '..')
        )
        if current_directory == '/':
            return None

def load_config():
    config = {}
    current_directory = os.getcwd()
    while True:
        try:
            with open(
                os.path.join(current_directory, 'vakautin.yaml'),
                'rb'
            ) as fp:
                config = yaml.safe_load(fp)
                break
        except IOError:
            pass
        current_directory = os.path.abspath(
            os.path.join(current_directory, '..')
        )

        if current_directory == '/':
            break

    if not config:
        raise MissingConfig()

    for k, v in default_config.items():
        if k not in config:
            config[k] = v

    try:
        return schema.validate(config)
    except SchemaError as e:
        raise InvalidConfig(e)

def save_config(config):
    logging.getLogger(__name__).debug('save_config()')
    with open(get_config_path(), "w") as fp:
        yaml.dump(config, fp)


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
DataInputType
</TITLE>

<META NAME="keywords" CONTENT="apollo.dataadapter.DataInputType class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">

      Overview
      Package
    Class
      Tree
      Deprecated
      Index
      Help

 PREV CLASS
 NEXT CLASS

  FRAMES
 NO FRAMES

  All Classes

  SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

apollo.dataadapter

Class DataInputType

java.lang.Object
  apollo.dataadapter.DataInputType

public class DataInputType
extends java.lang.Object

A value class for the different types of Data input

Nested Class Summary

static class
DataInputType.UnknownTypeException

Field Summary

static DataInputType
BASEPAIR_RANGE

static DataInputType
CONTIG

static DataInputType
CYTOLOGY

static DataInputType
DIR

static DataInputType
FILE

static DataInputType
GENE

static DataInputType
MRNA

static DataInputType
SCAFFOLD

static DataInputType
SEQUENCE

static DataInputType
URL

Method Summary

static DataInputType
getDataTypeForSoType(java.lang.String soType)

          This is an attempt to correlate SO terms with DataInputType.

 java.lang.String
getSoType()

static java.lang.String[]
getTypeStrings()

 boolean
isLocation()

static DataInputType
stringToType(java.lang.String s)

 java.lang.String
toString()

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

GENE

public static DataInputType GENE

MRNA

public static DataInputType MRNA

CYTOLOGY

public static DataInputType CYTOLOGY

SCAFFOLD

public static DataInputType SCAFFOLD

FILE

public static DataInputType FILE

URL

public static DataInputType URL

SEQUENCE

public static DataInputType SEQUENCE

BASEPAIR_RANGE

public static DataInputType BASEPAIR_RANGE

CONTIG

public static DataInputType CONTIG

DIR

public static DataInputType DIR

Method Detail

getDataTypeForSoType

public static DataInputType getDataTypeForSoType(java.lang.String soType)

This is an attempt to correlate SO terms with DataInputType.
      The 2 should work hand in hand, until all adapters are using SO, then
      we can scrap DataInputType for SO. Only handles chromosome at the moment.
      This should be derived from SO, or at least configured, hardwiring for now

getSoType

public java.lang.String getSoType()

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

stringToType

public static DataInputType stringToType(java.lang.String s)
                                  throws DataInputType.UnknownTypeException

Throws:

DataInputType.UnknownTypeException

isLocation

public boolean isLocation()

getTypeStrings

public static java.lang.String[] getTypeStrings()

      Overview
      Package
    Class
      Tree
      Deprecated
      Index
      Help

 PREV CLASS
 NEXT CLASS

  FRAMES
 NO FRAMES

  All Classes

  SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD


text:
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
	license agreements. See the NOTICE file distributed with this work for additional
	information regarding copyright ownership. The ASF licenses this file to
	you under the Apache License, Version 2.0 (the "License"); you may not use
	this file except in compliance with the License. You may obtain a copy of
	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
	by applicable law or agreed to in writing, software distributed under the
	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
	OF ANY KIND, either express or implied. See the License for the specific
	language governing permissions and limitations under the License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

	<parent>
		<groupId>org.wso2.maven</groupId>
		<artifactId>maven-tools</artifactId>
		<version>5.0.0-SNAPSHOT</version>
		<relativePath>../pom.xml</relativePath>
	</parent>

	<modelVersion>4.0.0</modelVersion>
	<artifactId>org.wso2.maven.capp</artifactId>
	<version>2.1.0-SNAPSHOT</version>
	<packaging>jar</packaging>

	<name>CApp Maven</name>

	<description>Library to work with CApp artifacts</description>
	<build>
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ssh</artifactId>
				<version>1.0-beta-6</version>
			</extension>
		</extensions>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>org.apache.ws.commons.axiom.wso2</groupId>
			<artifactId>axiom</artifactId>
			<version>${org.apache.ws.commons.axiom.wso2.axiom.version}</version>
		</dependency>
		<dependency>
			<groupId>org.wso2.maven</groupId>
			<artifactId>org.wso2.maven.utils</artifactId>
			<version>${org.wso2.maven.utils.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-project</artifactId>
			<version>${org.apache.maven.project.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-model</artifactId>
			<version>${org.apache.maven.model.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-plugin-api</artifactId>
			<version>${org.apache.maven.plugin.api.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-artifact</artifactId>
			<version>${org.apache.maven.artifact.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>maven-archiver</artifactId>
			<version>${org.apache.maven.archiver.version}</version>
		</dependency>
		<dependency>
			<groupId>org.wso2.maven</groupId>
			<artifactId>org.wso2.maven.core</artifactId>
			<version>${org.wso2.maven.core.version}</version>
		</dependency>
	</dependencies>
</project>


text:
Spin-docker: A lightweight RESTful docker PaaS
==============================================

**NOTE: spin-docker is no longer under active development.** If you need a Docker PaaS, I recommend looking at the `dokku <https://github.com/progrium/dokku>`_, `Deis <http://deis.io/>`_, or `Flynn <https://flynn.io/>`_ projects.

**Spin-docker** is a lightweight platform-as-a-service that runs on a RESTful API. Designed with simplicity in mind, spin-docker provides enough features to help you stand up your own `Docker <https://www.docker.io/>`_-powered PaaS in minutes.

Spin-docker was created by `Andrew T. Baker <http://www.andrewtorkbaker.com/>`_ as a side project this winter. It might not be the best Docker-based PaaS out there, but building it was a great learning experience. Check out my blog post about it: http://andrewtorkbaker.com/what-makes-a-good-side-project

Spin-docker is open source under the `MIT license <https://github.com/atbaker/spin-docker/blob/master/LICENSE>`_.

Full documentation is available on ReadTheDocs: http://spin-docker.readthedocs.org/

Example use
-----------

Spin-docker uses a RESTful API so you can easily start and stop docker containers with an HTTP request. Start a PostgreSQL database with:

.. code-block:: bash

    $ curl http://localhost:8080/v1/containers -X POST -u admin:spindocker -d "image=atbaker/sd-postgres"

And you'll receive back:

.. code-block:: json

    {
      "status": "running",
      "name": "/desperate_poincare",
      "active_connections": "0",
      "ssh_port": "49153",
      "image": "atbaker/sd-postgres",
      "container_id": "0145c3630dccc5529ecd3a61d0e7f04236ef3e7a91d06b2985f50e9aa4dc266d",
      "uri": "/v1/containers/0145c3630dccc5529ecd3a61d0e7f04236ef3e7a91d06b2985f50e9aa4dc266d",
      "app_port": "49154"
    }

The ``atbaker/sd-postgres`` docker image runs a PostgreSQL database using `Phusion's base docker image <https://github.com/phusion/baseimage-docker>`_. Spin-docker images report their activity back to spin-docker so it can stop idle containers, but spin-docker is fully compatible with all docker images.

You can SSH into the container using Phusion's insecure key (included in the spin-docker root directory):

.. code-block:: bash

    $ ssh -i insecure_key root@127.0.0.1 -p 49153
    $ su postgres -c 'psql'

And of course you (or an app) can connect to the PostgreSQL database directly if you have the PostgreSQL client installed:

.. code-block:: bash

    $ psql -U postgres -h 127.0.0.1 -p 49154

And that's it! Here are a few ideas for how spin-docker could help your organization:

- Use the `PostgreSQL <https://github.com/atbaker/sd-postgres>`_, `MongoDB <https://github.com/atbaker/sd-mongo>`_, and `Django <https://github.com/atbaker/sd-django>`_ images available now to provide on-demand databases and webservers for developers and data scientists
- Create a docker image for your own app and use spin-docker to provide on-demand demo servers for your teams
- Jump start your next training or tutorial session by putting a sample environment in a docker image and using spin-docker to quickly expose those environments to your students

Or just play with spin-docker to learn more about how docker works! Using `Vagrant <http://www.vagrantup.com/>`_ and `Ansible <http://www.ansible.com/home>`_, you can deploy your own spin-docker server anywhere in minutes. Read `getting started with spin-docker <http://spin-docker.readthedocs.org/en/latest/getting_started.html>`_ for more information.


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
Fungal Diversity 32: 147 (2008)

#### Original name
Lactarius verecundus Stubbe & Verbeken

### Remarks
null


text:
node.js log module compare

test pv & error log


text:
namespace ui {
namespace ws {

DefaultAccessPolicy::DefaultAccessPolicy() {}

DefaultAccessPolicy::~DefaultAccessPolicy() {}

void DefaultAccessPolicy::Init(ClientSpecificId client_id,
                               AccessPolicyDelegate* delegate) {
  client_id_ = client_id;
  delegate_ = delegate;
}

bool DefaultAccessPolicy::CanRemoveWindowFromParent(
    const ServerWindow* window) const {
  if (!WasCreatedByThisClient(window))
    return false;  // Can only unparent windows we created.

  return delegate_->HasRootForAccessPolicy(window->parent()) ||
         WasCreatedByThisClient(window->parent());
}

bool DefaultAccessPolicy::CanAddWindow(const ServerWindow* parent,
                                       const ServerWindow* child) const {
  return WasCreatedByThisClient(child) &&
         (delegate_->HasRootForAccessPolicy(parent) ||
          (WasCreatedByThisClient(parent) &&
           !delegate_->IsWindowRootOfAnotherTreeForAccessPolicy(parent)));
}

bool DefaultAccessPolicy::CanAddTransientWindow(
    const ServerWindow* parent,
    const ServerWindow* child) const {
  return (delegate_->HasRootForAccessPolicy(child) ||
          WasCreatedByThisClient(child)) &&
         (delegate_->HasRootForAccessPolicy(parent) ||
          WasCreatedByThisClient(parent));
}

bool DefaultAccessPolicy::CanRemoveTransientWindowFromParent(
    const ServerWindow* window) const {
  return (delegate_->HasRootForAccessPolicy(window) ||
          WasCreatedByThisClient(window)) &&
         (delegate_->HasRootForAccessPolicy(window->transient_parent()) ||
          WasCreatedByThisClient(window->transient_parent()));
}

bool DefaultAccessPolicy::CanSetModal(const ServerWindow* window) const {
  return delegate_->HasRootForAccessPolicy(window) ||
         WasCreatedByThisClient(window);
}

bool DefaultAccessPolicy::CanReorderWindow(
    const ServerWindow* window,
    const ServerWindow* relative_window,
    mojom::OrderDirection direction) const {
  return WasCreatedByThisClient(window) &&
         WasCreatedByThisClient(relative_window);
}

bool DefaultAccessPolicy::CanDeleteWindow(const ServerWindow* window) const {
  return WasCreatedByThisClient(window);
}

bool DefaultAccessPolicy::CanGetWindowTree(const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanDescendIntoWindowForWindowTree(
    const ServerWindow* window) const {
  return (WasCreatedByThisClient(window) &&
          !delegate_->IsWindowRootOfAnotherTreeForAccessPolicy(window)) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanEmbed(const ServerWindow* window) const {
  return WasCreatedByThisClient(window);
}

bool DefaultAccessPolicy::CanChangeWindowVisibility(
    const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanChangeWindowOpacity(
    const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetWindowCompositorFrameSink(
    const ServerWindow* window) const {
  // Once a window embeds another app, the embedder app is no longer able to
  // call SetWindowSurfaceId() - this ability is transferred to the embedded
  // app.
  if (delegate_->IsWindowRootOfAnotherTreeForAccessPolicy(window))
    return false;
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetWindowBounds(const ServerWindow* window) const {
  return WasCreatedByThisClient(window);
}

bool DefaultAccessPolicy::CanSetWindowProperties(
    const ServerWindow* window) const {
  return WasCreatedByThisClient(window);
}

bool DefaultAccessPolicy::CanSetWindowTextInputState(
    const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetCapture(const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetFocus(const ServerWindow* window) const {
  return !window || WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetClientArea(const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetHitTestMask(const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetAcceptDrops(const ServerWindow* window) const {
  return (WasCreatedByThisClient(window) &&
          !delegate_->IsWindowRootOfAnotherTreeForAccessPolicy(window)) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetAcceptEvents(const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanSetCursorProperties(
    const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanInitiateDragLoop(
    const ServerWindow* window) const {
  return WasCreatedByThisClient(window) ||
         delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::CanInitiateMoveLoop(
    const ServerWindow* window) const {
  return delegate_->HasRootForAccessPolicy(window);
}

bool DefaultAccessPolicy::ShouldNotifyOnHierarchyChange(
    const ServerWindow* window,
    const ServerWindow** new_parent,
    const ServerWindow** old_parent) const {
  if (!WasCreatedByThisClient(window))
    return false;

  if (*new_parent && !WasCreatedByThisClient(*new_parent) &&
      !delegate_->HasRootForAccessPolicy((*new_parent))) {
    *new_parent = nullptr;
  }

  if (*old_parent && !WasCreatedByThisClient(*old_parent) &&
      !delegate_->HasRootForAccessPolicy((*old_parent))) {
    *old_parent = nullptr;
  }
  return true;
}

const ServerWindow* DefaultAccessPolicy::GetWindowForFocusChange(
    const ServerWindow* focused) {
  if (WasCreatedByThisClient(focused) ||
      delegate_->HasRootForAccessPolicy(focused))
    return focused;
  return nullptr;
}

bool DefaultAccessPolicy::CanSetWindowManager() const {
  return false;
}

bool DefaultAccessPolicy::WasCreatedByThisClient(
    const ServerWindow* window) const {
  return window->id().client_id == client_id_;
}

bool DefaultAccessPolicy::IsValidIdForNewWindow(
    const ClientWindowId& id) const {
  // Clients using DefaultAccessPolicy only see windows they have created (for
  // the embed point they choose the id), so it's ok for clients to use whatever
  // id they want.
  return true;
}

}  // namespace ws
}  // namespace ui


text:
title: Vultr
localname: vultr.dev
twig_first: true
process:
    twig: true
taxonomy:
    category: docs
---

[Vultr](https://www.vultr.com) is another entry in the **SSD-Powered VPS** market and offers similar features and functionality as the other VPS providers, but for slightly less money. You get **100% SSD Storage**, **Ultra fast Intel CPUs** and **14 low latency locations**.

![](vultr.png?classes=center)

After creating an account and navigating to the **Vultr Control Manager**, click on the **Deploy** tab.  Leave the server type on **Compute Instances** and choose a location:

![](deploy.png?classes=center)

Next select the **Operating System** from the list available.  We have selected **Ubuntu 18.04 LTS** to be consistent with the other guides and because it's the latests, very popular, reliable, and well supported distribution.

For the **Server Size** you can pick a size that is appropriate for you but Grav will run great on any of them.  For the sake of this guide, we'll use the 1 CPU, 1GB memory option that is currently priced at $8/month.

![](os-and-server.png?classes=center)

You can choose any optional features you would like, and then provide a simple **Server Label** to identify the VPS instance.  We'll use `Grav`.  Then click **Place Order** to create and install the server.

![](manage-server.png?classes=center)

After a minute or so, your server should be ready and you can click the **manage** link next to your server in the list to get the server details.  On this page you will be shown a control panel for the server that lets you control the state, along with the initial root username and password.  You can can SSH via the command provided in this tab using the password you entered when you created the distribution instance. Public key authentication is recommended, and Vultur has [SSH public key authentication documentation](https://www.vultr.com/docs/using-your-ssh-key-to-login-to-non-root-users) that walks you through the steps required.

---

[plugin:content-inject](/webservers-hosting/vps/ubuntu-18.04)


text:
app.controller("ContatoFornecedorListController", function($controller, $scope, $stateParams, ContatoFornecedorService) {

    $scope.ContatoCadFornecedor = {FK_fornecedor: $stateParams.id}

    angular.extend(this,
        $controller(
            'AbstractListController', {
                $scope: $scope,
                formObject: $scope.ContatoCadFornecedor,
                defaultService: ContatoFornecedorService
            }
        )
    );

    $scope.contatoList = $scope.loadList($scope.ContatoCadFornecedor);

});


text:
As part of an experiment, I'll try to see if incorporating Github with day to day studies will be of great help to the organisation of materials and lecture notes in such a manner that it easier for anyone to revise and locate a certain topic taught at a particular date.
Why?
Because in an age where technology is becoming more and more a part of everyday life. Education and the learning process should be made more seamless, collective and shareable.

## Courses
In this repository is therefore a list of folders in alphabetical order for each subject/course our group is having this semester. Here is a list and a short piece of information on what each is about.

###  Aviation English

###  Reliability Theory

###  Theory of Aircraft Engines

###  Construction of Aircraft Engines

### Modern Diagnostic Methods

###  Physical Education

<!--###  Aviation English-->

<!--###  Aviation English-->

## Site
The organised more readable version of all the content in this folder is set to be displayed on [834 WIKI](http://www.gideonamani.com/834/wiki/)

## Tribute
 This repository has been 100% inspired by:
 * [Daniel Shiffman](http://shiffman.net/) and the current ongoing [Fall 2016 Programming from A to Z](https://github.com/shiffman/A2Z-F16) course.
 * [Andreas Weigend](http://www.weigend.com/) and the also wonderful ongoing [Social Data Revolution](https://sdr2016.wikispaces.com/) course.

```
#Anti-TeleprompterLectures
```


text:
import React from 'react';

class TodosListHeader extends React.Component {
    render() {
        return (

                    Tarea
                    Acción

        );
    }
}

export default TodosListHeader;


text:
<?php

namespace Simgroep\ConcurrentSpiderBundle\DocumentResolver;

use VDB\Spider\Resource;
use DateTime;

/**
 * Extract data from given resource
 */
class DocumentDataExtractor
{
    private $resource;

    /**
     * @param \VDB\Spider\Resource $resource
     */
    public function __construct(Resource $resource)
    {
        $this->resource = $resource;
    }

    /**
     * Get Id
     * @return string
     */
    public function getId()
    {
        return sha1($this->getUrl());
    }

    /**
     * Get Title
     * @return string
     */
    public function getTitle()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//title');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return '';
    }

    /**
     * @return string
     */
    public function getUrl()
    {
        return $this->resource->getUri()->toString();
    }

    /**
     * Get list of content types
     *
     * @return array
     */
    public function getType()
    {
        $contentType = explode(';', $this->resource->getResponse()->getContentType());
        $type = [];
        if (array_key_exists(0, $contentType)) {
            $contentType = array_slice($contentType, 0, 1);
            $type = array_merge($contentType, explode('/', $contentType[0]));
        }

        //remove duplicates and empty values
        return array_filter($type);
    }

    /**
     * @return string
     */
    public function getLastModified()
    {
        $lastModifiedDateTime = new DateTime($this->resource->getResponse()->getLastModified());
        return $lastModifiedDateTime->format('Y-m-d\TH:i:s\Z');
    }

    /**
     * @return string
     */
    public function getAuthor()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="author"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return '';
    }

    /**
     * @return string
     */
    public function getDescription()
    {

        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="description"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return '';
    }

    /**
     * @return string
     */
    public function getKeywords()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="keywords"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return '';
    }

    /**
     * @return string
     */
    public function getSimArchief()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="SIM_archief"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return 'no';
    }

    /**
     * @return array
     */
    public function getSimfaq()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="SIM.simfaq"]/@content');
        if ($nodeList->count() === 1) {
            return [$nodeList->text()];
        }

        return ['no'];
    }

    /**
     * @return string
     */
    public function getDctermsModified()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="DCTERMS.modified"]/@content');
        if ($nodeList->count() === 1) {
            $dctermsModifiedDateTime = new DateTime($nodeList->text());
            return $dctermsModifiedDateTime->format('Y-m-d\TH:i:s\Z');
        }

        return date('Y-m-d\TH:i:s\Z');
    }

    /**
     * @return string
     */
    public function getDctermsIdentifier()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="DCTERMS.identifier"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return $this->getUrl();
    }

    /**
     * @return string
     */
    public function getDctermsTitle()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="DCTERMS.title"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return $this->getTitle();
    }

    /**
     * @return string
     */
    public function getDctermsAvailable()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="DCTERMS.available"]/@content');
        if ($nodeList->count() === 1) {
            $dctermsModifiedDateTime = new DateTime($nodeList->text());
            return $dctermsModifiedDateTime->format('Y-m-d\TH:i:s\Z');
        }

        return date('Y-m-d\TH:i:s\Z');
    }

    /**
     * @return string
     */
    public function getDctermsLanguage()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="DCTERMS.language"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return 'nl-NL';
    }

    /**
     * @return string
     */
    public function getDctermsType()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="DCTERMS.type"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return 'webpagina';
    }

    /**
     * @return string
     */
    public function getSimItemTrefwoorden()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="SIM.item_trefwoorden"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return '';
    }

    /**
     * @return string
     */
    public function getSimSimloketSynoniemen()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="SIM.simloket_synoniemen"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }

        return '';
    }

    /**
     * @return string
     */
    public function getDctermsSpatial()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="SIM.spatial"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }
        return '';
    }

    /**
     * @return string
     */
    public function getDctermsAudience()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="SIM.audience"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }
        return '';
    }

    /**
     * @return string
     */
    public function getDctermsSubject()
    {
        $nodeList = $this->resource->getCrawler()->filterXpath('//head/meta[@name="SIM.subject"]/@content');
        if ($nodeList->count() === 1) {
            return $nodeList->text();
        }
        return '';
    }

}


text:
<?php
	$dig = '';

	/*
if($level == 1) {
		$dig = '../';
	}
*/
?>

<!DOCTYPE html>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><?php echo $__TITLE_PAGE__; ?></title>
        <meta name="author" content="Steve Piron (@stevepiron)">
        <meta name="description" content="<?php echo $__DESC_PAGE__; ?>">
        <meta name="viewport" content="width=device-width">

        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo $dig ?>media/img/assets/icons/apple-touch-icon-144x144-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $dig ?>media/img/assets/icons/apple-touch-icon-114x114-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $dig ?>media/img/assets/icons/apple-touch-icon-72x72-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="57x57" href="<?php echo $dig ?>media/img/assets/icons/apple-touch-icon-57x57-precomposed.png">

        <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="<?php echo $dig ?>ui/css/main.min.css">

    <body class="<?php echo $section ?>">


text:
// ----- this file has been automatically generated - do not edit
import { UAProperty } from "node-opcua-address-space-base"
import { DataType } from "node-opcua-variant"
import { LocalizedText } from "node-opcua-data-model"
import { UADiscreteItem, UADiscreteItem_Base } from "./ua_discrete_item"
/**
 * |                |                                                  |
 * |----------------|--------------------------------------------------|
 * |namespace       |http://opcfoundation.org/UA/                      |
 * |nodeClass       |VariableType                                      |
 * |typedDefinition |TwoStateDiscreteType ns=0;i=2373                  |
 * |dataType        |Boolean                                           |
 * |dataType Name   |boolean ns=0;i=1                                  |
 * |isAbstract      |false                                             |
 */
export interface UATwoStateDiscrete_Base<T extends boolean>  extends UADiscreteItem_Base<T, DataType.Boolean> {
    falseState: UAProperty<LocalizedText, DataType.LocalizedText>;
    trueState: UAProperty<LocalizedText, DataType.LocalizedText>;
}
export interface UATwoStateDiscrete<T extends boolean> extends UADiscreteItem<T, DataType.Boolean>, UATwoStateDiscrete_Base<T> {
}


text:
var menudata={children:[
{text:'Main Page',url:'index.html'},
{text:'Data Structures',url:'annotated.html',children:[
{text:'Data Structures',url:'annotated.html'},
{text:'Data Structure Index',url:'classes.html'}]},
{text:'Files',url:'files.html',children:[
{text:'File List',url:'files.html'},
{text:'Globals',url:'globals.html',children:[
{text:'All',url:'globals.html'},
{text:'Functions',url:'globals_func.html'},
{text:'Typedefs',url:'globals_type.html'}]}]}]}


text:
<!DOCTYPE html>

<meta charset="utf-8">
<title>WebGL GLSL Conformance Tests</title>
<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>


text: void *input_portaudio(void *audiodata);


text:
from flask import Flask
from flask_bootstrap import Bootstrap
from flask_mail import Mail
from flask_moment import Moment
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
from flask_pagedown import PageDown
from celery import Celery
from config import config, Config

bootstrap = Bootstrap()
mail = Mail()
moment = Moment()
db = SQLAlchemy()
pagedown = PageDown()
# Create the Flask-Celery-Helper's instance
celery = Celery(__name__, broker=Config.CELERY_BROKER_URL)

login_manager = LoginManager()
login_manager.session_protection = 'strong'
login_manager.login_view = 'auth.login'

def create_app(config_name):
    app = Flask(__name__)
    app.config.from_object(config[config_name])
    config[config_name].init_app(app)

    bootstrap.init_app(app)
    mail.init_app(app)
    moment.init_app(app)
    db.init_app(app)
    db.app = app
    login_manager.init_app(app)
    pagedown.init_app(app)
    # Init the Flask-Celery-Helper via app object
    # Register the celery object into app object
    celery.conf.update(app.config)

    from .main import main as main_blueprint
    app.register_blueprint(main_blueprint)

    from .auth import auth as auth_blueprint
    app.register_blueprint(auth_blueprint, url_prefix='/auth')

    from .log_analyzer import log_analyzer as log_analyzer_blueprint
    app.register_blueprint(log_analyzer_blueprint, url_prefix='/log_analyzer')

    from .api import api as api_blueprint
    app.register_blueprint(api_blueprint, url_prefix='/api')

    return app


text:
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns:yt="http://www.youtube.com/xml/schemas/2015" xmlns:media="http://search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom">
 <link rel="self" href="http://www.youtube.com/feeds/videos.xml?channel_id=UCLC-vbm7OWvpbqzXaoAMGGw"/>
 <id>yt:channel:UCLC-vbm7OWvpbqzXaoAMGGw</id>
 <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
 <title>TelerikAcademy</title>
 <link rel="alternate" href="http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw"/>
 <author>
  <name>TelerikAcademy</name>
  <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
 </author>
 <published>2011-06-24T15:53:13+00:00</published>
 <entry>
  <id>yt:video:juu7uA0TMnk</id>
  <yt:videoId>juu7uA0TMnk</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Условни оператори в TypeScript (if-else, switch)</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=juu7uA0TMnk"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-21T15:11:02+00:00</published>
  <updated>2016-10-21T15:14:07+00:00</updated>
  <media:group>
   <media:title>Условни оператори в TypeScript (if-else, switch)</media:title>
   <media:content url="https://www.youtube.com/v/juu7uA0TMnk?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i3.ytimg.com/vi/juu7uA0TMnk/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Условни оператори в TypeScript (if-else, switch)
Курс: Основи на TypeScript
Лектор: Дончо Минков
Дата: 21 октомври 2016 г.

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="0" average="0.00" min="1" max="5"/>
    <media:statistics views="9"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:xHox5BIX8_Y</id>
  <yt:videoId>xHox5BIX8_Y</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Въведение в HTML</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=xHox5BIX8_Y"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-21T13:10:47+00:00</published>
  <updated>2016-10-21T15:14:27+00:00</updated>
  <media:group>
   <media:title>Въведение в HTML</media:title>
   <media:content url="https://www.youtube.com/v/xHox5BIX8_Y?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i1.ytimg.com/vi/xHox5BIX8_Y/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Въведение в HTML
Курс: HTML Основи
Лектор: Кристиян Цъклев
Дата: 20 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="1" average="1.00" min="1" max="5"/>
    <media:statistics views="47"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:oyaW6n79Q3M</id>
  <yt:videoId>oyaW6n79Q3M</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Таблици в HTML</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=oyaW6n79Q3M"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-21T12:55:32+00:00</published>
  <updated>2016-10-21T15:53:42+00:00</updated>
  <media:group>
   <media:title>Таблици в HTML</media:title>
   <media:content url="https://www.youtube.com/v/oyaW6n79Q3M?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i4.ytimg.com/vi/oyaW6n79Q3M/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Таблици в HTML
Курс: HTML Основи
Лектор: Кристиян Цъклев
Дата: 20 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="0" average="0.00" min="1" max="5"/>
    <media:statistics views="34"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:Uab1zhBnfzI</id>
  <yt:videoId>Uab1zhBnfzI</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>TypeScript Overview</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=Uab1zhBnfzI"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-21T12:52:49+00:00</published>
  <updated>2016-10-21T15:09:28+00:00</updated>
  <media:group>
   <media:title>TypeScript Overview</media:title>
   <media:content url="https://www.youtube.com/v/Uab1zhBnfzI?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/Uab1zhBnfzI/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: TypeScript Overview
Курс: Основи на TypeScript
Лектор: Дончо Минков
Дата: 21 октомври 2016 г.

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="1" average="5.00" min="1" max="5"/>
    <media:statistics views="33"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:I8qWVzBxzDo</id>
  <yt:videoId>I8qWVzBxzDo</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Вход и изход от конзолата</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=I8qWVzBxzDo"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-21T12:12:50+00:00</published>
  <updated>2016-10-21T14:52:25+00:00</updated>
  <media:group>
   <media:title>Вход и изход от конзолата</media:title>
   <media:content url="https://www.youtube.com/v/I8qWVzBxzDo?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/I8qWVzBxzDo/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Вход и изход от конзолата
Курс: C# основи
Лектор: Евлоги Христов
Дата: 21 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="0" average="0.00" min="1" max="5"/>
    <media:statistics views="22"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:GkbWzDlCn4I</id>
  <yt:videoId>GkbWzDlCn4I</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Шаблони за създаване</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=GkbWzDlCn4I"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-20T15:38:53+00:00</published>
  <updated>2016-10-21T01:18:10+00:00</updated>
  <media:group>
   <media:title>Шаблони за създаване</media:title>
   <media:content url="https://www.youtube.com/v/GkbWzDlCn4I?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i4.ytimg.com/vi/GkbWzDlCn4I/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Шаблони за създаване
Курс: Шаблони за дизайн
Лектор: Константин Симеонов
Дата: 18.10.2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="0" average="0.00" min="1" max="5"/>
    <media:statistics views="75"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:mB9niwVeaTY</id>
  <yt:videoId>mB9niwVeaTY</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Структурни шаблони</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=mB9niwVeaTY"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-20T12:25:11+00:00</published>
  <updated>2016-10-20T18:28:12+00:00</updated>
  <media:group>
   <media:title>Структурни шаблони</media:title>
   <media:content url="https://www.youtube.com/v/mB9niwVeaTY?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/mB9niwVeaTY/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Структурни шаблони
Курс: Шаблони за дизайн
Лектор: Виктор Цветков
Дата: 20.10.2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="3" average="5.00" min="1" max="5"/>
    <media:statistics views="62"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:6pIGyT5KJWw</id>
  <yt:videoId>6pIGyT5KJWw</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Загрявка за структурни шаблони - преговор на шаблони за създване</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=6pIGyT5KJWw"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-20T12:07:22+00:00</published>
  <updated>2016-10-20T20:42:42+00:00</updated>
  <media:group>
   <media:title>Загрявка за структурни шаблони - преговор на шаблони за създване</media:title>
   <media:content url="https://www.youtube.com/v/6pIGyT5KJWw?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i3.ytimg.com/vi/6pIGyT5KJWw/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Структурни шаблони
Курс: Шаблони за дизайн
Лектор: Виктор Цветков
Дата: 20.10.2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="2" average="5.00" min="1" max="5"/>
    <media:statistics views="66"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:xvuXBz-WIB8</id>
  <yt:videoId>xvuXBz-WIB8</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Таблици в HTML</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=xvuXBz-WIB8"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-20T10:44:36+00:00</published>
  <updated>2016-10-21T02:13:17+00:00</updated>
  <media:group>
   <media:title>Таблици в HTML</media:title>
   <media:content url="https://www.youtube.com/v/xvuXBz-WIB8?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i1.ytimg.com/vi/xvuXBz-WIB8/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Таблици в HTML
Курс: HTML Основи
Лектор: Стивън Цветков
Дата: 19 Октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="0" average="0.00" min="1" max="5"/>
    <media:statistics views="51"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:QI57_9E6F6c</id>
  <yt:videoId>QI57_9E6F6c</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Оператори и изрази</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=QI57_9E6F6c"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-20T08:29:23+00:00</published>
  <updated>2016-10-20T13:01:46+00:00</updated>
  <media:group>
   <media:title>Оператори и изрази</media:title>
   <media:content url="https://www.youtube.com/v/QI57_9E6F6c?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/QI57_9E6F6c/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Оператори и изрази
Курс: C# основи
Лектор: Евлоги Христов
Дата: 19 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="1" average="5.00" min="1" max="5"/>
    <media:statistics views="96"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:F0s6YoGh2OU</id>
  <yt:videoId>F0s6YoGh2OU</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>ADO.NET</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=F0s6YoGh2OU"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-20T00:16:47+00:00</published>
  <updated>2016-10-20T20:33:45+00:00</updated>
  <media:group>
   <media:title>ADO.NET</media:title>
   <media:content url="https://www.youtube.com/v/F0s6YoGh2OU?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i3.ytimg.com/vi/F0s6YoGh2OU/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: ADO.NET
Курс: Бази данни & SQL
Лектор: Евлоги Христов
Дата: 19 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="1" average="5.00" min="1" max="5"/>
    <media:statistics views="55"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:pOdWcbJRyfA</id>
  <yt:videoId>pOdWcbJRyfA</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Transact-SQL</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=pOdWcbJRyfA"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-19T22:17:27+00:00</published>
  <updated>2016-10-20T20:34:22+00:00</updated>
  <media:group>
   <media:title>Transact-SQL</media:title>
   <media:content url="https://www.youtube.com/v/pOdWcbJRyfA?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i1.ytimg.com/vi/pOdWcbJRyfA/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Transact-SQL
Курс: Бази данни & SQL
Лектор: Евлоги Христов
Дата: 19 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="1" average="5.00" min="1" max="5"/>
    <media:statistics views="42"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:qOiNmRplOzY</id>
  <yt:videoId>qOiNmRplOzY</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Оператори и изрази в C#</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=qOiNmRplOzY"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-18T07:56:51+00:00</published>
  <updated>2016-10-18T15:49:47+00:00</updated>
  <media:group>
   <media:title>Оператори и изрази в C#</media:title>
   <media:content url="https://www.youtube.com/v/qOiNmRplOzY?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/qOiNmRplOzY/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Оператори и изрази в C#
Курс: C# Основи
Лектор: Константин Симеонов
Дата: 18.10.2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="0" average="0.00" min="1" max="5"/>
    <media:statistics views="406"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:dh82S8ejtGU</id>
  <yt:videoId>dh82S8ejtGU</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Бази данни & SQL: Въведение в SQL - част 1</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=dh82S8ejtGU"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-17T16:07:59+00:00</published>
  <updated>2016-10-17T23:22:40+00:00</updated>
  <media:group>
   <media:title>Бази данни & SQL: Въведение в SQL - част 1</media:title>
   <media:content url="https://www.youtube.com/v/dh82S8ejtGU?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i1.ytimg.com/vi/dh82S8ejtGU/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Въведение в SQL - част 1
Курс: Бази данни & SQL
Лектор: Мартин Вешев
Дата: 17 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="0" average="0.00" min="1" max="5"/>
    <media:statistics views="191"/>
   </media:community>
  </media:group>
 </entry>
 <entry>
  <id>yt:video:fyM0mPb6eU0</id>
  <yt:videoId>fyM0mPb6eU0</yt:videoId>
  <yt:channelId>UCLC-vbm7OWvpbqzXaoAMGGw</yt:channelId>
  <title>Бази данни & SQL: Въведение в SQL - част 2</title>
  <link rel="alternate" href="http://www.youtube.com/watch?v=fyM0mPb6eU0"/>
  <author>
   <name>TelerikAcademy</name>
   <uri>http://www.youtube.com/channel/UCLC-vbm7OWvpbqzXaoAMGGw</uri>
  </author>
  <published>2016-10-17T15:33:55+00:00</published>
  <updated>2016-10-18T15:01:32+00:00</updated>
  <media:group>
   <media:title>Бази данни & SQL: Въведение в SQL - част 2</media:title>
   <media:content url="https://www.youtube.com/v/fyM0mPb6eU0?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i3.ytimg.com/vi/fyM0mPb6eU0/hqdefault.jpg" width="480" height="360"/>
   <media:description>Лекция: Въведение в SQL - част 2
Курс: Бази данни & SQL
Лектор: Мартин Вешев
Дата: 17 октомври 2016

Уебсайт на Академията на Телерик: http://academy.telerik.com

Следете за предстоящи безплатни обучения на Академията на Телерик във Facebook: http://www.facebook.com/TelerikAcademy.</media:description>
   <media:community>
    <media:starRating count="1" average="5.00" min="1" max="5"/>
    <media:statistics views="114"/>
   </media:community>
  </media:group>
 </entry>
</feed>


text:
"use strict";
var $ = require("jquery"),
    errors = require("../../core/errors"),
    commonUtils = require("../../core/utils/common"),
    dateUtils = require("../../core/utils/date");
var toMs = dateUtils.dateToMilliseconds;
var leastDaysInWeek = 4;
var intervalMap = {
    secondly: "seconds",
    minutely: "minutes",
    hourly: "hours",
    daily: "days",
    weekly: "weeks",
    monthly: "months",
    yearly: "years"
};
var dateSetterMap = {
    bysecond: function(date, value) {
        date.setSeconds(value)
    },
    byminute: function(date, value) {
        date.setMinutes(value)
    },
    byhour: function(date, value) {
        date.setHours(value)
    },
    bymonth: function(date, value) {
        date.setMonth(value)
    },
    bymonthday: function(date, value) {
        date.setDate(value);
        correctDate(date, value)
    },
    byday: function(date, dayOfWeek, weekStart) {
        dayOfWeek += days[weekStart] > dayOfWeek ? 7 : 0;
        date.setDate(date.getDate() - date.getDay() + dayOfWeek)
    },
    byweekno: function(date, weekNumber, weekStart) {
        var initialDate = new Date(date),
            firstYearDate = new Date(initialDate.setMonth(0, 1)),
            dayShift = firstYearDate.getDay() - days[weekStart],
            firstDayOfYear = firstYearDate.getTime() - dayShift * toMs("day"),
            newFirstYearDate = dayShift + 1;
        if (newFirstYearDate > leastDaysInWeek) {
            date.setTime(firstDayOfYear + 7 * weekNumber * toMs("day"))
        } else {
            date.setTime(firstDayOfYear + 7 * (weekNumber - 1) * toMs("day"))
        }
        var timezoneDiff = (date.getTimezoneOffset() - firstYearDate.getTimezoneOffset()) * toMs("minute");
        timezoneDiff && date.setTime(date.getTime() + timezoneDiff)
    },
    byyearday: function(date, dayOfYear) {
        date.setMonth(0, 1);
        date.setDate(dayOfYear)
    }
};
var dateGetterMap = {
    bysecond: function(date) {
        return date.getSeconds()
    },
    byminute: function(date) {
        return date.getMinutes()
    },
    byhour: function(date) {
        return date.getHours()
    },
    bymonth: function(date) {
        return date.getMonth()
    },
    bymonthday: function(date) {
        return date.getDate()
    },
    byday: function(date) {
        return date.getDay()
    },
    byweekno: function(date, weekStart) {
        var daysFromYearStart, current = new Date(date),
            diff = leastDaysInWeek - current.getDay() + days[weekStart] - 1,
            dayInMilliseconds = toMs("day");
        if (date.getDay() < days[weekStart]) {
            diff -= 7
        }
        current.setHours(0, 0, 0);
        current.setDate(current.getDate() + diff);
        daysFromYearStart = 1 + (current - new Date(current.getFullYear(), 0, 1)) / dayInMilliseconds;
        return Math.ceil(daysFromYearStart / 7)
    },
    byyearday: function(date) {
        var yearStart = new Date(date.getFullYear(), 0, 0),
            timezoneDiff = date.getTimezoneOffset() - yearStart.getTimezoneOffset(),
            diff = date - yearStart - timezoneDiff * toMs("minute"),
            dayLength = toMs("day");
        return Math.floor(diff / dayLength)
    }
};
var ruleNames = ["freq", "interval", "byday", "byweekno", "byyearday", "bymonth", "bymonthday", "count", "until", "byhour", "byminute", "bysecond", "bysetpos", "wkst"],
    freqNames = ["DAILY", "WEEKLY", "MONTHLY", "YEARLY", "SECONDLY", "MINUTELY", "HOURLY"],
    days = {
        SU: 0,
        MO: 1,
        TU: 2,
        WE: 3,
        TH: 4,
        FR: 5,
        SA: 6
    };
var getTimeZoneOffset = function() {
    return (new Date).getTimezoneOffset()
};
var dateInRecurrenceRange = function(options) {
    var result = [];
    if (options.rule) {
        result = getDatesByRecurrence(options)
    }
    return !!result.length
};
var normalizeInterval = function(freq, interval) {
    var intervalObject = {},
        intervalField = intervalMap[freq.toLowerCase()];
    intervalObject[intervalField] = interval;
    return intervalObject
};
var getDatesByRecurrenceException = function(ruleValues) {
    var result = [];
    for (var i = 0, len = ruleValues.length; i < len; i++) {
        result[i] = getDateByAsciiString(ruleValues[i])
    }
    return result
};
var dateIsRecurrenceException = function(date, recurrenceException) {
    var result = false;
    if (!recurrenceException) {
        return result
    }
    var splitDates = recurrenceException.split(","),
        exceptDates = getDatesByRecurrenceException(splitDates),
        shortFormat = /\d{8}$/;
    for (var i = 0, len = exceptDates.length; i < len; i++) {
        if (splitDates[i].match(shortFormat)) {
            var diffs = getDatePartDiffs(date, exceptDates[i]);
            if (0 === diffs.years && 0 === diffs.months && 0 === diffs.days) {
                result = true
            }
        } else {
            if (date.getTime() === exceptDates[i].getTime()) {
                result = true
            }
        }
    }
    return result
};
var doNextIteration = function(date, startIntervalDate, endIntervalDate, recurrenceRule, iterationCount) {
    var dateInInterval, matchCountIsCorrect = true;
    endIntervalDate = endIntervalDate.getTime();
    if (recurrenceRule.until) {
        if (recurrenceRule.until.getTime() < endIntervalDate) {
            endIntervalDate = recurrenceRule.until.getTime()
        }
    }
    if (recurrenceRule.count) {
        if (iterationCount === recurrenceRule.count) {
            matchCountIsCorrect = false
        }
    }
    if (date < startIntervalDate) {
        var intervalField = intervalMap[recurrenceRule.freq.toLowerCase()],
            interval = {};
        interval[intervalField] = 1;
        date.setDate(dateUtils.addInterval(date, interval).getDate())
    }
    dateInInterval = date.getTime() <= endIntervalDate;
    return dateInInterval && matchCountIsCorrect
};
var getDatesByRecurrence = function(options) {
    var dateRules, result = [],
        recurrenceRule = getRecurrenceRule(options.rule),
        iterationResult = {},
        rule = recurrenceRule.rule,
        recurrenceStartDate = options.start,
        iterationCount = 0;
    if (!recurrenceRule.isValid || !rule.freq) {
        return result
    }
    rule.interval = normalizeInterval(rule.freq, rule.interval);
    dateRules = splitDateRules(rule);
    var duration = options.end ? options.end.getTime() - options.start.getTime() : 0;
    getDatesByRules(dateRules, new Date(recurrenceStartDate), rule).forEach(function(currentDate, i) {
        var iteration = 0;
        while (doNextIteration(currentDate, recurrenceStartDate, options.max, rule, iterationCount)) {
            iterationCount++;
            iteration++;
            if (!iterationResult[iteration]) {
                iterationResult[iteration] = []
            }
            if (!dateIsRecurrenceException(currentDate, options.exception)) {
                if (currentDate.getTime() >= recurrenceStartDate.getTime() && currentDate.getTime() + duration >= options.min.getTime()) {
                    if (checkDateByRule(currentDate, [dateRules[i]], rule.wkst)) {
                        iterationResult[iteration].push(currentDate)
                    }
                }
            }
            currentDate = incrementDate(currentDate, recurrenceStartDate, rule, i)
        }
    });
    if (rule.bysetpos) {
        $.each(iterationResult, function(iterationIndex, iterationDates) {
            iterationResult[iterationIndex] = filterDatesBySetPos(iterationDates, rule.bysetpos)
        })
    }
    $.each(iterationResult, function(_, iterationDates) {
        result = result.concat(iterationDates)
    });
    result.sort(function(a, b) {
        return a - b
    });
    return result
};
var filterDatesBySetPos = function(dates, bySetPos) {
    var resultArray = [];
    bySetPos.split(",").forEach(function(index) {
        index = Number(index);
        var dateIndex = index > 0 ? index - 1 : dates.length + index;
        if (dates[dateIndex]) {
            resultArray.push(dates[dateIndex])
        }
    });
    return resultArray
};
var correctDate = function(originalDate, date) {
    if (originalDate.getDate() !== date) {
        originalDate.setDate(date)
    }
};
var incrementDate = function(date, originalStartDate, rule, iterationStep) {
    date = dateUtils.addInterval(date, rule.interval);
    if ("MONTHLY" === rule.freq) {
        var expectedDate = originalStartDate.getDate();
        if (rule.bymonthday) {
            expectedDate = Number(rule.bymonthday.split(",")[iterationStep])
        }
        correctDate(date, expectedDate)
    }
    if ("YEARLY" === rule.freq) {
        if (rule.byyearday) {
            var dayNumber = Number(rule.byyearday.split(",")[iterationStep]);
            dateSetterMap.byyearday(date, dayNumber)
        }
        var dateRules = splitDateRules(rule);
        for (var field in dateRules[iterationStep]) {
            dateSetterMap[field] && dateSetterMap[field](date, dateRules[iterationStep][field], rule.wkst)
        }
    }
    return date
};
var getDatePartDiffs = function(date1, date2) {
    return {
        years: date1.getFullYear() - date2.getFullYear(),
        months: date1.getMonth() - date2.getMonth(),
        days: date1.getDate() - date2.getDate(),
        hours: date1.getHours() - date2.getHours(),
        minutes: date1.getMinutes() - date2.getMinutes(),
        seconds: date1.getSeconds() - date2.getSeconds()
    }
};
var getRecurrenceRule = function(recurrence) {
    var result = {
        rule: {},
        isValid: false
    };
    if (recurrence) {
        result.rule = parseRecurrenceRule(recurrence);
        result.isValid = validateRRule(result.rule, recurrence)
    }
    return result
};
var loggedWarnings = [];
var validateRRule = function(rule, recurrence) {
    if (brokenRuleNameExists(rule) || $.inArray(rule.freq, freqNames) === -1 || wrongCountRule(rule) || wrongIntervalRule(rule) || wrongDayOfWeek(rule) || wrongByMonthDayRule(rule) || wrongByMonth(rule) || wrongUntilRule(rule)) {
        logBrokenRule(recurrence);
        return false
    }
    return true
};
var wrongUntilRule = function(rule) {
    var wrongUntil = false,
        until = rule.until;
    if (void 0 !== until && !(until instanceof Date)) {
        wrongUntil = true
    }
    return wrongUntil
};
var wrongCountRule = function(rule) {
    var wrongCount = false,
        count = rule.count;
    if (count && "string" === typeof count) {
        wrongCount = true
    }
    return wrongCount
};
var wrongByMonthDayRule = function(rule) {
    var wrongByMonthDay = false,
        byMonthDay = rule.bymonthday;
    if (byMonthDay && isNaN(parseInt(byMonthDay))) {
        wrongByMonthDay = true
    }
    return wrongByMonthDay
};
var wrongByMonth = function(rule) {
    var wrongByMonth = false,
        byMonth = rule.bymonth;
    if (byMonth && isNaN(parseInt(byMonth))) {
        wrongByMonth = true
    }
    return wrongByMonth
};
var wrongIntervalRule = function(rule) {
    var wrongInterval = false,
        interval = rule.interval;
    if (interval && "string" === typeof interval) {
        wrongInterval = true
    }
    return wrongInterval
};
var wrongDayOfWeek = function(rule) {
    var daysByRule = daysFromByDayRule(rule),
        brokenDaysExist = false;
    $.each(daysByRule, function(_, day) {
        if (!days.hasOwnProperty(day)) {
            brokenDaysExist = true;
            return false
        }
    });
    return brokenDaysExist
};
var brokenRuleNameExists = function(rule) {
    var brokenRuleExists = false;
    $.each(rule, function(ruleName) {
        if ($.inArray(ruleName, ruleNames) === -1) {
            brokenRuleExists = true;
            return false
        }
    });
    return brokenRuleExists
};
var logBrokenRule = function(recurrence) {
    if ($.inArray(recurrence, loggedWarnings) === -1) {
        errors.log("W0006", recurrence);
        loggedWarnings.push(recurrence)
    }
};
var parseRecurrenceRule = function(recurrence) {
    var ruleObject = {},
        ruleParts = recurrence.split(";");
    for (var i = 0, len = ruleParts.length; i < len; i++) {
        var rule = ruleParts[i].split("="),
            ruleName = rule[0].toLowerCase(),
            ruleValue = rule[1];
        ruleObject[ruleName] = ruleValue
    }
    var count = parseInt(ruleObject.count);
    if (!isNaN(count)) {
        ruleObject.count = count
    }
    if (ruleObject.interval) {
        var interval = parseInt(ruleObject.interval);
        if (!isNaN(interval)) {
            ruleObject.interval = interval
        }
    } else {
        ruleObject.interval = 1
    }
    if (ruleObject.freq && ruleObject.until) {
        ruleObject.until = getDateByAsciiString(ruleObject.until)
    }
    return ruleObject
};
var getDateByAsciiString = function(string) {
    if ("string" !== typeof string) {
        return string
    }
    var arrayDate = string.match(/(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2}))?(Z)?/);
    if (!arrayDate) {
        return null
    }
    var isUTC = void 0 !== arrayDate[8],
        currentOffset = 6e4 * resultUtils.getTimeZoneOffset(),
        date = new(Function.prototype.bind.apply(Date, prepareDateArrayToParse(arrayDate)));
    if (isUTC) {
        date = new Date(date.getTime() - currentOffset)
    }
    return date
};
var prepareDateArrayToParse = function(arrayDate) {
    arrayDate.shift();
    if (void 0 === arrayDate[3]) {
        arrayDate.splice(3)
    } else {
        arrayDate.splice(3, 1);
        arrayDate.splice(6)
    }
    arrayDate[1]--;
    arrayDate.unshift(null);
    return arrayDate
};
var daysFromByDayRule = function(rule) {
    var result = [];
    if (rule.byday) {
        result = rule.byday.split(",")
    }
    return result
};
var getAsciiStringByDate = function(date) {
    var currentOffset = 6e4 * resultUtils.getTimeZoneOffset();
    date = new Date(date.getTime() + currentOffset);
    return date.getFullYear() + ("0" + (date.getMonth() + 1)).slice(-2) + ("0" + date.getDate()).slice(-2) + "T" + ("0" + date.getHours()).slice(-2) + ("0" + date.getMinutes()).slice(-2) + ("0" + date.getSeconds()).slice(-2) + "Z"
};
var splitDateRules = function(rule) {
    var result = [];
    if (!rule.wkst) {
        rule.wkst = "MO"
    }
    if (rule.byweekno && !rule.byday) {
        var dayNames = Object.keys(days);
        for (var i = 0; i < days[rule.wkst]; i++) {
            dayNames.push(dayNames.shift())
        }
        rule.byday = dayNames.join(",")
    }
    for (var field in dateSetterMap) {
        if (!rule[field]) {
            continue
        }
        var ruleFieldValues = rule[field].split(","),
            ruleArray = getDateRuleArray(field, ruleFieldValues);
        result = result.length ? extendObjectArray(ruleArray, result) : ruleArray
    }
    return result
};
var getDateRuleArray = function(field, values) {
    var result = [];
    for (var i = 0, length = values.length; i < length; i++) {
        var dateRule = {};
        dateRule[field] = handleRuleFieldValue(field, values[i]);
        result.push(dateRule)
    }
    return result
};
var handleRuleFieldValue = function(field, value) {
    var result = parseInt(value);
    if ("bymonth" === field) {
        result -= 1
    }
    if ("byday" === field) {
        result = days[value]
    }
    return result
};
var extendObjectArray = function(firstArray, secondArray) {
    var result = [];
    for (var i = 0, firstArrayLength = firstArray.length; i < firstArrayLength; i++) {
        for (var j = 0, secondArrayLength = secondArray.length; j < secondArrayLength; j++) {
            result.push($.extend({}, firstArray[i], secondArray[j]))
        }
    }
    return result
};
var getDatesByRules = function(dateRules, startDate, rule) {
    var result = [];
    for (var i = 0, len = dateRules.length; i < len; i++) {
        var current = dateRules[i],
            updatedDate = new Date(startDate);
        for (var field in current) {
            dateSetterMap[field] && dateSetterMap[field](updatedDate, current[field], rule.wkst)
        }
        if (commonUtils.isArray(updatedDate)) {
            result = result.concat(updatedDate)
        } else {
            result.push(new Date(updatedDate))
        }
    }
    if (!result.length) {
        result.push(startDate)
    }
    return result
};
var checkDateByRule = function(date, rules, weekStart) {
    var result = false;
    for (var i = 0; i < rules.length; i++) {
        var current = rules[i],
            currentRuleResult = true;
        for (var field in current) {
            if (dateGetterMap[field] && current[field] !== dateGetterMap[field](date, weekStart)) {
                currentRuleResult = false
            }
        }
        result = result || currentRuleResult
    }
    return result || !rules.length
};
var getRecurrenceString = function(object) {
    if (!object || !object.freq) {
        return
    }
    var result = "";
    for (var field in object) {
        var value = object[field];
        if ("interval" === field && value < 2) {
            continue
        }
        if ("until" === field) {
            value = getAsciiStringByDate(value)
        }
        result += field + "=" + value + ";"
    }
    result = result.substring(0, result.length - 1);
    return result.toUpperCase()
};
var resultUtils = {
    getRecurrenceString: getRecurrenceString,
    getRecurrenceRule: getRecurrenceRule,
    getAsciiStringByDate: getAsciiStringByDate,
    getDatesByRecurrence: getDatesByRecurrence,
    dateInRecurrenceRange: dateInRecurrenceRange,
    getDateByAsciiString: getDateByAsciiString,
    daysFromByDayRule: daysFromByDayRule,
    getTimeZoneOffset: getTimeZoneOffset
};
module.exports = resultUtils;


text:
#define CATCH_CONFIG_MAIN

#include <catch/catch.hpp>
#include "tests/testutils.h"

TEST_CASE("create podcast from json object", "[podcastTests]") {

}


text:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title>add_extra_args (Gem::Command)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />

# File lib/rubygems/command.rb, line 335
  def add_extra_args(args)
    result = []

    s_extra = Gem::Command.specific_extra_args(@command)
    extra = Gem::Command.extra_args + s_extra

    until extra.empty? do
      ex = []
      ex << extra.shift
      ex << extra.shift if extra.first.to_s =~ /^[^-]/
      result << ex if handles?(ex)
    end

    result.flatten!
    result.concat(args)
    result
  end


text:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Directions : MonoBehaviour
{

    void OnStart()
    {

    }

    //    void OnDrawGizmos()
    //    {
    //        Color color;
    //        color = Color.green;
    //        // local up
    //        DrawHelperAtCenter(this.transform.up, color, 2f);
    //
    //        color.g -= 0.5f;
    //        // global up
    //        DrawHelperAtCenter(Vector3.up, color, 1f);
    //
    //        color = Color.blue;
    //        // local forward
    //        DrawHelperAtCenter(this.transform.forward, color, 2f);
    //
    //        color.b -= 0.5f;
    //        // global forward
    //        DrawHelperAtCenter(Vector3.forward, color, 1f);
    //
    //        color = Color.red;
    //        // local right
    //        DrawHelperAtCenter(-this.transform.right, color, 20f);
    //
    //        color.r -= 0.5f;
    //        // global right
    //        DrawHelperAtCenter(Vector3.right, color, 1f);
    //    }
    //
    //    private void DrawHelperAtCenter(
    //        Vector3 direction, Color color, float scale)
    //    {
    //        Gizmos.color = color;
    //        Vector3 destination = transform.position + direction * scale;
    //        Gizmos.DrawLine(transform.position, destination);
    //    }

    void Update()
    {
        Vector3 forward = transform.TransformDirection(Vector3.forward) * 20;

//        forward.Set(forward.x, forward.y, forward.z - 30.0f);
        Debug.DrawRay(transform.position, forward, Color.green);

    }

    //    void OnDrawGizmos()
    //    {
    //        Gizmos.color = Color.green;
    //        Vector3 direction = -this.transform.right;
    //        float scale = 20f;
    //        Vector3 destination = transform.position + direction * scale;
    //        Gizmos.DrawLine(transform.position, destination);
    //    }
}


text:
// TypeScript Version: 2.0

/// <reference types="@stdlib/types"/>

import { NumericArray } from '@stdlib/types/array';

/**
* Interface describing `nanvariancewd`.
*/
interface Routine {
	/**
	* Computes the variance of a strided array ignoring `NaN` values and using Welford's algorithm.
	*
	* @param N - number of indexed elements
	* @param correction - degrees of freedom adjustment
	* @param x - input array
	* @param stride - stride length
	* @returns variance
	*
	* @example
	* var x = [ 1.0, -2.0, NaN, 2.0 ];
	*
	* var v = nanvariancewd( x.length, 1, x, 1 );
	* // returns ~4.3333
	*/
	( N: number, correction: number, x: NumericArray, stride: number ): number;

	/**
	* Computes the variance of a strided array ignoring `NaN` values and using Welford's algorithm and alternative indexing semantics.
	*
	* @param N - number of indexed elements
	* @param correction - degrees of freedom adjustment
	* @param x - input array
	* @param stride - stride length
	* @param offset - starting index
	* @returns variance
	*
	* @example
	* var x = [ 1.0, -2.0, NaN, 2.0 ];
	*
	* var v = nanvariancewd.ndarray( x.length, 1, x, 1, 0 );
	* // returns ~4.3333
	*/
	ndarray( N: number, correction: number, x: NumericArray, stride: number, offset: number ): number; // tslint:disable-line:max-line-length
}

/**
* Computes the variance of a strided array ignoring `NaN` values and using Welford's algorithm.
*
* @param N - number of indexed elements
* @param correction - degrees of freedom adjustment
* @param x - input array
* @param stride - stride length
* @returns variance
*
* @example
* var x = [ 1.0, -2.0, NaN, 2.0 ];
*
* var v = nanvariancewd( x.length, 1, x, 1 );
* // returns ~4.3333
*
* @example
* var x = [ 1.0, -2.0, NaN, 2.0 ];
*
* var v = nanvariancewd.ndarray( x.length, 1, x, 1, 0 );
* // returns ~4.3333
*/
declare var nanvariancewd: Routine;

// EXPORTS //

export = nanvariancewd;


text:
mkdir -p build
cd build

build_usrsctp() {
  # Build libusrsctp library
  git clone https://github.com/sctplab/usrsctp
  cd usrsctp
  sh bootstrap
  ./configure --prefix=/opt/janus/
  make
  sudo make install
  cd ..
}

build_janus() {
  # Build Janus WebRTC Gateway
  #git clone https://github.com/meetecho/janus-gateway.git
  cd janus-gateway
  ./autogen.sh
  export CFLAGS="-I/opt/janus/include"
  export LDFLAGS="-L/opt/janus/lib"
  ./configure --prefix=/opt/janus --disable-rabbitmq --disable-docs --disable-websockets
  make CFLAGS="$CFLAGS"
  sudo make install
  cd ..
}

#build_usrsctp
#build_janus
cd ..

sudo cp config/*.cfg /opt/janus/etc/janus/
tar cJf janus-build-$(date +%d%b%g).tar.xz /opt/janus/

set +x
echo
echo =====================
echo Done building janus-build-*.tar.xz
echo =====================


text:
package org.wso2.carbon.usage.agent.listeners.axis2;

import org.apache.axis2.AxisFault;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.description.AxisDescription;
import org.apache.axis2.description.AxisModule;
import org.apache.axis2.modules.Module;
import org.apache.neethi.Assertion;
import org.apache.neethi.Policy;

public class RequestMeteringModule implements Module {

    public void init(ConfigurationContext configurationContext, AxisModule axisModule)
            throws AxisFault {
    }

    public void engageNotify(AxisDescription axisDescription) throws AxisFault {
    }

    public boolean canSupportAssertion(Assertion assertion) {
        return true;
    }

    public void applyPolicy(Policy policy, AxisDescription axisDescription) throws AxisFault {
    }

    public void shutdown(ConfigurationContext configurationContext) throws AxisFault {
    }
}