这次改动分为两个独立 patch:
rabbit.patch:修改 Rabbit 主仓库。librime-ahk.patch:修改Lib/librime-ahk子模块。
两者需要同时应用,但代码职责彼此分离。
| # Direct run might be denied | |
| $pkg = Get-AppxPackage -Name OpenAI.Codex | |
| & "$($pkg.InstallLocation)\app\ChatGPT.exe" --proxy-server=http://localhost:7890 |
| P0;0;0q"1;1;800;800#0;2;98;43;34#1;2;100;44;33#2;2;100;48;37#3;2;99;55;43#4;2;1;17;77#5;2;25;49;96#6;2;100;70;56#7;2;100;93;84#8;2;100;100;100#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-#2!100~#3!200~#2!100~#0!200~#3!200~-!100o!200N#2!100N#3!200?!100N!100~$#2!100N!100o#0!200o!200~!100o-#3!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3!100~-!100~#2!100~#0!500~#3! |
| $env:RESTIC_REPOSITORY = "E:\Documents\Backup\restic-immich" | |
| $env:RESTIC_PASSWORD = "XXXXXXXXXXXXXXXX" | |
| $BaseDir = "F:" | |
| $UploadLocation = "$BaseDir\library" | |
| Write-Host "Begin database dumping..." | |
| [System.IO.File]::WriteAllLines("F:\library\database-backup\immich-database.sql", (docker exec -t immich_postgres pg_dumpall --clean --if-exists --username=postgres)) |
| /*! | |
| * Dolphin for Gazelle v1.0 | |
| * Copyright 2020 ZexWoo 年份更新过了 | |
| * Thanks to Redacted | |
| */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| } |
| <# : | |
| @echo off | |
| start /b powershell /windowstyle hidden /nologo /noprofile /command ^ | |
| "&{[ScriptBlock]::Create((cat """%~f0""") -join [Char[]]10).Invoke(@(&{$args}%*))}" | |
| exit /b | |
| #> | |
| param( | |
| [Parameter(Mandatory=$false)] | |
| [string]$CultureName, |
| Windows Registry Editor Version 5.00 | |
| ; Change Extension's File Type | |
| [HKEY_CURRENT_USER\Software\Classes\.jpg] | |
| @="PhotoViewer.FileAssoc.Tiff" | |
| ; Change Extension's File Type | |
| [HKEY_CURRENT_USER\Software\Classes\.jpeg] | |
| @="PhotoViewer.FileAssoc.Tiff" | |
| ; Change Extension's File Type | |
| [HKEY_CURRENT_USER\Software\Classes\.gif] | |
| @="PhotoViewer.FileAssoc.Tiff" |
| # Rime schema settings | |
| # encoding: utf-8 | |
| schema: | |
| schema_id: smyh.base | |
| name: 吉旦餅·基礎碼表 | |
| description: | | |
| 可以打字。 | |
| engine: |
| <!DOCTYPE html><html><head><meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <meta name="format-detection" content="telephone=no,date=no"> | |
| <title>键道安装</title> | |
| <style> | |
| body { | |
| font-family: system-ui; | |
| font-size: 0.95em; | |
| margin-top: 1rem; | |
| margin-bottom: calc(1rem + env(safe-area-inset-bottom)); |
| # Rime schema | |
| # encoding: utf-8 | |
| schema: | |
| schema_id: gedao | |
| name: 格道双拼 | |
| version: "1.0.0" | |
| author: | |
| - fkxxyz (四叶草拼音词库) | |
| - 吅吅大牛 (格道17键双拼布局) |