Category: programming

FOSS, linux, OYB software, rust, shell

Analyze disk usage with dutree

dutree is a command line tool to analyze disk usage. Features coloured output, according to the LS_COLORS  environment variable. display the file system tree ability to aggregate small files ability to exclude files or directories ability to compare different directories fast, written in Rust This tool is a mix between tree and durep, which we already …

C, debian, docker, linux

Debian build environment in a docker container

Last post, I shared a docker container for compilation in C with ccache and colorgcc included. This time, we will extend that base container for development and packaging of Debian packages. Not only it is handy to have the environment configured and packaged, but also opens some oportunities for optimization given the nature of docker, …

C, docker

C build environment in a docker container

This container is my base build environment for compiling C programs. It produces colored output and it caches compilation artifacts so that subsequent re-compilations are greately accelerated. It is layered on top of my minidebian container, and I usually expand it further depending on the project. See this example. Features GCC 6 ccache for fast …