Master the Git commands using this useful Cheat Sheet. Printable PDF version included, covering everything from creating a repo to make changes, and working with branches.
- Home
- Blog (Page 5)
AWS EC2: Updating Security Groups using the AWS Command Line Tool
Working with multiple clients with their own AWS setups and security groups makes it difficult to work remotely sometimes. For instance, updating the many security groups with my current (dynamic) IP address so I can SSH into the server. Luckily, I’ve created a script for that.
Amazon Web Services, EC2, SecurityLaravel 5.2: Trim All Input using Middleware
Laravel 5.2 is already good at sanitizing input data received from GET and POST data, but it doesn’t remove excessive spacing at the beginning or end of the data. Luckily, this is easy to achieve using Custom Middleware.
Input Sanitization, Laravel 5, Laravel 5.2, PHPReplicating a Remote MySQL Database to Local Environment / Server
Ever needed to copy a remote database into a local environment to run tests on? This tutorial includes a bash command line script you can use to easily replicate a remote MySQL database to another environment.
Backup, Bash, Command Line, MySQLLaravel 5.2: Running SSH / SFTP Commands In Your Scripts
Recently, I had to create a Laravel Artisan script that would log into a SFTP server, check if a certain file exists, and then upload / override the file. To achieve this, I used the SSH library from LaravelCollective. This tutorial covers how to log into a remote server using SSH / SFTP and upload or download files.
Laravel 5, PHP, SFTP, SSH