Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
PyYAML (YAML 1.1 currently) and ruamel.yaml (YAML 1.2) are 2 Python libraries for parsing YAML. PyYAML is more widely used.
PyYAML is preferred over
json
for serialization and deserialization for multiple reasons.- PyYAML is a superset of json.
Tips on HTTP
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
HTTP Crash Course & Exploration
How does HTTPS work? What's a CA? What's a self-signed Certificate?
Tips on Websockets
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
What are WebSockets | How is it different from HTTP?
WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and more
Tips on Caddy
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://engineering.hashnode.com/after-4-years-with-nginx-we-switched-to-caddy-here-is-why-cjxbv8eb2001ke8s1yl7ndroz
Tips on Nmap
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Nmap is used to discover hosts and services on a computer network by sending packets and analyzing the responses.
Nmap provides a number of features for probing computer networks, including host …
Parse Xml in Python
xml.etree.ElementTree
from html.parser import HTMLParser
https://www.crummy.com/software/BeautifulSoup/bs4/doc/
xml.etree.ElementTree
is for parsing strict XML text.
Do NOT use xml.etree.ElementTree
to parse HTML string.