install tor
sudo apt install toredit /etc/tor/torrc
HiddenServiceDir /var/lib/tor/sshd/NewUser=winston
sudo useradd $NewUser --create-home
sudo mkdir /home/$NewUser/.ssh
sudo touch /home/$NewUser/.ssh/authorized_keys
sudo chown -R $NewUser:$NewUser /home/$NewUser/.ssh
sudo chmod 700 /home/$NewUser/.ssh
sudo chmod 600 /home/$NewUser/.ssh/authorized_keys| # based on: https://www.hughesportal.com/blog.php?article=setup-network-bonding-using-netplan | |
| network: | |
| version: 2 | |
| ethernets: | |
| enp2s0f0: | |
| dhcp4: no | |
| dhcp6: no | |
| enp2s0f1: | |
| dhcp4: no | |
| dhcp6: no |
Why golang sql and sqlx libraries can't parse array_agg ?
Why golang json library parse [null] as a struct with default values (int = 0, string = "") instead of an error or an empty array ?
Why postgres COALESCE(jsonb_agg(DISTINCT to_jsonb(ti)), '[]') still returns [null] instead of [] ?
I want to add FILTER…
As always:
Download the whole planet dataset (~80 Gb)
curl -OL https://planet.openstreetmap.org/pbf/planet-latest.osm.pbfUsing osmium tool filter amenity=toilets nodes
osmium tags-filter planet-latest.osm.pbf n/amenity=toilets -o toilets.osm| #!/bin/bash | |
| # Configuration | |
| DB_HOST="" | |
| DB_PORT="" | |
| DB_NAME="" | |
| DB_USER="" | |
| DB_PASS="" | |
| DIR="" | |
| DATE=$(date +"%Y%m%d_%H%M%S") |
| .PHONY: fvm-check setup clean dependencies build-runner translations pods-update test unit-test integration-test | |
| fvm-check: | |
| @echo "🔍 Checking FVM" | |
| @if ! command -v fvm >/dev/null 2>&1; then \ | |
| echo "❌ FVM is not installed. Please install FVM first:"; \ | |
| exit 1; \ | |
| fi | |
| @echo "✅ FVM is installed" | |
| @fvm install |