docker exec -i CONTAINER mysql -u USER -pPASSWORD DATABASE < BACKUP.SQL
docker exec -i CONTAINER mysqldump -u USER -pPASSWORD DATABASE > BACKUP.SQL
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: gogs | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Git repository manager Gogs | |
# Description: Starts and stops the self-hosted git repository manager Gogs | |
### END INIT INFO |
La première étape consiste à se connecter au site [QT creator](https://www.qt.io/download/) afin de télécharger le projet open source correspondant à votre distribution (32 ou 64bits). Vous pouvez également le télécharger en ligne de commande et le rendre executable et l'exécuter: | |
wget http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run | |
chmod +x qt-opensource-linux-x64-online.run | |
./ qt-opensource-linux-x64-online.run | |
Un fenêtre apparaîtra vous indiquant la marche à suivre. | |
Selectionnez l'emplacement de l'installation /home/lib/qt | |
Cochez Qt5.3, Tools, Qt extras | |
Puis validez. |
UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';
I have multiple output device sound and it's allways my headphone by default.
pactl list short sources
pactl set-default-sink <'output_device_name'>
Where output_device_name
is until .monitor
If you're dual-booting Ubuntu 18.04 and Windows 10, you may find that changing time in one system affects the other and the two systems can't display the same time.
This happens as Ubuntu interprets the hardware clock or real time clock (RTC) in universal time (UTC) by default while Windows 10 maintains the clock in local time.
You can fix this by keeping RTC in local time in Ubuntu by running a command in the terminal below.
timedatectl set-local-rtc 1 --adjust-system-clock
To undo this setting, enter the command below.