Skip to content

Instantly share code, notes, and snippets.

Ethan Darling grokcodile

  • Thayer School of Engineering at Dartmouth @thayer
Block or report user

Report or block grokcodile

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
grokcodile /
Last active Oct 26, 2015
Open Hidden iCloud Drive Info Window
# Opens the "Git Info" window for the hidden iCloud Drive
osascript -e 'tell application "Finder" to open information window of (POSIX file ("/Users/" & short user name of (system info) & "/Library/Mobile Documents/com~apple~CloudDocs") as alias)'

Copy and paste the command above into the terminal app.

  • You can then add an iCloud Drive shortcut icon to the Dock or Desktop by dragging and dropping the preview icon, from the info window to the Dock, or hold + option key and drag to the Desktop.
grokcodile /
Last active Oct 4, 2015 — forked from saetia/gist:1623487
Custom Mac OS X Settings and Application Preferences - Post Clean Install
# Enable dark interface mode 
sudo defaults write /Library/Preferences/.GlobalPreferences AppleInterfaceTheme Dark

# Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

# Set Menubar clock to display day, date, and time
defaults write DateFormat -string "EEE MMM d  h:mm a"
grokcodile / patch-edid.rb
Last active Aug 10, 2017
Force RGB Mode to Improve Ultra-wide Monitor Display Quality on Mac OS X El Capitan 10.11
View patch-edid.rb
# Create display override file to force Mac OS X to use RGB mode for Display
# see
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
You can’t perform that action at this time.