PHP 

How to get the URL of the current page in PHP via the `$_SERVER` superglobal

Read 2020-10-15

Github  git  version control 

Github error when running `git pull origin master`: 'fatal: Couldn't find remote ref master'

Read 2020-10-08

Apache 2.4  Apache (httpd)  linux  web servers  Debian  Debian 10  SSL  mod_ssl 

A quick foray into disabling SSLSessionTickets in Apache2 (because there is no automated key rotation mechanism implemented yet).

Read 2020-09-15

Debian 10  Apache 2.4  Apache  system administration  linux  PHP  PHP-FPM 

How to switch from Apache2 mpm_prefork to mpm_event module and setup php-fpm in Debian 10.

Read 2020-09-15

Apache 2.4  Apache 2  Apache  mod_access_compat  Apache modules  system administration  Apache performance tuning 

Yes, in Apache2.4 the `mod_access_compat` module can safely be disabled, as long as you remove all the deprecated 'Order', 'Allow', and 'Deny' directives from your apache and vhost configs.

Read 2020-09-15

Kubuntu  Kubuntu 19.10  Kubuntu 20.04 

Notes from an in-place upgrade of Kubuntu 19.10 to 20.04

Read 2020-09-02

MariaDB  MySQL  sysadmin 

Syntax reminder: create separate user in mariadb/mysql for remote administration and assign privileges.

Read 2020-09-02

Lenovo  Laptops  Lenovo Carbon X1 (7th gen)  linux 

Notes on using linux with a Lenovo Carbon X1 (7th generation) laptop

Read 2020-09-02

Vim 

Use the `:read` command in vim to copy the contents of another file into the current vim session.

Read 2020-08-31

Ubuntu  Ubuntu 16.04  SSH  SFTP  system administration  config files 

How to grant users SFTP access via the /etc/ssh/sshd_config file in Ubuntu 16.04

Read 2020-08-28

Nextcloud 

Documenting the process of moving an existing Nextcloud instance to a new server.

Read 2020-08-23

Laravel  Laravel 5.2  Laravel 5.5  web development 

Notes from a Laravel 5.2 to 5.5 upgrade.

Read 2020-08-14

grep  linux utilities 

Quick reminder how to make grep return filenames only

Read 2020-08-14

PHP  PDO  sqlite  web development 

Short reminder how to connect to a sqlite database with PHP's PDO database library

Read 2020-08-14

DBeaver  MacOS  Java 

Workaround for an issue causing DBeaver error 'Failed to create java virtual machine'.

Read 2020-04-09