Create an empty git repo or reinitialize an existing one
$ git init| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| ## | |
| ## How to install mcrypt in php7.2 / php7.3 | |
| ## Linux / MacOS / OSX | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| # |
Create an empty git repo or reinitialize an existing one
$ git initEste es un instructivo para un tutorial en Youtube https://youtu.be/pliGG1M87W8
| ## docker-compose para correr wordpress con una base de datos en mysql | |
| ## by PeladoNerd https://youtu.be/eoFxMaeB9H4 | |
| version: '3.1' | |
| services: | |
| wordpress: | |
| image: wordpress:php7.1-apache | |
| ports: |
Some useful commands and scripts for MySQL.
Update: All these commands and more at https://github.com/joseluisq/awesome-mysql-queries-commands
mysql -h host -u username -p password --default_character_set utf8 database_name < mysql_script.sql| git config --global alias.superlog "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all" |
People
:bowtie: |
๐ :smile: |
๐ :laughing: |
|---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |