Skip to content

Instantly share code, notes, and snippets.

View savermyas's full-sized avatar
💩
You are the code you've ever committed

Dmitrii Miasnikov savermyas

💩
You are the code you've ever committed
View GitHub Profile
@savermyas
savermyas / patch-edid.md
Created December 19, 2019 21:13 — forked from ejdyksen/patch-edid.md
A script to fix EDID problems on external monitors in Mac OS. Source: http://embdev.net/topic/284710

patch-edid.rb

A script to fix EDID problems on external monitors in Mac OS.

  1. Connect the problem monitor.

  2. Download this script into your /System/Library/Displays/Overrides (note: this file is only writeable by root, so some commands require sudo).

[root@webpass install]# chkconfig iptables off
[root@webpass install]# chkconfig postgresql-9.2 on
[root@webpass install]# service postgresql-9.2 initdb
[root@webpass install]# cd /usr/local/
[root@webpass local]# ln -s apache-maven-3.0.5 maven
[root@webpass local]# ln -s apache-tomcat-7.0.39/ tomcat
[root@webpass tomcat]# cd /home/tomcat/
[root@webpass tomcat]# mkdir edi
[root@webpass tomcat]# cd edi
[root@webpass edi]# mkdir conf