Archive for the ‘Miscellaneous’ Category

Writing Win32 Applications with MinGW and Wine

by Jason Stewart
Building Under Windows with Cygwin Use Cygwin to install your favorite unix userland tools under Microsoft Windows. Be sure to include the following packages: make gdb mingw64-i686-binutils mingw64-i686-gcc-core mingw64-i686-gcc-g++ mingw64-i686-headers mingw64-i686-runtime mingw64-i686-runtime-debuginfo w32api-headers w32api-runtime w32api-headers-debuginfo Building Under Linux (Debian / Ubuntu) To build under Debian-based distributions like Ubuntu or Mint, install the following: NOTE: I’m […]

Dynamic MOTD in Debian and Ubuntu

by Jason Stewart
The Helpers figlet and lolcat come in handy when you’re pimping your console, so let’s go ahead and install them: sudo apt-get install figlet lolcat We may also need an assist from strace, so: sudo apt-get install strace PAM Ubuntu first implemented dynamic MOTD with scripts, then PAM adopted the same approach internally. For this […]

Favorite Free Monospace Fonts for Programming

by Jason Stewart
Most people prefer monospaced fonts for programming. A monospaced font is a font in which all characters have the same width. Such characters make it easy to vertically align variables, data, and other syntax structures for easier reading and comprehension. Here is my running list of favorites: Try Them Out!