# Functions
No description provided by the author
No description provided by the author
https://stackoverflow.com/a/28672789.
No description provided by the author
DurationToMiles converts Durations to miles.
FileExists simply returns true if a file exists.
GoogleMapsURL returns a google maps link to the coords providedTODO find query param for zoom level.
InvertMap takes a string map and returns it as value->key.
TODO: text the admin if it errors opening browser?.
ParseLatLng converts an OCRed string into a LatLng.
https://stackoverflow.com/a/59459658.
No description provided by the author
ProjectRoot returns the root directory of the project.
No description provided by the author
No description provided by the author
TODO: remove this and all darwin-only support RunningOnDarwin returns true if we're on darwin (OS X).
RunningOnLinux returns true if we're on linux.
RunningOnWindows returns true if we're on windows.
sends an SMS (to myself).
SplitOnRegex will is the equivalent of str.split(/regex/).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: this doesnt handle the case where the state is invalid.
this nastiness taken from: https://gist.github.com/davidnewhall/3627895a9fc8fa0affbd747183abca39 Write a pid file, but first make sure it doesn't exist with a running pid.TODO: consider refactoring to use PidExists().