CastorisCausa

Personal blog and hacks by Raymundo Cassani

Posts tagged with: Bash


More a side project than a need, I wanted to control in Linux the fan modes (the relationship between temperature and fan speed) in my 2020 Gigabyte AORUS 15G KB, it should apply to similar models. The code for this project can be found in: https://github.com/rcassani/p37-ec-aorus15g …

Git hook at changing branches

Updated: The post-checkout hook is also invoked when doing git rebase. See more details below. Often when working on experimental Git branches, it is necessary to modify files outside of the Git repository when we change branches to properly test some of the new features. An example of this type …

This project started from the "need" of having a compatible way to point to files indifferently if on Windows or Linux. While both operative systems can handle symbolic links, when the target file is an executable, certain scripts and programs present problems when executed through a symbolic link, as the …