07 Apr 12

spark is a shell script that takes a list of numbers (comma-delimited, spaces, whatever you’d like) and outputs an histogram using unicode characters.

$ spark 0 30 55 80 33 150
▁▂▃▅▂▇
by mlb

17 Mar 12

This introduction to text manipulation on UNIX platforms provides an overview of some common commands widely available and installed standard on most UNIX-based releases.

by mlb

15 Mar 12

tcpdump is the premier network analysis tool for information security professionals. Having a solid grasp of this über-powerful application is mandatory for anyone desiring a thorough understanding of TCP/IP.

by mlb

10 Oct 11

I needed to list all files in a directory, but ls, find, and os.listdir all hung. This is my story. TLDR: Write a C program that calls the syscall getdents directly, with a large buffer size, ignore entries with inode == 0.

by mlb

Getting familiar with common uses of lsof

by mlb

06 Oct 10

a Bash script that outputs any image in the terminal. Only dependence needed is imagemagick.

by mlb
Tags:

17 Oct 09

ack is a tool like grep, aimed at programmers with large trees of heterogeneous source code.

by mlb