- 90% of traffic accidents are caused by human error
- 15% of road accidents are caused by fatigue
- Emergency number: 112
- Non-emergency number: 09008844
- Emergency lay-bys are installed every 500-1000 metres
- Warning triangle must be placed 30 metres from the vehicle
// Function to fill textarea and click send button
function fillAndSend(message) {
// Select the textarea
const textarea = document.querySelector('textarea[placeholder="Chat with everyone"]');
// Fill the textarea with the message
if (textarea) {
textarea.value = message;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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
import socket | |
import os | |
import json | |
try: | |
os.remove("/tmp/livestatus.sock") | |
except OSError: | |
pass | |
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) |
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
package main | |
import ( | |
"crypto/sha256" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
) |
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
sudo apt-get update | |
sudo apt-get -y upgrade | |
cd /tmp | |
wget https://dl.google.com/go/go1.12.linux-amd64.tar.gz | |
sudo tar -xvf go1.12.linux-amd64.tar.gz | |
sudo mv go /usr/local | |
export GOROOT=/usr/local/go | |
export GOPATH=$HOME/go |
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
const MAX_ITEM1: i64 = 1000000; | |
const MAX_ITEM2: &str = "HJ"; | |
fn main() { | |
let y = 3; | |
println!("y = {}", y); | |
let mut x = 1; | |
x += 1; | |
println!("x = {}", x); |
NewerOlder