Skip to content

Instantly share code, notes, and snippets.

View MarkIvanowich's full-sized avatar

Mark Ivanowich MarkIvanowich

View GitHub Profile
@MarkIvanowich
MarkIvanowich / delete_nonen_ass.nemo_action
Created August 16, 2021 23:22
Delete Non-English ASS Files
[Nemo Action]
# For use with Nemo File Manager. Add to ~/.local/share/nemo/actions folder.
Name=Delete Non-English ASS Files
Comment=Delete ASS subtitle files that do not end in .enUS.ass
Exec=find %P -name '*.ass' -not -name '*.enUS.ass' -delete
Icon-Name=view-list-symbolic
Selection=any
Extensions=dir;
EscapeSpaces=true
Dependencies=find;
@MarkIvanowich
MarkIvanowich / dateConflictLogic.java
Created February 3, 2019 07:13
Detecting Conflicting Events
// Detecting Conflicting Events
// Detecting Overlap of Date Ranges
// Detecting Date Conflicts
// Written by Mark Ivanowich
// mark.ivanowich.ca
// February 2nd 2019
// Working with Google Calendar APIs, I was searching online for anyone who already figured out the logic of testing two sets of events for potential overlap.
// I didn't know what keywords to search for, so here I am taking personal time to build a pseudo-code snippet to hopefully help myself or someone else.