Skip to content

Instantly share code, notes, and snippets.

View christianknu's full-sized avatar

Christian Knudsen christianknu

  • Kraftvaerk
  • Randers, Denmark
View GitHub Profile
@rgharris
rgharris / Microsoft 70-480 Exam Study Guide.md
Last active July 16, 2022 18:06
Microsoft 70-480 Exam Study Guide

Microsoft 70-480 Exam Study Guide

Programming in HTML5 with JavaScript and CSS3

Table of Contents

Intro

#!/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