Building HTML, CSS, and JS code preview using iframe's srcdoc attribute

A few words on code playgrounds Many front-end developers and software companies blog about their trade. Oftentimes their writings include code examples with previews. Over the years a plethora of embeddable code playgrounds were created. Names such as CodePen, JSFiddle, JS Bin, or Plunker may ring a bell to you. They’re almost effortless to use, support frameworks, transpilers, preprocessors and other tooling that have evolved in the Javascript community over the years....

April 27, 2022 · 11 min

The journey of sharing a wired USB printer over the network

I was in the market for a printer that was cheap to buy and cheap to run. I did not print in color, so I concluded that a dot matrix laser printer would be a good choice. I looked up a couple of units and decided on Brother DCP-1510 as it was on sale for ~$100 with replacement toners running for $8 apiece. Not a bad deal. It had one caveat - no ethernet port, no WiFi support, and no Internet Printing Protocol....

April 3, 2022 · 6 min

How to detect breaking changes and lint Protobuf automatically using Gitlab CI and Buf

Protocol Buffers or Protobufs are language-agnostic mechanisms for serializing data. Protobuf schemas are specified using Protocol Buffer language, which is among the most popular and widely adopted IDLs in the industry. Protobufs are most commonly used in RPC services for inter-service communication. Their usage is also growing for public-facing interfaces, and recently they have been adopted in tools such as Apache Kafka. Used correctly, they enable both forward and backward compatible message producing and consuming....

April 7, 2021 · 4 min