Skip to content

Instantly share code, notes, and snippets.

@suhithr
suhithr / notes.md
Last active August 1, 2025 01:29
Overlay GPX data onto Video Footage

Steps to overlay GPX data onto video footage.

These are mostly notes to self. I assumed this process would be easy but there were some pitfalls and hiccups I'm documenting here. Huge thanks to the open source developers behind https://github.com/time4tea/gopro-dashboard-overlay and https://kdenlive.org/ without which this couldn't be possible.

  1. Pull the video off the GoPro (this needs to be done via the microsd card directly for "reasons").
  2. Download the .fit file from Garmin Connect (GPX file won't have power data)
  3. Run the https://github.com/time4tea/gopro-dashboard-overlay tool to generate a video of the data with a transparent background

(assuming you have a python environment with the above tool installed) $ cd code/gopro_edit_gpx

#!/bin/bash
pactl load-module module-bluetooth-discover
@suhithr
suhithr / 9gag-scraper.py
Last active October 30, 2016 19:04
A very simple 9gag scraper
# Code used for the Delta Workshop on Python and Linux 2016 at NIT, Trichy
import urllib
from time import sleep
import requests # http://docs.python-requests.org/en/master/
from bs4 import BeautifulSoup # https://www.crummy.com/software/BeautifulSoup/bs4/doc/
# Try printing out the variables at various stages to view the objects
# Better yet execute this in your Python interpreter to see all the action happening
@suhithr
suhithr / python-basics.md
Last active October 20, 2016 14:28
List of simple resources to get up and running with the syntax of Python

Python Basics for Delta's Linux-Python Workshop 2016

We'd like you all to get acquainted with the basic syntax of Python so that you feel more comfortable in the workshop and we're able to build more cool stuff!!

Ideally you'd take a look at:

  • Variables and Types
  • Strings
  • Loops
  • Conditions
  • Functions