Skip to content

Instantly share code, notes, and snippets.

View grampelberg's full-sized avatar

Thomas Rampelberg grampelberg

View GitHub Profile
function travelDates () {
dateArray = new Array();
for (i=0; i < document.getElementsByName("date").length; i++) {
dateArray[i] = new Date(document.getElementsByName("date")[i].value);
}
badDates = 0;
for (i=0; i < dateArray.length - 1; i++) {
if (dateArray[i] < dateArray[i+1]) {
alert ("good");
function travelDates (elementName) {
dateArray = new Array();
for (i=0; i < document.getElementsByName(elementName).length; i++) {
dateArray[i] = new Date(document.getElementsByName(elementName)[i].value);
}
blankDates = 0;
for (i=0; i < document.getElementsByName(elementName).length; i++) {
if (document.getElementsByName(elementName)[i] == "MM/YY/YYYY" ||
document.getElementsByName(elementName)[i] == "") {
<?php
$isTALoggedIn = true;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Multidestination Search - classicvacations.com</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/search.css" />
<?php
$isTALoggedIn = true;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Multidestination Search - classicvacations.com</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/search.css" />
java.lang.Exception
at aaa$A.hashCode(aaa.scala:4)
at scala.collection.mutable.HashTable$class.elemHashCode(HashTable.scala:154)
at scala.collection.mutable.HashMap.elemHashCode(HashMap.scala:33)
at scala.collection.mutable.HashTable$class.findEntry(HashTable.scala:66)
at scala.collection.mutable.HashMap.findEntry(HashMap.scala:33)
at scala.collection.mutable.HashMap.findEntry(HashMap.scala:33)
at scala.collection.mutable.DefaultMapModel$class.update(DefaultMapModel.scala:38)
at scala.collection.mutable.HashMap.update(HashMap.scala:33)
at aaa$.main(aaa.scala:16)
To get started with Docker/Marathon/Mesos, you need to install a
new Mesos, a new Marathon, and Deimos, the bridge to Docker.
You'll also need Docker and the JVM. These instructions are for
Fedora 20.
## Install Mesos prerequisites
:; sudo yum install zookeeper-server java-1.7.0-openjdk python-setuptools curl python-pip python-devel
:; sudo cp /etc/zookeeper/zoo_sample.cfg /etc/zookeeper/zoo.cfg
:; echo 1 | sudo dd of=/var/lib/zookeeper/data/myid
{
"container": {
"image": "docker:///libmesos/ubuntu"
},
"id": "ubuntu",
"instances": "1",
"cpus": ".5",
"mem": "512",
"uris": [ ],
"cmd": "while true; do sleep 10; done"