This file contains hidden or 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
| import Vue from 'vue'; | |
| import VueI18n from 'vue-i18n'; | |
| //import messagesDe from 'lang/de'; | |
| // import messagesFr from 'lang/fr'; | |
| // import messagesIt from 'lang/it'; | |
| Vue.use(VueI18n); | |
| const loadedLanguages = []; |
This file contains hidden or 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
| # Checkout dev branch on all projects in current folder | |
| for dir in */; do cd $dir && git checkout develop; cd .. ; done | |
| # Pull on all projects in current folder | |
| for dir in */; do cd $dir && git pull; cd .. ; done |
This file contains hidden or 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
| # EXPORT | |
| mysqldump -u root -p --all-databases > alldb.sql | |
| # IMPORT | |
| mysql -u root -p < alldb.sql |
This file contains hidden or 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
| for i in *.zip; do unzip "$i" -d "${i%%.zip}"; done |
This file contains hidden or 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
| input_folder='/Users/exophunk/workspace/y7k' | |
| output_folder='/Users/exophunk/Desktop/credentialzips' | |
| for dir in "$input_folder"/*/ | |
| do | |
| dirname=$(basename $dir) | |
| if [ $dirname != 'ARCHIVE' ]; then | |
| f1="${dir}.env" | |
| f2="${dir}.y7k-cli.yml" |
This file contains hidden or 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
| for dir in */; do cp -rn $dir /Users/exophunk/workspace/y7k/projects/$dir; echo $dir; done |