I hereby claim:
- I am L0NDONER on github.
- I am london (https://keybase.io/london) on keybase.
- I have a public key whose fingerprint is B805 72E1 121E 5F26 FB00 D8A2 1123 3469 CF96 69C2
To claim this, I am signing this object:
#!/bin/bash | |
# Auto-connect to WiFi with password | |
sudo nmcli device wifi connect "CHANGE TO NETWORK NAME" password "ADD WIFI PASSWORD HERE" | |
# Install nala and update/upgrade packages | |
sudo apt install nala -y | |
sudo nala update && sudo nala upgrade -y | |
# Install Balena Etcher USB ISO Writer |
--- | |
- | |
become: true | |
gather_facts: yes | |
hosts: "*" | |
ignore_unreachable: true | |
tasks: | |
- include: update.yml | |
- include: aptcleanup.yml | |
- include: pip.yml |
# Constants | |
GAS_CONSUMPTION_PER_HOUR = 20 # liters per hour | |
GAS_PRICE_PER_LITER = 3.12 # dollars | |
TICKET_SPEED_1 = 100 # km/h | |
TICKET_COST_1 = 200 # dollars | |
TICKET_SPEED_2 = 120 # km/h | |
TICKET_COST_2 = 800 # dollars | |
DISTANCES = [150, 450, 900] # km | |
def calculate_trip_cost(speed): |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |