This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Look through vue files recursively and find ones that don't have a component name set: | |
grep -r -L "name:" ./**/*.vue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## =================================================================== | |
## Database clear script | |
## Remove database entirely, create new one and import from sql file | |
## then run laravel migration and seed | |
## =================================================================== | |
# check if user passes two parameters | |
if [ $# -ne 3 ]; then | |
echo "Usage: $0 <db-name> <sql-file> <db-password>" | |
exit 1 | |
fi |
OlderNewer