Skip to content

Instantly share code, notes, and snippets.

@ajneu
Last active August 29, 2015 14:25
Show Gist options
  • Save ajneu/e257c2a7cee604783b3c to your computer and use it in GitHub Desktop.
Save ajneu/e257c2a7cee604783b3c to your computer and use it in GitHub Desktop.

<style> /* disable the default striping of rows / table tr.even, table tr.alt, table tr:nth-of-type(even) { background: none } / stripe even rows only when the "striped" CSS class is used */ table.striped tr.even, table.striped tr.alt, table.striped tr:nth-of-type(even) { background: #f8f8f7; } </style>

Macro Usage

DPRINT("%d %d\n", 1, 2);

Macro output if NDEBUG is not defined
(debugging)

printf("%d %d\n", 1, 2);

Macro output if NDEBUG is defined
(not debugging)

/* nothing */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment