This file contains hidden or 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
matthewc@ip-10-252-67-208:~/otp/OpenTripPlanner$ mvn install -Dmaven.test.skip=true -pl openstreetmap,opentr | |
ipplanner-api-common,opentripplanner-api-webapp,opentripplanner-graph-builder,opentripplanner-webapp,opentripplanner-routing | |
[INFO] Scanning for projects... | |
[INFO] Reactor build order: | |
[INFO] openstreetmap | |
[INFO] opentripplanner-routing | |
[INFO] opentripplanner-graph-builder | |
[INFO] OpenTripPlanner API Common | |
[INFO] opentripplanner-api-webapp | |
[INFO] opentripplanner-webapp |
This file contains hidden or 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
matthewc@ip-10-252-67-208:~/otp/OpenTripPlanner$ mvn install -Dmaven.test.skip=true | |
[INFO] Scanning for projects... | |
[INFO] Reactor build order: | |
[INFO] OpenTripPlanner | |
[INFO] openstreetmap | |
[INFO] opentripplanner-admin-webapp | |
[INFO] opentripplanner-utils | |
[INFO] opentripplanner-routing | |
[INFO] opentripplanner-graph-builder | |
[INFO] opentripplanner-api-extended |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd | |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> | |
<bean id="gtfsBuilder" class="org.opentripplanner.graph_builder.impl.GtfsGraphBuilderImpl"> | |
<property name="gtfsBundles"> |
This file contains hidden or 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
/** | |
* Test memory consumption and garbage collection over time. | |
* Copyright (C) 2012 Matt Conway. Licensed under the Apache 2 license. | |
*/ | |
import java.util.ArrayList; | |
public class MemoryTests { | |
public static void main (String[] args) | |
throws InterruptedException { |
This file contains hidden or 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
<html> | |
<head> | |
<title>VTA 35S and 40S transfers</title> | |
<script src="http://d3js.org/d3.v2.js"></script> | |
</head> | |
<body> | |
<h2>VTA Transfer Time Analysis</h2> | |
<div id="barActual"></div> | |
<script src="transitTimes.js"></script> |
This file contains hidden or 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
package models; | |
import javax.persistence.*; | |
import java.util.*; | |
import play.db.jpa.*; | |
import play.data.validation.*; | |
@Entity | |
public class NtdAgency extends Model { |
This file contains hidden or 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
@6b0h075f4 | |
Internal Server Error (500) for request GET /admin | |
Oops: ExceptionInInitializerError | |
An unexpected error occured caused by exception ExceptionInInitializerError: null | |
play.exceptions.UnexpectedException: Unexpected Error | |
at play.Invoker$Invocation.onException(Invoker.java:244) | |
at play.Invoker$Invocation.run(Invoker.java:286) | |
at Invocation.HTTP Request(Play!) |
This file contains hidden or 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
from sys import argv | |
import csv | |
writer = csv.writer(open('out.csv', 'w')) | |
print 'Weeks start on Monday.' | |
with open('out.csv', 'w') as out: | |
writer = csv.writer(out) |
This file contains hidden or 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
<response><plan><date>2012-08-17T08:12:00-07:00</date><from><name>Northeast Webster Street</name><lon>-122.5696270558223</lon><lat>45.56027651423451</lat><geometry>{"type": "Point", "coordinates": [-122.5696270558223,45.56027651423451]}</geometry></from><to><name>Southwest Patton Road</name><lon>-122.73233588172435</lon><lat>45.497946765808614</lat><geometry>{"type": "Point", "coordinates": [-122.73233588172435,45.497946765808614]}</geometry></to><itineraries><itinerary><duration>3454000</duration><startTime>2012-08-17T08:12:00-07:00</startTime><endTime>2012-08-17T09:09:34-07:00</endTime><walkTime>3454</walkTime><transitTime>0</transitTime><waitingTime>0</waitingTime><walkDistance>16371.8775061131</walkDistance><elevationLost>0.0</elevationLost><elevationGained>0.0</elevationGained><transfers>-1</transfers><legs><leg mode="BICYCLE" route="" agencyTimeZoneOffset="0"><startTime>2012-08-17T08:12:00-07:00</startTime><endTime>2012-08-17T09:09:34-07:00</endTime><distance>16371.8775061131</distance><from><name>North |
This file contains hidden or 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
<?xml version='1.0' encoding='UTF-8'?> | |
<osm version='0.6' generator='JOSM'> | |
<!-- | |
This OSM file lays over downtown Portland, Oregon, and defines three paths: | |
1: Along SW 10th from SW Main to SW Morrison: two bike paths joined by a | |
bikeable elevator. | |
2: Along SW 11th: two paths, one bikeable and one not, joined by a bikeable | |
elevator. | |
3: Along SW 12th: two paths, neither bikeable, joined by a bikeable elevator. |