cd /tmp
git clone https://github.com/Leproide/Linux-G15-Daemon-Logitech-G110-.git
cd Linux-G15-Daemon-Logitech-G110--master
cd libusb1-1.4.1
import { writeFile, readdir, readFile } from 'node:fs/promises'; | |
import path from 'path'; | |
/* | |
Steps to get/export your notes from Huawei Notes: | |
1. Login into a Huawei Account in the phone. | |
2. Activate in your phone, the Notes Syncing, which is inside of Huawei Account > Cloud | |
3. Log in into https://cloud.huawei.com | |
4. Go to https://cloud.huawei.com/home#/account/gdpr, and click on Download Notes | |
5. This will give you a zip file with a password. Extract the zip file into a folder. |
this assumes you have installed Python 3 via Anaconda distribution.
conda create -n py27 python=2.7
source activate py27
or windows activate py27
conda install notebook ipykernel
ipython kernel install --user
source deactivate
# 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 | |
I've been looking for the best Linux backup system, and also reading lots of HN comments.
Instead of putting pros and cons of every backup system I'll just list some deal-breakers which would disqualify them.
Also I would like that you, the HN community, would add more deal breakers for these or other backup systems if you know some more and at the same time, if you have data to disprove some of the deal-breakers listed here (benchmarks, info about something being true for older releases but is fixed on newer releases), please share it so that I can edit this list accordingly.
#!/bin/bash | |
# References | |
# http://www.computerhope.com/unix/nc.htm#03 | |
# https://github.com/daniloegea/netcat | |
# http://unix.stackexchange.com/questions/26715/how-can-i-communicate-with-a-unix-domain-socket-via-the-shell-on-debian-squeeze | |
# http://unix.stackexchange.com/questions/33924/write-inside-a-socket-open-by-another-process-in-linux/33982#33982 | |
# http://www.linuxjournal.com/content/more-using-bashs-built-devtcp-file-tcpip | |
# http://www.dest-unreach.org/socat/ | |
# http://stuff.mit.edu/afs/sipb/machine/penguin-lust/src/socat-1.7.1.2/EXAMPLES |