RSSAmplifier

Blog

Mitja Felicijan's posts

You do not learn by relaxing. You learn by violently assaulting your problem until it surrenders its mysteries to you.

mitjafelicijan.comRSS feed ↗94 posts

Latest posts

Show uptime per boot session on Linux systems

Parses last reboot output to show how long each boot session lasted, sortedlongest-first.

Nvidia driver works but the monitor stays black with No Signal error

Void Linux upgrade caused monitor to show 'No Signal'.

Using Address Sanitizer with clang

What -fsanitize=address doesEnables AddressSanitizer (ASan): a compile and link time instrumentation plusruntime library that detects memory errors.

Change default applications on Linux from terminal

Changing default applications is done with command xdg-mime.

Integrated GDB Debugging in Vim with TermDebug

MotivationOver time I have tried making my ~/.

Minimal desktop setup with cwm and conky

Configuration for the setup in the picture is located within commit d29a085.

Change Alt key to Win key under Xfce4

To change the modifier key from Alt to the Win (Super/Meta) key for moving andresizing windows in Xfce:Open Window Manager Tweaks:Go to Settings → Window Manager Tweaks (or run xfwm4-tweaks-settingsfrom a terminal).

Lua performance in different environments

A quick look into difference in performance when running Lua normally vs Luajitvs Lua embedded in C program.

Embedding game assets within your executable binary

Why?

Currated list of Vim ALE linters

Reading materialAsynchronous Lint EngineLet's have a pint of (vim) ale!

Male and female body proportion reference images

Use option key as meta in Alacritty under macOS

To use option key under macOS as Meta key use the optionoption_as_alt and set it to 'Both'.

Write and read structs to/from files in C

First let's define a shared header file for the struct definition.

Embedding resources into binary with C

Binary resource inclusionpreprocessor has been put into the C23 standard but has not yet beenimplemented by the compilers.

Sending signals to C programs

For simple and easy IPC to the C program we can use signals.

Calling assembly functions from C

This is using the portable GNU assembler and TinyCC compiler but GCC or Clangcan be used as well.

The abysmal state of GNU/Linux and a case against shared object libraries

Personal critiqueThis is in part difficult to write since I have been daily drivingGNU/Linux for 20 years now, but I think it is necessary to be honestabout this.

Using custom software with Github Actions to deploy a site

By default, GitHub uses Jekyll for their site generator which is fine,but it has some issues and the complexity is not really worth it for me.

Converting Valgrind callgrinds to SVG format

Lately I have been doing a lot of systems programming and profiling isthe name of the game when it comes to developing good software.

Uninstall Ollama from a Linux box

I have had some issues with Ollama not being up-to-date.

Sane default for Dungeon Crawl Stone Soup Online edition

I mostly play Dungeon Crawl Stone Soup online on Ohio, USA: cbro.

Extract lines from a file with sed

Easy way to extract line ranges (from line 200 to line 210) with sed.

Personal sane Vim defaults

I have found many 'sane' default configs on the net and this is my favoritepersonal list.

Add lazy loading of images in Jekyll posts

Normally you define images with !

Using ffmpeg to combine videos side by side

I had a 4 webm videos (each 492x451) that I wanted to combine to be played sideby side and I tried iMovie andKdenlive and failed to do it in an easy way.

Compile drawterm on Fedora 38

First install two dependencies:sudo dnf install libX11-devel libXt-develClone the repo and compile it:git clone git://git.

AWS EB PyYAML fix

Recent update of my system completely borked EB CLIon my machine.

Make B/W SVG charts with matplotlib

Install pip requirements.

Set color temperature of displays on i3

I have been using Gnome's night shift for a while now and I have been missingthis feature under i3wm.

Fix screen tearing on Debian 12 Xorg and i3

I have been experiencing some issues with Intel® Integrated HD Graphics 3000under Debian 12 with Xorg and i3.

Online radio streaming with MPV from terminal

Recently I have been using my Thinkpad x220 more and there are some constraintsI have faced with it.

60's IBM Computers Commercial

Likely aired during an hour-long program during the 1960s, long commercials suchas this typically aired during hour-long programs.

10/GUI 10 Finger Multitouch User Interface

Message from 10/GUI team (page 10gui.

Alacritty open links with modifier

Alacritty by default makes all links in the terminal output clickable and thisgets annoying rather quickly.

Development environments with Nix

Nix is amazing for making reproducible cross OS development environment.

Making cgit look nicer

For personal use I have a private Git serverset up and I use GitHub just as a mirror.

Simple presentations with Markdown

A simple way to make presentations without using desktop apps or using onlineservices is https://github.

Bulk thumbnails

Make bulk thumbnails of JPGs with ImageMagick.

Edsger W. Dijkstra Manuscripts ebook

I love reading the original manuscripts of Edsger W.

Extending dte editor

dte is an interesting editor I startedusing lately more and more.

Grep to Less that maintain colors

I often use grep to search for todo's in my code and other people's code andthen pipe them in less and I missed having colors that grep outputs in less.

Easy measure time took in a bash script

In Bash, the $SECONDS variable is a special variable that automatically keepstrack of the number of seconds since the current shell or script startedexecuting.

Make DCSS playable on 4k displays

Dungeon Crawl Stone Soup has a a very small font by default.

Drawing Pixels in Plan9

I have started exploring Plan9's graphics capabilities.

Cronjobs on Github with Github Actions

In the root of your repository create a folder .

Dungeon Crawl Stone Soup - New player guide

An amazing game deserves an amazing guide.

Sane defaults for tmux with more visible statusbar

# Remap prefix from 'C-b' to 'M-a'.

Display xterm color palette

bash xterm-palette.

My brand new Plan9/9front desktop

I have been experimenting with Plan9/9front for a week now.

Parse RSS feeds with Lua

Example of parsing RSS feeds with Lua.