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
### 初始化工程 | |
``` | |
npm init | |
``` | |
### 安装依赖 | |
``` | |
npm install express | |
``` | |
### 环境变量 | |
1. 在工程根目录创建 `.env`文件 |
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
Step 1: sudo xcode-select -s /Applications/Xcode-13.1.0.app | |
Step 2: open /Applications/Xcode-13.1.0.app/Contents/MacOS/Xcode | |
Extra Step (If step 2 not working, run the script below, then do step 2 again). | |
``` | |
#!/bin/bash | |
set -eux | |
readonly xcode13="/Applications/Xcode-13.1.0.app" | |
readonly xcode14="/Applications/Xcode-14.1.0.app" |
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
grab://open?&screenType=BOOKING&vertical=Car&taxiTypeId=302&pickUpLatitude=1.4116&pickUpLongitude=103.6723&pickUpAddress=Murai&dropOffLatitude=1.279064695&dropOffLongitude=103.8428995&dropOffAddress=39%20Duxton%20Hill&dropOffKeywords=THE%20COACH%27S%20BAGEL%20SHOP&pickUpTime=2023-01-11%2023%3A00%3A00 |
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
So values copied when captured using a capture list, while they’re not copied when referenced directly — for example when accessed as properties, or when a local variable is captured within the same scope as it was defined in. |
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
public func createView<T>(_ setup: ((T) -> Void)) -> T where T: UIView { | |
let view = T() | |
view.translatesAutoresizingMaskIntoConstraints = false | |
setup(view) | |
return view | |
} |
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 'package:flutter/material.dart'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
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
because you said i have too many warnings? okay, i did gave every app a decent review, i am not a cheater. or the real reason is that i cancelled my subscription? i have to say it suck, i can not even get an average of 3 reviews per day, far from the reviews which you boast that i can get from the plan, so who is cheating? |
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
1. if the ssl cert has been downloaded and verified in settings->general->about->certificate trust settings | |
2. if charles proxy configuration profile has been installed and verified in settings->general->Profile | |
3. if SSL proxy settings has enabled your domains. |
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
https://xcodebuildsettings.com/ |
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
class ShadowContainer: UIView { | |
init(child: UIView, | |
shadowRadius: CGFloat = 2, | |
shadowOffset: CGSize = CGSize.zero, | |
shadowOpacity: Float = 0.3) { | |
super.init(frame: CGRect.zero) | |
translatesAutoresizingMaskIntoConstraints = false | |
addSubview(child) | |
child.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true |
NewerOlder