minikube start \
--driver=virtualbox \
--cpus 4 \
--memory 8192
Recomended: 8 CPU and 30 GB RAM (for demo we are going to use minimal setup)
| import SwiftUI | |
| private let linkDetector = try! NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue) | |
| struct LinkColoredText: View { | |
| enum Component { | |
| case text(String) | |
| case link(String, URL) | |
| } | |
| # Cross toolchain configuration for using clang-cl. | |
| set(CMAKE_SYSTEM_NAME Windows) | |
| set(CMAKE_SYSTEM_VERSION 10.0) | |
| set(CMAKE_SYSTEM_PROCESSOR AMD64) | |
| set(CMAKE_C_COMPILER "/usr/bin/clang-cl-9") | |
| set(CMAKE_CXX_COMPILER "/usr/bin/clang-cl-9") | |
| set(CMAKE_LINKER "/usr/bin/lld-link-9") |
| import android.content.Context; | |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Executors; | |
| import androidx.room.Database; | |
| import androidx.room.Room; | |
| import androidx.room.RoomDatabase; | |
| @Database(entities = {User.class}, version = 1) |
Tuesday, February 25, 2020
Wednesday, May 27, 2020 - updated customer_churn.ipynb for version 7.7.0
Monday, November 16, 2020 - updated for version 7.10 and eland 7.10b
Monday, September 20, 2021 - updated customer_churn.ipynb for version 7.14
Monday, February 8, 2022 - updated customer_churn.ipynb for version 8.0
| By default, when extracts the Xcode.zip, | |
| macos will create tmp file in `/private/var/folders/v2/tbmrn60d2910x3w23ys5fgs00000gn/T/com.apple.AUHelperService`. | |
| Sometimes, the /private has no ehough space to hold 19GB Xcode.app. | |
| Thus we can create a soft link named `com.apple.AUHelperService` in the tmp dir. | |
| Steps: | |
| 1. BACKUP `com.apple.AUHelperService` in `/private/var/folders/v2/tbmrn60d2910x3w23ys5fgs00000gn/T/` to `com.apple.AUHelperService_BACKUP` | |
| 2. mkdir named `com.apple.AUHelperService` wherever you have enough space, | |
| 3. ln -s /your/absolute/path/com.apple.AUHelperService /private/var/folders/v2/tbmrn60d2910x3w23ys5fgs00000gn/T | |
| 4. double click the Xcode.xip |
| /* characteristic.js | |
| * A simple custom BLE peripheral characteristic for use with Node.js and bleno. | |
| * This characteristic supports read, write, and notify properties. | |
| * Julian Hays - 10/14/19 | |
| */ | |
| var util = require('util'); | |
| var bleno = require('bleno-mac'); //or 'bleno-mac' if you are using that | |
| var BlenoCharacteristic = bleno.Characteristic; |
If you are using the iso8601 strategy, you may not want to rely on the default Equatable implementation for Date (==) when comparing dates. You can use a good old fashion calendar comparison instead.
JSONEncoder and JSONDecoder can both be configured with a strategy (dateEncodingStrategy and dateDecodingStrategy) for encoding and decoding dates. There are four named types in addition to allowing you to provide custom options.
| Strategy | Comment |
For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):
List All System Images Available for Download: sdkmanager --list | grep system-images
Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"
| // | |
| // TokenAcquisitionService.swift | |
| // | |
| // Created by Daniel Tartaglia on 16 Jan 2019. | |
| // Copyright © 2024 Daniel Tartaglia. MIT License. | |
| // | |
| import Foundation | |
| import RxSwift |