Skip to content

Instantly share code, notes, and snippets.

@ChaosJohn
ChaosJohn / download_workstation.ps1
Created July 12, 2025 13:58 — forked from jetfir3/download_workstation.ps1
Download VMware Workstation for Windows without a Broadcom Account
<#
.SYNOPSIS
Download VMware Workstation for Windows without a Broadcom Account
.DESCRIPTION
This script fetches available VMware Workstation versions from Broadcom's update servers,
allows the user to select a version in a two-step process (base, then full), and downloads
the installer using a Cloudflare CDN mirror. It then extracts the installer from the downloaded .tar archive.
.PARAMETER KeepCompressed
If specified, the script will not extract the .exe from the downloaded .tar file.
.PARAMETER Version
@ChaosJohn
ChaosJohn / download_workstation.sh
Created July 12, 2025 13:58 — forked from jetfir3/download_workstation.sh
Download VMware Workstation for Linux without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Workstation for Linux without a Broadcom account
#
# Use '-k' to keep the download file compressed, exiting after download.
# Use '-v <Version>' to specify desired version (12.0.0 or higher required).
BASE_URL="https://softwareupdate-prod.broadcom.com/cds/vmw-desktop/"
CDN_MIRROR="softwareupdate-prod.broadcom.com:443:softwareupdate-prod.broadcom.com.cdn.cloudflare.net:443"
@ChaosJohn
ChaosJohn / download_fusion.sh
Created July 12, 2025 13:58 — forked from jetfir3/download_fusion.sh
Download VMware Fusion Pro Without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Fusion for macOS without Broadcom account
#
# Use '-k' to keep the download file compressed, exiting after download.
# Use '-v VERSION' to specify desired version (13.0.0 or higher required).
BASE_URL="https://softwareupdate-prod.broadcom.com/cds/vmw-desktop"
CDN_MIRROR="softwareupdate-prod.broadcom.com:443:softwareupdate-prod.broadcom.com.cdn.cloudflare.net:443"
@ChaosJohn
ChaosJohn / Speedtest CLI by Ookla.md
Created December 7, 2023 02:48 — forked from itsChris/Speedtest CLI by Ookla.md
Speedtest CLI by Ookla
<title>Speedtest CLI by Ookla</title>
@ChaosJohn
ChaosJohn / go_port_forwarding.go
Created December 20, 2022 06:52 — forked from qhwa/go_port_forwarding.go
network port forwarding in go lang
package main
import (
"fmt"
"io"
"net"
)
func main() {
ln, err := net.Listen("tcp", ":8080")
@ChaosJohn
ChaosJohn / Xcode 文件下载.md
Created December 11, 2022 13:35 — forked from PeterChenug/Xcode 文件下载.md
Xcode 文件下载

在 Xcode 里下载文件真的是一种折磨, 特别是每次 Xcode 大版本更新都会遇到新的下载内容. 经过一翻周折, 本人找到一个方法可以轻松快速便捷地下载和安装对应的 Simulator 和 Doc 文件

  1. 在 Mac 下, 打开 Xcode, 进入 Preference 中的 Downloads 面板
  2. 点击任意的下载按钮
  3. 打开系统帮助工具 Console
  4. 稍等一会儿, 在 Xcode 里取消下载, 然后你会在 Console 里面看到对应的下载地址 (对应的 Cosnole Message 是 (DVTDownloadable: Download Cancelled. Downloadable: ...) 之类的)
  5. 复制对应的链接地址, 到某雷或者任何比 Xcode 下载快的工具里
  6. 等待下载完成, 进入 /Users/#{Username}/Library/Caches
@ChaosJohn
ChaosJohn / k3s_on_alpine.md
Created November 27, 2022 13:37 — forked from ruanbekker/k3s_on_alpine.md
Install k3s on Alpine Linux
$ apk add --no-cache curl
$ echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> /etc/fstab

$ cat > /etc/cgconfig.conf <<EOF
mount {
  cpuacct = /cgroup/cpuacct;
  memory = /cgroup/memory;
  devices = /cgroup/devices;
  freezer = /cgroup/freezer;
@ChaosJohn
ChaosJohn / patch.sh
Created November 6, 2022 15:16 — forked from jakeajames/patch.sh
Make h3lix work when installed not-via-Impactor. To be used with the latest h3lix.
if [ $# != 2 ]; then
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa"
exit 1
fi
if ! [ -f $1 ]; then
echo "'$1' does not exist"
exit 1
fi
@ChaosJohn
ChaosJohn / __init__py
Last active January 18, 2022 05:18 — forked from seanbehan/app.py
Flask with Django ORM
"""
Located under app/
"""
import os
from django.apps import apps
from django.conf import settings
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
@ChaosJohn
ChaosJohn / config.json
Created July 2, 2019 14:49 — forked from wd/config.json
路由器梅林固件上面使用 v2ray 的方案
{
"log": {
"loglevel": "none"
},
"inbound": {
"port": 23456,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": true