Skip to content

Instantly share code, notes, and snippets.

View muink's full-sized avatar
🍭
🍭 🍭

Anya Lin muink

🍭
🍭 🍭
  • Azeroth land
View GitHub Profile
@unixcharles
unixcharles / nginx.conf
Last active May 27, 2025 09:11
nginx config for http/https proxy to localhost:3000
#user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
@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. 卸载那些你想卸载的离线设备(半透明的设备)
@Zenexer
Zenexer / Disable Windows Annoyances.md
Last active July 14, 2025 03:03
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

@alirobe
alirobe / reclaimWindows10.ps1
Last active May 31, 2026 10:34
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
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:
@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
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
@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}