Linux

Use smartphone as a webcam

Droidcam makes the setup easy on Linux

3 minute read

These days of coronavirus where a lot of people work from home the number of teleconferences per unit of time has skyrocketed. Most of us are forced to use video conferencing software of dubious privacy practices without having much say in the choice, but that is a story for another day. If you are like me and do not have an external webcam to plug into your PC, don’t run off to the store just yet. There are solutions to make your Android smartphone act as a webcam that work really well. One of them is droidcam from Dev47Apps, which works even if you don’t have Google Services installed. This post quickly discusses how to set this up on your Linux PC using both wifi and ADB.

Arch with LUKS on LVM

Arch Linux installation with LUKS on LVM encryption

7 minute read

2020-06-16 edit: use dd to create swap file instead of fallocate

It is well known that Arch Linux does not have the easiest install process of all Linux distributions. In my opinion, for technical users this is a big plus, as you get to know your system better simply by having to set it up from scratch. This comes with the perk that you only install the packages you need, leading to a smaller and arguably snappier system.

In this guide, I’m documenting my latest Arch Linux installation on my laptop, where I used full disk encryption with LUKS over LVM. BTW, you should always encrypt your disks on your mobile devices, either laptops or phones.It comes virtually for free, and it provides countless benefits.

Tor with qutebrowser

Run qutebrowser with tor by default

1 minute read

If you are a qutebrowser user and care about privacy and anonymity, you may want to run qutebrowser using the tor network by default. Doing so is easy. This post documents how to set it up.

Learning ncurses

Implementing a snake game in the terminal

6 minute read

tsnake, a snake game in the terminal

Lately, I have been kicking the dust off my C++ skills, and decided to start by learning to use a library which I have been eyeing for a while, ncurses. ncurses is a C library which lets you create text-based UI programs for the terminal, in the same fashion as the gif above. Basically, you can use the terminal to implement text-based user interfaces. Since I seem to have an obsession with snake games, I figured I’d create a snake game for the terminal.

My Linux setup (as of 06/2020)

Description of my daily Linux setup as of March 2019

7 minute read

2020-06-01 edit: change urxvt to termite, update info on qutebrowser with tor. Overview In this post I’m documenting the current (March 2019) system setup I use in my development machines. This has been converging for a long time already, and It will surely evolve in the future. However, right now, it works well for me. I the machines mostly for development work (Gaia Sky, Gaia First Look, Ph.D., etc.). I also use my personal computers for the occasional light gaming session (Terraria, C&C remastered, or whatever I feel like at the moment) and as all-around computing devices to manage stuff.