Tagged: Internet

Simple CGI programming

A simple HTTP server serves static HTML, Javascript, CSS, Images, etc. Sometimes you need a bit of dynamic content from the server-side. There are simple microframeworks to mega frameworks to achieve this. You could use any of these available web frameworks on the server side. But let’s say you don’t have access to any of those frameworks, and you want it to be simple and lightweight. You could try CGI.

Or you are just a web geek and want to spend an hour on old but interesting technology.

Linked List: FOSS Tools to Debug and Test Webhooks

Webhooks are part and parcel of today’s web applications. It’s the primary way to get informed about the events happening on an external system, whether it’s payment or communication. So any developer needs to know and use webhooks today. Here are some of the tools that I use daily to test and integrate webhooks (Also async APIs). I hope they are helpful to you too.

Drawings as Code – DOT and Graphviz

I like drawings to explain stuff. It’s probably the most straightforward way to document things. But the pain of traditional drawings is the inability to track changes to them. It’s easy to track changes to text or code by tracking them in a git. It’s not easy when it’s a binary blob which is what most images are. SVG format helps a lot. I use it as much as possible, but it’s still very verbose, and I think not easy to see the diff and understand what happened over time.