Skip to content

Instantly share code, notes, and snippets.

View MarkIvanowich's full-sized avatar

Mark Ivanowich MarkIvanowich

View GitHub Profile
@MarkIvanowich
MarkIvanowich / laravel-setup-checklist.md
Last active June 21, 2024 00:46
Laravel Setup Checklist

Laravel Setup Checklist (For Linux!)

2024-06-20 Mark Ivanowich

Assuming installing on Arch Linux, using an LTS kernel. In my case I'm using EndeavourOS.

Install Homestead (Vagrant, Virtualbox)

First off, I want to install Laravel Homestead, which is built upon Vagrant, which requires a VM engine line VirtualBox.

I prefer to use one homestead box, and reconfigure the maps as I get a new project. As a consequence, running php7.4 and php8 on the same box SUUCKS. Which forces me to upgrade my sites at the earliest opportunity.

@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.