Legend:
- ✅ Behaves correctly at runtime
- ❌ Compile-time or runtime error or otherwise impossible to write
- 🙀 Behaves incorrectly at runtime
Mapbox-related library | Latitude, longitude | Longitude, latitude | Order-independent |
---|
#!/usr/bin/env bash | |
wget https://geonames.usgs.gov/docs/stategaz/AllStates.zip | |
unzip AllStates.zip | |
wget https://geonames.usgs.gov/docs/stategaz/AllNames.zip | |
unzip AllNames.zip | |
sed $'1s/\xef\xbb\xbf//' AllNames_20210825.txt | csvformat -d '|' > allnames.csv | |
csvgrep -c FEATURE_NAME_OFFICIAL -m Y -i allnames.csv | csvcut -c 'FEATURE_ID,FEATURE_NAME,CITATION' | sed '1s/FEATURE_NAME/FEATURE_NAME_UNOFFICIAL/' > allnames_unofficial.csv |
Seq. No. | 2012 NAICS US Code | 2012 NAICS US Title | OSM tags | |
---|---|---|---|---|
1 | 11 | Agriculture, Forestry, Fishing and Hunting | ||
2 | 111 | Crop Production | landuse=farm OR landuse=farmland | |
3 | 1111 | Oilseed and Grain Farming | ||
4 | 11111 | Soybean Farming | crop=soy | |
5 | 111110 | Soybean Farming | ||
6 | 11112 | Oilseed (except Soybean) Farming | ||
7 | 111120 | Oilseed (except Soybean) Farming | ||
8 | 11113 | Dry Pea and Bean Farming | ||
9 | 111130 | Dry Pea and Bean Farming |
#!/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", |
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")) |
#!/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 - | |
} |
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 |