Skip to content

Instantly share code, notes, and snippets.

View SummonHIM's full-sized avatar
🏠
自宅警备队

SummonHIM SummonHIM

🏠
自宅警备队
View GitHub Profile
@SummonHIM
SummonHIM / SteamRestarter.bat
Last active November 5, 2022 13:04
SteamRestarter - An automate restart Steam batch script (Chinese|GBK)
@echo off
:Head
mode con cols=50 lines=30
set version=4.1
title 一键强制关闭 Steam 客户端
set langAppTitle= 一键强制关闭 Steam 客户端
set langUACTitle= [管理员模式]
set langLine=--------------------------------------------------
@SummonHIM
SummonHIM / set-Support-Link.sh
Last active September 8, 2022 15:35
China android rom use Termux to open "Open Supported Link" page / 大陆安卓系统使用 Termux 打开“打开支持的链接”
@SummonHIM
SummonHIM / CCode.bat
Last active October 9, 2022 04:43
Start VSCode with VSBuild Tool / 配置带有 VS 生成工具的 VSCode
@echo off
if exist "%appdata%\CCode\settings.bat" (
call "%appdata%\CCode\settings.bat"
) else (
mkdir "%appdata%\CCode"
echo set vcVarArch=x64 >"%appdata%\CCode\settings.bat"
call "%appdata%\CCode\settings.bat"
)
for /f "tokens=2 delims==" %%a in ('wmic os get OSLanguage /Value ^| find "OSLanguage"') do set OSLanguage=%%a
@SummonHIM
SummonHIM / build-git-locale.md
Last active April 28, 2025 10:57
Build Git for Windows locale file / 编译 Git for Windows 语言文件(Git for Windows 汉化脚本)

Build Git for Windows locale/language file (English readme)

Exec this command at Windows Git Bash Console.

sh -c "$(curl -fsSL https://gist.github.com/SummonHIM/13027aae9a97b0e4b798bab91d05763d/raw/build-git-locale.sh)"

For ^v2.44.0.windows.1

  1. Download gettext-x.xx.x-x-x86_64.pkg.tar.zst at https://packages.msys2.org/package/gettext
  2. Extract gettextx.xx.x-x-x86_64.pkg.tar.zst/usr to X:\Path\to\your\git\usr

编译 Git for Windows 语言文件 (简中说明)

@SummonHIM
SummonHIM / installTS3.ps1
Last active January 16, 2023 08:50
TeamSpeak 3 中文安装向导
<#
.SYNOPSIS
TeamSpeak 3 中文安装向导
.DESCRIPTION
一个能从 files.teamspeak-services.com 上自动下载并安装 TeamSpeak 3 客户端和(语音)汉化包的脚本。
.PARAMETER ts3FileHost
为 files.teamspeak-services.com 使用反向代理。
@SummonHIM
SummonHIM / 可不 - フォニイ.ass
Last active January 23, 2023 14:46
可不 フォニイ Lyrics 歌词,中文翻译由萌娘百科提供,LRC由ASS转换而来,LRC压缩由灯里的歌词滚动姬提供。
[Script Info]
; Script generated by Aegisub 3.2.2
; http://www.aegisub.org/
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
YCbCr Matrix: None
[Aegisub Project Garbage]
@SummonHIM
SummonHIM / YouthStudy-FinishPage.html
Last active March 13, 2023 09:55
JS实现的青年大学习完成页 - 想法来源:https://finishpage.dgstu.tk/
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title id="title">“青年大学习”</title>
<style>
/* 大学习图片 */
.youthstudy-bg {
@SummonHIM
SummonHIM / url-player.html
Created February 26, 2023 12:02
网页 URL 播放器
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网页 URL 播放器</title>
</head>
<body>
<video controls width="100%" height="100%" style="position: fixed;left: 0; top: 0;" id="player">
@SummonHIM
SummonHIM / CreamAPI-Switcher.en.bat
Last active June 29, 2023 11:23
CreamAPI Switcher
@echo off
rem Please create a folder call creamapi in steam_api.dll's folder then copy CreamAPI DLL file in it.
set creamDllFolder=creamapi
set /A counter=0
if exist "steam_api.dll" (
if not exist "%creamDllFolder%/steam_api.dll" (
msg %USERNAME% Error: %creamDllFolder%/steam_api.dll missing! Please check the CreamAPI folder.
exit 1
)
@SummonHIM
SummonHIM / FaceFusionChinese.md
Last active August 2, 2025 17:02
Face Fusion Chinese Language Patch

FaceFusionChinese

FaceFusion 换脸程序的中文翻译文件

Usage/使用方法

  1. 按照官方安装教程安装 FaceFusion
  2. 打开FaceFusion\facefusion\wording.py将下方文本替换上去即可。

Compatible version/适用版本

3.0.0