text:
 Administration Panel

 Status: Please refresh the page

 Administration Panel

Status: {{status}}

  <tabset justified="true" style="border: 1px;">
    <tab heading="Users">

            {{user.name}} ({{user.role}})

            {{user.email}}

Add User

          <form class="form" name="htmlUserForm"
            ng-submit="addUser(htmlUserForm)" novalidate>

              Name

              <input type="text" name="name" class="form-control"
                ng-model="userForm.name"
                     required/>

                A name is required

              Email

              <input type="email" name="email" class="form-control"
                ng-model="userForm.email" required mongoose-error/>

                Doesn't look like a valid email.

                What's your email address?

                {{ errors.email }}

              Password

              <input type="password" name="password" class="form-control"
                ng-model="userForm.password" ng-minlength="3"
                required mongoose-error/>

                Password must be at least 3 characters.

                {{ errors.password }}

                  {{role | capitalize}}

              <button class="btn btn-primary btn-lg btn-login" type="submit">
                Add
              </button>

          </form>

    </tab>

    <tab heading="Regions">

            {{region.name}}

            {{region.info}}

Add Region

          <form class="form" name="htmlRegionForm"
            ng-submit="addRegion(htmlRegionForm)" novalidate>

              Name

              <input type="text" name="name" class="form-control"
                ng-model="regionForm.name"
                     required/>

                A name is required

              Info

              <input type="text" name="info" class="form-control"
                ng-model="regionForm.info"/>

              <button class="btn btn-primary btn-lg btn-login" type="submit">
                Add
              </button>

          </form>

    </tab>

    <tab heading="Lots">

            {{lot.name}} ({{lotRegion[lot._id].name}})

            {{lot.info}}

Add Lot

          <form class="form" name="htmlLotForm"
            ng-submit="addLot(htmlLotForm)" novalidate>

              Name

              <input type="text" name="name" class="form-control"
                ng-model="lotForm.name"
                     required/>

                A name is required

              Info

              <input type="text" name="info" class="form-control"
                ng-model="lotForm.info"/>

              Region

              <select name="region" class="form-control"
                ng-options="region._id as region.name for region in regions"
                ng-model="lotForm.region" required>
              </select>

                A Region is required

              <button class="btn btn-primary btn-lg btn-login" type="submit">
                Add
              </button>

          </form>

    </tab>
  </tabset>


text:
Make sure you read the [Wiki](https://github.com/app-js/a2was/wiki).

## Submitting Pull Requests

If you're changing the structure of the repository please create an issue first.

## Submitting bug reports

Make sure you are on latest changes and that you ran this command `npm run clean:install` after updating your local repository. If you can, please provide more information about your environment such as browser, operating system, node version, and npm version.

## Project Structure

The configuration files are devided in config/, config/advance/ and config/custom
- config/ files are upstream configuration files shared with [AngularClass's angular2-webpack-starter](https://github.com/AngularClass/angular2-webpack-starter)
- config/advance/ files are the files related to this project
- config/custom/ files should be left empty for end users only

redpajama_set_name: RedPajamaGithub


text:
layout: home
technologies:
 - react: ["Reactive", "The front-end uses React to respond to temperature changes dynamically. See the latest temperatures without hitting 'refresh'"]
 - restful: ["RESTful", "A client/server architecture with a RESTful API to the backend"]
 - rrd: ["RRD", "A fixed size (round robin) database stores and averages the temperature data over one, seven and thirty days"]
---

The temperature-machine is a low cost, do-it-yourself data logger built around the Raspberry Pi and the [DS18D20](https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf) temperature sensor. You can track ambient temperature over days, weeks and months and display some pretty graphs. Read the [Documentation](docs) to find out more.

# Copyright and License

Copyright 2016-2017 Toby Weston. <http://baddotrobot.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


text:
<StructureDefinition xmlns="http://hl7.org/fhir">
 <id value="SupplyRequest"/>
 <meta>
  <lastUpdated value="2015-11-11T10:54:01.813-05:00"/>
 </meta>
 <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
  <valueInteger value="0"/>
 </extension>
 <url value="http://hl7.org/fhir/StructureDefinition/SupplyRequest"/>
 <name value="SupplyRequest"/>
 <status value="draft"/>
 <publisher value="Health Level Seven International (Orders and Observations)"/>
 <contact>
  <telecom>
   <system value="other"/>
   <value value="http://hl7.org/fhir"/>
  </telecom>
 </contact>
 <contact>
  <telecom>
   <system value="other"/>
   <value value="http://www.hl7.org/Special/committees/orders/index.cfm"/>
  </telecom>
 </contact>
 <date value="2015-11-11T10:54:01-05:00"/>
 <description value="Base StructureDefinition for SupplyRequest Resource"/>
 <fhirVersion value="1.0.2"/>
 <mapping>
  <identity value="rim"/>
  <uri value="http://hl7.org/v3"/>
  <name value="RIM"/>
 </mapping>
 <mapping>
  <identity value="w5"/>
  <uri value="http://hl7.org/fhir/w5"/>
  <name value="W5 Mapping"/>
 </mapping>
 <kind value="resource"/>
 <abstract value="false"/>
 <base value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
 <snapshot>
  <element>
   <path value="SupplyRequest"/>
   <short value="Request for a medication, substance or device"/>
   <definition value="A record of a request for a medication, substance or device used in the healthcare setting."/>
   <min value="0"/>
   <max value="*"/>
   <type>

   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value="Supply[moodCode=RQO]"/>
   </mapping>
   <mapping>
    <identity value="w5"/>
    <map value="workflow.order"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.id"/>
   <short value="Logical id of this artifact"/>
   <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
   <comments value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.meta"/>
   <short value="Metadata about the resource"/>
   <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.implicitRules"/>
   <short value="A set of rules under which this content was created"/>
   <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content."/>
   <comments value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isModifier value="true"/>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.language"/>
   <short value="Language of the resource content"/>
   <definition value="The base language in which the resource is written."/>
   <comments value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <binding>
    <strength value="required"/>
    <description value="A human language."/>
    <valueSetUri value="http://tools.ietf.org/html/bcp47"/>
   </binding>
  </element>
  <element>
   <path value="SupplyRequest.text"/>
   <short value="Text summary of the resource, for human interpretation"/>
   <definition value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
   <comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/>
   <alias value="narrative"/>
   <alias value="html"/>
   <alias value="xhtml"/>
   <alias value="display"/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <condition value="dom-1"/>
   <mapping>
    <identity value="rim"/>
    <map value="Act.text?"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.contained"/>
   <short value="Contained, inline Resources"/>
   <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/>
   <comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
   <alias value="inline resources"/>
   <alias value="anonymous resources"/>
   <alias value="contained resources"/>
   <min value="0"/>
   <max value="*"/>
   <type>

   </type>
   <mapping>
    <identity value="rim"/>
    <map value="N/A"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.extension"/>
   <short value="Additional Content defined by implementations"/>
   <definition value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
   <comments value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
   <alias value="extensions"/>
   <alias value="user content"/>
   <min value="0"/>
   <max value="*"/>
   <type>

   </type>
   <mapping>
    <identity value="rim"/>
    <map value="N/A"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.modifierExtension"/>
   <short value="Extensions that cannot be ignored"/>
   <definition value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
   <comments value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
   <alias value="extensions"/>
   <alias value="user content"/>
   <min value="0"/>
   <max value="*"/>
   <type>

   </type>
   <isModifier value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value="N/A"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.patient"/>
   <short value="Patient for whom the item is supplied"/>
   <definition value="A link to a resource representing the person whom the ordered item is for."/>
   <min value="0"/>
   <max value="1"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value=".participation[typeCode=SBJ].role"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.source"/>
   <short value="Who initiated this order"/>
   <definition value="The Practitioner , Organization or Patient who initiated this order for the supply."/>
   <min value="0"/>
   <max value="1"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.date"/>
   <short value="When the request was made"/>
   <definition value="When the request was made."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.identifier"/>
   <short value="Unique identifier"/>
   <definition value="Unique identifier for this supply request."/>
   <comments value="This is assigned by the orderer, and used to refer to this order in other external standards."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value=".id"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.status"/>
   <short value="requested | completed | failed | cancelled"/>
   <definition value="Status of the supply request."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isModifier value="true"/>
   <isSummary value="true"/>
   <binding>
    <strength value="required"/>
    <description value="Status of the supply request"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-status"/>
    </valueSetReference>
   </binding>
   <mapping>
    <identity value="rim"/>
    <map value=".statusCode, also existence of fulfillment events"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.kind"/>
   <short value="The kind of supply (central, non-stock, etc.)"/>
   <definition value="Category of supply, e.g.  central, non-stock, etc. This is used to support work flows associated with the supply process."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
   <binding>
    <strength value="required"/>
    <description value="Category of supply request"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-kind"/>
    </valueSetReference>
   </binding>
   <mapping>
    <identity value="rim"/>
    <map value=".code"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.orderedItem"/>
   <short value="Medication, Substance, or Device requested to be supplied"/>
   <definition value="The item that is requested to be supplied."/>
   <comments value="Note that there's a difference between a prescription - an instruction to take a medication, along with a (sometimes) implicit supply, and an explicit request to supply, with no explicit instructions."/>
   <min value="0"/>
   <max value="1"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Device"/>
   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value=".participation[typeCode=PRD].role"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.supplier"/>
   <short value="Who is intended to fulfill the request"/>
   <definition value="Who is intended to fulfill the request."/>
   <min value="0"/>
   <max value="*"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.reason[x]"/>
   <short value="Why the supply item was requested"/>
   <definition value="Why the supply item was requested."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
   </type>
   <isSummary value="true"/>
   <binding>
    <strength value="example"/>
    <description value="Why the supply item was requested"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-reason"/>
    </valueSetReference>
   </binding>
  </element>
  <element>
   <path value="SupplyRequest.when"/>
   <short value="When the request should be fulfilled"/>
   <definition value="When the request should be fulfilled."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.when.id"/>
   <representation value="xmlAttr"/>
   <short value="xml:id (or equivalent in JSON)"/>
   <definition value="unique id for the element within a resource (for internal references)."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <mapping>
    <identity value="rim"/>
    <map value="n/a"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.when.extension"/>
   <short value="Additional Content defined by implementations"/>
   <definition value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
   <comments value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
   <alias value="extensions"/>
   <alias value="user content"/>
   <min value="0"/>
   <max value="*"/>
   <type>

   </type>
   <mapping>
    <identity value="rim"/>
    <map value="n/a"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.when.modifierExtension"/>
   <short value="Extensions that cannot be ignored"/>
   <definition value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
   <comments value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
   <alias value="extensions"/>
   <alias value="user content"/>
   <alias value="modifiers"/>
   <min value="0"/>
   <max value="*"/>
   <type>

   </type>
   <isModifier value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value="N/A"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.when.code"/>
   <short value="Fulfilment code"/>
   <definition value="Code indicating when the request should be fulfilled."/>
   <comments value="Code may simply be a priority code."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
   <binding>
    <strength value="example"/>
    <description value="When the request should be fulfilled"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-when"/>
    </valueSetReference>
   </binding>
  </element>
  <element>
   <path value="SupplyRequest.when.schedule"/>
   <short value="Formal fulfillment schedule"/>
   <definition value="Formal fulfillment schedule."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
 </snapshot>
 <differential>
  <element>
   <path value="SupplyRequest"/>
   <short value="Request for a medication, substance or device"/>
   <definition value="A record of a request for a medication, substance or device used in the healthcare setting."/>
   <min value="0"/>
   <max value="*"/>
   <type>

   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value="Supply[moodCode=RQO]"/>
   </mapping>
   <mapping>
    <identity value="w5"/>
    <map value="workflow.order"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.patient"/>
   <short value="Patient for whom the item is supplied"/>
   <definition value="A link to a resource representing the person whom the ordered item is for."/>
   <min value="0"/>
   <max value="1"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value=".participation[typeCode=SBJ].role"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.source"/>
   <short value="Who initiated this order"/>
   <definition value="The Practitioner , Organization or Patient who initiated this order for the supply."/>
   <min value="0"/>
   <max value="1"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.date"/>
   <short value="When the request was made"/>
   <definition value="When the request was made."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.identifier"/>
   <short value="Unique identifier"/>
   <definition value="Unique identifier for this supply request."/>
   <comments value="This is assigned by the orderer, and used to refer to this order in other external standards."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value=".id"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.status"/>
   <short value="requested | completed | failed | cancelled"/>
   <definition value="Status of the supply request."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isModifier value="true"/>
   <isSummary value="true"/>
   <binding>
    <strength value="required"/>
    <description value="Status of the supply request"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-status"/>
    </valueSetReference>
   </binding>
   <mapping>
    <identity value="rim"/>
    <map value=".statusCode, also existence of fulfillment events"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.kind"/>
   <short value="The kind of supply (central, non-stock, etc.)"/>
   <definition value="Category of supply, e.g.  central, non-stock, etc. This is used to support work flows associated with the supply process."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
   <binding>
    <strength value="required"/>
    <description value="Category of supply request"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-kind"/>
    </valueSetReference>
   </binding>
   <mapping>
    <identity value="rim"/>
    <map value=".code"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.orderedItem"/>
   <short value="Medication, Substance, or Device requested to be supplied"/>
   <definition value="The item that is requested to be supplied."/>
   <comments value="Note that there's a difference between a prescription - an instruction to take a medication, along with a (sometimes) implicit supply, and an explicit request to supply, with no explicit instructions."/>
   <min value="0"/>
   <max value="1"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Device"/>
   </type>
   <isSummary value="true"/>
   <mapping>
    <identity value="rim"/>
    <map value=".participation[typeCode=PRD].role"/>
   </mapping>
  </element>
  <element>
   <path value="SupplyRequest.supplier"/>
   <short value="Who is intended to fulfill the request"/>
   <definition value="Who is intended to fulfill the request."/>
   <min value="0"/>
   <max value="*"/>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.reason[x]"/>
   <short value="Why the supply item was requested"/>
   <definition value="Why the supply item was requested."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <type>

    <profile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
   </type>
   <isSummary value="true"/>
   <binding>
    <strength value="example"/>
    <description value="Why the supply item was requested"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-reason"/>
    </valueSetReference>
   </binding>
  </element>
  <element>
   <path value="SupplyRequest.when"/>
   <short value="When the request should be fulfilled"/>
   <definition value="When the request should be fulfilled."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
  <element>
   <path value="SupplyRequest.when.code"/>
   <short value="Fulfilment code"/>
   <definition value="Code indicating when the request should be fulfilled."/>
   <comments value="Code may simply be a priority code."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
   <binding>
    <strength value="example"/>
    <description value="When the request should be fulfilled"/>
    <valueSetReference>
     <reference value="http://hl7.org/fhir/ValueSet/supplyrequest-when"/>
    </valueSetReference>
   </binding>
  </element>
  <element>
   <path value="SupplyRequest.when.schedule"/>
   <short value="Formal fulfillment schedule"/>
   <definition value="Formal fulfillment schedule."/>
   <min value="0"/>
   <max value="1"/>
   <type>

   </type>
   <isSummary value="true"/>
  </element>
 </differential>
</StructureDefinition>


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Το πορτοφολιο του Μάριου</title>

    <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>

    <link href="vendor/magnific-popup/magnific-popup.css" rel="stylesheet">

    <link href="css/creative.min.css" rel="stylesheet">

                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    Toggle navigation Menu
                </button>

                        About

                        Υπηρεσιες

                        Δειγματα

                        Επικοινωνια

                    	English

Καλως ηλθατε!

Το πρώτο βήμα για την δημιουργία της ιστοσελίδας σας ξεκινάει εδώ!

                Μάθετε περισσότερα

Έχουμε ότι χρειαζόσαστε!

Οι υπηρεσίες μας μπορούν να σας προσφέρουν ότι χρειάζεστε για να δημιουργήσετε την νέα σας ιστοσελίδα σε χρόνο μηδέν! Όλες οι εργασίες μας φτιάχνονται με πολύ αγάπη για να καλύπτουν τις δικές σας ανάγκες!

                    Ξεκινήστε!

Υπηρεσίες

Σταθερή Σχεδίαση

Οι σελίδες μας φτιάχνονται με το χέρι για να εξασφαλίσουν μελλοντική σταθερότητα.

Ταχύτατη Διεκπεραίωση

Οι ιστοσελίδες πάντα δημιουργούνται σε λογικά χρονικά πλαίσια.

Συνεχής Διατήρηση

Μετά την δημιουργία υπάρχει η δυνατότητα για ανανέωση της σελίδας ανάλογα με τις ανάγκες που παρουσιάζονται.

Φτιαγμένα με αγάπη

Διασφαλίζουμε ότι κάθε εγχείρημα γίνεται με αγάπη και μεράκι!

                                    Δειγμα

                                    Πρώτο

                                    Δειγμα

                                    Δεύτερο

                                    Δειγμα

                                    Τρίτο

                                    Currently

                                    Unavailable

                                    Currently

                                    Unavailable

                                    Currently

                                    Unavailable

Ξεκινήστε την συνεργασία σας μαζί μας!

                Ξεκινηστε Τώρα!

Ας μπούμε σε επικοινωνία!

Έτοιμοι να αρχίσετε το πρώτο σας εγχείρημα με εμάς; Άψογα! Τηλεφωνήστε μας ή στείλτε μας ένα email και θα βρεθούμε σε επικοινωνία το συντομότερο δυνατό!

694-776-6716

athmarios@gmail.com


text:
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.first.team2903.robot.subsystems;

/**
 *
 * @author robotics
 */
public class FrisbeeCount {

}


text:
package com.smartdevicelink.proxy.rpc;

import com.smartdevicelink.proxy.RPCStruct;

import java.util.Hashtable;

/**
 * Include the data defined in Radio Data System, which is a communications protocol standard
 * for embedding small amounts of digital information in conventional FM radio broadcasts.
 */
public class RdsData extends RPCStruct {
    public static final String KEY_PS = "PS";
    public static final String KEY_RT = "RT";
    public static final String KEY_CT = "CT";
    public static final String KEY_PI = "PI";
    public static final String KEY_PTY = "PTY";
    public static final String KEY_TP = "TP";
    public static final String KEY_TA = "TA";
    public static final String KEY_REG = "REG";

    public RdsData() {
    }

    public RdsData(Hashtable<String, Object> hash) {
        super(hash);
    }

    /**
     * Sets the programService portion of the RdsData class
     *
     * @param programService Program Service Name.
     */
    public RdsData setProgramService(String programService) {
        setValue(KEY_PS, programService);
        return this;
    }

    /**
     * Gets the programService portion of the RdsData class
     *
     * @return String - Program Service Name.
     */
    public String getProgramService() {
        return getString(KEY_PS);
    }

    /**
     * Sets the radioText portion of the RdsData class
     *
     * @param radioText Radio Text.
     */
    public RdsData setRadioText(String radioText) {
        setValue(KEY_RT, radioText);
        return this;
    }

    /**
     * Gets the radioText portion of the RdsData class
     *
     * @return String - Radio Text.
     */
    public String getRadioText() {
        return getString(KEY_RT);
    }

    /**
     * Sets the clockText portion of the RdsData class
     *
     * @param clockText The clock text in UTC format as YYYY-MM-DDThh:mm:ss.sTZD.
     */
    public RdsData setClockText(String clockText) {
        setValue(KEY_CT, clockText);
        return this;
    }

    /**
     * Gets the clockText portion of the RdsData class
     *
     * @return String - The clock text in UTC format as YYYY-MM-DDThh:mm:ss.sTZD.
     */
    public String getClockText() {
        return getString(KEY_CT);
    }

    /**
     * Sets the programIdentification portion of the RdsData class
     *
     * @param programIdentification Program Identification - the call sign for the radio station.
     */
    public RdsData setProgramIdentification(String programIdentification) {
        setValue(KEY_PI, programIdentification);
        return this;
    }

    /**
     * Gets the programIdentification portion of the RdsData class
     *
     * @return String - Program Identification - the call sign for the radio station.
     */
    public String getProgramIdentification() {
        return getString(KEY_PI);
    }

    /**
     * Sets the region portion of the RdsData class
     *
     * @param region Region.
     */
    public RdsData setRegion(String region) {
        setValue(KEY_REG, region);
        return this;
    }

    /**
     * Gets the region portion of the RdsData class
     *
     * @return String - Region.
     */
    public String getRegion() {
        return getString(KEY_REG);
    }

    /**
     * Sets the trafficProgram portion of the RdsData class
     *
     * @param trafficProgram Traffic Program Identification - Identifies a station that offers traffic.
     */
    public RdsData setTrafficProgram(Boolean trafficProgram) {
        setValue(KEY_TP, trafficProgram);
        return this;
    }

    /**
     * Gets the trafficProgram portion of the RdsData class
     *
     * @return Boolean - Traffic Program Identification - Identifies a station that offers traffic.
     */
    public Boolean getTrafficProgram() {
        return getBoolean(KEY_TP);
    }

    /**
     * Sets the trafficAnnouncement portion of the RdsData class
     *
     * @param trafficAnnouncement Traffic Announcement Identification - Indicates an ongoing traffic announcement.
     */
    public RdsData setTrafficAnnouncement(Boolean trafficAnnouncement) {
        setValue(KEY_TA, trafficAnnouncement);
        return this;
    }

    /**
     * Gets the trafficAnnouncement portion of the RdsData class
     *
     * @return Boolean - Traffic Announcement Identification - Indicates an ongoing traffic announcement.
     */
    public Boolean getTrafficAnnouncement() {
        return getBoolean(KEY_TA);
    }

    /**
     * Sets the programType portion of the RdsData class
     *
     * @param programType The program type - The region should be used to differentiate between EU and North America program types.
     */
    public RdsData setProgramType(Integer programType) {
        setValue(KEY_PTY, programType);
        return this;
    }

    /**
     * Gets the programType portion of the RdsData class
     *
     * @return Integer - The program type.
     * The region should be used to differentiate between EU and North America program types.
     */
    public Integer getProgramType() {
        return getInteger(KEY_PTY);
    }
}


text:
===============

This sample demonstrates how one can develop a home app for Windows 10 IoT Core.
The sample consist of two sets of app showing two different approaches:

## IoTHomeApp
[Documentation for this sample](https://developer.microsoft.com/en-us/windows/iot/samples/iothomeapp)

## IoTStartApp
[Documentation for this sample](https://developer.microsoft.com/en-us/windows/iot/samples/iotstartapp)

## How to download:

Unfortunately, GitHub does not support downloading individual code.

Navigate to [ms-iot/samples](https://github.com/ms-iot/samples) and select **Clone or download** to download the whole repository.

## Additional resources
* [Windows 10 IoT Core home page](https://developer.microsoft.com/en-us/windows/iot/)
* [Documentation for all samples](https://developer.microsoft.com/en-us/windows/iot/samples)


text:
FOUNDATION_EXPORT double CPDAcknowledgementsVersionNumber;
FOUNDATION_EXPORT const unsigned char CPDAcknowledgementsVersionString[];


text:
require_relative '../../spec_helper'
require_relative '../../../lib/reek/context/singleton_method_context'

RSpec.describe Reek::Context::SingletonMethodContext do
  let(:smc) do
    sexp = sexp(:def, :foo, sexp(:args, sexp(:arg, :bar)), nil)
    Reek::Context::SingletonMethodContext.new(nil, sexp)
  end

  describe '#envious_receivers' do
    it 'should not record envious calls' do
      smc.record_call_to sexp(:send, sexp(:lvar, :bar), :baz)
      expect(smc.envious_receivers).to be_empty
    end
  end
end


text:
package containeranalysis

// [START containeranalysis_filter_vulnerability_occurrences]

import (
	"context"
	"fmt"

	containeranalysis "cloud.google.com/go/containeranalysis/apiv1"
	"google.golang.org/api/iterator"
	grafeaspb "google.golang.org/genproto/googleapis/grafeas/v1"
)

// findHighSeverityVulnerabilitiesForImage retrieves a list of only high vulnerability occurrences associated with a resource.
func findHighSeverityVulnerabilitiesForImage(resourceURL, projectID string) ([]*grafeaspb.Occurrence, error) {
	// Use this style of URL when you use Google Container Registry.
	// resourceURL := "https://gcr.io/my-project/my-repo/my-image"
	// Use this style of URL when you use Google Artifact Registry.
	// resourceURL := "https://LOCATION-docker.pkg.dev/my-project/my-repo/my-image"
	ctx := context.Background()
	client, err := containeranalysis.NewClient(ctx)
	if err != nil {
		return nil, fmt.Errorf("NewClient: %v", err)
	}
	defer client.Close()

	req := &grafeaspb.ListOccurrencesRequest{
		Parent: fmt.Sprintf("projects/%s", projectID),
		Filter: fmt.Sprintf("resourceUrl = %q kind = %q", resourceURL, "VULNERABILITY"),
	}

	var occurrenceList []*grafeaspb.Occurrence
	it := client.GetGrafeasClient().ListOccurrences(ctx, req)
	for {
		occ, err := it.Next()
		if err == iterator.Done {
			break
		}
		if err != nil {
			return nil, fmt.Errorf("occurrence iteration error: %v", err)
		}

		severityLevel := occ.GetVulnerability().GetEffectiveSeverity()
		if severityLevel == grafeaspb.Severity_HIGH || severityLevel == grafeaspb.Severity_CRITICAL {
			occurrenceList = append(occurrenceList, occ)
		}
	}

	return occurrenceList, nil
}

// [END containeranalysis_filter_vulnerability_occurrences]


text:
import java.util.*;

//You may assume that all inputs are consist of lowercase letters a-z.
// Your Trie object will be instantiated and called as such:
// Trie trie = new Trie();
// trie.insert("somestring");
// trie.search("key");

class TrieNode {
    // Initialize your data structure here.
        public char c;
        public int size;
        public boolean isEnd;
        public TrieNode[] children = new TrieNode[26];
        public TrieNode(){
            c = ' ';
            size = 0;
            isEnd = false;
        }
        public TrieNode(char _c,int _size,boolean _isEnd){
            c = _c;
            size = _size;
            isEnd = _isEnd;
        }

}

public class Trie {
    private TrieNode root;

    public Trie() {
        root = new TrieNode();
    }

    public Trie(TrieNode _root){
        root = _root;
    }

    // Inserts a word into the trie.
    public void insert(String word) {
       if (word == null) return;
       TrieNode tmp = root;

        for (int i = 0; i < word.length(); i ++){
            char letter = word.charAt(i);
            if (tmp.size > 0 && tmp.children[letter - 'a'] != null){
                tmp = tmp.children[letter-'a'];
            }
            else{ //insert as child here
                tmp.size += 1;
                tmp.children[letter-'a'] = new TrieNode(letter,0,i==word.length()-1);
                tmp = tmp.children[letter-'a'];
            }
       }
       tmp.isEnd=true;
    }

    // Returns if the word is in the trie.
    /** Similar to searchPrefix,
    *   but need to have last TrieNode to be end
    */
    public boolean search(String word) {
        TrieNode res = find(word);
        return (res!=null && res.isEnd);
    }

    // Returns if there is any word in the trie
    // that starts with the given prefix.
    public boolean startsWith(String prefix) {
        TrieNode res = find(prefix);
        return (res!=null);
    }

    private TrieNode find (String word){
                TrieNode tmp = root;
        for (int i = 0; i < word.length(); i ++){
            char letter = word.charAt(i);
            if (tmp.children[letter-'a']!=null){
                tmp = tmp.children[letter-'a'];
            }
            else{
                return null;
            }
        }
        return tmp;
    }

    public String toString(){
        TrieNode tnode = root;
        StringBuilder sb = new StringBuilder();
        String delimiter = "\n";
            sb.append(tnode);
            sb.append(delimiter);
        return sb.toString();
    }

    public static void main(String[] args) {
        TrieNode root = new TrieNode();
        Trie t = new Trie(root);

        System.out.println("TrieNode: \n"+root);

        t.insert("son");
        t.insert("sleep");
        System.out.println("Trie: "+t);
        System.out.println("startWith: "+t.startsWith("so"));
        System.out.println("startWith: "+t.startsWith("os"));
        System.out.println("search: "+t.search("son"));
        System.out.println("search: "+t.search("so"));
    }
}


text:
package javax.sql;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @since 1.4
 */
public interface RowSetInternal
{
  /**
   * @since 1.4
   */
  Object[] getParams() throws SQLException;

  /**
   * @since 1.4
   */
  Connection getConnection() throws SQLException;

  /**
   * @since 1.4
   */
  void setMetaData(RowSetMetaData md) throws SQLException;

  /**
   * @since 1.4
   */
  ResultSet getOriginal() throws SQLException;

  /**
   * @since 1.4
   */
  ResultSet getOriginalRow() throws SQLException;
}


text:
module FabricRequirements {

  export interface CurrentRequirements extends Fabric.FabricRequirements {
    $tags?: Array<string>;
    $dirty?: boolean;
  }

  // a service that holds the current requirements that the user is working
  // on, allows us to change between views without losing the user's current
  // changes
  _module.service("CurrentRequirements", () => {
    return <CurrentRequirements>{
      $dirty: false
    };
  });

  export var RequirementsController = controller("RequirementsController", ["$scope", "jolokia", "workspace", "ProfileCart", "$templateCache", "FileUploader", "userDetails", "jolokiaUrl", "$location", "$timeout", "CurrentRequirements", "$element", ($scope, jolokia, workspace: Workspace, ProfileCart:Array<Fabric.Profile>, $templateCache, FileUploader, userDetails, jolokiaUrl, $location, $timeout, CurrentRequirements:FabricRequirements.CurrentRequirements, $element:ng.IAugmentedJQuery) => {

    $scope.tabs = {
      '0': {
        name: 'Profile Requirements',
        href: () => FabricRequirements.requirementsHash + '/profile',
        isActive: () => UrlHelpers.contextActive($location.path(), 'profile')

      },
      '1': {
        name: 'SSH Configuration',
        href: () => FabricRequirements.requirementsHash + '/sshConfig',
        isActive: () => UrlHelpers.contextActive($location.path(), 'sshConfig')
      },
      '2': {
        name: 'Docker Configuration',
        href: () => FabricRequirements.requirementsHash + '/dockerConfig',
        isActive: () => UrlHelpers.contextActive($location.path(), 'dockerConfig')
      },
      '3': {
        name: 'Status',
        href: () => FabricRequirements.requirementsHash + '/status',
        isActive: () => UrlHelpers.contextActive($location.path(), 'status')
      }
    };

    $scope.requirements = CurrentRequirements;
    $scope.template = '';
    $scope.newTag = '';

    $scope.addTag = (tag:string) => {
      if (tag && !$scope.requirements.$tags.some((t) => { return t === tag; })) {
        $scope.requirements.$tags.push(tag);
        $scope.newTag = '';
        $element.find('#inputNewTag').val('');
      }
    };

    $scope.cancelChanges = () => {
      if ($scope.requirements.$dirty) {
        log.debug("Cancelling changes");
        $timeout(() => {
          Object.merge($scope.requirements, $scope.requirementsFromServer, true);
        }, 20);
        $scope.requirements.$dirty = false;
      }
    };

    $scope.onDrop = (data, model, property) => {
      log.debug("On drop - data: ", data, " model: ", model, " property: ", property);
      if (!model[property]) {
        model[property] = [];
      }
      if (!model[property].any(data)) {
        model[property].push(data);
        $scope.requirements.$dirty = true;
      }
    };

    $scope.$on('hawtio-drop', ($event, data) => {
      $scope.onDrop(data.data, data.model, data.property);
    });

    $scope.saveChanges = () => {
      if ($scope.requirements.$dirty) {
        function onRequirementsSaved() {
          Core.notification("success", "Saved the requirements");
          Core.$apply($scope);
        }

        var json = angular.toJson($scope.requirements);
        log.debug("Saving requirementS: ", json);
        $scope.requirements.$dirty = false;
        jolokia.execute(Fabric.managerMBean, "requirementsJson",
                json, onSuccess(onRequirementsSaved));
      }
    };

    // used by child scopes when they change the requirements object
    $scope.onChange = () => {
      $scope.requirements.$dirty = true;
    };

    Fabric.loadRestApi(jolokia, workspace, undefined, (response) => {
      var uploadUrl = jolokiaUrl;

      $scope.uploader = <FileUpload.FileUploader> new FileUploader(<FileUpload.IOptions>{
        autoUpload: true,
        removeAfterUpload: true,
        url: uploadUrl
      });

      FileUpload.useJolokiaTransport($scope.uploader, jolokia, (json) => {
        return {
          'type': 'exec',
          mbean: Fabric.managerMBean,
          operation: 'requirementsJson',
          arguments: [json]
        };
      });

      $scope.uploader.onBeforeUploadItem = (item) => {
        Core.notification('info', 'Uploading ' + item);
      };

      $scope.uploader.onSuccessItem = (item:FileUpload.IFileItem) => {
        $scope.requirements = angular.fromJson(item.json);
      };

      $scope.uploader.onCompleteAll = () => {
        Core.notification('success', 'Imported requirements');
      };

      function createTagList(requirements:CurrentRequirements) {
        var tags = [];
        ['sshConfiguration', 'dockerConfiguration'].forEach((config) => {
          if (requirements[config] && requirements[config].hosts) {
            requirements.sshConfiguration.hosts.forEach((host:Fabric.SshHostConfiguration) => {
              tags.add(host.tags);
            });
          }
        });
        requirements.profileRequirements.forEach((p:Fabric.ProfileRequirement) => {
          ['sshScalingRequirements', 'dockerScalingRequirements'].forEach((req) => {
            if (p[req] && p[req].hostTags) {
              tags.add(p[req].hostTags);
            }
          });
        });
        requirements.$tags = tags.unique().sort();
        //log.debug("Tags: ", profileRequirements.$tags);
      }

      Core.registerForChanges(jolokia, $scope, {
        type: 'exec',
        mbean: Fabric.managerMBean,
        operation: "requirements()"
      }, (response) => {
        //log.debug("Got updated requirements object: ", response.value);
        //log.debug("Profile cart: ", ProfileCart);
        $scope.requirementsFromServer = <Fabric.FabricRequirements>response.value;
        if (!$scope.requirements.$dirty) {
          Object.merge($scope.requirements, $scope.requirementsFromServer, true);
        }
        var profileRequirements:Array<Fabric.ProfileRequirement> = $scope.requirements.profileRequirements;
        ProfileCart.forEach((profile:Fabric.Profile) => {
          var id = profile.id;
          if (!profileRequirements.some((r) => { return r.profile === id; })) {
            profileRequirements.push({
              profile: id,
              minimumInstances:<number>null,
              maximumInstances:<number>null,
              dependentProfiles:[]
            });
            if (!$scope.requirements.$dirty) {
              $scope.requirements.$dirty = true;
            }
          }
        });
        // now we've pulled 'em in we can clear the profile cart
        ProfileCart.length = 0;
        if (Core.isBlank($scope.template)) {
          $scope.template = $templateCache.get('pageTemplate.html');
        }
        createTagList($scope.requirements);
        Core.$apply($scope);
      });
    });

  }]);

}


text:
<!DOCTYPE html>

    <title>Type Aliases  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset='utf-8'>

VISPER-Core Docs (36% documented)

View on GitHub

        VISPER-Core Reference

        Type Aliases  Reference

            Classes

                DefaultApp

            Protocols

                Action

                ActionDispatcher

                App

                ControllerContainer

                ControllerDismisser

                ControllerPresenter

                ControllerProvider

                Feature

                FeatureObserver

                HasControllerContainer

                Presenter

                PresenterProvider

                RouteResult

                RoutingAwareViewController

                RoutingDelegate

                RoutingObserver

                RoutingOption

                RoutingOptionProvider

                RoutingPresenter

                TopControllerResolver

                Wireframe

            Type Aliases

                RoutingHandler

Type Aliases

The following type aliases are available globally.

                    RoutingHandler

Undocumented

Declaration

Swift

public typealias RoutingHandler = (_ routeResult: RouteResult) -> Void

© 2019 Jan Bartel. All rights reserved. (Last updated: 2019-02-06)

Generated by jazzy ♪♫ v0.9.4, a Realm project.


text:
import { Rule } from '../src/templateClickEventsHaveKeyEventsRule';
import { assertAnnotated, assertSuccess } from './testHelper';

const {
  FAILURE_STRING,
  metadata: { ruleName },
} = Rule;

describe(ruleName, () => {
  describe('failure', () => {
    it('should fail when click is not accompanied with key events', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });

    it('should fail when click is not accompanied with key events on non interactive element', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });

    it('should fail when click is not accompanied with key events on interactive element without attributes that make them interactive', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });

    it('should fail when click is not accompanied with key events and has aria-hidden attribute as false', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });

    it('should fail when click is not accompanied with key events and has aria-hidden input as false', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });

    it('should fail when click is not accompanied with key events and has role other than presentational', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });

    it('should fail when click is not accompanied with key events and has aria-hidden attribute as false', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });

    it('should fail when click is not accompanied with key events and has aria-hidden input as false', () => {
      const source = `
        @Component({
          template: \`

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          \`
        })
        class Bar {}
      `;
      assertAnnotated({
        message: FAILURE_STRING,
        ruleName,
        source,
      });
    });
  });

  describe('success', () => {
    it('should work when click events are associated with key events', () => {
      const source = `
        @Component({
          template: \`

          \`
        })
        class Bar {}
      `;
      assertSuccess(ruleName, source);
    });

    it('should work when click events are associated with key pseudo events', () => {
      const source = `
        @Component({
          template: \`

          \`
        })
        class Bar {}
      `;
      assertSuccess(ruleName, source);
    });

    it('should work when click events are passed to custom element', () => {
      const source = `
        @Component({
          template: \`
            <cui-button (click)="onClick()"></cui-button>
          \`
        })
        class Bar {}
      `;
      assertSuccess(ruleName, source);
    });

    it('should work when element has aria-hidden', () => {
      const source = `
        @Component({
          template: \`

          \`
        })
        class Bar {}
      `;
      assertSuccess(ruleName, source);
    });

    it('should work when element has presentation role', () => {
      const source = `
        @Component({
          template: \`

          \`
        })
        class Bar {}
      `;
      assertSuccess(ruleName, source);
    });

    it('should work when element is interactive', () => {
      const source = `
        @Component({
          template: \`
            <input (click)="onClick()">
            <button (click)="onClick()"></button>
            <textarea (click)="onClick()"></textarea>
            <select (click)="onClick()">
              <option (click)="onClick()"></option>
            </select>
            <textarea (click)="onClick()"></textarea>

          \`
        })
        class Bar {}
      `;
      assertSuccess(ruleName, source);
    });
  });
});


text:
package org.glyptodon.guacamole.net.basic.rest.connectiongroup;

import java.util.Collection;
import java.util.Map;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.glyptodon.guacamole.net.auth.ConnectionGroup;
import org.glyptodon.guacamole.net.auth.ConnectionGroup.Type;
import org.glyptodon.guacamole.net.basic.rest.connection.APIConnection;

/**
 * A simple connection group to expose through the REST endpoints.
 *
 * @author James Muehlner
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class APIConnectionGroup {

    /**
     * The identifier of the root connection group.
     */
    public static final String ROOT_IDENTIFIER = "ROOT";

    /**
     * The name of this connection group.
     */
    private String name;

    /**
     * The identifier of this connection group.
     */
    private String identifier;

    /**
     * The identifier of the parent connection group for this connection group.
     */
    private String parentIdentifier;

    /**
     * The type of this connection group.
     */
    private Type type;

    /**
     * The count of currently active connections using this connection group.
     */
    private int activeConnections;

    /**
     * All child connection groups. If children are not being queried, this may
     * be omitted.
     */
    private Collection<APIConnectionGroup> childConnectionGroups;

    /**
     * All child connections. If children are not being queried, this may be
     * omitted.
     */
    private Collection<APIConnection> childConnections;

    /**
     * Map of all associated attributes by attribute identifier.
     */
    private Map<String, String> attributes;

    /**
     * Create an empty APIConnectionGroup.
     */
    public APIConnectionGroup() {}

    /**
     * Create a new APIConnectionGroup from the given ConnectionGroup record.
     *
     * @param connectionGroup The ConnectionGroup record to initialize this
     *                        APIConnectionGroup from.
     */
    public APIConnectionGroup(ConnectionGroup connectionGroup) {

        // Set connection group information
        this.identifier = connectionGroup.getIdentifier();
        this.parentIdentifier = connectionGroup.getParentIdentifier();
        this.name = connectionGroup.getName();
        this.type = connectionGroup.getType();
        this.activeConnections = connectionGroup.getActiveConnections();

        // Associate any attributes
        this.attributes = connectionGroup.getAttributes();

    }

    /**
     * Returns the name of this connection group.
     * @return The name of this connection group.
     */
    public String getName() {
        return name;
    }

    /**
     * Set the name of this connection group.
     * @param name The name of this connection group.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Returns the identifier of this connection group.
     * @return The identifier of this connection group.
     */
    public String getIdentifier() {
        return identifier;
    }

    /**
     * Set the identifier of this connection group.
     * @param identifier The identifier of this connection group.
     */
    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    /**
     * Returns the unique identifier for this connection group.
     * @return The unique identifier for this connection group.
     */
    public String getParentIdentifier() {
        return parentIdentifier;
    }
    /**
     * Sets the parent connection group identifier for this connection group.
     * @param parentIdentifier The parent connection group identifier
     *                         for this connection group.
     */
    public void setParentIdentifier(String parentIdentifier) {
        this.parentIdentifier = parentIdentifier;
    }

    /**
     * Returns the type of this connection group.
     * @return The type of this connection group.
     */
    public Type getType() {
        return type;
    }

    /**
     * Set the type of this connection group.
     * @param type The Type of this connection group.
     */
    public void setType(Type type) {
        this.type = type;
    }

    /**
     * Returns a collection of all child connection groups, or null if children
     * have not been queried.
     *
     * @return
     *     A collection of all child connection groups, or null if children
     *     have not been queried.
     */
    public Collection<APIConnectionGroup> getChildConnectionGroups() {
        return childConnectionGroups;
    }

    /**
     * Sets the collection of all child connection groups to the given
     * collection, which may be null if children have not been queried.
     *
     * @param childConnectionGroups
     *     The collection containing all child connection groups of this
     *     connection group, or null if children have not been queried.
     */
    public void setChildConnectionGroups(Collection<APIConnectionGroup> childConnectionGroups) {
        this.childConnectionGroups = childConnectionGroups;
    }

    /**
     * Returns a collection of all child connections, or null if children have
     * not been queried.
     *
     * @return
     *     A collection of all child connections, or null if children have not
     *     been queried.
     */
    public Collection<APIConnection> getChildConnections() {
        return childConnections;
    }

    /**
     * Sets the collection of all child connections to the given collection,
     * which may be null if children have not been queried.
     *
     * @param childConnections
     *     The collection containing all child connections of this connection
     *     group, or null if children have not been queried.
     */
    public void setChildConnections(Collection<APIConnection> childConnections) {
        this.childConnections = childConnections;
    }

    /**
     * Returns the number of currently active connections using this
     * connection group.
     *
     * @return
     *     The number of currently active usages of this connection group.
     */
    public int getActiveConnections() {
        return activeConnections;
    }

    /**
     * Set the number of currently active connections using this connection
     * group.
     *
     * @param activeConnections
     *     The number of currently active usages of this connection group.
     */
    public void setActiveUsers(int activeConnections) {
        this.activeConnections = activeConnections;
    }

    /**
     * Returns a map of all attributes associated with this connection group.
     * Each entry key is the attribute identifier, while each value is the
     * attribute value itself.
     *
     * @return
     *     The attribute map for this connection group.
     */
    public Map<String, String> getAttributes() {
        return attributes;
    }

    /**
     * Sets the map of all attributes associated with this connection group.
     * Each entry key is the attribute identifier, while each value is the
     * attribute value itself.
     *
     * @param attributes
     *     The attribute map for this connection group.
     */
    public void setAttributes(Map<String, String> attributes) {
        this.attributes = attributes;
    }

}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Channels;
using System.ServiceModel.Configuration;
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;
using System.Text;
using System.Threading.Tasks;

namespace EnterSentials.Framework.Services.WCF
{
    public class ApplyCorsConfigurationEndpointBehavior : BehaviorExtensionElement, IEndpointBehavior
    {
        public override Type BehaviorType
        { get { return typeof(ApplyCorsConfigurationEndpointBehavior); } }

        protected override object CreateBehavior()
        { return new ApplyCorsConfigurationEndpointBehavior(); }

        public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
        { }

        public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
        { }

        public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
        {
            var corsOperations = endpoint.Contract.Operations
               .Where(o => o.Behaviors.Find<EnableCorsAttribute>() != null)
               .ToArray();

            endpointDispatcher.DispatchRuntime.MessageInspectors.Add(new CorsEnablingMessageInspector(corsOperations));
        }

        public void Validate(ServiceEndpoint endpoint)
        { }
    }
}


text:
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import CommentList from '../CommentList';
import CommentForm from '../CommentForm';
import style from './style';

export default class CommentsPanel extends Component {
  render() {
    if (this.props.loading) {
      return (

loading...

      );
    }

    if (this.props.appNotAvailable) {
      const appsUrl = 'https://hub.getstorybook.io/apps';
      return (

            Create an app for this repo on Storybook Hub

      );
    }

    return (

        <CommentList key="list" {...this.props} />
        <CommentForm key="form" {...this.props} />

    );
  }
}

CommentsPanel.propTypes = {
  loading: PropTypes.bool,
  user: PropTypes.object,
  appNotAvailable: PropTypes.bool,
};