Quantcast
Channel: David Goodwin
Browsing all 13 articles
Browse latest View live

PHP psalm annotations

This is more of a note for myself, as I keep forgetting the syntax. See also https://github.com/vimeo/psalm and List of Arrays Given an 2d array like : [ [ 'name' => 'Pickle', 'age' => 4 ], [...

View Article



intel nuc d54250wyk (haswell) ~10 years later

This little NUC I bought ages ago is still chugging along, in continual use (albeit only as a backup ‘server’ with a large 4TiB ssd in it). It’s recently had ‘open heart’ surgery to replace a failing...

View Article

btrfs & ext4 – error handling when the hardware fails …

I have a mini PC (old intel NUC) I use for taking backups of my desktop. It has a single 4TiB ssd in it. Filesystem Type Size Used Avail Use% Mounted on/dev/sda3 ext4 916G 80G 790G 10% //dev/sda4 btrfs...

View Article

Excessive uptime(!?)

Somewhere on the internet there’s a mailserver with a larger uptime, I guess? [root@xxxxxxxx ~]# uname -a Linux xxxxxxxxxxxxxxx 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 x86_64 x86_64...

View Article

Don’t forget to defragment /home if you’re using BTRFS

As root: (as a regular user it just won’t work) – btrfs filesystem defragment /home -r You probably want to run that weekly. I eventually noticed Thunderbird and phpStorm were being really slow and...

View Article


Resizing a VM’s disk within Azure

Random notes on resizing a disk attached to an Azure VM …Check what you have already – az disk list --resource-group MyResourceGroup --query '[*].{Name:name,Gb:diskSizeGb,Tier:accountType}' --output...

View Article

asus pn50 and cpufreq/boost

I’ve been using an ASUS PN50 (that’s a mini pc, with an AMD Ryzen 4800u processor – so sort of a laptop without a screen) as my desktop for ages.Increasingly I’ve found it sluggish and I was...

View Article

bash – escaping variables for use within commands

Escaping quotes within variables is always painful in bash (somehow) – e.g. foo”bar and it’s not obvious that you’d need to write e.g. “foo”\””bar” (at least to me). Thankfully a bash built in magical...

View Article


Beelink SER6 Max

“New PC Time” I’ve had an ASUS PN50 (AMD 4800u processor) as my desktop/daily driver for sometime, and it’s nice and power efficient, but increasingly I found it being slow. I eventually discovered I...

View Article


Tumbleweed…

Does anyone else care about having a blog any longer? The post Tumbleweed… first appeared on David Goodwin.

View Article

Upgrade some things

Well, I sort of realised I had a web server or two that were still on Debian Buster, and it was time to move to Bullseye or Bookworm. As usual the Debian upgrade procedure was mostly pretty straight...

View Article

Minimal WordPress Fail2ban integration

I used to have a fail2ban filter etc setup to look for POST requests to wp-login.php; but the size of the Apache log files on one server made this infeasible (it took fail2ban too long to parse/process...

View Article

ssh signed git commits

git config –global gpg.format sshgit config –global user.signingkey ~/.ssh/id_ed25519.pubgit config –global commit.gpgsign true Hopefully that’ll result in my github commits being signed…. and when I...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images