modem unlocker huawei - Setting up an SMS server on Ubuntu 21.04 using Minicom

Setting up an SMS server on Ubuntu 21.04 using Minicom

I have an SMS booking app running on Ubuntu and will be setting up SMS autoresponder using a HUAWEI Mobile Modem E1550. Remove PIN from the SIM card SIM card has to be without a PIN so if you have purchased a prepaid SIM card that has PIN enabled...

chrome fv2MgTNCAE - Backup WordPress files and database via SSH

Backup WordPress files and database via SSH

This one-liner will backup your WordPress files and database into a directory name with today’s date. mkdir -p ../backup/$(date +%Y-%m-%d) ; mysqldump $(grep DB_NAME wp-config.php | grep -v WP_CACHE_KEY_SALT | cut -d \' -f 4) | gzip > ...

image 12 - Find and truncate all files in the oldest subdirectory

Find and truncate all files in the oldest subdirectory

This command will search for directories in the current directory and its subdirectories, find the oldest subdirectory in each directory, and display them on to screen: find . -maxdepth 1 -type d -exec sh -c 'oldest_folder=$(ls -ltr "$1" | awk "/^d/...

chrome sai1VB3Iin - cPanel: Create a MySQL database & user using data from wp-config.php

cPanel: Create a MySQL database & user using data from wp-config.php

Here is a small script that I use when migrating WordPress websites from some other panel to cPanel. I export the database on the old server and then simply copy the .sql dump file along with all other WP files from the old server to the new one...

chrome Iidan6iGUv - Install ImageMagick & imagick PHP extension to cPanel

Install ImageMagick & imagick PHP extension to cPanel

Step 1. Install imagemagick on the server: yum -y install ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl To check if installed: /usr/bin/convert --version Step 2. Install the imagick PHP extension to all PHP versions on the cPanel server:...

image 8 - iOS Universal Links not working behind Cloudflare

iOS Universal Links not working behind Cloudflare

Support universal links are used for iOS developers so that users can tap a link to the website and get seamlessly redirected to their installed app without going through Safari. Apple has pretty well-explained documentation on how to setup...