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*'
| <?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.
| #!/usr/bin/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |