我修改的地方:
-
添加假装分享,全局变量可自行开关,默认开启。
-
修改最后一条视频循环收藏分享两次为最后两条视频分别分享收藏。
| //普通POST请求 | |
| resp, err := http.Post( | |
| "http://xxxx.com", | |
| "application/x-www-form-urlencoded", | |
| strings.NewReader(bodyStr)) | |
| if err != nil { | |
| fmt.Println(err) | |
| } | |
| defer resp.Body.Close() |
| /* | |
| Go-Language implementation of an SSH Reverse Tunnel, the equivalent of below SSH command: | |
| ssh -R 8080:127.0.0.1:8080 operatore@146.148.22.123 | |
| which opens a tunnel between the two endpoints and permit to exchange information on this direction: | |
| server:8080 -----> client:8080 |
| #!/usr/bin/env sh | |
| ##### INIT ##### | |
| set -ex | |
| active_response_path=$( | |
| cd "$(dirname "$0")" | |
| pwd | |
| ) | |
| read line |
This worked for me on M1 Pro 2021 with MacOS Ventura, original method was for Big Sur but I changed it using a different type of domain block since the old method doesn't work anymore:
First of all, if you want to trigger the notification you can use this command:
sudo profiles show -type enrollment
Now we will start. First block your Mac from reaching the domain iprofiles.apple.com. For this you can use your hosts file like:
echo "0.0.0.0 iprofiles.apple.com" | sudo tee -a /etc/hosts
or blocking them from your firewall.
| #!/usr/bin/env bash | |
| # Download VMware Fusion for macOS without a Broadcom account. | |
| # | |
| # This script allows you to download various versions of VMware Fusion | |
| # from Broadcom's Cloudflare CDN (versions 8.0.0 to 13.6.3) | |
| # or from the archive.org VMware Workstation archive (versions 8.x.x+). | |
| # | |
| # Options: | |
| # -k: Keep the downloaded file compressed (Cloudflare only; ignored for archive.org). |