text:
package org.dddjava.simple;

import java.lang.reflect.Constructor;

public class CompositeResult<T> implements Result {
    final TargetType<T> type;
    final Constructor<T> constructor;
    final ArgumentResolvers argumentResolvers;

    public CompositeResult(TargetType<T> type, Constructor<T> constructor, ArgumentResolvers argumentResolvers) {
        this.type = type;
        this.constructor = constructor;
        this.argumentResolvers = argumentResolvers;
    }

    @Override
    public TargetType<T> type() {
        return type;
    }

    public ArgumentResolver asArgumentResolver() {
        return source -> constructor.newInstance(argumentResolvers.resolve(source));
    }
}

redpajama_set_name: RedPajamaGithub


text:
require 'quickies.pl'

print "Content-type: text/html\n\n";
($Planet, $Country, $Rate) = split(/&/, $ENV{QUERY_STRING});

if (undef $Rate) {$Rate = 0.3;}
$Path = "/home/admin/classic/se/Planets";

$TotalPath = "$Path/$Planet/users/$Country";
$MessageDir = "/home/admin/classic/se/Planets/$Planet/News";

open (IN, "$TotalPath/City.txt");
flock (IN, 1);
@Data = <IN>;
close (IN);

foreach $State (@Data) {
	($Name,$Population,$Status,$BorderLevel,$Acceptance,$Feature,$Hospitals,$Barracks,$Agriculture,$Ag,$Commercial,$Co,$Industrial,$In,$Residential,$Re,$LandSize,$FormerOwner,$CityPlanet,$Worth,$Modern,$CityType,$Schools) = split(/\|/, $State);
	$Ag = int($Ag * $Rate);
	$Co = int($Co * $Rate);
	$In = int($In * $Rate);
	$Re = int($Re * $Rate);

	push (@NewData, qqÞ$Name|$Population|$Status|$BorderLevel|$NewMorale|$Feature|$Hospitals|$Barracks|$Agriculture|$Ag|$Commercial|$Co|$Industrial|$In|$Residential|$Re|$LandSize|$FormerOwner|$CityPlanet|$Worth|$Modern|$CityType|$Schools|$PercentLeft|$TurnsLeft\nÞ);
}

open (OUT, ">$TotalPath/City.txt");
flock (OUT, 2);
print OUT @NewData;
close (OUT);

	($Sec,$Min,$Hour,$Mday,$Mon,$Year,$Wday,$Yday,$Isdst) = localtime(time);
	if (length($Sec) == 1) {$Sec = "0$Sec"}
	if (length($Min) == 1) {$Min = "0$Min"}
	if (length($Hour) == 1) {$Hour = "0$Hour"}
	$Mon++;
	$Year += 1900;

	$NCountry = $Country;
	$NCountry =~ tr/_/ /;
	print "
$TotalPath/events/$Year$Mon$Mday$Hour$Min$Sec.vnt
";
	open (DATAOUT, ">$TotalPath/events/$Year$Mon$Mday$Hour$Min$Sec.vnt") or print "Cannot Write Local News";
	print DATAOUT "$Hour:$Min:$Sec   $Mon\/$Mday\/$Year\n";
	print DATAOUT "UWG Forces have attacked our nation, inflicting decimating approximately $Rate percent of our nations cities.  We have been informed by the UWG that further attacks against weaker nations will result in additional offensives.\n";
	close (DATAOUT);

	print "$MessageDir/$Year$Mon$Mday$Hour$Min$Sec";
	open (DATAOUT, ">$MessageDir/$Year$Mon$Mday$Hour$Min$Sec") or print "Cannot Write News";
	print DATAOUT "UWG Forces Deployed Against $NCountry\n";
	print DATAOUT "$Hour:$Min:$Sec   $Mon\/$Mday\/$Year\n";
	print DATAOUT "UWG Forces, responding to the recent military activities of $NCountry, launched a vigerous assault, bypassing the national armed forces and striking deep into the heart of the nation.  According to eye-witnesses, the punitive strikes were carried out by what seemed to be units of a pre-war design.  The UWG later released a statement, saying that 'The wartime atrocities of $NCountry have lead us to this regretable action, and we trust that its leaders shall quickly undertake to reform, lest it be subject to more attacks.\n";
	close (DATAOUT);

	print "Attack Complete.";

#sub chopper{
#	foreach $k(@_){
#		chomp($k);
#	}
#}


text:
package com.highform.datastore.db.cassandra.cql;

import java.util.List;

import org.apache.commons.lang.StringUtils;

import com.highform.datastore.db.ComboCondition;
import com.highform.datastore.db.Condition;
import com.google.common.collect.Lists;

/**
 * CQLComboCondition for joining multiple conditions with AND in CQL 3.0.
 * CQL 3.0 supports NEITHER "OR" operator NOR nested conditions. For example,
 * 1. condition1 OR condition2
 * 2. (condition1 AND condition2) AND (...)
 * Thus, all the conditions and comboCombinations will be directly concatenated by "AND"
 * @author fei
 *
 */
public class CQLComboCondition implements ComboCondition {

  /**
   * Operator represents the operators supported in a Condition
   */
  public enum Operator {

    AND(" AND "),
    OR(" OR ");

    private final String opStr;

    private Operator(String opStr) {
      this.opStr = opStr;
    }

    @Override
    public String toString() { return this.opStr; }
  }

  private String opStr;
  private List<String> conditionsStr = Lists.newArrayList();

  private CQLComboCondition(Operator op) {
    this.opStr = op.toString();
  }

  /**
   * Generate a ComboCondition with AND operator
   */
  public static ComboCondition and() {
    return new CQLComboCondition(Operator.AND);
  }

  @Override
  public String build() {
    return StringUtils.join(this.conditionsStr, this.opStr);
  }

  @Override
  public ComboCondition addCondition(Condition condition) {
    this.conditionsStr.add(condition.build());
    return this;
  }

  @Override
  public ComboCondition addConditions(List<Condition> conditions) {
    for (Condition condition : conditions) {
      this.conditionsStr.add(condition.build());
    }
    return this;
  }

  @Override
  public ComboCondition addComboCondition(ComboCondition comboCondition) {
    this.conditionsStr.add(comboCondition.build());
    return this;
  }

  @Override
  public ComboCondition addComboConditions(List<ComboCondition> comboConditions) {
    for (ComboCondition comboCondition : comboConditions) {
      this.conditionsStr.add(comboCondition.build());
    }
    return this;
  }

}


text: Newb attempt at using Ansible inventories, playbooks, etc. to automate Linux system admin tasks


text:
using System.Collections.Generic;
using System.Web.Security;

namespace System.Web.Mvc
{
    internal class MembershipPasswordAttributeAdapter : DataAnnotationsModelValidator<MembershipPasswordAttribute>
    {
        public MembershipPasswordAttributeAdapter(ModelMetadata metadata, ControllerContext context, MembershipPasswordAttribute attribute)
            : base(metadata, context, attribute)
        {
        }

        public override IEnumerable<ModelClientValidationRule> GetClientValidationRules()
        {
            yield return new ModelClientValidationMembershipPasswordRule(ErrorMessage, Attribute.MinRequiredPasswordLength, Attribute.MinRequiredNonAlphanumericCharacters, Attribute.PasswordStrengthRegularExpression);
        }
    }
}


text:
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;

namespace LinqToDB.DataProvider.PostgreSQL
{
	using Common;
	using Data;
	using Mapping;
	using SqlProvider;

	class PostgreSQLDataProvider92 : PostgreSQLDataProvider { public PostgreSQLDataProvider92() : base(ProviderName.PostgreSQL92, PostgreSQLVersion.v92) {} }
	class PostgreSQLDataProvider93 : PostgreSQLDataProvider { public PostgreSQLDataProvider93() : base(ProviderName.PostgreSQL93, PostgreSQLVersion.v93) {} }
	class PostgreSQLDataProvider95 : PostgreSQLDataProvider { public PostgreSQLDataProvider95() : base(ProviderName.PostgreSQL95, PostgreSQLVersion.v95) {} }
	class PostgreSQLDataProvider15 : PostgreSQLDataProvider { public PostgreSQLDataProvider15() : base(ProviderName.PostgreSQL15, PostgreSQLVersion.v15) {} }

	public abstract class PostgreSQLDataProvider : DynamicDataProviderBase<NpgsqlProviderAdapter>
	{
		protected PostgreSQLDataProvider(PostgreSQLVersion version)
			: this(GetProviderName(version), version)
		{
		}

		protected PostgreSQLDataProvider(string name, PostgreSQLVersion version)
			: base(name, GetMappingSchema(version), NpgsqlProviderAdapter.GetInstance())
		{
			Version = version;

			SqlProviderFlags.IsApplyJoinSupported              = version != PostgreSQLVersion.v92;
			SqlProviderFlags.IsInsertOrUpdateSupported         = version is not PostgreSQLVersion.v92 and not PostgreSQLVersion.v93;
			SqlProviderFlags.IsUpdateSetTableAliasSupported    = false;
			SqlProviderFlags.IsCommonTableExpressionsSupported = true;
			SqlProviderFlags.IsDistinctOrderBySupported        = false;
			SqlProviderFlags.IsSubQueryOrderBySupported        = true;
			SqlProviderFlags.IsAllSetOperationsSupported       = true;

			SqlProviderFlags.RowConstructorSupport = RowFeature.Equality        | RowFeature.Comparisons |
			                                         RowFeature.CompareToSelect | RowFeature.In | RowFeature.IsNull |
			                                         RowFeature.Update          | RowFeature.UpdateLiteral |
			                                         RowFeature.Overlaps        | RowFeature.Between;

			SetCharFieldToType<char>("bpchar"   , DataTools.GetCharExpression);
			SetCharFieldToType<char>("character", DataTools.GetCharExpression);

			SetCharField("bpchar"   , (r,i) => r.GetString(i).TrimEnd(' '));
			SetCharField("character", (r,i) => r.GetString(i).TrimEnd(' '));

			_sqlOptimizer = new PostgreSQLSqlOptimizer(SqlProviderFlags);

			ConfigureTypes();
		}

		private void ConfigureTypes()
		{
			// https://www.postgresql.org/docs/current/static/datatype.html
			// not all types are supported now
			// numeric types
			mapType("smallint"                , NpgsqlProviderAdapter.NpgsqlDbType.Smallint);
			mapType("integer"                 , NpgsqlProviderAdapter.NpgsqlDbType.Integer);
			mapType("bigint"                  , NpgsqlProviderAdapter.NpgsqlDbType.Bigint);
			mapType("numeric"                 , NpgsqlProviderAdapter.NpgsqlDbType.Numeric);
			mapType("real"                    , NpgsqlProviderAdapter.NpgsqlDbType.Real);
			mapType("double precision"        , NpgsqlProviderAdapter.NpgsqlDbType.Double);
			// monetary types
			mapType("money"                   , NpgsqlProviderAdapter.NpgsqlDbType.Money);
			// character types
			mapType("character"               , NpgsqlProviderAdapter.NpgsqlDbType.Char);
			mapType("character varying"       , NpgsqlProviderAdapter.NpgsqlDbType.Varchar);
			mapType("text"                    , NpgsqlProviderAdapter.NpgsqlDbType.Text);
			mapType("name"                    , NpgsqlProviderAdapter.NpgsqlDbType.Name);
			mapType("char"                    , NpgsqlProviderAdapter.NpgsqlDbType.InternalChar);
			// binary types
			mapType("bytea"                   , NpgsqlProviderAdapter.NpgsqlDbType.Bytea);
			// date/time types (reltime missing from enum)
			mapType("timestamp"               , NpgsqlProviderAdapter.NpgsqlDbType.Timestamp);
			mapType("timestamp with time zone", NpgsqlProviderAdapter.NpgsqlDbType.TimestampTZ);
			mapType("date"                    , NpgsqlProviderAdapter.NpgsqlDbType.Date);
			mapType("time"                    , NpgsqlProviderAdapter.NpgsqlDbType.Time);
			mapType("time with time zone"     , NpgsqlProviderAdapter.NpgsqlDbType.TimeTZ);
			mapType("interval"                , NpgsqlProviderAdapter.NpgsqlDbType.Interval);
			mapType("abstime"                 , NpgsqlProviderAdapter.NpgsqlDbType.Abstime);
			// boolean type
			mapType("boolean"                 , NpgsqlProviderAdapter.NpgsqlDbType.Boolean);
			// geometric types
			mapType("point"                   , NpgsqlProviderAdapter.NpgsqlDbType.Point);
			mapType("line"                    , NpgsqlProviderAdapter.NpgsqlDbType.Line);
			mapType("lseg"                    , NpgsqlProviderAdapter.NpgsqlDbType.LSeg);
			mapType("box"                     , NpgsqlProviderAdapter.NpgsqlDbType.Box);
			mapType("path"                    , NpgsqlProviderAdapter.NpgsqlDbType.Path);
			mapType("polygon"                 , NpgsqlProviderAdapter.NpgsqlDbType.Polygon);
			mapType("circle"                  , NpgsqlProviderAdapter.NpgsqlDbType.Circle);
			// network address types
			mapType("cidr"                    , NpgsqlProviderAdapter.NpgsqlDbType.Cidr);
			mapType("inet"                    , NpgsqlProviderAdapter.NpgsqlDbType.Inet);
			mapType("macaddr"                 , NpgsqlProviderAdapter.NpgsqlDbType.MacAddr);
			mapType("macaddr8"                , NpgsqlProviderAdapter.NpgsqlDbType.MacAddr8);
			// bit string types
			mapType("bit"                     , NpgsqlProviderAdapter.NpgsqlDbType.Bit);
			mapType("bit varying"             , NpgsqlProviderAdapter.NpgsqlDbType.Varbit);
			// text search types
			mapType("tsvector"                , NpgsqlProviderAdapter.NpgsqlDbType.TsVector);
			mapType("tsquery"                 , NpgsqlProviderAdapter.NpgsqlDbType.TsQuery);
			// UUID type
			mapType("uuid"                    , NpgsqlProviderAdapter.NpgsqlDbType.Uuid);
			// XML type
			mapType("xml"                     , NpgsqlProviderAdapter.NpgsqlDbType.Xml);
			// JSON types
			mapType("json"                    , NpgsqlProviderAdapter.NpgsqlDbType.Json);
			mapType("jsonb"                   , NpgsqlProviderAdapter.NpgsqlDbType.Jsonb);
			// Object Identifier Types (only supported by npgsql)
			mapType("oid"                     , NpgsqlProviderAdapter.NpgsqlDbType.Oid);
			mapType("regtype"                 , NpgsqlProviderAdapter.NpgsqlDbType.Regtype);
			mapType("xid"                     , NpgsqlProviderAdapter.NpgsqlDbType.Xid);
			mapType("xid8"                    , NpgsqlProviderAdapter.NpgsqlDbType.Xid8);
			mapType("cid"                     , NpgsqlProviderAdapter.NpgsqlDbType.Cid);
			mapType("tid"                     , NpgsqlProviderAdapter.NpgsqlDbType.Tid);
			// other types
			mapType("citext"                  , NpgsqlProviderAdapter.NpgsqlDbType.Citext);
			mapType("hstore"                  , NpgsqlProviderAdapter.NpgsqlDbType.Hstore);
			mapType("refcursor"               , NpgsqlProviderAdapter.NpgsqlDbType.Refcursor);
			mapType("oidvector"               , NpgsqlProviderAdapter.NpgsqlDbType.Oidvector);
			mapType("int2vector"              , NpgsqlProviderAdapter.NpgsqlDbType.Int2Vector);
			// ranges
			mapType("int4range"               , NpgsqlProviderAdapter.NpgsqlDbType.IntegerRange);
			mapType("int8range"               , NpgsqlProviderAdapter.NpgsqlDbType.BigIntRange);
			mapType("numrange"                , NpgsqlProviderAdapter.NpgsqlDbType.NumericRange);
			mapType("tsrange"                 , NpgsqlProviderAdapter.NpgsqlDbType.TimestampRange);
			mapType("tstzrange"               , NpgsqlProviderAdapter.NpgsqlDbType.TimestampTzRange);
			mapType("daterange"               , NpgsqlProviderAdapter.NpgsqlDbType.DateRange);
			// multi-ranges
			mapType("int4multirange"          , NpgsqlProviderAdapter.NpgsqlDbType.IntegerMultirange);
			mapType("int8multirange"          , NpgsqlProviderAdapter.NpgsqlDbType.BigIntMultirange);
			mapType("nummultirange"           , NpgsqlProviderAdapter.NpgsqlDbType.NumericMultirange);
			mapType("tsmultirange"            , NpgsqlProviderAdapter.NpgsqlDbType.TimestampMultirange);
			mapType("tstzmultirange"          , NpgsqlProviderAdapter.NpgsqlDbType.TimestampTzMultirange);
			mapType("datemultirange"          , NpgsqlProviderAdapter.NpgsqlDbType.DateMultirange);

			if (Adapter.NpgsqlTimeSpanType != null) SetProviderField(Adapter.NpgsqlTimeSpanType, Adapter.NpgsqlTimeSpanType, Adapter.GetIntervalReaderMethod! , dataReaderType: Adapter.DataReaderType);
			if (Adapter.NpgsqlDateTimeType != null) SetProviderField(Adapter.NpgsqlDateTimeType, Adapter.NpgsqlDateTimeType, Adapter.GetTimeStampReaderMethod!, dataReaderType: Adapter.DataReaderType);
			if (Adapter.NpgsqlDateType     != null) SetProviderField(Adapter.NpgsqlDateType    , Adapter.NpgsqlDateType    , Adapter.GetDateReaderMethod!     , dataReaderType: Adapter.DataReaderType);

			if (Adapter.NpgsqlIntervalType != null)
				ReaderExpressions[new ReaderInfo { ToType = Adapter.NpgsqlIntervalType }] = Adapter.NpgsqlIntervalReader!;

			SetProviderField(Adapter.NpgsqlInetType, Adapter.NpgsqlInetType, GetProviderSpecificValueReaderMethod, dataReaderType: Adapter.DataReaderType);

			bool mapType(string dbType, NpgsqlProviderAdapter.NpgsqlDbType type)
			{
				if (Adapter.IsDbTypeSupported(type))
				{
					_npgsqlTypeMap.Add(dbType, type);
					return true;
				}
				return false;
			}
		}

		protected override string? NormalizeTypeName(string? typeName)
		{
			if (typeName == null)
				return null;

			if (typeName.StartsWith("character("))
				return "character";

			return typeName;
		}

		public PostgreSQLVersion Version { get; }

		public bool HasMacAddr8 => Adapter.IsDbTypeSupported(NpgsqlProviderAdapter.NpgsqlDbType.MacAddr8);

		/// <summary>
		/// Map of canonical PostgreSQL type name to NpgsqlDbType enumeration value.
		/// This map shouldn't be used directly, you should resolve PostgreSQL types using
		/// <see cref="GetNativeType(string, bool)"/> method, which takes into account different type aliases.
		/// </summary>
		private readonly IDictionary<string, NpgsqlProviderAdapter.NpgsqlDbType> _npgsqlTypeMap = new Dictionary<string, NpgsqlProviderAdapter.NpgsqlDbType>();

		private static string GetProviderName(PostgreSQLVersion version)
		{
			return version switch
			{
				PostgreSQLVersion.v15 => ProviderName.PostgreSQL15,
				PostgreSQLVersion.v92 => ProviderName.PostgreSQL92,
				PostgreSQLVersion.v93 => ProviderName.PostgreSQL93,
				_                     => ProviderName.PostgreSQL95,
			};
		}

		public override TableOptions SupportedTableOptions =>
			TableOptions.IsTemporary                |
			TableOptions.IsLocalTemporaryStructure  |
			TableOptions.IsLocalTemporaryData       |
			TableOptions.IsTransactionTemporaryData |
			TableOptions.CreateIfNotExists          |
			TableOptions.DropIfExists;

		public override ISqlBuilder CreateSqlBuilder(MappingSchema mappingSchema)
		{
			return new PostgreSQLSqlBuilder(this, mappingSchema, GetSqlOptimizer(), SqlProviderFlags);
		}

		readonly ISqlOptimizer _sqlOptimizer;

		public override ISqlOptimizer GetSqlOptimizer() => _sqlOptimizer;

		public override SchemaProvider.ISchemaProvider GetSchemaProvider()
		{
			return new PostgreSQLSchemaProvider(this);
		}

		[MethodImpl(MethodImplOptions.AggressiveInlining)]
		internal object? NormalizeTimeStamp(object? value, DbDataType dataType)
		{
			if (PostgreSQLTools.NormalizeTimestampData)
			{
				// normalize DateTimeOffset values to prevent unnecessary (in this case) npgsql 6.0.0 complains
				if (value is DateTimeOffset dto && dto.Offset != TimeSpan.Zero)
					value = dto.ToUniversalTime();
				// set DateTime.Kind to expected value for timestamp and timestamptz parameters to prevent npgsql 6.0.0 complains
				else if (value is DateTime dt)
				{
					// timestamp should have non-UTC Kind (Unspecified used by default by npgsql)
					if (dt.Kind == DateTimeKind.Utc
						&& (dataType.DataType == DataType.DateTime2 || GetNativeType(dataType.DbType) == NpgsqlProviderAdapter.NpgsqlDbType.Timestamp))
						value = DateTime.SpecifyKind(dt, DateTimeKind.Unspecified);
					// timestamptz should have UTC Kind
					else if (dt.Kind != DateTimeKind.Utc
						&& (dataType.DataType == DataType.DateTimeOffset || GetNativeType(dataType.DbType) == NpgsqlProviderAdapter.NpgsqlDbType.TimestampTZ))
						value = DateTime.SpecifyKind(dt, DateTimeKind.Utc);
				}
			}

			return value;
		}

		public override void SetParameter(DataConnection dataConnection, DbParameter parameter, string name, DbDataType dataType, object? value)
		{
			if (value is IDictionary && dataType.DataType == DataType.Undefined)
				dataType = dataType.WithDataType(DataType.Dictionary);
			else
				value = NormalizeTimeStamp(value, dataType);

			base.SetParameter(dataConnection, parameter, name, dataType, value);
		}

		protected override void SetParameterType(DataConnection dataConnection, DbParameter parameter, DbDataType dataType)
		{
			// didn't tried to detect and cleanup unnecessary type mappings, as npgsql develops rapidly and
			// it doesn't pay efforts to track changes for each version in this area
			NpgsqlProviderAdapter.NpgsqlDbType? type = null;
			switch (dataType.DataType)
			{
				case DataType.Money     : type = NpgsqlProviderAdapter.NpgsqlDbType.Money    ; break;
				case DataType.Image     :
				case DataType.Binary    :
				case DataType.VarBinary : type = NpgsqlProviderAdapter.NpgsqlDbType.Bytea    ; break;
				case DataType.Boolean   : type = NpgsqlProviderAdapter.NpgsqlDbType.Boolean  ; break;
				case DataType.Xml       : type = NpgsqlProviderAdapter.NpgsqlDbType.Xml      ; break;
				case DataType.Text      :
				case DataType.NText     : type = NpgsqlProviderAdapter.NpgsqlDbType.Text     ; break;
				case DataType.BitArray  : type = NpgsqlProviderAdapter.NpgsqlDbType.Bit      ; break;
				case DataType.Dictionary: type = NpgsqlProviderAdapter.NpgsqlDbType.Hstore   ; break;
				case DataType.Json      : type = NpgsqlProviderAdapter.NpgsqlDbType.Json     ; break;
				case DataType.BinaryJson: type = NpgsqlProviderAdapter.NpgsqlDbType.Jsonb    ; break;
				case DataType.Interval  : type = NpgsqlProviderAdapter.NpgsqlDbType.Interval ; break;
				case DataType.Int64     : type = NpgsqlProviderAdapter.NpgsqlDbType.Bigint   ; break;
					// address npgsql 6.0.0 mapping DateTime by default to timestamptz
				case DataType.DateTime  :
				case DataType.DateTime2 : type = NpgsqlProviderAdapter.NpgsqlDbType.Timestamp; break;
					// npgsql 6.0.0 changed some DbType <-> NpgsqlDbType mappings
					// while it doesn't look like having any impact on queries
					// it makes sense to hint more precise types when we know that npgsql use less precise type
					//
					// Npgsql default was: NpgsqlDbType.Text
				case DataType.NChar     :
				case DataType.Char      : type = NpgsqlProviderAdapter.NpgsqlDbType.Char     ; break;
				case DataType.NVarChar  :
				case DataType.VarChar   : type = NpgsqlProviderAdapter.NpgsqlDbType.Varchar  ; break;
			}

			if (!string.IsNullOrEmpty(dataType.DbType))
			{
				type = GetNativeType(dataType.DbType);
			}

			if (type != null)
			{
				var param = TryGetProviderParameter(dataConnection, parameter);
				if (param != null)
				{
					Adapter.SetDbType(param, type.Value);
					return;
				}
			}

			switch (dataType.DataType)
			{
				case DataType.SByte     : parameter.DbType = DbType.Int16     ; return;
				case DataType.UInt16    : parameter.DbType = DbType.Int32     ; return;
				case DataType.UInt32    : parameter.DbType = DbType.Int64     ; return;
				case DataType.UInt64    :
				case DataType.VarNumeric: parameter.DbType = DbType.Decimal   ; return;
				case DataType.DateTime2 : parameter.DbType = DbType.DateTime  ; return;
				// fallback mappings
				case DataType.Money     : parameter.DbType = DbType.Currency  ; break;
				case DataType.Xml       : parameter.DbType = DbType.Xml       ; break;
				case DataType.Text      : parameter.DbType = DbType.AnsiString; break;
				case DataType.NText     : parameter.DbType = DbType.String    ; break;
				case DataType.Image     :
				case DataType.Binary    :
				case DataType.VarBinary : parameter.DbType = DbType.Binary    ; break;
				// those types doesn't have fallback DbType
				case DataType.BitArray  : parameter.DbType = DbType.Binary    ; break;
				case DataType.Dictionary: parameter.DbType = DbType.Object    ; break;
				case DataType.Json      : parameter.DbType = DbType.String    ; break;
				case DataType.BinaryJson: parameter.DbType = DbType.String    ; break;
			}

			base.SetParameterType(dataConnection, parameter, dataType);
		}

		#region BulkCopy

		public override BulkCopyRowsCopied BulkCopy<T>(
			ITable<T> table, BulkCopyOptions options, IEnumerable<T> source)
		{
			return new PostgreSQLBulkCopy(this).BulkCopy(
				options.BulkCopyType == BulkCopyType.Default ? PostgreSQLTools.DefaultBulkCopyType : options.BulkCopyType,
				table,
				options,
				source);
		}

		public override Task<BulkCopyRowsCopied> BulkCopyAsync<T>(
			ITable<T> table, BulkCopyOptions options, IEnumerable<T> source, CancellationToken cancellationToken)
		{
			return new PostgreSQLBulkCopy(this).BulkCopyAsync(
				options.BulkCopyType == BulkCopyType.Default ? PostgreSQLTools.DefaultBulkCopyType : options.BulkCopyType,
				table,
				options,
				source,
				cancellationToken);
		}

#if NATIVE_ASYNC
		public override Task<BulkCopyRowsCopied> BulkCopyAsync<T>(
			ITable<T> table, BulkCopyOptions options, IAsyncEnumerable<T> source, CancellationToken cancellationToken)
		{
			return new PostgreSQLBulkCopy(this).BulkCopyAsync(
				options.BulkCopyType == BulkCopyType.Default ? PostgreSQLTools.DefaultBulkCopyType : options.BulkCopyType,
				table,
				options,
				source,
				cancellationToken);
		}
#endif

		#endregion

		/// <summary>
		/// Returns <see cref="NpgsqlProviderAdapter.NpgsqlDbType"/> enumeration value for requested postgresql type or null if type cannot be resolved.
		/// This method expects correct PostgreSQL type as input.
		/// Custom types not supported. Also could fail on some types as PostgreSQL have a lot of ways to write same
		/// type.
		/// </summary>
		/// <remarks>
		/// Returned value could be invalid for <see cref="NpgsqlProviderAdapter.NpgsqlDbType"/> type, if range/array flags
		/// were applied. Don't try to use results of this function for anything except passing it directly to npgsql.
		/// </remarks>
		internal NpgsqlProviderAdapter.NpgsqlDbType? GetNativeType(string? dbType, bool convertAlways = false)
		{
			if (string.IsNullOrWhiteSpace(dbType))
				return null;

			dbType = dbType!.ToLower();

			// detect arrays
			var isArray = false;
			var idx = dbType.IndexOf("array");

			if (idx == -1)
				idx = dbType.IndexOf("[");

			if (idx != -1)
			{
				isArray = true;
				dbType = dbType.Substring(0, idx);
			}

			var isRange      = false;
			var isMultiRange = false;

			dbType = dbType.Trim();

			// normalize synonyms and parameterized type names
			switch (dbType)
			{
				case "int4range":
					dbType  = "integer";
					isRange = true;
					break;
				case "int8range":
					dbType  = "bigint";
					isRange = true;
					break;
				case "numrange":
					dbType  = "numeric";
					isRange = true;
					break;
				case "tsrange":
					dbType  = "timestamp";
					isRange = true;
					break;
				case "tstzrange":
					dbType  = "timestamp with time zone";
					isRange = true;
					break;
				case "daterange":
					dbType = "date";
					isRange = true;
					break;

				case "int4multirange":
					dbType = "integer";
					isMultiRange = true;
					break;
				case "int8multirange":
					dbType = "bigint";
					isMultiRange = true;
					break;
				case "nummultirange":
					dbType = "numeric";
					isMultiRange = true;
					break;
				case "tsmultirange":
					dbType = "timestamp";
					isMultiRange = true;
					break;
				case "tstzmultirange":
					dbType = "timestamp with time zone";
					isMultiRange = true;
					break;
				case "datemultirange":
					dbType = "date";
					isMultiRange = true;
					break;

				case "timestamptz":
					dbType = "timestamp with time zone";
					break;
				case "int2":
				case "smallserial":
				case "serial2":
					dbType = "smallint";
					break;
				case "int":
				case "int4":
				case "serial":
				case "serial4":
					dbType = "integer";
					break;
				case "int8":
				case "bigserial":
				case "serial8":
					dbType = "bigint";
					break;
				case "float":
					dbType = "double precision";
					break;
				case "varchar":
					dbType = "character varying";
					break;
				case "varbit":
					dbType = "bit varying";
					break;
			}

			if (dbType.StartsWith("float(") && dbType.EndsWith(")"))
			{
				if (int.TryParse(dbType.Substring("float(".Length, dbType.Length - "float(".Length - 1), out var precision))
				{
					if (precision >= 1 && precision <= 24)
						dbType = "real";
					else if (precision >= 25 && precision <= 53)
						dbType = "real";
					// else bad type
				}
			}

			if (dbType.StartsWith("numeric(") || dbType.StartsWith("decimal"))
				dbType = "numeric";

			if (dbType.StartsWith("varchar(") || dbType.StartsWith("character varying("))
				dbType = "character varying";

			if (dbType.StartsWith("char(") || dbType.StartsWith("character("))
				dbType = "character";

			if (dbType.StartsWith("interval"))
				dbType = "interval";

			if (dbType.StartsWith("timestamp"))
				dbType = dbType.Contains("with time zone") ? "timestamp with time zone" : "timestamp";

			if (dbType.StartsWith("time(") || dbType.StartsWith("time "))
				dbType = dbType.Contains("with time zone") ? "time with time zone" : "time";

			if (dbType.StartsWith("bit("))
				dbType = "bit";

			if (dbType.StartsWith("bit varying("))
				dbType = "bit varying";

			if (_npgsqlTypeMap.ContainsKey(dbType))
			{
				var result = _npgsqlTypeMap[dbType];

				// because NpgsqlDbType fields numeric values changed in npgsql4,
				// applying flag-like array/range bits is not straightforward process
				result = Adapter.ApplyDbTypeFlags(result, isArray, isRange, isMultiRange, convertAlways);

				return result;
			}

			return null;
		}

		static MappingSchema GetMappingSchema(PostgreSQLVersion version)
		{
			return version switch
			{
				PostgreSQLVersion.v15 => new PostgreSQLMappingSchema.PostgreSQL15MappingSchema(),
				PostgreSQLVersion.v92 => new PostgreSQLMappingSchema.PostgreSQL92MappingSchema(),
				PostgreSQLVersion.v93 => new PostgreSQLMappingSchema.PostgreSQL93MappingSchema(),
				_                     => new PostgreSQLMappingSchema.PostgreSQL95MappingSchema(),
			};
		}
	}
}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Core;

namespace Azure.AI.TextAnalytics.Legacy
{
    /// <summary> Contains a set of input documents to be analyzed by the service. </summary>
    internal partial class MultiLanguageBatchInput
    {
        /// <summary> Initializes a new instance of MultiLanguageBatchInput. </summary>
        /// <param name="documents"> The set of documents to process as part of this batch. </param>
        /// <exception cref="ArgumentNullException"> <paramref name="documents"/> is null. </exception>
        public MultiLanguageBatchInput(IEnumerable<MultiLanguageInput> documents)
        {
            Argument.AssertNotNull(documents, nameof(documents));

            Documents = documents.ToList();
        }

        /// <summary> The set of documents to process as part of this batch. </summary>
        public IList<MultiLanguageInput> Documents { get; }
    }
}


text:
Rails.application.routes.draw do
  root :to => 'home#index'

  resource :game, :only => [:new, :show, :update, :destroy]
end


text:
package negocio;

import java.io.File;

import com.mxgraph.swing.mxGraphComponent;

public class Fachada {
	private Main m;

	public Fachada() {

	}

	public void importartGrafo(File file) {
		this.m = new Main(file);
	}

	public void dijkstra(String source, String target) {
		this.m.dijkstra(source, target);
	}

	public void mst() {
		this.m.mst();
	}

	public void ordenacao_topologica() {
		this.m.ordenacao_topologica();
	}

	public mxGraphComponent proximo() {
		return this.m.proximo();
	}

	public mxGraphComponent ultimo() {
		return this.m.ultimo();
	}

	public mxGraphComponent component() {
		return this.m.component();
	}
}


text:
Integration test for Jenkins WAR with bundled plugins
=====================================================

The test uses [Custom WAR Packager](https://github.com/jenkinsci/custom-war-packager) as a tool to build a custom WAR.
It basically implements a smoke test for the [JENKINS-57935](https://issues.jenkins-ci.org/browse/JENKINS-57935) fix
which is related to improper `groupId` resolution for optional dependencies.

Running locally:

```
    make test
```


text:
package de.peeeq.wurstscript;

import java.io.File;
import java.io.IOException;

import com.google.common.io.Files;

public class BackupController {

	private final File backupFolder;
	private final int backupLimit;

	public BackupController() {
		this(new File("./backups/"), 24);
	}

	public BackupController(File backupFolder, int backupLimit) {
		this.backupFolder = backupFolder;
		if (backupLimit > 998) { backupLimit = 998; }
		this.backupLimit = backupLimit;
	}

	/**
	 * create a backup of the mapfile
	 */
	public void makeBackup(String mapFileName) throws Error, IOException {
		File mapFile = new File(mapFileName);
		if (!mapFile.exists()) {
			throw new Error("Mapfile " + mapFile + " does not exist.");
		}
		backupFolder.mkdirs();
		WLogger.info(mapFileName);
		mapFileName = new File(mapFileName).getName();
		String mapName = mapFileName.substring(0,mapFileName.lastIndexOf("."));
		WLogger.info(mapName);
		int count = backupCount(mapName);
		WLogger.info("Count " + count);
		if (count > backupLimit ) {
			deleteOldBackups(mapName);
			count--;
		}

		File backupFile = new File("./backups/" + mapName + "-" + toCorrectString(count+1) + ".w3x");
		Files.copy(mapFile, backupFile);
	}

	private String toCorrectString(int i){
		String val = String.valueOf(i);
		if ( i < 10 ){
			val = "00" + val;
		}else if ( i < 100 ){
			val = "0" + val;
		}
		return val;
	}

	private int backupCount(String mapName) throws Error, IOException {
		int count = 0;
		for ( File f : backupFolder.listFiles()) {
			String name = f.getName();
			if (name.lastIndexOf("-") > 0){
				if (name.length() > 4 && name.substring(0,name.lastIndexOf("-")).equals(mapName) ) {
					count++;
				}
			}
		}
		return count;

	}

	private void deleteOldBackups(String mapName) throws Error, IOException {
		File[] files = new File[backupLimit+1];
		for ( File f : backupFolder.listFiles()) {
			String name = f.getName();
			if (name.lastIndexOf("-") > 0){
				if (name.length() > 4 && name.substring(0,name.lastIndexOf("-")).equals(mapName) ) {
					files[Integer.valueOf(name.substring(name.lastIndexOf("-")+1,name.lastIndexOf(".")))-1] = f;
				}
			}
		}
		files[0].delete();

		for ( int i = 1; i <= backupLimit; i++ ) {
			File f = files[i];
			String name = f.getName();
			WLogger.info("Current in array: " + name);
			name = name.replaceFirst("-"+toCorrectString(i+1)+"\\.", "-"+toCorrectString(i)+".");
			WLogger.info("Current in array replaced: " + name);
			File backupFile = new File("./backups/" + name );
			Files.copy(f, backupFile);
			f.delete();
		}

	}

}


text:
/*
 * George Gkasdrogkas - georgegkas@gmail.com
 * Version: 1.1.0 (currently stable), 7/6/2016
 * License: MIT
 * Project Page: https://github.com/GeorgeGkas/isometricObelisk.js
 * Documentation Page: https://github.com/GeorgeGkas/isometricObelisk.js/wiki
 */

var isometricObelisk = (function() {
  "use strict";

  var _DOM = {
    canvas: null,
    PointX: 200,
    PointY: 200,
    pixelView: null
  };

  var _OBJECT = {
    tag: null, // 'cube', 'pyramid', 'brick', 'sideX', 'slope*'
    finalPosition: null,
    position: {
      x: 0,
      y: 0,
      z: 0
    },
    finalDimension: null,
    dimension: {
      x: 80,
      y: 80,
      z: 80
    },
    border: true,
    finalColor: null,
    colorValues: {
      state: "full", // 'side'
      general: 0xeeeeee,
      top: 0xeeeeee,
      side: 0xeeeeee,
      front: 0xeeeeee
    }
  };

  // Constructor
  function isometricObelisk(canvasDOM) {
    _DOM.canvas = document.getElementById(canvasDOM.canvasId);
    _DOM.PointX = canvasDOM.PointX;
    _DOM.PointY = canvasDOM.PointY;

    var point = new obelisk.Point(_DOM.PointX, _DOM.PointY);

    _DOM.pixelView = new obelisk.PixelView(_DOM.canvas, point);
  }

  // Purpose: Checks if a parameter was added by the user
  // Return: true/false
  var _isParam = (param, obj) => {
    "use strict";
    if (obj.hasOwnProperty(param)) {
      if (obj[param].length !== 0) {
        return true;
      }
    }
    return false;
  };

  // Purpose: Returns Hex color from given rgb string
  // Return format: 0x??????
  function colorToHex(color) {
    "use strict";
    if (color[0] == "#" && color) {
      return parseInt("0x" + color.substr(1, 6).toString(16), 16);
    } else {
      return 0xeeeeee;
    }
  }

  var _setColorValues = function(fullPaint, sidePaint) {
    if (fullPaint != "custom") {
      _OBJECT.colorValues.state = "full";
      _OBJECT.colorValues.general = colorToHex(fullPaint);
    } else if (sidePaint != undefined) {
      _OBJECT.colorValues.state = "side";
      if (_isParam("top", sidePaint)) {
        _OBJECT.colorValues.top = colorToHex(sidePaint.top);
      }
      if (_isParam("side", sidePaint)) {
        _OBJECT.colorValues.side = colorToHex(sidePaint.side);
      }
      if (_isParam("front", sidePaint)) {
        _OBJECT.colorValues.front = colorToHex(sidePaint.front);
      }
    }
  };

  var _setDimensionValues = function(opt) {
    if (opt) {
      if (_isParam("x", opt)) {
        _OBJECT.dimension.x = opt.x;
      }
      if (_isParam("y", opt)) {
        _OBJECT.dimension.y = opt.y;
      }
      if (_isParam("z", opt)) {
        _OBJECT.dimension.z = opt.z;
      }
      if (_isParam("border", opt)) {
        _OBJECT.border = opt.border;
      }
    }
  };

  var _paintObject = function() {
    if (_OBJECT.tag == "cube") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.CubeColor().getByHorizontalColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.CubeColor(
          0x77000000,
          0x77000000,
          _OBJECT.colorValues.front,
          _OBJECT.colorValues.side,
          _OBJECT.colorValues.top
        );
      }
    } else if (_OBJECT.tag == "pyramid") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.PyramidColor().getByRightColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.PyramidColor(
          _OBJECT.colorValues.top,
          _OBJECT.colorValues.top,
          _OBJECT.colorValues.front,
          _OBJECT.colorValues.side
        );
      }
    } else if (_OBJECT.tag == "sideX" || _OBJECT.tag == "sideY") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.SideColor().getByInnerColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.SideColor(
          _OBJECT.colorValues.side,
          _OBJECT.colorValues.front
        );
      }
    } else if (_OBJECT.tag == "brick") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.SideColor().getByInnerColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.SideColor(
          _OBJECT.colorValues.side,
          _OBJECT.colorValues.top
        );
      }
    } else if (_OBJECT.tag == "slopeNorth") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.SlopeColor().getByHorizontalColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.SlopeColor(
          _OBJECT.colorValues.top,
          _OBJECT.colorValues.top,
          _OBJECT.colorValues.side,
          _OBJECT.colorValues.front
        );
      }
    } else if (_OBJECT.tag == "slopeEast") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.SlopeColor().getByHorizontalColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.SlopeColor(
          _OBJECT.colorValues.front,
          0x77000000,
          _OBJECT.colorValues.side,
          0x77000000
        );
      }
    } else if (_OBJECT.tag == "slopeSouth") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.SlopeColor().getByHorizontalColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.SlopeColor(
          _OBJECT.colorValues.top,
          _OBJECT.colorValues.top,
          0x77000000,
          _OBJECT.colorValues.front,
          _OBJECT.colorValues.side
        );
      }
    } else if (_OBJECT.tag == "slopeWest") {
      if (_OBJECT.colorValues.state == "full") {
        _OBJECT.finalColor = new obelisk.SlopeColor().getByHorizontalColor(
          _OBJECT.colorValues.general
        );
      } else {
        _OBJECT.finalColor = new obelisk.SlopeColor(
          _OBJECT.colorValues.top,
          _OBJECT.colorValues.top,
          _OBJECT.colorValues.side,
          _OBJECT.colorValues.front
        );
      }
    }
  };

  isometricObelisk.prototype.cube = function(Cube3d) {
    _OBJECT.tag = "cube";
    _setDimensionValues(Cube3d);

    _OBJECT.finalDimension = new obelisk.CubeDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y,
      _OBJECT.dimension.z
    );

    return this;
  };

  isometricObelisk.prototype.brick = function(Brick3d) {
    _OBJECT.tag = "brick";
    _setDimensionValues(Brick3d);

    _OBJECT.finalDimension = new obelisk.BrickDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y
    );

    return this;
  };

  isometricObelisk.prototype.pyramid = function(Pyramid3d = {}) {
    _OBJECT.tag = "pyramid";
    _setDimensionValues(Pyramid3d);

    if (Pyramid3d.hasOwnProperty("z") && Pyramid3d.z) {
      _OBJECT.finalDimension = new obelisk.PyramidDimension(
        _OBJECT.dimension.x,
        Pyramid3d.z
      );
    } else {
      _OBJECT.finalDimension = new obelisk.PyramidDimension(
        _OBJECT.dimension.x
      );
    }

    return this;
  };

  isometricObelisk.prototype.sideX = function(SideX3d) {
    _OBJECT.tag = "sideX";
    _setDimensionValues(SideX3d);

    _OBJECT.finalDimension = new obelisk.SideXDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y
    );

    return this;
  };

  isometricObelisk.prototype.sideY = function(SideY3d) {
    _OBJECT.tag = "sideY";
    _setDimensionValues(SideY3d);

    _OBJECT.finalDimension = new obelisk.SideYDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y
    );

    return this;
  };

  isometricObelisk.prototype.slopeNorth = function(slopeNorth3d) {
    _OBJECT.tag = "slopeNorth";
    _setDimensionValues(slopeNorth3d);

    _OBJECT.finalDimension = new obelisk.SlopeDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y
    );

    return this;
  };

  isometricObelisk.prototype.slopeEast = function(slopeEast3d) {
    _OBJECT.tag = "slopeEast";
    _setDimensionValues(slopeEast3d);

    _OBJECT.finalDimension = new obelisk.SlopeDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y
    );

    return this;
  };

  isometricObelisk.prototype.slopeSouth = function(slopeSouth3d) {
    _OBJECT.tag = "slopeSouth";
    _setDimensionValues(slopeSouth3d);

    _OBJECT.finalDimension = new obelisk.SlopeDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y
    );

    return this;
  };

  isometricObelisk.prototype.slopeWest = function(slopeWest3d) {
    _OBJECT.tag = "slopeWest";
    _setDimensionValues(slopeWest3d);

    _OBJECT.finalDimension = new obelisk.SlopeDimension(
      _OBJECT.dimension.x,
      _OBJECT.dimension.y
    );

    return this;
  };

  isometricObelisk.prototype.position = function(Coordinates) {
    if (Coordinates != undefined) {
      _OBJECT.position.x = Coordinates.x;
      _OBJECT.position.y = Coordinates.y;
      _OBJECT.position.z = Coordinates.z;
    } else {
      _OBJECT.position.x = 200;
      _OBJECT.position.y = 120;
      _OBJECT.position.z = 0;
    }

    _OBJECT.finalPosition = new obelisk.Point3D(
      _OBJECT.position.x,
      _OBJECT.position.y,
      _OBJECT.position.z
    );

    return this;
  };

  isometricObelisk.prototype.color = function(fullPaint, sidePaint) {
    _OBJECT.colorValues.state = "full";
    _OBJECT.colorValues.general = 0xeeeeee;
    _OBJECT.colorValues.top = 0xeeeeee;
    _OBJECT.colorValues.sidse = 0xeeeeee;
    _OBJECT.colorValues.state = 0xeeeeee;

    if (arguments.length > 0) {
      _setColorValues(fullPaint, sidePaint);
    }
    _paintObject();

    return this;
  };

  isometricObelisk.prototype.render = function() {
    var shapeObj = null;
    if (_OBJECT.tag == "cube") {
      shapeObj = new obelisk.Cube(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "brick") {
      shapeObj = new obelisk.Brick(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "pyramid") {
      shapeObj = new obelisk.Pyramid(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "sideX") {
      shapeObj = new obelisk.SideX(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "sideY") {
      shapeObj = new obelisk.SideY(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "slopeNorth") {
      shapeObj = new obelisk.SlopeNorth(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "slopeEast") {
      shapeObj = new obelisk.SlopeEast(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "slopeSouth") {
      shapeObj = new obelisk.SlopeSouth(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    } else if (_OBJECT.tag == "slopeWest") {
      shapeObj = new obelisk.SlopeWest(
        _OBJECT.finalDimension,
        _OBJECT.finalColor,
        _OBJECT.border
      );
    }

    _DOM.pixelView.renderObject(shapeObj, _OBJECT.finalPosition);

    return this;
  };

  isometricObelisk.prototype.clear = function() {
    _DOM.pixelView.clear();
  };

  return isometricObelisk;
})();


text:
/*
* Interface for Sha1 encryptor
*/
#pragma once

#ifdef __APPLE__

#ifdef __clang__
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif // __clang__

#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif // __GNUC__

#endif // __APPLE__

#include <aws/core/Core_EXPORTS.h>

#include <aws/core/utils/crypto/Hash.h>

namespace Aws
{
    namespace Utils
    {
        namespace Crypto
        {
            class WindowsHashImpl;

            /**
             * Sha1 hash implementation.
             */
            class AWS_CORE_API Sha1 : public Hash
            {
            public:
                /**
                 * Initializes platform crypto libs.
                 */
                Sha1();
                virtual ~Sha1();

                /**
                * Calculates a SHA1 Hash digest (not hex encoded)
                */
                virtual HashResult Calculate(const Aws::String& str) override;

                /**
                * Calculates a SHA1 Hash digest on a stream (the entire stream is read)
                */
                virtual HashResult Calculate(Aws::IStream& stream) override;

            private:

                std::shared_ptr< Hash > m_hashImpl;
            };

        } // namespace Crypto
    } // namespace Utils
} // namespace Aws


text:
using System.Collections.Generic;

namespace Azure.Management.Network.Models
{
    /// <summary> Response for the ListPrivateLinkService API service call. </summary>
    public partial class PrivateLinkServiceListResult
    {
        /// <summary> Initializes a new instance of PrivateLinkServiceListResult. </summary>
        internal PrivateLinkServiceListResult()
        {
        }

        /// <summary> Initializes a new instance of PrivateLinkServiceListResult. </summary>
        /// <param name="value"> A list of PrivateLinkService resources in a resource group. </param>
        /// <param name="nextLink"> The URL to get the next set of results. </param>
        internal PrivateLinkServiceListResult(IReadOnlyList<PrivateLinkService> value, string nextLink)
        {
            Value = value;
            NextLink = nextLink;
        }

        /// <summary> A list of PrivateLinkService resources in a resource group. </summary>
        public IReadOnlyList<PrivateLinkService> Value { get; }
        /// <summary> The URL to get the next set of results. </summary>
        public string NextLink { get; }
    }
}


text:
<?php

namespace zyx\widgets;

use Yii;
use yii\web\AssetBundle;

class CodemirrorAsset extends AssetBundle
{
    public $sourcePath = '@vendor/bower/codemirror';

    public $depends = [
    ];

    public $js = [
        'lib/codemirror.js',
        'mode/xml/xml.js',
        'addon/display/autorefresh.js',
        'addon/edit/matchbrackets.js',
        'addon/fold/xml-fold.js',
        'mode/htmlembedded/htmlembedded.js',
        'mode/htmlmixed/htmlmixed.js',
        'mode/javascript/javascript.js',
        'mode/css/css.js',
        'mode/clike/clike.js',
        'mode/php/php.js',
    ];

    public $css = [
        'lib/codemirror.css',
        'theme/eclipse.css',
    ];

    public $jsOptions = [];

    public $cssOptions = [];

    /**
     * @inheritdoc
     */
    public function init()
    {
        parent::init();
    }

}


text:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<title>Class: tinymce.Editor</title>
<meta name="generator" content="MoxieDoc" />

<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/grids.css" />
<link rel="stylesheet" type="text/css" href="css/general.css" />

tinymce.Editor

Namespace
tinymce

Class
Editor

This class contains the core logic for a TinyMCE editor.

Example

Public Properties

Property
Defined By

baseURI : URI

URI object to current document that holds the TinyMCE editor instance.

Editor

contentCSS : Array

Array with CSS files to load into the iframe.

Editor

controlManager : ControlManager

Control manager instance for the editor.

Editor

documentBaseURI : URI

URI object to document configured for the TinyMCE instance.

Editor

dom : DOMUtils

DOM instance for the editor.

Editor

formatter : Formatter

Formatter instance.

Editor

id : String

Editor instance id, normally the same as the div/textarea that was replaced.

Editor

initialized : Boolean

Is set to true after the editor instance has been initialized

Editor

isNotDirty : Boolean

State to force the editor to return false on a isDirty call.

Editor

parser : DomParser

HTML parser will be used when contents is inserted into the editor.

Editor

plugins : Object

Name/Value object containting plugin instances.

Editor

schema : Schema

Schema instance, enables you to validate elements and it's children.

Editor

selection : Selection

Selection instance for the editor.

Editor

serializer : Serializer

DOM serializer for the editor.

Editor

settings : Object

Name/value collection with editor settings.

Editor

theme : Theme

Reference to the theme instance that was used to generate the UI.

Editor

undoManager : UndoManager

Undo manager instance, responsible for handling undo levels.

Editor

windowManager : WindowManager

Window manager reference, use this to open new windows and dialogs.

Editor

Public Methods

Method
Defined By

Editor(id:String, settings:Object)

Constructs a editor instance by id.

Editor

addButton(name:String, settings:Object):void

Adds a button that later gets created by the ControlManager.

Editor

addCommand(name:String, callback:tinymce.Editor.addCommandCallback, scope:Object):void

Adds a custom command to the editor, you can also override existing commands with this method.

Editor

addQueryStateHandler(name:String, callback:tinymce.Editor.addQueryStateHandlerCallback, scope:Object):void

Adds a custom query state command to the editor, you can also override existing commands with this method.

Editor

addQueryValueHandler(name:String, callback:tinymce.Editor.addQueryValueHandlerCallback, scope:Object):void

Adds a custom query value command to the editor, you can also override existing commands with this method.

Editor

addShortcut(pa:String, desc:String, cmd_func:String/Function, sc:Object):Boolean

Adds a keyboard shortcut for some command or function.

Editor

addVisual(elm:Element):void

Adds visual aid for tables, anchors etc so they can be more easily edited inside the editor.

Editor

convertURL(url:string, name:string, elm:string/HTMLElement):string

URL converter function this gets executed each time a user adds an img, a or any other element that has a URL in it.

Editor

destroy(s:Boolean):void

Destroys the editor instance by removing all events, element references or other resources that could leak memory.

Editor

execCallback(n:String):Object

Executes a legacy callback.

Editor

execCommand(cmd:String, ui:Boolean, val:mixed, a:Object):Boolean

Executes a command on the current instance.

Editor

focus(skip_focus:Boolean):void

Focuses/activates the editor.

Editor

getBody():Element

Returns the iframes body element.

Editor

getContainer():Element

Returns the editors container element.

Editor

getContent(args:Object):String

Gets the content from the editor instance, this will cleanup the content before it gets returned using the different cle...

Editor

getContentAreaContainer():Element

Returns the editors content area container element.

Editor

getDoc():Document

Returns the iframes document object.

Editor

getElement():Element

Returns the target element/textarea that got replaced with a TinyMCE editor instance.

Editor

getLang(n:String, dv:String):void

Returns a language pack item by name/key.

Editor

getParam(n:String, dv:String, ty:String):String

Returns a configuration parameter by name.

Editor

getWin():Window

Returns the iframes window object.

Editor

hide():void

Hides the editor and shows any textarea/div that the editor is supposed to replace.

Editor

init():void

Initializes the editor this will be called automatically when all plugins/themes and language packs are loaded by the re...

Editor

initContentBody():void

This method get called by the init method ones the iframe is loaded.

Editor

isDirty():Boolean

Returns true/false if the editor is dirty or not.

Editor

isHidden():Boolean

Returns true/false if the editor is hidden or not.

Editor

load(o:Object):String

Loads contents from the textarea or div element that got converted into an editor instance.

Editor

nodeChanged(o:Object):void

Distpaches out a onNodeChange event to all observers.

Editor

queryCommandState(cmd:string):Boolean

Returns a command specific state, for example if bold is enabled or not.

Editor

queryCommandValue(c:string):Object

Returns a command specific value, for example the current font size.

Editor

remove():void

Removes the editor from the dom and tinymce collection.

Editor

render():void

Renderes the editor/adds it to the page.

Editor

save(o:Object):String

Saves the contents from a editor out to the textarea or div element that got converted into an editor instance.

Editor

setContent(content:String, args:Object):String

Sets the specified content to the editor instance, this will cleanup the content before it gets set using the different ...

Editor

setProgressState(b:Boolean, ti:Number, o:Object):Boolean

Sets the progress state, this will display a throbber/progess for the editor.

Editor

show():void

Shows the editor and hides any textarea/div that the editor is supposed to replace.

Editor

translate(s:String):String

Translates the specified string by replacing variables with language pack items it will also check if there is a key mat...

Editor

Property details

baseURIproperty

public baseURI : URI

URI object to current document that holds the TinyMCE editor instance.

Example

contentCSSproperty

public contentCSS : Array

Array with CSS files to load into the iframe.

controlManagerproperty

public controlManager : ControlManager

Control manager instance for the editor. Will enables you to create new UI elements and change their states etc.

Example

documentBaseURIproperty

public documentBaseURI : URI

URI object to document configured for the TinyMCE instance.

Example

domproperty

public dom : DOMUtils

DOM instance for the editor.

Example

formatterproperty

public formatter : Formatter

Formatter instance.

idproperty

public id : String

Editor instance id, normally the same as the div/textarea that was replaced.

initializedproperty

public initialized : Boolean

Is set to true after the editor instance has been initialized

Example

isNotDirtyproperty

public isNotDirty : Boolean

State to force the editor to return false on a isDirty call.

Example

parserproperty

public parser : DomParser

HTML parser will be used when contents is inserted into the editor.

pluginsproperty

public plugins : Object

Name/Value object containting plugin instances.

Example

schemaproperty

public schema : Schema

Schema instance, enables you to validate elements and it's children.

selectionproperty

public selection : Selection

Selection instance for the editor.

Example

serializerproperty

public serializer : Serializer

DOM serializer for the editor. Will be used when contents is extracted from the editor.

Example

settingsproperty

public settings : Object

Name/value collection with editor settings.

Example

themeproperty

public theme : Theme

Reference to the theme instance that was used to generate the UI.

Example

undoManagerproperty

public undoManager : UndoManager

Undo manager instance, responsible for handling undo levels.

Example

windowManagerproperty

public windowManager : WindowManager

Window manager reference, use this to open new windows and dialogs.

Example

Method details

Editorconstructor

public
						function Editor(id:String, settings:Object)

Constructs a editor instance by id.

Author(s):Moxiecode

Parameters

id:String
Unique id for the editor.

settings:Object
Optional settings string for the editor.

addButtonmethod

public
						function addButton(name:String, settings:Object):void

Adds a button that later gets created by the ControlManager. This is a shorter and easier method
of adding buttons without the need to deal with the ControlManager directly. But it's also less
powerfull if you need more control use the ControlManagers factory methods instead.

Parameters

name:String
Button name to add.

settings:Object
Settings object with title, cmd etc.

Example

addCommandmethod

public
						function addCommand(name:String, callback:tinymce.Editor.addCommandCallback, scope:Object):void

Adds a custom command to the editor, you can also override existing commands with this method.
The command that you add can be executed with execCommand.

Parameters

name:String
Command name to add/override.

callback:tinymce.Editor.addCommandCallback
Function to execute when the command occurs.

scope:Object
Optional scope to execute the function in.

Example

addQueryStateHandlermethod

public
						function addQueryStateHandler(name:String, callback:tinymce.Editor.addQueryStateHandlerCallback, scope:Object):void

Adds a custom query state command to the editor, you can also override existing commands with this method.
The command that you add can be executed with queryCommandState function.

Parameters

name:String
Command name to add/override.

callback:tinymce.Editor.addQueryStateHandlerCallback
Function to execute when the command state retrival occurs.

scope:Object
Optional scope to execute the function in.

addQueryValueHandlermethod

public
						function addQueryValueHandler(name:String, callback:tinymce.Editor.addQueryValueHandlerCallback, scope:Object):void

Adds a custom query value command to the editor, you can also override existing commands with this method.
The command that you add can be executed with queryCommandValue function.

Parameters

name:String
Command name to add/override.

callback:tinymce.Editor.addQueryValueHandlerCallback
Function to execute when the command value retrival occurs.

scope:Object
Optional scope to execute the function in.

addShortcutmethod

public
						function addShortcut(pa:String, desc:String, cmd_func:String/Function, sc:Object):Boolean

Adds a keyboard shortcut for some command or function.

Parameters

pa:String
Shortcut pattern. Like for example: ctrl+alt+o.

desc:String
Text description for the command.

cmd_func:String/Function
Command name string or function to execute when the key is pressed.

sc:Object
Optional scope to execute the function in.

Returns

Boolean - true/false state if the shortcut was added or not.

addVisualmethod

public
						function addVisual(elm:Element):void

Adds visual aid for tables, anchors etc so they can be more easily edited inside the editor.

Parameters

elm:Element
Optional root element to loop though to find tables etc that needs the visual aid.

convertURLmethod

public
						function convertURL(url:string, name:string, elm:string/HTMLElement):string

URL converter function this gets executed each time a user adds an img, a or
any other element that has a URL in it. This will be called both by the DOM and HTML
manipulation functions.

Parameters

url:string
URL to convert.

name:string
Attribute name src, href etc.

elm:string/HTMLElement
Tag name or HTML DOM element depending on HTML or DOM insert.

Returns

string - Converted URL string.

destroymethod

public
						function destroy(s:Boolean):void

Destroys the editor instance by removing all events, element references or other resources
that could leak memory. This method will be called automatically when the page is unloaded
but you can also call it directly if you know what you are doing.

Parameters

s:Boolean
Optional state if the destroy is an automatic destroy or user called one.

execCallbackmethod

public
						function execCallback(n:String):Object

Executes a legacy callback. This method is useful to call old 2.x option callbacks.
There new event model is a better way to add callback so this method might be removed in the future.

Parameters

n:String
Name of the callback to execute.

Returns

Object - Return value passed from callback function.

execCommandmethod

public
						function execCommand(cmd:String, ui:Boolean, val:mixed, a:Object):Boolean

Executes a command on the current instance. These commands can be TinyMCE internal commands prefixed with "mce" or
they can be build in browser commands such as "Bold". A compleate list of browser commands is available on MSDN or Mozilla.org.
This function will dispatch the execCommand function on each plugin, theme or the execcommand_callback option if none of these
return true it will handle the command as a internal browser command.

Parameters

cmd:String
Command name to execute, for example mceLink or Bold.

ui:Boolean
True/false state if a UI (dialog) should be presented or not.

val:mixed
Optional command value, this can be anything.

a:Object
Optional arguments object.

Returns

Boolean - True/false if the command was executed or not.

focusmethod

public
						function focus(skip_focus:Boolean):void

Focuses/activates the editor. This will set this editor as the activeEditor in the tinymce collection
it will also place DOM focus inside the editor.

Parameters

skip_focus:Boolean
Skip DOM focus. Just set is as the active editor.

getBodymethod

public
						function getBody():Element

Returns the iframes body element.

Returns

Element - Iframe body element.

getContainermethod

public
						function getContainer():Element

Returns the editors container element. The container element wrappes in
all the elements added to the page for the editor. Such as UI, iframe etc.

Returns

Element - HTML DOM element for the editor container.

getContentmethod

public
						function getContent(args:Object):String

Gets the content from the editor instance, this will cleanup the content before it gets returned using
the different cleanup rules options.

Parameters

args:Object
Optional content object, this gets passed around through the whole get process.

Returns

String - Cleaned content string, normally HTML contents.

Example

getContentAreaContainermethod

public
						function getContentAreaContainer():Element

Returns the editors content area container element. The this element is the one who
holds the iframe or the editable element.

Returns

Element - HTML DOM element for the editor area container.

getDocmethod

public
						function getDoc():Document

Returns the iframes document object.

Returns

Document - Iframe DOM document object.

getElementmethod

public
						function getElement():Element

Returns the target element/textarea that got replaced with a TinyMCE editor instance.

Returns

Element - HTML DOM element for the replaced element.

getLangmethod

public
						function getLang(n:String, dv:String):void

Returns a language pack item by name/key.

Parameters

n:String
Name/key to get from the language pack.

dv:String
Optional default value to retrive.

getParammethod

public
						function getParam(n:String, dv:String, ty:String):String

Returns a configuration parameter by name.

Parameters

n:String
Configruation parameter to retrive.

dv:String
Optional default value to return.

ty:String
Optional type parameter.

Returns

String - Configuration parameter value or default value.

Example

getWinmethod

public
						function getWin():Window

Returns the iframes window object.

Returns

Window - Iframe DOM window object.

hidemethod

public
						function hide():void

Hides the editor and shows any textarea/div that the editor is supposed to replace.

initmethod

public
						function init():void

Initializes the editor this will be called automatically when
all plugins/themes and language packs are loaded by the rendered method.
This method will setup the iframe and create the theme and plugin instances.

initContentBodymethod

public
						function initContentBody():void

This method get called by the init method ones the iframe is loaded.
It will fill the iframe with contents, setups DOM and selection objects for the iframe.
This method should not be called directly.

isDirtymethod

public
						function isDirty():Boolean

Returns true/false if the editor is dirty or not. It will get dirty if the user has made modifications to the contents.

Returns

Boolean - True/false if the editor is dirty or not. It will get dirty if the user has made modifications to the contents.

Example

isHiddenmethod

public
						function isHidden():Boolean

Returns true/false if the editor is hidden or not.

Returns

Boolean - True/false if the editor is hidden or not.

loadmethod

public
						function load(o:Object):String

Loads contents from the textarea or div element that got converted into an editor instance.
This method will move the contents from that textarea or div into the editor by using setContent
so all events etc that method has will get dispatched as well.

Parameters

o:Object
Optional content object, this gets passed around through the whole load process.

Returns

String - HTML string that got set into the editor.

nodeChangedmethod

public
						function nodeChanged(o:Object):void

Distpaches out a onNodeChange event to all observers. This method should be called when you
need to update the UI states or element path etc.

Parameters

o:Object
Optional object to pass along for the node changed event.

queryCommandStatemethod

public
						function queryCommandState(cmd:string):Boolean

Returns a command specific state, for example if bold is enabled or not.

Parameters

cmd:string
Command to query state from.

Returns

Boolean - Command specific state, for example if bold is enabled or not.

queryCommandValuemethod

public
						function queryCommandValue(c:string):Object

Returns a command specific value, for example the current font size.

Parameters

c:string
Command to query value from.

Returns

Object - Command specific value, for example the current font size.

removemethod

public
						function remove():void

Removes the editor from the dom and tinymce collection.

rendermethod

public
						function render():void

Renderes the editor/adds it to the page.

savemethod

public
						function save(o:Object):String

Saves the contents from a editor out to the textarea or div element that got converted into an editor instance.
This method will move the HTML contents from the editor into that textarea or div by getContent
so all events etc that method has will get dispatched as well.

Parameters

o:Object
Optional content object, this gets passed around through the whole save process.

Returns

String - HTML string that got set into the textarea/div.

setContentmethod

public
						function setContent(content:String, args:Object):String

Sets the specified content to the editor instance, this will cleanup the content before it gets set using
the different cleanup rules options.

Parameters

content:String
Content to set to editor, normally HTML contents but can be other formats as well.

args:Object
Optional content object, this gets passed around through the whole set process.

Returns

String - HTML string that got set into the editor.

Example

setProgressStatemethod

public
						function setProgressState(b:Boolean, ti:Number, o:Object):Boolean

Sets the progress state, this will display a throbber/progess for the editor.
This is ideal for asycronous operations like an AJAX save call.

Parameters

b:Boolean
Boolean state if the progress should be shown or hidden.

ti:Number
Optional time to wait before the progress gets shown.

o:Object
Optional object to pass to the progress observers.

Returns

Boolean - Same as the input state.

Example

showmethod

public
						function show():void

Shows the editor and hides any textarea/div that the editor is supposed to replace.

translatemethod

public
						function translate(s:String):String

Translates the specified string by replacing variables with language pack items it will also check if there is
a key mathcin the input.

Parameters

s:String
String to translate by the language pack data.

Returns

String - Translated string.


text:
Most ordered products in each category

        <shop-cart></shop-cart>


text:
package org.optaplanner.persistence.jaxb.api.score.buildin.hardmediumsoftlong;

import org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore;
import org.optaplanner.persistence.jaxb.api.score.AbstractScoreJaxbAdapter;

/**
 * {@inheritDoc}
 */
public class HardMediumSoftLongScoreJaxbAdapter extends AbstractScoreJaxbAdapter<HardMediumSoftLongScore> {

    @Override
    public HardMediumSoftLongScore unmarshal(String scoreString) {
        return HardMediumSoftLongScore.parseScore(scoreString);
    }

}


text:
package geeksforgeeks;

/*
 * http://www.geeksforgeeks.org/amazon-interview-set-13-2/
 * Find the diameter of a tree.
 */;
 public class _01AmazonInterview_14_05 {
	public static void main(String[] args) {

	}

 }


text:
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models, transaction

class Migration(SchemaMigration):

    def forwards(self, orm):

        # Adding model 'ProjectDomain'
        db.create_table('sentry_projectdomain', (
            ('id', self.gf('sentry.db.models.fields.bounded.BoundedBigAutoField')(primary_key=True)),
            ('project', self.gf('sentry.db.models.fields.FlexibleForeignKey')(related_name='domain_set', to=orm['sentry.Project'])),
            ('domain', self.gf('django.db.models.fields.CharField')(max_length=128)),
        ))
        db.send_create_signal('sentry', ['ProjectDomain'])

        # Adding unique constraint on 'ProjectDomain', fields ['project', 'domain']
        db.create_unique('sentry_projectdomain', ['project_id', 'domain'])

    def backwards(self, orm):

        # Removing unique constraint on 'ProjectDomain', fields ['project', 'domain']
        db.delete_unique('sentry_projectdomain', ['project_id', 'domain'])

        # Deleting model 'ProjectDomain'
        db.delete_table('sentry_projectdomain')

    models = {
        'sentry.user': {
            'Meta': {'object_name': 'User', 'db_table': "'auth_user'"},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        'sentry.filtervalue': {
            'Meta': {'unique_together': "(('project', 'key', 'value'),)", 'object_name': 'FilterValue'},
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
            'project': ('sentry.db.models.fields.FlexibleForeignKey', [], {'to': "orm['sentry.Project']", 'null': 'True'}),
            'value': ('django.db.models.fields.CharField', [], {'max_length': '200'})
        },
        'sentry.groupedmessage': {
            'Meta': {'unique_together': "(('project', 'logger', 'view', 'checksum'),)", 'object_name': 'GroupedMessage'},
            'checksum': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}),
            'class_name': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'data': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'first_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'db_index': 'True'}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'db_index': 'True'}),
            'level': ('django.db.models.fields.PositiveIntegerField', [], {'default': '40', 'db_index': 'True', 'blank': 'True'}),
            'logger': ('django.db.models.fields.CharField', [], {'default': "'root'", 'max_length': '64', 'db_index': 'True', 'blank': 'True'}),
            'message': ('django.db.models.fields.TextField', [], {}),
            'project': ('sentry.db.models.fields.FlexibleForeignKey', [], {'to': "orm['sentry.Project']", 'null': 'True'}),
            'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
            'status': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}),
            'times_seen': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1', 'db_index': 'True'}),
            'traceback': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'view': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        'sentry.message': {
            'Meta': {'object_name': 'Message'},
            'checksum': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}),
            'class_name': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '128', 'null': 'True', 'blank': 'True'}),
            'data': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'datetime': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'db_index': 'True'}),
            'group': ('sentry.db.models.fields.FlexibleForeignKey', [], {'blank': 'True', 'related_name': "'message_set'", 'null': 'True', 'to': "orm['sentry.GroupedMessage']"}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'level': ('django.db.models.fields.PositiveIntegerField', [], {'default': '40', 'db_index': 'True', 'blank': 'True'}),
            'logger': ('django.db.models.fields.CharField', [], {'default': "'root'", 'max_length': '64', 'db_index': 'True', 'blank': 'True'}),
            'message': ('django.db.models.fields.TextField', [], {}),
            'message_id': ('django.db.models.fields.CharField', [], {'max_length': '32', 'unique': 'True', 'null': 'True'}),
            'project': ('sentry.db.models.fields.FlexibleForeignKey', [], {'to': "orm['sentry.Project']", 'null': 'True'}),
            'server_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
            'site': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'db_index': 'True'}),
            'traceback': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
            'url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
            'view': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'})
        },
        'sentry.messagecountbyminute': {
            'Meta': {'unique_together': "(('project', 'group', 'date'),)", 'object_name': 'MessageCountByMinute'},
            'date': ('django.db.models.fields.DateTimeField', [], {}),
            'group': ('sentry.db.models.fields.FlexibleForeignKey', [], {'to': "orm['sentry.GroupedMessage']"}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'project': ('sentry.db.models.fields.FlexibleForeignKey', [], {'to': "orm['sentry.Project']", 'null': 'True'}),
            'times_seen': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
        },
        'sentry.messagefiltervalue': {
            'Meta': {'unique_together': "(('project', 'key', 'value', 'group'),)", 'object_name': 'MessageFilterValue'},
            'group': ('sentry.db.models.fields.FlexibleForeignKey', [], {'to': "orm['sentry.GroupedMessage']"}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'key': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
            'project': ('sentry.db.models.fields.FlexibleForeignKey', [], {'to': "orm['sentry.Project']", 'null': 'True'}),
            'times_seen': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'value': ('django.db.models.fields.CharField', [], {'max_length': '200'})
        },
        'sentry.messageindex': {
            'Meta': {'unique_together': "(('column', 'value', 'object_id'),)", 'object_name': 'MessageIndex'},
            'column': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
            'value': ('django.db.models.fields.CharField', [], {'max_length': '128'})
        },
        'sentry.project': {
            'Meta': {'object_name': 'Project'},
            'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
            'owner': ('sentry.db.models.fields.FlexibleForeignKey', [], {'related_name': "'owned_project_set'", 'null': 'True', 'to': "orm['sentry.User']"}),
            'public': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
        },
        'sentry.projectdomain': {
            'Meta': {'unique_together': "(('project', 'domain'),)", 'object_name': 'ProjectDomain'},
            'domain': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'project': ('sentry.db.models.fields.FlexibleForeignKey', [], {'related_name': "'domain_set'", 'to': "orm['sentry.Project']"})
        },
        'sentry.projectmember': {
            'Meta': {'unique_together': "(('project', 'user'),)", 'object_name': 'ProjectMember'},
            'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'id': ('sentry.db.models.fields.bounded.BoundedBigAutoField', [], {'primary_key': 'True'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'permissions': ('django.db.models.fields.BigIntegerField', [], {}),
            'project': ('sentry.db.models.fields.FlexibleForeignKey', [], {'related_name': "'member_set'", 'to': "orm['sentry.Project']"}),
            'public_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'unique': 'True', 'null': 'True'}),
            'secret_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'unique': 'True', 'null': 'True'}),
            'user': ('sentry.db.models.fields.FlexibleForeignKey', [], {'related_name': "'project_set'", 'to': "orm['sentry.User']"})
        }
    }

    complete_apps = ['sentry']


text:
require File.dirname(__FILE__) + '/../lib/dsl_tree'

# create a dsl description, inherit from DslTree::DSL
class MyDSL < DslTree::DSL

  # definine initialize that populates the dsl description using the DslBuilder
  def initialize()
    @dsl = DslTree::DslBuilder.new{
      root->(parent, id, options={}){ Parent.new(parent, id, options) } {
        child->(parent, id, options={}){ Child.new(parent, id, options) }
      }
    }
  end

end

# objects in the model need to inherit from DslTree::ModelNode
class Parent < DslTree::ModelNode

  attr_accessor :nickname

  def initialize(parent, id, options={})
    @nickname = options[:nickname]
    super
  end

end

class Child < DslTree::ModelNode

  attr_accessor :nickname

  def initialize(parent, id, options={})
    @nickname = options[:nickname]
    super
  end

end


text:
// key: compiler.warn.assert.as.identifier
// options: -source 1.3 -Xlint:-options

class AssertAsIdentifier {
    int assert;
}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using AdamsLair.WinForms.TimelineControls;

namespace AdamsLair.WinForms.TestApp
{
	public class TimelineFunctionGraphModel : ITimelineGraphModel
	{
		public delegate float EnvelopeFunc(float begin, float end);
		public delegate float ValueFunc(float x);

		private ValueFunc func;
		private EnvelopeFunc maxFunc;
		private EnvelopeFunc minFunc;
		private float begin;
		private float end;

		public event EventHandler<TimelineGraphRangeEventArgs> GraphChanged;

		public float EndTime
		{
			get { return this.end; }
			set
			{
				if (this.end != value)
				{
					float oldEnd = this.end;
					this.end = value;
					this.RaiseGraphChanged(Math.Min(oldEnd, this.end), Math.Max(oldEnd, this.end));
				}
			}
		}
		public float BeginTime
		{
			get { return this.begin; }
			set
			{
				if (this.begin != value)
				{
					float oldBegin = this.begin;
					this.begin = value;
					this.RaiseGraphChanged(Math.Min(oldBegin, this.begin), Math.Max(oldBegin, this.begin));
				}
			}
		}
		public ValueFunc Function
		{
			get { return this.func; }
			set
			{
				if (this.func != value)
				{
					this.func = value;
					this.RaiseGraphChanged(this.begin, this.end);
				}
			}
		}
		public EnvelopeFunc EnvelopeMaxFunction
		{
			get { return this.maxFunc; }
			set
			{
				if (this.maxFunc != value)
				{
					this.maxFunc = value;
					this.RaiseGraphChanged(this.begin, this.end);
				}
			}
		}
		public EnvelopeFunc EnvelopeMinFunction
		{
			get { return this.minFunc; }
			set
			{
				if (this.minFunc != value)
				{
					this.minFunc = value;
					this.RaiseGraphChanged(this.begin, this.end);
				}
			}
		}

		public TimelineFunctionGraphModel(ValueFunc func, EnvelopeFunc minFunc, EnvelopeFunc maxFunc, float begin, float end)
		{
			this.func = func;
			this.minFunc = minFunc;
			this.maxFunc = maxFunc;
			this.begin = begin;
			this.end = end;
		}

		public float GetValueAtX(float time)
		{
			return this.func(time);
		}
		public float GetMaxValueInRange(float begin, float end)
		{
			return this.maxFunc(begin, end);
		}
		public float GetMinValueInRange(float begin, float end)
		{
			return this.minFunc(begin, end);
		}

		private void RaiseGraphChanged()
		{
			this.RaiseGraphChanged(this.begin, this.end);
		}
		private void RaiseGraphChanged(float at)
		{
			this.RaiseGraphChanged(at, at);
		}
		private void RaiseGraphChanged(float from, float to)
		{
			if (this.GraphChanged != null)
				this.GraphChanged(this, new TimelineGraphRangeEventArgs(this, from, to));
		}
	}
}


text:
'use babel'

/* @flow */

export type FunctionBreakpoint = { function: string }
export type LineBreakpoint = { filePath: string, bufferRow: number }
export type BreakpointLocation = LineBreakpoint | FunctionBreakpoint

export default class Breakpoint {
  location: BreakpointLocation;
  enabled: boolean;
  condition: ?string;
  activeBufferRow: ?number;

  constructor(location: BreakpointLocation, condition?: string) {
    if (!location.function && (!location.filePath || !location.bufferRow)) {
      throw new TypeError('location must be BreakpointLocation')
    }

    this.location = location
    this.condition = condition || null
    this.enabled = true
    this.activeBufferRow = null
  }

  getLocation(): BreakpointLocation {
    return this.location
  }

  isEnabled(): bool {
    return this.enabled
  }

  equals(other: Breakpoint): bool {
    if (this.location.function && other.location.function) {
      return (this.location.function === other.location.function)
    } else if (this.location.filePath && other.location.filePath) {
      const sameFile = (this.location.filePath === other.location.filePath)

      if (sameFile && this.location.bufferRow && other.location.bufferRow) {
        return (this.location.bufferRow === other.location.bufferRow)
      }
    }

    return false
  }

  toHumanized(): string {
    if (this.location.filePath && this.location.bufferRow) {
      return `${this.location.filePath}:${this.location.bufferRow + 1}`
    }

    return '?'
  }
}


text:
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProtectedConfiguration.cs" company="NBug Project">
//   Copyright (c) 2011 - 2013 Teoman Soygul. Licensed under MIT license.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace NBug.Core.Util
{
	internal class ProtectedConfiguration
	{
		/* Below is used to load custom app.config files:
		 * System.Configuration.ConfigurationManager.OpenExeConfiguration(string exePath)
		 */

		/*internal static void ProtectConfiguration()
		{
			// Get the application configuration file.
			Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);

			// Get the section to protect.
			ConfigurationSection connStrings = config.ConnectionStrings;

			if (connStrings != null)
			{
				if (!connStrings.SectionInformation.IsProtected)
				{
					if (!connStrings.ElementInformation.IsLocked)
					{
						// Protect the section.
						connStrings.SectionInformation.ProtectSection("RsaProtectedConfigurationProvider");

						connStrings.SectionInformation.ForceSave = true;
						config.Save(ConfigurationSaveMode.Full);

						Logger.Info(String.Format("Section {0} is now protected by {1}", connStrings.SectionInformation.Name, connStrings.SectionInformation.ProtectionProvider.Name));
					}
					else
					{
						Logger.Warning(String.Format("Can't protect, section {0} is locked", connStrings.SectionInformation.Name));
					}
				}
				else
				{
					Logger.Info(String.Format("Section {0} is already protected by {1}", connStrings.SectionInformation.Name, connStrings.SectionInformation.ProtectionProvider.Name));
				}
			}
			else
			{
				Logger.Error(String.Format("Can't get the section {0}", connStrings.SectionInformation.Name));
			}
		}

		/// <summary>
		/// Restores the unprotected state of the configuration file, connectionStrings section.
		/// </summary>
		/// <remarks>There is no need to manually decrypt </remarks>
		internal static void UnProtectConfiguration()
		{
			// Get the application configuration file.
			Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);

			// Get the section to unprotect.
			ConfigurationSection connStrings = config.ConnectionStrings;

			if (connStrings != null)
			{
				if (connStrings.SectionInformation.IsProtected)
				{
					if (!connStrings.ElementInformation.IsLocked)
					{
						// Unprotect the section.
						connStrings.SectionInformation.UnprotectSection();

						connStrings.SectionInformation.ForceSave = true;
						config.Save(ConfigurationSaveMode.Full);

						Logger.Info(String.Format("Section {0} is now unprotected.", connStrings.SectionInformation.Name));
					}
					else
					{
						Logger.Warning(String.Format("Can't unprotect, section {0} is locked", connStrings.SectionInformation.Name));
					}
				}
				else
				{
					Logger.Info(String.Format("Section {0} is already unprotected.", connStrings.SectionInformation.Name));
				}
			}
			else
			{
				Logger.Error(String.Format("Can't get the section {0}", connStrings.SectionInformation.Name));
			}
		}*/
	}
}


text:
package ferry.dto;

import java.io.Serializable;
import java.util.Set;
import java.util.Date;

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc --> @generated
 */
public class ScheduleDetail extends ScheduleIdentifier implements Serializable {

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc --> @generated @ordered
     */

    private Date endDate;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc --> @generated @ordered
     */
    private Date startDate;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc --> @generated @ordered
     */
    public Set<DepartureDetail> departureDetail;

    /**
     * <!-- begin-user-doc -->
     * <!-- end-user-doc --> @generated
     */
    public ScheduleDetail() {
        super();
    }

    // Frontend
    public ScheduleDetail(int id, Date endDate, Date startDate, Set<DepartureDetail> departureDetail) {
        super(id);
        this.endDate = endDate;
        this.startDate = startDate;
        this.departureDetail = departureDetail;
    }

    public Date getEndDate() {
        return endDate;
    }

    public Date getStartDate() {
        return startDate;
    }

    public Set<DepartureDetail> getDepartureDetail() {
        return departureDetail;
    }
}


text:
<?php

declare(strict_types=1);

namespace phpseclib3\Crypt\EC\Formats\Keys;

use phpseclib3\Crypt\EC\BaseCurves\Montgomery as MontgomeryCurve;
use phpseclib3\Crypt\EC\Curves\Curve25519;
use phpseclib3\Crypt\EC\Curves\Curve448;
use phpseclib3\Exception\LengthException;
use phpseclib3\Math\BigInteger;
use phpseclib3\Math\Common\FiniteField\Integer;

/**
 * Montgomery Public Key Handler
 *
 * @author  Jim Wigginton <terrafrost@php.net>
 */
abstract class MontgomeryPublic
{
    /**
     * Is invisible flag
     */
    public const IS_INVISIBLE = true;

    /**
     * Break a public or private key down into its constituent components
     */
    public static function load(string $key, ?string $password = null): array
    {
        switch (strlen($key)) {
            case 32:
                $curve = new Curve25519();
                break;
            case 56:
                $curve = new Curve448();
                break;
            default:
                throw new LengthException('The only supported lengths are 32 and 56');
        }

        $components = ['curve' => $curve];
        $components['QA'] = [$components['curve']->convertInteger(new BigInteger(strrev($key), 256))];

        return $components;
    }

    /**
     * Convert an EC public key to the appropriate format
     *
     * @param Integer[] $publicKey
     */
    public static function savePublicKey(MontgomeryCurve $curve, array $publicKey): string
    {
        return strrev($publicKey[0]->toBytes());
    }
}


text:
package com.java110.job.adapt.hcIot.parkingArea;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.dto.parking.ParkingAreaDto;
import com.java110.dto.parkingAreaAttr.ParkingAreaAttrDto;
import com.java110.entity.order.Business;
import com.java110.intf.community.IParkingAreaAttrInnerServiceSMO;
import com.java110.intf.community.IParkingAreaInnerServiceSMO;
import com.java110.intf.user.IOwnerInnerServiceSMO;
import com.java110.job.adapt.DatabusAdaptImpl;
import com.java110.job.adapt.hcIot.asyn.IIotSendAsyn;
import com.java110.po.parking.ParkingAreaPo;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * HC iot 停车场同步适配器
 * <p>
 * 接口协议地址: https://gitee.com/java110/MicroCommunityThings/blob/master/back/docs/api.md
 *
 * @desc add by 吴学文 18:58
 */
@Component(value = "addParkingAreaToIotAdapt")
public class AddParkingAreaToIotAdapt extends DatabusAdaptImpl {

    @Autowired
    private IIotSendAsyn hcParkingAreaAsynImpl;

    @Autowired
    private IParkingAreaInnerServiceSMO parkingAreaInnerServiceSMOImpl;

    @Autowired
    private IParkingAreaAttrInnerServiceSMO parkingAreaAttrInnerServiceSMOImpl;

    @Autowired
    private IOwnerInnerServiceSMO ownerInnerServiceSMOImpl;

    /**
     * accessToken={access_token}
     * &extCommunityUuid=01000
     * &extCommunityId=1
     * &devSn=111111111
     * &name=设备名称
     * &positionType=0
     * &positionUuid=1
     *
     * @param business   当前处理业务
     * @param businesses 所有业务信息
     */
    @Override
    public void execute(Business business, List<Business> businesses) {
        JSONObject data = business.getData();
        if (data.containsKey(ParkingAreaPo.class.getSimpleName())) {
            Object bObj = data.get(ParkingAreaPo.class.getSimpleName());
            JSONArray businessParkingAreas = null;
            if (bObj instanceof JSONObject) {
                businessParkingAreas = new JSONArray();
                businessParkingAreas.add(bObj);
            } else if (bObj instanceof List) {
                businessParkingAreas = JSONArray.parseArray(JSONObject.toJSONString(bObj));
            } else {
                businessParkingAreas = (JSONArray) bObj;
            }
            //JSONObject businessParkingArea = data.getJSONObject("businessParkingArea");
            for (int bParkingAreaIndex = 0; bParkingAreaIndex < businessParkingAreas.size(); bParkingAreaIndex++) {
                JSONObject businessParkingArea = businessParkingAreas.getJSONObject(bParkingAreaIndex);
                doSendParkingArea(business, businessParkingArea);
            }
        }
    }

    private void doSendParkingArea(Business business, JSONObject businessParkingArea) {

        ParkingAreaPo parkingAreaPo = BeanConvertUtil.covertBean(businessParkingArea, ParkingAreaPo.class);

        ParkingAreaDto parkingAreaDto = new ParkingAreaDto();
        parkingAreaDto.setNum(parkingAreaPo.getNum());
        parkingAreaDto.setCommunityId(parkingAreaPo.getCommunityId());
        List<ParkingAreaDto> parkingAreaDtos = parkingAreaInnerServiceSMOImpl.queryParkingAreas(parkingAreaDto);

        Assert.listOnlyOne(parkingAreaDtos, "未找到停车场");

        //查询属性
        ParkingAreaAttrDto parkingAreaAttrDto = new ParkingAreaAttrDto();
        parkingAreaAttrDto.setPaId(parkingAreaDtos.get(0).getPaId());
        parkingAreaAttrDto.setCommunityId(parkingAreaDtos.get(0).getCommunityId());
        List<ParkingAreaAttrDto> parkingAreaAttrDtos = parkingAreaAttrInnerServiceSMOImpl.queryParkingAreaAttrs(parkingAreaAttrDto);

        JSONObject postParameters = new JSONObject();

        postParameters.put("num", parkingAreaDtos.get(0).getNum());
        postParameters.put("extPaId", parkingAreaDtos.get(0).getPaId());
        postParameters.put("extCommunityId", parkingAreaDtos.get(0).getCommunityId());
        postParameters.put("attrs", parkingAreaAttrDtos);
        hcParkingAreaAsynImpl.addParkingArea(postParameters);
    }
}


text:
ACCEPTED

#### According to
The Catalogue of Life, 3rd January 2011

#### Published in
C. S. I. R. Res. Rep. 325: 15 (1975)

#### Original name
Debaryomyces globosus Klöcker

### Remarks
null


text:
<wicket:extend>

ebInterface Rechnungen erstellen, prüfen und anzeigen

Auf dieser Seite finden Sie die wichtigsten Services rund um die E-Rechnung im Format ebInterface.

ebinterface Rechnung erstellen

                    Wenn Sie keine Möglichkeit haben, mit Ihrer eigenen Software ebInterface
                    Rechnungen
                    zu erstellen bzw. nur selten Rechnungen im Format ebInterface benötigen, können Sie unser
                    Online-Rechnungsformular verwenden. Software-Hersteller und Dienstleister, die nach eigenen Angaben den
                    Rechnungsstandard ebInterface in ihren Produkten bzw. Services umgesetzt haben, finden Sie unter
                    partner.ebinterface.at.

                Rechnung online erstellen

Dieser Button führt Sie direkt zum ebInterface Online-Formular.

                <form wicket:id="inputForm">

ebInterface Rechnung prüfen und als PDF anzeigen

                        Dieses Tool prüft die Gültigkeit der ebInterface Rechnung und wandelt sie in eine leicht lesbare PDF-Datei um.
                        Der QR-Code, der bei dieser Konvertierung auf der Rechnung generiert wird,
                        ermöglicht die automatische Übernahme der Daten ins Mobile Banking des Rechnungsempfängers.

                        <input class="inputFile" type="file" id="fileInput1" wicket:id="fileInput" onchange="getFileName('fileInput1','uploadText')"/>
                         durchsuchen

Keine Datei ausgewählt

                        <button class="btn-wko" type="submit" wicket:id="submitButtonVisualizeHTML">ebInterface in HTML Druckansicht anzeigen</button>
                        <button class="btn-wko" type="submit" wicket:id="submitButtonVisualizePDF">Rechnung als PDF anzeigen</button>

Wählen Sie eine ebInterface Datei von Ihrer Festplatte aus.

                </form>

                Weiterführende Services und Konverter für Entwickler finden Sie unter
                labs.ebinterface.at.

</wicket:extend>