CLI (Command Line), Tutorials

How to use free protovpn VPN on ubuntu 20.04 using linux CLI?

protonvpn

Please note this is going to lock you out from your server and you will need to reboot to connect again. You should know what are you doing. While I am writing this, I am connected to my server …

Plugins, WordPress

display-posts-news-ticker

# display-posts-news-ticker

WordPress plugin to display WordPress posts in a nice news ticker.

– display-posts plugin is required to be installed from here: https://wordpress.org/plugins/display-posts-shortcode/

– Telex JS newsticker is used from here (no need to download or install): https://github.com/sjaakp/telex

Change …

Blog

Using multiple PHP versions in OpenLiteSpeed

OpenLiteSpeed (OLS) includes a nice “Compile PHP” option under Tools. We can use it to compile different versions of PHP. So, I compiled 7.4.24 and 8.0.11 and the binaries were saved in the folders /usr/local/lsws/lsphp7 & /usr/local/lsws/lsphp8 respectively.

Then I …

Blog

Laravel gives error 500 without any further log or information if storage permissions are not allowed

I will start with the fact that I hate Laravel.
But, still a client wanted to me to deal with an application built on it. First it forced me to upgrade PHP from 7.4 to 8.1. Then it kept giving …

apps

certbot-autorenew-cron-v1

v1.js

Helps to renew SSL certificates automatically using certbot. Helps in automatic domain verification too. Also, runs a cron to keep checking SSL renewal automatically at specified time interval.

We need to set reverse proxy for .well-known folder so it …