Jekyll In Ubuntu22.04
jekyll 3.9.2 | Error: Invalid US-ASCII character "\xE2" on line 5 /home/hao/gems/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:123:in `rescue in convert': Invalid US-ASCII charact...
jekyll 3.9.2 | Error: Invalid US-ASCII character "\xE2" on line 5 /home/hao/gems/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:123:in `rescue in convert': Invalid US-ASCII charact...
Use the following approaches to optimize the widget refreshed: Have the containing app prepare data for the widget in advance of when the widget needs it. Use a shared group container to ...
SwiftUI Grid Grid { GridRow { ColorSquare(color: .pink) Color.clear .gridCellUnsizedAxes([.horizontal, .vertical]) ColorSquare(color: .pink) } GridRow { ForEach(0..<3) { _ in C...
by animation a Shape animation via their ViewModifiers protocol ViewModifier { typealias Content // the type of the View passed to body(content:) func body(content: Content) -> some Vi...
protocol protocol inheritance protocol Moveable { } protocol Vehicle: Movable { } class Car: Vehicle { // 要實作 Movable、Vehicle } Very rarely, a protocol can be used as a type (in any other...
Optional Chaining class Address { var buildingName: String? } class Person { var address: Address? } func createBuildingName() -> String { print("createBuildingName was called.") return "...
Optional Chaining const adventurer = { name: "Alice", cat: { name: "Dinah" } } function* createName() { return "12" } console.log(adventurer.dog?.name); // undefined adventurer.dog?.name...
The simplest generator is a cell that yields a single value.
var str = "123ABC456 789abc012" _ = str.replacingOccurrences(of: "[a-zA-Z]", with: "-", options: .regularExpression, range: nil) // output // 123---456 789---012
git checkout -b Lesson4 origin/Lesson4 如果只是單純 checkout: git checkout origin/Lesson4 就會產生以下警告: Note: checking out 'origin/Lesson3'. You are in 'detached HEAD' state. You can look around, make...