Ben Chuanlong Du's Blog

It is never too late to learn.

Parsing YAML in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. PyYAML (YAML 1.1 currently) and ruamel.yaml (YAML 1.2) are 2 Python libraries for parsing YAML. PyYAML is more widely used.

  2. PyYAML is preferred over json for serialization and deserialization for multiple reasons.

    • PyYAML is a superset of json.

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 …