Andreas Tiefenthaler

TIL#2: patches in GitHub gists and reasons why jekyll won't generate my pages

Patchfiles Syntax highlighting in GitHub gists

Someone sent me gist today with a patchfile in it. To my delight, I noticed that they are highlighting the changes nicely. This improves the readability of a patch tremendously. Check out this patchfile: https://gist.github.com/pxlpnk/357a32e789b63d5d809a40d886bc9337

It is important that the filename ends in .patch.

Jekyll and future dates

This morning I spent around 15 minutes trying to figure out why a post using jekyll would not show up. Some furious google searching resulted in a case of This makes a lot of sense, but why?

It turns out, that jekyll will not generate anything that has the date set to a future time. In my case, the date was set for today, but one hour into the future.

Here is what I learned on why it might not generate posts:

Big thank you to StackOverflow and their users for helping me out one more time: https://stackoverflow.com/questions/30625044/jekyll-post-not-generated