Git aliases is a useful way to save your keyboard from typing a lot.
git status |
My alias for finishing code review |
---|---|
![]() |
![]() |
You can create an alias type in yor terminal:
import SwiftUI | |
struct Post: Decodable, Identifiable { | |
let id: Int | |
let title: String | |
} | |
protocol HttpClientProtocol { | |
func fetchPosts() async throws -> [Post] | |
} |
Just run
/usr/bin/swift <(curl -sL https://gist.githubusercontent.com/x0000ff/d0023bce5b85dd2f034330fb7a3c78f8/raw/7f465670da920ef4f6f6c9dc09920ca2c7dcf84d/clean-tags.sh)
(c) Exercism
Given a word, compute the scrabble score for that word.
Letter Values
// React v.16.12.0 | |
"scripts": { | |
"start": "export BROWSER=none; react-scripts start" | |
} |
If you see this error "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection."
in Xcode console:
load failed with error Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSErrorFailingURLStringKey=http://localhost/BLAH-BLAH-BLAH, NSErrorFailingURLKey=http://localhost:3000/brands, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <F7630F1E-0BA5-4EBC-9CDA-351A5842F84D>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <F7630F1E-0BA5-4EBC-9CDA-351A5842F84D>.<1>, NSUnderlyingError=0x6000001a9860 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 "(null)"}} [-1022]
Error: The resource could not be loaded because the App Transport Security policy requires the use of a