Skip to content

Instantly share code, notes, and snippets.

View lhunath's full-sized avatar

Maarten Billemont lhunath

View GitHub Profile
import Foundation
extension MainActor {
/// Invoke `body`, running synchronously if possible.
///
/// This method is equivalent to `Task { @MainActor in <body> }`, except that
/// the first thread hop is elided if the caller is already on the main thread.
/// Thus if `<foo>` has no subsequent thread hops, it can run fully synchronously.
@discardableResult
public static func runAsap<Success>(
@lhunath
lhunath / gist:e7179ee69a66c6789fc4
Created February 23, 2016 03:22
Netflix.com support transcript after 2016 VPN blockage
Thank you for contacting Netflix customer support.
Here is the transcript from your recent chat with customer support:
Netflix Ronnie
Thanks for contacting Netflix This is Ronnie. How can I help?
You
Dear Ronnie, recently, I've started seeing the message "You seem to be using an unblocker or proxy. Please turn off any of these services and try again". It seems to be caused by the fact that I am using iVPN.net to secure my local uplink. Without it, my internet connection is unencrypted and everyone in my local network, including hotspot users, administrators, collegues at work, and others are able to steal my private information, spy on me and compromise my online safety. Does Netflix require that I throw my personal security to the wind for access to its services?