scripting

Fish shell - using modules to import functions

I recently decided to give fish shell a try. I've always been reluctant to change my shell: bash has certainly its flaws, but it is widely spread. But lately I'm trying to go easier on embracing new things, since my natural approach is to be (extremely) skeptical about them (although the main reason to start […]

Bash - find directories of certain sizes

I often find myself trying to know which directories are consuming most of my persistent memory (I would say hard disk, but it isn't a disk - and probably, even hard - anymore), and always get disappointed with myself for not being able to remember the way to do it in the terminal :) . […]

Bash - How to dynamically evaluate and set a variable

One of the things that opens the gate to truly code reusation in Bash is, in my opinion, the hability of evaluate and set variables in a dynamic way. By dynamic, I mean that the variable name is constructed dynamically, or passed as a parameter, and ends up being in another variable (for example, a […]

Refréscame esa caché

Wordpress, el CMS que uso para gestionar mi blog, dispone de varios plugins para acelerar su carga mediante cachés, algo muy necesario en general, y más si, como yo, eres usuario de un servicio de hosting barato. En mi caso, el plugin de caché que estoy usando es WPSuperCache, que guarda una copia estática de […]