today's howtos
-
How to Uninstall NodeJS on Ubuntu 22.04
NodeJS is pretty popular when it comes to building server-side applications with JavaScript. But, if you don't need it anymore on your Ubuntu 22.04 system, you might want to uninstall it.
-
Use your Raspberry Pi as a streaming server
There are various reasons to stream live video transmissions from webcams. The Raspberry Pi platform is perfect for such applications. It requires little power for continuous applications such as live-streaming servers. Communication with a Raspicam camera module, USB cam, or other network video signals is possible. The system is an RTMP, HLS, and SRT server. This article shows how to set up the Raspberry Pi as a streaming server to use HLS streaming. You need a video source to use it as a streaming server.
Even without a Raspberry Pi, you can do the steps described here. In addition, there are further installation instructions for Windows, Linux, and macOS available.
Setup
The application is datarhei Restreamer, a graphical user interface for the datarhei Core. The datarhei Core runs the well-known media framework FFmpeg under the hood. The easiest way to start with datarhei Restreamer is to install the official Docker container. The download and installation of the program via Docker Hub are automatic with the
pull
command. Restreamer starts immediately after the installation. If you don't have a Raspberry Pi, use one of the other Docker containers on the datarhei Restreamer GitHub page (e.g., AMD64 or GPU Cuda support).datarhei Restreamer and datarhei Core are both open source software under the Apache License 2.0.
-
How to Change PHP Session Timeout
As a web developer, understanding PHP session timeout is essential to building secure and reliable web applications. A PHP session is a way to store user information across multiple pages, and session timeout refers to the duration for which a session remains active before expiring.
-
Calculate difference between two dates in Bash
In Bash, you can easily calculate the difference between two dates. This can be useful in various scenarios, such as calculating the number of days between two events or determining the age of a person. In this article, we'll discuss different methods to calculate the difference between two dates in Bash.
-
Creating a Podcast From a Mastodon Account With XSLT
With my recent experience with Deno Deploy fresh in my mind I considered using it. However I opted for a decidedly late 90s solution: XSLT. According to Wikipedia “XSLT is a language originally designed for transforming XML documents into other XML documents”. The ‘originally’ refers to fact that you can now generate any text with it, not just XML. Since it was created in the era of “XML ALL THE THINGS”, XSL templates are themselves XML documents. It also makes extensive use of XPath expressions to select nodes and extract their content.
-
Setup your own VPN server
Why do we need a VPN server? A VPN (Virtual Private Network) server is a network server that allows users to create a secure and encrypted connection to another network over the internet. Here are some reasons why we need a VPN server: [...]
-
Use the Chage Command in Linux
It is not a typo. I'm actually talking about the chage command here!