颈椎病的康复治疗

关节松动术练习 1. 颈部侧向弯曲 步骤: 坐或站直,双肩放松。 缓慢将头向右侧倾斜,尝试将右耳靠近右肩,但不要抬起肩膀。 保持这个姿势5-10秒,然后恢

Desktop Customization

Ever wanted to have custom text displayed on your Windows desktop that stays visible regardless of your background image? Whether it’s a motivational quote, a reminder, or any message you want to keep in sight, you can achieve this using a tool called Rainmeter. Rainmeter is a powerful desktop customization tool that allows you to add various widgets, including text, to your desktop. Follow this guide to learn how to

Smelly Feet Solutions

Feet can smell bad due to a combination of factors, including sweat, bacteria, and fungus. Here’s why: Sweat: Feet contain a high concentration of sweat glands, and when sweat accumulates, it creates a moist environment ideal for bacteria and fungi to thrive. Bacteria: The bacteria that naturally live on your skin can break down sweat into acids, leading to unpleasant odors. Fungus: Fungi like athlete’s foot can also contribute to

Google Project Management Specialization

Course 1: Foundations of Project Management Embarking on a Career in Project Management Introduction to Project Management Career: Understand the multifaceted nature of project management careers, including the variety of industries and sectors where project managers are in demand. Explore the roles and responsibilities of project managers, such as planning, organizing, leading, and controlling projects to achieve specific objectives. Key Skills and Competencies: Identify and define the core skills and competencies required for effective project management, including technical skills (e.

Customer relationship management

Customer relationship management (CRM) is a process in which a business or other organization administers its interactions with customers, typically using data analysis to study large amounts of information. The CRM systems typically have a dashboard that gives an overall view of the three functions on a single customer view, a single page for each customer that a company may have. The dashboard may provide client information, past sales, previous marketing efforts, and more, summarizing all of the relationships between the customer and the firm.

Enterprise resource planning

Enterprise resource planning (ERP) is the integrated management of main business processes. ERP is usually referred to as a category of business management software—typically a suite of integrated applications—that an organization can use to collect, store, manage and interpret data from many business activities. Enterprise resource planning (ERP) systems help organizations manage their businesses with efficiency and flexibility—bringing together finance, manufacturing, retail, supply chain, warehouse, and inventory. Supply Chain Management Supply chain planning Optimize demand planning Improve forecast accuracy with AI-powered predictions and historical data.

Kong for Kubernetes

Install Kong Ingress Controller for Kubernetes Install the Gateway API CRDs Install the Gateway API CRDs before installing Kong Ingress Controller. 1 $ kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/standard-install.yaml Create a Gateway and GatewayClass instance to use. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 echo " --- apiVersion: gateway.networking.k8s.io/v1 kind: GatewayClass metadata: name: kong annotations: konghq.com/gatewayclass-unmanaged: 'true' spec: controllerName: konghq.

Developing and debugging services locally using telepresence

Install Telepresence on Your Machine 1 2 sudo curl -fL https://app.getambassador.io/download/tel2/linux/amd64/latest/telepresence -o /usr/local/bin/telepresence sudo chmod a+x /usr/local/bin/telepresence Install Telepresence in Your Cluster 1 telepresence helm install try running kubectl get pods in the Ambassador namespace to see if the traffic manager is there? 1 kubectl get pods -n ambassador Intercept Your Service Connect to your cluster with telepresence connect and connect to the Kubernetes API server: 1 telepresence connect 1 curl -ik https://kubernetes.

Vault with Kubernetes

What is Vault? HashiCorp Vault vs Key Management Service HashiCorp Vault HashiCorp Vault is designed to be a full secrets managements solution. It is capable of storing encrypted data, generating dynamic credentials like database passwords or IAM credentials, and encrypted data as a pass-through. It aims to be a single source for secrets in a cloud-agnostic way. HashiCorp Vault runs as a service. As a tradeoff for these more advanced features, you’ll need to run Vault yourself, manage HA, setup on-call, etc.

Istio Service Mesh on Minikube

Platform Setup Minikube 1 $ sudo pacman -S minikube libvirt qemu-desktop dnsmasq iptables-nft 1 2 3 4 $ sudo usermod -aG libvirt $(whoami) $ sudo systemctl start libvirtd.service $ sudo systemctl enable libvirtd.service $ sudo systemctl status libvirtd.service 1 $ virt-host-validate set the kvm2 provider in minikube: 1 $ minikube config set driver kvm2 With minikube you can quickly create a local Kubernetes cluster. To get started, use the following flags:

Consul Service Discovery and Service Mesh on Minikube

Create a Minikube cluster With minikube you can quickly create a local Kubernetes cluster. To get started, use the following flags: --profile sets the cluster name to dc1. --memory sets the cluster to use 4GB of memory. --kubernetes-version specifies the cluster kubernetes version to v1.22.0. 1 minikube start --profile dc1 --memory 4096 --kubernetes-version=v1.22.0 Deploy Consul Create a values file To customize your deployment, create a values.yaml file to customization your Consul deployment.

Transactional workflows in a microservices architecture

In a traditional enterprise application, all of the data that you need to complete a request is stored in a single database that has ACID properties (the term ACID stands for atomicity, consistency, isolation, and durability). Therefore, you can guarantee consistency by using the transactional features of the relational database system. End-to-end transactions in microservices In microservices architectures, an end-to-end transaction might span multiple services. Each service might provide a specific capability and have its own independent database.

Dependency injection

Dependency inversion is principle, inversion of control (IoC) is a design pattern, dependency injection is implementation technology. Dependency inversion principle In object-oriented design, the dependency inversion principle is a specific methodology for loosely coupled software modules. High-level modules should not import anything from low-level modules. Both should depend on abstractions (e.g., interfaces). Abstractions should not depend on details. Details (concrete implementations) should depend on abstractions. Inversion of control In software engineering, inversion of control (IoC) is a design pattern in which custom-written portions of a computer program receive the flow of control from a generic framework.

Submit package to AUR

Creating a PKGBUILD 1 vim PKGBUILD 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 # Maintainer: YeZheng <csyezheng@gmail.com> pkgname=a2fa pkgver=0.16.2 pkgrel=1 pkgdesc="a2fa (annoying two-factor authentication) is a command line tool for generating and validating one-time password." arch=('x86_64') url="https://github.com/csyezheng/a2fa" license=('Apache') makedepends=('go') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") sha256sums=('0E9C5891854EF1C46B0CC452285325ABBBB227A04E8A2869EA931CD819522789') prepare() { cd "$pkgname-$pkgver" mkdir -p build/ } build() { cd "$pkgname-$pkgver" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" go build -o build/$pkgname .

Submit packages to Fury

Prepare Install goreleaser 1 2 3 echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list sudo apt update sudo apt install goreleaser Install nfpm 1 2 3 echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list sudo apt update sudo apt install nfpm Configuration 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 # .

Submit packages to Homebrew

Prepare Fork Homebrew/homebrew-core repository on GitHub. 1 cd $(brew --repository homebrew/core) 1 git remote add <YOUR_USERNAME> https://github.com/<YOUR_USERNAME>/homebrew-core.git Create new branch 1 git checkout master 1 brew update 1 git checkout -b <PROJECT_NAME> origin/master Create Formula 1 brew create https://github.com/csyezheng/a2fa/releases/download/v0.16.5/a2fa_Darwin_x86_64.tar.gz 1 vim Formula/a2fa.rb 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 class A2fa < Formula desc "Command-line tool for generating

Submit packages to PPA

Creating a new GPG key 1 sudo apt install gnupg 1 gpg --full-gen-key 1 RSA (sign only) 1 2 # 4096 bits 4096 1 2 # key does not expire 0 1 y 1 2 3 pub rsa4096 2023-11-14 [SC] 5880510D3E9E0179D3E734F8BBA5403519EC0AE7 uid Ye Zheng <csyezheng@gmail.com> 1 vim .zshrc 1 2 3 4 5 6 7 8 DEBEMAIL="csyezheng@gmail.com" DEBFULLNAME="Ye Zheng" export DEBEMAIL DEBFULLNAME DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -I -us -uc" DEBUILD_LINTIAN_OPTS="-i -I --show-overrides" DEBSIGN_KEYID="5880510D3E9E0179D3E734F8BBA5403519EC0AE7"

Submit packages to Snap Store

1 sudo snap install snapcraft --classic Creating a snap Creating snapcraft.yaml 1 2 mkdir a2fa-snap cd a2fa-snap 1 snapcraft init 1 vim snap/snapcraft.yaml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 name: a2fa base: core22 version: git summary: a2fa is a command line tool for generating and validating one-time password. description: | a2fa means