— title: Welcome, Human! author: Augusto Goulart date: 2019-04-03 18:07:23 -0300 categories: - jekyll

- update

Shall I welcome you to this site, make your way through the posts and you'll find many useless stuff, that's because the current content in here is intended for tests purposes only.

As one may see, this is located in the _posts directory. Take a look at the source for this post to get an idea about how it works.

Some code from my ongoing projects:

{% highlight c lineos %}

if defined(WIN32) || defined(WIN64) || defined(MINGW32) || defined (MINGW64) || defined(CYGWIN)

undef WINDOWS define WINDOWS 1

endif

if defined(ILP32) || defined(ILP32) || defined(i386) || defined(M_IX86) || defined(X86)

undef X86_ARCH define X86_ARCH 1

endif

typedef unsigned char ubyte_t;

if defined(X86_ARCH)

typedef uint32_t ulong_t;

else

typedef uint64_t ulong_t;

endif

{% endhighlight %}

{% highlight c lineos %} size_t file_find_size(const char* filename) { struct STAT file_status;

/* get file size */ if (!STAT(filename, &file_status)) return file_status.st_size; else return 0; } {% endhighlight %}

Go to Jekyll docs for more info on how to destroy your enemies.