Author Archives: josemaria

Links Tuesday, 30th Nov 2021

Event sourcing is hard Greg Young — A Decade of DDD, CQRS, Event Sourcing  CRUD, Only When You Can Afford It Temporal Property

Posted in Uncategorized | Leave a comment

Links Monday 29th Nov 2021

Posted in Uncategorized | Leave a comment

Links Sunday 28th Nov 2021

Posted in Uncategorized | Leave a comment

Links 25th Nov 2021

https://karthinks.com/software/batteries-included-with-emacs/  

Posted in Uncategorized | Leave a comment

The product laws

Posted in Uncategorized | Leave a comment

How to select rectangles in TMUX

Just add to your .tmux.conf file: set-window-option -g mode-keys vibind-key -T copy-mode-vi ‘v’ send -X begin-selectionbind-key -T copy-mode-vi ‘y’ send -X copy-selection-and-cancelbind-key -T copy-mode-vi ‘r’ send -X rectangle-toggle  

Posted in Uncategorized | Leave a comment

Screen brightness control on i3wm for Lenovo X240 (Ubuntu)

First ensure that you have the right permissions to write to the device by adding a new rule for udev (create a new file like /etc/udev/rules.d/99-backlight) with these lines: ACTION==”add”, SUBSYSTEM==”backlight”, RUN+=”/bin/chgrp video /sys/class/backlight/%k/brightness” ACTION==”add”, SUBSYSTEM==”backlight”, RUN+=”/bin/chmod g+w /sys/class/backlight/%k/brightness” ACTION==”add”, … Continue reading

Posted in Uncategorized | Leave a comment

How to set the brightness of your monitor in Ubuntu 20.04

xrandr –output <output> –brightness 0.5 Use xrandr –listmonitors to get the name of your monitor From: https://www.reddit.com/r/i3wm/comments/cd69ew/i3_and_brightness_on_ubuntu_1904/ets6ee2/  

Posted in Uncategorized | Leave a comment

apue.h header from Advanced Programming in the Unix Environment

/* * Our own header, to be included before all standard system headers. */ #ifndef _APUE_H #define _APUE_H #define _POSIX_C_SOURCE 200809L #if defined(SOLARIS) /* Solaris 10 */ #define _XOPEN_SOURCE 600 #else #define _XOPEN_SOURCE 700 #endif #include /* some systems still … Continue reading

Posted in Uncategorized | Leave a comment

GCC-9 and Ubuntu kernel error

if you Linux suddenly stop compiling the kernel or kernel modules from packages (nvidia, virtualbox) check that you are not using gcc-9 as default C compiler, it has a problem with some parameters needed to compile with protections for the last … Continue reading

Posted in Uncategorized | Leave a comment