Category: How-to

Script to restart all docker-compose configs (or just one of them)

October 19, 2021

If you update the image for a docker-compose config, you can restart each of the containers by running Assuming you have a directory structure like the following: You can write a simple script to traverse each of the directories and restart the container Save the script as something like restart.sh in the root directory of…

Read more

Use OpenStreetMap on the Garmin GPSMAP series

July 6, 2021

“It really do be like that sometimes.” — Unknown I used to use OpenStreetMap.nl for maps on my Garmin GPSmap 64s (I suspect this works on the other GPSmap devices as well), but the download-queue for getting maps from the site has become impractical: This request is #20312 in the queue. The delay is approximately…

Read more

Migrate MySQL from native installation to docker(ubuntu)

June 12, 2021

“It worked yesterday” — Unknown Please let me know in the comments if this process can be improved, or if I forgot a step. Remember to make proper backups/snapshots of your Server before proceeding with the steps below Export your Databases From the command-line, you can use mysqldump to export all your databases Docker-compose file…

Read more

Sending Push-notifications from iOS

December 4, 2020

I have 4 different devices I move information across (mostly text or URL’s): iPhone Windows PC iPad Macbook Pro I enjoyed using Pushbullet for many years, but was pretty disappointed to see that the iOS app isn’t developed any more and was unpublished from the app store. People have different methods for sharing URL’s with…

Read more

Disappearing Presets in Adobe Camera Raw (December 2018 release)

December 12, 2018

With the latest release of Camera Raw in December 2018, I noticed that I could not apply my presets in Camera Raw to JPG’s anymore (both RNI and VSCO). However, they seemed to still be available for RAW files. Looking for change-logs, I came across this, from lightroomkillertips.com “The other preset related addition has to do…

Read more

Automate the creation of nginx sites on Ubuntu

August 26, 2018

This has been adapted from a script by a DigitalOcean mod by the name of Jellingwood. Script has been modified to take PHP into account. This assumes your www directory is /var/www and that you are running PHP 7.0 Save the file as create-site.sh, and make the file executable Run the file by executing something…

Read more