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 / reboot-wacom-driver-service.bat
Last active September 24, 2019 14:55
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 / 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][]
def urldecode:
def unhex:
if 48 <= . and . <= 57 then . - 48 elif 65 <= . and . <= 70 then . - 55 else . - 87 end;
def bytes:
def loop($i):
if $i >= length then empty else 16 * (.[$i+1] | unhex) + (.[$i+2] | unhex), loop($i+3) end;
[loop(0)];
def codepoints:
@alirobe
alirobe / reclaimWindows10.ps1
Last active April 20, 2025 23:02
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
### OR take a look at
### https://github.com/HotCakeX/Harden-Windows-Security
@Zenexer
Zenexer / Disable Windows Annoyances.md
Last active January 10, 2025 04:58
Permanently disable Windows Defender and other annoyances in Windows.

Instructions

  • To disable a service, download Disable<Service>.reg and double-click to import. (Replace <Service> with the name of the service you want to disable.)
  • To re-enable a service, download Enable<Service>.reg and double-click to import. (Replace <Service> with the name of the service you want to enable.)

Note that if you save the files by copying them into a text editor, they may need to be saved with Windows-style line endings (\r\n).

Services

@muink
muink / uninstall-hidden-offline-devices-in-windows.md
Last active April 15, 2025 14:31
windows删除/修改隐藏离线网卡设备方法

windows删除除/修改隐藏离线网卡设备方法

一.删除隐藏设备

  1. 打开命令提示符(cmd)
  2. 输入set devmgr_show_nonpresent_devices=1并回车
  3. 或添加环境变量 devmgr_show_nonpresent_devices 并将其值设为 1, 一次设置永久有效
  4. 输入start devmgmt.msc并回车
  5. 点开查看并勾选显示隐藏设备
  6. 卸载那些你想卸载的离线设备(半透明的设备)
@unixcharles
unixcharles / nginx.conf
Last active April 10, 2025 21:52
nginx config for http/https proxy to localhost:3000
#user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;