All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
Discover gists
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
| Log uploaded on Friday, February 20, 2026, 12:35:23 AM | |
| Loaded mods: | |
| Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2) | |
| Core(Ludeon.RimWorld): (no assemblies) | |
| Humanoid Alien Races(erdelf.HumanoidAlienRaces): 0Harmony(av:2.4.1,fv:2.3.6), AlienRace(1.0.0) | |
| Humanoid Alien Races zh-pack(RWZH.ChinesePack.HumanoidAlienRaces): (no assemblies) | |
| [NL] Facial Animation - WIP(Nals.FacialAnimation): FacialAnimation(1.0.0) | |
| NewRatkinPlus[1.6](fxz.Solaris.RatkinRaceMod.odyssey): NewRatkin(1.0.0), SYS(1.0.0.1) | |
| NewRatkinPlus(Solaris.RatkinRaceMod): NewRatkin(1.0.0), SYS(1.0.0.1) | |
| [OA]Ratkin Faction: Oberonia aurea(OARK.RatkinFaction.OberoniaAurea): NightOcean(1.0.0), OberoniaAurea_Frame(1.0.0), OberoniaAurea_Hyacinth(1.0.0), OberoniaAureaYH(1.0.0) |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <user>S-1-5-21-2887815311-2325060425-66072122-1000</user> | |
| <keys> | |
| <key installerType="Unknown" displayName="Sunshine" displayVersion="2025.118.151840"> | |
| <RegistryView>Registry64</RegistryView> | |
| <KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Sunshine</KeyPath> | |
| <DefaultValue /> | |
| <InstallLocation><![CDATA[]]></InstallLocation> | |
| <UninstallString><![CDATA["C:\Program Files\Sunshine\Uninstall.exe"]]></UninstallString> |
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
| /// Ch03 練習:所有權與借用 | |
| /// | |
| /// 將每個 todo!() 替換為正確的程式碼,讓程式通過編譯並印出正確結果。 | |
| /// 執行方式:cargo run -p ch03_ownership_and_borrowing --example exercise_1 | |
| // === 練習 2:用借用計算字串長度 === | |
| // 接受 &str 參考,回傳長度,不取得所有權 | |
| fn string_length(s: &str) -> usize { | |
| todo!("回傳 s 的長度") | |
| } |
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
| #!/bin/bash | |
| # use `-format png` to change output format, converting files at the same time, but then perhaps consider changing the final $img in line 12 to somethingelse_$img | |
| for img in *.jpg *.jpeg *.png; do | |
| if [ -f "$img" ]; then | |
| width=$(identify -format "%w" "$img" 2>/dev/null) | |
| height=$(identify -format "%h" "$img" 2>/dev/null) | |
| if [ -z "$width" ] || [ -z "$height" ]; then | |
| echo "Skipping $img (not a valid image)" | |
| continue | |
| fi |
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
| from os.path import exists | |
| from os.path import join | |
| from os.path import dirname | |
| if not exists(join(dirname(__file__), "wallet_data.py")): | |
| f = open("wallet_data.py", "w", encoding="utf-8") | |
| f.write(f"users_database = ""{"f""" | |
| 'XxXxXxXx':['Щедрый олигарх', 'Password', '7777777777', 7000000.00] |
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
| // === 輔助函式 === | |
| /// 取得 String 的所有權,函式結束時 drop | |
| fn takes_ownership(s: String) { | |
| println!(" 取得所有權:{s}"); | |
| } // s 在這裡被 drop | |
| /// Copy 型別只會複製,不會移動 | |
| fn makes_copy(x: i32) { | |
| println!(" 複製了:{x}"); |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <user>S-1-5-21-2887815311-2325060425-66072122-1000</user> | |
| <keys> | |
| <key installerType="Msi" displayName="WinDirStat" displayVersion="2.2.2"> | |
| <RegistryView>Registry64</RegistryView> | |
| <KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9D026C5A-F643-4F7E-97BF-0D973FA1D06A}</KeyPath> | |
| <DefaultValue /> | |
| <InstallLocation><![CDATA[C:\Program Files\WinDirStat\]]></InstallLocation> | |
| <UninstallString><![CDATA[MsiExec.exe /X{9D026C5A-F643-4F7E-97BF-0D973FA1D06A}]]></UninstallString> |
The complete operational playbook for running LLMs in production.
- P95 Latency: Healthy <2s, Warning 2-5s, Critical >5s
- Error Rate: Healthy <1%, Warning 1-5%, Critical >5%
- Cost/Query: Healthy <$0.05, Warning $0.05-0.20, Critical >$0.20
- Hallucination Rate: Healthy <2%, Warning 2-10%, Critical >10%
NewerOlder