A script to fix EDID problems on external monitors in Mac OS.
-
Connect the problem monitor.
-
Download this script into your
/System/Library/Displays/Overrides
(note: this file is only writeable by root, so some commands requiresudo
).
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
// Block Grid | |
// Technique adapted from Foundation 5 for Bootstrap 3. | |
// https://github.com/zurb/foundation/blob/f755d8704123f86c281ede0b171881e2672f150d/scss/foundation/components/_block-grid.scss | |
// Original LESS Version by Christopher Mitchell (https://gist.github.com/ChrisTM) | |
// Converted to SCSS by Rasmus Jürs (https://github.com/Jursdotme) | |
// https://gist.github.com/Jursdotme/67abe379d4a357233d3c | |
// https://gist.github.com/juukie/bcd1ef59ba6dd62ce968#file-block-grid-sass | |
[class*="block-grid-"] |