Run native C/C++ code in the browser using Emscripten
18 Nov 2020 0 Comments c cpp emscripten wasm webassembly wmi acpi
Dynamic DNS using DDclient
16 Feb 2019 0 Comments linux dns
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. Read more...
Writing a Chip-8 emulator
17 Sep 2018 0 Comments cpp sdl2 chip8 emulation
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. Read more...
Arch Linux on Matebook X Pro
23 Jul 2018 0 Comments linux huawei archlinux
Recently, I got a new laptop, Huawei Matebook X Pro. It has an i7 8th Gen. Intel CPU, 16Gib of RAM, 512Gib of SSD storage, Nvidia MX150 GPU with 2Gib of DRAM, and a beautiful HiDPI and touchscreen. It also comes with a fingerprint sensor. The first thing I did was installing Arch Linux, because well I am a Linux user! In the end, everything was working properly except: Read more...
Suspend then hibernate in systemd 239
18 Jul 2018 0 Comments linux systemd
In systemd 239, they have added a new service that handles suspending then hibernating after a given amount of time. This is easier than using external scripts since it comes built-in with this version of systemd. You can check systemd version with
systemctl --version. Read more...