This workflow uses the GitHub CLI to keep a forked repo in sync with the upstream repo. Add it to your repo as .github/workflows/sync-fork.yaml
.
It runs daily to sync the default branch and can be triggered manually for any branch.
#!/bin/bash | |
# I have managed to map out some undesirable daemons and agents. Most of these | |
# can be disabled without too much consequence. | |
## Daemons | |
# com.apple.analyticsd - Anonymized application analytics daemon | |
# com.apple.appleseed.fbahelperd - Feedback Assistant Helper Daemon | |
# com.apple.awacsd - Apple Wide Area Connectivity Service Daemon | |
# com.apple.backupd - Apple TimeMachine service |
This is a copy from another gist | |
https://raw.githubusercontent.com/Wyvern/macos/master/macOS | |
does crash crapos err macos 11 atr this time i am testing and fixing as i go. | |
so far fixes apps that wont bloody install | |
(thanks apple for telling me what i can and can't run on my GD machine that cost as much as a used car) |
Make sure that Mac Firewall allows incoming connection
cd <dir>
# Start WebDAV server
sudo wfsctl start
# Check status
sudo wfsctl status
# Share current directory
sudo wfsctl share $PWD
DOMAIN-SUFFIX, 3g.qq.com | |
DOMAIN-SUFFIX, 4g.qq.com | |
DOMAIN-SUFFIX, monitor.uu.qq.com | |
DOMAIN-SUFFIX, bugly.qq.com | |
DOMAIN-SUFFIX, act.qq.com | |
DOMAIN-SUFFIX, adsfile.qq.com | |
DOMAIN-SUFFIX, beacon.qq.com | |
DOMAIN-SUFFIX, e.qq.com | |
DOMAIN-SUFFIX, gdt.qq.com |
### 内核调整 ### | |
# 增加文件句柄和索引节点缓存的大小 | |
fs.file-max = 2097152 | |
# 减少交换 | |
vm.swappiness = 10 | |
vm.dirty_ratio = 60 | |
vm.dirty_background_ratio = 25 |
IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。