A collection of interesting code snippets, workflows or stuff that I'm worried I might forget before I need it. Given this embarassingly simple C program which takes a name parameter and a buffer to write the result into, and writes "Hello %s" into this buffer: Note: We could have used malloc to generate a return buffer, printed into this and returned it, but then there would have been no way to
![Using JNA with Groovy](https://cdn-ak-scissors.b.st-hatena.com/image/square/4333b4a82607822c477098bd727001d04e6271dc/height=288;version=1;width=512/https%3A%2F%2Fassets.tumblr.com%2Fimages%2Fdefault_avatar_512.png)