Remove ssl cert: sudo certbot-auto delete
And useful when you want danish keyboard layout with a thai keyboard for instance. I really needed to map backslash "\" to a key on the keyboard because the key does not exist on a thai keyboard when danish keyboard layout is used.
My .Xmodmap file: keycode 49 = backslash
If you have the black screen of death when trying to get back from suspend mode, you might want to check out this bug description and possible resolutions: https://bugs.launchpad.net/ubuntu/+source/plasma-desktop/+bug/1849084
Otherwise disable compositor: qdbus org.kde.KWin /Compositor suspend
Check if compositor is enabled: qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.active
Or: qdbus org.kde.KWin /KWin supportInformation
Redirects with regular expressions
Basic intro to regex rewrite and redirect: https://www.searchenginepeople.com/blog/htaccess-redirect-rewrite-rules…
When trying to read any exfat formatted SD card it suddenly was not recognised by my system, so I tried to upgrade from Kubuntu 18.10 to 19.10, and it didn't help. Then I found a post about that Exfat is not supported by the kernel before version 5.4, but Kubuntu 19.10 is shipped with 5.3, but the packages exfat-fuse and exfat-utils should take care of it, but they were already installed and did not work apparently. And also my kernel is 5.0.x for some reason (5.0.0-36-generic).
Composer without root
Run this in ~/composer: curl -sS https://getcomposer.org/installer | php
Put this in .bashrc: alias composer="php ~/composer/composer.phar"
Install Drupal 8 With Composer In Custom Web Folder
composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction --no-install
Adjust web folder in composer.json file and then run "composer install".
Check available versions of a package
composer show package_name --available
And set the field "IP Address to send all self server requests to" to -1
sudo mount -t cifs -o username=[USERNAME],password=[PASSWORD],vers=1.0 //192.168.1.1/samba [MOUNT-FOLDER]
Router: ZTE F600W with USB mount and Samba service enabled.
There are many backup solutions out there for wordpress sites.
For example these plugins:
UpdraftPlus can be connected with dropbox.
You might also want to build your own backup routine with cronjobs on the hosting server.
Remember to backup!