Skip to content

Instantly share code, notes, and snippets.


Steve Junior Steve-Junior

View GitHub Profile
Steve-Junior / S3BackupGuideline.txt
Last active Dec 19, 2020
Backup Database to S3 (Centos)
View S3BackupGuideline.txt
The AWS CLI is a open source command-line tool for managing AWS WebServices from your command-line shell. That means we can create & automate AWS resource management directly from custom scripts. Our script will create a dump of the database and back it up directly on s3 automatically.
This process has been tried and tested on Centos
1. Start by downloading the awscli installer file
# curl "" -o ""
2. Unzip the installer
# unzip
Steve-Junior / .php_cs.laravel.php
Last active Dec 20, 2020 — forked from davidhemphill/.php_cs.laravel.php
PHP CS Fixer - Laravel Ruleset
View .php_cs.laravel.php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'binary_operator_spaces' => [
'operators' => ['=>' => null]
'blank_line_after_namespace' => true,