- Download the patch-edid.rb script from the forums thread above and put it in your home directory.
- Restart your Mac.
- Before OS X starts up, hold down Command-R and keep it held down until you see an Apple icon and a progress bar. Release. This boots you into Recovery.
- From the Utilities menu, select Terminal.
- At the prompt type exactly the following and then press Return: csrutil disable
- Terminal should display a message that SIP was disabled.
- From the menu, select Restart.
- Connect only the external monitor(s) in question (I closed my MacBook lid, for example). The script will make override files for any connected monitor.
- Type “ruby patch-edid.rb” in Terminal.
- A new folder will be created in your home directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Modified version of: https://github.com/blinks zsh theme | |
function _prompt_char() { | |
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then | |
echo "%{%F{blue}%}±%{%f%k%b%}" | |
else | |
echo ' ' | |
fi | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="Monokai Custom" version="124" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="14" /> | |
<option name="EDITOR_FONT_NAME" value="Source Code Pro" /> | |
<colors> | |
<option name="ANNOTATIONS_COLOR" value="ffffff" /> | |
<option name="CARET_COLOR" value="f8f8f0" /> | |
<option name="CARET_ROW_COLOR" value="3e3d32" /> | |
<option name="CONSOLE_BACKGROUND_KEY" value="272822" /> | |
<option name="FILESTATUS_MODIFIED" value="6897bb" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password | |
# Updated to work with Vagrant 1.7.x | |
# Allow passwordless startup of Vagrant when using NFS. | |
# Based on https://gist.github.com/joemaller/6764700 | |
# Stage updated sudoers in a temporary file for syntax checking | |
TMP=$(mktemp -t vagrant_sudoers) | |
cat /etc/sudoers > $TMP |