Books

Many of the example code from the book Modern X86 Assembly Language Programming converted from Windows (c) with Visual Studio and Masm to Linux G++ with Nasm.
I don't claim that the code is the best possible, especially the C code because I can read it but not always write it as good as I want it to be.  Also some examples make use of Windows GDI and that's still a 'black hole' in my knowledge.  I hope in time to be able to convert that code by use of SDL, but for know it is as it is.

Downloads:

original source code (Visual Studio 2013)

Linux - Nasm/g++.

some, if not all, example code from Hacker's Delight