Skip to content

Instantly share code, notes, and snippets.

View muink's full-sized avatar
🍭
🍭 🍭

Anya Lin muink

🍭
🍭 🍭
  • Azeroth land
View GitHub Profile
@muink
muink / make-xna-fonts-lib.md
Last active March 9, 2019 15:20
制作一个单独的xna字库

制作一个单独的xna字库

你需要的东西

  1. 你要使用的字体(仅非版权字体)
  2. Microsoft Visual Studio C#2010 express[^VS2010Express]
  3. [XNA Game Studio 4.0][]
  4. [CharacterRegionTool(C#)][]
  5. 一个可以可以保存扩展名为"all files"的文本编辑器, 例如([notepad++][])
  6. [XNAFormatter][]或[XNAContentCompiler][]
@muink
muink / reboot-wacom-driver-service.bat
Last active May 8, 2025 04:21
Wacom数位板驱动服务重启
@echo off
taskkill /t /f /im WTabletServicePro.exe
ping -n 3 127.0.0.1>nul
sc stop WTabletServicePro
ping -n 3 127.0.0.1>nul
sc start WTabletServicePro
@muink
muink / AutoInstall.bat
Last active December 6, 2019 10:51
Automatically deploy common public libraries and runtime.
@echo off
echo.Start
pause
pause
echo.Installing OpenAL...
start /w .\OpenAL\OpenAL.exe /s
echo.Installing DirectX...
start /w .\DirectX\directx_Jun2011_redist.exe /q /t:"%tmp%"&"%tmp%\DXSETUP.exe" /silent
echo.Installing .NET4.6.2-zh-cn...
start /w "" ".\NET Framework\4.6.2\NDP462-KB3151800-x86-x64-AllOS-ENU.exe" /q /norestart
@muink
muink / download-offline-installer-from-adobe-official.md
Created August 12, 2017 13:57
下载Adobe官方提供的离线安装包

下载Adobe官方提供的离线安装包

打开https://helpx.adobe.com/tw/creative-cloud/kb/creative-cloud-apps-download.html
0

1

2

选择安装包下载

@muink
muink / Use-the-command-line-to-set-the-system-environment-variables.md
Last active December 10, 2017 14:51
使用命令行设置系统环境变量

在cmd窗口中set设置的环境变量为临时变量,如:

set PATH=%PATH%;D:\Program Files\

使用setx设置为永久环境变量:  

setx PATH "%PATH%;D:\Program Files\"
@muink
muink / AddMacOptions.bat
Last active January 10, 2025 04:59
Mac Options adder
:: Mac Options adder
:: Mac Options adder
:: Author: muink
@echo off&title Mac Options adder&color 3f
:Main
setlocal enabledelayedexpansion
set Class=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class
set Network=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network
set GUID={4D36E972-E325-11CE-BFC1-08002BE10318}
@muink
muink / manually-repair-system-bootloader-on-uefi-gpt.md
Last active February 20, 2021 08:23
windows传统bios无损转uefi启动(重建uefi引导)

windows传统bios无损转uefi启动(重建uefi引导)

[toc]

引导区别

BIOS: 指定的磁盘0扇区mbr处引导代码 > 活动分区pbr处引导代码 > 活动分区中的引导文件 > 读取引导配置 > 引导指定系统
UEFI: 指定的磁盘的指定分区的\EFI\Boot\bootx64.efi应用(一般是ESP分区) > 读取引导配置 > 引导指定系统

前期准备

@muink
muink / U+B+-mount-tool.bat
Last active April 19, 2020 11:39
U+B+隐藏区挂载工具
:: U+B+隐藏区挂载工具
:: 用于挂载UtlraISO/BOOTICE隐藏分区
:: Author: muink
@echo off
%~1 mshta vbscript:createobject("shell.application").shellexecute("%~f0","::","","runas",1)(window.close)&exit
color 3b
title U+B+隐藏区挂载工具
:check
bootpart -help>nul 2>nul
@muink
muink / Win7_sp2.md
Last active August 20, 2025 12:47
Windows 7 x64 镜像整合 (ie11 sp2 sha-2 xhci NVMe uefi 规避硬件检查 常用运行库)

Windows 7 x64 镜像整合 (ie11 sp2 sha-2 xhci NVMe uefi 规避硬件检查 常用运行库)

[toc]

工具与材料准备

  1. Windows 7 64位 MSDN 镜像