- Login to Namecheap Account
- Get JSON from https://ap.www.namecheap.com/Domains/dns/GetAdvancedDnsInfo?fillTransferInfo=false&domainName=YOURDOMAINNAME.com
- Save it to file
python main.py data.json
This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.
Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.
You will find most of this information pulled from the Arch Wiki and other resources linked thereof.
Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX
with /dev/sdX
or your device as needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Elasticsearch backend that enables fuzzy search to all plaintext queries.""" | |
from wagtail.search.backends.elasticsearch6 import (Elasticsearch6SearchBackend, | |
Elasticsearch6SearchQueryCompiler) | |
class ElasticsearchQueryCompilerWithFuzziness(Elasticsearch6SearchQueryCompiler): | |
""" | |
Copy of Elasticsearch6SearchQueryCompiler class with a modified default query. | |
Adds the "fuzziness" parameter to all queries so that we can return inexact | |
matches for misspellings, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Extract images from pdf. | |
- requires imagemagick and wand | |
sudo apt install imagemagick | |
sudo pip3 install --upgrade Wand | |
''' | |
from wand.image import Image |
This is a modified version of Installing Arch Linux on an LUKS Encrypted root and booting from UEFI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |