I dedicated a VM for running AI CLI tools. Consider it a kind of a sandbox, if you will. (more…)
18.4.22
Refreshing old Terraform state
If you find yourself with an old Terraform state file (say from v0.11) and you need to run terraform plan to check things out, you’ll need to make some adjustments:
- Add a
terraformblock withrequired_providersto provide thesourcefor the provider. - Remove the
versionstatement from theproviderblock. (You will want to move it to the provider in therequired_providersblock.) - Adjust any other syntax changes that result in errors (
terraform plan):list()→tolist([])type = "string"→type = string- Possibly many others…
- Replace the provider in the existing ancient state file.
- Refresh the providers (
terraform init). - Plan away! (more…)
11.11.21
Released tcsh 6.23
I am pleased to announce that tcsh-6.23 is now available; this is mainly a bug fix release (after 2 years) with a couple of new features:
- Add
jobs -Ztosetproctitle(3) - Add
ln=targetinLS_COLORS - Add a
:Qmodifier that preserves empty arguments
Please consult the Fixes file for a complete list of changes. (more…)
- »
- Today I wanted to use phpMyAdmin for the first time in quite a while, only to see errors when viewing a table. Lucky for me, there was an easy fix. (more…)
31.5.20
Blockquoted code blocks, part 2
For seven years I’ve maintained a small patch to PHP Markdown Extra. However, the upstream was not happy with it, so I just kept my local copy patched. Now I’ve given in: as Markdown has become very popular, it has been better to just adopt a syntax that works across different implementations (e.g. with GitHub Flavored Markdown). (more…)
19.4.20
Nested screens
I occasionally want to run nested screen sessions and this configuration allows me to use the same control character for both the inner and outer sessions by switching between them. (more…)
1.1.20
Addressing failed setrlimit calls in sudo
After installing sudo 1.8.29 from pkgsrc (security/sudo) I started frequently seeing this warning message:
sudo: setrlimit(3): Invalid argument
It took a few rounds, but eventually I applied an acceptable patch for the pkgsrc-2019Q4 release. Later an upstream workaround was committed and included in the sudo 1.8.30 release. (more…)