Nyan Cat Over SSH

Everyone knows the Nyan Cat meme that started in 2011. The meme started from a YouTube video that merged a Japanese pop song with an animated cartoon cat. Then a Telnet Nyan Cat server was created by klange/nyancat. And now, in 2022, after 11 years of nyaning, it got ported to SSH! Try it out here ssh dir.charm.sh -p2226

More …

Run native C/C++ code in the browser using Emscripten

While working on WMIDumpper, a simple tool that analyzes ACPI WMI blocks, I had to figure out how to implement bmfdec in JavaScript. My first thought was to port it to JavaScript and put in the time and effort to rewrite ~1500 lines of C code in JS. But then a light bulb went on in my head, WebAssembly! A quick search showed that Emscripten is exactly what I need. It can compile C/C++ native code into WebAssembly and run it on the web.

More …

Dynamic DNS using DDclient

DDclient is a service used to update dynamic DNS entries on many services. It is useful if you need a DDNS client that can work with pretty much any DNS service. Most distributions provide DDclient in their official repositories. It is available on Debian-based systems, Fedora, Archlinux, and many more.

More …

Writing a Chip-8 emulator

If you ever played retro games on modern computers, then you probably know what an emulator is. Chip-8 is an interpreted programming language that was created originally by Joseph Weisbecker. Chip-8 programs get interpreted by a virtual machine. It offers a very simple monochrome graphics and uses a 4Kb of memory. It has the “8” part because all the system’s components, like CPU registers, have a size of 8 bits or 1 byte.

More …