Blog

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 →

ramin-dashboard

August 27, 2021

Update 18 October 2025: I have made the repository private for the timebeing, because I am making very big changes to the app. Once I have something worthy of release, I will update this again. Changes already made: Today I am pleased to be releasing a dashboard I have been working on (and using) lately….

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” 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 Make a…

Read more →

Glances – a ‘top’ replacement on linux

June 11, 2021

Glances is a cross-platform system monitoring tool written in Python. Glances will run on almost any platform: GNU/Linux, FreeBSD, OS X and Windows. You can also use the built-in Web UI and monitor your system from any device. Features Installation on Ubuntu: Launch the Glances Auto Install script from the command line Or on Ubuntu:…

Read more →

Sending Push-notifications from iOS

December 4, 2020

Update 2 September 2024: There has since been a much simpler implementation of this using cURL, as detailed on the Pushover Support site I have 4 different devices I move information across (mostly text or URL’s): I enjoyed using Pushbullet for many years, but was pretty disappointed to see that the iOS app isn’t developed…

Read more →

Blowfish Encrypt/Decrypt

June 9, 2019

This is a simple web-app I made ages ago that encrypts and decrypts simple text with a password. It uses the mcrypt class in PHP, and the data is passed via AJAX. EDIT (10th June 2019): I’ve added a security certificate (thanks to Let’s Encrypt SSL), due to popular demand. Make sure you are visiting…

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 →