This file contains hidden or 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
| <?php | |
| include_once('PolishNotationValidator.php'); | |
| use PolishNotationValidator as Validator; | |
| /** | |
| * PolishNotation class | |
| * | |
| * Polish notation calculator. |
This file contains hidden or 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
| git config --global core.editor "code -n -w" |
This file contains hidden or 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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Listen for PHPUnit", | |
| "type": "php", | |
| "request": "launch", | |
| "port": 9000 | |
| }, | |
| { |
This file contains hidden or 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
| Requirements: | |
| 1. Safari | |
| 2. Laravel Homestead installed | |
| 3. Sites fully working | |
| Follow this tutorial: | |
| https://www.eaglepeakweb.com/blog/how-to-enable-ssl-https-tls-laravel-homestead |
This file contains hidden or 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
| # Artisan management | |
| alias pa= "php artisan" | |
| alias par= "php artisan routes" | |
| alias pam= "php artisan migrate" | |
| alias pam:r= "php artisan migrate:refresh" | |
| alias pam:roll= "php artisan migrate:rollback" | |
| alias pam:rs= "php artisan migrate:refresh --seed" | |
| alias db-reset= "php artisan migrate:reset && php artisan migrate --seed" | |
| alias pda= "php artisan dumpautoload" |
This file contains hidden or 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
| <?php | |
| class MethodChainingFacade { | |
| protected $concat = []; | |
| /** | |
| * Processes method name. | |
| * | |
| * @param string $name |
This file contains hidden or 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
| <?php | |
| final class Maker | |
| { | |
| private static $result = null; | |
| private static $data = []; | |
| /** | |
| * Initializes private members. | |
| * |
This file contains hidden or 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
| <?php | |
| class First {} | |
| class Second {} | |
| class Third extends Second {} | |
| class Fourth {} | |
| $userClasses = array_filter( | |
| get_declared_classes(), | |
| function($className) { |
This file contains hidden or 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
| <?php | |
| class First {} | |
| class Second {} | |
| class Third extends Second {} | |
| class Fourth {} | |
| $userClasses = array_filter( | |
| get_declared_classes(), | |
| function($className) { |
This file contains hidden or 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
| <?php | |
| $files = [ | |
| 'blah.gif', | |
| 'my.file.gif', | |
| 'my.file.jpg', | |
| 'this/is/a/path', | |
| 'my.file.xlsx', | |
| 'this/is/a/path', | |
| 'my.file.php', |
OlderNewer