Skip to content

Instantly share code, notes, and snippets.

ddfault /
Last active July 31, 2021 18:23 — forked from toringe/
Merge CIDR blocks into super blocks if possible
#!/usr/bin/env python
# Example 1: All blocks in list.txt, one CIDR per line
# cat list.txt | (linux)
# type list.txt | (Windows)
# Example 2: Echo CIDR blocks to stdout
# echo |
# Adjusted python print to print() to work with my python 3.5 on Windows.
ddfault /
Last active April 3, 2024 18:32 — forked from jimdigriz/
Self-Hosting a UniFi Network Server on Debian "bookworm" 12

These instructions have been adapted from the official docs and avoid you have to run any lengthy scripts but you should still be able to get up and running within five minutes or so.

N.B. since the release of 7.5.x and 8.x there are no longer 32 bit releases (so no armhf) but someone noticed that the packages are architechiture neutral (ie. all) in amd64 so you can just pretend to be amd64 on arm64. When doing this, after the update you will still need to do the snappy fix described below.

Changes from original: I am targetting x86_64 (aka AMD64/amd64) see original for all occurances of arm64 (and armhf).

Plumb in the Unifi packaging by running:

sudo curl -o /usr/share/keyrings/unifi-repo.gpg