git stash list
- Lists all stashes on stack.
 
git stash apply stash@{0}
- Applies the changes from stash but does not delete from stack.
 
git stash pop stash@{3}
- Applies the changes from stash and deletes from the stack.
 
git stash show stash@{2}
| docker exec -i docker_container mysql -uroot -pdb_password db_name < sql.sql | |
| docker exec -i docker_container mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump] | 
| <?php | |
| /** | |
| * Convert a multi-dimensional array into a single-dimensional array. | |
| * @author Sean Cannon, LitmusBox.com | seanc@litmusbox.com | |
| * @param array $array The multi-dimensional array. | |
| * @return array | |
| */ | |
| function array_flatten($array) { | |
| if (!is_array($array)) { | 
| #!/bin/bash -e | |
| clear | |
| echo "============================================" | |
| echo "WordPress Install Script" | |
| echo "============================================" | |
| echo "Database Name: " | |
| read -e dbname | |
| echo "Database User: " | |
| read -e dbuser | |
| echo "Database Password: " | 
git stash list
git stash apply stash@{0}
git stash pop stash@{3}
git stash show stash@{2}
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); | 
| <?php | |
| /* | |
| * Filename: SimpleAuth.php | |
| * Version: 1.0 | |
| * Author: Heiswayi Nrird | |
| * Dscription: Simple PHP script to protect any PHP page using session | |
| * Website: https://heiswayi.nrird.com | |
| * | |
| * HOW TO USE | |
| * ========== |