Append this to your ~/.zshrc file.
function preexec() {
timer=$(($(date +%s%0N)/1000000))| Place the TraitMakeCommand.php file inside App\Console\Commands | |
| Place the trait.stub file inside App\Console\Commands\stubs |
| cd $HOME/Android/Sdk/tools | |
| emulator -list-avds | cat -n | |
| printf "Select AVD: " | |
| read index | |
| avd=$(emulator -list-avds | sed "${index}q;d") | |
| echo "Selected $avd" | |
| emulator -netdelay none -netspeed full -avd $avd &disown &exit |
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
| <?php | |
| // Put your device token here (without spaces): | |
| $deviceToken = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; | |
| // Put your private key's passphrase here: | |
| $passphrase = 'xxxxxxx'; | |
| // Put your alert message here: | |
| $message = 'A push notification has been sent!'; |