Skip to content

Instantly share code, notes, and snippets.

@pyjavo
pyjavo / install_hp.sh
Created August 15, 2024 21:02 — forked from Lh4cKg/install_hp.sh
Installing networked HP printer and scanner on Fedora Linux
# docs for more information see the official HPLIP project site here.
# https://developers.hp.com/hp-linux-imaging-and-printing
# Step 1. Update Fedora Linux
# Simply run dnf command:
$ sudo dnf upgrade
# Step 2. Search for HPLIP software
@pyjavo
pyjavo / wget.sh
Created December 3, 2020 17:13 — forked from crittermike/wget.sh
Download an entire website with wget, along with assets.
# One liner
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.