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
| # Zip and compress folder | |
| tar -cjf /mysql.tar.bz2 . | |
| # Restore folder | |
| tar -C . -xjf /mysql.tar.bz2 |
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
| # Copy files from host to container and vice versa | |
| docker cp src/. $container:/target | |
| docker cp $container:/src/. target | |
| # Exec an command on a running container | |
| docker exec -it $container $command | |
| # List all containers running or not | |
| docker ps -a |
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
| sudo update-alternatives --config gdm3.css |
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
| sudo npm install npm@latest -g |
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
| [Desktop Entry] | |
| Name=Dropbox | |
| GenericName=File Synchronizer | |
| Comment=Sync your files across computers and to the web | |
| Exec=env XDG_CURRENT_DESKTOP=Unity dropbox start -i | |
| Terminal=false | |
| Type=Application | |
| Icon=dropbox | |
| Categories=Network;FileTransfer; | |
| StartupNotify=false |
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
| find / -type f -name '*.desktop' 2>/dev/null | less |
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
| [Desktop Entry] | |
| Name=Skype | |
| Comment=Skype Internet Telephony | |
| Exec=env XDG_CURRENT_DESKTOP=Unity /snap/bin/skype %U | |
| Icon=/snap/skype/30/meta/gui/skypeforlinux.png | |
| Terminal=false | |
| Type=Application | |
| StartupNotify=true | |
| StartupWMClass=Skype | |
| Categories=Network;Application; |
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
| sudo apt-get install gnome-alsamixer | |
| sudo apt-get install pavucontrol |
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
| git config --global core.autocrlf auto | |
| git config --global core.eol lf |
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
| docker run -it --rm --tty --entrypoint=/bin/sh arey/mysql-client |