xattr -d com.apple.quarantine /Applications/YourApp.app
This file contains hidden or 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
| sudo apt update | |
| sudo apt install -y tcpdump net-tools iptables wget nmap telnet man lsof ipvsadm ipset |
This file contains hidden or 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
| kind: Deployment | |
| metadata: | |
| name: web | |
| namespace: default | |
| spec: | |
| replicas: 2 | |
| selector: | |
| matchLabels: | |
| app: nginx | |
| template: |
This file contains hidden or 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: v1 | |
| kind: Namespace | |
| metadata: | |
| labels: | |
| k8s-app: flannel | |
| pod-security.kubernetes.io/enforce: privileged | |
| name: kube-flannel | |
| --- | |
| apiVersion: v1 | |
| kind: ServiceAccount |
This file contains hidden or 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
| tee > cri-docker.socket < EOF | |
| [Unit] | |
| Description=CRI Docker Socket for the API | |
| PartOf=cri-docker.service | |
| [Socket] | |
| ListenStream=%t/cri-dockerd.sock | |
| SocketMode=0660 | |
| SocketUser=root | |
| SocketGroup=docker |
This file contains hidden or 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: kubeadm.k8s.io/v1beta4 | |
| kind: InitConfiguration | |
| nodeRegistration: | |
| criSocket: unix:///run/cri-dockerd.sock | |
| --- | |
| apiVersion: kubeadm.k8s.io/v1beta4 | |
| kind: ClusterConfiguration | |
| networking: | |
| serviceSubnet: 10.244.0.0/16 | |
| --- |
This file contains hidden or 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
| # Add cloudflare gpg key | |
| sudo mkdir -p --mode=0755 /usr/share/keyrings | |
| curl -fsSL https://pkg.cloudflare.com/cloudflare-main.gpg | sudo tee /usr/share/keyrings/cloudflare-main.gpg >/dev/null | |
| # Add this repo to your apt repositories | |
| echo 'deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared any main' | sudo tee /etc/apt/sources.list.d/cloudflared.list | |
| # install cloudflared | |
| sudo apt-get update && sudo apt-get install cloudflared |
This file contains hidden or 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
| sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl | |
| curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg | |
| curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list | |
| chmod o+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg | |
| chmod o+r /etc/apt/sources.list.d/caddy-stable.list | |
| sudo apt update | |
| sudo apt install caddy |
This file contains hidden or 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
| bilibili.com | |
| *.bilibili.com | |
| bilivideo.com | |
| *.bilivideo.com | |
| jrkan2023.com | |
| *.jrkan2023.com | |
| yoozhibo.net | |
| *.yoozhibo.net | |
| qq.com | |
| *.qq.com |
This file contains hidden or 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
| services: | |
| redis: | |
| container_name: redis | |
| image: redis:4.0 | |
| ports: | |
| - 6379:6379 | |
| restart: always | |
| volumes: | |
| - ./data:/data | |
| - ./redis.conf:/usr/local/etc/redis/redis.conf |
NewerOlder