Weekly Shaarli
Week 04 (January 23, 2023)
I agree. Every screenshot I took is a snapshot of memory of what I was currently doing on my computer.
Minimal demo on how to do graphics for X11, macOS and Windows:
- pop up a window
- handle basic events
- draw on the surface
- play a sound
- port doom onto it
How do you make a webpage without any source code?
- Return "Content-Type: text/html" with empty content. This is tantamount to a bare webpage "<html><body></></>"
- Fill the page's content with the "::before/after{content: xxx}" CSS
- Place the inlined stylesheet in the link header
I learned it's possible to inject CSS via HTTP header: https://danq.me/2020/12/21/http-link-css-injection/