Archive for the ‘Miscellaneous’ Category

Writing Win32 Applications with MinGW and Wine

by Jason Stewart
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 typically writing 32-bit windows applications. […]

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!

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/ on line 14