A curated list of awesome command-line frameworks, toolkits, guides and gizmos.
Installing rust cargo packages on aarch64 armbian linux
Your /tmp partition (which is where the build will default to) probably doesn’t have enough room as it’s a 512mb tmpfs mount.
Set CARGO_TARGET_DIR environment variable to a spacious directory
Orange Pi 3
I recently ordered an Orange Pi 3.
Why an OPi3 rather than a Raspberry Pi? Because:
- Onboard storage (eMMC is faster & more reliable than an SD card)
- Faster GBit networking
- USB3
However it is obviously less mainstream. I bought it from AliExpress with a case (& fan / heatsinks) & a PSU (although it can be powered up with a decent USB cable / supply). You’ll also need a micro SD card to install different OSes.
I wanted to run console / server Linux & the images supplied by OrangePi aren’t up to much so I’m using an early Armbian image. Follow this thread for more details and builds are available here.
So far I’m very impressed, it boots very quickly and seems stable. Only used wired networking so far.
sitespeed.io
A great open source tool for measuring website performance
Run in one line to get a report for your site:
docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:8.9.0 https://www.sitespeed.io/
Using pfsense / OpenVPN client access and can’t reach your internal LAN?
Remember to create a route from your internal LAN machines to your pfsense / OpenVPN network.
ie if internal lan is 192.168.10.0/24, pfsense is on 192.168.10.3 & your OpenVPN client lan is 192.168.20.0/24, you’d want something like
route add -net 192.168.20.0/24 gw 192.168.10.3
Minimalist Linux Desktop
Even though I’ve mostly converted to GNOME (on a fairly juicy machine at least), this article covers some interesting tools.
Disable fsync!
libeatmydata is a small LD_PRELOAD library designed to (transparently) disable fsync (and friends, like open(O_SYNC)). This has two side-effects: making software that writes data safely to disk a lot quicker and making this software no longer crash safe.
DO NOT use libeatmydata on software where you care about what it stores. It’s called libEAT-MY-DATA for a reason.
ReduceRightDave/forgotJS – handy Javascript reminder
Notes on JavaScript. With comparisons to Python.
Source: ReduceRightDave/forgotJS
Logging which backend jboss mod_proxy_cluster hits are going to
Put this in your apache config if you are using JBoss & mod_proxy_cluster and want to log which backend JBoss member server your hits are going to:
LogFormat "%h %l %u %t \"%r\" %>s %b %{BALANCER_WORKER_NAME}e" commonbackend
CustomLog /var/log/httpd/httpd.log commonbackend
TLS Debugging Tools
I spend so much time on TLS I wrote a post discussing my favourite tools.