This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] == "") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.net._ | |
import scala.collection.immutable._ | |
import scala.io._ | |
import org.saunter.bencode._ | |
import scalax.io._ | |
import scalax.io.Implicits._ | |
import scalax.data.Implicits._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def domains(): | |
return cursor.fetch_all_domains() | |
def domain_whitelist_entries(domain): | |
return cursor.fetch_all_whitelists() | |
dict([(x, domain_whitelist_entries(x)) for x in domains]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import time | |
import types | |
from traceback import extract_stack, format_list | |
def wrap_func(base_class, f): | |
old_func_name = 'old%s' % (f.__name__,) | |
if hasattr(base_class, f.__name__): | |
setattr(base_class, old_func_name, | |
getattr(base_class, f.__name__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mimic = { | |
history: {}, | |
get_history: function(k) { | |
if (k in mimic.history) return mimic.history[k]; | |
mimic.history[k] = []; | |
return mimic.history[k]; | |
}, | |
record: function(root, priv, not_recursive) { | |
function inspect(obj, path) { | |
_.each(obj, function(v, k) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
alert(bt.torrent.all()); | |
}); |
OlderNewer