Firefox 84 to enable WebRender by default
[Fri Nov 20 15:47:42 CET 2020]

I just read that Firefox 84 will be enabling WebRender by default in Linux. To be honest, I hadn't heard of WebRender before, but I've been giving it a try on Firefox 83 today (see below for instructions on how to configure it), and it does appear to be fast and stable. Basically, it's a feature written in Rust that makes the rendering of web pages quite snappy. In order to enable it on Firefox 83, simply go to about:config in the location bar, search for gfx.webrender.all. and change it to true. That's it. {link to this entry}

A command to display cheatsheets on Linux commands: tldr
[Tue Nov 10 11:17:15 CET 2020]

Here is an interesting article on a command (tldr) that displays simple cheatsheets on Linux commands. Basically, it's a more simple take on man pages, to the point that it only shows a few examples of the command. For instance:

$ tldr bzip2
bzip2
A block-sorting file compressor.More information: http://bzip.org.

 - Compress a file:
   bzip2 {{path/to/file_to_compress}}

 - Decompress a file:
   bzip2 -d {{path/to/compressed_file.bz2}}

 - Decompress a file to standard output:
   bzip2 -dc {{path/to/compressed_file.bz2}}
{link to this entry}

Nifty bash function to extract archives
[Wed Nov 4 17:34:29 CET 2020]

Here is a very useful trick. A bash function that you can add to your own ~/.bashrc to make it easy to extract archives:

extract () {
     if [ -f $1 ] ; then
         case $1 in
             *.tar.bz2)   tar xjf $1     ;;
             *.tar.gz)    tar xzf $1     ;;
             *.bz2)       bunzip2 $1     ;;
             *.rar)       rar x $1       ;;
             *.gz)        gunzip $1      ;;
             *.tar)       tar xf $1      ;;
             *.tbz2)      tar xjf $1     ;;
             *.tgz)       tar xzf $1     ;;
             *.zip)       unzip $1       ;;
             *.Z)         uncompress $1  ;;
             *.7z)        7z x $1    ;;
             *)           echo "'$1' cannot be extracted via extract()" ;;
         esac
     else
         echo "'$1' is not a valid file"
     fi
}
{link to this entry}