lscpu | grep -i VirtualizationVT-xfor IntelAMD-Vifor AMD
The set lines
set -euxo pipefail is short for:set -e
set -u
| import cats.Show | |
| import cats.data.EitherT | |
| import cats.effect.{IO, Sync} | |
| import eu.timepit.refined.api.Refined | |
| import eu.timepit.refined.collection.NonEmpty | |
| import eu.timepit.refined.types.numeric.PosInt | |
| import io.chrisdavenport.log4cats.Logger | |
| import io.chrisdavenport.log4cats.slf4j.Slf4jLogger | |
| import io.circe._ | |
| import io.circe.refined._ |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
| // | |
| // ViewController.swift | |
| // PageViewController | |
| // | |
| // Created by Miguel Fermin on 5/8/17. | |
| // Copyright © 2017 MAF Software LLC. All rights reserved. | |
| // | |
| import UIKit |
| struct ComposeTransformer<T, R> { | |
| let transformer: (Observable<T>) -> Observable<R> | |
| init(transformer: @escaping (Observable<T>) -> Observable<R>) { | |
| self.transformer = transformer | |
| } | |
| func call(_ observable: Observable<T>) -> Observable<R> { | |
| return transformer(observable) | |
| } | |
| } |
| # Tutorial https://www.daimto.com/how-to-get-a-google-access-token-with-curl/ | |
| # YouTube video https://youtu.be/hBC_tVJIx5w | |
| # Client id from Google Developer console | |
| # Client Secret from Google Developer console | |
| # Scope this is a space seprated list of the scopes of access you are requesting. | |
| # Authorization link. Place this in a browser and copy the code that is returned after you accept the scopes. | |
| https://accounts.google.com/o/oauth2/auth?client_id=[Application Client Id]&redirect_uri=http://127.0.0.1&scope=[Scopes]&response_type=code | |
| # Exchange Authorization code for an access token and a refresh token. |
| // | |
| // UIImage+pixelData.swift | |
| // | |
| // Created by Bojan Percevic on 5/25/15. | |
| // Copyright (c) 2015. All rights reserved. | |
| // | |
| import Foundation | |
| extension UIImage { |
| function ClearQuickfixList() | |
| call setqflist([]) | |
| endfunction | |
| command! ClearQuickfixList call ClearQuickfixList() | |
| nmap <leader>cf :ClearQuickfixList<cr> |
To remove a submodule you need to: