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).
| // ==UserScript== | |
| // @name MacBook Touchpad Event Translator | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Translates Touch events into full MouseEvent sequences | |
| // @author https://github.com/ojczeo | |
| // @match *://*/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
| #!/bin/bash | |
| # Use first argument as input file, or prompt if missing | |
| if [ -z "$1" ]; then | |
| read -p "Enter the path to the MP4 file: " input_file | |
| else | |
| input_file="$1" | |
| fi | |
| # Check if file exists |
| // ==UserScript== | |
| // @name Soundcloud DeBlur | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.01 | |
| // @description Removes blur on the SoundCloud | |
| // @author https://github.com/ojczeo/ | |
| // @match *://*.soundcloud.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=soundcloud.com | |
| // @grant none | |
| // @license MIT |
| // ==UserScript== | |
| // @name Busuu - Mute answers' SFXs | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @author @ojczeo https://github.com/ojczeo | |
| // @description Busuu - mute answers' SFXs | |
| // @match *://*.busuu.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=busuu.com | |
| // @license GNU GPLv3 | |
| // ==/UserScript== |
| // install first binaries from http://ffxsam.s3.amazonaws.com/public/audiowaveform-lambda.zip | |
| // @author Andrzej Ojczenasz https://github.com/ojczeo | |
| // @version '1.0.0' | |
| 'use strict'; | |
| process.env.PATH = process.env.PATH + ':' + process.env.LAMBDA_TASK_ROOT + '/bin'; | |
| function getExtension(filename) { | |
| var ext = path.extname(filename||'').split('.'); | |
| return ext[ext.length - 1]; |
| #!/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-"] |