Docker:
PS1='\[\e[38;5;172m\]\u\[\e[0m\]@\[\e[38;5;39m\]FPM🐋\[\e[0m\]:\[\e[38;5;250m\]\w\[\e[0m\]\$ '
| SET NAME_PREFIX=PC | |
| chcp 1251 | |
| @echo off | |
| setlocal | |
| Reg.exe query "HKU\S-1-5-19\Environment" | |
| If Not %ERRORLEVEL% EQU 0 ( | |
| Cls & Echo Необходимо запустить файл с правами администратора! | |
| Pause & Exit |
| Windows Registry Editor Version 5.00 | |
| ;Remove 'Give access to' Context Menu in Windows 10 | |
| [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Sharing] | |
| [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ModernSharing] | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Sharing] | |
| [-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Sharing] | |
| [-HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandlers\Sharing] | |
| [-HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers\Sharing] | |
| [-HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Sharing] |
| How to move | |
| mkdir /vmfs/volumes/destination_datastore/SomeVM | |
| vmkfstools -i /vmfs/volumes/source_datastore/SomeVM/SomeVM.vmdk /vmfs/volumes/destination_datastore/SomeVM/SomeVM.vmdk -d thin | |
| Copy any remaining files (avoiding overwriting the .vmdk files) | |
| find /vmfs/volumes/source_datastore/SomeVM -maxdepth 1 -type f -print0 | grep -v ".vmdk" | while read file; do cp "$file" /vmfs/volumes/destination_datastore/SomeVM; done | |
| If the VM boots up fine, you can remove the VM from the old datastore. | |
| rm -rf "/vmfs/volumes/source_datastore/Some VM" |
| # https://blog.ja-ke.tech/2019/01/21/DS18B20-armbian.html !! | |
| # http://blog.regimov.net/orange-pi-lite2-1-wire/ | |
| # http://oleg.milantiev.com/2019/01/27/orangepi-bmp280-weather-sensor/ | |
| apt-get install mc htop nano curl wget git python3-pip i2c-tools python3-setuptools | |
| dpkg-reconfigure tzdata | |
| git clone https://github.com/xpertsavenue/WiringOP-Zero.git | |
| cd WiringOP-Zero | |
| chmod +x ./build |
| # EditorConfig | |
| # https://gist.github.com/beeyev/da5a065d01a506d0b3d42e794f7aadf9 | |
| # Top-most EditorConfig file | |
| root = true | |
| # General rule: Unix-style newlines with UTF-8 encoding | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf |
| [wsl2] | |
| memory=16GB | |
| swap=10GB | |
| processors=2 | |
| guiApplications=false |
| https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt | |
| https://easylist-downloads.adblockplus.org/bitblock.txt | |
| https://easylist-downloads.adblockplus.org/cntblock.txt |
| <?php | |
| /* | |
| * https://gist.github.com/beeyev/84926af741cdb3ffb099de03a454dbff | |
| */ | |
| $config = new PhpCsFixer\Config(); | |
| return $config | |
| ->setRiskyAllowed(true) | |
| /* @see https://github.com/kubawerlos/php-cs-fixer-custom-fixers */ | |
| ->registerCustomFixers(new PhpCsFixerCustomFixers\Fixers()) |
| # ~/.config/starship.toml | |
| # Get editor completions based on the config schema | |
| "$schema" = 'https://starship.rs/config-schema.json' | |
| # Inserts a blank line between shell prompts | |
| add_newline = true | |
| [directory] | |
| truncation_length = 8 | |
| truncation_symbol = '…/' |
Docker:
PS1='\[\e[38;5;172m\]\u\[\e[0m\]@\[\e[38;5;39m\]FPM🐋\[\e[0m\]:\[\e[38;5;250m\]\w\[\e[0m\]\$ '