Characteristic | iOS Simulator | Xcode | Mapbox Navigation SDK |
---|---|---|---|
Works in the iOS simulator | ✅ | ✅ | ✅ |
Works on a device | ❌ | ✅ | ✅ |
Works without a debugger attached | ✅ | ❌ | ✅ |
Compatible with Wormhole | ❌ | ✅ | ❌ |
Can ship as part of an application | ❌ | ❌ | ✅ |
Simulates user-defined routes | ❌ | ✅ | ✅ |
Simulates going off route | ✅ | ✅ | ❌ |
Simulates course changes | ❌ | ❌ | ✅ |
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 Foundation | |
print(Locale.availableIdentifiers | |
.map { Locale.init(identifier: $0.replacingOccurrences(of: "_", with: "-")) } | |
.map { "\($0.identifier)\t\(Locale(identifier: "en-US").localizedString(forIdentifier: $0.identifier) ?? "")" } | |
.sorted() | |
.joined(separator: "\n")) |
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
#!/usr/bin/env python | |
primaryColor = 0 | |
secondaryColor = 0 | |
availableLaneNames = [ | |
"lane opposite slight turn or slight turn using slight turn", | |
"lane opposite slight turn or slight turn", | |
"lane opposite slight turn or straight or slight turn using slight turn", | |
"lane opposite slight turn or straight or slight turn using straight", | |
"lane opposite slight turn or straight or slight turn", |
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
#!/bin/bash | |
ls -1 pdfs_by_category | sed 's/^\(.*\)\.txt/mkdir -p "extracts\/\1"/' | bash | |
function download_category { | |
cd "extracts/$1" | |
cat "../../pdfs_by_category/$1.txt" | xargs -L 1 wget | |
cd - | |
} |
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
url | typeofbusinessother | |
---|---|---|
https://saesdp.sccgov.org/sdpdocs/3174340-SocialDistancingProtocolForm.pdf | Streaming and outdoor production services | |
https://saesdp.sccgov.org/sdpdocs/3175907-SocialDistancingProtocolForm.pdf | Farmer Market Vendor | |
https://saesdp.sccgov.org/sdpdocs/3172996-SocialDistancingProtocolForm.pdf | Plumbing Company | |
https://saesdp.sccgov.org/sdpdocs/3174872-SocialDistancingProtocolForm.pdf | Bakery | |
https://saesdp.sccgov.org/sdpdocs/3165898-SocialDistancingProtocolForm.pdf | Quarry | |
https://saesdp.sccgov.org/sdpdocs/3174815-SocialDistancingProtocolForm.pdf | ancillary hospital care | |
https://saesdp.sccgov.org/sdpdocs/3175499-SocialDistancingProtocolForm.pdf | architecture | |
https://saesdp.sccgov.org/sdpdocs/3175068-SocialDistancingProtocolForm.pdf | office | |
https://saesdp.sccgov.org/sdpdocs/3175860-SocialDistancingProtocolForm.pdf | Home Bakery |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# Fetch the current table as JSON | |
curl 'https://commons.wikimedia.org/wiki/Data:COVID-19_cases_in_Alameda_County,_California.tab?action=raw' > commons.json | |
# Fetch cases and deaths by day from the API | |
curl 'https://services3.arcgis.com/1iDJcsklY3l3KIjE/arcgis/rest/services/AC_dates/FeatureServer/0/query?where=1%3D1&outFields=Date,BkLHJ_Cases,BkLHJ_CumulCases,BkLHJ_Deaths,BkLHJ_CumulDeaths,ACLHJ_Cases,ACLHJ_CumulCases,ACLHJ_Deaths,ACLHJ_CumulDeaths,AC_Cases,AC_CumulCases,AC_Deaths,AC_CumulDeaths&outSR=4326&f=json' > dates.json | |
# Fetch hospitalizations by day from the API | |
curl 'https://services3.arcgis.com/1iDJcsklY3l3KIjE/arcgis/rest/services/AC_hospitalized2/FeatureServer/0/query?where=1%3D1&outFields=Date,Hospitalized_COVID_19_Positive_&outSR=4326&f=json' > hosp.json |
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
#!/bin/bash | |
# Fetch the current table as JSON | |
curl 'https://commons.wikimedia.org/wiki/Data:COVID-19_cases_in_San_Francisco.tab?action=raw' > commons.json | |
# Fetch the new cases and deaths by day from the API | |
curl https://data.sfgov.org/resource/tvq9-ec9w.json > tvq9-ec9w.json | |
# Convert date from full timestamp to YYYY-MM-DD | |
# Pivot on dates as rows and counts by case disposition as columns |
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
#!/bin/bash | |
# Fetch the current table as JSON | |
curl 'https://commons.wikimedia.org/wiki/Data:COVID-19_Cases_in_Santa_Clara_County,_California.tab?action=raw' > commons.json | |
# Fetch the new cases by day from the dashboard | |
# Convert date from number of milliseconds to YYYY-MM-DD | |
# Fill in counts repeated from previous days, which are indicated by C = null, R = 2 | |
# Calculate a running total | |
curl 'https://wabi-us-gov-virginia-api.analysis.usgovcloudapi.net/public/reports/querydata' --compressed --data '{"version":"1.0.0","queries":[{"Query":{"Commands":[{"SemanticQueryDataShapeCommand":{"Query":{"Version":2,"From":[{"Name":"c","Entity":"cases_date"}],"Select":[{"Column":{"Expression":{"SourceRef":{"Source":"c"}},"Property":"Date"},"Name":"cases_date.Date"},{"Aggregation":{"Expression":{"Column":{"Expression":{"SourceRef":{"Source":"c"}},"Property":"New_cases"}},"Function":0},"Name":"Sum(cases_date.New_cases)"}]},"Binding":{"Primary":{"Groupings":[{"Projections":[0,1]}]},"DataReduction":{"DataVolume":4,"Primary": |