Author: nachoparker

Humbly sharing things that I find useful [ github dockerhub ]
ARM, kernel, linux, qemu

Transparently running binaries from any architecture in Linux with QEMU and binfmt_misc

    What? you can do that in Linux? It turns out you can! First, let’s see it in action. Here I retrieve a binary from my Raspberry Pi which is an ARM binary and execute it in my x86_64 machine transparently. If you try to do this… it won’t work right away.

First …

docker, nextcloud, nextcloudpi, raspberrypi

NextCloudPi brings NC13.0.2, automatic NC upgrades, Rock64 and Banana Pi support, Armbian integration, Chinese language and more

The latest release of NextCloudPi is out! The key improvement is bringing fully automating Nextcloud updates. This was the last piece of the puzzle, and finally we can leave the board just sitting there and everything will be automatically be kept up to date: Debian packages, Nextcloud and NextCloudPi itself. Also, work has been focused …

kernel, linux, shell

The real power of Linux executables

What happens when a file gets executed in Linux? What does it mean that a file is executable? Can we only execute compiled binaries? What about shell scripts then? If I can execute shell scripts, what else can I execute? In this article we will try to answer those questions.   What involves executing a …

btrfs, kernel, linux

Understanding disk usage in Linux

How much space is this file taking from my hard drive? How much free space do I have? How many more files can I fit in the remaining free space? The answer to these questions seems obvious. We all have an instinctive understanding of how filesystems work, and we often picture storing files in disk …

docker, nextcloud, nextcloudpi, raspberrypi

NextCloudPi renamed to NextCloudPlus, gets a new website, improved ncp-web, docker, languages and more

The latest release of NextCloudPi is out! Work has been focused on improving user experience during the first setup, and bringing more power to the docker container and ncp-web. Also there is some news! NextCloudPlus improves everyday thanks to your feedback. Please report any problems here. Also, you can discuss anything in the forums. Last …

FOSS, linux, OYB software, rust, shell

Analize 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 …

nextcloud, nextcloudpi, raspberrypi

NextCloudPi brings NC 13.0.1, remote backups, ZRAM, translations, web improvements and more

The latest release of NextCloudPi is out! The main features of this update revolve around remote synchronization and backup. This will allow us data hoarders to efficiently synchronize our data and BTRFS snapshots not only to a backup USB drive, but also to another remote machine that could be even in a different location through …

btrfs, linux, OYB software, shell

Easy sync BTRFS snapshots with btrfs-sync

To complement the last BTRFS tool btrfs-snp (which allows us to schedule snapshots), I would like to share a new tool to synchronize them locally or remotely  to achieve efficient data redundancy. With btrfs-snp we can replicate our BTRFS snapshots in a different BTRFS system, and have a second copy of our versioned subvolume in …

ARM, linux, OYB software, shell

Safely flash SD card images with ddsd

I would like to share another wrapper based on the pv command ( because we love progress bars!! ). As part of my work in NextCloudPi, I am constantly copying images to an SD card to test the latest build. The classic Linux way of doing this is by using the dd command

We …