Skip to content

Instantly share code, notes, and snippets.

View zlovatt's full-sized avatar

Zack Lovatt zlovatt

View GitHub Profile
@zlovatt
zlovatt / hideGifsInSlidesBookmarklet.js
Last active June 28, 2022 23:32
Hide Gifs in Google Slides Sidebar Bookmarklet
javascript:(function(){var styleID="toggle-filmstrip-gifs";var style=document.getElementById(styleID);if(style){style.remove();return}var styleContent=document.createTextNode("#filmstrip%20svg%20:not(.sketchy-comment-indicator)%20>%20image%20{%20display:%20none%20!important;%20}");style=document.createElement("style");style.id=styleID;style.appendChild(styleContent);document.getElementsByTagName("head")[0].appendChild(style)})()
@zlovatt
zlovatt / ! paperless-ngx Post-Consumption Data Extraction from Filename Script.md
Last active October 19, 2025 16:57
paperless-ngx post-consumption script to extract details from filename

paperless-ngx Post-Consumption Data Extraction from Filename Script

This is a paperless-ngx post-consumption script to extract document data based on the original filename.

It was initially developed by @gulpman and posted in this discussion thread. I've made further changes, detailed below.

Parsing

The script assumes the following pattern: {Date} - {Correspondent} - {Title}, and can parse the following cases: