Static netcat .exe files

Today we are going to create static .exe binaries for netcat. While there are many ports and reimplementations of netcat, we are going to stick with win32 ports for netcat 1.11 or netcat 1.12 (the latter one enables sending CRLF line endings instead of...

Solving locale problem on USB armory

Should you encounter the error message need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968 for example, when running tmux, you should do following steps to solve the problem that causes it: uncomment the appropriate locale in the /etc/locale.gen fi...

Mode switcher for USB armory

USB armory is a flash drive sized secure computing device with an ARM processor. You may purchase it with a micro-SD card, on which a Debian is preinstalled. The preinstalled configuration enables a network connection from the host device. But should y...

Utility for removing duplicated files for Windows

If you would like to remove duplicated files working in Linux, you use fdupes utility. But what alternatives do you have, if you are working in Windows? Meet Duplicate File Finder and Remover (by Winston McMiller). It works in PowerShell, which nowaday...

Print default values of CLI arguments in Python

If you would like to print default values of command-line arguments and if you use the argparse.ArgumentParser class in your Python program, consider setting the formatter_class option to argparse.ArgumentDefaultsHelpFormatter. Example code: argparser ...

An old German folksong

And now something about ethnomusicology. Three years ago, I was at a party. At one point the host requested an old folk song, "Tief im Tannwald ein Vöglein...", and I liked it very much. After recording it, I set out to discover more about it. In rec...

Key codes on AB Shutter 3

AB Shutter 3 is a small remote shutter. It connects to your handset as a Bluetooth keyboard. But which key codes does it send to the device? To answer this question, I simply connected the shutter to my Android device, started an editor and pressed...