text:
<?php

namespace Freedom\UserBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\Expose;
use JMS\Serializer\Annotation\VirtualProperty;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * Userbelonggroup
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Freedom\UserBundle\Entity\UserbelonggroupRepository")
 * @ExclusionPolicy("all")
 */
class Userbelonggroup
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     * @Expose
     */
    private $id;

    /**
     * @var integer
     *
     * @ORM\Column(name="role", type="integer")
     * @Expose
     * @Assert\Type(type="integer", message="the value {{ value }} is not a valid {{ type }}.")
     * @Assert\Range(
     *      min = 1,
     *      max = 2,
     *      minMessage = "This role doesn't exist",
     *      maxMessage = "This role doesn't exist"
     * )
     */
    private $role;

    /**
     * @var \Freedom\UserBundle\Entity\User
     * @Expose
     */
    private $user;

    /**
     * @var \Freedom\GroupBundle\Entity\Groups
     * @Expose
     */
    private $group;

    /**
     * @var boolean
     * @Expose
     * @Assert\Type(type="boolean", message="the value {{ value }} is not a valid {{ type }}.")
     */
    private $accepted;

    /**
     * @var boolean
     * @Assert\Type(type="boolean", message="the value {{ value }} is not a valid {{ type }}.")
     */
    private $seen;

    public function __construct(){
        $this->seen = false;
        $this->accepted = false;
    }

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

    /**
     * Set user
     *
     * @param \Freedom\UserBundle\Entity\User $user
     * @return Userbelonggroup
     */
    public function setUser(\Freedom\UserBundle\Entity\User $user = null)
    {
        $this->user = $user;

        return $this;
    }

    /**
     * Get user
     *
     * @return \Freedom\UserBundle\Entity\User
     */
    public function getUser()
    {
        return $this->user;
    }

    /**
     * Set group
     *
     * @param \Freedom\GroupBundle\Entity\Groups $group
     * @return Userbelonggroup
     */
    public function setGroup(\Freedom\GroupBundle\Entity\Groups $group = null)
    {
        $this->group = $group;

        return $this;
    }

    /**
     * Get group
     *
     * @return \Freedom\GroupBundle\Entity\Groups
     */
    public function getGroup()
    {
        return $this->group;
    }

    /**
     * Set role
     *
     * @param integer $role
     * @return Userbelonggroup
     */
    public function setRole($role)
    {
        $this->role = $role;

        return $this;
    }

    /**
     * Get role
     *
     * @return integer
     */
    public function getRole()
    {
        return $this->role;
    }

    /**
     * Set accepted
     *
     * @param boolean $accepted
     * @return Userbelonggroup
     */
    public function setAccepted($accepted)
    {
        $this->accepted = $accepted;

        return $this;
    }

    /**
     * Get accepted
     *
     * @return boolean
     */
    public function getAccepted()
    {
        return $this->accepted;
    }

    /**
     * Set seen
     *
     * @param boolean $seen
     * @return Userbelonggroup
     */
    public function setSeen($seen)
    {
        $this->seen = $seen;

        return $this;
    }

    /**
     * Get seen
     *
     * @return boolean
     */
    public function getSeen()
    {
        return $this->seen;
    }
}


text:
import * as React from 'react';
import { CardElement } from '@stripe/react-stripe-js';
import { BootstrapFormInput } from '@neinteractiveliterature/litform';

export type PaymentDetails = {
  name: string;
};

export type OrderPaymentFormProps = {
  paymentDetails: PaymentDetails;
  onChange: React.Dispatch<PaymentDetails>;
  disabled: boolean;
};

function OrderPaymentForm({ disabled, onChange, paymentDetails }: OrderPaymentFormProps): JSX.Element {
  return (
    <div>
      <BootstrapFormInput
        name="name"
        label="Name"
        value={paymentDetails.name}
        disabled={disabled}
        onTextChange={(name) => onChange({ ...paymentDetails, name })}
      />

      <CardElement
        className="form-control mb-4"
        options={{
          disabled,
          style: {
            base: {
              lineHeight: '1.5',
              fontSize: '16px',
            },
          },
        }}
      />
    </div>
  );
}

export default OrderPaymentForm;

redpajama_set_name: RedPajamaGithub


text:
"use strict";
//
// MutexPromise
// (C) Brian M Hunt 2016 (MIT)
//
// ES6 Promises, with events and uncaught rejection handling, and mutual-
// exclusion groups.
//
// The following is written in ES6, but my be transpiled back with e.g. Babel.
//
//
// Events, as follows, are thrown for all promises:
//  - new       - a new promise was created
//  - reject    - a promise was rejected
//  - resolve   - a promise was resolved
//  - uncaught  - a rejection not caught
//  - trespass  - a promise was resolved/rejected outside its mutex
//
// References are to the spec, at https://promisesaplus.com/
//

/* eslint no-console: 0, semi: 0, wrap-iife: 0, indent: 0, lodash/prefer-noop: 0 */

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var PENDING = 0,
    RESOLVED = 1,
    REJECTED = -1;
var UNCAUGHT_TIMEOUT = 25;

// 'tick' will be a function that takes a callback, and runs it asynchronously.
var tick = (typeof process === 'undefined' ? 'undefined' : _typeof(process)) === 'object' && process.nextTick ? process.nextTick : global.setImmediate ? global.setImmediate.bind(global) : function tickFn(callback) {
  setTimeout(callback, 0);
};

//
// A Promisee is the recipient of a promise, via the 'then' method.
//

var Promisee = function () {
  function Promisee(thenPromise, onResolvePromise1, onRejectPromise1) {
    _classCallCheck(this, Promisee);

    this.thenPromise = thenPromise;
    this.onResolvePromise1 = onResolvePromise1;
    this.onRejectPromise1 = onRejectPromise1;
    this.concluded = false;
  }

  _createClass(Promisee, [{
    key: 'conclude',
    value: function conclude(method, valueOrReason) {
      var onFn, noFn;
      if (this.concluded) {
        return;
      }
      if (method === RESOLVED) {
        onFn = this.onResolvePromise1;
        noFn = '_resolverFn';
      } else {
        onFn = this.onRejectPromise1;
        noFn = '_rejectFn';
      }

      if (typeof onFn === 'function') {
        try {
          this.thenPromise._resolverFn(onFn.call(undefined, valueOrReason));
        } catch (e) {
          // 2.2.7.2 If either onFulfilled or onRejected throws an exception e,
          //  thenPromise must be rejected with e as the reason
          this.thenPromise._rejectFn(e);
        }
      } else {
        // .then was passed a non-function
        this.thenPromise[noFn](valueOrReason);
      }
      this.concluded = true;
    }
  }]);

  return Promisee;
}();

var MutexPromise = function () {
  function MutexPromise(fn) {
    _classCallCheck(this, MutexPromise);

    this.state = PENDING;

    // The value this ultimately lands on.
    this.resolution = undefined;

    // Promises "above" us; if we catch, so do they.
    this.weCatchFor = [];

    // Things relying on this promise
    this.promisees = [];

    // Add a stack to make debugging the promise easier (undefined on old
    // browsers)
    this.creationStack = new Error().stack;

    this.mutexTo = MutexPromise.mutexId;

    this.emit('new');
    fn(this._resolverFn.bind(this), this._rejectFn.bind(this));
  }

  // 2.2 The `then` Method

  _createClass(MutexPromise, [{
    key: 'then',
    value: function then(onFul, onRej) {
      var promise2;
      // 2.2.2.1/.3.1 it must be called after promise is fulfilled/rejected,
      // with promise's value/reason as its first argument

      if (this.state === PENDING) {
        promise2 = this._thenPending(onFul, onRej);
      } else {
        promise2 = this._thenImmediate(onFul, onRej);
      }

      // Note who we'd catch for (i.e. "parents")
      promise2.weCatchFor.push(this);
      promise2.chainsFrom(this);

      // We're catching, meaning we catch anything above us.
      if (typeof onRej === 'function') {
        promise2._setCaught();
      }

      // 2.2.7 then must return a promise
      // promise2 = promise1.then(onFulfilled, onRejected);
      return promise2;
    }
  }, {
    key: 'catch',
    value: function _catch(onRej) {
      return this.then(null, onRej);
    }
  }, {
    key: 'finally',
    value: function _finally(cb) {
      return this.then(function (value) {
        return MutexPromise.resolve(cb()).then(function () {
          return value;
        });
      }, function (reason) {
        return MutexPromise.resolve(cb()).then(function () {
          throw reason;
        });
      });
    }

    // Event methods

  }, {
    key: 'emit',
    value: function emit(eventName, data) {
      var _this = this;

      var handlers = MutexPromise.eventHandlers[eventName] || [];
      // FIXME: `tick` each function call
      handlers.forEach(function (fn) {
        return fn.call(_this, data);
      });
    }
  }, {
    key: 'chainsFrom',
    value: function chainsFrom(previousPromise) {
      if (this.mutexTo !== MutexPromise.mutexId) {
        this.emit("trespass", {
          promiseMutexStack: this.creationStack,
          promiseMutexTo: this.mutexTo,
          mutexId: MutexPromise.mutexId,
          during: "construction"
        });
      } else if (this.mutexTo !== previousPromise.mutexTo) {
        this.emit("trespass", {
          promiseMutexStack: previousPromise.creationStack,
          promiseMutexTo: this.mutexTo,
          mutexId: previousPromise.mutexTo,
          during: "chain"
        });
        // Assign the previousPromise identifier so we can trace back to the
        // originating mutex from leafs.
        this.mutexTo = previousPromise.mutexId;
      }
    }

    // The "private" methods are below.
    // ---

    // then- functions
    // ---
    //
    // When this promise resolves, we resolve the pending 'then'
    // promises that have been created through this function.
    //
    // e.g. new Promise(asyncFn).then(af, ar).then(bf, br)
    //

  }, {
    key: '_thenPending',
    value: function _thenPending(onResolvePromise1, onRejectPromise1) {
      var promise2 = new MutexPromise(function () {});
      // When promise1 is resolved/rejected, its value is passed to
      // promee, which in turn runs resolve/reject-Promise1,
      // then passes the result to reject/resolve-Promise2,
      // which will be passed to any promisees of this `then`.
      var promee = new Promisee(promise2, onResolvePromise1, onRejectPromise1);
      this.promisees.push(promee);
      return promise2;
    }

    //

  }, {
    key: '_thenImmediate',
    value: function _thenImmediate(onResolvePromise1, onRejectPromise1) {
      var promise1 = this;
      var promise2 = new MutexPromise(function () {});

      function setResultForPromise2() {
        // Re-run our mutex checks in this event loop.
        if (promise2.mutexTo !== MutexPromise.mutexId) {
          promise2.emit("trespass", {
            promiseMutexStack: promise1.creationStack,
            promiseMutexTo: promise2.mutexTo,
            mutexId: MutexPromise.mutexId,
            during: "immediate-resolution"
          });
        }
        var thenFn = promise1.state === RESOLVED ? onResolvePromise1 : onRejectPromise1;

        if (typeof thenFn === 'function') {
          // 2.2.7.1 If either onFulfilled or onRejected returns a value x, run
          //  the Promise Resolution Procedure [[Resolve]](promise2, x).
          try {
            var thenFnResult = thenFn(promise1.resolution);
            promise2._resolutionProcedureFn(thenFnResult, promise1.state);
          } catch (e) {
            promise2._rejectFn(e);
          }
        } else {
          // 2.2.7.3/.4 If onFulfilled is not a function and promise1
          //  is fulfilled, promise2 must be fulfilled with the same
          //  value as promise1.
          promise2.state = promise1.state;
          promise2.resolution = promise1.resolution;
          promise2._notifyPromisees();
          promise1.emit(promise1.state === RESOLVED ? 'resolve' : 'reject', promise1.resolution);
        }
      }

      tick(setResultForPromise2);
      return promise2;
    }

    // Notify the .then's (promisees)

  }, {
    key: '_notifyPromisees',
    value: function _notifyPromisees() {
      var _this2 = this;

      this.promisees.forEach(function (promee) {
        return promee.conclude(_this2.state, _this2.resolution);
      });
    }

    // Catching

  }, {
    key: '_setCaught',
    value: function _setCaught() {
      if (this.state !== PENDING) {
        return;
      }
      this._isCaught = true;
      this.weCatchFor.forEach(function (p) {
        return p._setCaught();
      });
    }

    // resolve/reject functions
    //

  }, {
    key: '_resolveThenable',
    value: function _resolveThenable(thenable, then) {
      var promise1 = this;
      var called = false;

      // 2.3.3.3.1 If/when resolvePromise is called with a value y,
      //  run [[Resolve]](promise, y).
      function onResolve(value) {
        if (called) {
          return;
        }
        called = true;
        return promise1._resolverFn(value);
      }

      // 2.3.3.3.2 If/when rejectPromise is called with a reason r,
      //  reject promise with r.
      function onReject(reason) {
        if (called) {
          return;
        }
        called = true;
        promise1._rejectFn(reason);
      }

      try {
        then.call(thenable, onResolve, onReject);
      } catch (e) {
        // 2.3.3.2 If retrieving the property x.then results in a thrown
        //  exception e, reject promise with e as the reason
        // - and -
        // 2.3.3.3.4 If calling then throws an exception e ...
        // 2.3.3.4.1 If resolvePromise or rejectPromise have been called,
        //   ignore it.
        if (!called) {
          //    "   .4.2 Otherwise, reject promise with e as the reason.
          this._rejectFn(e);
        }
      }
    }

    // 2.3 The Promise Resolution Procedure

  }, {
    key: '_resolutionProcedureFn',
    value: function _resolutionProcedureFn(valueOrReasonOrThenable, immediateState) {
      // Resolution should occur only in the same mutex.
      if (this.mutexTo !== MutexPromise.mutexId) {
        this.emit("trespass", {
          promiseMutexStack: this.creationStack,
          promiseMutexTo: this.mutexTo,
          mutexId: MutexPromise.mutexId,
          during: "deferred-resolution"
        });
      }

      // 1.2 "thenable" is an object or function that defines a then method.
      try {
        var then = ((typeof valueOrReasonOrThenable === 'undefined' ? 'undefined' : _typeof(valueOrReasonOrThenable)) === 'object' || typeof valueOrReasonOrThenable === 'function') && valueOrReasonOrThenable !== null && valueOrReasonOrThenable.then;
      } catch (e) {
        this.resolutionStack = new Error().stack;
        this.state = REJECTED;
        this.resolution = e;
        this._notifyPromisees();
        this.emit('reject', valueOrReasonOrThenable);
        return;
      }

      if (typeof then === 'function' && immediateState !== REJECTED) {
        // resolveThenable may recurse down a chain of promises, and
        // at the end call our _resolverFn or _rejectFn.

        // 2.2.7.2: If either onFulfilled or onRejected throws an exception e,
        //    promise2 must be rejected with e as the reason.
        //    (hence immediateState !== REJECTED)
        this._resolveThenable(valueOrReasonOrThenable, then);
      } else {
        this.resolutionStack = new Error().stack;
        this.state = immediateState;
        this.resolution = valueOrReasonOrThenable;
        this._notifyPromisees();
        this.emit(immediateState === RESOLVED ? 'resolve' : 'reject', valueOrReasonOrThenable);
      }
    }
  }, {
    key: '_concludeFn',
    value: function _concludeFn(valueOrReasonOrThenable, immediateState) {
      var _this3 = this;

      if (this.state !== PENDING) {
        return;
      }
      if (valueOrReasonOrThenable === this) {
        throw new TypeError("Cannot resolve promise with itself.");
      }
      tick(function () {
        return _this3._resolutionProcedureFn(valueOrReasonOrThenable, immediateState);
      });
    }
  }, {
    key: '_resolverFn',
    value: function _resolverFn(valueOrThenable) {
      this._concludeFn(valueOrThenable, RESOLVED);
    }
  }, {
    key: '_rejectFn',
    value: function _rejectFn(reasonOrThenable) {
      this._concludeFn(reasonOrThenable, REJECTED);

      // Capture Uncaught rejections and emit them.
      setTimeout(function () {
        if (!this._isCaught) {
          this.emit('uncaught', this, reasonOrThenable);
        }
      }.bind(this), UNCAUGHT_TIMEOUT);
    }
  }]);

  return MutexPromise;
}();

//
// Global methods on MutexPromise
//
// MutexPromise.race = function race(iter) {
// FIXME
// var rp = new MutexPromise(function (res, rej) {
//   var weCatchFor = this.weCatchFor
//   iter.forEach(function (p) {
//     p.then(res, rej)
//     weCatchFor.push(p)
//   })
// })
// rp.chainsFrom()
// return rp
// }

//
//

MutexPromise.all = function all(iter) {
  var arr = [];
  var promises = [];
  var seen = 0;

  var all = new MutexPromise(function (res, rej) {
    Array.from(iter).forEach(function (valueOrPromise) {
      var p;
      if (valueOrPromise instanceof MutexPromise) {
        p = valueOrPromise;
        promises.push(p);
      } else {
        p = MutexPromise.resolve(valueOrPromise);
      }
      var idx = arr.length;
      arr.push(undefined); // Placeholder.
      MutexPromise.resolve(p).then(function (value) {
        arr[idx] = value;
        if (++seen === arr.length) {
          res(arr);
        }
      }, rej);
    });
    if (arr.length === 0) {
      res([]);
    }
  });

  promises.forEach(function (p) {
    all.weCatchFor.push(p);
    all.chainsFrom(p);
  });

  return all;
};

MutexPromise.resolve = function (valueOrThenableOrPromise) {
  var rp = new MutexPromise(function (res) {
    return res(valueOrThenableOrPromise);
  });
  if (valueOrThenableOrPromise instanceof MutexPromise) {
    rp.weCatchFor.push(valueOrThenableOrPromise);
    rp.chainsFrom(valueOrThenableOrPromise);
  }
  return rp;
};

MutexPromise.reject = function (reason) {
  return new MutexPromise(function (_, rej) {
    return rej(reason);
  });
};

// -- Event Handling --
MutexPromise.eventHandlers = {};
MutexPromise.on = function on(eventName, handler) {
  var eh = MutexPromise.eventHandlers;
  eh[eventName] = eh[eventName] || [];
  eh[eventName].push(handler);
};

MutexPromise.off = function off(eventName, handler) {
  var array = MutexPromise.eventHandlers[eventName] || [];
  for (var i = array.length - 1; i >= 0; --i) {
    if (array[i] === handler) {
      array.splice(i, 1);
    }
  }
};

// -- Exclusion groups --
MutexPromise.setMutex = function (identifier) {
  // Promises will now reject when
  MutexPromise.mutexId = identifier;
};

module.exports = MutexPromise;


text:
package seborama.demo1.kafka;

import java.util.*;

public class ConsoleArguments {
    public static final String SLEEP_DURATION = "SleepDuration";
    public static final String NUMBER_OF_MESSAGES = "NumberOfMessages";
    static final String ARG_NUMBERMESSAGES = "-numbermessages";
    static final String ARG_SLEEPDURATION = "-sleepduration";
    private Map<String, Object> argumentsMap;

    public ConsoleArguments(String[] args) {
        argumentsMap = parse(args);
    }

    private Map<String, Object> parse(String[] args) {
        Map<String, Object> argumentsMap = new HashMap<>();
        Iterator<String> itr = Arrays.asList(args).iterator();

        while (itr.hasNext()) {
            String s = itr.next().toLowerCase();
            switch (s) {
                case ARG_SLEEPDURATION:
                    if (itr.hasNext()) {
                        String next = itr.next();
                        argumentsMap.put(SLEEP_DURATION, Integer.valueOf(next));
                    }
                    break;

                case ARG_NUMBERMESSAGES:
                    if (itr.hasNext()) {
                        String next = itr.next();
                        argumentsMap.put(NUMBER_OF_MESSAGES, Integer.valueOf(next));
                    }
                    break;
            }
        }

        return argumentsMap;
    }

    public Optional<Object> get(String name) {
        return Optional.ofNullable(argumentsMap.get(name));
    }

    public int size() {
        return argumentsMap.size();
    }

    public Optional<Integer> getAsInteger(String name) {
        return Optional.ofNullable((Integer) argumentsMap.get(name));
    }
}


text:
HUDSON_ROOT = "http://hudson.zones.apache.org/hudson/job/Cassandra/"

JSON_API = HUDSON_ROOT + "lastSuccessfulBuild/api/json"
ARTIFACT_ROOT = HUDSON_ROOT + "lastSuccessfulBuild/artifact"

import cassconf
import paramiko
from mako.template import Template
from libcloud.types import Provider
from libcloud.providers import get_driver
from libcloud.deployment import SSHKeyDeployment

import os
from os.path import join as pjoin
import urllib2
import tempfile
import shutil
try:
  import simplejson as json
except ImportError:
  import json

from threading import Thread

ROOT_DIR = os.path.split(os.path.abspath(__file__))[0]

def log(str):
  print str

def get_hudson_data():
  data = urllib2.urlopen(JSON_API).read()
  hud = json.loads(data)
  return hud

# only tested on rackspace, should be trivial to port!
def get_libcloud_driver():
  return get_driver(Provider.RACKSPACE)(cassconf.USERNAME, cassconf.SECRET)

def artifact_buildnumber(hud):
  return hud["number"]

def artifact_url(hud):
  artifacts = [x["relativePath"] for x in hud["artifacts"]]
  tarurl = ARTIFACT_ROOT +"/"+ filter(lambda x: x.find("-bin") != -1, artifacts)[0]
  return tarurl

def get_artifact(tempdir, url):
  tarball = url[url.rfind("/")+1:]
  localpath = pjoin(tempdir, tarball)
  log("Downloading build from %s to %s" % (url, localpath))
  fp = open(localpath, 'w')
  fp.write(urllib2.urlopen(url).read())
  fp.close()
  return localpath

def boot_master(driver, pubkey):
  loc = driver.list_locations()[0]
  size = filter(lambda x: x.ram == 512, driver.list_sizes(loc))[0]
  image = filter(lambda x: x.name.find("karmic") != -1, driver.list_images(loc))[0]
  log("booting master machine with %s on %s size node" % ( image.name, size.name))
  d = SSHKeyDeployment(pubkey)
  node = driver.deploy_node(name="cbench-master.querna.org",
                            location=loc, image=image, size=size, deploy=d)
  return node

def boot_servers(driver, count, pubkey):
  loc = driver.list_locations()[0]
  size = filter(lambda x: x.ram == 256, driver.list_sizes(loc))[0]
  image = filter(lambda x: x.name.find("karmic") != -1, driver.list_images(loc))[0]
  nodes = []
  for i in range(count):
    log("booting machine %d with %s on %s size node" % (i, image.name, size.name))
    d = SSHKeyDeployment(pubkey)
    node = driver.deploy_node(name="cbench%d.querna.org" % (i),
                              location=loc, image=image, size=size, deploy=d)
    nodes.append(node)
  return nodes

def exec_wait(client, cmd):
  log("[%s] Running `%s`" % (client.get_transport().getpeername()[0], cmd))
  stdin, stdout, stderr  = client.exec_command(cmd)
  stdin.close()
  return stdout.read(), stderr.read()

def storage_conf(server, peers):
  d = { "replication_factor": min(3, len(peers)+1),
        "peers": [s.private_ip[0] for s in peers],
        "interface": server.private_ip[0],
        }
  t = Template(filename=pjoin(ROOT_DIR, 'storage-conf.xml.mako'))
  return t.render(**d)

def master_script(servers):
  d = {"peers": ",".join([s.private_ip[0] for s in servers])}
  t = Template(filename=pjoin(ROOT_DIR, 'runtests.sh.mako'))
  return t.render(**d)

def push_master_files(key, master, servers):
  conninfo = {'hostname': master.public_ip[0],
              'port': 22,
              'username': 'root',
              'pkey': key,
              'allow_agent': False,
              'look_for_keys': False}
  client = paramiko.SSHClient()
  client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  client.connect(**conninfo)
  try:
    sftp = client.open_sftp()
    exec_wait(client, "apt-get install -y python-virtualenv")
    sftp.put(pjoin(ROOT_DIR, "py_and_thrift-ubuntu-bin.tar.bz2"), "py_and_thrift-ubuntu-bin.tar.bz2")
    exec_wait(client, "tar -xvjf py_and_thrift-ubuntu-bin.tar.bz2 -C /")
    sftp.put(pjoin(ROOT_DIR, "stress.py"), "stress.py")
    conf = master_script(servers)
    fp = sftp.open("/root/runtest.sh", 'w')
    fp.write(conf)
    fp.chmod(755)
    fp.close()
    log("Starting tests...")
    exec_wait(client, "/root/runtest.sh")
    sftp.get("/root/insert.txt", "insert.txt")
    sftp.get("/root/read.txt", "read.txt")
  finally:
    client.close()

class pusher_thread(Thread):
  def __init__(self, key, s, local, servers):
    Thread.__init__(self)
    self.key = key
    self.s = s
    self.servers = servers
    self.local = local

  def run(self):
    tarball = self.local[self.local.rfind("/")+1:]
    conninfo = {'hostname': self.s.public_ip[0],
                'port': 22,
                'username': 'root',
                'pkey': self.key,
                'allow_agent': False,
                'look_for_keys': False}
    client = paramiko.SSHClient()
    client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
    client.connect(**conninfo)
    try:
      sftp = client.open_sftp()
      sftp.put(self.local, tarball)
      exec_wait(client, "tar -xvzf %s" % (tarball))
      dname = tarball[:tarball.rfind("-")]
      sftp.symlink(dname, "cassandra")
      sftp.put(pjoin(ROOT_DIR, "ivy-shit.tar.bz2"), "ivy-shit.tar.bz2")
      exec_wait(client, "tar -xvjf ivy-shit.tar.bz2")
      conf = storage_conf(self.s, [x for x in self.servers if x != self.s])
      fp = sftp.open("cassandra/conf/storage-conf.xml", 'w')
      fp.write(conf)
      fp.close()
      # we do need... java for this :)
      exec_wait(client, "apt-get install -y openjdk-6-jdk")
      exec_wait(client, "cd cassandra; bin/cassandra")
    finally:
      client.close()

def push_cassandra_files(key, local, servers):
  t = []
  for s in servers:
    t.append(pusher_thread(key, s, local, servers))
    t[-1].start()
  for thread in t:
    thread.join()

def main():
  tempdir = tempfile.mkdtemp(prefix="cassandra-bench")
  try:
    hud = get_hudson_data()
    url = artifact_url(hud)
    buildnum = artifact_buildnumber(hud)
    data = urllib2.urlopen(JSON_API).read()
    local = get_artifact(tempdir, url)
    key = paramiko.RSAKey.generate(2048)
    key.write_private_key_file(pjoin(tempdir, "id_rsa"))
    pubkey = "ssh-rsa %s cassandrabench@paul.querna.org" % (key.get_base64())
    driver = get_libcloud_driver()
    servers = boot_servers(driver, cassconf.CLUSTER_SIZE, pubkey)
    push_cassandra_files(key, local, servers)
    master = boot_master(driver, pubkey)
    push_master_files(key, master, servers)
    print servers
    print master
  finally:
    print "Cleaning up "+ tempdir
    shutil.rmtree(tempdir)
    log("Cleaning up any booted servers....")
    driver = get_libcloud_driver()
    [n.destroy() for n in driver.list_nodes() if n.name.find('cbench') != -1]

if __name__ == "__main__":
  main()


text:
<?xml version="1.0" encoding="utf-8" ?>
<results>
<result>
<athlete_id>83645</athlete_id>
<gender>M</gender>
<personalBest>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.5</event>
<result>53.52</result>
<wind></wind>
<rank>1</rank>
<round>-17</round>
<roundstage>Final</roundstage>
<agegroup>Under 18</agegroup>
<competition_ID>9427956</competition_ID>
<compName></compName>
<date>2006-09-16</date>
<venue>Bonn</venue>
<venueCountry>GER</venueCountry>
</personalBest>
<personalBest>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>56.87</result>
<wind></wind>
<rank>1</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>12493466</competition_ID>
<compName></compName>
<date>2008-05-18</date>
<venue>Mönchengladbach</venue>
<venueCountry>GER</venueCountry>
</personalBest>
<personalBest>
<IndoorOutdoor>Indoor</IndoorOutdoor>
<event>DT</event>
<result>54.20</result>
<wind></wind>
<rank>5</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12856905</competition_ID>
<compName>ISTAF Indoor, Berlin O2 World</compName>
<date>2015-02-14</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</personalBest>
<personalBest>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>67.16</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12873379</competition_ID>
<compName>WLV Werfercup, Helmut-Schön-Sportpark</compName>
<date>2016-05-15</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</personalBest>
<seasonalBest>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>67.16</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12873379</competition_ID>
<compName>WLV Werfercup, Helmut-Schön-Sportpark</compName>
<date>2016-05-15</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</seasonalBest>
<athleteresulthistory>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.5</event>
<result>50.54</result>
<wind></wind>
<rank>7</rank>
<round>-17</round>
<roundstage>Final</roundstage>
<agegroup>Under 18</agegroup>
<competition_ID>9218008</competition_ID>
<compName></compName>
<date>2006-07-22</date>
<venue>Wattenscheid</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.5</event>
<result>53.52</result>
<wind></wind>
<rank>1</rank>
<round>-17</round>
<roundstage>Final</roundstage>
<agegroup>Under 18</agegroup>
<competition_ID>9427956</competition_ID>
<compName></compName>
<date>2006-09-16</date>
<venue>Bonn</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>52.32</result>
<wind></wind>
<rank>3</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>10602076</competition_ID>
<compName></compName>
<date>2007-08-04</date>
<venue>Ulm</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>53.39</result>
<wind></wind>
<rank>1</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>11315838</competition_ID>
<compName></compName>
<date>2008-01-12</date>
<venue>Kamen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>53.36</result>
<wind></wind>
<rank>5</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>11399694</competition_ID>
<compName></compName>
<date>2008-02-17</date>
<venue>Düsseldorf</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>54.84</result>
<wind></wind>
<rank>1</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>11669980</competition_ID>
<compName></compName>
<date>2008-05-10</date>
<venue>Gladbeck</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>56.87</result>
<wind></wind>
<rank>1</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>12493466</competition_ID>
<compName></compName>
<date>2008-05-18</date>
<venue>Mönchengladbach</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>56.45</result>
<wind></wind>
<rank>4</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>11701526</competition_ID>
<compName></compName>
<date>2008-05-24</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result></result>
<wind></wind>
<rank></rank>
<round>cA-22</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>11701526</competition_ID>
<compName></compName>
<date>2008-05-25</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>48.38</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>11743116</competition_ID>
<compName></compName>
<date>2008-05-31</date>
<venue>Duisburg</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>53.92</result>
<wind></wind>
<rank>3</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>11774481</competition_ID>
<compName></compName>
<date>2008-06-07</date>
<venue>Potsdam</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>54.53</result>
<wind></wind>
<rank>3</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>11837987</competition_ID>
<compName></compName>
<date>2008-06-21</date>
<venue>Mannheim</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>50.36</result>
<wind></wind>
<rank>24</rank>
<round>q-19</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>11909738</competition_ID>
<compName></compName>
<date>2008-07-08</date>
<venue>Bydgoszcz</venue>
<venueCountry>POL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT1.75</event>
<result>55.26</result>
<wind></wind>
<rank>3</rank>
<round>-19</round>
<roundstage>Final</roundstage>
<agegroup>Under 20</agegroup>
<competition_ID>11979124</competition_ID>
<compName></compName>
<date>2008-07-19</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>49.15</result>
<wind></wind>
<rank>8</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12002273</competition_ID>
<compName></compName>
<date>2008-07-26</date>
<venue>Recklinghausen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>52.53</result>
<wind></wind>
<rank>3</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12786690</competition_ID>
<compName></compName>
<date>2009-05-16</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>52.03</result>
<wind></wind>
<rank>7</rank>
<round>cA-22</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12786875</competition_ID>
<compName></compName>
<date>2009-05-24</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>55.01</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12787454</competition_ID>
<compName></compName>
<date>2009-06-06</date>
<venue>Dortmund</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>52.81</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12787722</competition_ID>
<compName></compName>
<date>2009-06-11</date>
<venue>Duisburg</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>54.88</result>
<wind></wind>
<rank>2</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12787892</competition_ID>
<compName></compName>
<date>2009-06-17</date>
<venue>Schönebeck</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>54.58</result>
<wind></wind>
<rank>3</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12788260</competition_ID>
<compName></compName>
<date>2009-06-28</date>
<venue>Göttingen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>54.14</result>
<wind></wind>
<rank>9</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12788378</competition_ID>
<compName></compName>
<date>2009-07-05</date>
<venue>Ulm</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>51.83</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12789094</competition_ID>
<compName></compName>
<date>2009-08-09</date>
<venue>Schifflange</venue>
<venueCountry>LUX</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>51.11</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12789167</competition_ID>
<compName></compName>
<date>2009-08-26</date>
<venue>Sondershausen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>53.35</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12793076</competition_ID>
<compName></compName>
<date>2010-01-24</date>
<venue>Kamen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>55.54</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12793941</competition_ID>
<compName></compName>
<date>2010-02-22</date>
<venue>Kienbaum</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>54.77</result>
<wind></wind>
<rank>7</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12796547</competition_ID>
<compName></compName>
<date>2010-05-08</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>56.70</result>
<wind></wind>
<rank>3</rank>
<round>cB</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12796774</competition_ID>
<compName></compName>
<date>2010-05-15</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>55.38</result>
<wind></wind>
<rank>7</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12796774</competition_ID>
<compName></compName>
<date>2010-05-16</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>57.43</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12798099</competition_ID>
<compName></compName>
<date>2010-06-06</date>
<venue>Duisburg</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>58.22</result>
<wind></wind>
<rank>3</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12798228</competition_ID>
<compName></compName>
<date>2010-06-12</date>
<venue>Bydgoszcz</venue>
<venueCountry>POL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>55.98</result>
<wind></wind>
<rank>7</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12798965</competition_ID>
<compName></compName>
<date>2010-06-26</date>
<venue>Wattenscheid</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>56.66</result>
<wind></wind>
<rank>6</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12799890</competition_ID>
<compName></compName>
<date>2010-07-18</date>
<venue>Braunschweig</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>54.12</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12800298</competition_ID>
<compName></compName>
<date>2010-08-04</date>
<venue>Sondershausen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>59.02</result>
<wind></wind>
<rank>2</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12800380</competition_ID>
<compName></compName>
<date>2010-08-15</date>
<venue>Regensburg</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.04</result>
<wind></wind>
<rank>1</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12806943</competition_ID>
<compName></compName>
<date>2011-02-21</date>
<venue>Kienbaum</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>57.10</result>
<wind></wind>
<rank>5</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12807768</competition_ID>
<compName></compName>
<date>2011-03-19</date>
<venue>Sofia</venue>
<venueCountry>BUL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>58.02</result>
<wind></wind>
<rank>8</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12809721</competition_ID>
<compName>WLV Werfer-Cup, Helmut-Schön-Sportpark</compName>
<date>2011-05-14</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.15</result>
<wind></wind>
<rank>2</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12810177</competition_ID>
<compName></compName>
<date>2011-05-22</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>58.18</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12810724</competition_ID>
<compName></compName>
<date>2011-05-28</date>
<venue>Darmstadt</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.28</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12811876</competition_ID>
<compName></compName>
<date>2011-06-15</date>
<venue>Osterode</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.14</result>
<wind></wind>
<rank>2</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12812337</competition_ID>
<compName>68th Deutsche Juniorenmeisterschaften</compName>
<date>2011-06-26</date>
<venue>Bremen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>59.84</result>
<wind></wind>
<rank>2</rank>
<round>q-22</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12813128</competition_ID>
<compName></compName>
<date>2011-07-16</date>
<venue>Ostrava</venue>
<venueCountry>CZE</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>57.71</result>
<wind></wind>
<rank>6</rank>
<round>-22</round>
<roundstage>Final</roundstage>
<agegroup>Under 23</agegroup>
<competition_ID>12813128</competition_ID>
<compName></compName>
<date>2011-07-17</date>
<venue>Ostrava</venue>
<venueCountry>CZE</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>58.42</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12813435</competition_ID>
<compName></compName>
<date>2011-07-24</date>
<venue>Kassel</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>57.11</result>
<wind></wind>
<rank>11</rank>
<round>q</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12813929</competition_ID>
<compName></compName>
<date>2011-08-19</date>
<venue>Shenzhen</venue>
<venueCountry>CHN</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>57.96</result>
<wind></wind>
<rank>9</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12813929</competition_ID>
<compName></compName>
<date>2011-08-21</date>
<venue>Shenzhen</venue>
<venueCountry>CHN</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>56.70</result>
<wind></wind>
<rank>9</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12814886</competition_ID>
<compName>ERGO Maailmamängud, Kadrioru staadion</compName>
<date>2011-09-15</date>
<venue>Tallinn</venue>
<venueCountry>EST</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.13</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12820074</competition_ID>
<compName></compName>
<date>2012-02-04</date>
<venue>Kienbaum</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.77</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12821342</competition_ID>
<compName></compName>
<date>2012-03-17</date>
<venue>Bar</venue>
<venueCountry>MNE</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.97</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12822749</competition_ID>
<compName>WLV Werfer-Cup, Helmut-Schön-Sportpark</compName>
<date>2012-05-12</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.07</result>
<wind></wind>
<rank>10</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12822942</competition_ID>
<compName></compName>
<date>2012-05-19</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.37</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12823592</competition_ID>
<compName>4th Internationale Volksbankmeeting</compName>
<date>2012-06-05</date>
<venue>Osterode</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.54</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12823675</competition_ID>
<compName>World-Class-Meeting</compName>
<date>2012-06-10</date>
<venue>St. Wendel</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.97</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12823844</competition_ID>
<compName></compName>
<date>2012-06-17</date>
<venue>Wattenscheid</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.72</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12824476</competition_ID>
<compName></compName>
<date>2012-07-07</date>
<venue>Heusden</venue>
<venueCountry>BEL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.84</result>
<wind></wind>
<rank>7</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12824835</competition_ID>
<compName></compName>
<date>2012-07-21</date>
<venue>Szczecin</venue>
<venueCountry>POL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.64</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12824915</competition_ID>
<compName></compName>
<date>2012-07-26</date>
<venue>Schönebeck</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.13</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12825291</competition_ID>
<compName></compName>
<date>2012-08-15</date>
<venue>Sondershausen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.72</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12839320</competition_ID>
<compName></compName>
<date>2013-02-18</date>
<venue>Kienbaum</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.69</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12839823</competition_ID>
<compName></compName>
<date>2013-03-16</date>
<venue>Castellón</venue>
<venueCountry>ESP</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.26</result>
<wind></wind>
<rank>5</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12841627</competition_ID>
<compName>18th WLV Werfer-Cup, Helmut-Schön-Sportpark</compName>
<date>2013-05-19</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.98</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12841741</competition_ID>
<compName>Hallesche HALPLUS Werfertage, Sportzentrum Brandberge</compName>
<date>2013-05-25</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.15</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12841965</competition_ID>
<compName>Westdeutsche Meisterschaften</compName>
<date>2013-06-02</date>
<venue>Duisburg</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.49</result>
<wind></wind>
<rank>7</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12842129</competition_ID>
<compName>Fanny Blankers Koen Games, Fanny Blankers Koen Stadium</compName>
<date>2013-06-08</date>
<venue>Hengelo</venue>
<venueCountry>NED</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.38</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12842754</competition_ID>
<compName>5th Internationales Volksbankmeeting, Jahnstadion</compName>
<date>2013-06-12</date>
<venue>Osterode</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.84</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12843442</competition_ID>
<compName></compName>
<date>2013-07-07</date>
<venue>Ulm</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.42</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12846587</competition_ID>
<compName></compName>
<date>2013-07-13</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.46</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12843712</competition_ID>
<compName>Spitzen Leichtathletik, Stadion Allmend am 17.07.2013</compName>
<date>2013-07-17</date>
<venue>Luzern</venue>
<venueCountry>SUI</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.95</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12843830</competition_ID>
<compName>23rd Memorial Rasschaert</compName>
<date>2013-07-27</date>
<venue>Ninove</venue>
<venueCountry>BEL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.11</result>
<wind></wind>
<rank>5</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12844303</competition_ID>
<compName>4th Kamila Skolimowska Memorial</compName>
<date>2013-08-25</date>
<venue>Warszawa</venue>
<venueCountry>POL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.32</result>
<wind></wind>
<rank>6</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12844381</competition_ID>
<compName>72nd ISTAF, Olympic Stadium</compName>
<date>2013-09-01</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.03</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12844525</competition_ID>
<compName>1st Open Integrative CISM European Championships</compName>
<date>2013-09-15</date>
<venue>Warendorf</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.95</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12847559</competition_ID>
<compName>Winterwurf Diskus - Cup</compName>
<date>2014-02-01</date>
<venue>Wattenscheid</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.12</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12848546</competition_ID>
<compName></compName>
<date>2014-03-15</date>
<venue>Leiria</venue>
<venueCountry>POR</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>65.98</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12850014</competition_ID>
<compName>19th WLV Werfer-Cup, Helmut-Schön-Sportpark</compName>
<date>2014-05-10</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>65.65</result>
<wind></wind>
<rank>6</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12850237</competition_ID>
<compName>40th HALPLUS Werfertage, Sportzentrum Brandberge</compName>
<date>2014-05-17</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.42</result>
<wind></wind>
<rank>9</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12851686</competition_ID>
<compName>AA-Drink Fanny Blankers-Koen Games, IAAF World Challenge</compName>
<date>2014-06-08</date>
<venue>Hengelo</venue>
<venueCountry>NED</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.39</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12851917</competition_ID>
<compName>Anhalt, Paul-Greifzu-Stadion</compName>
<date>2014-06-11</date>
<venue>Dessau</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.14</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12852003</competition_ID>
<compName>Gouden Spike</compName>
<date>2014-06-14</date>
<venue>Leiden</venue>
<venueCountry>NED</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.24</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12852428</competition_ID>
<compName>9th Schönebecker SoleCup, Stadion Magdeburger Straße</compName>
<date>2014-06-27</date>
<venue>Schönebeck</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.69</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12852821</competition_ID>
<compName></compName>
<date>2014-07-08</date>
<venue>Székesfehérvár</venue>
<venueCountry>HUN</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.66</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12853393</competition_ID>
<compName></compName>
<date>2014-07-27</date>
<venue>Ulm</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.11</result>
<wind></wind>
<rank>5</rank>
<round>q</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12853650</competition_ID>
<compName>22nd European Athletics Championships, Letzigrund Stadium</compName>
<date>2014-08-12</date>
<venue>Zürich</venue>
<venueCountry>SUI</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.04</result>
<wind></wind>
<rank>7</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12853650</competition_ID>
<compName>22nd European Athletics Championships, Letzigrund Stadium</compName>
<date>2014-08-13</date>
<venue>Zürich</venue>
<venueCountry>SUI</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.42</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12853765</competition_ID>
<compName>5th Kamila Skolimowska Memorial, National Stadium</compName>
<date>2014-08-23</date>
<venue>Warszawa</venue>
<venueCountry>POL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.43</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12853888</competition_ID>
<compName>11th Thumer Werfertag</compName>
<date>2014-08-29</date>
<venue>Thum</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.84</result>
<wind></wind>
<rank>8</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12853856</competition_ID>
<compName>73rd ISTAF, Olympic Stadium</compName>
<date>2014-08-31</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Indoor</IndoorOutdoor>
<event>DT</event>
<result>54.20</result>
<wind></wind>
<rank>5</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12856905</competition_ID>
<compName>ISTAF Indoor, Berlin O2 World</compName>
<date>2015-02-14</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.43</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12860174</competition_ID>
<compName>WLV Werfercup, Helmut-Schön-Sportpark</compName>
<date>2015-05-10</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.69</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12860396</competition_ID>
<compName>Halplus-Werfertage, Sportzentrum Brandberge</compName>
<date>2015-05-16</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.00</result>
<wind></wind>
<rank>6</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12860704</competition_ID>
<compName></compName>
<date>2015-05-24</date>
<venue>Hengelo</venue>
<venueCountry>NED</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.93</result>
<wind></wind>
<rank>1</rank>
<round>c2</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12861036</competition_ID>
<compName>Attendorner Werfergala</compName>
<date>2015-05-31</date>
<venue>Attendorn</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.09</result>
<wind></wind>
<rank>1</rank>
<round>c1</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12861036</competition_ID>
<compName>Attendorner Werfergala</compName>
<date>2015-05-31</date>
<venue>Attendorn</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result></result>
<wind></wind>
<rank></rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12861734</competition_ID>
<compName>15th European Athletic Festival</compName>
<date>2015-06-14</date>
<venue>Bydgoszcz</venue>
<venueCountry>POL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.44</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12862621</competition_ID>
<compName>Westdeutsche Meisterschaften</compName>
<date>2015-07-12</date>
<venue>Recklinghausen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>59.99</result>
<wind></wind>
<rank>8</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12862592</competition_ID>
<compName>Spitzen Leichtathletik, Stadion Allmend</compName>
<date>2015-07-14</date>
<venue>Luzern</venue>
<venueCountry>SUI</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.77</result>
<wind></wind>
<rank>5</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12862871</competition_ID>
<compName>115th Deutsche Meisterschaften, Grundig Stadion</compName>
<date>2015-07-26</date>
<venue>Nürnberg</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.59</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12863010</competition_ID>
<compName>Diskus-Einladungswettkampf</compName>
<date>2015-07-28</date>
<venue>Leverkusen</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.88</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12863079</competition_ID>
<compName>Meeting International du C.A. Schifflange, Stade Jean Jacoby</compName>
<date>2015-08-02</date>
<venue>Schifflange</venue>
<venueCountry>LUX</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>65.93</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12863351</competition_ID>
<compName>21st International Throwing Meeting</compName>
<date>2015-08-08</date>
<venue>Leiria</venue>
<venueCountry>POR</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>65.58</result>
<wind></wind>
<rank>1</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12863416</competition_ID>
<compName>21st International Throwing Meeting</compName>
<date>2015-08-09</date>
<venue>Leiria</venue>
<venueCountry>POR</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.70</result>
<wind></wind>
<rank>15</rank>
<round>q</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12863607</competition_ID>
<compName>Tilastopajacup, Paavo Nurmi Stadium</compName>
<date>2015-08-27</date>
<venue>Beijing</venue>
<venueCountry>CHN</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.12</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12863777</competition_ID>
<compName>12th Thumer Werfertag</compName>
<date>2015-09-04</date>
<venue>Thum</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>61.31</result>
<wind></wind>
<rank>6</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12863844</competition_ID>
<compName>74th ISTAF, Olympic Stadium</compName>
<date>2015-09-06</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>67.16</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12873379</competition_ID>
<compName>WLV Werfercup, Helmut-Schön-Sportpark</compName>
<date>2016-05-15</date>
<venue>Wiesbaden</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>65.38</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12873645</competition_ID>
<compName>Hallesche Werfertage, Sportzentrum Brandberge</compName>
<date>2016-05-21</date>
<venue>Halle</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.84</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12873758</competition_ID>
<compName>AA-Drink Fanny Blankers-Koen Games, IAAF World Challenge, Fanny Blankers Koen Stadium</compName>
<date>2016-05-22</date>
<venue>Hengelo</venue>
<venueCountry>NED</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.12</result>
<wind></wind>
<rank>4</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12873934</competition_ID>
<compName>Anhalt 2016, 18th Internationales Leichtathletik Meeting, Paul-Greifzu-Stadion</compName>
<date>2016-05-27</date>
<venue>Dessau</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>65.18</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12875741</competition_ID>
<compName></compName>
<date>2016-06-19</date>
<venue>Kassel</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.89</result>
<wind></wind>
<rank>6</rank>
<round>q</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12876245</competition_ID>
<compName></compName>
<date>2016-07-07</date>
<venue>Amsterdam</venue>
<venueCountry>NED</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>63.35</result>
<wind></wind>
<rank>8</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12876245</competition_ID>
<compName></compName>
<date>2016-07-09</date>
<venue>Amsterdam</venue>
<venueCountry>NED</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>64.60</result>
<wind></wind>
<rank>2</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12877055</competition_ID>
<compName>11th Schönebecker SoleCup, Stadion Magdeburger Strasse</compName>
<date>2016-07-29</date>
<venue>Schönebeck</venue>
<venueCountry>GER</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>62.83</result>
<wind></wind>
<rank>11</rank>
<round>q</round>
<roundstage>Prelim</roundstage>
<agegroup></agegroup>
<competition_ID>12877460</competition_ID>
<compName>31st Olympic Games, Olympic Stadium</compName>
<date>2016-08-12</date>
<venue>Río de Janeiro</venue>
<venueCountry>BRA</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>67.05</result>
<wind></wind>
<rank>3</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12877460</competition_ID>
<compName></compName>
<date>2016-08-13</date>
<venue>Río de Janeiro</venue>
<venueCountry>BRA</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.79</result>
<wind></wind>
<rank>9</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12877563</competition_ID>
<compName>41st Athletissima, IAAF Diamond League</compName>
<date>2016-08-25</date>
<venue>Lausanne</venue>
<venueCountry>SUI</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>60.58</result>
<wind></wind>
<rank>5</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12877575</competition_ID>
<compName>4th Kamila Skolimowska Memorial</compName>
<date>2016-08-28</date>
<venue>Warszawa</venue>
<venueCountry>POL</venueCountry>
</record>
<record>
<IndoorOutdoor>Outdoor</IndoorOutdoor>
<event>DT</event>
<result>59.07</result>
<wind></wind>
<rank>9</rank>
<round></round>
<roundstage>Final</roundstage>
<agegroup></agegroup>
<competition_ID>12877801</competition_ID>
<compName>75th ISTAF, Olympic Stadium</compName>
<date>2016-09-03</date>
<venue>Berlin</venue>
<venueCountry>GER</venueCountry>
</record>
</athleteresulthistory>
</result>
</results>


text:
<?php

function sherpa_front_and_backend_scripts() {
	$typekit = get_option('sherpa_typekit');

	if(!empty($typekit)) {
		wp_register_script( 'typekit', '//use.typekit.net/' . $typekit . '.js', false, false, false );
		wp_enqueue_script( 'typekit' );

		wp_register_script( 'typekit_init', THEMEURL . '/js/typekit-init.js', array('typekit'), '1', false);
		wp_enqueue_script( 'typekit_init' );
	}
}

function sherpa_frontend_scripts() {
    // As of v3.0.2, making modernizr available but not automatically loaded.
	wp_register_script( 'modernizr', THEMEURL . '/js/vendor/modernizr-2.8.3-respond-1.4.2.min.js', false, '2.8.3', false );
	//wp_enqueue_script( 'modernizr' );

	//wp_deregister_script( 'jquery' );
	//wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js', false, '2.2.4', false );
	//wp_enqueue_script( 'jquery' );

	if(file_exists(__DIR__ . '/../js/min/main-min.js')) {
		wp_register_script( 'main_js', THEMEURL . '/js/min/main-min.js', array( 'jquery'), (get_option('sherpa_is_dev_mode' == 'y') ? time() : '1.0'), true );
	} else {
    	wp_register_script( 'bootstrap', THEMEURL . '/js/bootstrap.min.js', array('jquery'), '3.3.6', TRUE );
    	wp_register_script( 'plugins_js', THEMEURL . '/js/plugins.js', array('jquery', 'bootstrap'), '1.0', TRUE );
		wp_register_script( 'main_js', THEMEURL . '/js/main.js', array( 'jquery', 'plugins_js'), '1.0.0', true );
	}

	wp_enqueue_script( 'main_js' );

	sherpa_front_and_backend_scripts();
}

function sherpa_backend_scripts() {
	sherpa_front_and_backend_scripts();
}

add_action('wp_enqueue_scripts', 'sherpa_frontend_scripts');
add_action('admin_enqueue_scripts', 'sherpa_backend_scripts');


text:
require 'rubygems'
require 'test-unit'
Test::Unit::AutoRunner.run(true, './')


text:
from collections import OrderedDict

class Schema(object):

    def __init__(self):
        self.columns = OrderedDict()

    def add_column(self, column_type, column_name, *args):
        if column_name in self.columns:
            raise Exception(
                "Column names should be unique. Another column with name " + column_name + " already exists.")
        self.columns[column_name] = [column_type] + list(args)

    def add_string_column(self, column):
        self.add_column("string", column)

    def add_integer_column(self, column, *args):
        self.add_column("integer", column, *args)

    def add_long_column(self, column, *args):
        self.add_column("long", column, *args)

    def add_float_column(self, column, *args):
        self.add_column("float", column, *args)

    def add_double_column(self, column, *args):
        self.add_column("double", column, *args)

    def add_categorical_column(self, column, categories):
        self.add_column("categorical", column, *categories)

    def get_column_type(self, column):
        return self.columns[column][0]

    def serialize(self):
        config = {}
        meta = []
        col_names = []
        for k in self.columns:
            meta.append(self.columns[k])
            col_names.append(k)
        config['column_names'] = col_names
        config['meta'] = meta
        return config

    @classmethod
    def deserialize(cls, config):
        schema = cls()
        col_names = config['column_names']
        meta = config['meta']
        for c, m in zip(col_names, meta):
            schema.columns[c] = m
        return schema

    def to_java(self):
        from .java_classes import SchemaBuilder, JString, JFloat, JDouble
        builder = SchemaBuilder()
        for c in self.columns:
            meta = self.columns[c]
            col_type = meta[0]
            col_name = c
            col_args = meta[1:]
            if col_type == "string":
                builder.addColumnString(JString(col_name))
            elif col_type == "categorical":
                col_args = [JString(arg) for arg in col_args]
                builder.addColumnCategorical(JString(col_name), *col_args)
            else:
                # numerical data
                num_type = col_type[0].upper() + col_type[1:]
                f = getattr(builder, 'addColumn' + num_type)
                col_args = list(col_args)
                if num_type in ('Float', 'Double'):
                    java_type = eval('J' + num_type)
                    for i, a in enumerate(col_args):
                        if type(a) in [int, float]:
                            col_args[i] = java_type(a)
                f(col_name, *col_args)
        return builder.build()

    def copy(self):
        config = str(self.serialize())
        clone = Schema.deserialize(eval(config))
        return clone


text:
JRebirth
========

JRebirth Application Framework for JavaFX graphical toolkit

A set of Showcase Applications are provided for live documentation and used as integration test

More informations are available on our website : www.jrebirth.org

Live feed is available on our blog : blog.jrebirth.org


text:
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { Router, Route, hashHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
// app imports
import { default as MainLayout } from './layouts/main-layout';
import { HomeContainer } from './containers/home-container/index';
import { CssModulesContainer } from './containers/css-modules-container/index';
import { default as WbiAuthContainer } from './containers/wbi-auth-container/index';
import { default as DocumentContainer } from './containers/document-container/index';
import { store } from './store/index';
const history = syncHistoryWithStore(hashHistory, store) as any;

function App() {
  return (
    <Provider store={store}>
      <Router history={history}>
        <Route component={MainLayout}>
          <Route path="/" component={HomeContainer} />
          <Route path="/document" component={DocumentContainer} />
          <Route path="/login" component={WbiAuthContainer} />
          <Route path="/css-modules" component={CssModulesContainer} />
        </Route>
      </Router>
    </Provider>
  );
}

export const app = ReactDOM.render(
  <App />, document.getElementById('app-container'),
);


text:
#include "config.h"

#if ENABLE(VIDEO_TRACK)

#include "TextTrackList.h"

#include "EventNames.h"
#include "HTMLMediaElement.h"
#include "InbandTextTrack.h"
#include "InbandTextTrackPrivate.h"
#include "LoadableTextTrack.h"

using namespace WebCore;

TextTrackList::TextTrackList(HTMLMediaElement* element, ScriptExecutionContext* context)
    : TrackListBase(element, context)
{
}

TextTrackList::~TextTrackList()
{
    clearElement();
}

void TextTrackList::clearElement()
{
    TrackListBase::clearElement();
    for (auto& track : m_elementTracks) {
        track->setMediaElement(nullptr);
        track->clearClient();
    }
    for (auto& track : m_addTrackTracks) {
        track->setMediaElement(nullptr);
        track->clearClient();
    }
}

unsigned TextTrackList::length() const
{
    return m_addTrackTracks.size() + m_elementTracks.size() + m_inbandTracks.size();
}

int TextTrackList::getTrackIndex(TextTrack& textTrack)
{
    if (is<LoadableTextTrack>(textTrack))
        return downcast<LoadableTextTrack>(textTrack).trackElementIndex();

    if (textTrack.trackType() == TextTrack::AddTrack)
        return m_elementTracks.size() + m_addTrackTracks.find(&textTrack);

    if (textTrack.trackType() == TextTrack::InBand)
        return m_elementTracks.size() + m_addTrackTracks.size() + m_inbandTracks.find(&textTrack);

    ASSERT_NOT_REACHED();

    return -1;
}

int TextTrackList::getTrackIndexRelativeToRenderedTracks(TextTrack& textTrack)
{
    // Calculate the "Let n be the number of text tracks whose text track mode is showing and that are in the media element's list of text tracks before track."
    int trackIndex = 0;

    for (auto& elementTrack : m_elementTracks) {
        if (!downcast<TextTrack>(*elementTrack).isRendered())
            continue;
        if (elementTrack == &textTrack)
            return trackIndex;
        ++trackIndex;
    }

    for (auto& addTrack : m_addTrackTracks) {
        if (!downcast<TextTrack>(*addTrack).isRendered())
            continue;
        if (addTrack == &textTrack)
            return trackIndex;
        ++trackIndex;
    }

    for (auto& inbandTrack : m_inbandTracks) {
        if (!downcast<TextTrack>(*inbandTrack).isRendered())
            continue;
        if (inbandTrack == &textTrack)
            return trackIndex;
        ++trackIndex;
    }
    ASSERT_NOT_REACHED();
    return -1;
}

TextTrack* TextTrackList::item(unsigned index) const
{
    // 4.8.10.12.1 Text track model
    // The text tracks are sorted as follows:
    // 1. The text tracks corresponding to track element children of the media element, in tree order.
    // 2. Any text tracks added using the addTextTrack() method, in the order they were added, oldest first.
    // 3. Any media-resource-specific text tracks (text tracks corresponding to data in the media
    // resource), in the order defined by the media resource's format specification.

    if (index < m_elementTracks.size())
        return downcast<TextTrack>(m_elementTracks[index].get());

    index -= m_elementTracks.size();
    if (index < m_addTrackTracks.size())
        return downcast<TextTrack>(m_addTrackTracks[index].get());

    index -= m_addTrackTracks.size();
    if (index < m_inbandTracks.size())
        return downcast<TextTrack>(m_inbandTracks[index].get());

    return nullptr;
}

TextTrack* TextTrackList::getTrackById(const AtomicString& id)
{
    // 4.8.10.12.5 Text track API
    // The getTrackById(id) method must return the first TextTrack in the
    // TextTrackList object whose id IDL attribute would return a value equal
    // to the value of the id argument.
    for (unsigned i = 0; i < length(); ++i) {
        auto& track = *item(i);
        if (track.id() == id)
            return &track;
    }

    // When no tracks match the given argument, the method must return null.
    return nullptr;
}

void TextTrackList::invalidateTrackIndexesAfterTrack(TextTrack& track)
{
    Vector<RefPtr<TrackBase>>* tracks = nullptr;

    switch (track.trackType()) {
    case TextTrack::TrackElement:
        tracks = &m_elementTracks;
        for (auto& addTrack : m_addTrackTracks)
            downcast<TextTrack>(addTrack.get())->invalidateTrackIndex();
        for (auto& inbandTrack : m_inbandTracks)
            downcast<TextTrack>(inbandTrack.get())->invalidateTrackIndex();
        break;
    case TextTrack::AddTrack:
        tracks = &m_addTrackTracks;
        for (auto& inbandTrack : m_inbandTracks)
            downcast<TextTrack>(inbandTrack.get())->invalidateTrackIndex();
        break;
    case TextTrack::InBand:
        tracks = &m_inbandTracks;
        break;
    default:
        ASSERT_NOT_REACHED();
    }

    size_t index = tracks->find(&track);
    if (index == notFound)
        return;

    for (size_t i = index; i < tracks->size(); ++i)
        downcast<TextTrack>(*tracks->at(index)).invalidateTrackIndex();
}

void TextTrackList::append(Ref<TextTrack>&& track)
{
    if (track->trackType() == TextTrack::AddTrack)
        m_addTrackTracks.append(track.ptr());
    else if (is<LoadableTextTrack>(track.get())) {
        // Insert tracks added for <track> element in tree order.
        size_t index = downcast<LoadableTextTrack>(track.get()).trackElementIndex();
        m_elementTracks.insert(index, track.ptr());
    } else if (track->trackType() == TextTrack::InBand) {
        // Insert tracks added for in-band in the media file order.
        size_t index = downcast<InbandTextTrack>(track.get()).inbandTrackIndex();
        m_inbandTracks.insert(index, track.ptr());
    } else
        ASSERT_NOT_REACHED();

    invalidateTrackIndexesAfterTrack(track);

    ASSERT(!track->mediaElement() || track->mediaElement() == mediaElement());
    track->setMediaElement(mediaElement());

    scheduleAddTrackEvent(WTFMove(track));
}

void TextTrackList::remove(TrackBase& track, bool scheduleEvent)
{
    auto& textTrack = downcast<TextTrack>(track);
    Vector<RefPtr<TrackBase>>* tracks = nullptr;
    switch (textTrack.trackType()) {
    case TextTrack::TrackElement:
        tracks = &m_elementTracks;
        break;
    case TextTrack::AddTrack:
        tracks = &m_addTrackTracks;
        break;
    case TextTrack::InBand:
        tracks = &m_inbandTracks;
        break;
    default:
        ASSERT_NOT_REACHED();
    }

    size_t index = tracks->find(&track);
    if (index == notFound)
        return;

    invalidateTrackIndexesAfterTrack(textTrack);

    ASSERT(!track.mediaElement() || !element() || track.mediaElement() == element());
    track.setMediaElement(nullptr);

    Ref<TrackBase> trackRef = *(*tracks)[index];
    tracks->remove(index);

    if (scheduleEvent)
        scheduleRemoveTrackEvent(WTFMove(trackRef));
}

bool TextTrackList::contains(TrackBase& track) const
{
    const Vector<RefPtr<TrackBase>>* tracks = nullptr;
    switch (downcast<TextTrack>(track).trackType()) {
    case TextTrack::TrackElement:
        tracks = &m_elementTracks;
        break;
    case TextTrack::AddTrack:
        tracks = &m_addTrackTracks;
        break;
    case TextTrack::InBand:
        tracks = &m_inbandTracks;
        break;
    default:
        ASSERT_NOT_REACHED();
    }

    return tracks->find(&track) != notFound;
}

EventTargetInterface TextTrackList::eventTargetInterface() const
{
    return TextTrackListEventTargetInterfaceType;
}

#endif


text:
'use strict';Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var namespacedAction=function namespacedAction(action){return'Navigation/'+action;};

var BACK=namespacedAction('BACK');
var INIT=namespacedAction('INIT');
var NAVIGATE=namespacedAction('NAVIGATE');
var RESET=namespacedAction('RESET');
var SET_PARAMS=namespacedAction('SET_PARAMS');
var URI=namespacedAction('URI');

var createAction=function createAction(type){return function(){var payload=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return _extends({
type:type},
payload);};};

var back=createAction(BACK);
var init=createAction(INIT);
var navigate=createAction(NAVIGATE);
var reset=createAction(RESET);
var setParams=createAction(SET_PARAMS);
var uri=createAction(URI);

var deprecatedActionMap={
Back:BACK,
Init:INIT,
Navigate:NAVIGATE,
Reset:RESET,
SetParams:SET_PARAMS,
Uri:URI};

var mapDeprecatedActionAndWarn=function mapDeprecatedActionAndWarn(action){
var mappedType=deprecatedActionMap[action.type];
if(!mappedType){return action;}

console.warn(['The action type \''+
action.type+'\' has been renamed to \''+mappedType+'\'.','\''+
action.type+'\' will continue to work while in beta but will be removed',
'in the first major release. Moving forward, you should use the',
'action constants and action creators exported by this library in',
"the 'actions' object.",
'See https://github.com/react-community/react-navigation/pull/120 for',
'more details.'].
join(' '));

return _extends({},
action,{
type:deprecatedActionMap[action.type]});

};exports.default=

{

BACK:BACK,
INIT:INIT,
NAVIGATE:NAVIGATE,
RESET:RESET,
SET_PARAMS:SET_PARAMS,
URI:URI,

back:back,
init:init,
navigate:navigate,
reset:reset,
setParams:setParams,
uri:uri,

mapDeprecatedActionAndWarn:mapDeprecatedActionAndWarn};


text:
ACCEPTED

#### According to
Index Fungorum

#### Published in
null

#### Original name
Libertella bonordenii Sacc.

### Remarks
null


text:
if(AOM_BUILD_CMAKE_TOOLCHAINS_X86_MINGW_GCC_CMAKE_)
  return()
endif() # AOM_BUILD_CMAKE_TOOLCHAINS_X86_MINGW_GCC_CMAKE_
set(AOM_BUILD_CMAKE_TOOLCHAINS_X86_MINGW_GCC_CMAKE_ 1)

set(CMAKE_SYSTEM_PROCESSOR "x86")
set(CMAKE_SYSTEM_NAME "Windows")
set(CMAKE_C_COMPILER_ARG1 "-m32")
set(CMAKE_CXX_COMPILER_ARG1 "-m32")

if("${CROSS}" STREQUAL "")
  set(CROSS i686-w64-mingw32-)
endif()

set(CMAKE_C_COMPILER ${CROSS}gcc)
set(CMAKE_CXX_COMPILER ${CROSS}g++)
set(CMAKE_AR ${CROSS}ar CACHE FILEPATH Archiver)
set(CMAKE_RANLIB ${CROSS}ranlib CACHE FILEPATH Indexer)

# Disable the use of the gtest's CMake support.
set(AOM_DISABLE_GTEST_CMAKE 1)