http://www.nextbus.com/xmlFeedDocs/NextBusXMLFeed.pdf
http://webservices.nextbus.com/service/publicXMLFeed?command=agencyList
Obtain a list of available transit agencies.
| import { toPlainText } from "@portabletext/react" | |
| import { BlockEditor as DefaultBlockEditor } from "sanity" | |
| import { handlePaste } from "~/studio/components/blockEditor/handlePaste" | |
| const wordsPerMinute = 200 | |
| export default function BlockEditor(props: any, ref) { | |
| const value = props.value ?? [] | |
| const plainText = toPlainText(value) | |
| const characterCount = plainText.length |
| #!/usr/bin/env bash | |
| # Run this command to execute the script: | |
| # curl https://gist.githubusercontent.com/daneden/c6b5cfbcff4d3cc3ca46/raw/smaller-sketch-svgs.sh | bash | |
| # Tell Sketch to export compact SVGs | |
| defaults write com.bohemiancoding.sketch3 svgExportCompact -bool yes | |
| defaults write ~/Library/Preferences/com.bohemiancoding.sketch3.plist svgExportCompact -bool yes | |
| # Tell Sketch to omit layer names as IDs for SVGs | |
| defaults write com.bohemiancoding.sketch3 svgExportSkipAssignIdToLayerName -bool yes |
http://www.nextbus.com/xmlFeedDocs/NextBusXMLFeed.pdf
http://webservices.nextbus.com/service/publicXMLFeed?command=agencyList
Obtain a list of available transit agencies.
| # Ignore static version of the site (used to upload error pages to S3 for Heroku errors) | |
| /out |
| #chart | |
| { | |
| width: 90%; | |
| margin: 0 auto; | |
| min-height: 350px; | |
| } |
| /*! | |
| * toggleAttr() jQuery plugin | |
| * @link http://github.com/mathiasbynens/toggleAttr-jQuery-Plugin | |
| * @description Used to toggle selected="selected", disabled="disabled", checked="checked" etc… | |
| * @author Mathias Bynens <http://mathiasbynens.be/> | |
| */ | |
| jQuery.fn.toggleAttr = function(attr) { | |
| return this.each(function() { | |
| var $this = $(this); | |
| $this.attr(attr) ? $this.removeAttr(attr) : $this.attr(attr, attr); |