Hardware:
- Raspberry Pi 4 (4GB RAM)
- Micro SD card 32GB
- 2x Integral USB 3.1 flash drives 128GB
OS:
- Raspbian Buster
| <?php | |
| // https://www.jetbrains.com/help/inspectopedia/PHP.html | |
| /** @noinspection ? */ | |
| // PhpObjectFieldsAreOnlyWrittenInspection Local object is used only for writing properties | |
| // PhpUndefinedGotoLabelInspection Undefined goto label | |
| // PhpUndefinedVariableInspection Undefined variable | |
| // PhpUndefinedMethodInspection Undefined method |
Make sure to export/import your settings through File -> Manage IDE settings before/after
Remove-Item '.\AppData\Local\Jetbrains\PhpStorm*'
Remove-Item '.\AppData\Roaming\Jetbrains\PhpStorm*'
| lshw -short -C memory |
| <?php | |
| declare(strict_types=1); | |
| use Rector\Config\RectorConfig; | |
| use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector; | |
| use Rector\Php71\Rector\FuncCall\CountOnNullRector; | |
| use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector; | |
| use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector; | |
| use Rector\Php80\Rector\Class_\StringableForToStringRector; |
Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
| = Install prython 3.10 | |
| https://computingforgeeks.com/how-to-install-python-on-ubuntu-linux-system/ | |
| sudo apt update && sudo apt upgrade -y | |
| sudo apt install software-properties-common -y | |
| sudo add-apt-repository ppa:deadsnakes/ppa | |
| sudo apt install python3.10 | |
| = install pip for p 3.10 |
| sudo add-apt-repository ppa:git-core/ppa -y | |
| sudo apt-get update | |
| sudo apt-get install git -y | |
| git --version |
| SELECT SUBSTRING(REPLACE(REPLACE(REPLACE( TO_BASE64(MD5(RAND())), '=',''),'+',''),'/',''), 2, 8); | |
| SELECT SUBSTRING(REPLACE(REPLACE(REPLACE( TO_BASE64(MD5(RAND())), '=',''),'+',''),'/',''), 2, FLOOR(10+RAND()*31)); |