Numbering ‘things I learned’ posts sequentially instead of by week-number makes more sense
I may have lost a couple of articles when moving the site to hugo: I am fairly certain that I have done at least 2 ‘things I learned’ posts in 2019 already.
You can check PHP Syntax by using php -l
All *.localhost domains point to the current machine. This is useful for local development as you don’t have to manipulate /etc/hosts when using *.localhost
You can use the domains slides.new and docs.new in order to quickly create new google docs documents
pstree: Tree of all processes (similar to ps but as tree)
ldd: List the dynamic libraries that a binary requires
jq can be used to parse json on the command line
pup can be used to parse HTML on the command line
The UriBuilder in the Neos CMS works with capitalized strings in Development but expects lower-case ones in (some) production environments.
Sequentially numbering the ‘Things I learned’ series makes more sense than using the week number
mysqldump has a --where that allows filtering of the exported values
This (in combination with a couple other flags) can be useful if you want to export partial data from a single table: mysqldump --no-create-info --complete-insert --extended-insert=false --tables articles --where 'updated_at > "2019-01-01"' > articles-updated-in-2019.sql
dropbear can be used to remotely unlock an encrypted boot device