pg_dump databaseName -U postgres -h localhost -F c -f foo.sql
scp root@ip-address:/path/foo.sql ~/pathOnLocal/foo.sql
docker ps
| - hosts: webservers | |
| tasks: | |
| # Install Composer the lightweight way (without using installer) | |
| # https://getcomposer.org/download | |
| - name: Composer | Install Composer latest-stable | |
| get_url: | |
| url: https://getcomposer.org/download/latest-stable/composer.phar | |
| checksum: 'sha256:https://getcomposer.org/download/latest-stable/composer.phar.sha256sum' | |
| dest: /usr/local/bin/composer.phar |
| <?php | |
| namespace App\Traits; | |
| use Illuminate\Support\Str; | |
| use App\Exceptions\InvalidEnumException; | |
| trait Enums | |
| { | |
| /** |