Code | Name |
---|---|
A01 | Metro Center |
A02 | Farragut North |
A03 | Dupont Circle |
A04 | Woodley Park-Zoo/Adams Morgan |
A05 | Cleveland Park |
A06 | Van Ness-UDC |
A07 | Tenleytown-AU |
A08 | Friendship Heights |
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
import SwiftUI | |
/* | |
Example | |
struct MyView: View { | |
@State private var childSize = CGSize.zero | |
var body: some View { | |
ChildView() |
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
/** | |
* Forwards routes in the given list to a route with a trailing slash in the dev server | |
* Useful for multi page vite apps where all rollup inputs are known. | |
* | |
* Vite fix is upcoming, which will make this plugin unnecessary | |
* https://github.com/vitejs/vite/issues/6596 | |
*/ | |
export default routes => ({ | |
name: 'forward-to-trailing-slash', | |
configureServer(server) { |
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
GET https://api.wmata.com/StationPrediction.svc/json/GetPrediction/K06 HTTP/1.1 | |
Host: api.wmata.com | |
api_key: API_KEY_HERE |
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
/** | |
* This is a fun attempt to implement a `zip` function using the new Object.groupBy and Map.groupBy functions because I hate index math. | |
*/ | |
/** | |
* A silly implementation of zip using [Object.groupBy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/groupBy). | |
* | |
* It's zip! Great explanation here of the Python implementation (which is better than this one) | |
* @see https://docs.python.org/3.3/library/functions.html#zip | |
* |
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
Code | Name | |
---|---|---|
A01 | Metro Center | |
A02 | Farragut North | |
A03 | Dupont Circle | |
A04 | Woodley Park-Zoo/Adams Morgan | |
A05 | Cleveland Park | |
A06 | Van Ness-UDC | |
A07 | Tenleytown-AU | |
A08 | Friendship Heights | |
A09 | Bethesda |
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
G03 | Addison Road-Seat Pleasant | |
---|---|---|
F06 | Anacostia | |
F02 | Archives-Navy Memorial-Penn Quarter | |
C06 | Arlington Cemetery | |
N12 | Ashburn | |
K04 | Ballston-MU | |
G01 | Benning Road | |
A09 | Bethesda | |
C12 | Braddock Road | |
F11 | Branch Ave |
Code | Name |
---|---|
G03 | Addison Road-Seat Pleasant |
F06 | Anacostia |
F02 | Archives-Navy Memorial-Penn Quarter |
C06 | Arlington Cemetery |
N12 | Ashburn |
K04 | Ballston-MU |
G01 | Benning Road |
A09 | Bethesda |
OlderNewer