Owning my Garmin data

Over the last month, I took some time to build a tiny WordPress plugin that fetches data from my Garmin Connect platform and displays it on my website. Currently the workflow only pulls activity data from the platform - which was my focus for this month. With modifications to the python script, I think this can be extended further to fetch any type of data from the platform. Here’s a rundown of the publishing workflow so far: ...

May 29, 2021 · 2 min · 340 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Moving files from all subdirectories without the tree structure

Appa, who’s very active on Facebook, recently wanted an easy way to sift through his old videos and photos that were up on his account. I decided to take a dump of his data from the network using the download your information section. I initiated the process with just a few clicks and after a few days, I was able to download the zipped files of all the content he had posted on FB. including the likes, messages, shares etc. If you haven’t already, I would strongly recommend you get a copy of your data. I rarely interact on Facebook these days so it was even more interesting to see all the information they collect on you. ...

April 19, 2020 · 2 min · 230 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Network auto-latch

I realised the raspberry pi that hosts my nextcloud setup wasn’t quite latching back on to the network if the router was turned off or if the internet was sketchy. Was a pain to hard boot the device manually to reset it. Decided to write a short script to reset the network connection when it noticed something was off. ping -c4 192.168.0.1 > /dev/null if [ $? != 0 ] then echo "SOS..Restarting eth0 for network latch" /sbin/ifdown 'eth0' sleep 5 /sbin/ifup --force 'eth0' fi A chron job runs every 10 minutes to take pulse of the network, runs the above code and picks up connectivity without manual intervention! ...

October 25, 2019 · 1 min · 109 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Independence

As planned a few days back, I rewrote some back-end code to minimize the dependency on the workflow app and better integrate with direct desktop publishing. But for a few isolated kinks, this should be set. This should now give me more flexibility to post from indie publishing platforms and set the stage for other enhancements.

June 2, 2017 · 1 min · 56 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]