Skip to content

Instantly share code, notes, and snippets.

View m-graf's full-sized avatar

¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸ m-graf

View GitHub Profile
@m-graf
m-graf / groundbreak-2026-calendar.ics
Created August 14, 2026 14:36
Procore Groundbreak 2026 subscribable agenda calendar (Oct 20-22, Orlando)
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Procore//Groundbreak 2026 Agenda//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Groundbreak 2026
X-WR-CALDESC:Procore Groundbreak 2026 agenda
X-WR-TIMEZONE:America/New_York
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-PUBLISHED-TTL:PT1H
# Setup defaults START
# Hide the dock very quickly, hide and deploy immediately
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
defaults write com.apple.dock autohide-delay -float 0; killall Dock
# Not sure
defaults write com.apple.Terminal FocusFollowsMouse -string YES
# Disable font smooting
@m-graf
m-graf / .convert-heic-to-jpg.sh
Last active October 22, 2021 18:09
AppleScript to convert + compress HEIC images to JPG. Can be compiled into an Application with Apple Script.
#!/bin/bash
# Converts all .HEIC files in directory ($1) to .jpg
# Outputs converted images to $2
if ! command -v /usr/local/bin/magick &> /dev/null
then
echo "magick could not be found, you need to install it."
exit
fi