Skip to content
Archive of posts filed under the tips category.

The mythical “idempotent” file editing

Stop asking for that.

Some common networking operations in Perl

A collection of various network- and socket API-related functions with code snippets.

File encryption on the command line

This list is just a reference which hopefully saves some googling. Let's make it clear that we're talking about symmetric encryption here, that is, a password (or better, a passphrase) is supplied when the file is encrypted, and the same password can be used to decrypt it. No public/private key stuff or other preparation should […]

Port mirroring with Linux bridges

Port mirroring with the most popular Linux bridge implementations.

Poor man’s directory tree replication

Bulk replication of directory trees.