Skip to content

Instantly share code, notes, and snippets.

View pali7x's full-sized avatar
🎯
Focusing

Fadzli Badarul pali7x

🎯
Focusing
View GitHub Profile
@andreleoni
andreleoni / automatic_crontab.sh
Last active January 30, 2024 14:27
automatic crontab for automatic mysql/mariadb backup/mysqldump on linux
# Access crontab -e
crontab -e
# Create a CRON like this
30 10 * * * ~/autobackup.sh
# Create autobackup file
touch ~/autobackup.sh
# autobackup.sh content
@stvhwrd
stvhwrd / website-dl.md
Last active June 5, 2024 07:12
Download an entire website for offline use with wget. Internal inks will be corrected so that the entire downloaded site will work as it did online.

The best way to download a website for offline use, using wget

There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.

First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/)


STEP 1: