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
# 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 |
dig @nameserver txt/mx example.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: | |
mysql: | |
container_name: mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: 12345678 | |
image: mysql:5.7.43 | |
ports: | |
- "3306:3306" | |
restart: always | |
volumes: |
ssh-agent # run
ssh-add key.pem # add private key
ssh-add -D # clean private key