(in progress)
- GTFS Schedule data
- Open Trip Planner
- Application Programming Interfaces (APIs)
- Mapbox map tiles
- Database
- Backend framework
| import math | |
| import re | |
| import time | |
| from django.conf import settings | |
| import requests | |
| # used to remove stop id from stop names included into pattern description | |
| regex_stop_id = re.compile('(\(\w+:\d+\))') |
| import math | |
| import re | |
| import time | |
| from django.conf import settings | |
| import requests | |
| # used to remove stop id from stop names included into pattern description | |
| regex_stop_id = re.compile('(\(\w+:\d+\))') |
| HASTUS_ID, Station title ////// Title of GTFS Stop linked | |
| 15432 Canoga Station ///////// Canoga Station | |
| 5030 Figueroa Wy/Adams ///////// Figueroa / Adams | |
| 5019 Figueroa/7th ///////// Figueroa / 7th | |
| 13489 Flower/7th ///////// Flower / 7th | |
| 80123 23rd St Station ///////// LATTC / Ortho Institute Station | |
| 1813 Flower/23rd ///////// Flower / 23rd | |
| 80127 Expo/Western Station ///////// Expo / Western Station | |
| 15535 Sepulveda Station ///////// Sepulveda Station | |
| 5040 Figueroa/Olympic ///////// Figueroa / Olympic |
| 'use strict'; | |
| // Load Dependencies | |
| var $ = require('jquery'); | |
| require('jquery-guillotine'); | |
| var angular = require('angular'); | |
| var _ = require('lodash'); | |
| var app = angular.module('pageApp', []); |
| /*global module, require, console*/ | |
| /*jslint nomen: false*/ | |
| var properties = { | |
| // global properties go here | |
| appName: "tidalwavez", | |
| logs : { | |
| folder : './log', |
| define(function(require, exports, module) { | |
| var angular = require('angular'); | |
| require('angular-cookies'); | |
| var usersModule = module.exports = angular.module('users', ['ngCookies']) | |
| .factory('UserService', ['$http', '$cookieStore', function($http, $cookieStore) { | |
| var currentUser = $cookieStore.get('user') || null; |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| /* --------------------------------------- */ | |
| /* --( Variables )-- */ | |
| /* --------------------------------------- */ |
| from tastypie.fields import DictField | |
| from sorl.thumbnail import get_thumbnail | |
| from sorl.thumbnail.helpers import ThumbnailError | |
| class SorlThumbnailField(DictField): | |
| """ | |
| api field used to return a thumbnail generated with | |
| sorl-thumbnail python library |
| import time | |
| from django.db import models | |
| class MyModel(models.Model): | |
| # other fields... | |
| start_date = models.DateTimeField() | |
| unique_date = models.CharField(max_length=32, unique=True) |