This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Usage: | |
$ yay -Syu chntpw | |
$ python export-ble-infos.py -s <path-to-your-windows-mount>/Windows/System32/config/SYSTEM | |
$ sudo sh -c 'mv -i bluetooth/ /var/lib | |
""" | |
import os | |
import shutil | |
import subprocess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set /p choice=Do something? [y/N]: | |
if /i '%choice%'=='Y' goto yes | |
pause | |
exit | |
:yes | |
echo Do all of the yes things here! | |
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\shell\Neovim] | |
@="Edit with Neovim" | |
"Icon"="C:\\tools\\neovim\\Neovim\\bin\\nvim-qt.exe" | |
[HKEY_CLASSES_ROOT\*\shell\Neovim\command] | |
@="wt new-tab PowerShell nvim (Get-Item -LiteralPath %1).FullName" |