for using
https://github.com/hn-88/android-ndk-samples/tree/main/hello-libs
in
https://github.com/hn-88/OpenCV-android-samples/
Mostly work related stuff which I would've entered into my "Log book". Instead of hosting it on an intranet site, outsourcing the hosting to blogger!
Made Chatgpt write the following script. The EOF syntax is useful. In our case, we need to put in the appropriate -pPORT also.
write a bash shell script to ssh into two servers server1 and server2 with ssh keys key1.pem and key2.pem, run sudo apt upgrade on both, and show the result on the terminal.
#!/bin/bash
# Define servers and keys
SERVER1="user1@server1"
KEY1="key1.pem"
SERVER2="user2@server2"
KEY2="key2.pem"
# Function to upgrade a server
upgrade_server() {
local SERVER=$1
local KEY=$2
echo "Upgrading packages on $SERVER..."
ssh -i "$KEY" -o StrictHostKeyChecking=no "$SERVER" << 'EOF'
echo "Running apt update..."
sudo apt update
echo "Running apt upgrade..."
sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y
EOF
}
# Upgrade both servers
upgrade_server "$SERVER1" "$KEY1"
echo "---------------------------------------------"
upgrade_server "$SERVER2" "$KEY2"
VirtualBox Manager
> Right-click on the VM
> Select "Move"
> Choose the new location and click "Move"
(Tho' the progress bar doesn't seem to work, it moved the VM and associated files to the external drive in approx the usual time it would take for a 12 GB file move.)
I was trying to recharge another prepaid Airtel number with "international roaming plan 2997" for 365 day validity.
Tried with Airtel thanks app from my Airtel mobile - failed.
Tried from website - failed.
Tried calling customer care - they said try going to a shop.
Tried from shop - failed.
Tried sending them an email to 121@in.airtel.com - "We noticed that you're contacting us from an email ID that isn't linked to your Airtel account.
You shall write back to us from your registered ID or reach out to airtel thanksapp get instant support 24x7 right from the help and support section."
The help and support section is a chatbot. There didn't seem to be any option to contact a human being.
Finally, I thought maybe trying from the Airtel app on the actual prepaid account for which Intl. Roaming was needed - success. Edit - half an hour later, that transaction was reversed, too!
Airtel's own customer service people did not know this, the shop guys (tried two different shops) did not know this, it is not mentioned anywhere that these intl. roaming plans need to be bought from the phone which is actually going to roam!