- Open terminal
ssh-keygen -t rsa -b 4096 -C “<EMAIL ADDRESS>”
(enter your email address)- Just press Enter to save it on default location, which is
/Users/<Account-Name>/.ssh/id_rsa.pub
- Copy on Clipboard
pbcopy < ~/.ssh/id_rsa.pub
- Open Github Account and add SSH Key by pasting it into text-field.
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 | |
extension URLRequest { | |
public var curlString: String { | |
guard let url = url else { return "" } | |
var baseCommand = #"curl "\#(url.absoluteString)""# | |
if httpMethod == "HEAD" { | |
baseCommand += " --head" |
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 AppTrackingTransparency | |
import PlaygroundSupport | |
protocol PrivacyManagerBridge { | |
static func requestTrackingAuthorization(completionHandler completion: @escaping (ATTrackingManager.AuthorizationStatus) -> Void) | |
} | |
extension ATTrackingManager: PrivacyManagerBridge {} |
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
xattr -d com.apple.quarantine /path/to/app/<app-name>.app |