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 | |
#=============================================================================== | |
# | |
# FILE: getgeo.sh | |
# | |
# USAGE: ./getgeo.sh | |
# | |
# DESCRIPTION: run the script so that the geodata will be downloaded and inserted into your | |
# database | |
# |
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
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgExnLwNF07uekMEgE2BQ9alrc0AWjSR+6xKTZVJ3ocUkKp3BheWxvYWTFAvV7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwMTMxOWNiYzBkMTc0ZWVlN2E0MzA0ODA0ZDgxNDNkNmE1YWRjZDAwNWEzNDkxZmJhYzRhNGQ5NTQ5ZGU | |
4NzE0OTBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJraWQiOiIwMTIwMTMxOWNiYzBkMTc0ZWVlN2E0MzA0ODA0ZDgxNDNkNmE1YWRjZDAwNWEzNDkxZmJhYzRhNGQ5NTQ5ZGU4NzE0OTBhIiwidWlkIjoiNzE5NGVjOWVhZTFmMmUwODk3NDJjOGQ2M2U1NWY4MTkiLCJ1c2VybmFtZSI6InN3aWxzb25wcmVtaX | |
NlIn0sInNlcnZpY2UiOnsibmFtZSI6ImdpdGh1YiIsInVzZXJuYW1lIjoic2NvdHR5bm9tYWQifSwidHlwZSI6IndlYl9zZXJ2aWNlX2JpbmRpbmciLCJ2ZXJzaW9uIjoxfSwiY2xpZW50Ijp7Im5hbWUiOiJrZXliYXNlLmlvIGdvIGNsaWVudCIsInZlcnNpb24iOiIxLjAuMTgifSwiY3RpbWUiOjE0ODYxN | |
jQ3NDcsImV4cGlyZV9pbiI6NTA0NTc2MDAwLCJtZXJrbGVfcm9vdCI6eyJjdGltZSI6MTQ4NjE2NDczNCwiaGFzaCI6ImJiMmY4YWE4ZDA4NjdjZjhhZmMzZTdjYzI5YmMzNWE2OTAwYjcyZjBlNzI2NmY2ZjE1NmFjYzVhMDIyMWE2YmVhODgxOGViYzQ3NmI1YTY3ZjUxY2I3OTg2ZThiYjQ2ZDQ2N2VkZTM1 | |
Y2EwOGNmNTQzMTJlMjIyNzhjNjU3NzhkIiwic2Vxbm8iOjgzNDQ0Nn0sInByZXYiOiIyZTg2ODlmMzllMzg3MTBjZDQ0YWU5 |
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
pub mod day12 { | |
// (+E/-W, +N/-S) | |
#[derive(Debug, Copy, Clone)] | |
pub struct Point(f32, f32); | |
#[derive(Debug)] | |
pub struct State { | |
current: Point, | |
heading: Point |