text:
'use strict';

export const mix = (superClass) => new MixinBuilder(superClass);

class MixinBuilder {

  constructor(superclass) {
    this.superclass = superclass;
  }

  with() {
    return Array.from(arguments).reduce((c, m) => m(c), this.superclass);
  }
}

redpajama_set_name: RedPajamaGithub


text:
INSERT  INTO
	alipay_receivetext
      (
      id
      ,tousername
      ,fromusername
      ,createtime
      ,msgtype
      ,msgid
      ,content
      ,response
      ,rescontent
      ,nickname
      ,accountid
      ,agent_id
      ,create_name
      ,create_by
      ,create_date
      ,update_name
      ,update_by
      ,update_date
      )
values
      (
      :alipayReceivetext.id
      ,:alipayReceivetext.tousername
      ,:alipayReceivetext.fromusername
      ,:alipayReceivetext.createtime
      ,:alipayReceivetext.msgtype
      ,:alipayReceivetext.msgid
      ,:alipayReceivetext.content
      ,:alipayReceivetext.response
      ,:alipayReceivetext.rescontent
      ,:alipayReceivetext.nickname
      ,:alipayReceivetext.accountid
      ,:alipayReceivetext.agentId
      ,:alipayReceivetext.createName
      ,:alipayReceivetext.createBy
      ,:alipayReceivetext.createDate
      ,:alipayReceivetext.updateName
      ,:alipayReceivetext.updateBy
      ,:alipayReceivetext.updateDate
      )


text:
class ReplyTimeout : public QObject {
	Q_OBJECT
public:
	enum HandleMethod { Abort, Close };
	ReplyTimeout(QNetworkReply* reply, const int timeout, HandleMethod method = Abort) :
		  QObject(reply), m_method(method)
	{
		Q_ASSERT(reply);
		if (reply && reply->isRunning()) {
			m_timer.start(timeout, this);
			connect(reply, &QNetworkReply::finished, this, &QObject::deleteLater);
		}
	}
	static void set(QNetworkReply* reply, const int timeout, HandleMethod method = Abort)
	{
		new ReplyTimeout(reply, timeout, method);
	}

protected:
	QBasicTimer m_timer;
	HandleMethod m_method;
	void timerEvent(QTimerEvent * ev) override {
		if (!m_timer.isActive() || ev->timerId() != m_timer.timerId())
			return;
		auto reply = static_cast<QNetworkReply*>(parent());
		if (reply->isRunning())
		{
			if (m_method == Close)
				reply->close();
			else if (m_method == Abort)
				reply->abort();
			m_timer.stop();
		}
	}
};

///
/// Response object for REST-API calls and JSON-responses
///
class httpResponse
{
public:
	httpResponse() = default;

	bool error() const { return _hasError; }
	void setError(const bool hasError) { _hasError = hasError; }

	QJsonDocument getBody() const { return _responseBody; }
	void setBody(const QJsonDocument& body) { _responseBody = body; }

	QString getErrorReason() const { return _errorReason; }
	void setErrorReason(const QString& errorReason) { _errorReason = errorReason; }

	int getHttpStatusCode() const { return _httpStatusCode; }
	void setHttpStatusCode(int httpStatusCode) { _httpStatusCode = httpStatusCode; }

	QNetworkReply::NetworkError getNetworkReplyError() const { return _networkReplyError; }
	void setNetworkReplyError(const QNetworkReply::NetworkError networkReplyError) { _networkReplyError = networkReplyError; }

private:

	QJsonDocument _responseBody {};
	bool _hasError = false;
	QString _errorReason;

	int _httpStatusCode = 0;
	QNetworkReply::NetworkError _networkReplyError { QNetworkReply::NoError };
};

///
/// Wrapper class supporting REST-API calls with JSON requests and responses
///
/// Usage sample:
/// @code
///
/// ProviderRestApi* _restApi = new ProviderRestApi(hostname, port );
///
/// _restApi->setBasePath( QString("/api/%1/").arg(token) );
/// _restApi->setPath( QString("%1/%2").arg( "groups" ).arg( groupId ) );
///
/// httpResponse response = _restApi->get();
/// if ( !response.error() )
///		response.getBody();
///
/// delete _restApi;
///
///@endcode
///
class ProviderRestApi
{
public:

	///
	/// @brief Constructor of the REST-API wrapper
	///
	ProviderRestApi();

	///
	/// @brief Constructor of the REST-API wrapper
	///
	/// @param[in] host
	/// @param[in] port
	///
	explicit ProviderRestApi(const QString& host, int port);

	///
	/// @brief Constructor of the REST-API wrapper
	///
	/// @param[in] host
	/// @param[in] port
	/// @param[in] API base-path
	///
	explicit ProviderRestApi(const QString& host, int port, const QString& basePath);

	///
	/// @brief Destructor of the REST-API wrapper
	///
	virtual ~ProviderRestApi();

	///
	/// @brief Set an API's host
	///
	/// @param[in] host
	///
	void setHost(const QString& host) { _apiUrl.setHost(host); }

	///
	/// @brief Set an API's port
	///
	/// @param[in] port
	///
	void setPort(const int port) { _apiUrl.setPort(port); }

	///
	/// @brief Set an API's url
	///
	/// @param[in] url, e.g. "http://locahost:60351/chromalink/"
	///
	void setUrl(const QUrl& url);

	///
	/// @brief Get the URL as defined using scheme, host, port, API-basepath, path, query, fragment
	///
	/// @return url
	///
	QUrl getUrl() const;

	///
	/// @brief Set an API's base path (the stable path element before addressing resources)
	///
	/// @param[in] basePath, e.g. "/api/v1/" or "/json"
	///
	void setBasePath(const QString& basePath);

	///
	/// @brief Set an API's path to address resources
	///
	/// @param[in] path, e.g. "/lights/1/state/"
	///
	void setPath(const QString& path);

	///
	/// @brief Append an API's path element to path set before
	///
	/// @param[in] path
	///
	void appendPath(const QString& appendPath);

	///
	/// @brief Set an API's fragment
	///
	/// @param[in] fragment, e.g. "question3"
	///
	void setFragment(const QString& fragment);

	///
	/// @brief Set an API's query string
	///
	/// @param[in] query, e.g. "&A=128&FX=0"
	///
	void setQuery(const QUrlQuery& query);

	///
	/// @brief Execute GET request
	///
	/// @return Response The body of the response in JSON
	///
	httpResponse get();

	///
	/// @brief Execute GET request
	///
	/// @param[in] url GET request for URL
	/// @return Response The body of the response in JSON
	///
	httpResponse get(const QUrl& url);

	/// @brief Execute PUT request
	///
	/// @param[in] body The body of the request in JSON
	/// @return Response The body of the response in JSON
	///
	httpResponse put(const QJsonObject& body);

	///
	/// @brief Execute PUT request
	///
	/// @param[in] body The body of the request in JSON
	/// @return Response The body of the response in JSON
	///
	httpResponse put(const QString& body = "");

	///
	/// @brief Execute PUT request
	///
	/// @param[in] URL for PUT request
	/// @param[in] body The body of the request in JSON
	/// @return Response The body of the response in JSON
	///
	httpResponse put(const QUrl &url, const QByteArray& body);

	///
	/// @brief Execute POST request
	///
	/// @param[in] body The body of the request in JSON
	/// @return Response The body of the response in JSON
	///
	httpResponse post(const QString& body = "");

	/// @brief Execute POST request
	///
	/// @param[in] body The body of the request in JSON
	/// @return Response The body of the response in JSON
	///
	httpResponse post(const QJsonObject& body);

	///
	/// @brief Execute POST request
	///
	/// @param[in] URL for POST request
	/// @param[in] body The body of the request in JSON
	/// @return Response The body of the response in JSON
	///
	httpResponse post(const QUrl &url, const QByteArray& body);

	///
	/// @brief Execute DELETE request
	///
	/// @param[in] URL (Resource) for DELETE request
	/// @return Response The body of the response in JSON
	///
	httpResponse deleteResource(const QUrl& url);

	///
	/// @brief Handle responses for REST requests
	///
	/// @param[in] reply Network reply
	/// @return Response The body of the response in JSON
	///
	httpResponse getResponse(QNetworkReply* const& reply);

	///
	/// Adds a header field.
	///
	/// @param[in] The type of the header field.
	/// @param[in] The value of the header field.
	/// If the header field exists, the value will be combined as comma separated string.

	void setHeader(QNetworkRequest::KnownHeaders header, const QVariant& value);

	///
	/// Remove all header fields.
	///
	void removeAllHeaders() { _networkRequestHeaders = QNetworkRequest(); }

	///
	/// @brief Set the common logger for LED-devices.
	///
	/// @param[in] log The logger to be used
	///
	void setLogger(Logger* log) { _log = log; }

private:

	///
	/// @brief Append an API's path element to path given as param
	///
	/// @param[in/out] path to be updated
	/// @param[in] path, element to be appended
	///
	static void appendPath (QString &path, const QString &appendPath) ;

	Logger* _log;

	// QNetworkAccessManager object for sending REST-requests.
	QNetworkAccessManager* _networkManager;

	QUrl _apiUrl;

	QString _basePath;
	QString _path;

	QString _fragment;
	QUrlQuery _query;

	QNetworkRequest _networkRequestHeaders;
};

#endif // PROVIDERRESTKAPI_H


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

<TITLE>
stemmer Class Hierarchy (${plugin.name} JavaDoc)
</TITLE>

<META NAME="date" CONTENT="2012-11-29">

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

      Overview
      Package
      Class
    Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Hierarchy For Package stemmer

Package Hierarchies:
All Packages

Class Hierarchy

java.lang.Object

gate.util.AbstractFeatureBearer (implements gate.util.FeatureBearer, java.io.Serializable)

gate.creole.AbstractResource (implements gate.Resource, java.io.Serializable)

gate.creole.AbstractProcessingResource (implements gate.creole.ANNIEConstants, gate.ProcessingResource)

gate.creole.AbstractLanguageAnalyser (implements gate.LanguageAnalyser)

stemmer.SnowballStemmer (implements gate.ProcessingResource)

      Overview
      Package
      Class
    Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes


text:
<?php

namespace App\Providers;

use App\Models\Organization;
use App\Observers\OrganizationObserver;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Organization::observe(OrganizationObserver::class);
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}


text:
package org.apache.stratos.adc.mgt.utils;

public class CartridgeConstants {
    public static final String SC_IP = "sc.ip";
	public static final String AUTOSCALER_SERVICE_URL = "autoscaler.service.url";
    public static final String CLOUD_CONTROLLER_SERVICE_URL = "cloud.controller.service.url";
    public static final String ALIAS_NAMESPACE ="http://org.wso2.securevault/configuration";
    public static final String ALIAS_LOCALPART ="secretAlias";
    public static final String ALIAS_PREFIX ="svns";
	public static final String CARTRIDGE_AGENT_EPR = "cartridge.agent.epr";
	public static final String GIT_HOST_NAME = "git.host.name";
	public static final String GIT_HOST_IP = "git.host.ip";
	public static final String SUBSCRIPTION_ACTIVE = "SUBSCRIPTION_ACTIVE";
	public static final String SUBSCRIPTION_INACTIVE = "SUBSCRIPTION_INACTIVE";
	public static final String REPO_NOTIFICATION_URL = "git.repo.notification.url";
	public static final String ACTIVE = "ACTIVE";
	public static final String NOT_READY = "NOT-READY";
	public static final String SUBSCRIBED = "SUBSCRIBED";
    public static final String UNSUBSCRIBED = "UNSUBSCRIBED";
    public static final String MB_IP = "mb.ip";
    public static final String MB_PORT = "mb.port";
    public static final String CEP_IP = "cep.ip";
    public static final String CEP_PORT = "cep.port";
    public static final String PUPPET_IP = "puppet.ip";

	public static final String DB_DATASOURCE = "adc.datasource";
	public static final String DB_URL = "adc.jdbc.url";
	public static final String DB_DRIVER = "adc.jdbc.driver";
	public static final String DB_USERNAME = "adc.jdbc.username";
	public static final String DB_PASSWORD = "adc.jdbc.password";
	public static final String BAM_IP = "bam.ip";
	public static final String BAM_PORT = "bam.port";
	public static final String SUDO_SH = "sudo sh";
	public static final String APPEND_SCRIPT = "append.script";
	public static final String REMOVE_SCRIPT = "remove.script";
	public static final String BIND_FILE_PATH = "bind.file.path";
	public static final String ELB_IP = "elb.ip";
	public static final String REPO_KEY_PATH = "repo.key.path";
	public static final String REPO_KEY = "repo.key";
	public static final String MAX_ATTEMPTS = "max.attempts";
	public static final String CARTRIDGE_KEY = "cartridge.key";

	public static final String FEATURE_EXTERNAL_REPO_VAIDATION_ENABLED = "feature.externalrepo.validation.enabled";
	public static final String FEATURE_INTERNAL_REPO_ENABLED = "feature.internalrepo.enabled";
	public static final String FEATURE_MULTI_TENANT_MULTIPLE_SUBSCRIPTION_ENABLED = "feature.multitenant.multiplesubscription.enabled";

	public static final String MYSQL_CARTRIDGE_NAME = "mysql";
    public static final String PHP_CARTRIDGE_NAME = "php";
    public static final String TOMCAT_CARTRIDGE_NAME = "tomcat";

	public static final String DEFAULT_SUBDOMAIN = "__$default";
	public static final String DEFAULT_MGT_SUBDOMAIN = "mgt";
	public static final String MYSQL_DEFAULT_USER = "root";
	public static final String PROVIDER_NAME_WSO2 = "wso2";
	public static final String NOT_SUBSCRIBED = "NOT-SUBSCRIBED";
    public static final String SECURITY_KEY_FILE = "gitRepoKey.xml";
    public static final String SECURITY_KEY = "securityKey";
    public static final String DEFAULT_SECURITY_KEY = "tvnw63ufg9gh5111";
    public static final String DATA_CARTRIDGE_PROVIDER = "data";
	public static final String REPO_INFO_EPR = "repository.info.epr";
	public static final String INTERNAL_GIT_USERNAME = "internal.repo.username";
	public static final String INTERNAL_GIT_PASSWORD = "internal.repo.password";

    public static final String CUSTOM_PAYLOAD_PARAM_NAME_PREFIX = "payload_parameter.";

    public static final String CC_SOCKET_TIMEOUT = "cc.socket.timeout";
    public static final String CC_CONNECTION_TIMEOUT = "cc.connection.timeout";
    public static final String AUTOSCALER_SOCKET_TIMEOUT = "autoscaler.socket.timeout";
    public static final String AUTOSCALER_CONNECTION_TIMEOUT = "autoscaler.connection.timeout";

    public static final class DomainMappingInfo {
		public static final String ACTUAL_HOST = "actual.host";
		public static final String HOSTINFO = "hostinfo/";
	}
}


text:
<!DOCTYPE html>

	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="description" content="Your site description." />
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<title>Media Tests</title>

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

	<link href="../test-assets/css/tests.css" rel="stylesheet" />

Media

Iframe

Youtube

Add class .media to the media container.

Dailymotion

Add class .media to the media container.

Google Maps

Add classes .media and .google-map to the media container.

						View Larger Map

Vimeo

Add classes .media and .vimeo to the media container.

Vine

Add classes .media and .vine to the media container.

Instagram

Add classes .media and .instagram to the media container.

Getty

Add classes .media and .getty to the media container.

Getty

Add classes .media and .getty to the media container.

Adding the class .widescreen sets up the media container for widescreen videos.

					Twitter, Facebook, SoundCloud, Storify, and Scribd (select 'Autosize') already provide responsive embed code.


text:
class 'BuyMenu'
class 'BuyMenuEntry'

function BuyMenuEntry:__init( model_id, price, entry_type, template, decal)
    self.model_id = model_id
    self.price = price	--	Change price to 0 to make everything free.	Default: price
    self.entry_type = entry_type
	self.template = template
	self.decal = decal
end

function BuyMenuEntry:GetPrice()
    return self.price
end

function BuyMenuEntry:GetModelId()
    return self.model_id
end

function BuyMenuEntry:GetTemplate()
    return self.template
end

function BuyMenuEntry:GetDecal()
    return self.decal
end

function BuyMenuEntry:GetListboxItem()
    return self.listbox_item
end

function BuyMenuEntry:SetListboxItem( item )
    self.listbox_item = item
end

class 'VehicleBuyMenuEntry' (BuyMenuEntry)

function VehicleBuyMenuEntry:__init( model_id, price, template, decal, name, rank )
    BuyMenuEntry.__init( self, model_id, price, 1, template, decal)
    self.name = name
	self.rank = rank
end

function VehicleBuyMenuEntry:GetName()
	local modelName = Vehicle.GetNameByModelId( self.model_id )
	local DisplayName = modelName
	if self.name ~= nil and self.name ~= "" then
		DisplayName = modelName .. "            " .. self.name 										-- EDIT ME (NEED TO ADD A NEW COLUMN)
	end
	if self.template ~= nil and self.template ~= "" then
		DisplayName = DisplayName .. " [" .. self.template .. "]"
	end
	if self.decal ~= nil and self.decal ~= "" then
		DisplayName = DisplayName .. " (" .. self.decal .. ")"
	end
    return DisplayName
end

function VehicleBuyMenuEntry:GetGameName()
	local modelName = Vehicle.GetNameByModelId( self.model_id )
	local DisplayName = modelName
	if self.name ~= nil and self.name ~= "" then
		DisplayName = modelName .. "            " .. self.name 										-- EDIT ME (NEED TO ADD A NEW COLUMN)
	end
	if self.template ~= nil and self.template ~= "" then
		DisplayName = DisplayName .. " [" .. self.template .. "]"
	end
	if self.decal ~= nil and self.decal ~= "" then
		DisplayName = DisplayName .. " (" .. self.decal .. ")"
	end
    return modelName
end

function VehicleBuyMenuEntry:GetRank()
    return self.rank
end

class 'WeaponBuyMenuEntry' (BuyMenuEntry)

function WeaponBuyMenuEntry:__init( model_id, price, slot, name, rank )
    BuyMenuEntry.__init( self, model_id, price, 2 )
    self.slot = slot
    self.name = name
	self.rank = rank
end

function WeaponBuyMenuEntry:GetSlot()
    return self.slot
end

function WeaponBuyMenuEntry:GetName()
    return self.name
end

function WeaponBuyMenuEntry:GetRank()
    return self.rank
end

class 'ModelBuyMenuEntry' (BuyMenuEntry)

function ModelBuyMenuEntry:__init( model_id, price, name, rank )
    BuyMenuEntry.__init( self, model_id, price, 2 )
    self.name = name
	self.rank = rank
end

function ModelBuyMenuEntry:GetName()
    return self.name
end

function ModelBuyMenuEntry:GetRank()
    return self.rank
end

class 'AppearanceBuyMenuEntry' (BuyMenuEntry)

function AppearanceBuyMenuEntry:__init( model_id, price, itemtype, name, rank )
    BuyMenuEntry.__init( self, model_id, price, itemtype, 2 )
    self.name = name
    self.itemtype = itemtype
	self.rank = rank
end

function AppearanceBuyMenuEntry:GetName()
    return self.name
end

function AppearanceBuyMenuEntry:GetType()
    return self.itemtype
end

function AppearanceBuyMenuEntry:GetRank()
    return self.rank
end

function BuyMenu:CreateItems()
    self.types = {
        ["Vehicle"] = 1,
        ["Weapon"] = 2,
        ["Model"] = 3,
		["Appearance"] = 4
    }

    self.id_types = {}

    for k, v in pairs(self.types) do
        self.id_types[v] = k
    end
    self.items = {
        [self.types.Vehicle] = {
            { "Bike", "Car", "Sportcar", "Jeep", "Pickup", "Bus", "Truck", "Heavy", "Tractor", "Heli", "Plane", "Boat", "DLC" },
			["Bike"] = {
			--	Example:			ModelID, Price, Template, Decal, Name, Required Rank(must be a number)
			--	If you only want a rank or name on an item, you must have nil in the previous fields.
			--	End fields can be left blank, but fields between fields must have atleast nil,
			--	Otherwise you will find it displays wrong.
--				VehicleBuyMenuEntry( 9, 0, "TemplateName", "DecalName", "CustomName", 3 ),
--				VehicleBuyMenuEntry( 9, 0, nil, nil, nil, 1 ),
				--	The above is an example.
				VehicleBuyMenuEntry( 9, 0 ),
				-- ^ Tuk-Tuk Rickshaw
				VehicleBuyMenuEntry( 22, 0 ),
				-- ^ Tuk-Tuk Laa
				VehicleBuyMenuEntry( 47, 0 ),
				-- ^ Schulz Virginia
				VehicleBuyMenuEntry( 83, 0 ),
				-- ^ Mosca 125 Performance
				VehicleBuyMenuEntry( 32, 0 ),
				-- ^ Mosca 2000
				VehicleBuyMenuEntry( 90, 0 ),
				-- ^ Makota MZ250
				VehicleBuyMenuEntry( 61, 0 ),
				-- ^ Makota MZ 260X
				VehicleBuyMenuEntry( 89, 0 ),
				-- ^ Hamaya Y250S
				VehicleBuyMenuEntry( 43, 0 ),
				-- ^ Hamaya GSY650
				VehicleBuyMenuEntry( 74, 0 ),
				-- ^ Hamaya 1300 Elite Cruiser
				VehicleBuyMenuEntry( 21, 0 ),
				-- ^ Hamaya Cougar 600
				VehicleBuyMenuEntry( 36, 0, "Sport", nil, "" ),
				-- ^ Shimuzu Tracline
				VehicleBuyMenuEntry( 36, 0, "Gimp", nil, "" ),
				-- ^ Shimuzu Tracline RollCage
				VehicleBuyMenuEntry( 36, 0, "Civil", nil, "" ),
				-- ^ Shimuzu Tracline Racks
				VehicleBuyMenuEntry( 11, 0, "Police", nil, "" ),
				-- ^ Shimuzu Tracline Windshield
			},

			["Car"] = {
				VehicleBuyMenuEntry( 44, 0, "Softtop", nil, "" ),
				-- ^ Hamaya Oldman Softtop
				VehicleBuyMenuEntry( 44, 0, "Cab", nil, "" ),
				-- ^ Hamaya Oldman Opentop
				VehicleBuyMenuEntry( 44, 0, "Hardtop", nil, "" ),
				-- ^ Hamaya Oldman Hardtop
				VehicleBuyMenuEntry( 29, 0, nil, nil, "" ),
				-- ^ Sakura Aquila City
				VehicleBuyMenuEntry( 15, 0, nil, nil, "" ),
				-- ^ Sakura Aquila Space
				VehicleBuyMenuEntry( 70, 0, nil, nil, "" ),
				-- ^ Sakura Aquila Forte (Taxi)
				VehicleBuyMenuEntry( 55, 0, nil, nil, "" ),
				-- ^ Sakura Aquila Metro ST
				VehicleBuyMenuEntry( 13, 0, nil, nil, "" ),
				-- ^ Stinger Dunebug 84
				VehicleBuyMenuEntry( 54, 0, nil, nil, "" ),
				-- ^ Boyd Fireflame 544
				VehicleBuyMenuEntry( 8, 0, nil, nil, "" ),
				-- ^ Columbi Excelsior (Limo)
				VehicleBuyMenuEntry( 8, 0, "Hijack_Rear", nil, "" ),
				-- ^ Columbi Excelsior Rear Stuntjump (Limo)
			},

			["Sportcar"] = {
				VehicleBuyMenuEntry( 78, 0, "Hardtop", nil, "" ),
				-- ^ Civadier 999 Hardtop
				VehicleBuyMenuEntry( 78, 0, "Cab", nil, "" ),
				-- ^ Civadier 999 Opentop
				VehicleBuyMenuEntry( 2, 0, nil, nil, "" ),
				-- ^ Mancini Cavallo 1001
				VehicleBuyMenuEntry( 91, 0, "Hardtop", nil, "" ),
				-- ^ Titus ZJ Hardtop
				VehicleBuyMenuEntry( 91, 0, "Softtop", nil, "" ),
				-- ^ Titus ZJ Softtop
				VehicleBuyMenuEntry( 91, 0, "Cab", nil, "" ),
				-- ^ Titus ZJ Opentop
				VehicleBuyMenuEntry( 35, 0, nil, nil, "" ),
				-- ^ Garret Traver-Z
				VehicleBuyMenuEntry( 35, 0, "FullyUpgraded", nil, "" ),
				-- ^ Garret Traver-Z Armed
			},

			["Jeep"] = {
				VehicleBuyMenuEntry( 48, 0, "Buggy", nil, "" ),
				-- ^ Maddox FVA 45
				VehicleBuyMenuEntry( 48, 0, "BuggyMG", nil, "" ),
				-- ^ Maddox FVA 45 Mounted Gun
				-- VehicleBuyMenuEntry( 48, 0, "Buggy", "Reapers", "" ),
				-- ^ Maddox FVA 45
				-- VehicleBuyMenuEntry( 48, 0, "BuggyMG", "Reapers", "" ),
				-- ^ Maddox FVA 45 Mounted Gun
				-- VehicleBuyMenuEntry( 48, 0, "Buggy", "Roaches", "" ),
				-- ^ Maddox FVA 45
				-- VehicleBuyMenuEntry( 48, 0, "BuggyMG", "Roaches", "" ),
				-- ^ Maddox FVA 45 Mounted Gun
				-- VehicleBuyMenuEntry( 48, 0, "Buggy", "UlarBoys", "" ),
				-- ^ Maddox FVA 45
				-- VehicleBuyMenuEntry( 48, 0, "BuggyMG", "UlarBoys", "" ),
				-- ^ Maddox FVA 45 Mounted Gun
				VehicleBuyMenuEntry( 87, 0, "Hardtop", nil, "" ),
				-- ^ Wilforce Trekstar Hardtop
				VehicleBuyMenuEntry( 87, 0, "Softtop", nil, "" ),
				-- ^ Wilforce Trekstar Softtop
				VehicleBuyMenuEntry( 87, 0, "Cab", nil, "" ),
				-- ^ Wilforce Trekstar Opentop
				-- VehicleBuyMenuEntry( 87, 0, "Hardtop", "Reapers", "" ),
				-- ^ Wilforce Trekstar Hardtop
				-- VehicleBuyMenuEntry( 87, 0, "Softtop", "Reapers", "" ),
				-- ^ Wilforce Trekstar Softtop
				-- VehicleBuyMenuEntry( 87, 0, "Cab", "Reapers", "" ),
				-- ^ Wilforce Trekstar Opentop
				-- VehicleBuyMenuEntry( 87, 0, "Hardtop", "Roaches", "" ),
				-- ^ Wilforce Trekstar Hardtop
				-- VehicleBuyMenuEntry( 87, 0, "Softtop", "Roaches", "" ),
				-- ^ Wilforce Trekstar Softtop
				-- VehicleBuyMenuEntry( 87, 0, "Cab", "Roaches", "" ),
				-- ^ Wilforce Trekstar Opentop
				-- VehicleBuyMenuEntry( 87, 0, "Hardtop", "UlarBoys", "" ),
				-- ^ Wilforce Trekstar Hardtop
				-- VehicleBuyMenuEntry( 87, 0, "Softtop", "UlarBoys", "" ),
				-- ^ Wilforce Trekstar Softtop
				-- VehicleBuyMenuEntry( 87, 0, "Cab", "UlarBoys", "" ),
				-- ^ Wilforce Trekstar Opentop
				VehicleBuyMenuEntry( 52, 0, nil, nil, "" ),
				-- ^ Sass PP12 Hogg
				-- VehicleBuyMenuEntry( 10, 0, "Ingame", nil, "Karl Blaine's" ),
				-- ^ Sass PP12 Hogg (Karl Blaine's)
				VehicleBuyMenuEntry( 46, 0, nil, nil, "" ),
				-- ^ MV V880
				VehicleBuyMenuEntry( 46, 0, "Cab", nil, "" ),
				-- ^ MV V880 Opentop
				VehicleBuyMenuEntry( 46, 0, "Combi", nil, "" ),
				-- ^ MV V880 Loaded with Gear
				VehicleBuyMenuEntry( 46, 0, "CombiMG", nil, "" ),
				-- ^ MV V880 Loaded with Gear, Mounted Gun
				-- VehicleBuyMenuEntry( 46, 0, nil, "Reapers", "" ),
				-- ^ MV V880
				-- VehicleBuyMenuEntry( 46, 0, "Cab", "Reapers", "" ),
				-- ^ MV V880 Opentop
				-- VehicleBuyMenuEntry( 46, 0, "Combi", "Reapers", "" ),
				-- ^ MV V880 Loaded with Gear
				-- VehicleBuyMenuEntry( 46, 0, "CombiMG", "Reapers", "" ),
				-- ^ MV V880 Loaded with Gear, Mounted Gun
				-- VehicleBuyMenuEntry( 46, 0, nil, "Roaches", "" ),
				-- ^ MV V880
				-- VehicleBuyMenuEntry( 46, 0, "Cab", "Roaches", "" ),
				-- ^ MV V880 Opentop
				-- VehicleBuyMenuEntry( 46, 0, "Combi", "Roaches", "" ),
				-- ^ MV V880 Loaded with Gear
				-- VehicleBuyMenuEntry( 46, 0, "CombiMG", "Roaches", "" ),
				-- ^ MV V880 Loaded with Gear, Mounted Gun
				-- VehicleBuyMenuEntry( 46, 0, nil, "UlarBoys", "" ),
				-- ^ MV V880
				-- VehicleBuyMenuEntry( 46, 0, "Cab", "UlarBoys", "" ),
				-- ^ MV V880 Opentop
				-- VehicleBuyMenuEntry( 46, 0, "Combi", "UlarBoys", "" ),
				-- ^ MV V880 Loaded with Gear
				-- VehicleBuyMenuEntry( 46, 0, "CombiMG", "UlarBoys", "" ),
				-- ^ MV V880 Loaded with Gear, Mounted Gun
				VehicleBuyMenuEntry( 72, 0, nil, nil, "" ),
				-- ^ Chepachet PVD
				-- VehicleBuyMenuEntry( 72, 0, nil, "Reapers", "" ),
				-- ^ Chepachet PVD
				-- VehicleBuyMenuEntry( 72, 0, nil, "Roaches", "" ),
				-- ^ Chepachet PVD
				-- VehicleBuyMenuEntry( 72, 0, nil, "UlarBoys", "" ),
				-- ^ Chepachet PVD
				VehicleBuyMenuEntry( 84, 0, "HardtopMG", nil, "" ),
				-- ^ Marten Storm III Mounted Gun
				VehicleBuyMenuEntry( 84, 0, "Cab", nil, "" ),
				-- ^ Marten Storm III Opentop Truckbed
				-- VehicleBuyMenuEntry( 84, 0, "HardtopMG", "Reapers", "" ),
				-- ^ Marten Storm III Mounted Gun
				-- VehicleBuyMenuEntry( 84, 0, "Cab", "Reapers", "" ),
				-- ^ Marten Storm III Opentop Truckbed
				-- VehicleBuyMenuEntry( 84, 0, "HardtopMG", "Roaches", "" ),
				-- ^ Marten Storm III Mounted Gun
				-- VehicleBuyMenuEntry( 84, 0, "Cab", "Roaches", "" ),
				-- ^ Marten Storm III Opentop Truckbed
				-- VehicleBuyMenuEntry( 84, 0, "HardtopMG", "UlarBoys", "" ),
				-- ^ Marten Storm III Mounted Gun
				-- VehicleBuyMenuEntry( 84, 0, "Cab", "UlarBoys", "" ),
				-- ^ Marten Storm III Opentop Truckbed
				VehicleBuyMenuEntry( 77, 0, "Default", nil, ""),
				-- ^ Hedge Wildchild
				VehicleBuyMenuEntry( 77, 0, nil, nil, ""),
				-- ^ Hedge Wildchild
				VehicleBuyMenuEntry( 77, 0, "Armed", nil, "" ),
				-- ^ Hedge Wildchild Rockets
			},

			["Pickup"] = {
				VehicleBuyMenuEntry( 60, 0, nil, nil, "" ),
				-- ^ Vaultier Patrolman
				VehicleBuyMenuEntry( 26, 0, nil, nil, "" ),
				-- ^ Chevalier Traveller SD
				VehicleBuyMenuEntry( 73, 0, nil, nil, "" ),
				-- ^ Chevalier Express HT
				VehicleBuyMenuEntry( 23, 0, nil, nil, "" ),
				-- ^ Chevalier Liner SB
				VehicleBuyMenuEntry( 63, 0, nil, nil, "" ),
				-- ^ Chevalier Traveller SC
				VehicleBuyMenuEntry( 68, 0, nil, nil, "" ),
				-- ^ Chevalier Traveller SX
				VehicleBuyMenuEntry( 33, 0, nil, nil, "" ),
				-- ^ Chevalier Piazza IX
				VehicleBuyMenuEntry( 86, 0, nil, nil, "" ),
				-- ^ Dalton N90
				-- VehicleBuyMenuEntry( 86, 0, nil, "Reapers", "" ),
				-- ^ Dalton N90
				-- VehicleBuyMenuEntry( 86, 0, nil, "Roaches", "" ),
				-- ^ Dalton N90
				-- VehicleBuyMenuEntry( 86, 0, nil, "UlarBoys", "" ),
				-- ^ Dalton N90
				VehicleBuyMenuEntry( 7, 0, "Default", nil, "" ),
				-- ^ Poloma Renegade
				VehicleBuyMenuEntry( 7, 0, "Armed", nil, "" ),
				-- ^ Poloma Renegade
				VehicleBuyMenuEntry( 7, 0, "FullyUpgraded", nil, "" ),
				-- ^ Poloma Renegade Rockets
			},

			["Bus"] = {
				VehicleBuyMenuEntry( 66, 0, "Single", nil, "" ),
				-- ^ Dinggong 134D Single-Decker
				VehicleBuyMenuEntry( 66, 0, "Double", nil, "" ),
				-- ^ Dinggong 134D Double-Decker
				VehicleBuyMenuEntry( 12, 0 ),
				-- ^ Vanderbildt LeisureLiner
			},

			["Truck"] = {
				VehicleBuyMenuEntry( 42, 0, nil, nil, "" ),
				-- ^ Niseco Tusker P246
				VehicleBuyMenuEntry( 49, 0, nil, nil, "" ),
				-- ^ Niseco Tusker D18
				VehicleBuyMenuEntry( 71, 0, nil, nil, "" ),
				-- ^ Niseco Tusker G216
				VehicleBuyMenuEntry( 41, 0, nil, nil, "" ),
				-- ^ Niseco Tusker D22
				VehicleBuyMenuEntry( 4, 0, nil, nil, "" ),
				-- ^ Kenwall Heavy Rescue
				VehicleBuyMenuEntry( 79, 0, nil, nil, "" ),
				-- ^ Pocumtruck Nomad
			},

			["Heavy"] = {
				VehicleBuyMenuEntry( 40, 0, "Regular", nil, "" ),
				-- ^ Fengding EC14FD2 Longbed
				VehicleBuyMenuEntry( 40, 0, "Crane", nil, "" ),
				-- ^ Fengding EC14FD2 Crane
				VehicleBuyMenuEntry( 40, 0, "Crate", nil, "" ),
				-- ^ Fengding EC14FD2 Shortbed
				-- VehicleBuyMenuEntry( 40, 0, "Regular", "Reapers", "" ),
				-- ^ Fengding EC14FD2 Longbed
				-- VehicleBuyMenuEntry( 40, 0, "Crane", "Reapers", "" ),
				-- ^ Fengding EC14FD2 Crane
				-- VehicleBuyMenuEntry( 40, 0, "Crate", "Reapers", "" ),
				-- ^ Fengding EC14FD2 Shortbed
				-- VehicleBuyMenuEntry( 40, 0, "Regular", "Roaches", "" ),
				-- ^ Fengding EC14FD2 Longbed
				-- VehicleBuyMenuEntry( 40, 0, "Crane", "Roaches", "" ),
				-- ^ Fengding EC14FD2 Crane
				-- VehicleBuyMenuEntry( 40, 0, "Crate", "Roaches", "" ),
				-- ^ Fengding EC14FD2 Shortbed
				-- VehicleBuyMenuEntry( 40, 0, "Regular", "UlarBoys", "" ),
				-- ^ Fengding EC14FD2 Longbed
				-- VehicleBuyMenuEntry( 40, 0, "Crane", "UlarBoys", "" ),
				-- ^ Fengding EC14FD2 Crane
				-- VehicleBuyMenuEntry( 40, 0, "Crate", "UlarBoys", "" ),
				-- ^ Fengding EC14FD2 Shortbed
				VehicleBuyMenuEntry( 31, 0, nil, nil, "" ),
				-- ^ URGA-9380 Tow Cables
				VehicleBuyMenuEntry( 31, 0, "Cab", nil, "" ),
				-- ^ URGA-9380 Empty
				VehicleBuyMenuEntry( 31, 0, "MG", nil, "" ),
				-- ^ URGA-9380 Mounted Gun
				VehicleBuyMenuEntry( 76, 0, nil, nil, "" ),
				-- ^ SAAS PP30 Ox
				VehicleBuyMenuEntry( 18, 0, nil, nil, "" ),
				-- ^ SV-1003 Raider Mounted Gun
				VehicleBuyMenuEntry( 18, 0, "Russian", nil, "" ),
				-- ^ SV-1003 Raider Russin Minigun & Guard
				VehicleBuyMenuEntry( 18, 0, "Cannon", nil, "" ),
				-- ^ SV-1007 Stonewall
				-- VehicleBuyMenuEntry( 18, 0, nil, "Reapers", "" ),
				-- ^ SV-1003 Raider Mounted Gun
				-- VehicleBuyMenuEntry( 18, 0, "Russian", "Reapers", "" ),
				-- ^ SV-1003 Raider Russin Minigun & Guard
				-- VehicleBuyMenuEntry( 18, 0, "Cannon", "Reapers", "" ),
				-- ^ SV-1007 Stonewall
				-- VehicleBuyMenuEntry( 18, 0, nil, "Roaches", "" ),
				-- ^ SV-1003 Raider Mounted Gun
				-- VehicleBuyMenuEntry( 18, 0, "Russian", "Roaches", "" ),
				-- ^ SV-1003 Raider Russin Minigun & Guard
				-- VehicleBuyMenuEntry( 18, 0, "Cannon", "Roaches", "" ),
				-- ^ SV-1007 Stonewall
				-- VehicleBuyMenuEntry( 18, 0, nil, "UlarBoys", "" ),
				-- ^ SV-1003 Raider Mounted Gun
				-- VehicleBuyMenuEntry( 18, 0, "Russian", "UlarBoys", "" ),
				-- ^ SV-1003 Raider Russin Minigun & Guard
				-- VehicleBuyMenuEntry( 18, 0, "Cannon", "UlarBoys", "" ),
				-- ^ SV-1007 Stonewall
				VehicleBuyMenuEntry( 56, 0, "Cab", nil, "" ),
				-- ^ GV-104 Razorback UnArmed
				VehicleBuyMenuEntry( 56, 0, "Armed", nil, "" ),
				-- ^ GV-104 Razorback Minigun
				VehicleBuyMenuEntry( 56, 0, nil, nil, "" ),
				-- ^ GV-104 Razorback Base with Autocannon
				VehicleBuyMenuEntry( 56, 0, "FullyUpgraded", nil, "" ),
				-- ^ GV-104 Razorback with Autocannon & Machine Guns
			},

			["Tractor"] = {
				VehicleBuyMenuEntry( 1, 0, "Modern_Cab", nil, "" ),
				-- ^ Dongtai Agriboss 35 Modern Open Cab
				VehicleBuyMenuEntry( 1, 0, "Modern_Hardtop", nil, "" ),
				-- ^ Dongtai Agriboss 35 Modern Closed Cab
				VehicleBuyMenuEntry( 1, 0, "Classic_Cab", nil, "" ),
				-- ^ Dongtai Agriboss 35 Old Style Open Cab
				VehicleBuyMenuEntry( 1, 0, "Classic_Hardtop", nil, "" ),
				-- ^ Dongtai Agriboss 35 Old Style Closed Cab
			},

			["Heli"] = {
				VehicleBuyMenuEntry( 3, 0, nil, nil, "" ),
				-- ^ Rowlinson K22
				VehicleBuyMenuEntry( 3, 0, "FullyUpgraded", nil, "" ),
				-- ^ Rowlinson K22 Armed
				VehicleBuyMenuEntry( 14, 0, nil, nil, "" ),
				-- ^ Mullen Skeeter Eagle
				VehicleBuyMenuEntry( 67, 0, nil, nil, "" ),
				-- ^ Mullen Skeeter Hawk
--				VehicleBuyMenuEntry( 37, 0 ),
				-- ^ Sivirkin 15 Havoc
				VehicleBuyMenuEntry( 57, 0, "Mission", nil, "" ),
				-- ^ Sivirkin 15 Havoc
				VehicleBuyMenuEntry( 57, 0, "FullyUpgraded", nil, "" ),
				-- ^ Sivirkin 15 Havoc Rockets
				-- VehicleBuyMenuEntry( 57, 0, "Mission", "Reapers", "" ),
				-- ^ Sivirkin 15 Havoc
				-- VehicleBuyMenuEntry( 57, 0, "FullyUpgraded", "Reapers", "" ),
				-- ^ Sivirkin 15 Havoc Rockets
				-- VehicleBuyMenuEntry( 57, 0, "Mission", "Roaches", "" ),
				-- ^ Sivirkin 15 Havoc
				-- VehicleBuyMenuEntry( 57, 0, "FullyUpgraded", "Roaches", "" ),
				-- ^ Sivirkin 15 Havoc Rockets
				-- VehicleBuyMenuEntry( 57, 0, "Mission", "UlarBoys", "" ),
				-- ^ Sivirkin 15 Havoc
				-- VehicleBuyMenuEntry( 57, 0, "FullyUpgraded", "UlarBoys", "" ),
				-- ^ Sivirkin 15 Havoc Rockets
				VehicleBuyMenuEntry( 64, 0, nil, nil, "" ),
				-- ^ AH-33 Topachula
				-- VehicleBuyMenuEntry( 64, 0, nil, "Reapers", "" ),
				-- ^ AH-33 Topachula
				-- VehicleBuyMenuEntry( 64, 0, nil, "Roaches", "" ),
				-- ^ AH-33 Topachula
				-- VehicleBuyMenuEntry( 64, 0, nil, "UlarBoys", "" ),
				-- ^ AH-33 Topachula
				VehicleBuyMenuEntry( 65, 0, nil, nil, "" ),
				-- ^ H-62 Quapaw
				-- VehicleBuyMenuEntry( 65, 0, nil, "Reapers", "" ),
				-- ^ H-62 Quapaw
				-- VehicleBuyMenuEntry( 65, 0, nil, "Roaches", "" ),
				-- ^ H-62 Quapaw
				-- VehicleBuyMenuEntry( 65, 0, nil, "UlarBoys", "" ),
				-- ^ H-62 Quapaw
				VehicleBuyMenuEntry( 62, 0, "UnArmed", nil, "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				VehicleBuyMenuEntry( 62, 0, "Armed", nil, "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Cutscene", nil, "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Dome", nil, "" ),
				-- ^ UH-10 Chippewa (4 Seater) Rockets
				-- VehicleBuyMenuEntry( 62, 0, "UnArmed", "Reapers", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Armed", "Reapers", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Cutscene", "Reapers", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Dome", "Reapers", "" ),
				-- ^ UH-10 Chippewa (4 Seater) Rockets
				-- VehicleBuyMenuEntry( 62, 0, "UnArmed", "Roaches", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Armed", "Roaches", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Cutscene", "Roaches", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Dome", "Roaches", "" ),
				-- ^ UH-10 Chippewa (4 Seater) Rockets
				-- VehicleBuyMenuEntry( 62, 0, "UnArmed", "UlarBoys", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Armed", "UlarBoys", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Cutscene", "UlarBoys", "" ),
				-- ^ UH-10 Chippewa (4 Seater)
				-- VehicleBuyMenuEntry( 62, 0, "Dome", "UlarBoys", "" ),
				-- ^ UH-10 Chippewa (4 Seater) Rockets
			},

			["Plane"] = {
				VehicleBuyMenuEntry( 59, 0, nil, nil, "(Extra EA300)" ),
				-- ^ Peek Airhawk 225
				VehicleBuyMenuEntry( 81, 0, nil, nil, "(Bede BD-5)" ),
				-- ^ Pell Silverbolt 6
				VehicleBuyMenuEntry( 51, 0, nil, nil, "(HA-420 HondaJet)" ),
				-- ^ Cassius 192
				VehicleBuyMenuEntry( 30, 0, nil, nil, "(AV-8B Harrier II)" ),
				-- ^ Si-47 Leopard
				-- VehicleBuyMenuEntry( 30, 0, nil, "Reapers", "" ),
				-- ^ Si-47 Leopard
				-- VehicleBuyMenuEntry( 30, 0, nil, "Roaches", "" ),
				-- ^ Si-47 Leopard
				-- VehicleBuyMenuEntry( 30, 0, nil, "UlarBoys", "" ),
				-- ^ Si-47 Leopard
				VehicleBuyMenuEntry( 34, 0, nil, nil, "(Sukhoi Su-47)" ),
				-- ^ G9 Eclipse
				VehicleBuyMenuEntry( 39, 0, nil, nil, "(Boeing 737)" ),
				-- ^ Aeroliner 474
				VehicleBuyMenuEntry( 85, 0, nil, nil, "(Boeing C-17 Globemaster III)" ),
				-- ^ Bering I-86DP
				--VehicleBuyMenuEntry( 85, 0, nil, "Reapers", "" ),
				-- ^ Bering I-86DP
				--VehicleBuyMenuEntry( 85, 0, nil, "Roaches", "" ),
				-- ^ Bering I-86DP
				--VehicleBuyMenuEntry( 85, 0, nil, "UlarBoys", "" ),
				-- ^ Bering I-86DP
			},

			["Boat"] = {
				VehicleBuyMenuEntry( 38, 0, "Djonk01", nil, "" ),
				-- ^ Kuang Sunrise
				VehicleBuyMenuEntry( 38, 0, "Djonk02", nil, "" ),
				-- ^ Kuang Sunrise
				VehicleBuyMenuEntry( 38, 0, "Djonk03", nil, "" ),
				-- ^ Kuang Sunrise
				VehicleBuyMenuEntry( 38, 0, "Djonk04", nil, "" ),
				-- ^ Kuang Sunrise
				VehicleBuyMenuEntry( 5, 0, "Cab", nil, "" ),
				-- ^ Pattani Gluay Empty
				VehicleBuyMenuEntry( 5, 0, "Softtop", nil, "" ),
				-- ^ Pattani Gluay Touring (6 Seater)
				VehicleBuyMenuEntry( 5, 0, "Fishing", nil, "" ),
				-- ^ Pattani Gluay Fishing
				VehicleBuyMenuEntry( 6, 0 ),
				-- ^ Orque Grandois 21TT
				VehicleBuyMenuEntry( 19, 0 ),
				-- ^ Orque Living 42T
				VehicleBuyMenuEntry( 45, 0 ),
				-- ^ Orque Bon Ton 71FT
				VehicleBuyMenuEntry( 16, 0 ),
				-- ^ YP-107 Phoenix
				VehicleBuyMenuEntry( 25, 0, "Softtop", nil, "" ),
				-- ^ Trat Tang-mo Cargo
				VehicleBuyMenuEntry( 25, 0, "Cab", nil, "" ),
				-- ^ Trat Tang-mo Empty
				VehicleBuyMenuEntry( 28, 0 ),
				-- ^ TextE Charteu 52CT
				VehicleBuyMenuEntry( 50, 0 ),
				-- ^ Zhejiang 6903
				VehicleBuyMenuEntry( 80, 0 ),
				-- ^ Frisco Catshark S-38
				VehicleBuyMenuEntry( 27, 0 ),
				-- ^ SnakeHead T20
				VehicleBuyMenuEntry( 88, 0, "Default" ),
				-- ^ MTA Powerrun 77
				VehicleBuyMenuEntry( 88, 0, nil, nil, "" ),
				-- ^ MTA Powerrun 77 Armed
				VehicleBuyMenuEntry( 88, 0, "FullyUpgraded", nil, "" ),
				-- ^ MTA Powerrun 77 Rockets
				VehicleBuyMenuEntry( 69, 0, nil, nil, "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
				VehicleBuyMenuEntry( 69, 0, "Roaches", nil, "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
				-- VehicleBuyMenuEntry( 69, 0, nil, "Reapers", "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
				-- VehicleBuyMenuEntry( 69, 0, "Roaches", "Reapers", "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
				-- VehicleBuyMenuEntry( 69, 0, nil, "Roaches", "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
				-- VehicleBuyMenuEntry( 69, 0, "Roaches", "Roaches", "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
				-- VehicleBuyMenuEntry( 69, 0, nil, "UlarBoys", "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
				-- VehicleBuyMenuEntry( 69, 0, "Roaches", "UlarBoys", "" ),
				-- ^ Winstons Amen 69 Dual Mounted Guns
			},

			["DLC"] = {
				VehicleBuyMenuEntry( 75, 0, nil, nil, "", 5 ),
				--^ Tuk Tuk Boom Boom
				VehicleBuyMenuEntry( 58, 0, nil, nil, "", 5 ),
				--^ Chevalier Classic
				VehicleBuyMenuEntry( 82, 0, nil, nil, "", 5 ),
				--^ Chevalier Ice Breaker
				VehicleBuyMenuEntry( 20, 0, nil, nil, "", 5 ),
				--^ Monster Truck
				VehicleBuyMenuEntry( 53, 0, nil, nil, "", 5 ),
				--^ Agency Hovercraft
				VehicleBuyMenuEntry( 24, 0, nil, nil, "", 5 ),
				--^ F-33 DragonFly
			}
        },

        [self.types.Weapon] = {
            { "One-Handed", --[["Left Hand" ,]] "Two-Handed" },
            ["One-Handed"] = {
--                WeaponBuyMenuEntry( Weapon.Handgun, Price, Slot(Left: 0, Right: 1, Primary: 2), "NAME", RequiredRankNumber ),
				WeaponBuyMenuEntry( Weapon.BubbleGun, 0, 1, "Bubble Gun" ),
                WeaponBuyMenuEntry( Weapon.Handgun, 0, 1, "Pistol" ),
                WeaponBuyMenuEntry( Weapon.Revolver, 0, 1, "Revolver" ),
                WeaponBuyMenuEntry( Weapon.SMG, 0, 1, "SMG" ),
                WeaponBuyMenuEntry( Weapon.SawnOffShotgun, 0, 1, "Sawn-off Shotgun" ),
				WeaponBuyMenuEntry( Weapon.GrenadeLauncher, 0, 1, "Grenade Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.Assault, 0, 1, "Assault Rifle" ),
				-- WeaponBuyMenuEntry( Weapon.Shotgun, 0, 1, "Shotgun" ),
				-- WeaponBuyMenuEntry( Weapon.MachineGun, 0, 1, "Machine Gun" ),
				-- WeaponBuyMenuEntry( Weapon.Sniper, 0, 1, "Sniper Rifle" ),
				-- WeaponBuyMenuEntry( Weapon.RocketLauncher, 0, 1, "Rocket Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.PanayRocketLauncher, 0, 1, "Panay Rocket Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.Minigun, 0, 1, "Minigun" ),
				WeaponBuyMenuEntry( Weapon.SignatureGun, 0, 1, "Rico's Signature Gun - DLC", 5 ),
				-- WeaponBuyMenuEntry( Weapon.Airzooka, 0, 1, "Air Propulsion Gun - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.ClusterBombLauncher, 0, 1, "Cluster Bomb Launcher - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.MultiTargetRocketLauncher, 0, 1, "Multi-target Rocket Launcher - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.QuadRocketLauncher, 0, 1, "Quad Rocket Launcher - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.AlphaDLCWeapon, 0, 1, "Bull's Eye Assault Rifle - DLC" ),
            },

            -- ["Left Hand"] = {
				-- WeaponBuyMenuEntry( Weapon.BubbleGun, 0, 0, "Bubble Gun" ),
                -- WeaponBuyMenuEntry( Weapon.Handgun, 0, 0, "Pistol" ),
                -- WeaponBuyMenuEntry( Weapon.Revolver, 0, 0, "Revolver" ),
                -- WeaponBuyMenuEntry( Weapon.SMG, 0, 0, "SMG" ),
                -- WeaponBuyMenuEntry( Weapon.SawnOffShotgun, 0, 0, "Sawn-off Shotgun" ),
				-- WeaponBuyMenuEntry( Weapon.GrenadeLauncher, 0, 0, "Grenade Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.Assault, 0, 0, "Assault Rifle" ),
				-- WeaponBuyMenuEntry( Weapon.Shotgun, 0, 0, "Shotgun" ),
				-- WeaponBuyMenuEntry( Weapon.MachineGun, 0, 0, "Machine Gun" ),
				-- WeaponBuyMenuEntry( Weapon.Sniper, 0, 0, "Sniper Rifle" ),
				-- WeaponBuyMenuEntry( Weapon.RocketLauncher, 0, 0, "Rocket Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.PanayRocketLauncher, 0, 0, "Panay Rocket Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.Minigun, 0, 0, "Minigun" ),
				-- WeaponBuyMenuEntry( Weapon.SignatureGun, 0, 0, "Rico's Signature Gun - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.Airzooka, 0, 0, "Air Propulsion Gun - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.ClusterBombLauncher, 0, 0, "Cluster Bomb Launcher - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.MultiTargetRocketLauncher, 0, 0, "Multi-target Rocket Launcher - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.QuadRocketLauncher, 0, 0, "Quad Rocket Launcher - DLC" ),
				-- WeaponBuyMenuEntry( Weapon.AlphaDLCWeapon, 0, 0, "Bull's Eye Assault Rifle - DLC" ),
            -- },

            ["Two-Handed"] = {
				-- WeaponBuyMenuEntry( Weapon.BubbleGun, 0, 2, "Bubble Gun" ),
                -- WeaponBuyMenuEntry( Weapon.Handgun, 0, 2, "Pistol" ),
                -- WeaponBuyMenuEntry( Weapon.Revolver, 0, 2, "Revolver" ),
                -- WeaponBuyMenuEntry( Weapon.SMG, 0, 2, "SMG" ),
                -- WeaponBuyMenuEntry( Weapon.SawnOffShotgun, 0, 2, "Sawn-off Shotgun" ),
				-- WeaponBuyMenuEntry( Weapon.GrenadeLauncher, 0, 2, "Grenade Launcher" ),
				WeaponBuyMenuEntry( Weapon.Assault, 0, 2, "Assault Rifle" ),
				WeaponBuyMenuEntry( Weapon.Shotgun, 0, 2, "Shotgun" ),
				WeaponBuyMenuEntry( Weapon.MachineGun, 0, 2, "Machine Gun" ),
				WeaponBuyMenuEntry( Weapon.Sniper, 0, 2, "Sniper Rifle" ),
				WeaponBuyMenuEntry( Weapon.RocketLauncher, 0, 2, "Rocket Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.PanayRocketLauncher, 0, 2, "Panay Rocket Launcher" ),
				-- WeaponBuyMenuEntry( Weapon.Minigun, 0, 2, "Minigun" ),
				WeaponBuyMenuEntry( Weapon.SignatureGun, 0, 2, "Rico's Signature Gun - DLC", 5 ),
				WeaponBuyMenuEntry( Weapon.Airzooka, 0, 2, "Air Propulsion Gun - DLC", 5 ),
				WeaponBuyMenuEntry( Weapon.ClusterBombLauncher, 0, 2, "Cluster Bomb Launcher - DLC", 5 ),
				WeaponBuyMenuEntry( Weapon.MultiTargetRocketLauncher, 0, 2, "Multi-target Rocket Launcher - DLC", 5 ),
				WeaponBuyMenuEntry( Weapon.QuadRocketLauncher, 0, 2, "Quad Rocket Launcher - DLC", 5 ),
				WeaponBuyMenuEntry( Weapon.AlphaDLCWeapon, 0, 2, "Bull's Eye Assault Rifle - DLC", 5 ),
            }
        },

        [self.types.Model] = {
            { "Roaches", "Ular Boys", "Reapers", "Government", "Agency", "Misc" },

            ["Roaches"] = {
--                ModelBuyMenuEntry( 2, 0, "Razak Razman", 1 ),
                ModelBuyMenuEntry( 2, 0, "Razak Razman" ),
                ModelBuyMenuEntry( 5, 0, "Elite" ),
                ModelBuyMenuEntry( 32, 0, "Technician" ),
                ModelBuyMenuEntry( 85, 0, "Soldier 1" ),
                ModelBuyMenuEntry( 59, 0, "Soldier 2" )
            },

            ["Ular Boys"] = {
                ModelBuyMenuEntry( 38, 0, "Sri Irawan" ),
                ModelBuyMenuEntry( 87, 0, "Elite" ),
                ModelBuyMenuEntry( 22, 0, "Technician" ),
                ModelBuyMenuEntry( 27, 0, "Soldier 1" ),
                ModelBuyMenuEntry( 103, 0, "Soldier 2" )
            },

            ["Reapers"] = {
                ModelBuyMenuEntry( 90, 0, "Bolo Santosi" ),
                ModelBuyMenuEntry( 63, 0, "Elite" ),
                ModelBuyMenuEntry( 8, 0, "Technician" ),
                ModelBuyMenuEntry( 12, 0, "Soldier 1" ),
                ModelBuyMenuEntry( 58, 0, "Soldier 2" ),
            },

            ["Government"] = {
                ModelBuyMenuEntry( 74, 0, "Baby Panay" ),
                ModelBuyMenuEntry( 67, 0, "Burned Baby Panay" ),
                ModelBuyMenuEntry( 101, 0, "Colonel" ),
                ModelBuyMenuEntry( 3, 0, "Demo Expert" ),
                ModelBuyMenuEntry( 98, 0, "Pilot" ),
                ModelBuyMenuEntry( 42, 0, "Black Hand" ),
                ModelBuyMenuEntry( 44, 0, "Ninja" ),
                ModelBuyMenuEntry( 23, 0, "Scientist" ),
                ModelBuyMenuEntry( 52, 0, "Soldier 1" ),
                ModelBuyMenuEntry( 66, 0, "Soldier 2" )
            },

            ["Agency"] = {
                ModelBuyMenuEntry( 9, 0, "Karl Blaine" ),
                ModelBuyMenuEntry( 65, 0, "Jade Tan" ),
                ModelBuyMenuEntry( 25, 0, "Maria Kane" ),
                ModelBuyMenuEntry( 30, 0, "Marshall" ),
                ModelBuyMenuEntry( 34, 0, "Tom Sheldon" ),
                ModelBuyMenuEntry( 100, 0, "Black Market Dealer" ),
                ModelBuyMenuEntry( 83, 0, "White Tiger" ),
                ModelBuyMenuEntry( 51, 0, "Rico Rodriguez" )
            },

            ["Misc"] = {
                ModelBuyMenuEntry( 70, 0, "General Masayo" ),
                ModelBuyMenuEntry( 11, 0, "Zhang Sun" ),
                ModelBuyMenuEntry( 84, 0, "Alexander Mirikov" ),
                ModelBuyMenuEntry( 19, 0, "Chinese Businessman" ),
                ModelBuyMenuEntry( 36, 0, "Politician" ),
                ModelBuyMenuEntry( 78, 0, "Thug Boss" ),
                ModelBuyMenuEntry( 71, 0, "Saul Sukarno" ),
                ModelBuyMenuEntry( 79, 0, "Japanese Veteran" ),
                ModelBuyMenuEntry( 96, 0, "Bodyguard" ),
                ModelBuyMenuEntry( 80, 0, "Suited Guest 1" ),
                ModelBuyMenuEntry( 95, 0, "Suited Guest 2" ),
                ModelBuyMenuEntry( 60, 0, "Race Challenge Girl" ),
                ModelBuyMenuEntry( 15, 0, "Male Stripper 1" ),
                ModelBuyMenuEntry( 17, 0, "Male Stripper 2" ),
                ModelBuyMenuEntry( 86, 0, "Female Stripper" ),
                ModelBuyMenuEntry( 16, 0, "Panau Police" ),
                ModelBuyMenuEntry( 18, 0, "Hacker" ),
                ModelBuyMenuEntry( 64, 0, "Bom Bom Bohilano" ),
                ModelBuyMenuEntry( 40, 0, "Factory Boss" ),
                ModelBuyMenuEntry( 1, 0, "Thug 1" ),
                ModelBuyMenuEntry( 39, 0, "Thug 2" ),
                ModelBuyMenuEntry( 61, 0, "Soldier" ),
                ModelBuyMenuEntry( 26, 0, "Boat Captain" ),
                ModelBuyMenuEntry( 21, 0, "Paparazzi" ),
            }
        },

        [self.types.Appearance] = {
            { "Head - Hats", "Head - Caps & Helmets", "Head - Coverings", "Hair", "Face", "Neck", "Back" },

            ["Head - Hats"] = {
				AppearanceBuyMenuEntry( "Clear", 0, "Head", "Clear Head" ),
--				AppearanceBuyMenuEntry( "pd_arcticvillage_female2.eez/pd_arcticvillage_female_2-hat_winter.lod", 0, "Head", "Artic Linen Hat", 1 ),
				AppearanceBuyMenuEntry( "pd_arcticvillage_female2.eez/pd_arcticvillage_female_2-hat_winter.lod", 0, "Head", "Artic Linen Hat" ),
				AppearanceBuyMenuEntry( "pd_arcticvillage_male2.eez/pd_arcticvillage_male_2-hat_winter.lod", 0, "Head", "Artic Linen Hat Big" ),
				AppearanceBuyMenuEntry( "pd_generic_male_2.eez/pd_generic_male_2-hat_linen.lod", 0, "Head", "Linen Hat - White" ),
				AppearanceBuyMenuEntry( "pd_generic_male_3.eez/pd_generic_male_3-hat_linen.lod", 0, "Head", "Linen Hat - Speckled" ),
				AppearanceBuyMenuEntry( "pd_generic_female_1.eez/pd_generic_female_1-hat_linen.lod", 0, "Head", "Linen Hat - Black Strip" ),
				AppearanceBuyMenuEntry( "pd_generic_male_1.eez/pd_generic_male_1-hat_linen.lod", 0, "Head", "Linen Hat Big- Dark Stripe" ),
				AppearanceBuyMenuEntry( "pd_generic_female_2.eez/pd_generic_female_2-hat_linen.lod", 0, "Head", "Linen Hat - White Stripe" ),
				AppearanceBuyMenuEntry( "pd_generic_female_5.eez/pd_generic_female_5-hat_cloth.lod", 0, "Head", "Linen Hat - Black & White" ),
				AppearanceBuyMenuEntry( "pd_fishervillage_male1.eez/pd_fishervillage_male-hat_fisherman.lod", 0, "Head", "Fishing Floppy Hat" ),
				AppearanceBuyMenuEntry( "pd_generic_female_1.eez/pd_generic_female_1-hat_fisherman.lod", 0, "Head", "Fishing Floppy Hat Small" ),
				AppearanceBuyMenuEntry( "pd_tourist_male1.eez/pd_tourist_male-fisherhat.lod", 0, "Head", "Fishing Floppy Hat Slanted" ),
				AppearanceBuyMenuEntry( "pd_generic_male_1.eez/pd_generic_male_1-hat_fisherman.lod", 0, "Head", "Fishing Floppy Hat Lower" ),
				AppearanceBuyMenuEntry( "pd_fishervillage_male1.eez/pd_fishervillage_male-ricehat.lod", 0, "Head", "Worker Ricehat Big - Tan" ),
				AppearanceBuyMenuEntry( "pd_generic_female_5.eez/pd_generic_female_5-hat_straw2.lod", 0, "Head", "Worker Ricehat - Tan" ),
				AppearanceBuyMenuEntry( "pd_generic_female.eez/generic_female-ricehat.lod", 0, "Head", "Worker Ricehat Level - Beige" ),
				AppearanceBuyMenuEntry( "pd_generic_female_3.eez/pd_generic_female_3-hat_straw2.lod", 0, "Head", "Worker Ricehat - Beige" ),
				AppearanceBuyMenuEntry( "pd_generic_female_1.eez/pd_generic_female_1-hat_rice.lod", 0, "Head", "Worker Straw Hat" ),
				AppearanceBuyMenuEntry( "pd_generic_male_1.eez/pd_generic_male_1-hat_rice.lod", 0, "Head", "Worker Straw Hat Big" ),
				AppearanceBuyMenuEntry( "pd_generic_female_2.eez/pd_generic_female_2-hat_rice.lod", 0, "Head", "Worker Straw Hat - Yellow" ),
				AppearanceBuyMenuEntry( "pd_generic_male.eez/pd_generic_male-hat.lod", 0, "Head", "Worker Straw Hat - Light" ),
				AppearanceBuyMenuEntry( "pd_thugs1.eez/pd_thugs-h_bandana.lod", 0, "Head", "Bandana Skullcap - Gray" ),
				AppearanceBuyMenuEntry( "pd_ms_doorman.eez/pd_doorman-h_bandana.lod", 0, "Head", "Bandana Skullcap Worn - Gray" ),
				AppearanceBuyMenuEntry( "pd_generic_male_2.eez/pd_generic_male_2-hat_fedora.lod", 0, "Head", "Fedora - Light Gray" ),
				AppearanceBuyMenuEntry( "pd_ms_strippers_male1.eez/pd_ms_stripper_male-hat.lod", 0, "Head", "Fedora Slanted" ),
				AppearanceBuyMenuEntry( "pd_ms_thugboss.eez/pd_executioner-h_felthat.lod", 0, "Head", "Felt Fedora Slanted - Gray" ),
				AppearanceBuyMenuEntry( "pd_roacheselite1.eez/pd_roaches_elite-h_headwear.lod", 0, "Head", "Roaches Elite Turban" ),
				AppearanceBuyMenuEntry( "pd_generic_female_2.eez/pd_generic_female_2-hat_towel.lod", 0, "Head", "Cloth Turban" ),
            },

            ["Head - Caps & Helmets"] = {
				AppearanceBuyMenuEntry( "Clear", 0, "Head", "Clear Head" ),
				AppearanceBuyMenuEntry( "pd_tourist_male1.eez/pd_tourist_male-keps.lod", 0, "Head", "Keppy Hat" ),
				AppearanceBuyMenuEntry( "pd_arcticvillage_male1.eez/pd_arcticvillage_male-hat.lod", 0, "Head", "Artic Hat" ),
				AppearanceBuyMenuEntry( "pd_generic_male_2.eez/pd_generic_male_2-hat_weird.lod", 0, "Head", "Ancient Crown" ),
				AppearanceBuyMenuEntry( "pd_ms_strippers_male2.eez/pd_ms_stripper_male-cowboyhat.lod", 0, "Head", "Cowboy Hat" ),
				AppearanceBuyMenuEntry( "pd_oilplatform_male1.eez/pd_oilplatform-greycap.lod", 0, "Head", "Oilrig Worker Beanie Cap - Gray" ),
				AppearanceBuyMenuEntry( "pd_oilplatform_male1.eez/pd_oilplatform-helmet.lod", 0, "Head", "Oilrig Worker Hardhat - Yellow" ),
				AppearanceBuyMenuEntry( "pd_ms_strippers_female1.eez/pd_stripper_female-ht_militarycap.lod", 0, "Head", "Military Commander Cap" ),
				AppearanceBuyMenuEntry( "pd_reaperselite1.eez/pd_reapers_elite_male-cap.lod", 0, "Head", "Reapers Elite Cap" ),
				AppearanceBuyMenuEntry( "pd_ms_japaneseveterans.eez/pd_ms_japaneseveterans-hat.lod", 0, "Head", "Japanese Cap" ),
				AppearanceBuyMenuEntry( "pd_ms_japaneseveterans.eez/pd_ms_japaneseveterans-helmet.lod", 0, "Head", "Japanese Helmet" ),
				AppearanceBuyMenuEntry( "pd_gov_base01.eez/pd_gov_base-hat.lod", 0, "Head", "Panau Police Hat" ),
				AppearanceBuyMenuEntry( "pd_panaupolice.eez/panaupolice-cap.lod", 0, "Head", "Panau Police Cap" ),
				AppearanceBuyMenuEntry( "pd_panaupolice.eez/panaupolice-helmet.lod", 0, "Head", "Panau Police Helmet" ),
				AppearanceBuyMenuEntry( "pd_panaupolice.eez/panaupolice-turban.lod", 0, "Head", "Panau Police Turban" ),
				AppearanceBuyMenuEntry( "pd_gov_elite.eez/pd_govnewfix_elite-helmet.lod", 0, "Head", "Government Elite Helmet" ),
				AppearanceBuyMenuEntry( "pd_gov_base01.eez/pd_gov_base-beret.lod", 0, "Head", "Government Elite Beret" ),
				AppearanceBuyMenuEntry( "pd_reaperselite1.eez/pd_reapers_elite_male-beret.lod", 0, "Head", "Reapers Elite Beret" ),
				AppearanceBuyMenuEntry( "pd_roacheselite1.eez/pd_roaches_elite-h_bandana.lod", 0, "Head", "Roaches Elite Beret" ),
            },

            ["Head - Coverings"] = {
				AppearanceBuyMenuEntry( "Clear", 0, "Covering", "Clear Covering" ),
				AppearanceBuyMenuEntry( "pd_arcticvillage_female1.eez/pd_arcticvillage_female-headcloth.lod", 0, "Covering", "Headcloth - Black" ),
				AppearanceBuyMenuEntry( "pd_arcticvillage_female1.eez/pd_arcticvillage_female-headcloth2.lod", 0, "Covering", "Headcloth - White & Dark" ),
				AppearanceBuyMenuEntry( "pd_desertvillage_female1.eez/pd_desertvillage_female-shawl.lod", 0, "Covering", "Headcloth - White" ),
				AppearanceBuyMenuEntry( "pd_desertvillage_male1.eez/pd_desertvillage_male-turban.lod", 0, "Covering", "Headcloth & Turban" ),
				AppearanceBuyMenuEntry( "pd_generic_female.eez/generic_female-shawl.lod", 0, "Covering", "Headcloth Beige" ),
				AppearanceBuyMenuEntry( "pd_generic_female_3.eez/pd_generic_female_3-hat_scarf.lod", 0, "Covering", "Bonnet - Light" ),
				AppearanceBuyMenuEntry( "pd_generic_female_5.eez/pd_generic_female_5-hat_scarf.lod", 0, "Covering", "Bonnet - Dark" ),
            },

            ["Hair"] = {
				AppearanceBuyMenuEntry( "Clear", 0, "Hair", "Clear Hair" ),
				AppearanceBuyMenuEntry( "pd_tourist_female2.eez/pd_tourist_female-h_hair.lod", 0, "Hair", "Medium - Black" ),
				AppearanceBuyMenuEntry( "pd_ms_strippers_female1.eez/pd_stripper_female-h_hair1.lod", 0, "Hair", "Medium - Gray" ),
				AppearanceBuyMenuEntry( "pd_ms_strippers_female1.eez/pd_stripper_female-h_hair2.lod", 0, "Hair", "Short - Orange" ),
            },

            ["Face"] = {
				AppearanceBuyMenuEntry( "Clear", 0, "Face", "Clear Face" ),
				AppearanceBuyMenuEntry( "pd_ms_strippers_female1.eez/pd_stripper_female-a_sunglasses.lod", 0, "Face", "Round Sunglasses" ),
				AppearanceBuyMenuEntry( "pd_ularboyselite1.eez/pd_ularboys_elite_male-glasses.lod", 0, "Face", "Opaque Sunglasses - Dark" ),
				AppearanceBuyMenuEntry( "pd_blackhand.eez/pd_blackhand-glasses.lod", 0, "Face", "Opaque Sunglasses - Light" ),
				AppearanceBuyMenuEntry( "pd_ms_scientist_male.eez/pd_ms_scientists-glasses.lod", 0, "Face", "Clear Scientist Glasses" ),
				AppearanceBuyMenuEntry( "pd_thugs1.eez/pd_thugs-o_glasses.lod", 0, "Face", "Wide Sunglasses" ),
				AppearanceBuyMenuEntry( "pd_tourist_male1.eez/pd_tourist_male-sunglasses.lod", 0, "Face", "Dark Tourist Sunglasses" ),
            },

            ["Neck"] = {
				AppearanceBuyMenuEntry( "Neck", 0, "Neck", "Clear Neck" ),
				AppearanceBuyMenuEntry( "pd_ms_civ_strippers_male2.eez/pd_civilian_stripper_male-cowboyscarf.lod", 0, "Neck", "Red Scarf" ),
				AppearanceBuyMenuEntry( "pd_ms_strippers_male2.eez/pd_ms_stripper_male-cowboyscarf.lod", 0, "Neck", "Cowboy Scarf" ),
				AppearanceBuyMenuEntry( "pd_blackmarket.eez/pd_blackmarket-scarf.lod", 0, "Neck", "Blackmarket Scarf" ),
            },

            ["Back"] = {
				AppearanceBuyMenuEntry( "Clear", 0, "Back", "Clear Back" ),
				AppearanceBuyMenuEntry( "pd_ularboysbase1.eez/pd_ularboys_base_male-backpack.lod", 0, "Back", "Backpack" ),
				AppearanceBuyMenuEntry( "pd_gov_base02.eez/pd_gov_base-bags.lod", 0, "Back", "Spec Ops Backpack" ),
				AppearanceBuyMenuEntry( "pd_gov_elite.eez/pd_govnewfix_elite-vest1.lod", 0, "Back", "Ballistic Vest 1" ),
				AppearanceBuyMenuEntry( "pd_gov_elite.eez/pd_govnewfix_elite-vest2.lod", 0, "Back", "Ballistic Vest 2" ),
				AppearanceBuyMenuEntry( "pd_ularboysbase1.eez/pd_ularboys_base_male-ammopouch.lod", 0, "Back", "Ammo Pouch" ),
				AppearanceBuyMenuEntry( "pd_ularboysbase1.eez/pd_ularboys_base_male-waterbottle.lod", 0, "Back", "Military Water Bottle" ),
            }
        }
    }
end


text:
function shortestDistance(args) {
    var start = args.start;
    var end = args.end;
    var expand = args.expand;
    var heuristic = args.heuristic;

    return aStar(end, [node(start, 0)], {});

    function aStar(target, queue, expandedNodes) {
        if (queue.length === 0) {
            return Infinity;
        }

        var nodeToExpand = queue.shift();
        if (nodeToExpand.id === target) {
            return nodeToExpand.distanceFromStart;
        } else {
            expandedNodes[nodeToExpand.id] = true;
            var nodesToAddToQueue = expand(nodeToExpand.id).filter(function(node) {
                return !expandedNodes[node.id];
            });
            var nodesFromExpansion = makeNewNodes(nodesToAddToQueue, nodeToExpand);
            return aStar(target, queue.concat(nodesFromExpansion).sort(nodeSort), expandedNodes);
        }
    }

    function nodeSort(a, b) {
        var estimatedDistanceA = a.distanceFromStart + a.heuristic;
        var estimatedDistanceB = b.distanceFromStart + b.heuristic;
        return estimatedDistanceA - estimatedDistanceB;
    }

    function makeNewNodes(nodeInfos, parentNode) {
        return nodeInfos.map(inheritFromParent);

        function inheritFromParent(nodeInfo) {
            return node(nodeInfo.id, parentNode.distanceFromStart + nodeInfo.distanceFromParent);
        }
    }

    function node(id, distanceFromStart) {
        return {
            id: id,
            heuristic: heuristic(id),
            distanceFromStart: distanceFromStart
        };
    }
}

module.exports = shortestDistance;


text:
<?php

class Ffuenf_BankPayment_Block_Adminhtml_System_Config_Fieldset_Teaser extends Ffuenf_Common_Block_Adminhtml_System_Config_Fieldset_Teaser
{
    protected $_moduleName = 'Ffuenf_BankPayment';
}


text:
@echo off
set otros_home=C:\java\olv-1.4.0

echo. Installs AEM-related OTROS plugins to %otros_home%
echo. Deletes pre-installed example plugins

del %otros_home%\plugins\logimporters\log4j-1.pattern
del %otros_home%\plugins\logimporters\selenium.pattern
del %otros_home%\plugins\markers\example-regex.marker
del %otros_home%\plugins\markers\example-string.marker

cd plugins

xcopy /s /y *.* %otros_home%\plugins

cd ..

pause


text:
{% load reversetag %}

    {% if current_page.has_previous %}
        Prev
    {% endif %}
    {% if current_page.has_other_pages %}
    {% for page_number in page_range %}
        {{ page_number }}
    {% endfor %}
    {% endif %}
    {% if current_page.has_next %}
           Next
    {% endif %}


text:
import baseAssigner from "./helper/baseAssigner";
import { baseMerge, baseDeepMerge } from "./helper/baseMerge";
import { hasOwn, objectProto } from "./helper/consts";
import createAssigner from "./helper/createAssigner";
import eq from "./eq";
import { isObjectLike } from "./isX";

function shouldSet( objValue, target, key ) {
  return objValue === undefined || ( eq( objValue, objectProto[ key ] ) && !hasOwn.call( target, key ) );
}

function baseDefaults( target, source, key ) {

  var objValue = target[ key ];

  if ( shouldSet( objValue, target, key ) ) {
    target[ key ] = source[ key ];
  }

}

// This is a customizer for `baseMerge`
function mergeDefaults( objValue, srcValue, key, target, source, stack ) {

  if ( isObjectLike( objValue ) && isObjectLike( srcValue ) ) {
    stack.set( srcValue, objValue );
    baseMerge( baseDeepMerge, objValue, srcValue, true, mergeDefaults, undefined, stack );
    stack.delete( srcValue );
  }

  if ( shouldSet( objValue, target, key ) ) {
    // Return `undefined` to let `merge` handle this
    return;
  }

  return objValue;
}

function baseDefaultsDeep( target, source, key, customizer, srcIndex, stack ) {
  return baseDeepMerge( target, source, key, mergeDefaults, srcIndex, stack );
}

export var defaults = createAssigner( baseAssigner, baseDefaults, true, false );

export var defaultsDeep = createAssigner( baseMerge, baseDefaultsDeep, true, false );


text:
namespace ArguMint
{
   internal interface IArgumentRule
   {
      void Match( object argumentClass, IMarkedProperty<ArgumentAttribute> property, ArgumentToken[] arguments );
   }
}


text:
<?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html-wide" table-class="display nowrap" order="4" framework="bootstrap4">

<css lib="datatables responsive"/>
<js lib="jquery bootstrap datatables responsive">
<![CDATA[

$(document).ready(function() {
	$('#example').DataTable( {
		responsive: {
			details: {
				display: $.fn.dataTable.Responsive.display.modal( {
					header: function ( row ) {
						var data = row.data();
						return 'Details for '+data[0]+' '+data[1];
					}
				} ),
				renderer: $.fn.dataTable.Responsive.renderer.tableAll( {
					tableClass: 'table'
				} )
			}
		}
	} );
} );

]]>
</js>

<title lib="Responsive">Bootstrap 4 modal</title>

<info><![CDATA[

This example shows the `r-init responsive.details.display` option being used with the `modal` option, which, when used with the Bootstrap 4 integration for Responsive, will use Bootstrap's native modal display.

The built-in `modal` display option should be executed as a function with optional parameters passed in to control the behaviour of the modal display. In the case of Bootstrap 4 it has only a `header` option which is a function that should return the title for the modal. If you do not wish to display a title, simply don't use this option.

Additionally, the `r-init responsive.details.renderer` option is used here to display the full data for the row, rather than just the hidden columns (which is the default behaviour) as this looks a bit better in a modal!

]]></info>

</dt-example>


text:
require 'thrift'

module Concourse
  # Signals that an attempt to conditionally add or insert data based on a
# condition that should be unique, cannot happen because the condition is not
# unique.
  class DuplicateEntryException < ::Thrift::Exception
    include ::Thrift::Struct, ::Thrift::Struct_Union
    def initialize(message=nil)
      super()
      self.message = message
    end

    MESSAGE = 1

    FIELDS = {
      MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
    }

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
  end

  # Signals that an invalid argument was submitted.
  class InvalidArgumentException < ::Thrift::Exception
    include ::Thrift::Struct, ::Thrift::Struct_Union
    def initialize(message=nil)
      super()
      self.message = message
    end

    MESSAGE = 1

    FIELDS = {
      MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
    }

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
  end

  # Signals that an unexpected or invalid token was reached while parsing.
  class ParseException < ::Thrift::Exception
    include ::Thrift::Struct, ::Thrift::Struct_Union
    def initialize(message=nil)
      super()
      self.message = message
    end

    MESSAGE = 1

    FIELDS = {
      MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
    }

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
  end

  # Signals that a security violation has occurred and the currently running
# session must end immediately.
  class SecurityException < ::Thrift::Exception
    include ::Thrift::Struct, ::Thrift::Struct_Union
    def initialize(message=nil)
      super()
      self.message = message
    end

    MESSAGE = 1

    FIELDS = {
      MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
    }

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
  end

  # The base class for all exceptions that happen during (staged) operations in
# a transaction.
#

# All operations that occur within a transaction should be wrapped in a
# try-catch block so that transaction exceptions can be caught and the
# transaction can be properly aborted.
#
#

# try {
#     concourse.stage();
#     concourse.get("foo", 1);
#     concourse.add("foo", "bar", 1);
#     concourse.commit();
# }
# catch (TransactionException e) {
#     concourse.abort();
# }
#

#
#

#

# Please note that this and all descendant exceptions are unchecked for
# backwards compatibility, but they may be changed to be checked in a future
# API breaking release.
#

  class TransactionException < ::Thrift::Exception
    include ::Thrift::Struct, ::Thrift::Struct_Union

    FIELDS = {

    }

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
  end

  # Thrown when a managed operation fails.
  class ManagementException < ::Thrift::Exception
    include ::Thrift::Struct, ::Thrift::Struct_Union
    def initialize(message=nil)
      super()
      self.message = message
    end

    MESSAGE = 1

    FIELDS = {
      MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
    }

    def struct_fields; FIELDS; end

    def validate
    end

    ::Thrift::Struct.generate_accessors self
  end

end


text:
var debug = debug || console.log;

// Setup server
var express = require('express');
var app = express();
var SERVERPORT = process.env.PORT || 3000;

var secretStuff = process.env.Secret || 'No secret!';

// Statics
app.use(express.static('public'));

app.get('/secret', function(req,res) { return res.json({ secret: secretStuff }); });

// ELSE!
app.use(function(req, res, next){
	res.writeHead(302, {
	  'Location': '/'
	});
	res.end();
});

// Start the app
var server = app.listen(SERVERPORT, function() {
  debug('Express server listening on port ' + server.address().port);
});


text:
Merb Sequel Stack
=======================

This gem provides a stack of Sequel, Rspec, JQuery, along with Merb-Auth.

To use, install the gem and simply choose 'sequel-app' from the list of merb-gen options:

~/git/merb-sequel-stack (master)$ merb-gen
Usage: merb-gen generator_name [options] [args]

Generate components for your application or entirely new applications.

Available generators
    app                              Generates a new "jump start" Merb application with support for DataMapper,
    ar-app                           This generates a "prepackaged" (or "opinionated") Merb application that uses ActiveRecord,
    controller                       Generates a new controller.
    core                             Generates a new Merb application with Ruby on Rails like structure.
    flat                             Generates a new flat Merb application: all code in one file except for config files and
    helper                           Generates a new helper.
    layout                           Generates a new layout.
    mailer                           Generates a mailer
    merb_story_setup                 Generates setup code for plain text stories
    migration                        Generates a new database migration.
    model                            Generates a new model. You can specify an ORM different from what the rest
    part                             Generates a new part controller.
    plugin                           Generates a new Merb plugin.
    resource                         Generates a new resource.
    resource_controller              Generates a new resource controller.
    sequel-app                       This generates a "prepackaged" (or "opinionated") Merb application that uses Sequel,
....<snip>

This generates your app with certain things configured for you to use Sequel.

Notes
----------

I haven't built in thor support for the stack just yet. I think there are going to be some changes to
the tasks and will wait until that settles before bringing that change in here.


text:
package com.example.android.movies.tasks;

import android.net.Uri;
import android.os.AsyncTask;
import android.util.Log;

import com.example.android.movies.BuildConfig;
import com.example.android.movies.models.MovieVideo;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;

public class FetchTrailersTask extends AsyncTask<String, Void, List<MovieVideo>> {

    private final String TAG = FetchTrailersTask.class.getSimpleName();

    private FetchTrailersTaskInterfaces fetchTrailersTaskInterfacesListener;

    public interface FetchTrailersTaskInterfaces {
        void onFetchTrailersTaskPostExecute(List<MovieVideo> trailers);
    }

    public FetchTrailersTask(FetchTrailersTaskInterfaces fetchTrailersTaskInterfacesListener) {
        this.fetchTrailersTaskInterfacesListener = fetchTrailersTaskInterfacesListener;
    }

    private List<MovieVideo> getTrailersDataFromJson(String jsonStr) throws JSONException {
        JSONObject trailerJson = new JSONObject(jsonStr);
        JSONArray trailerArray = trailerJson.getJSONArray("results");

        List<MovieVideo> results = new ArrayList<>();

        for(int i = 0; i < trailerArray.length(); i++) {
            JSONObject trailer = trailerArray.getJSONObject(i);
            // Only show Trailers which are on Youtube
            if (trailer.getString("site").contentEquals("YouTube")) {
                MovieVideo trailerModel = new MovieVideo(trailer);
                results.add(trailerModel);
            }
        }

        return results;
    }

    @Override
    protected List<MovieVideo> doInBackground(String... params) {

        if (params.length == 0) {
            return null;
        }

        HttpURLConnection urlConnection = null;
        BufferedReader reader = null;

        String jsonStr = null;

        try {
            final String BASE_URL = "http://api.themoviedb.org/3/movie/" + params[0] + "/videos";
            final String API_KEY_PARAM = "api_key";

            Uri builtUri = Uri.parse(BASE_URL).buildUpon()
                    .appendQueryParameter(API_KEY_PARAM, BuildConfig.MOVIEDB_API_KEY)
                    .build();

            URL url = new URL(builtUri.toString());

            urlConnection = (HttpURLConnection) url.openConnection();
            urlConnection.setRequestMethod("GET");
            urlConnection.connect();

            InputStream inputStream = urlConnection.getInputStream();
            StringBuffer buffer = new StringBuffer();
            if (inputStream == null) {
                return null;
            }
            reader = new BufferedReader(new InputStreamReader(inputStream));

            String line;
            while ((line = reader.readLine()) != null) {
                // Since it's JSON, adding a newline isn't necessary (it won't affect parsing)
                // But it does make debugging a *lot* easier if you print out the completed
                // buffer for debugging.
                buffer.append(line + "\n");
            }

            if (buffer.length() == 0) {
                return null;
            }
            jsonStr = buffer.toString();
        } catch (IOException e) {
            Log.e(TAG, "Error ", e);
            return null;
        } finally {
            if (urlConnection != null) {
                urlConnection.disconnect();
            }
            if (reader != null) {
                try {
                    reader.close();
                } catch (final IOException e) {
                    Log.e(TAG, "Error closing stream", e);
                }
            }
        }

        try {
            return getTrailersDataFromJson(jsonStr);
        } catch (JSONException e) {
            Log.e(TAG, e.getMessage(), e);
            e.printStackTrace();
        }

        // This will only happen if there was an error getting or parsing the forecast.
        return null;
    }

    @Override
    protected void onPostExecute(List<MovieVideo> trailers) {
        super.onPostExecute(trailers);
        if (fetchTrailersTaskInterfacesListener != null) {
            fetchTrailersTaskInterfacesListener.onFetchTrailersTaskPostExecute(trailers);
        }
    }
}


text:
from hashlib import md5

from elements.model.database import DatabaseModel
from elements.model.model    import Boolean
from elements.model.model    import Datetime
from elements.model.model    import Email
from elements.model.model    import Int
from elements.model.model    import Model
from elements.model.model    import Text

class UserModel (Model):

    # ids
    user_id = Int("ID", required=False)

    # details
    email         = Email("Email address", max=65, max_err="Too long! Max is %3")
    password      = Text("Password", min=8, min_err="Too short! Min is %3", read_only=True)
    password_hash = Text("Password Hash", required=False)
    username      = Text("Username", regex="^[a-zA-Z][a-zA-Z0-9]{3,23}$", regex_err="Invalid! Must be alphanumeric, can NOT begin with a number and between 4 and 24 characters long.")

    # statuses
    is_deleted = Boolean("Is Deleted", required=False)

    # dates
    date_created     = Datetime("Date Created", required=False)
    date_last_log_in = Datetime("Last Log In At", required=False)

# ----------------------------------------------------------------------------------------------------------------------

class UserDBModel (DatabaseModel):

    model = UserModel
    table = "user"

    # ------------------------------------------------------------------------------------------------------------------

    @staticmethod
    def hash_password (password):
        """
        Return the hash of a password.

        @param password (str)

        @return (str)
        """

        try:
            salt          = password[0] + password[7] + password[6] + password[0]
            password_hash = md5(salt + password).hexdigest()

        except:
            # failed to hash password
            return None

        return password_hash

    # ------------------------------------------------------------------------------------------------------------------

    def save (self, **kwargs):
        """
        Hash password before saving if set.

        @return (bool) True, upon success.
        """

        if self.password:
            self.password_hash = UserDBModel.hash_password(self.values()["password"])

        DatabaseModel.save(self, **kwargs)


text:
.input-group__textarea
{
    padding-top: 0.8rem;
    overflow-y: hidden;
    resize: vertical;
    background-color: transparent;
    border: none;
    color: #666;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    outline: 0;
    min-height: 10rem;
    font-size: 1rem;
    line-height: 1.5;
    font-family: sans-serif;
    box-shadow: none;
    box-sizing: content-box;
    transition: all 0.3s;
    width: 85%;
}

.input-group__textarea:focus
{
    border-bottom: 2px solid #5189c8;
}

.input-group__textarea::-webkit-input-placeholder
{
    color: #666;
    opacity: 0.6;
}


text:
<!doctype html>

    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>Catalan Club University Colorado</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="apple-touch-icon" href="apple-touch-icon.png">

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

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    Toggle navigation

                </button>

Home

About

Events & Activities

Colorado University

Balsells Fellowship

Contact

        Previous

        Next

About

The CU Catalan Club aims to share Catalan culture, gastronomy, history and politics at the University of Colorado Boulder. This club is a non-profit organization intended to serve as an exchange platform between American and Catalan cultures, and a means of encouraging Catalan students to socialize and share different viewpoints with American and other international students. This will be accomplished through several activities and cultural events throughout the year.

Catalonia

Catalonia is a region in the northeastern Spain, being Barcelona its capital. Catalonia has a very marked culture of its own, mainly influenced by Mediterranean traditions, and very distinguished from other Spanish region, having its own language (Catalan), traditions and excellent gastronomy and wines of great international reputation.

Catalan culture is very rich in traditions. One of the most remarkable and distinguishable tradition are the colles castelleres, groups of people who forms impressive human towers, up to ten people high!

Events & Activities

As a Colorado University Club we participate in the university organizing different activities and events.

Celebration of traditional Catalan festivities through several events: Diada Nacional, Sant Jordi or Castanyada.

Talks, debates, or seminars about the current situation and development in Catalonia, Europe and the United States.

Provide information and advice to CU students who are interested in going to or studying abroad in Catalonia or Spain.

Gastronomic events to shear Catalan food with other CU students.

Screening of soccer games and movies.

Diffusion of Catalan culture on media: brief description of Catalan events, places, people...

Check out our main events...

Sant Jordi April 23rd

Roses around the campus during the morning and later the celebration of the V Jocs Florals Ceremony

La Diada de Sant Jordi (Saint George's Day), also known as El dia de la Rosa (The Day of the Rose) or El dia del Llibre (The Day of the Book) is a Catalan holiday held on 23 April, with similarities to Valentine's Day and some unique twists that reflect the antiquity of the celebrations. The main event is the exchange of gifts between sweethearts, loved ones and colleagues. Historically, men gave women roses, and women gave men a book to celebrate the occasion—"a rose for love and a book forever." In modern times, the mutual exchange of books is also customary.

                        Learn more

CU International Festival April 16th

International cultures celebration. Catalan food, traditions and more. Come see us at UMC!

CU International Festival is the largest student organized event on campus and is free and open to public. At the festival people from different cultures showcase their culture with booths, performances, food sample, and interactive cultural activities.

                        Learn more

Castanyada November 1st

One of the oldest celebrations from Catalonia. Try the typical delicious roasted chestnuts and panellets

In Catalonia, celebrations involve eating roast chestnuts, panellets (special biscuits, i.e. cookies), roast or baked sweet potato and preserved fruit (candied or glazed fruit), typically with moscatell to drink. Around the time of this celebration, it is common for street vendors to sell hot toasted chestnuts wrapped in newspaper. In many places, confectioners often organise raffles of chestnuts and preserved fruit.

Diada Nacional de Catalunya Septembre 11th

The National Day of Catalonia and one of its official national symbols

 It commemorates the fall of Barcelona during the War of the Spanish Succession.[2] The Catalan troops that initially fought in support of the Habsburg dynasty's claim to the Spanish throne were finally defeated at the Siege of Barcelona by the army of the Bourbon king Philip V of Spain on 11 September 1714 after 14 months of siege.

Colorado University Boulder

The University of Colorado Boulder (commonly referred to as CU or Colorado) is a public research university located in Boulder, Colorado, United States. It is the flagship university of the University of Colorado system and was founded five months before Colorado was admitted to the Union in 1876.

As one of 34 U.S. public research institutions belonging to the prestigious Association of American Universities (AAU)—and the only member in the Rocky Mountain region—the main goal at CU Boulder is to directly affect Colorado communities through collaborative research, innovation and entrepreneurship. The faculty, staff and students work with the broader community to establish unique connections that have lasting outcomes—both across Colorado and around the world.

                    Learn more

Balsells Fellowship Program

The Balsells Graduate Fellowship Program at the University of Colorado has provided graduate fellowships and assistantships to allow outstanding students from Catalonia to pursue graduate degrees (Master's and PhD. Degrees) and participate in research projects at the University of Colorado at Boulder since August 2010.

The Balsells Fellowship at CU Boulder is currently divided in two categories:

Balsells Graduate Program
 The Fellowship Program provides full funding for students seeking MS and PhD engineering degrees at CU Boulder.

Balsells Mobility Program
 The Mobility Program is intended for students in the last year of their BS or MS degrees and matches them with CU faculty members who oversee the completion of their bachelor's or master's thesis.

Learn more

Pete J. Balsells

Peter J. Balsells was born in Barcelona. He moved to the United States as a teenager and graduated from the University of Colorado Boulder in 1952 with a Bachelor of Science degree in Mechanical Engineering. In 1958, he and his wife founded Bal Seal Engineering, Inc., which has its primary facility near Irvine, California and a secondary facility near Colorado Springs, Colorado and makes devices and components for a wide range of engineering and medical applications. Pete received a Distinguished Engineering Alumni Award from CU-Boulder in 2005 and an Honorary Doctorate in 2015.

 In 1996, a Balsells Fellowship Program was established by Pete Balsells in the School of Engineering at the University of California, Irvine (UCI). Matching support is provided by the Generalitat de Catalunya and by UCI. Since that time, similar programs have been added at CU-Boulder, the University of Colorado Colorado Springs (UCCS) and the University of California, Davis (UCD). Over 71 mobility students, 139 graduate fellows and 11 postdoctoral fellows have been supported by the programs.

In 2010, a Balsells Fellowship Program was established at the University of Colorado Boulder, Pete's alma mater. The College of Engineering and Applied Science at CU Boulder is the top-ranked engineering college in the greater Rocky Mountain region and is known for hands-on learning, as exemplified by its award-winning Integrated Teaching and Learning Laboratory (opened in 1997) and Discovery Learning Center (opened in 2002). Its vision for excellence in education and research revolves around the paradigm of Engineering for Global Society, including grand challenges in areas such as energy, the environment, and health care. A particular strength of CU is biological science and engineering, through a partnership of science and engineering departments on the Boulder campus and the medical, pharmacy and dental schools on the Denver campus.

Interested? Get in touch with us!

Email us at catalanclub@colorado.edu or find us on Facebook

                © Catalan Club University of Colorado Boulder 2017 - by GCS

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">


text:
var path = require('path');
var webpack = require('webpack');
var config = require('config');

module.exports = {
  devtool: 'source-map',
  entry: [
    'babel-polyfill',
    'normalize-css',
    './app/index',
  ],
  output: {
    path: path.join(__dirname, 'dist'),
    filename: 'bundle.js',
    publicPath: '/',
  },
  plugins: [
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.DefinePlugin({
      __CONFIG__: JSON.stringify(config),
      '__DEV__': false,
    }),
    new webpack.ProvidePlugin({
      'fetch': 'imports?this=>global!exports?global.fetch!whatwg-fetch',
    }),
    new webpack.optimize.UglifyJsPlugin({
      compressor: {
        warnings: false,
      },
    }),
  ],
  module: {
    loaders: [{
      test: /\.js$/,
      loaders: ['babel'],
      include: path.join(__dirname, 'app'),
    }, {
      test: /\.css$/,
      loader: 'style-loader!css-loader',
    }, {
      test: /\.ttf$/,
      loader: 'file-loader',
    }, {
      test: /\.svg|.png$/,
      loader: 'file-loader',
    }],
  },
};


text:
class CreateNeighborhoods < ActiveRecord::Migration
  def change
    create_table :neighborhoods do |t|
      t.string :title
      t.text :description

      t.timestamps null: false
    end
  end
end


text:
<!DOCTYPE html>

	<meta charset="utf-8">
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">

	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/bootstrap.min.css" rel="stylesheet">
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/application.min.css" rel="stylesheet">
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/css/bootstrap-responsive.css" rel="stylesheet">

	<link rel="shortcut icon" href="<?php echo Yii::app()->request->baseUrl; ?>/images/favicon.ico">
	<link rel="apple-touch-icon" href="<?php echo Yii::app()->request->baseUrl; ?>/images/apple-touch-icon.png">
	<link rel="apple-touch-icon" sizes="72x72" href="<?php echo Yii::app()->request->baseUrl; ?>/images/apple-touch-icon-72x72.png">
	<link rel="apple-touch-icon" sizes="114x114" href="<?php echo Yii::app()->request->baseUrl; ?>/images/apple-touch-icon-114x114.png">

				<?php $this->widget('bootstrap.widgets.TbNavbar', array(
    'type'=>'null', // null or 'inverse'
    'brand'=>'KMS',
    'brandUrl'=>Yii::app()->request->scriptUrl,
    'collapse'=>true, // requires bootstrap-responsive.css
    'items'=>array(
        array(
            'class'=>'bootstrap.widgets.TbMenu',
            'items'=>array(
                array('label'=>'People', 'url'=>Yii::app()->request->scriptUrl.'/user/index', 'visible'=>!Yii::app()->user->isGuest, 'icon'=>'user white'),
                array('label'=>'Tasks', 'url'=>Yii::app()->request->scriptUrl.'/tasks/index', 'visible'=>!Yii::app()->user->isGuest, 'icon'=>'list white'),
                array('label'=>'Working Groups', 'url'=>Yii::app()->request->scriptUrl.'/workinggroup/index', 'visible'=>!Yii::app()->user->isGuest,
                	'icon'=>'th-large white',
                	'items'=>array(
                			array('label'=>'Working Groups', 'url'=>Yii::app()->request->scriptUrl.'/workinggroup/index', 'visible'=>!Yii::app()->user->isGuest,),
                			array('label'=>'Working Group Members', 'url'=>Yii::app()->request->scriptUrl.'/workinggroupsmember/index', 'visible'=>!Yii::app()->user->isGuest,
                	),
                		),
                	),

            ),
        ),

       array(
            'class'=>'bootstrap.widgets.TbMenu',
            'htmlOptions'=>array('class'=>'pull-right'),
            'items'=>array(
            	array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
				array('label'=>'Logout ( '.Yii::app()->user->name.' )', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest
					, 'icon'=>'share white'),
            ),
        ),

    ),
)); ?>

	<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('BBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
			'separator'=>' / ',
		)); ?>
	<?php endif?>

	<?php echo $content; ?>

Copyright © <?php echo date('Y'); ?> barrenec.

			All Rights Reserved.


text:
<?php

namespace Maketok\DataMigration\Action\Type;

use Maketok\DataMigration\Storage\Db\ResourceInterface;
use Maketok\DataMigration\Storage\Filesystem\ResourceInterface as FsResourceInterface;
use Maketok\DataMigration\Unit\Type\Unit;

class LoadTest extends \PHPUnit_Framework_TestCase
{
    use ServiceGetterTrait;

    public function testGetCode()
    {
        $action = new Load(
            $this->getUnitBag(),
            $this->getConfig(),
            $this->getResource()
        );
        $this->assertEquals('load', $action->getCode());
    }

    /**
     * @param string $code
     * @return Unit
     */
    public function getUnit($code)
    {
        $unit = new Unit($code);
        $unit->setTable('table');
        $unit->setPk('id');
        /** @var FsResourceInterface $filesystem */
        $filesystem = $this->getMockBuilder('\Maketok\DataMigration\Storage\Filesystem\ResourceInterface')
            ->getMock();
        $unit->setFilesystem($filesystem);
        return $unit;
    }

    /**
     * @param bool $expects
     * @return ResourceInterface
     */
    protected function getResource($expects = false)
    {
        $resource = $this->getMockBuilder('\Maketok\DataMigration\Storage\Db\ResourceInterface')->getMock();
        if ($expects) {
            $resource->expects($this->atLeastOnce())->method('loadData');
        }
        return $resource;
    }

    public function testProcess()
    {
        $unit = $this->getUnit('tmp_table1');
        $unit->setTmpFileName('tmp_file.csv');
        $action = new Load(
            $this->getUnitBag([$unit]),
            $this->getConfig(),
            $this->getResource(true)
        );
        $action->process($this->getResultMock());

        $this->assertNotEmpty($unit->getTmpTable());
    }

    /**
     * @expectedException \Maketok\DataMigration\Action\Exception\WrongContextException
     */
    public function testWrongProcess()
    {
        $action = new Load(
            $this->getUnitBag([$this->getUnit('tmp_table1')]),
            $this->getConfig(),
            $this->getResource()
        );
        $action->process($this->getResultMock());
    }
}


text:
package com.evolveum.midpoint.web.component.data;

import com.evolveum.midpoint.gui.api.component.BasePanel;
import com.evolveum.midpoint.web.component.AjaxButton;
import com.evolveum.midpoint.web.component.data.column.DoubleButtonColumn;

import com.evolveum.midpoint.web.component.menu.cog.InlineMenuItem;
import com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour;

import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.attributes.AjaxRequestAttributes;
import org.apache.wicket.behavior.AttributeAppender;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.repeater.RepeatingView;
import org.apache.wicket.model.IModel;

import java.util.List;

/**
 * @author shood
 * @author mederly
 */
public class MultiButtonPanel<T> extends BasePanel<T> {

    private static final String ID_BUTTONS = "buttons";

    protected IModel<List<InlineMenuItem>> menuItemsModel = null;
    protected int numberOfButtons;

    public MultiButtonPanel(String id, int numberOfButtons, IModel<T> model, IModel<List<InlineMenuItem>> menuItemsModel){
        super(id, model);
        this.numberOfButtons = numberOfButtons;
        this.menuItemsModel = menuItemsModel;
        initLayout();
    }

    public MultiButtonPanel(String id, int numberOfButtons, IModel<T> model) {
        super(id, model);
        this.numberOfButtons = numberOfButtons;
        initLayout();
    }

    protected void initLayout() {
        RepeatingView buttons = new RepeatingView(ID_BUTTONS);
        add(buttons);
        for (int id = 0; id < numberOfButtons; id++) {
            final int finalId = getButtonId(id);
            AjaxButton button = new AjaxButton(String.valueOf(finalId), createStringResource(getCaption(finalId))) {

            	private static final long serialVersionUID = 1L;
				@Override
                public void onClick(AjaxRequestTarget target) {
                    clickPerformed(finalId, target, MultiButtonPanel.this.getModel());
                }
                @Override
                protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
                    super.updateAjaxAttributes(attributes);
                    attributes.setEventPropagation(AjaxRequestAttributes.EventPropagation.BUBBLE);
                }

            };

            button.add(new VisibleEnableBehaviour() {

            	private static final long serialVersionUID = 1L;
            	@Override
                public boolean isEnabled(){
                    return MultiButtonPanel.this.isButtonEnabled(finalId, MultiButtonPanel.this.getModel());
                }
                @Override
                public boolean isVisible(){
                    return MultiButtonPanel.this.isButtonVisible(finalId, MultiButtonPanel.this.getModel());
                }
            });
            button.add(AttributeAppender.append("class", getButtonCssClass(finalId)));
            if (!isButtonEnabled(finalId, getModel())) {
            	button.add(AttributeAppender.append("class", "disabled"));
            }
            button.add(new AttributeAppender("title", getButtonTitle(finalId)));
            buttons.add(button);
            buttons.add(new Label("label"+finalId, " "));
        }
    }

    public String getCaption(int id) {
        return String.valueOf(id);
    }

    public boolean isButtonEnabled(int id, IModel<T> model) {
        return true;
    }

    public boolean isButtonVisible(int id, IModel<T> model) {
        return true;
    }

    protected String getButtonCssClass(int id) {
        StringBuilder sb = new StringBuilder();
        sb.append(DoubleButtonColumn.BUTTON_BASE_CLASS).append(" ");
        sb.append(getButtonColorCssClass(id)).append(" ").append(getButtonSizeCssClass(id));
        if (!isButtonEnabled(id, getModel())) {
            sb.append(" disabled");
        }
        return sb.toString();
    }

    public String getButtonSizeCssClass(int id) {
        return DoubleButtonColumn.BUTTON_SIZE_CLASS.DEFAULT.toString();
    }

    protected int getButtonId(int id){
        return id;
    }

    public String getButtonTitle(int id) {
        return "";
    }

    public String getButtonColorCssClass(int id) {
        return DoubleButtonColumn.BUTTON_COLOR_CLASS.DEFAULT.toString();
    }

    public void clickPerformed(int id, AjaxRequestTarget target, IModel<T> model) {
    }

    public AjaxButton getButton(int id){
        return (AjaxButton) get(ID_BUTTONS).get(String.valueOf(id));
    }

}


text:
package org.apache.syncope.common.lib.search;

import org.apache.commons.lang3.StringUtils;

/**
 * Simple builder for generating {@code orderby} values.
 */
public class OrderByClauseBuilder {

    private final StringBuilder builder = new StringBuilder();

    public OrderByClauseBuilder asc(final String key) {
        builder.append(key).append(" ASC,");
        return this;
    }

    public OrderByClauseBuilder desc(final String key) {
        builder.append(key).append(" DESC,");
        return this;
    }

    public String build() {
        return builder.length() == 0
                ? StringUtils.EMPTY
                : builder.deleteCharAt(builder.length() - 1).toString();
    }
}