This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import PlaygroundSupport | |
enum URLResult { | |
case response(Data, URLResponse) | |
case error(Error, Data?, URLResponse?) | |
} | |
extension URLSession { | |
@discardableResult |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Build open source Swift in a specified directory after cloning the appropriate Github repos. | |
# Select an alternative Github account (such as hpux735 for William Dillon's forks) to clone swift, swift-llvm, swift-lldb, and swift-corelibs-foundation repos from. | |
ALTREPO="apple" | |
# Interval for collecting vmstat, df, and CPU temperature data | |
STATINTERVAL=300 |