Linux: Using pdftk to help scan double sided documents
Tuesday, 03 January 2012 21:04

I just finished scanning some old two sided hand written notes into two pdf files. Specifically I created 'odd.odf' for odd numbered pages (e.g. page 1, 3, 5, ...), and 'even.pdf' for even numbered pages (e.g. page 2, 4, 6, ...). The below script takes these two files, and uses pdftk to merge them into a single 'result.pdf' document.

Read more...
 

C: Simple Inline Asm Example
Tuesday, 20 December 2011 21:29

The below 'htons' example code uses the x86 rotate instruction to outperform compiler generated code. Please note that the GNU/Linux implementation of 'htons' provides more interesting details than I have provided here.

Read more...
 
Java: Write DTD Valid XHTML
Sunday, 16 October 2011 22:45

Here's an example of how to write a DTD validated XHTML file from Java.

Read more...
 
Java: Eclipse Tutorials
Monday, 17 October 2011 08:47

Below are some tutorials I dug up for a someone I am working with. They bring back some great memories, and seem pretty useful, so I figured I'd make note of them.

Read more...
 
C: List gcc's include path
Monday, 26 September 2011 08:09

Here's a quick note on how to list the 'include path' used by gcc, to find header files (e.g. 'stdout.h').

Read more...
 
Start Prev 1 2 3 4 5 6 7 8 9 10 Next End

Page 1 of 24