text:
#pragma once
#include <aws/apigateway/APIGateway_EXPORTS.h>
#include <aws/apigateway/APIGatewayRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
namespace APIGateway
{
namespace Model
{

  /**
   *
Request to describe an existing Method resource.

See
   * Also:
   AWS
   * API Reference

   */
  class AWS_APIGATEWAY_API GetMethodRequest : public APIGatewayRequest
  {
  public:
    GetMethodRequest();

    // Service request name is the Operation name which will send this request out,
    // each operation should has unique request name, so that we can get operation's name from this request.
    // Note: this is not true for response, multiple operations may have the same response name,
    // so we can not get operation's name from response.
    inline virtual const char* GetServiceRequestName() const override { return "GetMethod"; }

    Aws::String SerializePayload() const override;

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline const Aws::String& GetRestApiId() const{ return m_restApiId; }

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline GetMethodRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline GetMethodRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}

    /**
     *
[Required] The string identifier of the associated RestApi.

     */
    inline GetMethodRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline const Aws::String& GetResourceId() const{ return m_resourceId; }

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline GetMethodRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline GetMethodRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}

    /**
     *
[Required] The Resource identifier for the Method resource.

     */
    inline GetMethodRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; }

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); }

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline GetMethodRequest& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;}

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline GetMethodRequest& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;}

    /**
     *
[Required] Specifies the method request's HTTP method type.

     */
    inline GetMethodRequest& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;}

  private:

    Aws::String m_restApiId;
    bool m_restApiIdHasBeenSet;

    Aws::String m_resourceId;
    bool m_resourceIdHasBeenSet;

    Aws::String m_httpMethod;
    bool m_httpMethodHasBeenSet;
  };

} // namespace Model
} // namespace APIGateway
} // namespace Aws


text:
package com.kiselev.dataframework.core.exception.config;

import com.kiselev.dataframework.core.exception.DataFrameworkException;

/**
 * @author Vadim Kiselev
 * @version 1.0
 * @since 02/05/2017
 */

public class ResourceInitializingException extends DataFrameworkException {

    public ResourceInitializingException() {
    }

    public ResourceInitializingException(String message) {
        super(message);
    }
}

redpajama_set_name: RedPajamaGithub


text:
package com.natalinobusa.wavr

import akka.actor.{ ActorSystem, Actor, Props }
import akka.io.IO
import spray.can.Http

object Boot extends App {
  implicit val system = ActorSystem()

  // create and start our service actor
  val service = system.actorOf(Props[ApiServiceActor], "api-service")

  // fetch wavr configuration from resources/application.config
  val interface = system.settings.config getString "wavr.interface"
  val port = system.settings.config getInt "wavr.port"

  // start a new HTTP server with our service actor as the handler
  IO(Http) ! Http.Bind(service, interface, port)
}


text:
node-jira-migrate [![Build Status](https://travis-ci.org/hightail/node-jira-migrate.svg)](https://travis-ci.org/hightail/node-jira-migrate)
===

> A Node.js library to facilitate migration of JIRA content between JIRA instances

## Install

`npm install jira-migrate`

## Usage

```javascript
var migrate = require('jira-migrate'),
    config  = require('./config');

migrate.config({
	origin: config.origin,
	destination: config.dest
});

migrate.issue(<issue number>,<callback>);

migrate.search(<JQL statement>, <callback>);

```

### `migrate.config(<config object>)`

Configures the server options and credentials for the migration.

**Values**

*origin* - Origin JIRA instance
- url - ex: https://your.jira.instance:8080
- user - JIRA user name
- password - JIRA user password
- api_version - optional API version (defaults to 2)

*destination* - Destination JIRA instance
- url - ex: https://your.new.jira.instance:8080
- user - JIRA user name
- password - JIRA user password
- api_version - optional API version (defaults to 2)

#### Example:

> It's not a great idea to store your credentials in your code base, so consider using env variables instead.

config.js
```javascript
this.origin = {
	url      : "https://old.jira:8080",
	user     : process.env.ORIGIN_USER,
	password : process.env.ORIGIN_PASS
}

this.dest   = {
	url      : "https://new.jira:8000",
	user     : process.env.DEST_USER,
	password : process.env.DEST_PASS
}

```

app.js
```javascript
var migrate = require('jira-migrate'),
    config  = require('./config');

migrate.config({
	origin: config.origin,
	destination: config.dest
});
```


text:
{{ if isset .Params "heroimage" }}

{{ .Params.standfirst }}

{{ .Title }}

      {{ .Content }}

{{ else }}

{{ .Params.standfirst }}

{{ .Title }}

      {{ .Content }}

{{ end }}


text:
    ssh raspberrypi.local
    raspberry:pi

### config
    sudo raspi-config
make sure the time is EST
change password
turn on ssh
turn off boot to desktop
update raspi-config

### updates
    sudo apt-get update
    sudo apt-get upgrade

### update firmware (radically improves sound quality, though not volume)
    # as described at http://dbader.org/blog/crackle-free-audio-on-the-raspberry-pi-with-mpd-and-pulseaudio
    # referencing https://github.com/Hexxeh/rpi-update
    sudo apt-get install git-core
    sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update
    sudo chmod +x /usr/bin/rpi-update
    sudo cp /boot/start.elf /boot/start.elf.knowngood       # backup existing
    sudo BRANCH=next rpi-update                             # update it
    sudo reboot
    /opt/vc/bin/vcgencmd version                            # check firmware version

### network
    ifconfig
    sudo nano /etc/network/interfaces

    auto lo

    iface lo inet loopback
    iface eth0 inet dhcp

    allow-hotplug wlan0
    auto wlan0
    face wlan0 inet dhcp
            wpa-ssid "ssid"
            wpa-psk "password"

    sudo ifup wlan0
    ping google.com

### time
    sudo /etc/init.d/ntp status
    ntpq -c rl

### hostname / remote
    sudo nano /etc/hosts
    sudo nano /etc/hostname
    sudo /etc/init.d/hostname.sh
    sudo reboot
change raspberrypi references to desired

    ssh pi@syncbox-1.local

### sound
    sudo nano /etc/modprobe.d/alsa-base.conf
    options snd-usb-audio index=-2          # change to 0
    sudo reboot
    alsamixer

### python
    sudo apt-get install python3-setuptools
    sudo easy_install3 pip
    sudo pip-3.2 install PyYAML

### monit
    sudo apt-get install monit
see monitrc.smp

### mpg123
    sudo apt-get install mpg123

### testing with Granu
- everything plugged into switch, set to dchp
- share internet connection

### shutdown, remember:
    sudo shutdown -h now

### notes
from shawn -- disk will get corrupted after awhile, have to disable writes

create an image: http://smittytone.wordpress.com/2013/09/06/back-up-a-raspberry-pi-sd-card-using-a-mac/

    # be sure you have the right disk!
    diskutil list
    diskutil unmountDisk /dev/disk1
    sudo dd if=/dev/rdisk1 of=~/Desktop/pi.img bs=1m            # note the 'r' prefix

locking:
http://raspberrypi.stackexchange.com/questions/5112/running-on-read-only-sd-card


text:
[![bitHound Score](https://www.bithound.io/yetu/yetu-tv-message-client/badges/score.svg)](https://www.bithound.io/yetu/yetu-tv-message-client)

This project contains the yetu-tv-message-client. The code is written as native JavaScript. It is currently in __beta-state__ (version 1.0.2). This means it is stable for third-party-developer to work with. Nevertheless we welcome every third-party-developer, who uses this app, to extend or improve the API.

**Table of content**

<!-- toc -->

* [use the library as a third-party-application developer](#use-the-library-as-a-third-party-application-developer)
* [be a developer of our library](#be-a-developer-of-our-library)
  * [prerequisites](#prerequisites)
  * [initialise your project](#initialise-your-project)
    * [install dependencies](#install-dependencies)
    * [run project](#run-project)
    * [build project in dist](#build-project-in-dist)
    * [update table of contents in .md](#update-table-of-contents-in-md)
* [next steps](#next-steps)

<!-- toc stop -->

## use the library as a third-party-application developer

[Here](https://github.com/yetu/yetu-tv-message-client/blob/master/3rd-Party-Documentation.md) you can find the guide how you can use the library.

## be a developer of our library

At the yetu-tv-homescreen applications will open in an iFrame. This library is used in the third-party-application to get
events of the remote control. It should be as well used for sending messages to the homescreen. Furthermore the
third-party developer has to send in his application at some point a quit event to the main application. This would close
the application at the homescreen.

If you want to make changes to this project, best is to install prerequisites and initialise the needed dependencies below:

### prerequisites

you need to have the following installed on your system:

* npm
	* check you have it by entering `npm` into a terminal
	* if you don't have it, install from [here](http://nodejs.org/)
* bower
	* check you have it by entering `bower` into a terminal
	* if you don't have it, enter `sudo npm install -g  bower` into your terminal
* gulp
	* check you have it by entering `which gulp` into a terminal
	* if you don't have it, enter `sudo npm install -g  gulp` into your terminal

More information about bower you can find [here](http://bower.io/).
More information about gulp you can find [here](http://gulpjs.com/).

### initialise your project

####install dependencies
You need the project dependencies from bower. Open a terminal, change directory to this project, then:

```
bower install
```

**gulp** is used to combine and compress JS and to serve the example page. The gulpfile.js defines this tasks.
First of all you have to install the node modules which are used in the gulpfile.js.

 ```
 npm install
 ```

####run project

To serve your page on a server, run `gulp run` and you can access the [TestPage](http://localhost:8080/example/index.html) in your browser on localhost.

####build project in dist
To build the project for the dist folder, so that other developers can use it as library, run `gulp build`

####update table of contents in .md
When you change the md files, please update as well the table of contents. For that install marked-toc with the following command.

```
npm install -g  marked-toc
```

After that you have to run:

```
toc Filename.md
```
If you want to create a new toc, add the following line on the place in the file, where you want to have it.

```
<!-- toc -->
```

##next steps
* version as well the minified
* send out the current version to yetu partners (first release)
* build a new release version of yetu-tv-message-client and adapt clients using this project (youtube-app,yetu partners)


text:
import { barelyServe } from "barely-a-dev-server";
import { build } from "esbuild";
import { readFileSync } from "fs";
import { chmod } from "fs/promises";

build({
  entryPoints: ["src/webauthn-json/index.ts"],
  format: "cjs",
  target: "es2015",
  bundle: true,
  sourcemap: true,
  outfile: "dist/cjs/webauthn-json.cjs",
});

build({
  entryPoints: ["src/webauthn-json/extended.ts"],
  format: "cjs",
  target: "es2015",
  bundle: true,
  sourcemap: true,
  outfile: "dist/cjs/webauthn-json.extended.cjs",
});

build({
  entryPoints: ["src/webauthn-json/index.ts"],
  format: "esm",
  target: "es2019",
  bundle: true,
  sourcemap: true,
  outfile: "dist/esm/webauthn-json.js",
});

build({
  entryPoints: ["src/webauthn-json/extended.ts"],
  format: "esm",
  target: "es2019",
  bundle: true,
  sourcemap: true,
  outfile: "dist/esm/webauthn-json.extended.js",
});

build({
  entryPoints: ["src/webauthn-json/browser-global.ts"],
  format: "iife",
  target: "es6",
  bundle: true,
  sourcemap: true,
  outfile: "dist/browser-global/webauthn-json.browser-global.js",
});

build({
  entryPoints: ["src/dev/inspector/inspector.ts"],
  format: "iife",
  target: "es6",
  bundle: true,
  sourcemap: true,
  outfile: "dist/inspector/inspector.js",
});

build({
  entryPoints: ["src/webauthn-json/browser-ponyfill.ts"],
  format: "esm",
  target: "es2019",
  bundle: true,
  sourcemap: true,
  outfile: "dist/esm/webauthn-json.browser-ponyfill.js",
});

build({
  entryPoints: ["src/webauthn-json/browser-ponyfill.extended.ts"],
  format: "esm",
  target: "es2019",
  bundle: true,
  sourcemap: true,
  outfile: "dist/esm/webauthn-json.browser-ponyfill.extended.js",
});

const { version } = JSON.parse(
  readFileSync(new URL("../package.json", import.meta.url)),
);
await build({
  entryPoints: ["src/bin/main.ts"],
  format: "esm",
  target: "es2019",
  bundle: true,
  sourcemap: true,
  define: { WEBAUTHN_JSON_VERSION: JSON.stringify(version) },
  banner: { js: "#!/usr/bin/env node" },
  outfile: "dist/bin/main.js",
});
chmod("dist/bin/main.js", 0o755);


text:
module Forms {

  export class SimpleFormConfig {

    public name = 'form';
    public method = 'post';

    // the name of the attribute in the scope which is the data to be edited
    public entity = 'entity';

    // the name of the full schema
    public schemaName = 'schema';

    // set to 'view' or 'create' for different modes
    public mode:string = 'edit';

    // the definition of the form
    public data:any = {};
    public json:any = undefined;

    // the scope
    public scope:any = null;

    // the name to look up in the scope for the configuration data
    public scopeName:string = null;

    public properties = [];
    public action = '';

    public formclass = 'hawtio-form form-horizontal no-bottom-margin';
    public controlgroupclass = 'control-group';
    public controlclass = 'controls';
    public labelclass = 'control-label';

    public showtypes = 'false';
    public showhelp = 'true';
    public showempty = 'true';

    public onsubmit = 'onSubmit';

    public getMode():string {
      return this.mode || "edit";
    }

    public getEntity() {
      return this.entity || "entity";
    }

    public isReadOnly() {
      return this.getMode() === "view";
    }
  }

  export class SimpleForm {
    public restrict = 'A';
    public scope = true;
    public replace = true;
    public transclude = true;

    private attributeName = 'simpleForm';

    // see constructor for why this is here...
    public link:(scope, element, attrs) => any;

    constructor(private workspace, public $compile) {
      // necessary to ensure 'this' is this object <sigh>
      this.link = (scope, element, attrs) => {
        return this.doLink(scope, element, attrs);
      }
    }

    public isReadOnly() {
      return false;
    }

    private doLink(scope, element, attrs) {
      var config = new SimpleFormConfig;

      var fullSchemaName = attrs["schema"];
      var fullSchema = fullSchemaName ? scope[fullSchemaName] : null;

      var compiledNode:any = null;
      var childScope:any = null;
      var tabs:any = null;
      var fieldset:any = null;
      var schema:any = null;
      var configScopeName = attrs[this.attributeName] || attrs["data"];

      var firstControl = null;

      var simple = this;
      scope.$watch(configScopeName, onWidgetDataChange);

      function onWidgetDataChange(scopeData) {
        if (scopeData) {
          onScopeData(scopeData);
        }
      }

      function onScopeData(scopeData) {
        config = configure(config, scopeData, attrs);
        config.schemaName = fullSchemaName;
        config.scopeName = configScopeName;
        config.scope = scope;

        var entityName = config.getEntity();

        if (angular.isDefined(config.json)) {
          config.data = $.parseJSON(config.json);
        } else {
          config.data = scopeData;
        }

        var form = simple.createForm(config);
        fieldset = form.find('fieldset');
        schema = config.data;
        tabs = {
          elements: {},
          locations: {},
          use: false
        };

        if (schema && angular.isDefined(schema.tabs)) {
          tabs.use = true;
          tabs['div'] = (<any>$)('

');

          angular.forEach(schema.tabs, function (value, key) {
            tabs.elements[key] = (<any>$)('

');
            tabs['div'].append(tabs.elements[key]);
            value.forEach(function (val) {
              tabs.locations[val] = key;
            });
          });

          if (!tabs.locations['*']) {
            tabs.locations['*'] = Object.extended(schema.tabs).keys()[0];
          }
        }

        if (!tabs.use) {
          fieldset.append('

');
        }

        if (schema) {
          // if we're using tabs lets reorder the properties...
          if (tabs.use) {
            var tabKeyToIdPropObject = {};
            angular.forEach(schema.properties, (property, id) => {
              var tabkey = findTabOrderValue(id);
              var array = tabKeyToIdPropObject[tabkey];
              if (!array) {
                array = [];
                tabKeyToIdPropObject[tabkey] = array;
              }
              array.push({id: id, property: property});
            });

            // now lets iterate through each tab...
            angular.forEach(schema.tabs, function (value, key) {
              value.forEach(function (val) {
                var array = tabKeyToIdPropObject[val];
                if (array) {
                  angular.forEach(array, (obj) => {
                    var id = obj.id;
                    var property = obj.property;
                    if (id && property) {
                      addProperty(id, property);
                    }
                  });
                }
              });
            });
          } else {
            angular.forEach(schema.properties, (property, id) => {
              addProperty(id, property);
            });
          }
        }

        if (tabs.use) {
          var tabDiv = tabs['div'];
          var tabCount = Object.keys(tabs.elements).length;
          if (tabCount < 2) {
            // if we only have 1 tab lets extract the div contents of the tab
            angular.forEach(tabDiv.children().children(), (control) => {
              fieldset.append(control);
            });
          } else {
            fieldset.append(tabDiv);
          }
        }

        var findFunction = function (scope, func) {
          if (angular.isDefined(scope[func]) && angular.isFunction(scope[func])) {
            return scope;
          }
          if (angular.isDefined(scope.$parent) && scope.$parent !== null) {
            return findFunction(scope.$parent, func);
          } else {
            return null;
          }
        };

        var onSubmitFunc = config.onsubmit.replace('(', '').replace(')', '');
        var onSubmit = maybeGet(findFunction(scope, onSubmitFunc), onSubmitFunc);

        if (onSubmit === null) {
          onSubmit = function (json, form) {
            log.info("No submit handler defined for form:", form.get(0).name)
          }
        }

        if (angular.isDefined(onSubmit)) {
          form.submit(() => {
            log.debug("child scope: ", childScope);
            log.debug("form name: ", config);
            if (childScope[config.name].$invalid) {
              return false;
            }
            var entity = scope[entityName];
            onSubmit(entity, form);
            return false;
          });
        }

        fieldset.append('<input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;">');

        // now lets try default an autofocus element onto the first item if we don't find any elements with an auto-focus
        var autoFocus = form.find("*[autofocus]");
        if (!autoFocus || !autoFocus.length) {
          if (firstControl) {
            console.log("No autofocus element, so lets add one!");
            var input = firstControl.find("input").first() || firstControl.find("select").first();
            if (input) {
              input.attr("autofocus", "true");
            }
          }
        }

        if (compiledNode) {
          (<any>$)(compiledNode).remove();
        }
        if (childScope) {
          childScope.$destroy();
        }
        childScope = scope.$new(false);

        compiledNode = simple.$compile(form)(childScope);

        // now lets expose the form object to the outer scope
        var formsScopeProperty = "forms";
        var forms = scope[formsScopeProperty];
        if (!forms) {
          forms = {};
          scope[formsScopeProperty] = forms;
        }
        var formName = config.name;
        if (formName) {
          var formObject = childScope[formName];
          if (formObject) {
            forms[formName] = formObject;
          }
          var formScope = formName += "$scope";
          forms[formScope] = childScope;
        }
        (<any>$)(element).append(compiledNode);

      }

      function findTabKey(id) {
        var tabkey = tabs.locations[id];
        if (!tabkey) {
          // lets try find a tab key using regular expressions
          angular.forEach(tabs.locations, (value, key) => {
            if (!tabkey && key !== "*" && id.match(key)) {
              tabkey = value;
            }
          });
        }
        if (!tabkey) {
          tabkey = tabs.locations['*'];
        }
        return tabkey;
      }

      function findTabOrderValue(id) {
        var answer:any = null;
        angular.forEach(schema.tabs, function (value, key) {
          value.forEach(function (val) {
            if (!answer && val !== "*" && id.match(val)) {
              answer = val;
            }
          });
        });
        if (!answer) {
          answer = '*';
        }
        return answer;
      }

      function addProperty(id, property, ignorePrefixInLabel = property.ignorePrefixInLabel) {
        // TODO should also support getting inputs from the template cache, maybe
        // for type="template"
        var propTypeName = property.type;
        // make sure we detect string as string
        if ("java.lang.String" === propTypeName) {
          propTypeName = "string";
        }
        var propSchema = Forms.lookupDefinition(propTypeName, schema);
        if (!propSchema) {
          propSchema = Forms.lookupDefinition(propTypeName, fullSchema);
        }
        var disableHumanizeLabel = schema ? schema.disableHumanizeLabel : false;

        // lets ignore fields marked as hidden from the generated form
        if (property.hidden) {
          return;
        }

        // special for expression (Apache Camel)
        if (property.kind === "expression") {
          propSchema = Forms.lookupDefinition("expression", fullSchema);

          // create 2 inputs, the 1st is the drop down with the languages
          // and then merge the 2 inputs together, which is a hack
          // but easier to do than change the complicated Forms.createWidget to do a widget with a selectbox + input
          var childId = id + ".language";
          var childId2 = id + ".expression";

          // for the 2nd input we need to use the information from the original property for title, description, required etc.
          var adjustedProperty = jQuery.extend(true, {}, propSchema.properties.expression);
          adjustedProperty.description = property.description;
          adjustedProperty.title = property.title;
          adjustedProperty.required = property.required;

          var input:JQuery = Forms.createWidget(propTypeName, propSchema.properties.language, schema, config, childId, ignorePrefixInLabel, configScopeName, true, disableHumanizeLabel);
          var input2:JQuery = Forms.createWidget(propTypeName, adjustedProperty, schema, config, childId2, ignorePrefixInLabel, configScopeName, true, disableHumanizeLabel);

          // move the selectbox from input to input2 as we want it to be on the same line
          var selectWidget = input.find("select");
          var inputWidget = input2.find("input");
          if (selectWidget && inputWidget) {
            // adjust the widght so the two inputs can be on the same line and have same combined length as the others (600px)
            selectWidget.attr("style", "width: 120px; margin-right: 10px");
            inputWidget.attr("style", "width: 470px");
            inputWidget.before(selectWidget);
          }

          fieldset.append(input2);
          return;
        }

        var nestedProperties = null;
        if (!propSchema && "object" === propTypeName && property.properties) {
          // if we've no type name but have nested properties on an object type use those
          nestedProperties = property.properties;
        } else if (propSchema && Forms.isObjectType(propSchema)) {
          // otherwise use the nested properties from the related schema type
          nestedProperties = propSchema.properties;
        }
        if (nestedProperties) {
          angular.forEach(nestedProperties, (childProp, childId) => {
            var newId = id + "." + childId;
            addProperty(newId, childProp, property.ignorePrefixInLabel);
          });
        } else {
          var wrapInGroup = true;
          var input = Forms.createWidget(propTypeName, property, schema, config, id, ignorePrefixInLabel, configScopeName, wrapInGroup, disableHumanizeLabel);

          if (tabs.use) {
            var tabkey = findTabKey(id);
            tabs.elements[tabkey].append(input);
          } else {
            fieldset.append(input);
          }
          if (!firstControl) {
            firstControl = input;
          }
        }
      }

      function maybeGet(scope, func) {
        if (scope !== null) {
          return scope[func];
        }
        return null;
      }
    }

    private createForm(config) {
      var form = (<any>$)('<form class="' + config.formclass + '" novalidate><fieldset></fieldset></form>');
      form.attr('name', config.name);
      form.attr('action', config.action);
      form.attr('method', config.method);
      form.find('fieldset').append(this.getLegend(config));
      return form;
    }

    private getLegend(config) {
      var description = Core.pathGet(config, "data.description");
      if (description) {
        return '<legend>' + description + '</legend>';
      }
      return '';
    }
  }

}


text:
// Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <stdint.h>
#include <string>
#include "base/values.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"

// Note: it is safe to use numbers after LastIPCMsgStart since that limit
// is not relevant for embedders. It is used only by a tool inside chrome/
// that we currently don't use.
// See also https://code.google.com/p/chromium/issues/detail?id=110911.
enum {
  XWalkExtensionMsgStart = LastIPCMsgStart + 1,
  XWalkExtensionClientServerMsgStart
};

#define IPC_MESSAGE_START XWalkExtensionMsgStart

IPC_MESSAGE_CONTROL1(XWalkExtensionProcessMsg_RegisterExtensions,  // NOLINT(*)
                     base::FilePath /* extensions path */)

IPC_MESSAGE_CONTROL1(XWalkExtensionProcessHostMsg_RenderProcessChannelCreated, // NOLINT(*)
                     IPC::ChannelHandle /* channel id */)

IPC_MESSAGE_CONTROL1(XWalkViewMsg_ExtensionProcessChannelCreated, // NOLINT(*)
                     IPC::ChannelHandle /* channel id */)

// We use a separated message class for Client<->Server communication
// to ease filtering.
#undef IPC_MESSAGE_START
#define IPC_MESSAGE_START XWalkExtensionClientServerMsgStart

IPC_MESSAGE_CONTROL2(XWalkExtensionClientMsg_RegisterExtension,  // NOLINT(*)
                     std::string /* extension */,
                     std::string /* JS API code for extension */)

IPC_MESSAGE_CONTROL2(XWalkExtensionServerMsg_CreateInstance,  // NOLINT(*)
                     int64_t /* instance id */,
                     std::string /* extension name */)

IPC_MESSAGE_CONTROL2(XWalkExtensionServerMsg_PostMessageToNative,  // NOLINT(*)
                     int64_t /* instance id */,
                     base::ListValue /* contents */)

IPC_MESSAGE_CONTROL2(XWalkExtensionClientMsg_PostMessageToJS,  // NOLINT(*)
                     int64_t /* instance id */,
                     base::ListValue /* contents */)

IPC_SYNC_MESSAGE_CONTROL2_1(XWalkExtensionServerMsg_SendSyncMessageToNative,  // NOLINT(*)
                            int64_t /* instance id */,
                            base::ListValue /* input contents */,
                            base::ListValue /* output contents */)

IPC_MESSAGE_CONTROL1(XWalkExtensionServerMsg_DestroyInstance,  // NOLINT(*)
                     int64_t /* instance id */)

IPC_MESSAGE_CONTROL1(XWalkExtensionClientMsg_InstanceDestroyed,  // NOLINT(*)
                     int64_t /* instance id */)


text:
%title: Navegação
%author: segunda.tech
%date: 2020-04-25

-> # Conhecendo o editor de textos vim <-

-------------------------------------------------

-> Como navegar de forma mais eficiente <-

-> Conhecendo os comandos W, B, E, gE <-

-> Diferença entre word e WORD <-

-------------------------------------------------

-> Resumo <-

*W*  - move cursor para início da próxima PALAVRA
*B*  - move cursor para início da PALAVRA anterior
*E*  - move cursor para final da próxima PALAVRA
*gE* - move cursor para final da PALAVRA anterior

-> word é menor que WORD <-

-------------------------------------------------

-> marcio@segunda.tech <-

-> *https://segunda.tech* <-


text:
import got from 'got';
import registryUrl from 'registry-url';

const get = async (keyword, {size = 250} = {}) => {
	if (typeof keyword !== 'string' && !Array.isArray(keyword)) {
		throw new TypeError('The keyword must be either a string or an array of strings');
	}

	if (size === 0 || size > 250) {
		throw new TypeError('The `size` option must be in the range 1...250');
	}

	keyword = encodeURIComponent(keyword).replace('%2C', '+');

	const url = `${registryUrl()}-/v1/search?text=keywords:${keyword}&size=${size}`;

	return got(url).json();
};

export default async function npmKeyword(keyword, options) {
	const {objects} = await get(keyword, options);

	return objects.map(element => ({
		name: element.package.name,
		description: element.package.description,
	}));
}

npmKeyword.names = async (keyword, options) => {
	const {objects} = await get(keyword, options);
	return objects.map(element => element.package.name);
};

npmKeyword.count = async keyword => {
	const {total} = await get(keyword, {size: 1});
	return total;
};


text:
package garbagecollector

import (
	"fmt"
	"sync"

	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/types"
)

type objectReference struct {
	metav1.OwnerReference
	// This is needed by the dynamic client
	Namespace string
}

func (s objectReference) String() string {
	return fmt.Sprintf("[%s/%s, namespace: %s, name: %s, uid: %s]", s.APIVersion, s.Kind, s.Namespace, s.Name, s.UID)
}

// The single-threaded GraphBuilder.processGraphChanges() is the sole writer of the
// nodes. The multi-threaded GarbageCollector.attemptToDeleteItem() reads the nodes.
// WARNING: node has different locks on different fields. setters and getters
// use the respective locks, so the return values of the getters can be
// inconsistent.
type node struct {
	identity objectReference
	// dependents will be read by the orphan() routine, we need to protect it with a lock.
	dependentsLock sync.RWMutex
	// dependents are the nodes that have node.identity as a
	// metadata.ownerReference.
	dependents map[*node]struct{}
	// this is set by processGraphChanges() if the object has non-nil DeletionTimestamp
	// and has the FinalizerDeleteDependents.
	deletingDependents     bool
	deletingDependentsLock sync.RWMutex
	// this records if the object's deletionTimestamp is non-nil.
	beingDeleted     bool
	beingDeletedLock sync.RWMutex
	// this records if the object was constructed virtually and never observed via informer event
	virtual     bool
	virtualLock sync.RWMutex
	// when processing an Update event, we need to compare the updated
	// ownerReferences with the owners recorded in the graph.
	owners []metav1.OwnerReference
}

// An object is on a one way trip to its final deletion if it starts being
// deleted, so we only provide a function to set beingDeleted to true.
func (n *node) markBeingDeleted() {
	n.beingDeletedLock.Lock()
	defer n.beingDeletedLock.Unlock()
	n.beingDeleted = true
}

func (n *node) isBeingDeleted() bool {
	n.beingDeletedLock.RLock()
	defer n.beingDeletedLock.RUnlock()
	return n.beingDeleted
}

func (n *node) markObserved() {
	n.virtualLock.Lock()
	defer n.virtualLock.Unlock()
	n.virtual = false
}
func (n *node) isObserved() bool {
	n.virtualLock.RLock()
	defer n.virtualLock.RUnlock()
	return !n.virtual
}

func (n *node) markDeletingDependents() {
	n.deletingDependentsLock.Lock()
	defer n.deletingDependentsLock.Unlock()
	n.deletingDependents = true
}

func (n *node) isDeletingDependents() bool {
	n.deletingDependentsLock.RLock()
	defer n.deletingDependentsLock.RUnlock()
	return n.deletingDependents
}

func (n *node) addDependent(dependent *node) {
	n.dependentsLock.Lock()
	defer n.dependentsLock.Unlock()
	n.dependents[dependent] = struct{}{}
}

func (n *node) deleteDependent(dependent *node) {
	n.dependentsLock.Lock()
	defer n.dependentsLock.Unlock()
	delete(n.dependents, dependent)
}

func (n *node) dependentsLength() int {
	n.dependentsLock.RLock()
	defer n.dependentsLock.RUnlock()
	return len(n.dependents)
}

// Note that this function does not provide any synchronization guarantees;
// items could be added to or removed from ownerNode.dependents the moment this
// function returns.
func (n *node) getDependents() []*node {
	n.dependentsLock.RLock()
	defer n.dependentsLock.RUnlock()
	var ret []*node
	for dep := range n.dependents {
		ret = append(ret, dep)
	}
	return ret
}

// blockingDependents returns the dependents that are blocking the deletion of
// n, i.e., the dependent that has an ownerReference pointing to n, and
// the BlockOwnerDeletion field of that ownerReference is true.
// Note that this function does not provide any synchronization guarantees;
// items could be added to or removed from ownerNode.dependents the moment this
// function returns.
func (n *node) blockingDependents() []*node {
	dependents := n.getDependents()
	var ret []*node
	for _, dep := range dependents {
		for _, owner := range dep.owners {
			if owner.UID == n.identity.UID && owner.BlockOwnerDeletion != nil && *owner.BlockOwnerDeletion {
				ret = append(ret, dep)
			}
		}
	}
	return ret
}

// String renders node as a string using fmt. Acquires a read lock to ensure the
// reflective dump of dependents doesn't race with any concurrent writes.
func (n *node) String() string {
	n.dependentsLock.RLock()
	defer n.dependentsLock.RUnlock()
	return fmt.Sprintf("%#v", n)
}

type concurrentUIDToNode struct {
	uidToNodeLock sync.RWMutex
	uidToNode     map[types.UID]*node
}

func (m *concurrentUIDToNode) Write(node *node) {
	m.uidToNodeLock.Lock()
	defer m.uidToNodeLock.Unlock()
	m.uidToNode[node.identity.UID] = node
}

func (m *concurrentUIDToNode) Read(uid types.UID) (*node, bool) {
	m.uidToNodeLock.RLock()
	defer m.uidToNodeLock.RUnlock()
	n, ok := m.uidToNode[uid]
	return n, ok
}

func (m *concurrentUIDToNode) Delete(uid types.UID) {
	m.uidToNodeLock.Lock()
	defer m.uidToNodeLock.Unlock()
	delete(m.uidToNode, uid)
}


text:
<?php
namespace Light\ObjectAccess\TestData;

use Light\ObjectAccess\Type\Util\DefaultComplexType;
use Light\ObjectAccess\Type\Util\DefaultProperty;

class Post
{
	/** @var integer */
	private $id;
	/** @var Author */
	private $author;
	private $title;
	private $text;

	/**
	 * @return int
	 */
	public function getId()
	{
		return $this->id;
	}

	/**
	 * @param int $id
	 */
	public function setId($id)
	{
		$this->id = $id;
	}

	/**
	 * @return Author
	 */
	public function getAuthor()
	{
		return $this->author;
	}

	/**
	 * @param Author $author
	 */
	public function setAuthor(Author $author)
	{
		$this->author = $author;
	}

	/**
	 * @return mixed
	 */
	public function getTitle()
	{
		return $this->title;
	}

	/**
	 * @param mixed $title
	 */
	public function setTitle($title)
	{
		$this->title = $title;
	}

	/**
	 * @return mixed
	 */
	public function getText()
	{
		return $this->text;
	}

	/**
	 * @param mixed $text
	 */
	public function setText($text)
	{
		$this->text = $text;
	}

	/**
	 * @return DefaultComplexType
	 */
	public static function createType()
	{
		return new PostType();
	}
}


text: Live example at [http://el-aventurero.herokuapp.com](http://el-aventurero.herokuapp.com)


text:
SDLAirbagStatus Class Reference

Section Contents

driverAirbagDeployed

driverSideAirbagDeployed

driverCurtainAirbagDeployed

passengerAirbagDeployed

passengerCurtainAirbagDeployed

driverKneeAirbagDeployed

passengerSideAirbagDeployed

passengerKneeAirbagDeployed

Overview

Undocumented

      driverAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus driverAirbagDeployed

Swift

var driverAirbagDeployed: SDLVehicleDataEventStatus { get set }

      driverSideAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus driverSideAirbagDeployed

Swift

var driverSideAirbagDeployed: SDLVehicleDataEventStatus { get set }

      driverCurtainAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus driverCurtainAirbagDeployed

Swift

var driverCurtainAirbagDeployed: SDLVehicleDataEventStatus { get set }

      passengerAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus passengerAirbagDeployed

Swift

var passengerAirbagDeployed: SDLVehicleDataEventStatus { get set }

      passengerCurtainAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus passengerCurtainAirbagDeployed

Swift

var passengerCurtainAirbagDeployed: SDLVehicleDataEventStatus { get set }

      driverKneeAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus driverKneeAirbagDeployed

Swift

var driverKneeAirbagDeployed: SDLVehicleDataEventStatus { get set }

      passengerSideAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus passengerSideAirbagDeployed

Swift

var passengerSideAirbagDeployed: SDLVehicleDataEventStatus { get set }

      passengerKneeAirbagDeployed

Undocumented

Objective-C

@property (strong, nonatomic) SDLVehicleDataEventStatus passengerKneeAirbagDeployed

Swift

var passengerKneeAirbagDeployed: SDLVehicleDataEventStatus { get set }


text:
:: TODO: use windeployqt

copy /y %QTDIR%\bin\av*.dll bin
copy /y %QTDIR%\bin\sw*.dll bin
if exist %QTDIR%\bin\ass.dll copy /y %QTDIR%\bin\ass.dll bin
if exist %QTDIR%\bin\libass.dll copy /y %QTDIR%\bin\libass.dll bin
if exist %QTDIR%\bin\po*.dll copy /y %QTDIR%\bin\po*.dll bin
if exist %QTDIR%\bin\msvc*.dll copy /y %QTDIR%\bin\msvc*.dll bin
if exist %QTDIR%\bin\OpenAL32*.dll copy /y %QTDIR%\bin\OpenAL32*.dll bin
if exist %QTDIR%\bin\OpenAL32-%cc%.dll copy /y %QTDIR%\bin\OpenAL32-%cc%.dll bin\OpenAL32.dll
if exist bin\OpenAL32-*.dll del bin\OpenAL32-*.dll
if exist %QTDIR%\bin\D3DCompiler_*.dll copy /y %QTDIR%\bin\D3DCompiler_*.dll bin
:: libEGL, GLESv2, gcc_s_dw2-1, stdc++-6, winpthread-1
if exist %QTDIR%\bin\lib*.dll copy /y %QTDIR%\bin\lib*.dll bin

echo [Paths] > bin\qt.conf
echo Prefix=. >> bin\qt.conf

if "%mode%" == "debug" (
  if exist bin\libEGL*.dll del bin\libEGL*.dll
  if exist bin\libGLESv2*.dll del bin\libGLESv2*.dll
) else (
  if exist %QTDIR%\qml\QtQuick.2 xcopy /syi %QTDIR%\qml\QtQuick.2 bin\qml\QtQuick.2 > NUL
  if exist %QTDIR%\plugins\platforms xcopy /syi %QTDIR%\plugins\platforms bin\plugins\platforms > NUL
  if exist %QTDIR%\plugins\imageformats xcopy /syi %QTDIR%\plugins\imageformats bin\plugins\imageformats > NUL
  if exist %QTDIR%\plugins\iconengines xcopy /syi %QTDIR%\plugins\iconengines bin\plugins\iconengines > NUL
  if exist %QTDIR%\plugins\sqldrivers xcopy /syi %QTDIR%\plugins\sqldrivers bin\plugins\sqldrivers > NUL
  if exist %QTDIR%\qml\Qt xcopy /syi %QTDIR%\qml\Qt bin\qml\Qt > NUL
  if exist %QTDIR%\qml\QtQml xcopy /syi %QTDIR%\qml\QtQml bin\qml\QtQml > NUL
  if exist %QTDIR%\qml\QtQuick xcopy /syi %QTDIR%\qml\QtQuick bin\qml\QtQuick > NUL
  if exist %QTDIR%\bin\Qt5Core.dll copy /y %QTDIR%\bin\Qt5Core.dll bin
  if exist %QTDIR%\bin\Qt5Gui.dll copy /y %QTDIR%\bin\Qt5Gui.dll bin
  if exist %QTDIR%\bin\Qt5OpenGL.dll copy /y %QTDIR%\bin\Qt5OpenGL.dll bin
  if exist %QTDIR%\bin\Qt5Sql.dll copy /y %QTDIR%\bin\Qt5Sql.dll bin
  if exist %QTDIR%\bin\Qt5Svg.dll copy /y %QTDIR%\bin\Qt5Svg.dll bin
  if exist %QTDIR%\bin\Qt5Widgets.dll copy /y %QTDIR%\bin\Qt5Widgets.dll bin
  if exist %QTDIR%\bin\Qt5Network.dll copy /y %QTDIR%\bin\Qt5Network.dll bin
  if exist %QTDIR%\bin\Qt5Qml.dll copy /y %QTDIR%\bin\Qt5Qml.dll bin
  if exist %QTDIR%\bin\Qt5Quick.dll copy /y %QTDIR%\bin\Qt5Quick.dll bin
  echo deleting debug files
  if exist bin\lib*GL*d.dll del bin\lib*GL*d.dll
:: delete debug dlls. assume no *dd.dll
  forfiles /S /M *d.dll /P bin /C "cmd /C del @path"
  forfiles /S /M *.pdb /P bin /C "cmd /C del @path"
)
dir bin
xcopy /syi tools\install_sdk\mkspecs mkspecs
copy /y ..\qtc_packaging\ifw\packages\com.qtav.product.dev\data\sdk_deploy.bat .
copy /y ..\qtc_packaging\ifw\packages\com.qtav.product.player\data\*.bat .
xcopy /syi ..\src\QtAV include\QtAV
xcopy /syi ..\widgets\QtAVWidgets include\QtAVWidgets
move lib_* lib_
if exist lib_\*AV*.lib xcopy /syi lib_\*AV*.lib lib
if exist lib_\*AV*.a xcopy /syi lib_\*AV*.a lib
7z a %APPVEYOR_BUILD_FOLDER%\QtAV-Qt%qt%-%cc%%arch%-%mode%-%APPVEYOR_REPO_COMMIT:~0,7%.7z bin lib include mkspecs sdk_deploy.bat install.bat uninstall.bat > NUL


text:
package com.asofdate.hauth.service;

import com.asofdate.hauth.dto.AuthDto;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by hzwy23 on 2017/6/19.
 */
public interface AuthService {
    AuthDto domainAuth(HttpServletRequest request, String domainId, String mode);
}


text:
package org.apache.ignite.internal.util.lang.gridfunc;

import java.util.UUID;
import org.apache.ignite.internal.util.typedef.internal.S;
import org.apache.ignite.lang.IgnitePredicate;

/**
 * UUID equals predicate.
 */
public class EqualsUuidPredicate implements IgnitePredicate<UUID> {
    /** */
    private static final long serialVersionUID = -5664060422647374863L;

    /** */
    private final UUID nodeId;

    /**
     * @param nodeId Node ID for which returning predicate will evaluate to {@code true}.
     */
    public EqualsUuidPredicate(UUID nodeId) {
        this.nodeId = nodeId;
    }

    /** {@inheritDoc} */
    @Override public boolean apply(UUID id) {
        return id.equals(nodeId);
    }

    /** {@inheritDoc} */
    @Override public String toString() {
        return S.toString(EqualsUuidPredicate.class, this);
    }
}


text:
class Station::Facility::Platform::BarrierFreeFacilityInfo < ActiveRecord::Base
  belongs_to :platform_info , class: ::Station::Facility::Platform::Info
  belongs_to :barrier_free_facility_info , class: ::BarrierFreeFacility::Info
end


text:
package scalismo.mesh.kdtree

import scalismo.geometry.{NDSpace, Point}

import scala.annotation.tailrec

/**
 * DimensionalOrdering is a trait whose instances each represent a strategy for ordering instances
 * of a multidimensional type by a projection on a given dimension.
 */
private[scalismo] trait DimensionalOrdering[A] {

  /** How many dimensions type A has. */
  def dimensions: Int

  /**
   * Returns an integer whose sign communicates how x's projection on a given dimension compares
   * to y's.
   *
   * Denote the projection of x and y on `dimension` by x' and y' respectively. The result sign has
   * the following meaning:
   *
   * - negative if x' < y'
   * - positive if x' > y'
   * - zero if x' == y'
   */
  def compareProjection(dimension: Int)(x: A, y: A): Int

  /**
   * Returns an Ordering of A in which the given dimension is the primary ordering criteria.
   * If x and y have the same projection on that dimension, then they are compared on the lowest
   * dimension that is different.
   */
  def orderingBy(dimension: Int): Ordering[A] = new Ordering[A] {
    def compare(x: A, y: A): Int = {
      @tailrec
      def compare0(cd: Int): Int = {
        if (cd == dimensions) 0
        else {
          val c = compareProjection(cd)(x, y)
          if (c != 0) c
          else compare0(cd + 1)
        }
      }

      compareProjection(dimension)(x, y) match {
        case t if t != 0 => t
        case 0           => compare0(0)
      }
    }
  }
}

private[scalismo] object DimensionalOrdering {
  def dimensionalOrderingForTuple[T <: Product, A](dim: Int)(implicit ord: Ordering[A]) =
    new DimensionalOrdering[T] {
      val dimensions = dim
      def compareProjection(d: Int)(x: T, y: T) =
        ord.compare(x.productElement(d).asInstanceOf[A], y.productElement(d).asInstanceOf[A])
    }

  implicit def dimensionalOrderingForPoint[D: NDSpace]: DimensionalOrdering[Point[D]] =
    new DimensionalOrdering[Point[D]] {
      val dimensions = implicitly[NDSpace[D]].dimensionality
      def compareProjection(d: Int)(x: Point[D], y: Point[D]) =
        Ordering[Double].compare(x(d), y(d))
    }

  //}

  implicit def dimensionalOrderingForTuple2[A](implicit ord: Ordering[A]): DimensionalOrdering[(A, A)] =
    dimensionalOrderingForTuple[(A, A), A](2)

  implicit def dimensionalOrderingForTuple3[A](implicit ord: Ordering[A]): DimensionalOrdering[(A, A, A)] =
    dimensionalOrderingForTuple[(A, A, A), A](3)

  implicit def dimensionalOrderingForTuple4[A](implicit ord: Ordering[A]): DimensionalOrdering[(A, A, A, A)] =
    dimensionalOrderingForTuple[(A, A, A, A), A](4)

  implicit def dimensionalOrderingForTuple5[A](implicit ord: Ordering[A]): DimensionalOrdering[(A, A, A, A, A)] =
    dimensionalOrderingForTuple[(A, A, A, A, A), A](5)

}


text:
package com.github.cocagne.composable_paxos.tests

import org.scalatest._

import com.github.cocagne.composable_paxos._

class LearnerSuite extends FunSuite with Matchers {

  test("Basic resolution") {
    val l = new Learner[String]("a",2)
    assert(l.quorumSize == 2)
    l.finalValue should be (None)

    l.receive( Accepted("a",ProposalID(1,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("b",ProposalID(1,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("a","b"))
  }

  test("Ignore messages after resolution"){
    val l = new Learner[String]("a",2)

    l.receive( Accepted("a",ProposalID(1,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("b",ProposalID(1,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("a","b"))

    l.receive( Accepted("b",ProposalID(5,"a"), "BAR" )) should be (Some(Resolution("a", "foo")))
    l.receive( Accepted("c",ProposalID(5,"a"), "BAR" )) should be (Some(Resolution("a", "foo")))

    l.finalAcceptors should be (Set("a","b"))
  }

  test("Accumulate acceptors after resolution"){
    val l = new Learner[String]("a",2)

    l.receive( Accepted("a",ProposalID(1,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("b",ProposalID(1,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("a","b"))

    l.receive( Accepted("c",ProposalID(1,"a"), "foo" )) should be (Some(Resolution("a", "foo")))

    l.finalAcceptors should be (Set("a","b","c"))
  }

  test("Ignore duplicate messages") {
    val l = new Learner[String]("a",2)

    l.receive( Accepted("a",ProposalID(1,"a"), "foo" )) should be (None)
    l.receive( Accepted("a",ProposalID(1,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("b",ProposalID(1,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("a","b"))
  }

  test("Ignore old messages") {
    val l = new Learner[String]("a",2)

    l.receive( Accepted("a",ProposalID(5,"a"), "foo" )) should be (None)
    l.receive( Accepted("a",ProposalID(1,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("b",ProposalID(5,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("a","b"))
  }

  test("New proposal removes acceptor from set but still resolves") {
    val l = new Learner[String]("a",3)

    l.receive( Accepted("a",ProposalID(5,"a"), "foo" )) should be (None)
    l.receive( Accepted("b",ProposalID(5,"a"), "foo" )) should be (None)
    l.receive( Accepted("a",ProposalID(6,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("c",ProposalID(5,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("b","c"))
  }

  test("Resolve with mixed proposal versions") {
    val l = new Learner[String]("a",2)

    l.receive( Accepted("a",ProposalID(5,"a"), "foo" )) should be (None)
    l.receive( Accepted("b",ProposalID(1,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("c",ProposalID(1,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("b","c"))
  }

  test("Overwrite old messages") {
    val l = new Learner[String]("a",2)

    l.receive( Accepted("a",ProposalID(1,"a"), "foo" )) should be (None)
    l.receive( Accepted("b",ProposalID(5,"a"), "foo" )) should be (None)
    l.finalValue should be (None)

    l.receive( Accepted("a",ProposalID(5,"a"), "foo" )) should be (Some(Resolution("a", "foo")))
    l.finalValue should be (Some("foo"))
    l.finalAcceptors should be (Set("a","b"))
  }
}


text:
require 'test_helper'

class PuretTest < ActiveSupport::TestCase
  def setup
    setup_db
    I18n.locale = I18n.default_locale = :en
    Post.create(:title => 'English title')
  end

  def teardown
    teardown_db
  end

  test "database setup" do
    assert_equal 1, Post.count
  end

  test "allow translation" do
    I18n.locale = :de
    Post.first.update_attribute :title, 'Deutscher Titel'
    assert_equal 'Deutscher Titel', Post.first.title
    I18n.locale = :en
    assert_equal 'English title', Post.first.title
  end

  test "assert fallback to default locale" do
    post = Post.first
    I18n.locale = :sv
    post.title = 'Svensk titel'
    I18n.locale = :en
    assert_equal 'English title', post.title
    I18n.locale = :de
    assert_equal 'English title', post.title
  end

  test "assert fallback to saved default locale defined on instance" do
    post = Post.first
    def post.default_locale() :sv; end
    assert_equal :sv, post.puret_default_locale
    I18n.locale = :sv
    post.title = 'Svensk titel'
    post.save!
    I18n.locale = :en
    assert_equal 'English title', post.title
    I18n.locale = :de
    assert_equal 'Svensk titel', post.title
  end

  test "assert fallback to saved default locale defined on class level" do
    post = Post.first
    def Post.default_locale() :sv; end
    assert_equal :sv, post.puret_default_locale
    I18n.locale = :sv
    post.title = 'Svensk titel'
    post.save!
    I18n.locale = :en
    assert_equal 'English title', post.title
    I18n.locale = :de
    assert_equal 'Svensk titel', post.title
  end

  test "post has_many translations" do
    assert_equal PostTranslation, Post.first.translations.first.class
  end

  test "translations are deleted when parent is destroyed" do
    I18n.locale = :de
    Post.first.update_attribute :title, 'Deutscher Titel'
    assert_equal 2, PostTranslation.count

    Post.destroy_all
    assert_equal 0, PostTranslation.count
  end

  test 'validates_presence_of should work' do
    post = Post.new
    assert_equal false, post.valid?

    post.title = 'English title'
    assert_equal true, post.valid?
  end

  test 'temporary locale switch should not clear changes' do
    I18n.locale = :de
    post = Post.first
    post.text = 'Deutscher Text'
    assert !post.title.blank?
    assert_equal 'Deutscher Text', post.text
  end

  test 'temporary locale switch should work like expected' do
    post = Post.new
    post.title = 'English title'
    I18n.locale = :de
    post.title = 'Deutscher Titel'
    post.save
    assert_equal 'Deutscher Titel', post.title
    I18n.locale = :en
    assert_equal 'English title', post.title
  end

  test 'translation model should validate presence of model' do
    t = PostTranslation.new
    t.valid?
    assert_not_nil t.errors[:post]
  end

  test 'translation model should validate presence of locale' do
    t = PostTranslation.new
    t.valid?
    assert_not_nil t.errors[:locale]
  end

  test 'translation model should validate uniqueness of locale in model scope' do
    post = Post.first
    t1 = PostTranslation.new :post => post, :locale => "de"
    t1.save!
    t2 = PostTranslation.new :post => post, :locale => "de"
    assert_not_nil t2.errors[:locale]
  end

  test 'model should provide attribute_before_type_cast' do
    assert_equal Post.first.title, Post.first.title_before_type_cast
  end
end


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

<title>org.apache.catalina.startup Class Hierarchy (Apache Tomcat 8.0.14 API Documentation)</title>
<meta name="date" content="2014-09-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Overview

Package

Class

Tree

Deprecated

Index

Help

Apache Tomcat 8.0.14

Prev

Next

Frames

No Frames

All Classes

Hierarchy For Package org.apache.catalina.startup

Package Hierarchies:

All Packages

Class Hierarchy

java.lang.Object

org.apache.catalina.startup.Bootstrap

org.apache.catalina.startup.Catalina

org.apache.catalina.startup.CatalinaProperties

org.apache.catalina.startup.ClassLoaderFactory

org.apache.catalina.startup.ClassLoaderFactory.Repository

org.apache.catalina.startup.Constants

org.apache.catalina.startup.ContextConfig (implements org.apache.catalina.LifecycleListener)

org.apache.catalina.startup.EngineConfig (implements org.apache.catalina.LifecycleListener)

org.apache.catalina.startup.ExpandWar

org.apache.catalina.startup.HomesUserDatabase (implements org.apache.catalina.startup.UserDatabase)

org.apache.catalina.startup.HostConfig (implements org.apache.catalina.LifecycleListener)

org.apache.catalina.startup.HostConfig.DeployedApplication

org.apache.catalina.util.LifecycleBase (implements org.apache.catalina.Lifecycle)

org.apache.catalina.util.LifecycleMBeanBase (implements org.apache.catalina.JmxEnabled)

org.apache.catalina.core.ContainerBase (implements org.apache.catalina.Container)

org.apache.catalina.core.StandardWrapper (implements javax.management.NotificationEmitter, javax.servlet.ServletConfig, org.apache.catalina.Wrapper)

org.apache.catalina.startup.Tomcat.ExistingStandardWrapper

org.apache.catalina.startup.FailedContext (implements org.apache.catalina.Context)

org.apache.catalina.startup.PasswdUserDatabase (implements org.apache.catalina.startup.UserDatabase)

org.apache.tomcat.util.digester.Rule

org.apache.catalina.startup.ConnectorCreateRule

org.apache.catalina.startup.CopyParentClassLoaderRule

org.apache.catalina.startup.LifecycleListenerRule

org.apache.catalina.startup.SetAllPropertiesRule

org.apache.catalina.startup.SetContextPropertiesRule

org.apache.catalina.startup.SetNextNamingRule

org.apache.tomcat.util.digester.RuleSetBase (implements org.apache.tomcat.util.digester.RuleSet)

org.apache.catalina.startup.ContextRuleSet

org.apache.catalina.startup.EngineRuleSet

org.apache.catalina.startup.HostRuleSet

org.apache.catalina.startup.NamingRuleSet

org.apache.catalina.startup.RealmRuleSet

java.lang.Thread (implements java.lang.Runnable)

org.apache.catalina.startup.Catalina.CatalinaShutdownHook

org.apache.catalina.startup.Tomcat

org.apache.catalina.startup.Tomcat.DefaultWebXmlListener (implements org.apache.catalina.LifecycleListener)

org.apache.catalina.startup.Tomcat.FixContextListener (implements org.apache.catalina.LifecycleListener)

org.apache.catalina.startup.Tool

org.apache.catalina.startup.UserConfig (implements org.apache.catalina.LifecycleListener)

org.apache.catalina.startup.VersionLoggerListener (implements org.apache.catalina.LifecycleListener)

org.apache.catalina.startup.WebAnnotationSet

org.apache.catalina.startup.WebappServiceLoader<T>

Interface Hierarchy

org.apache.catalina.startup.UserDatabase

Enum Hierarchy

java.lang.Object

java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)

org.apache.catalina.startup.ClassLoaderFactory.RepositoryType

Overview

Package

Class

Tree

Deprecated

Index

Help

Apache Tomcat 8.0.14

Prev

Next

Frames

No Frames

All Classes

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.


text:
package org.apereo.cas.adaptors.yubikey.dao;

import org.apereo.cas.adaptors.yubikey.YubiKeyAccount;
import org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator;
import org.apereo.cas.adaptors.yubikey.YubiKeyDeviceRegistrationRequest;
import org.apereo.cas.adaptors.yubikey.YubiKeyRegisteredDevice;
import org.apereo.cas.adaptors.yubikey.registry.BaseYubiKeyAccountRegistry;
import org.apereo.cas.couchdb.yubikey.CouchDbYubiKeyAccount;
import org.apereo.cas.couchdb.yubikey.YubiKeyAccountCouchDbRepository;

import lombok.val;

import java.util.Arrays;
import java.util.Collection;
import java.util.stream.Collectors;

/**
 * This is {@link CouchDbYubiKeyAccountRegistry}.
 *
 * @author Timur Duehr
 * @since 6.0.0
 */
public class CouchDbYubiKeyAccountRegistry extends BaseYubiKeyAccountRegistry {
    private final YubiKeyAccountCouchDbRepository couchDb;

    public CouchDbYubiKeyAccountRegistry(final YubiKeyAccountValidator accountValidator,
                                         final YubiKeyAccountCouchDbRepository couchDb) {
        super(accountValidator);
        this.couchDb = couchDb;
    }

    @Override
    public YubiKeyAccount save(final YubiKeyDeviceRegistrationRequest request,
                               final YubiKeyRegisteredDevice... device) {
        val account = CouchDbYubiKeyAccount.builder()
            .username(request.getUsername())
            .devices(Arrays.stream(device).collect(Collectors.toList()))
            .build();
        couchDb.add(account);
        return account;
    }

    @Override
    public boolean update(final YubiKeyAccount account) {
        couchDb.update(CouchDbYubiKeyAccount.class.cast(account));
        return true;
    }

    @Override
    public Collection<? extends YubiKeyAccount> getAccountsInternal() {
        return couchDb.getAll();
    }

    @Override
    public YubiKeyAccount getAccountInternal(final String uid) {
        return couchDb.findByUsername(uid);
    }

    @Override
    public void delete(final String uid) {
        val account = couchDb.findByUsername(uid);
        if (account != null) {
            couchDb.remove(account);
        }
    }

    @Override
    public void delete(final String username, final long deviceId) {
        couchDb.remove(username, deviceId);
    }

    @Override
    public void deleteAll() {
        couchDb.removeAll();
    }
}


text:
module.exports = toSessionId

function toSessionId (request) {
  if (!request.headers.authorization) {
    return ''
  }

  return request.headers.authorization.substr(8)
}


text:
edapack
=======

EDAPack provides a simple way to install and manage EDA tools, along with a packaged collection of open source EDA tools. This project (edapack) provides the base software needed to install and manage other tool installations. Other projects under the EDAPack GitHub organization provide the specific tool builds.

# Installing
Install the EDAPack base tools by downloading the latest release from GitHub. Extract the .tar.gz file.

# Environment Setup
Source <edapack>/etc/edapack.sh to configure the environment. This adds the 'edapack' command to your path, and configures Environment Modules.

# Installing Tools
Run 'edapack avail' to list the packages that are available to install.
Run 'edapack install <pkg>' will download and install one of the packages shown by 'edapack avail'

# Enable Tools
Configuring tools in the environment is done via the 'module' command. 'module avail' lists tools and tool versions that can be added to the environment. 'module load <tool/version>' enables a specific tool. The most-recent installed tool version can always be enabled by loading <tool>/latest. To load the latest version of Verilator, for example, 'module load verilator/latest'.


text:
/*
 * Web Starter Kit
 *
 * Multi-screen layout styles for your page. Brought to you by the
 * Web Starter Kit team.
 *
 */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  font-family: 'Roboto Condensed', 'Helvetica', 'Arial', sans-serif;
  font-weight: 300;
  background-color: #FFFFFF;
  box-sizing: border-box;
  min-height: 100%;
}

body.open {
  overflow: hidden;
}

.app-bar {
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #4285f4;
  overflow: hidden;
  z-index: 1;
}

.app-bar-container {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 60px;
  position: relative;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  margin: 0 auto;
}

.app-bar.open,
.app-bar.open ~ main {
  -webkit-transform: translate(250px, 0);
          transform: translate(250px, 0);
}

.app-bar .logo {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 2em;
  line-height: 60px;
  margin: 0 16px;
  padding: 0;
  color: #fefefe;
  float: none;
  max-width: none;
  font-weight: 300;
  line-height: 60px;
}

.app-bar .logo a {
  text-decoration: none;
  color: inherit;
  font-weight: normal;
}

.app-bar-actions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  z-index: 2;
}

.app-bar button {
  width: 60px;
  height: 60px;
  background-image: none;
  background-color: transparent;
  border: none;
  padding: 0;
  -webkit-transition: background-color 0.2s ease-out;
          transition: background-color 0.2s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.app-bar button img {
  width: 60px;
  height: 60px;
}
.app-bar button svg {
  width: 60px;
  height: 60px;
}

.app-bar button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.app-bar button:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: 0;
}

.app-bar button:active {
  background-color: rgba(255, 255, 255, 0.4);
}

button.menu img {
  height:24px;
  width: 24px;
}

.promote-layer {
  /*
  This may promote the layer to a composited
  layer.

  Replace with will-change when available

  #perfmatters
  */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.base, p, ul, ol {
  font-size: 19px;
}

.navdrawer-container {
  z-index: 1;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 250px;
  height: 100%;
  background-color: #3367D6;
  color: #fefefe;
  -webkit-transform: translate(-250px, 0);
          transform: translate(-250px, 0);
  overflow-y: auto;
}

.navdrawer-container.open {
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
}

.app-bar, .navdrawer-container, main {
  -webkit-transition: -webkit-transform 0.3s ease-out;
          transition: transform 0.3s ease-out;
}

.navdrawer-container h4,
.navdrawer-container ul li a {
  height: auto;
  padding: 17px 20px;
  line-height: 1.4;
}

.navdrawer-container h4 {
  background-color: white;
  color: #3367D6;
}

.navdrawer-container ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.navdrawer-container ul li a {
  display: block;
  text-decoration: none;
  color: white;
  -webkit-transition: background-color 0.2s ease-out;
          transition: background-color 0.2s ease-out;
  white-space: nowrap;
}

.navdrawer-container ul li {
  border-bottom-style: solid;
  border-width: 1px;
  border-color: white;
  padding: 0;
}

.navdrawer-container ul li::before {
  content: none;
}

.navdrawer-container ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.navdrawer-container ul li a:focus {
  background-color: rgba(255, 255, 255, 0.3);
  outline: 0;
}

.navdrawer-container ul li a:active {
  background-color: rgba(255, 255, 255, 0.4);
}
.navdrawer-container-selected {
  background-color: rgba(255, 255, 255, 0.4);
}

main {
  margin: 0 auto;
  /* Height of the header */
  padding: 16px 16px 16px 16px;
  min-height: 100%;
  font-size:30px;
  color: red;
}
.main-title {
  line-height: 1.6250em;
  font-size:30px;
  color: black;
}
.main-subtitle {
  font-size:20px;
  font-style: italic;
  color: black;
}
.steamspace-html-content {
  padding: 70px 16px 16px 16px;
  color: black;
  font-size: 20px;
}
.steamspace-html-content dt {
  color: black;
  font-size: 20px;
}

/** Larger Screens - desktops and tablets **/
@media all and (min-width: 990px) {
  .app-bar {
    position: relative;
  }

  .app-bar.open,
  .app-bar.open ~ main {
    -webkit-transform: translate(0px, 0);
            transform: translate(0px, 0);
  }

  .app-bar-container {
    display: block;
    height: 130px;
    max-width: 864px;
    padding: 0 16px;
    box-sizing: border-box;
    background-color: #4285f4;
  }

  .app-bar .logo {
    float: left;
    margin: 0;
    padding: 0;
    line-height: 130px;
    font-size: 46px;
  }

  .app-bar-actions {
    float: right;
  }

  .app-bar::after {
    content: ' ';
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
  }

  button.menu {
    display: none;
  }

  nav {
    display: block;
    margin-top: 130px;
  }

  .navdrawer-container {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 130px;
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
    -webkit-transition: none;
            transition: none;
    overflow-y: auto;
  }

  .navdrawer-container h4 {
    display: none;
  }

  .navdrawer-container ul {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    max-width: 864px;
    margin: 0 auto;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .navdrawer-container ul li {
    border: none;
  }

  main {
    max-width: 864px;
    padding-top: 0;
    /* min-height: initial; */ /* This was cramping the loadingGif. */
  }

  body {
    overflow-y: scroll;
  }

  .navdrawer-container {
    position: relative;
    margin-top: 0;
  }

}
/* --- Being selectMenu --*/
.selectMenu-container {
  height: auto;
    margin-top: 60px;
}
.selectMenu-container ul {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-width: 864px;
  margin: 0 auto;
  float: right;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.selectMenu-container li {
  background-color: white;
}
.selectMenu-container ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.selectMenu-container ul li a {
  display: block;
  text-decoration: none;
  color: #3367D6;
  -webkit-transition: background-color 0.2s ease-out;
          transition: background-color 0.2s ease-out;
  white-space: nowrap;
}
.selectMenu-container h4,
.selectMenu-container ul li a {
  height: auto;
  padding: 17px 20px;
  line-height: 1.4;
}

.selectMenu-container ul li {
  border-style: solid;
  border-width: 1px;
  border-color: #3367D6;
  padding: 0;
  color: #3367D6;
}

.selectMenu-container ul li::before {
  content: none;
}
.selectMenu-container-header {
  background-color: #3367D6;
  color: white;
}

.selectMenu-container ul li a:hover {
  background-color: rgba(0, 0, 255, 0.2);
}

.selectMenu-container ul li a:focus {
  background-color: rgba(0, 0, 255, 0.3);
  outline: 0;
}

.selectMenu-container ul li a:active {
  background-color: rgba(0, 0, 255, 0.4);
}
.loadingIcon {
  background:url(../images/loading.gif) no-repeat center center;
}
html input[disabled] {
  background-color: lightgrey;
}
table td::before {
  width: 130px; /* i need more than the default of 100px. */
}
.correctAnswer  { background-color: #56efa5; color: #000; }

.incorrectAnswer  { background-color: #ebb6b0; color: #000; }

.spellingWord { color: #000; }

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  src: url(/fonts/RobotoCondensed-Light.eot);
  src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'), url(/fonts/RobotoCondensed-Light.eot) format('embedded-opentype'), url(/fonts/RobotoCondensed-Light.woff) format('woff');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/RobotoCondensed-Regular.eot);
  src: local('Roboto Condensed Regular'), local('RobotoCondensed-Regular'), url(/fonts/RobotoCondensed-Regular.eot) format('embedded-opentype'), url(/fonts/RobotoCondensed-Regular.woff) format('woff');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url(/fonts/RobotoCondensed-Bold.eot);
  src: local('Roboto Condensed Regular'), local('RobotoCondensed-Bold'), url(/fonts/RobotoCondensed-Bold.eot) format('embedded-opentype'), url(/fonts/RobotoCondensed-Bold.woff) format('woff');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 300;
  src: url(/fonts/RobotoCondensed-LightItalic.eot);
  src: local('Roboto Condensed Light Italic'), local('RobotoCondensed-LightItalic'), url(/fonts/RobotoCondensed-LightItalic.eot) format('embedded-opentype'), url(/fonts/RobotoCondensed-LightItalic.woff) format('woff');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 400;
  src: url(/fonts/RobotoCondensed-Italic.eot);
  src: local('Roboto Condensed Italic'), local('RobotoCondensed-Italic'), url(/fonts/RobotoCondensed-Italic.eot) format('embedded-opentype'), url(/fonts/RobotoCondensed-Italic.woff) format('woff');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 700;
  src: url(/fonts/RobotoCondensed-BoldItalic.eot);
  src: local('Roboto Condensed Bold Italic'), local('RobotoCondensed-BoldItalic'), url(/fonts/RobotoCondensed-BoldItalic.eot) format('embedded-opentype'), url(/fonts/RobotoCondensed-BoldItalic.woff) format('woff');
}


text:
ACCEPTED

#### According to
International Plant Names Index

#### Published in
null

#### Original name
Arundinaria multinervis W.T.Lin & Z.M.Wu

### Remarks
null


text: ss-server -c /config.json