Blog

Recent Posts

Prefix Streaming stdout & stderr in Go

4 minute read

If you are writing code in Go and are executing a lot of (remote) commands, you may want to indent all of their output, prefix the loglines with hostnames, o...

Loosely Typed Code Deserves Triple Equality

1 minute read

In loosely typed languages such as JavaScript or PHP, using == to compare values is bad practice because it doesn't account for type, hence false == 0 == '' ...

Scrape All Text From a Domain

1 minute read

Here are some commands to download the most important pages of your site as plain text (determined by MAX_DEPTH), and save it into one big <DOMAIN>.txt...