text:
var users = {
	admin: 	{ id: 1, username: "admin", password: "1234" },
	pepe: 	{ id: 2, username: "Luis", password: "Luis" }
};

// Comprueba si el usuario esta registrado en users
// Si autenticación falla o hay errores se ejecuta callback(error).
exports.autenticar = function (login, password, callback) {
	if (users[login]) {
		if (password === users[login].password) {
			callback(null, users[login]);
		} else {
			callback(new Error('Password erróneo.'));
		}
	} else {
		callback(new Error('No existe el usuario.'));
	}
};


text:
<?php

namespace Google\Service\Batch;

class AgentTaskInfo extends \Google\Model
{
  /**
   * @var string
   */
  public $runnable;
  /**
   * @var string
   */
  public $taskId;
  protected $taskStatusType = TaskStatus::class;
  protected $taskStatusDataType = '';

  /**
   * @param string
   */
  public function setRunnable($runnable)
  {
    $this->runnable = $runnable;
  }
  /**
   * @return string
   */
  public function getRunnable()
  {
    return $this->runnable;
  }
  /**
   * @param string
   */
  public function setTaskId($taskId)
  {
    $this->taskId = $taskId;
  }
  /**
   * @return string
   */
  public function getTaskId()
  {
    return $this->taskId;
  }
  /**
   * @param TaskStatus
   */
  public function setTaskStatus(TaskStatus $taskStatus)
  {
    $this->taskStatus = $taskStatus;
  }
  /**
   * @return TaskStatus
   */
  public function getTaskStatus()
  {
    return $this->taskStatus;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AgentTaskInfo::class, 'Google_Service_Batch_AgentTaskInfo');

redpajama_set_name: RedPajamaGithub


text:
var config = require.main.require('./config.js');
var server = require.main.require('./bundles/server.js');
var world = server.bundles.world;
var db = server.db;

module.exports = {
	// Called when bundle is loaded
	init : function () {
		var command = {};

		command["keywords"] = ["inventory", "i", "inv"];
		command["run"] = this.runCommand.bind(this);
		command["helpCategory"] = "Interaction";
		command["helpSyntax"] = ["inventory"];
		command["helpText"] = "View what you're carrying in your inventory.";

		server.commands.push(command);
	},

	runCommand : function (args, character, socket) {
		// Contents in room
		if (!character.contents || character.contents.length == 0) {
			world.sendMessage('You are carrying nothing.', character);
			return;
		}

		var contents = [];
		var contentsWeight = 0;
		var output = "";
		for (var i = 0; i < character.contents.length; i++) {
			var objectId = character.contents[i];
			var object = server.db.getEntity(objectId);
			var weight = 0;
			if (object.weight) {
				weight = object.weight;
			}
			contentsWeight += weight;

			// Don't display hidden objects
			if (!server.bundles.world.isObjectVisible(object)) {
				continue;
			}

			if (object.type == "object") {
				contents.push('' + object.name + ' - ' + weight + ' kg');
			} else if (object.type == "character") {
				contents.push('' + object.name + ' - ' + weight + ' kg');
			}
		}

		if (character.contentsMaxWeight) {
			output += "You are carrying " + contentsWeight + " of " + character.contentsMaxWeight + " kg:

";
		} else {
			output += "You are carrying " + contentsWeight + " kg:

";
		}
		output += contents.join("
");

		world.sendMessage(output, character);

	},
}


text:
<!DOCTYPE HTML>

  <title>Dataset Test Suite</title>
  <link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />

Dataset Test Suite

Speed Suite


text:
namespace AntShares.IO
{
    export class BinaryReader
    {
        private _buffer = new ArrayBuffer(8);
        private array_uint8: Uint8Array;
        private array_int8: Int8Array;
        private array_uint16: Uint16Array;
        private array_int16: Int16Array;
        private array_uint32: Uint32Array;
        private array_int32: Int32Array;
        private array_float32: Float32Array;
        private array_float64: Float64Array;

        public constructor(private input: Stream)
        {
        }

        public close(): void
        {
        }

        private fillBuffer(buffer: ArrayBuffer, count: number)
        {
            let i = 0;
            while (count > 0)
            {
                let actual_count = this.input.read(buffer, 0, count);
                if (actual_count == 0) throw new Error("EOF");
                i += actual_count;
                count -= actual_count;
            }
        }

        public read(buffer: ArrayBuffer, index: number, count: number): number
        {
            return this.input.read(buffer, index, count);
        }

        public readBoolean(): boolean
        {
            return this.readByte() != 0;
        }

        public readByte(): number
        {
            this.fillBuffer(this._buffer, 1);
            if (this.array_uint8 == null)
                this.array_uint8 = new Uint8Array(this._buffer, 0, 1);
            return this.array_uint8[0];
        }

        public readBytes(count: number): ArrayBuffer
        {
            let buffer = new ArrayBuffer(count);
            this.fillBuffer(buffer, count);
            return buffer;
        }

        public readDouble(): number
        {
            this.fillBuffer(this._buffer, 8);
            if (this.array_float64 == null)
                this.array_float64 = new Float64Array(this._buffer, 0, 1);
            return this.array_float64[0];
        }

        public readFixed8(): Fixed8
        {
            return new Fixed8(this.readUint64());
        }

        public readInt16(): number
        {
            this.fillBuffer(this._buffer, 2);
            if (this.array_int16 == null)
                this.array_int16 = new Int16Array(this._buffer, 0, 1);
            return this.array_int16[0];
        }

        public readInt32(): number
        {
            this.fillBuffer(this._buffer, 4);
            if (this.array_int32 == null)
                this.array_int32 = new Int32Array(this._buffer, 0, 1);
            return this.array_int32[0];
        }

        public readSByte(): number
        {
            this.fillBuffer(this._buffer, 1);
            if (this.array_int8 == null)
                this.array_int8 = new Int8Array(this._buffer, 0, 1);
            return this.array_int8[0];
        }

        public readSerializable(T: Function): ISerializable
        {
            let obj = <ISerializable>new (<any>T)();
            obj.deserialize(this);
            return obj;
        }

        public readSerializableArray(T: Function): ISerializable[]
        {
            let array = new Array<ISerializable>(this.readVarInt(0x10000000));
            for (let i = 0; i < array.length; i++)
                array[i] = this.readSerializable(T);
            return array;
        }

        public readSingle(): number
        {
            this.fillBuffer(this._buffer, 4);
            if (this.array_float32 == null)
                this.array_float32 = new Float32Array(this._buffer, 0, 1);
            return this.array_float32[0];
        }

        public readUint16(): number
        {
            this.fillBuffer(this._buffer, 2);
            if (this.array_uint16 == null)
                this.array_uint16 = new Uint16Array(this._buffer, 0, 1);
            return this.array_uint16[0];
        }

        public readUint160(): Uint160
        {
            return new Uint160(this.readBytes(20));
        }

        public readUint256(): Uint256
        {
            return new Uint256(this.readBytes(32));
        }

        public readUint32(): number
        {
            this.fillBuffer(this._buffer, 4);
            if (this.array_uint32 == null)
                this.array_uint32 = new Uint32Array(this._buffer, 0, 2);
            return this.array_uint32[0];
        }

        public readUint64(): Uint64
        {
            this.fillBuffer(this._buffer, 8);
            if (this.array_uint32 == null)
                this.array_uint32 = new Uint32Array(this._buffer, 0, 2);
            return new Uint64(this.array_uint32[0], this.array_uint32[1]);
        }

        public readVarBytes(max = 0X7fffffc7): ArrayBuffer
        {
            return this.readBytes(this.readVarInt(max));
        }

        public readVarInt(max = 9007199254740991): number
        {
            let fb = this.readByte();
            let value: number;
            if (fb == 0xfd)
                value = this.readUint16();
            else if (fb == 0xfe)
                value = this.readUint32();
            else if (fb == 0xff)
                value = this.readUint64().toNumber();
            else
                value = fb;
            if (value > max) throw new RangeError();
            return value;
        }

        public readVarString(): string
        {
            return decodeURIComponent(escape(String.fromCharCode.apply(null, new Uint8Array(this.readVarBytes()))));
        }
    }
}


text:
ACCEPTED

#### According to
International Plant Names Index

#### Published in
null

#### Original name
Verbena fasciculata Benth.

### Remarks
null


text:
package de.uniulm.omi.cloudiator.lance.client;

import de.uniulm.omi.cloudiator.domain.OperatingSystem;
import de.uniulm.omi.cloudiator.domain.OperatingSystemArchitecture;
import de.uniulm.omi.cloudiator.domain.OperatingSystemFamily;
import de.uniulm.omi.cloudiator.domain.OperatingSystemImpl;
import de.uniulm.omi.cloudiator.domain.OperatingSystemVersions;
import de.uniulm.omi.cloudiator.lance.application.ApplicationId;
import de.uniulm.omi.cloudiator.lance.application.ApplicationInstanceId;
import de.uniulm.omi.cloudiator.lance.application.component.ComponentId;
import de.uniulm.omi.cloudiator.lance.application.component.DeployableComponent;
import de.uniulm.omi.cloudiator.lance.application.component.PortProperties;
import de.uniulm.omi.cloudiator.lance.lca.container.ComponentInstanceId;
import de.uniulm.omi.cloudiator.lance.lifecycle.LifecycleHandlerType;
import de.uniulm.omi.cloudiator.lance.lifecycle.LifecycleStore;
import de.uniulm.omi.cloudiator.lance.lifecycle.LifecycleStoreBuilder;
import de.uniulm.omi.cloudiator.lance.lifecycle.bash.BashBasedHandlerBuilder;
import de.uniulm.omi.cloudiator.lance.lifecycle.detector.PortUpdateHandler;
import de.uniulm.omi.cloudiator.lance.lifecycle.handlers.DefaultHandlers;
import de.uniulm.omi.cloudiator.lance.lifecycle.language.DockerCommand;
import de.uniulm.omi.cloudiator.lance.lifecycle.language.DockerCommandException;
import de.uniulm.omi.cloudiator.lance.lifecycle.language.EntireDockerCommands;
import java.util.List;
import java.util.Random;
import java.util.concurrent.Callable;

public class TestUtils {

  public enum version { DOCKER, LIFECYCLE };

  public static ApplicationId applicationId;
  public static ApplicationInstanceId appInstanceId;
  public static String zookeeperComponentDocker, zookeeperComponentDocker_lifecycle, kafkaComponentPlain_lifecycle;
  public static String zookeeperInternalInportNameDocker, zookeeperInternalInportNameDocker_lifecycle, kafkaInternalInportNamePlain_lifecycle;
  public static String zookeeperOutportNameDocker, zookeeperOutportNameDocker_lifecycle, kafkaOutportNamePlain_lifecycle;
  public static String imageName, tag;
  public static ComponentId zookeeperComponentIdDocker, zookeeperComponentIdDocker_lifecycle, kafkaComponentIdPlain_lifecycle;
  public static int defaultZookeeperInternalInportDocker, defaultZookeeperInternalInportDocker_lifecycle, defaultKafkaInternalInportPlain_lifecycle;
  public static ComponentInstanceId zookIdDocker, zookIdDocker_lifecycle, kafkaIdPlain_lifecycle;
  // adjust
  public static String publicIp = "x.x.x.x";
  public static LifecycleClient client;

  static {
    applicationId = new ApplicationId();
    appInstanceId = new ApplicationInstanceId();

    Random rand = new Random();
    zookeeperComponentDocker = "zookeeper";
    zookeeperComponentDocker_lifecycle = "zookeeper_lifecycle";
    kafkaComponentPlain_lifecycle = "kafka";
    zookeeperInternalInportNameDocker = "ZOOK_INT_INP";
    zookeeperInternalInportNameDocker_lifecycle = "ZOOK_INT_INP_LIFECYCLE";
    kafkaInternalInportNamePlain_lifecycle = "KAFKA_INT_INP_LIFECYCLE";
    zookeeperOutportNameDocker = "ZOOK_OUT";
    zookeeperOutportNameDocker_lifecycle = "ZOOK_OUT_LIFECYCLE";
    kafkaOutportNamePlain_lifecycle = "KAFKA_OUT_LIFECYCLE";
    imageName = "zookeeper";
    tag = "latest";
    zookeeperComponentIdDocker = new ComponentId();
    zookeeperComponentIdDocker_lifecycle = new ComponentId();
    kafkaComponentIdPlain_lifecycle = new ComponentId();
    defaultZookeeperInternalInportDocker = 3888;
    defaultZookeeperInternalInportDocker_lifecycle = (rand.nextInt(65563) + 1);
    defaultKafkaInternalInportPlain_lifecycle = (rand.nextInt(65563) + 1);

    System.setProperty("lca.client.config.registry", "etcdregistry");
    // adjust
    System.setProperty("lca.client.config.registry.etcd.hosts",  "x.x.x.x:4001");
  }

  public static DeployableComponent buildDeployableComponent(
      String compName,
      ComponentId id,
      List<InportInfo> inInfs,
      List<OutportInfo> outInfs,
      Callable<LifecycleStore> createLifeCycleStore) {

    DeployableComponent.Builder builder = DeployableComponent.Builder.createBuilder(compName,id);

    for (int i = 0; i < inInfs.size(); i++)
      builder.addInport(
          inInfs.get(i).inportName,
          inInfs.get(i).portType,
          inInfs.get(i).cardinality,
          inInfs.get(i).inPort);

    for (int i = 0; i < outInfs.size(); i++)
      builder.addOutport(
          outInfs.get(i).outportName,
          outInfs.get(i).puHandler,
          outInfs.get(i).cardinality,
          outInfs.get(i).min);

    try {
      builder.addLifecycleStore(createLifeCycleStore.call());
    } catch (Exception ex) {
      System.err.println("Server not reachable");
    }

    builder.deploySequentially(true);
    DeployableComponent comp = builder.build();
    return comp;
  }

  static class InportInfo {
    public final String inportName;
    public final PortProperties.PortType portType;
    public final int cardinality;
    public final int inPort;

    public String getInportName() {
      return inportName;
    }

    InportInfo(String inportName, PortProperties.PortType portType, int cardinality, int inPort) {
      this.inportName = inportName;
      this.portType = portType;
      this.cardinality = cardinality;
      this.inPort = inPort;
    }
  }

  static class OutportInfo {
    public final String outportName;
    public final PortUpdateHandler puHandler;
    public final int cardinality;
    public final int min;

    public String getOutportName() {
      return outportName;
    }

    public int getMin() {
      return min;
    }

    OutportInfo(String outportName, PortUpdateHandler puHandler, int cardinality, int min) {
      this.outportName = outportName;
      this.puHandler = puHandler;
      this.cardinality = cardinality;
      this.min = min;
    }
  }

  public static LifecycleStore createDefaultLifecycleStore() {
    LifecycleStoreBuilder store = new LifecycleStoreBuilder();
    // pre-install handler //
    BashBasedHandlerBuilder builder_pre = new BashBasedHandlerBuilder();
    // TODO: Extend possible OSes, e.g. alpine (openjdk:8-jre)
    builder_pre.setOperatingSystem(
        new OperatingSystemImpl(
            OperatingSystemFamily.UBUNTU,
            OperatingSystemArchitecture.AMD64,
            OperatingSystemVersions.of(1604, "16.04")));
    builder_pre.addCommand("apt-get -y -q update");
    builder_pre.addCommand("apt-get -y -q upgrade");
    builder_pre.addCommand("export STARTED=\"true\"");
    store.setStartDetector(builder_pre.buildStartDetector());
    // add other commands
    store.setHandler(
        builder_pre.build(LifecycleHandlerType.PRE_INSTALL), LifecycleHandlerType.PRE_INSTALL);
    // weitere handler? //
    return store.build();
  }

  public static LifecycleStore createKafkaLifecycleStore() {

    LifecycleStoreBuilder store = new LifecycleStoreBuilder();

    /**
     * invoked when the Lifecycle controller starts;
     * may be used for validating system environment;
     */
    //INIT(InitHandler.class, DefaultFactories.INIT_FACTORY),
    //->not supported exception -> shift part of it to pre_install

    /**
     * may be used to get service binaries, e.g.
     * by downloading
     */
    //PRE_INSTALL(PreInstallHandler.class, DefaultFactories.PRE_INSTALL_FACTORY),
    BashBasedHandlerBuilder builder_pre_inst = new BashBasedHandlerBuilder();
    OperatingSystem os = new OperatingSystemImpl(
        OperatingSystemFamily.UBUNTU,
        OperatingSystemArchitecture.AMD64,
        OperatingSystemVersions.of(1604, "16.04"));
    builder_pre_inst.setOperatingSystem(os);
    builder_pre_inst.addCommand("sudo apt-get -y -q update && sudo apt-get -y -q upgrade");
    //builder_pre_inst.addCommand("sudo dpkg --configure -a");
    builder_pre_inst.addCommand("sudo apt-get -y -q install zookeeperd");
    //adjust, if needed builder_pre_inst.addCommand("sudo apt-get -y -q install default-jre");
    builder_pre_inst.addCommand("sudo /usr/share/zookeeper/bin/zkServer.sh start");
    store.setHandler(builder_pre_inst.build(LifecycleHandlerType.PRE_INSTALL), LifecycleHandlerType.PRE_INSTALL);

    /**
     * may be used to unzip and install service binaries
     *
     */
    //INSTALL(InstallHandler.class, DefaultFactories.INSTALL_FACTORY),
    BashBasedHandlerBuilder builder_inst = new BashBasedHandlerBuilder();
    builder_inst.setOperatingSystem(os);
    builder_inst.addCommand("mkdir -p /home/ubuntu/Downloads");
    //adjust
    builder_inst.addCommand(
        "wget \"https://archive.apache.org/dist/kafka/1.0.1/kafka_2.11-1.0.1.tgz\" -O /home/ubuntu/Downloads/kafka.tgz");
    builder_inst.addCommand("mkdir -p /home/ubuntu/kafka");
    builder_inst.addCommand("sudo tar -xvzf /home/ubuntu/Downloads/kafka.tgz --strip 1 -C /home/ubuntu/kafka");
    store.setHandler(builder_inst.build(LifecycleHandlerType.INSTALL), LifecycleHandlerType.INSTALL);

    /*
     * may be used to adapt configuration files
     * according to environment
     */
    //POST_INSTALL(PostInstallHandler.class, DefaultFactories.POST_INSTALL_FACTORY),
    BashBasedHandlerBuilder builder_post_inst = new BashBasedHandlerBuilder();
    builder_post_inst.setOperatingSystem(os);
    builder_post_inst.addCommand(
        "printf \"\\ndelete.topic.enable = true\" >> /home/ubuntu/kafka/config/server.properties");
    builder_post_inst.addCommand("printf \"\\n127.0.1.1 testvm\" | sudo tee -a /etc/hosts");
    store.setHandler(builder_post_inst.build(LifecycleHandlerType.POST_INSTALL), LifecycleHandlerType.POST_INSTALL);

    /**
     * may be used for checking that required operating system
     * files are available, like files, disk space, and port
     */
    //PRE_START(PreStartHandler.class, DefaultFactories.PRE_START_FACTORY),
    /**
     * starts the component instance
     */
    //START(StartHandler.class, DefaultFactories.START_FACTORY),
    BashBasedHandlerBuilder builder_start = new BashBasedHandlerBuilder();
    builder_start.setOperatingSystem(os);
    //adjust
    builder_start.addCommand("sudo nohup ~/kafka/bin/kafka-server-start.sh ~/kafka/config/server.properties > ~/kafka/kafka.log 2>&1 &");
    BashBasedHandlerBuilder builder_start_det = new BashBasedHandlerBuilder();
    builder_start_det.setOperatingSystem(os);
    store.setStartDetector(DefaultHandlers.DEFAULT_START_DETECTOR);
    store.setHandler(builder_start.build(LifecycleHandlerType.START), LifecycleHandlerType.START);

    /**
     * may be used to register service instances with a load balancer
     */
    //POST_START(PostStartHandler.class, DefaultFactories.POST_START_FACTORY),
    /**
     * may be used to unregister service instance at the load balancer
     */
    //PRE_STOP(PreStopHandler.class, DefaultFactories.PRE_STOP_FACTORY),
    /**
     * may be used to add manual stop logic
     */
    //STOP(StopHandler.class, DefaultFactories.STOP_FACTORY),
    /**
     * may be used to release external resources
     */
    //POST_STOP(PostStopHandler.class, DefaultFactories.POST_STOP_FACTORY),

    return store.build();
  }

  private static void printCommandParts(EntireDockerCommands cmds) {
    try {
      System.out.println(cmds.getSetOptionsString(DockerCommand.Type.CREATE));
      System.out.println(cmds.getSetOsCommandString(DockerCommand.Type.CREATE));
      System.out.println(cmds.getSetArgsString(DockerCommand.Type.CREATE));
      System.out.println("\n");
      System.out.println(cmds.getSetOptionsString(DockerCommand.Type.START));
      System.out.println(cmds.getSetOsCommandString(DockerCommand.Type.START));
      System.out.println(cmds.getSetArgsString(DockerCommand.Type.START));
      System.out.println("\n");
      System.out.println(cmds.getSetOptionsString(DockerCommand.Type.STOP));
      System.out.println(cmds.getSetOsCommandString(DockerCommand.Type.STOP));
      System.out.println(cmds.getSetArgsString(DockerCommand.Type.STOP));
    } catch (DockerCommandException e) {
      System.err.println("Error in printing docker command strings");
    }
  }

}


text:
config = {
    "interfaces": {
        "google.monitoring.v3.NotificationChannelService": {
            "retry_codes": {
                "idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
                "non_idempotent": []
            },
            "retry_params": {
                "default": {
                    "initial_retry_delay_millis": 100,
                    "retry_delay_multiplier": 1.3,
                    "max_retry_delay_millis": 60000,
                    "initial_rpc_timeout_millis": 20000,
                    "rpc_timeout_multiplier": 1.0,
                    "max_rpc_timeout_millis": 20000,
                    "total_timeout_millis": 600000
                }
            },
            "methods": {
                "ListNotificationChannelDescriptors": {
                    "timeout_millis": 30000,
                    "retry_codes_name": "idempotent",
                    "retry_params_name": "default"
                },
                "GetNotificationChannelDescriptor": {
                    "timeout_millis": 30000,
                    "retry_codes_name": "idempotent",
                    "retry_params_name": "default"
                },
                "ListNotificationChannels": {
                    "timeout_millis": 30000,
                    "retry_codes_name": "idempotent",
                    "retry_params_name": "default"
                },
                "GetNotificationChannel": {
                    "timeout_millis": 30000,
                    "retry_codes_name": "idempotent",
                    "retry_params_name": "default"
                },
                "CreateNotificationChannel": {
                    "timeout_millis": 30000,
                    "retry_codes_name": "non_idempotent",
                    "retry_params_name": "default"
                },
                "UpdateNotificationChannel": {
                    "timeout_millis": 30000,
                    "retry_codes_name": "non_idempotent",
                    "retry_params_name": "default"
                },
                "DeleteNotificationChannel": {
                    "timeout_millis": 30000,
                    "retry_codes_name": "idempotent",
                    "retry_params_name": "default"
                }
            }
        }
    }
}


text:
package com.amazonaws.services.storagegateway.model;

import java.io.Serializable;

/**
 *

 * A JSON object containing the of the storage volume that was deleted
 *

 */
public class DeleteVolumeResult implements Serializable, Cloneable {

    /**
     * The Amazon Resource Name (ARN) of the storage volume that was deleted.
     * It is the same ARN you provided in the request.
     *

     * Constraints:

     * Length: 50 - 500

     */
    private String volumeARN;

    /**
     * The Amazon Resource Name (ARN) of the storage volume that was deleted.
     * It is the same ARN you provided in the request.
     *

     * Constraints:

     * Length: 50 - 500

     *
     * @return The Amazon Resource Name (ARN) of the storage volume that was deleted.
     *         It is the same ARN you provided in the request.
     */
    public String getVolumeARN() {
        return volumeARN;
    }

    /**
     * The Amazon Resource Name (ARN) of the storage volume that was deleted.
     * It is the same ARN you provided in the request.
     *

     * Constraints:

     * Length: 50 - 500

     *
     * @param volumeARN The Amazon Resource Name (ARN) of the storage volume that was deleted.
     *         It is the same ARN you provided in the request.
     */
    public void setVolumeARN(String volumeARN) {
        this.volumeARN = volumeARN;
    }

    /**
     * The Amazon Resource Name (ARN) of the storage volume that was deleted.
     * It is the same ARN you provided in the request.
     *

     * Returns a reference to this object so that method calls can be chained together.
     *

     * Constraints:

     * Length: 50 - 500

     *
     * @param volumeARN The Amazon Resource Name (ARN) of the storage volume that was deleted.
     *         It is the same ARN you provided in the request.
     *
     * @return A reference to this updated object so that method calls can be chained
     *         together.
     */
    public DeleteVolumeResult withVolumeARN(String volumeARN) {
        this.volumeARN = volumeARN;
        return this;
    }

    /**
     * Returns a string representation of this object; useful for testing and
     * debugging.
     *
     * @return A string representation of this object.
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getVolumeARN() != null) sb.append("VolumeARN: " + getVolumeARN() );
        sb.append("}");
        return sb.toString();
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getVolumeARN() == null) ? 0 : getVolumeARN().hashCode());
        return hashCode;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null) return false;

        if (obj instanceof DeleteVolumeResult == false) return false;
        DeleteVolumeResult other = (DeleteVolumeResult)obj;

        if (other.getVolumeARN() == null ^ this.getVolumeARN() == null) return false;
        if (other.getVolumeARN() != null && other.getVolumeARN().equals(this.getVolumeARN()) == false) return false;
        return true;
    }

    @Override
    public DeleteVolumeResult clone() {
        try {
            return (DeleteVolumeResult) super.clone();

        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException(
                    "Got a CloneNotSupportedException from Object.clone() "
                    + "even though we're Cloneable!",
                    e);
        }

    }

}


text:
ACCEPTED

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

#### Published in
null

#### Original name
Sapucaya schwackei R.Knuth

### Remarks
null


text:
import { getStatus } from "../reducer_support";
const NOW_UNIX =
  (new Date("Tue, 03 Oct 2017 09:00:00 -0500")).getTime();
describe("getStatus()", () => {
  it("returns 'down' when not given enough data", () => {
    expect(getStatus(undefined)).toBe("down");
  });

  it("returns status.state when given a ConnectionStatus object", () => {
    expect(getStatus({ at: NOW_UNIX, state: "up" })).toBe("up");
  });
});


text:
package net.explorviz.history.repository.persistence.mongo;

import com.mongodb.client.FindIterable;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.model.Projections;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import javax.inject.Inject;
import net.explorviz.landscape.model.store.Timestamp;
import net.explorviz.shared.querying.Query;
import net.explorviz.shared.querying.QueryException;
import net.explorviz.shared.querying.QueryResult;
import net.explorviz.shared.querying.Queryable;
import org.bson.Document;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Auxiliary repository for accessing timestamps of persistent landscapes objects.
 *
 *
 */
public class TimestampRepository implements Queryable<Timestamp> {

  private static final Logger LOGGER = LoggerFactory.getLogger(TimestampRepository.class);

  private final MongoHelper mongoHelper;

  @Inject
  public TimestampRepository(final MongoHelper helper) {
    this.mongoHelper = helper;
  }

  @Override
  public QueryResult<Timestamp> query(final Query<Timestamp> query) throws QueryException {
    final String filterArgType = "type";
    final String filterArgFrom = "from";
    final String filterArgTo = "to";

    List<Timestamp> result = new ArrayList<>();

    if (query.getFilters().get(filterArgType) != null) {
      for (final String type : query.getFilters().get(filterArgType)) {
        if (type.toLowerCase().contentEquals("landscape")) {
          result.addAll(this.getLandscapeTimestamps());
        } else if (type.toLowerCase().contentEquals("replay")) {
          result.addAll(this.getReplayTimestamps());
        } else {
          // Unknown type
          return new QueryResult<>(query, new ArrayList<Timestamp>(), 0);
        }
      }
    } else { // Add all
      result.addAll(this.getReplayTimestamps());
      result.addAll(this.getLandscapeTimestamps());
    }

    if (query.getFilters().get(filterArgFrom) != null) {
      if (query.getFilters().get(filterArgFrom).size() > 1) {
        LOGGER.warn("More than one 'from' given, only applying the first");
      }
      try {
        final long fromTs = Long.parseLong(query.getFilters().get(filterArgFrom).get(0));
        if (fromTs <= 0) {
          throw new QueryException("Filter 'from' must be positive");
        }
        result = result.parallelStream()
            .filter(t -> fromTs <= t.getTimestamp())
            .collect(Collectors.toList());
      } catch (final NumberFormatException e) {
        throw new QueryException("Filter 'from' must be integral", e);
      }
    }

    if (query.getFilters().get(filterArgTo) != null) {
      if (query.getFilters().get(filterArgTo).size() > 1) {
        LOGGER.warn("More than one 'to' given, only applying the first");
      }
      try {
        final long toTs = Long.parseLong(query.getFilters().get(filterArgTo).get(0));
        if (toTs <= 0) {
          throw new QueryException("Filter 'to' must be positive");
        }
        result = result.parallelStream()
            .filter(t -> toTs >= t.getTimestamp())
            .collect(Collectors.toList());
      } catch (final NumberFormatException e) {
        throw new QueryException("Filter 'from' must be integral", e);
      }
    }

    // Sort descending
    result.sort((t1, t2) -> {
      if (t1.getTimestamp() == t2.getTimestamp()) {
        return 0;
      }
      return t1.getTimestamp() > t2.getTimestamp() ? -1 : 1;
    });

    // Paginate
    final long total = result.size();
    if (query.doPaginate()) {
      final int pageFrom = Math.min(query.getPageNumber() * query.getPageSize(), result.size());
      final int pageTo = Math.min(query.getPageSize() * query.getPageNumber() + query.getPageSize(),
          result.size());

      result = new ArrayList<>(result.subList(pageFrom, pageTo));
    }

    return new QueryResult<>(query, result, total);
  }

  /**
   * Retrieves all landscape timestamps currently stored in the db. Each timestamp is a unique
   * identifier of an object.
   *
   * @return list of all timestamps
   */
  public List<Timestamp> getLandscapeTimestamps() {
    final MongoCollection<Document> landscapeCollection = this.mongoHelper.getLandscapeCollection();

    final FindIterable<Document> documents = landscapeCollection.find()
        .projection(Projections.include(MongoHelper.FIELD_TIMESTAMP,
            MongoHelper.FIELD_ID,
            MongoHelper.FIELD_REQUESTS));

    final List<Timestamp> resultList = new ArrayList<>();

    for (final Document doc : documents) {
      final String id = (String) doc.get(MongoHelper.FIELD_ID);
      final long timestamp = (long) doc.get(MongoHelper.FIELD_TIMESTAMP);
      final int totalRequests = (int) doc.get(MongoHelper.FIELD_REQUESTS);

      resultList.add(new Timestamp(id, timestamp, totalRequests)); // NOPMD
    }

    return resultList;
  }

  /**
   * Retrieves all replay landscape timestamps currently stored in the db. Each timestamp is a
   * unique identifier of an object.
   *
   * @return list of all timestamps
   */
  public List<Timestamp> getReplayTimestamps() {
    final MongoCollection<Document> landscapeCollection = this.mongoHelper.getReplayCollection();

    final FindIterable<Document> documents = landscapeCollection.find()
        .projection(Projections.include(MongoHelper.FIELD_ID,
            MongoHelper.FIELD_TIMESTAMP,
            MongoHelper.FIELD_REQUESTS));

    final List<Timestamp> resultList = new ArrayList<>();

    for (final Document doc : documents) {
      final String id = String.valueOf(doc.get(MongoHelper.FIELD_ID));
      final long timestamp = (long) doc.get(MongoHelper.FIELD_TIMESTAMP);
      final int totalRequests = (int) doc.get(MongoHelper.FIELD_REQUESTS);

      resultList.add(new Timestamp(id, timestamp, totalRequests)); // NOPMD
    }

    return resultList;
  }

}


text:
#include "gazebo/common/Assert.hh"
#include "gazebo/common/Console.hh"
#include "gazebo/common/ImageHeightmap.hh"

using namespace gazebo;
using namespace common;

//////////////////////////////////////////////////
ImageHeightmap::ImageHeightmap()
{
}

//////////////////////////////////////////////////
int ImageHeightmap::Load(const std::string &_filename)
{
  if (this->img.Load(_filename) != 0)
  {
    gzerr << "Unable to load image file as a terrain [" << _filename << "]\n";
    return -1;
  }

  return 0;
}

//////////////////////////////////////////////////
void ImageHeightmap::FillHeightMap(int _subSampling,
    unsigned int _vertSize, const math::Vector3 &_size,
    const math::Vector3 &_scale, bool _flipY,
    std::vector<float> &_heights)
{
  // Resize the vector to match the size of the vertices.
  _heights.resize(_vertSize * _vertSize);

  int imgHeight = this->GetHeight();
  int imgWidth = this->GetWidth();

  GZ_ASSERT(imgWidth == imgHeight, "Heightmap image must be square");

  // Bytes per row
  unsigned int pitch = this->img.GetPitch();

  // Bytes per pixel
  unsigned int bpp = pitch / imgWidth;

  unsigned char *data = NULL;
  unsigned int count;
  this->img.GetData(&data, count);

  // Iterate over all the vertices
  for (unsigned int y = 0; y < _vertSize; ++y)
  {
    // yf ranges between 0 and 4
    double yf = y / static_cast<double>(_subSampling);
    int y1 = floor(yf);
    int y2 = ceil(yf);
    if (y2 >= imgHeight)
      y2 = imgHeight-1;
    double dy = yf - y1;

    for (unsigned int x = 0; x < _vertSize; ++x)
    {
      double xf = x / static_cast<double>(_subSampling);
      int x1 = floor(xf);
      int x2 = ceil(xf);
      if (x2 >= imgWidth)
        x2 = imgWidth-1;
      double dx = xf - x1;

      double px1 = static_cast<int>(data[y1 * pitch + x1 * bpp]) / 255.0;
      double px2 = static_cast<int>(data[y1 * pitch + x2 * bpp]) / 255.0;
      float h1 = (px1 - ((px1 - px2) * dx));

      double px3 = static_cast<int>(data[y2 * pitch + x1 * bpp]) / 255.0;
      double px4 = static_cast<int>(data[y2 * pitch + x2 * bpp]) / 255.0;
      float h2 = (px3 - ((px3 - px4) * dx));

      float h = (h1 - ((h1 - h2) * dy)) * _scale.z;

      // invert pixel definition so 1=ground, 0=full height,
      //   if the terrain size has a negative z component
      //   this is mainly for backward compatibility
      if (_size.z < 0)
        h = 1.0 - h;

      // Store the height for future use
      if (!_flipY)
        _heights[y * _vertSize + x] = h;
      else
        _heights[(_vertSize - y - 1) * _vertSize + x] = h;
    }
  }

  delete [] data;
}

//////////////////////////////////////////////////
std::string ImageHeightmap::GetFilename() const
{
  return this->img.GetFilename();
}

//////////////////////////////////////////////////
unsigned int ImageHeightmap::GetHeight() const
{
  return this->img.GetHeight();
}

//////////////////////////////////////////////////
unsigned int ImageHeightmap::GetWidth() const
{
  return this->img.GetWidth();
}

//////////////////////////////////////////////////
float ImageHeightmap::GetMaxElevation() const
{
  return this->img.GetMaxColor().r;
}


text:
<!DOCTYPE html>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width">
            <title>Tambopata | Credits</title>

        <link rel="stylesheet" href="css/style.css">
        <link href='https://fonts.googleapis.com/css?family=Arimo' rel='stylesheet' type='text/css'>
		    <link rel="stylesheet" href="css\bootstrap-grid.min.css"/>
        <link rel="stylesheet" href="css\bootstrap.min.css"/>

      Tambopata

      <button onclick="overlayOn()">
Assignment
</button>
      <button onclick="redirect('../')">
Stakeholders
</button>
      <button onclick="redirect('../maps')">
Proposals
</button>

      <button onclick="redirect('../secret')">
Zoning Debrief
</button>
      <button class = "active">
Credits
</button>

				<button id="tambopata-button" onclick="overlayShowNext('tambopata')">About Tambopata</button>
				<button id="assign-button" onclick="overlayShowNext('assign')">About Assignment</button>
				<button id="glossary-button" onclick="overlayShowNext('glossary')">Glossary</button>
				<button id="events-button" onclick="overlayShowNext('events')">Key Events</button>

				<button onclick="overlayOff()" id="overlay-buttons-close">X</button>

What's this assignment about?

					Participatory zoning initiatives are underway in scores of protected areas in the tropics where forests are rich, but people are poor. Ideally, participatory zoning promises to

Balance conservation and development goals at the landscape scale

Bring competing interest groups together to negotiate rules and create a shared sense of landscape

Encourage greater stakeholder buy-in and avoid costly top-down enforcement

					In this exercise, you will assume the role of a real-life stakeholder from Tambopata. Based on your stakeholder's interests, you will define your land-use priorities for TNR, find allies, and negotiate with your opponents
					as you collectively negotiate and vote on one of four zoning proposal maps created in the local participatory planning process. In thinking about which map should guide land use activities in Tambopata's future,
					consider the following: Why do your interests deserve priority? What kinds of activities will generate income without destroying biodiversity? Does your character have special interest in a certain area, e.g. the fertile,
					gold-rich and scenic riversides? Which areas have old-growth forests? Conversely, which areas are already deforested? Which activities are taking place up-stream from your character's areas of interest?

					You will advocate for your stakeholder's vision for Tambopata by participating in a role-played roundtable and writing a position paper. At the roundtable and in the paper,
					you will identify the map you think best matches your character's priorities, and (most importantly) defend your character's position using moral, environmental and/or economic arguments:

					Moral Arguments: Who should benefit from Tambopata's forests and why? The area's original indigenous inhabitants? Or the largest group, namely small-scale farmers of mixed ancestry,
					some of whom have lived in Tambopata for decades, others only a few years? Which kinds of land use activities can offer security for Tambopata's residents?
					Do Tambopata's forests and wildlife deserve protection apart from human economic concerns?

					Environmental Arguments: What land uses are most likely to maintain biodiversity and/or other ecosystem services? How can environmentally destructive practices be mitigated?
					Why should certain activities be conducted in certain areas of TNR (e.g. where does old-growth forest persist? Where has forest already been cleared?
					Which areas are up/down stream? Which areas are closer to the Bahuaja-Sonene National Park?)?

					Economic Arguments: Tambopata is poor. What kind of economic activities should have priority? Why? Which kinds of land use activities can generate capital and taxes to improve Tambopata's services?

				Instructors: If you are interested in using this assignment, contact naughton@geography.wisc.edu for a teacher's guide.

Tambopata, Peru:
Protecting forests and empowering local communities

					The Tambopata National Reserve (TNR) was created in 1990 to protect one of the most biologically diverse and least disturbed forests on the planet. The region is also home to indigenous people, like the Ese'eja,
					who see their very survival threatened by development. Many other local residents see Tambopata as a poor region of Peru that contains untapped reserves of timber, gold, and farmland.

					To balance biodiversity protection with economic development, officials are promoting participatory zoning of the 272,000 hectares of land within TNR.
					Leading this zoning exercise is Peru's Ministry of the Environment. The Ministry has invited local stakeholder groups to propose zoning maps and promote their map at a public roundtable.
					The consensus map selected at the roundtable will guide future management.

Glossary of useful terms

Madre de Dios:
 (Literally "Mother of God") the name of the 8.5 million ha Department (region) surrounding Tambopata. It is the least populated area in Peru (~ 1 person/km2).

Hectare:
 A 100 x 100 m unit of land (1 hectare = 2.3 acres). Abbreviated "ha". Most Tambopata farms are ~40 ha.

Puerto Maldonado:
 The largest city (~90,000) in Madre de Dios. It has doubled in size in the last 10 yrs.

SERNANP:
 The National Service for Natural Protected Areas is the govt. agency in charge of parks, reserves, wildlife and     forests. It is part of Peru's Ministry of Environment.

Castañeros:
 People who harvest castañas (Brazil nuts). Madre de Dios holds nearly 30% of the world's supply.

Ese'eja:
 The largest group of indigenous people in the region, numbering ~600 today, some estimate ~10,000 before 1890.

Artisanal mining:
 Small-scale mining performed by individuals, often on an informal/unofficial basis. Technology used has lower impact than industrial mining.

Industrial mining:
 Large scale, high-capital mining activities typically require a formal concession.

Reduced-impact logging:
 A logging practice designed to cause the least ecological impact on forests possible. Ideally informed     by studies of local ecosystem dynamics.

Concession:
 A formal permit issued by the government for a certain activity (e.g. mining, logging, ecotourism) for a specified     period of time (usually several years, although not permanent).

REDD+:
 "Reduced Emissions from Deforestation and Forest Degradation", is an incentive-based mechanism for reducing greenhouse gas emissions through improved forest management in developing countries.

Bosques Amazónicos (BAM):
 A for-profit organization facilitating a REDD project in Tambopata.

Nature-based tourism:
 Any form of tourism based on natural attractions.

Ecotourism:
 A form of nature-based tourism in which tourist impacts on the environment are mitigated.

Key events in the history of Tambopata, Peru

					1890-1915: The global demand for rubber leads companies to penetrate the forests of Tambopata to tap rubber trees. These companies bring the first wave of colonists, diseases, and market economies to the region.

					1930: People begin to extract Brazil nuts from Tambopata for international markets. Small-scale gold mining begins.

					1990s: The Tambopata Candamo Reserve Zone (TCRZ) is created as a temporary reserve on 1.5 million hectares, including uninhabited forests and areas settled by ~6000 people. The local farmers'
					federation FADEMAD and a local conservation group, Conservation Internacional-Peru (CI-Peru), work together to classify land in the region according to its agricultural potential and create a national park
					("Bahuaja-Sonene") (see VIDEO "Return to Tambopata").

					Late 1990s, early 2000's: Participatory mapping and zoning exercises resume.

					2000: The Peruvian Congress passes a new Sustainable Forestry Law. A moratorium is temporarily placed on logging in the Peruvian Amazon due to "destructive, corrupt, and wasteful" practices.
					 Local loggers revolt and burn government vehicles and confiscated timber. They demand to log forests and to dissolve the TCRZ. The protestors set up a roadblock near the airport.
					 One person killed, offices burned. After three days, anti-riot police from Lima squelch the protest with tear gas and arrests. INRENA lifts the logging moratorium.

					2008:  As global economic crisis sets in, gold prices soar, and a gold rush brings tens of thousands of Peruvians to Tambopata.

					2012: SERNANP uses an emergency decree to halt mining within the Tambopata Reserve. Public riots break out. The National Federation of Miners of Peru strikes and burns government buildings.
					Six people die in the ensuing conflict. The decree stands. Peru's military evicts most of the miners from the Reserve. Mining continues (illegally) in the proposed Buffer Zone.

					2020: Mining conflicts continue to this day…

Instructors, interested in using this teaching activity? Please contact Prof. Lisa Naughton (naughton@geography.wisc.edu)
          for a teaching guide.

To cite this webpage use: "Tambopata, Peru: Protecting forests and empowering local communities." geography.wisc.edu.tambopata. UW-Madison Dept. of Geography. 8 May 2020.

Credits

          Exercise Creators

Lisa Naughton1*

Nora Álvarez-Berríos2

Nicolle Etchart1

Mikaela Weisse1,3

          Cartography & Web Design Direction

Robert E. Roth1

Tanya Buckingham1

          Version 2020. Cartography & Web Design Lead Team from Geography 575 Interactive Cartography & Visualization Class, names in alphabetical order:

Vincent W. Cunningham1

Ashley Kuehl1

Matthew Laska1

Kyle McNair1

          Version 2013. Cartography & Web Design Lead Team from Geography 575 Interactive Cartography & Visualization Class, names in alphabetical order:

Masrudy Omri1

Mikaela Weisse1

Grace White1

        Other key contributors

Nick Underwood1: Geography 575 Teaching Assistant (2020), Laurie Greenberg4: Translation & insertion of English subtitles on videos (2020), Ryan Treves5:
            Video editing and insertion of English subtitles on videos (2020), Leanne Abraham1: Updating and technical troubleshooting (2018), Richard Donohue1 - Geography 575 Teaching Assistant (2013)

        Affiliations during work on Tambopata webpage and curriculum:

1University of Wisconsin-Madison, Dept. of Geography; 2International Institute of Tropical Forestry,
        US Forest Service, Río Piedras, Puerto Rico; 3World Resources Institute, Washington, D.C.; 4Cultural Landscapes, LLC; 5Stanford University, Dept. of Earth Systems, California.

        Financial Support

2020: Educational Innovation Initiative and the Center for Latin American, Caribbean and Ibero-American Studies, UW-Madison.

2013: College of Agriculture & Life Science International Program (CALS IP) Internationalization Course Development Award program.

        Photos and graphics

NPR.org, Traveling Down The Amazon Road, John Poole, photographer.

Centro de Innovación Científica Amazónica - CINCIA

Federación Nativa del Río Madre de Dios y Afluentes (FENAMAD)'s Facebook page

Monitoring of the Andean Amazon Project (MAAP)

World Bank Photo Collection

Noun Project: Alena Artemova, Gorgiana Ionescu, Riska Ambiya Mahfudin, Shashank Singh, Lena Tran

        Disclaimer

We designed this webpage primarily as an educational tool. The events and stakeholders we feature are inspired by actual events and people in Tambopata, but we have changed people's names,
          simplified some stories, and embellished others to optimize educational goals and to protect their privacy. We are grateful to our colleagues and friends in Madre de Dios for their generous
          participation. The stakeholder videos were all filmed with local approval, and we have signed releases.

Hemos diseñado esta página web principalmente como una herramienta educativa. Los eventos y personajes que presentamos están inspirados en hechos y personas reales de Tambopata, pero hemos
          simplificado algunas de las historias y adornado otras para optimizar los objetivos educativos. Agradecemos a nuestros colegas y amigos de Madre de Dios por su generosa participación. Los videos
          que presentamos fueron filmados con la aprobación de los participantes

*Send correspondence to:

Prof. Lisa Naughton

Department of Geography

UW-Madison

550 N. Park St

Madison, WI 53706

naughton@geography.wisc.edu

        <button onclick="topFunction()" id="scrollBtn" title="Go to top">Top</button>


text:
// MIT License. Copyright (c) 2016 Maxim Kuzmin. Contacts: https://github.com/maxim-kuzmin

// Author: Maxim Kuzmin

using Makc2017.Data.Entity.Objects;
using Makc2017.Data.Objects;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Makc2017.Data.Entity.Configs
{
    /// <summary>
    /// Данные. Entity Framework. Конфигурации. Конфигурация данных сущности "DummyManyToMany".
    /// </summary>
    internal class DataEntityConfigDummyManyToMany : DataEntityConfig<DataEntityObjectDummyManyToMany>
    {
        #region Public methods

        /// <summary>
        /// Конфигурировать.
        /// </summary>
        /// <param name="entity">Сущность.</param>
        public override void Configure(EntityTypeBuilder<DataEntityObjectDummyManyToMany> entity)
        {
            entity.ToTable(DataObjectDummyManyToMany.DB_TABLE_NAME, DataObjectDummyManyToMany.DB_SCHEMA_NAME);

            entity.HasKey(x => x.Id);

            entity.Property(x => x.Id).ValueGeneratedOnAdd().UseSqlServerIdentityColumn();
            entity.Property(x => x.Name).IsRequired().IsUnicode().HasMaxLength(50).ForSqlServerHasColumnType("nvarchar(50)");
        }

        #endregion Public methods
    }
}


text:
package com.inversoft.rest;

import java.io.IOException;
import java.io.OutputStream;
import java.net.HttpURLConnection;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.inversoft.json.JacksonModule;

/**
 * Body handler that writes the body as JSON using Jackson. By default, this uses the defaultObjectMapper variable for
 * JSON creation. You can optionally specify a different ObjectMapper to the constructor. The default ObjectMapper uses these settings
 * for serializing:
 *

 *

 *   new ObjectMapper().setSerializationInclusion(JsonInclude.Include.NON_NULL)
 *       .configure(MapperFeature.SORT_PROPERTIES_ALPHABETICALLY, true)
 *       .configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false)
 *       .configure(SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS, true)
 *       .configure(SerializationFeature.WRITE_EMPTY_JSON_ARRAYS, false)
 *       .configure(SerializationFeature.WRITE_NULL_MAP_VALUES, false)
 *       .registerModule(new JacksonModule());
 *

 *

 * This also uses the JacksonModule from our jackson5 project to help with type conversions.
 *
 * @author Brian Pontarelli
 */
public class JSONBodyHandler implements RESTClient.BodyHandler {
  public final static ObjectMapper defaultObjectMapper = new ObjectMapper().setSerializationInclusion(JsonInclude.Include.NON_NULL)
                                                                           .configure(MapperFeature.SORT_PROPERTIES_ALPHABETICALLY, true)
                                                                           .configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false)
                                                                           .configure(SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS, true)
                                                                           .configure(SerializationFeature.WRITE_NULL_MAP_VALUES, false)
                                                                           .registerModule(new JacksonModule());

  private final String contentType;

  private final ObjectMapper instanceObjectMapper;

  public Object request;

  private byte[] body;

  public JSONBodyHandler(Object request, String contentType) {
    this.request = request;
    this.contentType = contentType;
    this.instanceObjectMapper = defaultObjectMapper;
  }

  public JSONBodyHandler(Object request) {
    this.request = request;
    this.contentType = "application/json";
    this.instanceObjectMapper = defaultObjectMapper;
  }

  public JSONBodyHandler(Object request, String contentType, ObjectMapper objectMapper) {
    this.request = request;
    this.contentType = contentType;
    this.instanceObjectMapper = objectMapper;
  }

  public JSONBodyHandler(Object request, ObjectMapper objectMapper) {
    this.request = request;
    this.contentType = "application/json";
    this.instanceObjectMapper = objectMapper;
  }

  @Override
  public void accept(OutputStream os) throws IOException {
    if (body != null && os != null) {
      os.write(body);
    }
  }

  @Override
  public byte[] getBody() {
    serializeRequest();
    return body;
  }

  @Override
  public Object getBodyObject() {
    return request;
  }

  @Override
  public void setHeaders(HttpURLConnection huc) {
    if (request != null) {
      serializeRequest();
      huc.addRequestProperty("Content-Type", contentType);
      huc.addRequestProperty("Content-Length", "" + body.length);
    }
  }

  private void serializeRequest() {
    if (request != null && body == null) {
      try {
        body = instanceObjectMapper.writeValueAsBytes(request);
      } catch (IOException e) {
        throw new JSONException(e);
      }
    }
  }
}


text:
class Downer
  def initialize(config, options = {})
    @config  = config
    @options = options
  end

  def down
    res = nfs
    mpi if res
  end

  def nfs
    nfs = Nfs.new(@config, @options)
    if @options[:production]
      nfs.halt_production
    else
      nfs.halt_staging
    end
  end

  def mpi
    mpi = Mpi.new(@config, @options)
    if @options[:production]
      mpi.halt_production
    else
      mpi.halt_staging
    end
  end
end


text:
<?php
/**
 * Message translations.
 *
 * This file is automatically generated by 'yii message' command.
 * It contains the localizable messages extracted from source code.
 * You may modify this file by translating the extracted messages.
 *
 * Each array element represents the translation (value) of a message (key).
 * If the value is empty, the message is considered as not translated.
 * Messages that no longer need translation will have their translations
 * enclosed between a pair of '@@' marks.
 *
 * Message string can be used with plural forms format. Check i18n section
 * of the guide for details.
 *
 * NOTE: this file must be saved in UTF-8 encoding.
 */
return [
    ' Go Home' => 'Inicio',
    'About' => 'Acerca de',
    'Add products' => 'Agregar productos',
    'Add products to ' => 'Agregar productos a',
    'Are you sure you want to delete this item?' => 'Estas seguro que deseas eliminar este item?',
    'Are you sure you want to disable this route?' => 'Estas seguro que deseas deshabilitar esta ruta?',
    'Best route from your location' => 'Mejor ruta desde tu localizacion',
    'Cancel' => 'Cancelar',
    'Category' => 'Categoria',
    'Change Picture' => 'Cambiar Foto',
    'Change address' => 'Cambiar direccion',
    'Change personal address!' => 'Cambiar direccion personal!',
    'Choose from the list to add a product' => 'Elige de la lista para agregar un producto',
    'Choose from the list to add a store' => 'Elige de la lista para agregar una tienda',
    'Choose from the list to remove a product' => 'Elige de la lista para eliminar un producto',
    'Choose from the list to remove a store' => 'Elige de la lista para eliminar una tienda',
    'Click to add' => 'Click para agregar',
    'Click to remove' => 'Click para remover',
    'Closing hours' => 'Horas de cierre',
    'Create' => 'Crear',
    'Create Order' => 'Crear Orden',
    'Create Ruta' => 'Crear Ruta',
    'Create categories' => 'Crear categorias',
    'Create product' => 'Crear producto',
    'Date' => 'Fecha',
    'Day of week' => 'Dia de la semana',
    'Day to control stock' => 'Dia para el control de stock',
    'Delete' => 'Eliminar',
    'Delivered' => 'Relevado',
    'Deliveries' => 'Relevamientos',
    'Deliveries Records' => 'Historial de Relevamientos',
    'Delivery Items' => 'Item de relevamiento',
    'Disable' => 'Deshabilitado',
    'Done' => 'Terminado',
    'Employee' => 'Empleado',
    'Fecha' => '',
    'Friday' => 'Viernes',
    'Go back' => 'Atras',
    'History' => 'Historial',
    'Home' => 'Inicio',
    'Hours' => 'Horas',
    'I forgot my password' => 'Olvide mi contraseña',
    'ID' => '',
    'Idcomercio' => '',
    'Idproducto' => '',
    'If you forgot your password you can' => 'Si olvidaste tu contraseña tu puedes',
    'Image' => 'Imagen',
    'Is active' => 'Es activo',
    'It looks like the order doesnt exist' => 'Parece que la orden no existe',
    'It\'s nice see you again' => 'Es bueno verte nuevamente',
    'It\'s nice see you!' => 'Es bueno verte',
    'Last 30 days' => 'Ultimos 30 dias',
    'Last 7 days' => 'Ultimos 7 dias',
    'Latitude' => 'Latitud',
    'Location' => 'Localizacion',
    'Login' => 'Ingresa',
    'Longitude' => 'Longitud',
    'Name' => 'Nombre',
    'New Order' => 'Nueva Orden',
    'New order' => 'Nueva orden',
    'Oh, oh! No shops are available' => 'Oh, oh! No hay comercios disponibles',
    'Online' => '',
    'Open hours' => 'Horas de apertura',
    'Order day' => 'Dia de la orden',
    'Pedido' => '',
    'Please' => 'Por favor',
    'Please contact us if you think this is a server error. Thank you.' => 'Por favor contactanos si tu piensas que esto es un error del servidor. Gracias.',
    'Please fill out the following fields to login' => 'Por favor completa los siguientes campos para ingresar',
    'Please go back' => 'Por favor ve atras',
    'Priority' => 'Prioridad',
    'Product picture' => 'Imagen de producto',
    'Products' => 'Productos',
    'Products in store' => 'Productos en comercio',
    'Register a new membership' => 'Registrar un nuevo usuario',
    'Register store' => 'Registrar comercio',
    'Relevated' => 'Relevado',
    'Request' => 'Pedido',
    'Route' => 'Ruta',
    'Route id' => 'Ruta id',
    'Routes' => 'Rutas',
    'Saturday' => 'Sabado',
    'Search...' => 'Buscando...',
    'Select Shop' => 'Seleccionar Comercio',
    'Shop' => 'Comercio',
    'Sign in' => 'Ingresa',
    'Sign out' => 'Salir',
    'Stock' => '',
    'Stock for Shop' => 'Stock para Comercio',
    'Stock to deliver' => 'Stock para relevar',
    'Store' => 'Comercio',
    'Stores' => 'Comiercios',
    'Stores in route' => 'Comercios in ruta',
    'Take new orders!' => 'Toma nueva orden!',
    'The above error occurred while the Web server was processing your request.' => 'El siguiente error ocurrio mientras el servior web procesaba tu pedido.',
    'Theres no data to show' => 'No hay datos que mostrar',
    'This route is being done by ' => 'Esta ruta se está haciendo por ',
    'Thursday' => 'Jueves',
    'Today' => 'Hoy',
    'Tuesday' => 'Martes',
    'Unassign products' => 'Productos sin asignar',
    'Unassigned stores' => 'Comercios sin asignar',
    'Update' => 'Actualizar',
    'Update picture of {modelClass}: ' => 'Actualizar foto de {modelClass}: ',
    'Update {modelClass}: ' => 'Actualizar {modelClass}: ',
    'User id' => 'Usuario id',
    'Users' => 'Usuarios',
    'Wednesday' => 'Miercoles',
    'Welcome back .. guest?' => 'Bienvenido de nuevo .. invitado?',
    'Yesterday' => 'Ayer',
    'Your best route for today' => 'Tu mejor ruta para hoy',
    'login' => 'ingresa',
    'or' => 'o',
    'password' => 'contraseña',
    'product' => 'producto',
    'rememberMe' => 'recuerdame',
    'reset it' => 'reiniciarlo',
    'shop' => 'comercio',
    'signup' => 'registrate',
    'username' => 'nombre de usuario',
    'Adress' => 'Dirección',
    'Already registered? Sign in!' => '¿Ya estás registrado? Ingresa!',
    'Available stock' => '@@@@',
    'Day' => 'Día',
    'Delivery day' => '@@@@',
    'It is recommended you use an upgraded browser to display the {type} control properly.' => '@@@@',
    'New delivery stock' => '@@@@',
    'Sign up' => 'Regístrate',
    'Categories' => 'Categorias',
    'Monday' => 'Lunes',
    'Welcome back' => 'Bienvenido devuelta',
];


text:
namespace base {
namespace debug {

// Make the optimizer think that |var| is aliased. This can be used to inhibit
// three different kinds of optimizations:
//
// Case #1: Prevent a local variable from being optimized out if it would not
// otherwise be live at the point of a potential crash. This can only be done
// with local variables, not globals, object members, or function return values
// - these must be copied to locals if you want to ensure they are recorded in
// crash dumps. Function arguments are fine to use since the
// base::debug::Alias() call on them will make sure they are copied to the stack
// even if they were passed in a register. Note that if the local variable is a
// pointer then its value will be retained but the memory that it points to will
// probably not be saved in the crash dump - by default only stack memory is
// saved. Therefore the aliasing technique is usually only worthwhile with
// non-pointer variables. If you have a pointer to an object and you want to
// retain the object's state you need to copy the object or its fields to local
// variables.
//
// Example usage:
//   int last_error = err_;
//   base::debug::Alias(&last_error);
//   DEBUG_ALIAS_FOR_CSTR(name_copy, p->name, 16);
//   CHECK(false);
//
// Case #2: Prevent a tail call into a function. This is useful to make sure the
// function containing the call to base::debug::Alias() will be present in the
// call stack. In this case there is no memory that needs to be on
// the stack so we can use nullptr. The call to base::debug::Alias() needs to
// happen after the call that is suspected to be tail called. Note: This
// technique will prevent tail calls at the specific call site only. To prevent
// them for all invocations of a function look at NOT_TAIL_CALLED.
//
// Example usage:
//   NOINLINE void Foo(){
//     ... code ...
//
//     Bar();
//     base::debug::Alias(nullptr);
//   }
//
// Case #3: Prevent code folding of a non-unique function. Code folding can
// cause the same address to be assigned to different functions if they are
// identical. If finding the precise signature of a function in the call-stack
// is important and it's suspected the function is identical to other functions
// it can be made unique using NO_CODE_FOLDING which is a wrapper around
// base::debug::Alias();
//
// Example usage:
//   NOINLINE void Foo(){
//     NO_CODE_FOLDING();
//     Bar();
//   }
//
// Finally please note that these effects compound. This means that saving a
// stack variable (case #1) using base::debug::Alias() will also inhibit
// tail calls for calls in earlier lines and prevent code folding.

void BASE_EXPORT Alias(const void* var);

}  // namespace debug

BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size);

}  // namespace base

// Convenience macro that copies the null-terminated string from |c_str| into a
// stack-allocated char array named |var_name| that holds up to |char_count|
// characters and should be preserved in memory dumps.
#define DEBUG_ALIAS_FOR_CSTR(var_name, c_str, char_count) \
  char var_name[char_count];                              \
  ::base::strlcpy(var_name, (c_str), sizeof(var_name));   \
  ::base::debug::Alias(var_name);

// Code folding is a linker optimization whereby the linker identifies functions
// that are bit-identical and overlays them. This saves space but it leads to
// confusing call stacks because multiple symbols are at the same address and
// it is unpredictable which one will be displayed. Disabling of code folding is
// particularly useful when function names are used as signatures in crashes.
// This macro doesn't guarantee that code folding will be prevented but it
// greatly reduces the odds and always prevents it within one source file.
// If using in a function that terminates the process it is safest to put the
// NO_CODE_FOLDING macro at the top of the function.
// Use like:
//   void FooBarFailure(size_t size) { NO_CODE_FOLDING(); OOM_CRASH(size); }
#define NO_CODE_FOLDING()           \
  const int line_number = __LINE__; \
  base::debug::Alias(&line_number)

#endif  // BASE_DEBUG_ALIAS_H_


text:
layout: post
title: Chocolate
titleinfo: pornvd
desc: Watch Chocolate. Pornhub is the ultimate xxx porn and sex site.
---

Chocolate

Watch Chocolate. Pornhub is the ultimate xxx porn and sex site.


text:
<?php

namespace App\Filtros;

/**
 * Description of UsuarioFiltro
 *
 * @author gilmario
 */
class UsuarioFiltro implements \jaspion\Interfaces\Filtro\Filtro {

    public function erro($controlle = null, $acao = null, $parametro = null) {
        $i = new \App\Controllers\IndexController();
        $i->erro500();
    }

    public function filtrar($controlle = null, $acao = null, $parametro = null) {
        return null;
    }

}


text:
<?xml version="1.0" encoding="UTF-8"?>

<apiPackage id="mx.charts.effects"><apiName>mx.charts.effects</apiName><apiDetail/><apiClassifier id="mx.charts.effects:SeriesZoom"><apiName>SeriesZoom</apiName><shortdesc>
  SeriesZoom 效果是将图表数据聚合到您指定的焦点位置,或从该位置分解出图表数据。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata><asCustoms><mxml><![CDATA[

The <mx:SeriesZoom> tag
  inherits all the properties of its parent classes,
  and adds the following properties:

  <mx:SeriesZoom
    Properties
    horizontalFocus="center|left|right|null"
    relativeTo="series|chart"
    verticalFocus="top|center|bottom|null"
  />

  ]]></mxml></asCustoms></prolog><apiClassifierDetail><apiClassifierDef><apiAccess value="public"/><apiStatic/><apiBaseClassifier>mx.charts.effects:SeriesEffect</apiBaseClassifier></apiClassifierDef><apiDesc>
  SeriesZoom 效果是将图表数据聚合到您指定的焦点位置,或从该位置分解出图表数据。同 SeriesSlide 效果一样,此效果在该点聚合还是分解取决于将其分配给了 <codeph>showDataEffect</codeph> 还是 <codeph>hideDataEffect</codeph> 效果触发器。

  </apiDesc><example conref="SeriesZoomExample.mxml"><swfblock conref="examples/SeriesZoomExample.swf"/></example></apiClassifierDetail><apiConstructor id="mx.charts.effects:SeriesZoom:SeriesZoom"><apiName>SeriesZoom</apiName><shortdesc>
      构造函数。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiConstructorDetail><apiConstructorDef><apiAccess value="public"/><apiParam><apiItemName>target</apiItemName><apiType value="Object"/><apiData>null</apiData><apiDesc>效果的目标。

      </apiDesc></apiParam></apiConstructorDef><apiDesc>
      构造函数。

      </apiDesc></apiConstructorDetail></apiConstructor><apiValue id="mx.charts.effects:SeriesZoom:horizontalFocus"><apiName>horizontalFocus</apiName><shortdesc>
      定义缩放焦点的位置。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiType value="String"/><apiDefaultValue>"center"

      </apiDefaultValue></apiValueDef><apiDesc>
      定义缩放焦点的位置。

<codeph>horizontalFocus</codeph> 属性的有效值为 <codeph>"left"</codeph>、<codeph>"center"</codeph>、<codeph>"right"</codeph> 和 <codeph>null</codeph>。

您可以通过组合 <codeph>horizontalFocus</codeph> 和 <codeph>verticalFocus</codeph> 来定义数据系列的缩放焦点位置。例如,将 <codeph>horizontalFocus</codeph> 属性设置为 <codeph>"left"</codeph>,并将 <codeph>verticalFocus</codeph> 属性设置为 <codeph>"top"</codeph> 可在元素或图表的左上角聚合及分解系列数据(取决于 <codeph>relativeTo</codeph> 属性的设置)。

如果仅指定了上述任一属性,则焦点将为一条水平线或垂直线,而不是一个点。例如,如果将 <codeph>horizontalFocus</codeph> 设置为 <codeph>"left"</codeph>,但将 <codeph>verticalFocus</codeph> 设置为 <codeph>null</codeph>,则将沿边框左边缘的垂直线缩放元素。将 <codeph>verticalFocus</codeph> 属性设置为 <codeph>"center"</codeph> 可沿图表边框的中部在水平线上聚合及分解图表元素。

      </apiDesc></apiValueDetail></apiValue><apiValue id="mx.charts.effects:SeriesZoom:relativeTo"><apiName>relativeTo</apiName><shortdesc>
      控制 Flex 用于计算缩放焦点的边框。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiData>series</apiData><apiType value="String"/><apiDefaultValue>"series"

      </apiDefaultValue></apiValueDef><apiDesc>
      控制 Flex 用于计算缩放焦点的边框。

<codeph>relativeTo</codeph> 属性的有效值为 <codeph>"series"</codeph> 和 <codeph>"chart"</codeph>。

如果设置为 <codeph>"series"</codeph>,则相对于元素本身缩放每个元素。例如,ColumnChart 的每列从该列的左上角或中心等位置进行缩放。

如果设置为 <codeph>"chart"</codeph>,则相对于图表区域缩放每个元素。例如,从轴的左上角或中心等位置缩放每一列。

      </apiDesc></apiValueDetail></apiValue><apiValue id="mx.charts.effects:SeriesZoom:verticalFocus"><apiName>verticalFocus</apiName><shortdesc>
      定义缩放焦点的位置。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiType value="String"/><apiDefaultValue>"center"

      </apiDefaultValue></apiValueDef><apiDesc>
      定义缩放焦点的位置。有关详细信息,请参阅 <codeph>horizontalFocus</codeph> 属性的说明。

<codeph>verticalFocus</codeph> 的有效值为 <codeph>"top"</codeph>、<codeph>"center"</codeph>、<codeph>"bottom"</codeph> 和 <codeph>null</codeph>。

      </apiDesc></apiValueDetail></apiValue></apiClassifier><apiClassifier id="mx.charts.effects:SeriesInterpolate"><apiName>SeriesInterpolate</apiName><shortdesc>
  SeriesInterpolate 效果将系列中表示现有数据的图形移动到新位置。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiClassifierDetail><apiClassifierDef><apiAccess value="public"/><apiStatic/><apiBaseClassifier>mx.charts.effects:SeriesEffect</apiBaseClassifier></apiClassifierDef><apiDesc>
  SeriesInterpolate 效果将系列中表示现有数据的图形移动到新位置。此效果始终将数据保留在屏幕上,而不会清除图表并像 SeriesZoom 和 SeriesSlide 一样置入数据。

您只能将 SeriesInterpolate 效果与 <codeph>showDataEffect</codeph> 效果触发器一同使用。如果将其设置为与 <codeph>hideDataEffect</codeph> 一同使用,则没有任何效果。

  </apiDesc><example conref="SeriesInterpolateExample.mxml"><swfblock conref="examples/SeriesInterpolateExample.swf"/></example></apiClassifierDetail><apiConstructor id="mx.charts.effects:SeriesInterpolate:SeriesInterpolate"><apiName>SeriesInterpolate</apiName><shortdesc>
      构造函数。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiConstructorDetail><apiConstructorDef><apiAccess value="public"/><apiParam><apiItemName>target</apiItemName><apiType value="Object"/><apiData>null</apiData><apiDesc>效果的目标。

      </apiDesc></apiParam></apiConstructorDef><apiDesc>
      构造函数。

      </apiDesc></apiConstructorDetail></apiConstructor></apiClassifier><apiClassifier id="mx.charts.effects:SeriesEffect"><apiName>SeriesEffect</apiName><shortdesc>
  图表效果的基类。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata><asCustoms><mxml><![CDATA[

The <mx:SeriesEffect> tag
  inherits the tag attributes of its superclass,
  and adds the following tag attributes:

  <mx:tagname
    Properties
    elementOffset="20"
    minimumElementDuration="0"
    offset="0"
    type="show|hide (Default value is set by chart)"
  >

  ]]></mxml></asCustoms></prolog><apiClassifierDetail><apiClassifierDef><apiAccess value="public"/><apiStatic/><apiBaseClassifier>mx.effects:TweenEffect</apiBaseClassifier></apiClassifierDef><apiDesc>
  图表效果的基类。

  </apiDesc></apiClassifierDetail><apiConstructor id="mx.charts.effects:SeriesEffect:SeriesEffect"><apiName>SeriesEffect</apiName><shortdesc>
      构造函数。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiConstructorDetail><apiConstructorDef><apiAccess value="public"/><apiParam><apiItemName>target</apiItemName><apiType value="Object"/><apiDesc>效果的目标。

      </apiDesc></apiParam></apiConstructorDef><apiDesc>
      构造函数。

      </apiDesc></apiConstructorDetail></apiConstructor><apiValue id="mx.charts.effects:SeriesEffect:elementOffset"><apiName>elementOffset</apiName><shortdesc>
      指定 Flex 延迟效果开始作用于系列中各元素的时间量(以毫秒为单位)。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiData>20</apiData><apiType value="Number"/></apiValueDef><apiDesc>
      指定 Flex 延迟效果开始作用于系列中各元素的时间量(以毫秒为单位)。

将 <codeph>elementOffset</codeph> 设置为 <codeph>0</codeph> 可同时作用于系列中的所有元素。效果作用于这些元素的开始时间和结束时间相同。

将 <codeph>elementOffset</codeph> 设置为正整数(如 <codeph>30</codeph>)可按该时间量将该效果交错作用于各个元素。例如,对于滑动效果,第一个元素立即滑动,下一个元素在 30 毫秒之后开始滑动,依此类推。每个元素执行效果的时间量都是相同的,但效果的整体持续时间将会延长。

将 <codeph>elementOffset</codeph> 设置为负值可使效果从最后一个元素开始起作用,并在列表中逆向移动。

默认值为 <codeph>20</codeph>。

      </apiDesc></apiValueDetail></apiValue><apiValue id="mx.charts.effects:SeriesEffect:minimumElementDuration"><apiName>minimumElementDuration</apiName><shortdesc>
      指定单个元素完成效果所需的时间量(以毫秒为单位)。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiData>0</apiData><apiType value="Number"/></apiValueDef><apiDesc>
      指定单个元素完成效果所需的时间量(以毫秒为单位)。

系列中数据点数可变的图表仅通过 <codeph>duration</codeph> 属性可能无法创建平滑的效果。例如,如果系列中包含两个元素,则对于将 <codeph>duration</codeph> 设置为 <codeph>1000</codeph>,以及将 <codeph>elementOffset</codeph> 设置为 <codeph>100</codeph> 的效果,每个元素需要 900 毫秒来完成此效果。这是因为每个效果的起始点都偏移了 100,并且都要在 1000 毫秒内完成。

如果系列中包含四个元素,则每个元素需要 700 毫秒来完成此效果(最后一个效果将在第一个效果完成 300 毫秒后启动,并且必须在 1000 毫秒内完成)。如果包含 10 个元素,则每个元素只有 100 毫秒的时间

      来完成效果。

<codeph>minimumElementDuration</codeph> 值设置了每个元素的最短持续时间。无论系列中包含多少元素以及 <codeph>duration</codeph> 属性的值如何设置,系列中任何元素执行此效果的时间量(以毫秒为单位)都不能少于此值。因此,如果指定了 <codeph>duration</codeph>、<codeph>offset</codeph> 和 <codeph>minimumElementDuration</codeph> 中的任意两个属性,则执行效果所需的时间就可能长于指定的 <codeph>duration</codeph>。

默认值为 <codeph>0</codeph>。

      </apiDesc></apiValueDetail></apiValue><apiValue id="mx.charts.effects:SeriesEffect:offset"><apiName>offset</apiName><shortdesc>
      指定 Flex 延迟效果的时间量(以毫秒为单位)。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiData>0</apiData><apiType value="Number"/></apiValueDef><apiDesc>
      指定 Flex 延迟效果的时间量(以毫秒为单位)。

使用此属性在多个系列上交错执行多个效果。

默认值为 <codeph>0</codeph>。

      </apiDesc></apiValueDetail></apiValue><apiValue id="mx.charts.effects:SeriesEffect:type"><apiName>type</apiName><shortdesc>
      此效果适用的过渡类型。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiData>show</apiData><apiType value="String"/></apiValueDef><apiDesc>
      此效果适用的过渡类型。根据将要应用于图表过渡过程的显示阶段还是隐藏阶段,某些系列效果定义了不同的行为。例如,当此属性设置为 <codeph>hide</codeph> 时,SeriesSlide 效果会使元素从自身位置滑离屏幕;当此属性设置为 <codeph>show</codeph> 时,元素将在屏幕上滑动。此属性由图表根据将此效果分配给了 ShowDataEffect 还是 HideDataEffect 样式来设置。

      </apiDesc></apiValueDetail></apiValue></apiClassifier><apiClassifier id="mx.charts.effects:SeriesSlide"><apiName>SeriesSlide</apiName><shortdesc>
  SeriesSlide 效果将数据系列滑向或滑离图表边界。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata><asCustoms><mxml><![CDATA[

The <mx:SeriesSlide> tag
  inherits all the properties of its parent classes,
  and adds the following properties:

  <mx:SeriesSlide
    Properties
    direction="left|right|up|down"
  />

  ]]></mxml></asCustoms></prolog><apiClassifierDetail><apiClassifierDef><apiAccess value="public"/><apiStatic/><apiBaseClassifier>mx.charts.effects:SeriesEffect</apiBaseClassifier></apiClassifierDef><apiDesc>
  SeriesSlide 效果将数据系列滑向或滑离图表边界。您可以使用 <codeph>direction</codeph> 属性指定系列滑动的起始位置。

如果您将 SeriesSlide 与 <codeph>hideDataEffect</codeph> 效果触发器一同使用,系列将沿指示的方向从屏幕上的当前位置滑动到屏幕外的某个位置。如果您将 SeriesSlide 与 <codeph>showDataEffect</codeph> 一同使用,系列将沿指示方向从屏幕外的位置滑动到屏幕上的某个位置。

  </apiDesc><example conref="SeriesSlideExample.mxml"><swfblock conref="examples/SeriesSlideExample.swf"/></example></apiClassifierDetail><apiConstructor id="mx.charts.effects:SeriesSlide:SeriesSlide"><apiName>SeriesSlide</apiName><shortdesc>
	  构造函数。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiConstructorDetail><apiConstructorDef><apiAccess value="public"/><apiParam><apiItemName>target</apiItemName><apiType value="Object"/><apiData>null</apiData><apiDesc>效果的目标。

	  </apiDesc></apiParam></apiConstructorDef><apiDesc>
	  构造函数。

	  </apiDesc></apiConstructorDetail></apiConstructor><apiOperation id="mx.charts.effects:SeriesSlide:protected:initInstance"><apiName>initInstance</apiName><shortdesc>
	  </shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiOperationDetail><apiOperationDef><apiAccess value="protected"/><apiIsOverride/><apiReturn><apiType value="void"/></apiReturn><apiParam><apiItemName>inst</apiItemName><apiType value="mx.effects:IEffectInstance"/></apiParam></apiOperationDef><apiDesc>
	  </apiDesc></apiOperationDetail><apiInheritDoc/></apiOperation><apiValue id="mx.charts.effects:SeriesSlide:direction"><apiName>direction</apiName><shortdesc>
	  定义系列开始滑动的位置。</shortdesc><prolog><asMetadata><apiVersion><apiLanguage version="3.0"/><apiPlatform description="" name="Flash" version="9"/><apiPlatform description="" name="AIR" version="1.1"/><apiTool description="" name="Flex" version="3"/></apiVersion></asMetadata></prolog><apiValueDetail><apiValueDef><apiProperty/><apiAccess value="public"/><apiDynamic/><apiData>left</apiData><apiType value="String"/></apiValueDef><apiDesc>
	  定义系列开始滑动的位置。有效值为 <codeph>"left"</codeph>、<codeph>"right"</codeph>、<codeph>"up"</codeph> 和 <codeph>"down"</codeph>。默认值为 <codeph>"left"</codeph>。

	  </apiDesc></apiValueDetail></apiValue></apiClassifier></apiPackage>


text:
<!DOCTYPE html>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="Monolitos solutions, desenvolvimento, sites, aplicatios, Marabá, Pará, Brasil">
  <meta name="author" content="contato@monolitossoutions.com.br">
  <title>Monólitos Solutions</title>

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

  <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
  <link rel="icon" href="img/icone.png"/>

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

  <link href="css/freelancer.css" rel="stylesheet">

      Monólitos Solutions
      <button class="navbar-toggler navbar-toggler-right text-uppercase bg-primary text-white rounded" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
        Menu

      </button>

            Inicio

            Sobre

            Contato

DESENVOLVIMENTO DE SITES, APLICATIVOS E MANUTENÇÃO DE SISTEMAS

Alguns Parceiros

Sobre

              Somos uma equipe de jovens engajados em tecnologia e
               interessados em atender da melhor forma nossos clientes.
                Baseamos nossos serviços na premissa de que clientes são mais do que apenas uma entrega,
                são nossos parceiros, e que cada decisão tomada deve ser conversada entre as partes de forma
                 a melhor servir ambos interesses.

              Garantimos uma conversa franca e atendimento diferenciado à
               cada um dos clientes da Monólitos Solutions. Localizados em Marabá,
               oferecemos os serviços na "porta de casa" para a região do Pará,
               Tocantins, Maranhão, dando maior comodidade e confiança à nossos clientes.

Contato

                    Endereço: Avenida espirito santo, 180, Amapá, Marabá - Pará

            Telefone: 94 992158636

                Email: contato@monolitossolutions.com.br

                Facebook:
                 @monolitossolutions

              Instagram
                @monolitos_solutions

Localização

Marabá - Pará

Avenida espirito santo, 180, Amapá

Redes Sociais

Sobre

Somos uma equipe de jovens engajados em tecnologia e
            interessados em atender da melhor forma nossos clientes.

      Copyright © Monolitos Solutions 2019

Frizzar

              Plataforma completa de gestão para salões de beleza. Somos responsáveis pela manutenção e implementação
              de novas funcionalidades.
            frizzar.com

             Fechar

 CCM Advocacia

                CCM Advocacia é um moderno escritório de advocacia sediado na cidade de Marabá atendendo toda região sul e sudeste do estado, que tem por objetivo a prestação de serviços de assessoria e consultoria jurídica em todos os segmentos do Direito, reúne uma equipe de advogados com larga experiência e conhecimento em diversas especialidades do Direito. A experiência e o aperfeiçoamento técnico dos profissionais do escritório CCM Advocacia permitem colocar à disposição de seus clientes uma prestação de serviços de assessoria e consultoria com grau elevado de qualidade e confiabilidade. A escolha de nossa organização traduz a certeza da contratação de um escritório moderno, ágil e competente.
                Atingir resultados e ultrapassar as expectativas dos clientes são nossos maiores compromissos.

            advccm.com.br

              Fechar

3tech Distribuidora

                Fundada em 2017 em Marabá, a 3 Tech Distribuidora, é uma empresa genuinamente paraense,
                que atua na distribuição de equipamentos de segurança eletrônica, redes, telefonia, interfonia, automação de acessos, alarme e acessórios,
                 proporcionando formação e suporte técnico de qualidade para suas revendas parceiras.

           3techdistribuidora.com.br

              Fechar

Hunter Clube

HunterClube é um clube de tiro, em Russas - CE.
              Atualmente utiliza nosso sistema de gestão de clube de tiros, feito sobe medida
              para atender suas necessidades.

            hunterclube.com.br

             Fechar

Cálculo Certo App

                Cálculo Certo é um aplicativo completo para elaboração de projetos de vidros
                temperados com folgas automáticas e relação de material detalhada, você obtém seus projetos de maneira simples
                com mais segurança e agilidade modernizando seu departamento de projetos com o Cálculo Certo.

            Saiba mais aqui

              Fechar

Project Name

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia neque assumenda ipsam nihil, molestias magnam, recusandae quos quis inventore quisquam velit asperiores, vitae? Reprehenderit soluta, eos quod consequuntur itaque. Nam.

              Close Project