- The Talk Show
- Craig Federighi and Greg Joswiak
- MKBHD
- Craig Federighi
- The Independent
- Kevin Lynch (Sleep Tracking)
- CNET
- Kevin Lynch (Sleep Tracking)
- Techcrunch
- Kevin Lynch (Handwashing)
https:// { | |
log | |
tls internal { | |
on_demand | |
} | |
reverse_proxy :3000 | |
} |
########################### | |
# | |
# Dolby.IO - Monitoring API | |
# By Fabien Lavocat | |
# | |
########################### | |
import argparse | |
import base64 | |
import requests |
At WWDC 2019 Apple released some videos directly online, with no corresponding live session. This is a list of those videos with links to the video pages.
Some sessions were presented during WWDC but then split into multiple videos when posted online. This list includes the online versions, since they don't appear in the WWDC schedule. For example WWDC included session 711, "Introducing Combine and Advances in Foundation". This was split into two online videos-- 722, "Introducing Combine", and 723, "Advances in Foundation". Both 722 and 723 are included here.
- 244 Visual Design and Accessibility https://developer.apple.com/videos/play/wwdc2019/244
- 245 Introducing the Indoor Maps Program https://developer.apple.com/videos/play/wwdc2019/245
- 246 Window Management in Your Multitasking App https://developer.apple.com/videos/play/wwdc2019/246
- 247 What’s New in ClassKit https://developer.apple.com/videos/play/wwdc2019/247
- 248 Creating an Accessible Reading Experience https://developer.apple.com/
# | |
# systemd unit file for CentOS 7, Ubuntu 15.04 | |
# | |
# Customize this file based on your bundler location, app directory, etc. | |
# Put this in /usr/lib/systemd/system (CentOS) or /lib/systemd/system (Ubuntu). | |
# Run: | |
# - systemctl enable rpush | |
# - systemctl {start,stop,restart} rpush | |
[Unit] | |
Description=rpush |
import UIKit | |
/// A validation rule for text input. | |
public enum TextValidationRule { | |
/// Any input is valid, including an empty string. | |
case noRestriction | |
/// The input must not be empty. | |
case nonEmpty | |
/// The enitre input must match a regular expression. A matching substring is not enough. | |
case regularExpression(NSRegularExpression) |
extension UIApplication { | |
class func topViewController(base: UIViewController? = UIApplication.sharedApplication().keyWindow?.rootViewController) -> UIViewController? { | |
if let nav = base as? UINavigationController { | |
return topViewController(base: nav.visibleViewController) | |
} | |
if let tab = base as? UITabBarController { | |
if let selected = tab.selectedViewController { | |
return topViewController(base: selected) | |
} | |
} |
If you haven’t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:
- We define variables with
let
andconst
statements. For the purposes of the React documentation, you can consider them equivalent tovar
. - We use the
class
keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value ofthis
in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav
#!/usr/bin/env xcrun --sdk macosx swift | |
import Foundation | |
enum Configuration: String { | |
case debug = "Debug" | |
case release = "Release" | |
} | |
// Get Info.plist path |
Sometimes you may want to use a DNS server for specific domain requests and another DNS server for all other requests. This is helpful, for instance, when connected to a VPN. For hosts behind that VPN you want to use the VPN's DNS server but all other hosts you want to use Google's public DNS. This is called "DNS splitting."
Here, we run dnsmasq as a background service on macOS. The dnsmasq configuration described below implements DNS splitting.
brew install dnsmasq