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):
 
| # Description: Boxstarter Script | |
| # Author: Jess Frazelle <[email protected]> | |
| # Last Updated: 2017-09-11 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # | |
| # Run this boxstarter by calling the following from an **elevated** command-prompt: | 
| https://rfc3161.ai.moda | |
| https://rfc3161.ai.moda/adobe | |
| https://rfc3161.ai.moda/microsoft | |
| https://rfc3161.ai.moda/apple | |
| https://rfc3161.ai.moda/any | |
| http://rfc3161.ai.moda | |
| http://timestamp.digicert.com | |
| http://timestamp.globalsign.com/tsa/r6advanced1 | |
| http://rfc3161timestamp.globalsign.com/advanced | |
| http://timestamp.sectigo.com | 
| #!/usr/bin/python | |
| from __future__ import print_function | |
| import urllib | |
| import json | |
| import sys | |
| import base64 | |
| search = urllib.quote(sys.argv[1]) | |
| json_data = urllib.urlopen("http://api.giphy.com/v1/gifs/search?q={searchterm}&api_key=dc6zaTOxFJmzC&limit=1".format(searchterm=search)).read() | 
CartoCSS file for post on hazy memory maps. http://fogonwater.com/blog/2013/12/argumentum-ornithologicum-and-uncertain-cartographies/
| # Example Keen IO API response for a count, grouped by an 'entry' field | |
| keen_result = [ | |
| { | |
| "entry" => "Apple", | |
| "result" => 15 | |
| }, | |
| { | |
| "entry" => "Orange", | |
| "result" => 10 | |
| }, | 
| import mapnik | |
| from shapely.geometry import * | |
| class StaticMap: | |
| srs = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs' | |
| wgs = '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' | |
| stylesheet = 'REA_Bright_Local.xml' | |
| markername = 'rea.png' | |
| exportpath = 'output/' | 
| # <pre> | |
| # This file is in the public domain, so clarified as of | |
| # 2009-05-17 by Arthur David Olson. | |
| # So much for footnotes about Saudi Arabia. | |
| # Apparent noon times below are for Riyadh; your mileage will vary. | |
| # Times were computed using formulas in the U.S. Naval Observatory's | |
| # Almanac for Computers 1987; the formulas "will give EqT to an accuracy of | |
| # [plus or minus two] seconds during the current year." | |
| # |