Skip to content

Instantly share code, notes, and snippets.

View keriat's full-sized avatar

Sergey Beresnev keriat

View GitHub Profile
@keriat
keriat / wget.sh
Created January 27, 2021 02:22 — 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.
@keriat
keriat / macos.md
Created January 12, 2020 00:28 — forked from anilcancakir/macos.md
Anilcan's macOS Setup - (PHP, PostgreSQL, Featured Apps...)

Anilcan's macOS Setup

This my personal development MacOS environment. It contains a type of software and custom improvements.

Softwares

Terminal

@keriat
keriat / .inputrc
Created January 19, 2019 02:13 — forked from gregorynicholas/.inputrc
OSX .inputrc to make terminal way better. and by better i mean i'm naked
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": history-search-backward
"\e[6~": history-search-forward
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word