anduin / Autoseed.sh
0 Lajky
0 Forky
3 Soubory
Naposledy aktivní 3 months ago
Seed all torrent files under current folder.
| 1 | #!/usr/bin/env bash |
| 2 | set -euo pipefail |
| 3 | |
| 4 | # ----------------------------------------------------------------------------- |
| 5 | # 依赖检查:aria2c、tmux 和 ufw(如果存在) |
| 6 | # ----------------------------------------------------------------------------- |
| 7 | if ! command -v aria2c &> /dev/null; then |
| 8 | echo "[INFO] Installing aria2..." |
| 9 | sudo apt-get update && sudo apt-get install -y aria2 |
| 10 | fi |
anduin / compare_manifest
0 Lajky
0 Forky
2 Soubory
Naposledy aktivní 7 months ago
Compare two manifest files and list packages present in the first but not the second.
| 1 | # 保存脚本为 compare_manifests.py,并赋可执行权限 |
| 2 | chmod +x compare_manifests.py |
| 3 | |
| 4 | # 运行脚本,依次传入 Ubuntu、Zorin、Anduin 三个 manifest 文件路径 |
| 5 | ./compare_manifests.py \ |
| 6 | "/media/anduin/Ubuntu 25.04 amd64/casper/filesystem.manifest" \ |
| 7 | "/media/anduin/Zorin OS 17.3 Core 64bit/casper/filesystem.manifest" \ |
| 8 | "/media/anduin/anduinos/casper/filesystem.manifest" |
anduin / Convert cb files to EP cached fle.
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 9 months ago
| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.IO; |
| 4 | using System.IO.Compression; |
| 5 | using System.Text.Json; |
| 6 | |
| 7 | namespace JsonToGzip |
| 8 | { |
| 9 | class Program |
| 10 | { |
anduin / Unlist all versions of a nuget package
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 11 months ago
| 1 | # 示例:对多个包执行Unlist操作 |
| 2 | $packages = @( |
| 3 | "Aiursoft.Archon.SDK", |
| 4 | "Aiursoft.Developer.SDK", |
| 5 | "Aiursoft.Directory.SDK", |
| 6 | "Aiursoft.DocGenerator.Abstract", |
| 7 | "Aiursoft.DotDownload.Core", |
| 8 | "Aiursoft.Dotlang.Core", |
| 9 | "Aiursoft.Gateway.SDK", |
| 10 | "Aiursoft.Handler", |