Paperclip recently caught my attention as it allows you to orchestrate teams of specialised AI agents through a beautiful self-hosted web UI, so I had[……]
Category: How To
Tutorials and guides on how to install software, tweak and personalize your system…
AWS dynamic IP ranges
Hi,
What are the dynamic IP ranges used by AWS in Ireland for the EC2 service?
$ curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.p[......]
How to soft reset Linux disks
Sometimes disks stop responding and cause issues/slowness to the whole system, simply because the system is expecting some sort of response.
In these[……]
Find sdx device/ATAx mappings
When dealing with hardware, you often see messages in the logs about disk issues or warnings.
Messages like:
ata9: hard resetting link
ata9: SATA[......]
sed – match and replace BIND/DNS serial number programmatically
I had to make some modifications to several BIND zone files, sed proved itself invaluable once again!
All the zone files looked something like this[……]
Remove all non-ascii characters with perl
Sometimes when creating one-liners, when the source is not “clean”, you may end up with non-ascii characters which make the parsing harder.
To get[……]
Converting spreadsheets to text files with ssconvert
How to update all docker base images with one command
for docker in $(docker images|awk '{print $1,$2}'|sed 's/ /:/g'|grep -v REPOSITORY); do docker pull $docker; done
This command updates all your[……]
How to update all pip python packages with one command
sudo pip install -U `pip list -o|cut -d ' ' -f1|tr '\n' ' '`
NB: One liners are potentially destructive. Don’t run anything unless you fully un[……]