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

namespace Aws
{
namespace APIGateway
{
namespace Model
{

  /**
   *
Make a request to simulate the execution of an Authorizer.

   */
  class AWS_APIGATEWAY_API TestInvokeAuthorizerRequest : public APIGatewayRequest
  {
  public:
    TestInvokeAuthorizerRequest();
    Aws::String SerializePayload() const override;

    /**
     *
Specifies a test invoke authorizer request's RestApi identifier.

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

    /**
     *
Specifies a test invoke authorizer request's RestApi identifier.

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

    /**
     *
Specifies a test invoke authorizer request's RestApi identifier.

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

    /**
     *
Specifies a test invoke authorizer request's RestApi identifier.

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

    /**
     *
Specifies a test invoke authorizer request's RestApi identifier.

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

    /**
     *
Specifies a test invoke authorizer request's RestApi identifier.

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

    /**
     *
Specifies a test invoke authorizer request's RestApi identifier.

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

    /**
     *
Specifies a test invoke authorizer request's Authorizer ID.

     */
    inline const Aws::String& GetAuthorizerId() const{ return m_authorizerId; }

    /**
     *
Specifies a test invoke authorizer request's Authorizer ID.

     */
    inline void SetAuthorizerId(const Aws::String& value) { m_authorizerIdHasBeenSet = true; m_authorizerId = value; }

    /**
     *
Specifies a test invoke authorizer request's Authorizer ID.

     */
    inline void SetAuthorizerId(Aws::String&& value) { m_authorizerIdHasBeenSet = true; m_authorizerId = value; }

    /**
     *
Specifies a test invoke authorizer request's Authorizer ID.

     */
    inline void SetAuthorizerId(const char* value) { m_authorizerIdHasBeenSet = true; m_authorizerId.assign(value); }

    /**
     *
Specifies a test invoke authorizer request's Authorizer ID.

     */
    inline TestInvokeAuthorizerRequest& WithAuthorizerId(const Aws::String& value) { SetAuthorizerId(value); return *this;}

    /**
     *
Specifies a test invoke authorizer request's Authorizer ID.

     */
    inline TestInvokeAuthorizerRequest& WithAuthorizerId(Aws::String&& value) { SetAuthorizerId(value); return *this;}

    /**
     *
Specifies a test invoke authorizer request's Authorizer ID.

     */
    inline TestInvokeAuthorizerRequest& WithAuthorizerId(const char* value) { SetAuthorizerId(value); return *this;}

    /**
     *
[Optional] The URI path, including query string, of the simulated invocation
     * request. Use this to specify path parameters and query string parameters.

     */
    inline const Aws::String& GetPathWithQueryString() const{ return m_pathWithQueryString; }

    /**
     *
[Optional] The URI path, including query string, of the simulated invocation
     * request. Use this to specify path parameters and query string parameters.

     */
    inline void SetPathWithQueryString(const Aws::String& value) { m_pathWithQueryStringHasBeenSet = true; m_pathWithQueryString = value; }

    /**
     *
[Optional] The URI path, including query string, of the simulated invocation
     * request. Use this to specify path parameters and query string parameters.

     */
    inline void SetPathWithQueryString(Aws::String&& value) { m_pathWithQueryStringHasBeenSet = true; m_pathWithQueryString = value; }

    /**
     *
[Optional] The URI path, including query string, of the simulated invocation
     * request. Use this to specify path parameters and query string parameters.

     */
    inline void SetPathWithQueryString(const char* value) { m_pathWithQueryStringHasBeenSet = true; m_pathWithQueryString.assign(value); }

    /**
     *
[Optional] The URI path, including query string, of the simulated invocation
     * request. Use this to specify path parameters and query string parameters.

     */
    inline TestInvokeAuthorizerRequest& WithPathWithQueryString(const Aws::String& value) { SetPathWithQueryString(value); return *this;}

    /**
     *
[Optional] The URI path, including query string, of the simulated invocation
     * request. Use this to specify path parameters and query string parameters.

     */
    inline TestInvokeAuthorizerRequest& WithPathWithQueryString(Aws::String&& value) { SetPathWithQueryString(value); return *this;}

    /**
     *
[Optional] The URI path, including query string, of the simulated invocation
     * request. Use this to specify path parameters and query string parameters.

     */
    inline TestInvokeAuthorizerRequest& WithPathWithQueryString(const char* value) { SetPathWithQueryString(value); return *this;}

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline const Aws::Map<Aws::String, Aws::String>& GetStageVariables() const{ return m_stageVariables; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline void SetStageVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_stageVariablesHasBeenSet = true; m_stageVariables = value; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline void SetStageVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables = value; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& WithStageVariables(const Aws::Map<Aws::String, Aws::String>& value) { SetStageVariables(value); return *this;}

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& WithStageVariables(Aws::Map<Aws::String, Aws::String>&& value) { SetStageVariables(value); return *this;}

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& AddStageVariables(const Aws::String& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true; m_stageVariables[key] = value; return *this; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& AddStageVariables(Aws::String&& key, const Aws::String& value) { m_stageVariablesHasBeenSet = true; m_stageVariables[key] = value; return *this; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& AddStageVariables(const Aws::String& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables[key] = value; return *this; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& AddStageVariables(Aws::String&& key, Aws::String&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables[key] = value; return *this; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& AddStageVariables(const char* key, Aws::String&& value) { m_stageVariablesHasBeenSet = true; m_stageVariables[key] = value; return *this; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& AddStageVariables(Aws::String&& key, const char* value) { m_stageVariablesHasBeenSet = true; m_stageVariables[key] = value; return *this; }

    /**
     *
A key-value map of stage variables to simulate an invocation on a deployed
     * Stage.

     */
    inline TestInvokeAuthorizerRequest& AddStageVariables(const char* key, const char* value) { m_stageVariablesHasBeenSet = true; m_stageVariables[key] = value; return *this; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalContext() const{ return m_additionalContext; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline void SetAdditionalContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalContextHasBeenSet = true; m_additionalContext = value; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline void SetAdditionalContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalContextHasBeenSet = true; m_additionalContext = value; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& WithAdditionalContext(const Aws::Map<Aws::String, Aws::String>& value) { SetAdditionalContext(value); return *this;}

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& WithAdditionalContext(Aws::Map<Aws::String, Aws::String>&& value) { SetAdditionalContext(value); return *this;}

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& AddAdditionalContext(const Aws::String& key, const Aws::String& value) { m_additionalContextHasBeenSet = true; m_additionalContext[key] = value; return *this; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& AddAdditionalContext(Aws::String&& key, const Aws::String& value) { m_additionalContextHasBeenSet = true; m_additionalContext[key] = value; return *this; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& AddAdditionalContext(const Aws::String& key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext[key] = value; return *this; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& AddAdditionalContext(Aws::String&& key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext[key] = value; return *this; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& AddAdditionalContext(const char* key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext[key] = value; return *this; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& AddAdditionalContext(Aws::String&& key, const char* value) { m_additionalContextHasBeenSet = true; m_additionalContext[key] = value; return *this; }

    /**
     *
[Optional] A key-value map of additional context variables.

     */
    inline TestInvokeAuthorizerRequest& AddAdditionalContext(const char* key, const char* value) { m_additionalContextHasBeenSet = true; m_additionalContext[key] = value; return *this; }

    /**
     *
[Optional] The simulated request body of an incoming invocation request.

     */
    inline const Aws::String& GetRequestBody() const{ return m_requestBody; }

    /**
     *
[Optional] The simulated request body of an incoming invocation request.

     */
    inline void SetRequestBody(const Aws::String& value) { m_requestBodyHasBeenSet = true; m_requestBody = value; }

    /**
     *
[Optional] The simulated request body of an incoming invocation request.

     */
    inline void SetRequestBody(Aws::String&& value) { m_requestBodyHasBeenSet = true; m_requestBody = value; }

    /**
     *
[Optional] The simulated request body of an incoming invocation request.

     */
    inline void SetRequestBody(const char* value) { m_requestBodyHasBeenSet = true; m_requestBody.assign(value); }

    /**
     *
[Optional] The simulated request body of an incoming invocation request.

     */
    inline TestInvokeAuthorizerRequest& WithRequestBody(const Aws::String& value) { SetRequestBody(value); return *this;}

    /**
     *
[Optional] The simulated request body of an incoming invocation request.

     */
    inline TestInvokeAuthorizerRequest& WithRequestBody(Aws::String&& value) { SetRequestBody(value); return *this;}

    /**
     *
[Optional] The simulated request body of an incoming invocation request.

     */
    inline TestInvokeAuthorizerRequest& WithRequestBody(const char* value) { SetRequestBody(value); return *this;}

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline const Aws::Map<Aws::String, Aws::String>& GetRequestHeaders() const{ return m_requestHeaders; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline void SetRequestHeaders(const Aws::Map<Aws::String, Aws::String>& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders = value; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline void SetRequestHeaders(Aws::Map<Aws::String, Aws::String>&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders = value; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& WithRequestHeaders(const Aws::Map<Aws::String, Aws::String>& value) { SetRequestHeaders(value); return *this;}

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& WithRequestHeaders(Aws::Map<Aws::String, Aws::String>&& value) { SetRequestHeaders(value); return *this;}

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& AddRequestHeaders(const Aws::String& key, const Aws::String& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders[key] = value; return *this; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& AddRequestHeaders(Aws::String&& key, const Aws::String& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders[key] = value; return *this; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& AddRequestHeaders(const Aws::String& key, Aws::String&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders[key] = value; return *this; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& AddRequestHeaders(Aws::String&& key, Aws::String&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders[key] = value; return *this; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& AddRequestHeaders(const char* key, Aws::String&& value) { m_requestHeadersHasBeenSet = true; m_requestHeaders[key] = value; return *this; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& AddRequestHeaders(Aws::String&& key, const char* value) { m_requestHeadersHasBeenSet = true; m_requestHeaders[key] = value; return *this; }

    /**
     *
[Required] A key-value map of headers to simulate an incoming invocation
     * request. This is where the incoming authorization token, or identity source,
     * should be specified.

     */
    inline TestInvokeAuthorizerRequest& AddRequestHeaders(const char* key, const char* value) { m_requestHeadersHasBeenSet = true; m_requestHeaders[key] = value; return *this; }

  private:
    Aws::String m_restApiId;
    bool m_restApiIdHasBeenSet;
    Aws::String m_authorizerId;
    bool m_authorizerIdHasBeenSet;
    Aws::String m_pathWithQueryString;
    bool m_pathWithQueryStringHasBeenSet;
    Aws::Map<Aws::String, Aws::String> m_stageVariables;
    bool m_stageVariablesHasBeenSet;
    Aws::Map<Aws::String, Aws::String> m_additionalContext;
    bool m_additionalContextHasBeenSet;
    Aws::String m_requestBody;
    bool m_requestBodyHasBeenSet;
    Aws::Map<Aws::String, Aws::String> m_requestHeaders;
    bool m_requestHeadersHasBeenSet;
  };

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


text:
package life.catalogue.es.name.search;

import java.util.ArrayList;
import java.util.List;
import life.catalogue.api.search.NameUsageSearchRequest;
import life.catalogue.es.name.QMatcher;
import life.catalogue.es.query.BoolQuery;
import life.catalogue.es.query.Query;
import static life.catalogue.api.search.NameUsageSearchRequest.SearchContent.AUTHORSHIP;
import static life.catalogue.api.search.NameUsageSearchRequest.SearchContent.SCIENTIFIC_NAME;
import static life.catalogue.api.search.NameUsageSearchRequest.SearchContent.VERNACULAR_NAME;

class QTranslator {

  /**
   * The extra boost to give to scientific name matches (versus vernacular name or authorship matches), reflecting the fact that, all being
   * equal, we'd like to see them higher up in the list of matches.
   */
  public static final Double SCINAME_EXTRA_BOOST = 10.0;

  private final NameUsageSearchRequest request;

  QTranslator(NameUsageSearchRequest request) {
    this.request = request;
  }

  Query translate() {
    QMatcher qMatcher = QMatcher.getInstance(request);
    List<Query> queries = new ArrayList<Query>(request.getContent().size());
    if (request.getContent().contains(SCIENTIFIC_NAME)) {
      queries.add(qMatcher.getScientificNameQuery().withBoost(SCINAME_EXTRA_BOOST));
    }
    if (request.getContent().contains(VERNACULAR_NAME)) {
      queries.add(qMatcher.getVernacularNameQuery());
    }
    if (request.getContent().contains(AUTHORSHIP)) {
      queries.add(qMatcher.getAuthorshipQuery());
    }
    if (queries.size() == 1) {
      return queries.get(0);
    }
    BoolQuery query = new BoolQuery();
    queries.forEach(query::should);
    return query;
  }

}

redpajama_set_name: RedPajamaGithub


text:
namespace StraightSql.Entity
{
	using System;

	public interface IEntityFieldRegistration
	{
		String Name { get; }

		void Apply(Object entity, IRow row);
	}
}


text:
const axios = require(`axios`)
const SCREENSHOT_ENDPOINT = process.env.SCREENSHOT_ENDPOINT
const url = process.env.SITE_URL

const start = async () => {
  let screenshotResponse
  try {
    screenshotResponse = await axios.post(SCREENSHOT_ENDPOINT, { url })
    const { status, data /* , headers */ } = screenshotResponse
    console.log(status)
    console.log(data)
  } catch (error) {
    console.log(error)
    console.log(screenshotResponse)
  }
}

start()


text:
/**
 * Map arched line module
 */
/**
 * ============================================================================
 * IMPORTS
 * ============================================================================
 * @hidden
 */
import { MapLine, IMapLineProperties, IMapLineAdapters, IMapLineEvents } from "./MapLine";
import { Polyarc } from "../../core/elements/Polyarc";
import { MapArcSeries } from "./MapArcSeries";
/**
 * ============================================================================
 * REQUISITES
 * ============================================================================
 * @hidden
 */
/**
 * Defines properties for [[MapArc]].
 */
export interface IMapArcProperties extends IMapLineProperties {
}
/**
 * Defines events for [[MapArc]].
 */
export interface IMapArcEvents extends IMapLineEvents {
}
/**
 * Defines adapters for [[MapArc]].
 *
 * @see {@link Adapter}
 */
export interface IMapArcAdapters extends IMapLineAdapters, IMapArcProperties {
}
/**
 * ============================================================================
 * MAIN CLASS
 * ============================================================================
 * @hidden
 */
/**
 * Used to draw an arched line on the map.
 *
 * @see {@link IMapArcEvents} for a list of available events
 * @see {@link IMapArcAdapters} for a list of available Adapters
 */
export declare class MapArc extends MapLine {
    /**
     * Defines available properties.
     */
    _properties: IMapArcProperties;
    /**
     * Defines available adapters.
     */
    _adapter: IMapArcAdapters;
    /**
     * Defines available events.
     */
    _events: IMapArcEvents;
    /**
     * A visual element.
     */
    line: Polyarc;
    /**
     * A map series this object belongs to.
     */
    series: MapArcSeries;
    /**
     * Constructor
     */
    constructor();
    /**
     * @ignore
     */
    protected createLine(): void;
    /**
     * `shortestDistance = true` is not supported by `MapArc`.
     *
     * Only [[MapLine]] supports it.
     *
     * @default false
     * @param value
     */
    shortestDistance: boolean;
}


text:
var test         = require('tape'),
    dateEvents   = require('..')

var months = ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december']

test('month event', function (t) {
    t.plan(2)
    var clock = dateEvents({ startDate: new Date('2014-01-01') })
    clock.once('month', function (month, monthStr) {
        var currentMonth = (new Date).getMonth() + 1
        t.equal(month, currentMonth, 'got numeric month')
        t.equal(monthStr, months[currentMonth - 1], 'got month string')
        clock.removeAllListeners()
    })
})


text:
package controller.util;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.springframework.context.ApplicationContext;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;

public class SpringInit implements ServletContextListener {

	private static WebApplicationContext springContext;

	public SpringInit() {
		super();
	}

	public void contextInitialized(ServletContextEvent event) {
		springContext = WebApplicationContextUtils.getWebApplicationContext(event.getServletContext());
	}

	public void contextDestroyed(ServletContextEvent event) {
	}

	public static ApplicationContext getApplicationContext() {
		return springContext;
	}

}


text:
{% extends 'dashboard/index.html' %}
{% load staticfiles %}

{% block csslinks %}
    {{ block.super }}
    <link rel="stylesheet" href="{% static "organizations/style.css" %}">
{% endblock %}

{% block app-content %}
    {% if messages %}
        {% for msg in messages %}

 {{ msg }}

        {% endfor %}
    {% endif %}
    {% if form.errors %}
        {% for field in form %}
            {% for error in field.errors %}

            {% endfor %}
        {% endfor %}
    {% endif %}

        <form method='POST' action=''>
            {% csrf_token %}
            {% for field in form %}

                {{ field.label_tag }}
                {{ field }}

                {% for error in field.errors %}

                        {{ error|escape }}

                {% endfor %}

            {% endfor %}

        <input class="btn btn-primary" type='submit' value='Create Event'/>
        </form>

{% endblock app-content %}


text:
local compat = pfQuestCompat

SLASH_PFDB1, SLASH_PFDB2, SLASH_PFDB3, SLASH_PFDB4 = "/db", "/shagu", "/pfquest", "/pfdb"
SlashCmdList["PFDB"] = function(input, editbox)
  local params = {}
  local meta = { ["addon"] = "PFDB" }

  if (input == "" or input == nil) then
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffccpf|cffffffffQuest (v" .. pfQuestConfig.version .. "):")
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff tracker |cffcccccc - " .. pfQuest_Loc["Show map tracker"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff journal |cffcccccc - " .. pfQuest_Loc["Show quest journal"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff arrow |cffcccccc - " .. pfQuest_Loc["Show quest arrow"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff show |cffcccccc - " .. pfQuest_Loc["Show database interface"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff config |cffcccccc - " .. pfQuest_Loc["Show configuration interface"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff locale |cffcccccc - " .. pfQuest_Loc["Display addon locales"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff unit <unit> |cffcccccc - " .. pfQuest_Loc["Search unit"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff object <gameobject> |cffcccccc - " .. pfQuest_Loc["Search object"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff item <item> |cffcccccc - " .. pfQuest_Loc["Search loot"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff vendor <item> |cffcccccc - " .. pfQuest_Loc["Search item vendors"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff quest <questname> |cffcccccc - " .. pfQuest_Loc["Show specific quest"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff quests |cffcccccc - " .. pfQuest_Loc["Show all quests on map"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff clean |cffcccccc - " .. pfQuest_Loc["Clean Map"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff reset |cffcccccc - " .. pfQuest_Loc["Reset Map"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff chests |cffcccccc - " .. pfQuest_Loc["Show all chests on map"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff taxi [faction]|cffcccccc - " .. pfQuest_Loc["Show all taxi nodes of [faction]"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff rares [min, [max]]|cffcccccc - " .. pfQuest_Loc["Show all rare mobs of Level [min] to [max]"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff mines [min, [max]] |cffcccccc - " .. pfQuest_Loc["Show mines with skill range of [min] to [max]"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff mines auto |cffcccccc - " .. pfQuest_Loc["Show mines with an appropriate skill level for your character"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff herbs [min, [max]] |cffcccccc - " .. pfQuest_Loc["Show herbs with skill range of [min] to [max]"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff herbs auto |cffcccccc - " .. pfQuest_Loc["Show herbs with an appropriate skill level for your character"])
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc/db|cffffffff scan |cffcccccc - " .. pfQuest_Loc["Scan the server for custom items"])
    return
  end

  local commandlist = { }
  local command

  for command in compat.gfind(input, "[^ ]+") do
    table.insert(commandlist, command)
  end

  local arg1, arg2 = commandlist[1], ""

  -- handle whitespace mob- and item names correctly
  for i in pairs(commandlist) do
    if (i ~= 1) then
      arg2 = arg2 .. commandlist[i]
      if (commandlist[i+1] ~= nil) then
        arg2 = arg2 .. " "
      end
    end
  end

  -- argument: debug
  if (arg1 == "debug") then
    pfQuest_config.debug = not pfQuest_config.debug
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffccpf|cffffffffQuest Debug Mode: " .. ( pfQuest_config.debug and "|cff33ff33ON" or "|cffff3333OFF" ))
    pfQuest:Debug("Debug Mode Changed")
    return
  end

  -- argument: item
  if (arg1 == "item") then
    local maps = pfDatabase:SearchItem(arg2, meta, "LOWER")
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: vendor
  if (arg1 == "vendor") then
    local maps = pfDatabase:SearchVendor(arg2, meta, "LOWER")
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: unit
  if (arg1 == "unit") then
    local maps = pfDatabase:SearchMob(arg2, meta, "LOWER")
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: object
  if (arg1 == "object") then
    local maps = pfDatabase:SearchObject(arg2, meta, "LOWER")
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: quest
  if (arg1 == "quest") then
    local maps = pfDatabase:SearchQuest(arg2, meta, "LOWER")
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: quests
  if (arg1 == "quests") then
    local maps = pfDatabase:SearchQuests(meta)
    pfMap:UpdateNodes()
    return
  end

  -- argument: meta
  if (arg1 == "meta") then
    local maps = pfDatabase:SearchMetaRelation({ commandlist[2], commandlist[3], commandlist[4] }, meta)
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: chests
  if (arg1 == "chests") then
    local maps = pfDatabase:SearchMetaRelation({ commandlist[1] }, meta)
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: taxi
  if (arg1 == "taxi") then
    local maps = pfDatabase:SearchMetaRelation({ commandlist[1], commandlist[2] }, meta)
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: rares
  if (arg1 == "rares") then
    local maps = pfDatabase:SearchMetaRelation({ commandlist[1], commandlist[2], commandlist[3] }, meta)
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: mines
  if (arg1 == "mines") then
    if (arg2 == "auto") then
      -- id 186 is Mining
      commandlist[3] = pfDatabase:GetPlayerSkill(186) or 0
      commandlist[2] = commandlist[3] - 100
    end
    local maps = pfDatabase:SearchMetaRelation({ commandlist[1], commandlist[2], commandlist[3] }, meta)
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: herbs
  if (arg1 == "herbs") then
    if (arg2 == "auto") then
      -- id 182 is Herbalism
      commandlist[3] = pfDatabase:GetPlayerSkill(182) or 0
      commandlist[2] = commandlist[3] - 100
    end
    local maps = pfDatabase:SearchMetaRelation({ commandlist[1], commandlist[2], commandlist[3] }, meta)
    pfMap:ShowMapID(pfDatabase:GetBestMap(maps))
    return
  end

  -- argument: clean
  if (arg1 == "clean") then
    pfMap:DeleteNode("PFDB")
    pfMap:UpdateNodes()
    return
  end

  -- argument: reset
  if (arg1 == "reset") then
    pfQuest:ResetAll()
    return
  end

  -- argument: show
  if (arg1 == "show") then
    if pfBrowser then pfBrowser:Show() end
    return
  end

  -- argument: tracker
  if (arg1 == "tracker") then
    if pfQuest.tracker then pfQuest.tracker:Show() end
    return
  end

  -- argument: journal
  if (arg1 == "journal") then
    if pfJournal then pfJournal:Show() end
    return
  end

  -- argument: arrow
  if (arg1 == "arrow") then
    if pfQuest_config["arrow"] == "1" then
      pfQuest_config["arrow"] = "0"
      pfQuest.route.arrow:Hide()
    else
      pfQuest_config["arrow"] = "1"
    end
    return
  end

  -- argument: show
  if (arg1 == "config") then
    if pfQuestConfig then pfQuestConfig:Show() end
    return
  end

  -- argument: locale
  if (arg1 == "locale") then
    DEFAULT_CHAT_FRAME:AddMessage("|cff33ffcc" .. pfQuest_Loc["Locales"] .. "|r:" .. pfDatabase.dbstring)
    return
  end

  -- argument: scan
  if (arg1 == "scan") then
    pfDatabase:ScanServer()
    return
  end

  -- argument: <text>
  if (type(arg1)=="string") then
    if pfBrowser then
      pfBrowser:Show()
      pfBrowser.input:SetText((string.gsub(string.format("%s %s",arg1,arg2),"^%s*(.-)%s*$", "%1")))
    end
    return
  end
end


text:
.Payment__config.Checkbox {
  text-align: left;
}

html[dir='rtl'] .Payment__config.Checkbox {
  text-align: right;
}

.Payment__form-group-label {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  display: block;
}

.Payment__form-group-label > input {
  position: absolute;
  left: 0;
  top: 0;
}

.Payment__paypal-logo {
  margin: 0;
  height: 25px;
}

.Payment__submit {
  margin-top: 20px;
  display: table-cell;
  vertical-align: middle;
}

.Payment__submit span {
  margin-right: 10px;
}

.Payment__prompt {
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #989898;
}

.Payment__fine-print {
  color: #989898;
  font-size: 12px;
  line-height: 16px;
  width: 100%;
  margin: 20px 0;
  text-align: left;
}

html[dir='rtl'] .Payment__fine-print {
  text-align: right;
}

.Payment__fine-print .ReCaptchaBranding {
  margin-top: 5px;
  margin-bottom: 5px;
}

.Payment__direct-debit-logo {
  display: flex;
  justify-content: center;
}

.Payment .gpay-button {
  width: 100%;
  height: 60px;
}
.Payment .gpay-button:focus {
  outline: none;
}

.PaymentExpressDonationConflict {
  width: 600px;
  text-align: center;
}

.PaymentExpressDonationConflict--reason {
  font-size: 22px;
  line-height: 1.3em;
  margin-bottom: 1em;
}

.PaymentExpressDonationConflict--accept.Button-root,
.PaymentExpressDonationConflict--decline.Button-root {
  max-width: 300px;
  margin: 20px auto;
}

.PaymentExpressDonationConflict--decline.Button-root {
  background: transparent;
  border: none;
  color: #00c0cf;
  text-transform: none;
  height: auto;
  width: auto;
  font-weight: normal;
}

.PaymentExpressDonationConflict--decline.Button-root:hover {
  background: transparent;
  border: none;
  text-decoration: underline;
}

.PaymentExpressDonationConflict--decline.Button-root:active {
  box-shadow: none;
}

@media (max-width: 700px) {
  .PaymentExpressDonationConflict {
    width: 100%;
  }
}

.PaymentMethod__monthly {
  font-weight: 700;
  width: 100%;
  font-size: 14px;
  line-height: 17px;
  margin: 20px 0 5px;
  line-height: 20px;
}

.PaymentMethod__complete-donation {
  font-weight: 700;
  width: 100%;
  font-size: 16px;
  line-height: 17px;
  margin: 20px 0 5px;
  text-align: center;
}

.donation-amount-text-2x {
  text-align: center;
  font-size: 22px;
}

.payment-message {
  margin-top: 15px;
  border-top: #dfdfdf 1px solid;
  line-height: 20px;
  text-align: left;
}

html[dir='rtl'] .payment-message {
  text-align: right;
}

.mb-10 {
  margin-bottom: 10px !important;
}


text:
package com.thunderboltsoft.finalgradecalculator;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
 * Testing Fundamentals
 */
public class ApplicationTest extends ApplicationTestCase<Application> {
    public ApplicationTest() {
        super(Application.class);
    }
}