Este script permite poner en un archivo las últimas N líneas de una salida. Por ejemplo, ping […] | alwayslast.bash FILE 10 permitiría que FILE tuviera las últimas 10 líneas de la salida de ping. This script allows for a file to … Sigue leyendo
Archivo de la categoría: English
cointoss() { # Probability is $1/$2, for example, cointoss 3 5 # will hit 60% of the time. Defaults to 1/2 if no # arguments are supplied. [ $((RANDOM % ${2-2})) -lt ${1-1} ]; } … Sigue leyendo
I have just released Caddeus 0.4. Caddeus is a prepared GNUmakefile oriented to the strict quality of C programs. It features an optimal test runner, strict C flags by default, automatic Cppcheck, Clang static analyzer and Valgrind usage if installed on … Sigue leyendo
Monitor is a purely-Bash script that lets us leave the PC monitoring the result of an instruction. Unlike watch, Monitor is not about observing the output of the instruction, but to detect the moment when the instruction fails and stops failing … Sigue leyendo
I wrote a small-and-quick tutorial for using LibreOffice Styles. It is intended to quickly let you understand (and hopefully grasp) the concepts behind the use of Styles without having to go through an entire manual. It briefly covers and exemplifies the … Sigue leyendo