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 the hook code below is intended to run only when changing branches, but it is invoked also when retrieving files from the index and rebasing. Thus these two cases need to be addressed in the code. See more details below. Often when working on experimental Git …

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 …