my c code snippets