The timing of certain events is a common task for a developer. Common scenarios for timers are watchdogs, cyclic execution of tasks, or scheduling events for a specific time. In this article, I show how to create a POSIX-compliant interval timer using timer_create(...). You can download the source code for the following examples from GitHub.
A couple of months ago I wrote a toy program called whitespacer. Ever since, I’ve had this gnawing feeling that I could have done it better; that it could have been written in a more performant manner.
IoT development using Raspberry Pi, Elixir and Nerves
Today I am going to be talking about IoT (Internet of Things) development using Raspberry Pi and Elixir), using Nerves IoT platform.
I usually work on web applications, but I started learning about embedded devices development to expand my expertise....
Clustering your Elixir application will help provide redundancy and give it higher availability. In this episode, we'll learn how to cluster an Elixir application on Gigalixir using libcluster.
How to Install and Use Okteta for RAW Data Files in Linux
Okteta comes with elite raw data handling functionalities like multiple open files, fast data rendering, data view profiles, statistic tools, and printing.
Lsyncd – Synchronize Local Directories with Remote Linux
Lsyncd is a lightweight Linux solution for synchronizing remote and local directories. The use of Lsyncd does not affect the performance of the local filesystem
How to Create Your Own Docker Base Images From “Scratch”
Docker images are created from a Dockerfile that defines a base image and a series of instructions that add your own filesystem layers. What happens if you want to make your own “base image” though? Here’s how to start from scratch and create a complete container filesystem from the ground up.
Nethogs – Monitor Linux Network Traffic Usage Per Process
This article explains how to install and find out real-time per-process network bandwidth usage with nethogs utility under Unix/Linux operating systems.
How to install arm64 iso in QEMU on Ubuntu x86_64?
I've tried to install the ubuntu-18.04.2-server-arm64.iso with libvirt Virtual Machine Manager to have an aarch64 (same as arm64) Ubuntu VM.
But it displays a message "Failed to setup UEFI for AAr...
A few weeks ago, I wasted a lot of time (and hair) trying to run Raspbian in a VM, so that I could run it as part of my CI system and build software for it. I eventually managed to get something runni
How to Set Up ModSecurity with Apache on Debian/Ubuntu
In this guide, we have shown you through the process of setting up ModSecurity with Apache on Debian/Ubuntu systems to detect and block unwanted traffic.
I'll admit it: I'm a fan of Linux. While I've used Slackware on workstations and Red Hat Enterprise Linux (RHEL) on servers for years, I love seeing how other distributions do things. What's more, I really like to test applications and scripts I write on other distributions to ensure portability. In fact, that's one of the great advantages of Linux, as I see it: You can download a distro and test your software on it for free.