Skip to content

Instantly share code, notes, and snippets.

View relalis's full-sized avatar

Yehia Hafez relalis

View GitHub Profile
@relalis
relalis / save_page.py
Created October 4, 2023 15:21 — forked from charles-l/save_page.py
A python script to save the Firefox Reader view of a page with images. Kind of a personal archive.org tool but using zip and HTML files rather than WARC.
#!/usr/bin/env python3
from bs4 import BeautifulSoup
from readability import Document
import click
from click import echo
import requests
import slugify
import os
@relalis
relalis / tinc-install.sh
Created September 18, 2024 09:41 — forked from Xumeiquer/tinc-install.sh
Tinc VPN installation wizard
#!/bin/bash
#
# Tinc install script
#
# Original: https://gist.github.com/jpillora/9069c7421fd70a4dae92
#
# Adapted by Xumeiquer
#
# Version: 1.0
# Version: 1.1