A script to fix EDID problems on external monitors in macOS.
- 
Connect only the problem display. 
- 
Create this directory structure (if it doesn't already exist): 
| #!/bin/bash | |
| ## Originally written by aysiu from the Ubuntu Forums | |
| ## This is GPL'ed code | |
| ## So improve it and re-release it | |
| ## Define portion to make Thunar the default if that appears to be the appropriate action | |
| makethunardefault() | |
| { | |
| ## I went with --no-install-recommends because | 
| #mysql-backup | |
| mysqldump -h localhost –u root –p myrootpassword db_name > db_test.sql | |
| #for multiple database | |
| mysqldump -h localhost –u root –p myrootpassword db_name1 db_name2 > db_test.sql | |
| #for all table | |
| mysqldump -h localhost –u root –p myrootpassword -all-databases > db_test.sql | |
| #for specifiec table | 
| # Back-Propagation Neural Networks | |
| # another way: solve it as a Regression Problem | |
| # Written in Python. See http://www.python.org/ | |
| # Modified by JSun to solve the problem here: http://www.weibo.com/1497035431/ynPEvC78V | |
| # Neil Schemenauer <[email protected]> | |
| import math | |
| import random | |
| import string | 
| /* | |
| An example of mmap where data is modified in the file. This | |
| version currently compiles on Mac OSX. | |
| References: | |
| Advanced Programming in the UNIX® Environment, Third Edition | |
| By: W. Richard Stevens; Stephen A. Rago | |
| Publisher: Addison-Wesley Professional | 
| # This script create a Centos Minimal Unattended ISO | |
| # This method is based on excellent article http://pyxlmap.net/technology/software/linux/custom-centos-iso | |
| # | |
| # This script has be tested with CentOS 6.5 | |
| # TODO: | |
| # * test package update to reduce the update task on the target system. The following command downloads all updates : | |
| # (cd $CENTOS_CUSTOM_PATH/Packages ; yumdownloader $(for i in *; { echo ${i%%-[0-9]*}; } ) ) | |
| # Some global settings : | 
| // LZ4 streaming API example 2 (ring buffer) | |
| #define _CRT_SECURE_NO_WARNINGS // for MSVC | |
| #include "lz4.h" | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdlib.h> | |
| #include <string.h> | 
| ModemManager-glib-1.1.0-6.git20130913.el7.x86_64 | |
| NetworkManager-0.9.9.1-13.git20140326.4dba720.el7.x86_64 | |
| NetworkManager-glib-0.9.9.1-13.git20140326.4dba720.el7.x86_64 | |
| NetworkManager-tui-0.9.9.1-13.git20140326.4dba720.el7.x86_64 | |
| acl-2.2.51-12.el7.x86_64 | |
| aic94xx-firmware-30-6.el7.noarch | |
| alsa-firmware-1.0.27-2.el7.noarch | |
| alsa-lib-1.0.27.2-3.el7.x86_64 | |
| alsa-tools-firmware-1.0.27-4.el7.x86_64 | |
| audit-2.3.3-4.el7.x86_64 |