- Install brave browser
sudo apt install curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
sudo apt install curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
.env
so the docker compose can read it automagically for interpolation of variables in compose yaml files.''' | |
Function takes an array of ints as parameter. | |
Returns True if the sequence.. 1, 3, 4 .. appears in the array somewhere. | |
''' | |
def sequenceMatches(arrayOfNumbers): | |
for index in range(len(arrayOfNumbers)-2): | |
if arrayOfNumbers[index] == 1 and arrayOfNumbers[index+1] == 2 and arrayOfNumbers[index+2] == 3: | |
return True | |
#include "stdio.h" | |
int | |
buses[30], revenue[30], | |
collections[30], fuel_collections[30], | |
total_buses=0, total_workers, total_income=0, | |
total_fuel=0, profit, salary, distance [50], | |
choice, routes; | |
char location[50], regist[50], name[50], number_plate[30]; |