Within the app there is a sample curl command to invoke the API to send SMS. If curl command is unavailable to you, these are the alternative method you can use to invoke the API.
- App from sms.oofnivek.com installed
- Bearer token configured as “abcd1234”
- Port configured as “8080”
- Private IP address obtained is “192.168.1.234”
- Sending to someone in Singapore (+65) with the number 87654321
- With the message body “hello world”
By default curl is available in Mac and Ubuntu. If you are running Windows, you can either download curl for Windows or install Windows Subsystem Linux then add Ubuntu into it. …
Go to Plex website to get the download URL
sudo dpkg -i plexmediaserver_184.108.40.20688-cc260c476_amd64.deb
systemctl status plexmediaserver
Go to http://127.0.0.1:32400/web and start configuring your Plex
Assuming that the videos are in your external hard disk connected to your Ubuntu desktop. You’ll need to run these commands to give user plex to access your drive.
sudo usermod -a -G $MYGROUP plex
sudo chown $USER:$MYGROUP /media/$USER
sudo chmod 750 /media/$USER
sudo setfacl -m g:$MYGROUP:rwx /media/$USER
sudo service plexmediaserver restart
To check your group or the group user plex is in
I previously wrote a story about updating your dynamic IP with NoIP.com . If you own a domain and it is currently using Cloudflare’s domain name servers, you can use its API to update your dynamic IP.
Copy the contents below into “update_ip.sh”
domain='www1.oofnivek.com'dns_id=$(curl -X GET "https://api.cloudflare.com/client/v4/zones/$zone_id/dns_records?type=A&name=$domain" -H "X-Auth-Email: $email" -H "X-Auth-Key: $api_key" -H "$json"|jq -r .result.id)ip=$(curl checkip.amazonaws.com)curl -X PUT "https://api.cloudflare.com/client/v4/zones/$zone_id/dns_records/$dns_id" -H "X-Auth-Email: $email" -H "X-Auth-Key: $api_key" -H "$ct" \