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
2023/03/13 11:55:39 哎大家伙早喽 ---> Hey guys, good morning! | |
2023/03/13 11:55:41 哎大家伙早喽 ---> Hey guys morning hello | |
2023/03/13 11:55:42 3月13号星期一 ---> March 13th, Monday. | |
2023/03/13 11:55:43 3月13号星期一 ---> Monday, March 13th | |
2023/03/13 11:55:44 我的第一个训练日啊 ---> My first training day. | |
2023/03/13 11:55:45 我的第一个训练日啊 ---> My first training day! | |
2023/03/13 11:55:46 身体已经恢复的八、九成了 ---> My body has recovered about 80-90% now. | |
2023/03/13 11:55:47 身体已经恢复的八、九成了 ---> The body has recovered 80% or 90% | |
2023/03/13 11:55:48 至少所有的肌肉酸痛都没有了 ---> At least all muscle soreness is gone. | |
2023/03/13 11:55:49 至少所有的肌肉酸痛都没有了 ---> At least all the muscle soreness is gone |
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
/// Nested activity rings | |
struct ActivityRings: View { | |
var ringGap: CGFloat = 2 | |
@State var progressMove: Double | |
@State var progressExercise: Double | |
@State var progressStand: Double | |
var body: some View { | |
ZStack{ |
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 SwiftUI | |
struct ContentView: View { | |
@State private var showRedStroke = false | |
@State private var showGreenStroke = false | |
@State private var showBlueStroke = false | |
var body: some View | |
{ | |
ZStack { | |
RadialGradient (gradient: Gradient (colors: [Color.black, Color.black]), | |
center: .center, startRadius: 5, endRadius: 500) |
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
apiVersion: kops/v1alpha2 | |
kind: Cluster | |
metadata: | |
name: $集群名称.k8s.local | |
spec: | |
api: | |
loadBalancer: | |
type: Public | |
authorization: | |
rbac: {} |
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
function check_url($url) { | |
$data = parse_url($url); | |
if (empty($data['scheme']) || empty($data['host'])) { | |
return false; | |
} | |
$url = $data['scheme'] . '://' . $data['host']; | |
if(!filter_var($url, FILTER_VALIDATE_URL)) { | |
return false; |