这是我的 Hugo FixIt 网站

First_post

博客(英语:Blog)是一种在线日记型式的个人网站,借由张帖子章、图片或视频来记录生活、抒发情感或分享信息。博客上的文章通常根据张贴时间,以倒序方式由新到旧排列。

golangCheetSheet

Go Cheat Sheet Index Basic Syntax Operators Arithmetic Comparison Logical Other Declarations Functions Functions as values and closures Variadic Functions Built-in Types Type Conversions Packages Control structures If Loops Switch Arrays, Slices, Ranges Arrays Slices Operations on Arrays and Slices Maps Structs Pointers Interfaces Embedding Errors Concurrency Goroutines Channels Channel Axioms Printing Reflection Type Switch Examples Snippets Files Embedding HTTP Server Credits Most example code taken from A Tour of

golangStart

if-else 语句 注意点: }与 else 是同一行的,因为不是同一行的话编译器会在}后面加上; 可以使用 if statement;condition{}进行编写,但 statement 初

zerotier安装

file storage https://bashupload.com/ use https://github.com/xubiaolin/docker-zerotier-planet to self-host zerotier server bash file that installs docker and docker-compose 1 2 3 4 5 sudo apt-get update sudo apt install docker.io sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version bash file that installs zerotier client 1 curl -s https://install.zerotier.com | sudo bash # Linux系统 bash file that binds ip address to

Kubernetes集群搭建与Kubeflow安装

在科学网络环境下的安装 Master节点 首先配置Kubernetes 1 2 3 4 5 6 7 8 9 10 11 sudo apt-get update sudo apt install docker.io sudo apt-get install -y apt-transport-https ca-certificates curl mkdir -p /etc/apt/keyrings/ sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/

local environment When installing Kubernetes directly in the local environment, user experience might be compromised. Rather than simply updating the Docker image, installing it could potentially clutter the local environment. If there exists a potential conflict, the installation may not succeed. The isolation of the environment ensures that Tailscale, a networking tool, does not influence the local network. However, there are some advantages to installing in the local environment. First, executing computations locally, rather than in the Docker container, can reduce computational overhead.
0%