How to fix DaVinci Resolve audio issues on Ubuntu 20.10

Hello 👋, To fix audio issues on a fresh install of DaVinci Resolve 18 on my Ubuntu 20.10 PC I did the following things: 1. List all the available sound cards cat /proc/asound/cards 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xfc080000 irq 94 1 [AI1 ]: USB-Audio - RODE AI-1 RODE Microphones RODE AI-1 at usb-0000:2d:00.3-1.3, full speed 2 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfc400000 irq 96 3 [U0x46d0x81b ]: USB-Audio - USB Device 0x46d:0x81b USB Device 0x46d:0x81b at usb-0000:2d:00....

December 11, 2022 · 2 min · Denis Nuțiu

envsubst – Substitute Variables for Environment Variables

Hi 👋, Introduction In this short article I want to showcase a nice and useful Linux command. The comand 🥁 envsubst 🥁. In short it Substitutes the values of environment variables. It’s great for populating configuration files with values from environment variables, a common operation for developers containerizing their applications. Example Usecase Let’s say we are containerizing an application and we have the following file configuration.yaml, and we want to modify the values of the environment field and the log_level field without adding the additional complexity of mounting the configuration....

October 23, 2022 · 2 min · Denis Nuțiu

A custom HomeKit accessory with Python

Hi 👋, In this short article I want to showcase how I implemented a custom HomeKit accessory with python. My Home Assistant’s SD card died 🪦 a few days ago and the support for GPIO based sensors will be removed in newer releases. This makes it unsuitable for my needs, while giving me the perfect opportunity to try other things. To continue monitoring temperature and humidity in my home I’ve built a custom HomeKit accessory with HAP Python....

March 11, 2022 · 3 min · Denis Nuțiu

How to connect Ethernet devices to WiFi via WDS

Hi 👋, In this blog post I will show you how to connect an Ethernet only device to Wi-Fi using an extra router and the WDS functionality. I initially wanted to install the TP Link Archer T4U WiFi adapter driver on my Ubuntu 20.04 PC but unfortunately the driver is no longer supported. Since I really needed high internet speed for my PC, I decided to connect it via an Ethernet cable and buy another TP-Link router to use in WDS mode....

March 6, 2022 · 2 min · Denis Nuțiu

How to make RØDE audio interface work on Linux

Hi 👋, I have recently updated the firmware of my RODE audio interface from 1.12.x to 1.13, and the device was no longer working properly on Linux, it had trouble with the microphone. I found out that it was an audio sampling issue. dmesg -kH [feb21 16:20] usb 1-9.3: 1:1: cannot set freq 44100 to ep 0x82 [ +0,005008] usb 1-9.3: 1:1: cannot set freq 44100 to ep 0x82 [ +0,005019] usb 1-9....

February 21, 2022 · 1 min · Denis Nuțiu

Home automation with Home Assistant on Raspberry PI – Getting Started

Hi 👋 The purpose of this article is to get you started quickly with a Home Assistant on a Raspberry Pi. It’s a simple walkthrough on how to install Home Assistant and configure it so it will boot with your PI. I will use my old Raspberry PI V3 board. Flashing the Raspberry PI OS You will need a microSD card of reasonable size, I’m using a 16GB one and a USB Adapter to connect it with my PC....

December 23, 2021 · 3 min · Denis Nuțiu

Multi Touch Gestures on Linux

Hello, I’ve been using Linux full time on my work laptop and one thing that I really miss from the Macbook is the multi touch gestures. I often find myself swiping 3 fingers up the trackpad to see all my open applications and nothing happens, bummer. Then, I came across Fusuma, a great project which aims to bring multi touch gesture support to Linux laptops! It won’t give you an Apple like experience but it’s okay-ish....

May 3, 2020 · 1 min · Denis Nuțiu

Bypassing ptrace calls with LD_PRELOAD on Linux

Hello, Here’s a quick article on how to bypass calls to ptrace when debugging a Linux executable. By calling ptrace with the PTRACE_TRACEME option, a process can detect if it’s being debugged and execute different instructions. This an effective anti-debugging technique. For example, take the following C program: int main() { if (ptrace(PTRACE_TRACEME, 0, 0, 0) < 0) { printf("I'm being debugged!n"); } else { printf("Normal flown"); } return 0; } If we execute the program from above we get Normal flow on our screen but if we debug it with gdb we get Err: I'm being debugged!...

January 2, 2020 · 2 min · Denis Nuțiu

Hack The Box &#8211; Travexec Write-up

Hello, Here’s my write-up for the Traverxec machine. Initial Shell: google User Hint: Read the configuration carefully and ls dem directories, and don’t forget, you’re the web server! Root Hint: In linux you can configure commands to be executed without requiring a password. The password for the PDF is the root flag. Link: BananaPr1nc3-Traverxec.pdf

December 13, 2019 · 1 min · Denis Nuțiu

Installing and configuring an anonymous VSFTPD server

After spending a good part of my weekend fiddling with VSFTPD, I’m very happy that I managed to get it to work properly. My goal was to create a simple, anonymous and private FTP server for my home network. It should facilitate sharing files between my machines. Configuring the Server If you’d like to try out my configuration all you need to do is look at the following commands and replace your configuration file with mine....

February 11, 2019 · 5 min · Denis Nuțiu