Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
#!/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 |
———————————————————————————————————————————————————————————————————————————————————————————————————— | |
BBEdit / BBEdit-Lite / TextWrangler Regular Expression Guide Modified: 2018/08/10 01:19 | |
———————————————————————————————————————————————————————————————————————————————————————————————————— | |
NOTES: | |
The PCRE engine (Perl Compatible Regular Expressions) is what BBEdit and TextWrangler use. | |
Items I'm unsure of are marked '# PCRE?'. The list while fairly comprehensive is not complete. |
https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/22MD4KA_MP7/FWLatestVersion.txt https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/27MD5KA_MP4/FWLatestVersion.txt https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/27MD5KL_TBT_PD/FWLatestVersion.txt https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/24MD4KL_TBT_PD/FWLatestVersion.txt
https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/22MD4KA_MP7/ https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/27MD5KA_MP4/ https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/27MD5KL_TBT_PD/ https://lmu.lge.com/ExternalService/lgscreenmanager/mac/FW/24MD4KL_TBT_PD/
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |