November 2022¶
Notes in November.
- This overlay for GoPro videos looks neat.
- Practical Ways to Write Something Every Day
If you need to have openjdk first in your PATH, run:
echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> ~/.zshrc
Hands on with hurl
¶
🎉 I wound up blogging about it.
I read about hurl on HN and wanted to give it a go: it seems super neat!
GET https://httpcat.us
HTTP/2 200
[Asserts]
xpath "string(//head/title)" contains "HTTP Status Codes"
xpath "string(/html/body/div/div/div[2]/div/div/div[3]/div[2]/h4)" == "HTTP 418 I'm a teapot"
xpath "/html/body/div/div/div[2]/div/div/div[3]/div[2]/a/img" count == 1
xpath "//img" count == 6
header "Content-Type" == "text/html; charset=utf-8"
header "Server" == "Google Frontend"
Migrating to astro
# gsed -i 's/^cover/image/g' 2022-automate-dns.md
# gsed -i 's/\/images\/posts/~\/assets\/images\/posts/g' 2022-automate-dns.md