Skip to content

Instantly share code, notes, and snippets.

View easterncoder's full-sized avatar
💭
.

Mike Lopez easterncoder

💭
.
View GitHub Profile
@easterncoder
easterncoder / ifttt-filter-find-calendar-slot.js
Last active October 7, 2020 00:04
IFTTT Filter to search for a 1-hour slot in Google Calendar to schedule our event in
/*
* Author: Mike Lopez <[email protected]>
* Description: Find a 1-hour slot in Google Calendar to schedule our event in
*/
// sort events by start date (because nope, they're not sorted)
GoogleCalendar.listEventsForDateRange.sort(function(a, b) {
if (moment(a.Start).isSame(b.Start)) {
return 0;
}
@easterncoder
easterncoder / Vagrantfile
Last active August 17, 2020 05:25
Ubuntu Focal Fossa LAMP Stack
Vagrant.configure("2") do |config|
# we use the generic ubuntu 20.04 box
config.vm.box = "generic/ubuntu2004"
# set the local hostname to myapp.local
# you may change this to whatever you like but it's best to keep the .local part
config.vm.hostname = 'myapp.local'
# sync folders
config.vm.allowed_synced_folder_types = [:nfs, :smb, :sshfs, :rsync]
@easterncoder
easterncoder / 01.md
Last active April 20, 2020 17:21
WishList Member WebHooks Integration Technical Demo