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
// Copyright 2009 Google Inc. | |
// Copyright 2011 NPR | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software |
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
"message": "An error has occurred.", | |
"exceptionMessage": "Object reference not set to an instance of an object.", | |
"exceptionType": "System.NullReferenceException", | |
"stackTrace": " at WakeSocial.Gateway.WebApi.Host.Controllers.NotificationsController.<>c.<Get>b__4_0(Notification notification)\r\n | |
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()\r\n at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\r\n | |
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()\r\n at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n at WakeSocial.Gateway.WebApi.Host.Controllers.NotificationsController.<Get>d__4.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task tas |
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
apply plugin: 'com.android.application' | |
apply plugin: 'android-apt' | |
apply plugin: 'com.getkeepsafe.dexcount' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.1" | |
defaultConfig { | |
applicationId "com.mentor" |
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
/* | |
Slightly modified by Joel Dean | |
Created by TheNally | |
Original post here : http://bit.ly/UI2uBC | |
*/ | |
$(function(){ | |
var url = window.location.pathname, | |
urlRegExp = new RegExp(url.replace(/\/$/,'')); | |
$('#nav li a').each(function(){ |
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
public interface Parser { | |
public Route parse(); | |
} |
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
public class XMLParser { | |
// names of the XML tags | |
protected static final String MARKERS = "markers"; | |
protected static final String MARKER = "marker"; | |
protected URL feedUrl; | |
protected XMLParser(final String feedUrl) { | |
try { | |
this.feedUrl = new URL(feedUrl); |
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
public class Segment { | |
/** Points in this segment. **/ | |
private GeoPoint start; | |
/** Turn instruction to reach next segment. **/ | |
private String instruction; | |
/** Length of segment. **/ | |
private int length; | |
/** Distance covered. **/ | |
private double distance; |
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
public class Route { | |
private String name; | |
private final List<GeoPoint> points; | |
private List<Segment> segments; | |
private String copyright; | |
private String warning; | |
private String country; | |
private int length; | |
private String polyline; |
OlderNewer