Skip to content

Instantly share code, notes, and snippets.

View teledyn's full-sized avatar

Gary Lawrence Murphy teledyn

View GitHub Profile
@teledyn
teledyn / Shares.py
Created June 17, 2022 05:25
A simple throw-away script to transform LinkedIn Complete-Download Shares.csv ready to add to Emacs org-roam
# this is free software, public domain, it's a crude go at an obvious solution
# so no guarantees are given, it wasn't perfect, but I only needed one run
#
# this script will transform the LinkedIn Complete Download Shares.csv file
# producing a collection of timestamp-LinkedIn-YYYY-MM.org files containing
# posts for that month. These files are then loaded into org-roam via dired,
# an ID assigned using 'C-c n o' (org-id-get-create) and saved.
#
# I used the script to populate an org-roam/posts directory, then used a macro
# to step through, id-create and save each. The post items will be tagged based