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):
| require 'sinatra' | |
| require 'openssl' | |
| require 'json' | |
| post '/' do | |
| body = request.body.read | |
| puts "Time : #{Time.now}" | |
| puts "Actual Signature : #{request.env['HTTP_X_CHARGIFY_WEBHOOK_SIGNATURE_HMAC_SHA_256']}" | |
| puts "Computed Signature: #{signature(body)}" |
| #!/usr/bin/env bash | |
| uninstall() { | |
| list=`gem list --no-versions` | |
| for gem in $list; do | |
| gem uninstall $gem -aIx | |
| done | |
| gem list | |
| gem install bundler | |
| } |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.mutuallyhuman.radiator</string> | |
| <key>Program</key> | |
| <string>/Applications/Google Chrome.app/Contents/MacOS/Google Chrome</string> | |
| <key>ProgramArguments</key> | |
| <array> |
| # Generate a CSR and unencrypted private key | |
| openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key |
| <RoutingRules> | |
| <RoutingRule> | |
| <Condition> | |
| <HttpErrorCodeReturnedEquals>403</HttpErrorCodeReturnedEquals> | |
| </Condition> | |
| <Redirect> | |
| <HostName>example.com</HostName> | |
| <ReplaceKeyPrefixWith>#/</ReplaceKeyPrefixWith> | |
| <HttpRedirectCode>302</HttpRedirectCode> | |
| </Redirect> |
From: E.J. Dyksen
Date: Fri 5/4/2007 2:53 AM
Subject: IMPROV leadership
I am sending this email to the entire team in the interest of transparency and openness in this matter. I think everyone should read it.
Hello soon-to-be-juniors of IMPROV!
| let notificationCenter = NSUserNotificationCenter.defaultUserNotificationCenter() | |
| let notification = NSUserNotification() | |
| notification.title = "Hello" | |
| notification.informativeText = "This is a test" | |
| notification.soundName = NSUserNotificationDefaultSoundName | |
| notification.userInfo = ["key": "value"] | |
| notificationCenter.deliverNotification(notification) |
Today we released Arq 5, and we’re really excited about it! We implemented a bunch of the most-requested features, and we worked hard on improving the performance.
With Arq 5 we’re switching from per-computer licenses to per-user licenses! Buy one license and use it on all your Macs and PCs!
Arq 5 is faster in several ways:
| #!/usr/bin/env ruby | |
| loop do | |
| good = 0 | |
| bad = 0 | |
| for i in 1..100 do | |
| result = system("curl -sS https://www.google.com/ > /dev/null 2> /dev/null") | |
| if result then |