Activates a service immediately:
systemctl start foo.serviceDeactivates a service immediately:
| ctrl + alt + shift + t = refactor this | |
| alt + enter = allerlei shortcuts | |
| ctrl + alt + l = reformat code | |
| shift + f11 = show bookmarks | |
| f11 = insert bookmark | |
| alt + insert = file new | |
| ctrl + n = navigate class | |
| ctrl + shift + n = navigate file | |
| ctrl + shift + f = find in path | |
| ctrl + alt + shift + insert = commit file (eigen shortcut) |
| # We have two options: | |
| # compress in .tar.gz (bigger size) or .7z (about 60% less size). | |
| # .tar.gz | |
| # | |
| tar -czvf vivaldi-settings.tar.gz ~/.config/vivaldi/Default/ | |
| # Explanation: | |
| # c: create a new archive | |
| # z: gzip | |
| # v: verbosely list files processed | |
| # f: use archive file or device ARCHIVE |
| #!/bin/bash -e | |
| # -e means exit if any command fails | |
| DBHOST=address.to.your.server | |
| DBUSER=username | |
| DBPASS=password # do this in a more secure fashion | |
| DBNAME=DBNAME | |
| GITREPO=/where/is/your/repo | |
| DUMP=$GITREPO/where/you/store/dumps | |
| NEW=$DUMP/schema.sql | |
| OLD=$NEW.old |