A blog series for PHP developers working on larger-than-average Laravel projects
Written for projects with a development lifespan of six to twelve months, with a team of three to six developers working on them simultaneously.
| <?php | |
| declare(strict_types=1); | |
| include 'vendor/autoload.php'; | |
| use loophp\collection\Collection; | |
| use loophp\collection\Contract\Operation\Sortable; | |
| $commandStream = static function (string $command): Generator { |
| /*jslint undef: true, nomen: true, eqeqeq: true, plusplus: true, newcap: true, immed: true, browser: true, devel: true, passfail: false */ | |
| /*global window: false, readConvertLinksToFootnotes: false, readStyle: false, readSize: false, readMargin: false, Typekit: false, ActiveXObject: false */ | |
| var dbg = (typeof console !== 'undefined') ? function(s) { | |
| console.log("Readability: " + s); | |
| } : function() {}; | |
| /* | |
| * Readability. An Arc90 Lab Experiment. | |
| * Website: http://lab.arc90.com/experiments/readability |
This gist assumes:
| #!/bin/bash | |
| # USAGE: Will create a .tar.gz with CSVs of all tables in schema. | |
| # Configure below and run as root (i.e. the user mysql runs as) | |
| # | |
| # The script will (or should) SELECT * INTO OUTFILE your tables | |
| # and save them into csv files under /tmp dir first, then name them | |
| # like the tables and move them thogether into a directory. Then | |
| # it will tar everything together and chown you the tarball. | |
| # Schema to export: |
##Google Interview Questions: Product Marketing Manager