Skip to content

Instantly share code, notes, and snippets.

@baobuiquang
Last active August 19, 2025 08:00
Show Gist options
  • Select an option

  • Save baobuiquang/c53b12276acf9135b4bff3d887ee5802 to your computer and use it in GitHub Desktop.

Select an option

Save baobuiquang/c53b12276acf9135b4bff3d887ee5802 to your computer and use it in GitHub Desktop.

Set default Python on Windows:

py -0
setx PY_PYTHON 3.10

Allow Python venv can be activated:

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

Bypass wifi when install Windows:

Shift + F10
OOBE\BYPASSNRO

Restore the old Context Menu in Windows 11 (No need to Shift + Right Click):

reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

Directories:

  • SSH Keys:
    C:\Users\<USERNAME>\.ssh
    
  • VSCode Settings:
    C:\Users\<USERNAME>\AppData\Roaming\Code\User\settings.json
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment