Skip to content

Instantly share code, notes, and snippets.

@savareyhano
savareyhano / mysql-docker.sh
Created September 15, 2024 16:25 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# 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
@savareyhano
savareyhano / Windows 10 & 11 services.md
Created September 6, 2024 14:05 — forked from Aldaviva/Windows 10 & 11 services.md
Safety of disabling services in Windows 10 and 11

These settings apply to normal, functioning Windows 10 and 11 Pro desktops and laptops with

  • wired Ethernet
  • Wi-Fi
  • Bluetooth
  • IPv4
  • IPv6
  • no touch screen

Safe to disable