Skip to content

Instantly share code, notes, and snippets.

Win + Ctrl + Shift + B

Win + Ctrl + Shift + B

🪟 + Control + ⬆️ + b

dism /online /cleanup-image /restorehealth
netsh wlan show profile
netsh wlan show profile [NETWORK NAME] key=clear
View Network Connections, control panel app.
Right click on your Wi-Fi connection icon and select Status.
Click the Wireless Properties button.
Click the Wireless Properties Button.
Click the Security tab.
for /L %i in (1,1,254) do @ping 192.168.1.%i -w 1 -n 1 ¦find /i "TTL="
@Computer-Tsu
Computer-Tsu / Mac OS X Password Reset Single User Mode.md
Last active November 18, 2025 15:06
Change the Admin Password with Mac OS X Single User Mode

OS X Lion, Mountain Lion, and later For users with OS X 10.7.3 and later, including OS X 10.8+ Mountain Lion, up to _...

Resetting a user account password will not unlock the Keychain Access (stored passwords for other websites, Wi-Fi, networks). You may be able to still recovery passwords to accounts that were saved in web browser aps.

It is important to know the hardware and which Mac OS is on the computer. You can go to EveryMac.com and they have a good guide to find the serial number and they can also tell you the exact model based on the SN (including original and last supported OS).

Starting with 'old' Macs, here are the commands to reset a password.
Change the Admin Password with Mac OS X Single User Mode | OSXDaily

@Computer-Tsu
Computer-Tsu / Windows Safe Mode Install Uninstall.cmd
Created June 27, 2023 02:22
How to Run Windows Installer in Safe Mode Windows 10 with Command Prompt
REM How to Run Windows Installer in Safe Mode Windows 10 with Command Prompt
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service"
net start msiserver
@Computer-Tsu
Computer-Tsu / Prompt.txt
Last active November 20, 2025 14:51
Command prompt SET PROMPT for Microsoft Windows CMD
set prompt=$T$H$H$H$H$H$H$S%computername%\%username%$S$M$P$+$G
22:14 DESKTOP\User C:\Users\User>
set prompt=$T$H$H$H$H$H$H$S%UserName%@%ComputerName%$B$M$P$+$G
@Computer-Tsu
Computer-Tsu / Powertoys PowerRename
Last active January 13, 2025 16:55
Recipes for using PowerRename tool in Microsoft PowerToys
append extension
($)
.txt
replace or remove string in the middle of the filename {1}
@Computer-Tsu
Computer-Tsu / #Protection
Last active November 4, 2025 16:06
Protection from Internet, malware, websites, URLs
Collection of DNS service IPs and URLs for blocking malware
@Computer-Tsu
Computer-Tsu / Outages.md
Last active November 4, 2025 16:06
Check for power, Internet, and other Outages
  • If you choose to unplug any computers, make sure you unplug both the power (UPS), ethernet (network) and phone lines. This ensures maximum isolation from lightning surges.
  • I’d recommend putting computers, powerstrips, and other electronics at least several inches above the floor. Move things away from windows if possible or turn off and cover with a garbage bag. If you can smell the ocean, definitely store electronics in a bag high off the floor.
  • Store your flash drives, USB drives in a sealed bag. Backup your files twice!
    • Reference DS57407 with DriveSavers.com for a discount.

Power maps for