Tips for Jekyll development
Continuing the WordPress to Jekyll series,
I've decided to give a few Jekyll tips that I've learned in the process of converting my website.Jekyll serve at the speed of light
Over 5 years, I've written quite a few posts, over 500 posts.
To test Jekyll out (for development) you have to run the following command:However, with 500+ posts, it takes about 70-90 seconds to build, which is annoying if you're making small tweaks,1
jekyll serve
that take minutes to compile.
There's a cool little trick to make compilation happen a lot quicker, by limiting the number of posts:This will only compile the last 3 posts, which is enough for 99% of test cases anyways.1
jekyll serve --limit_posts=3
The average compilation time with the limit_posts parameter is about 3-4 seconds.
This is a great trick especially if you have a bigger blog with 1000+ posts.Posted in TechnologyMoving from WordPress to Jekyll
Since last week you may have noticed something different about the website.
Maybe it seems to load quicker, or it looks a tiny bit different, or perhaps you've noticed that the footer is much slimmer.
The reason is: KidsIL has once again been transformed!Posted in TechnologyThe Power of Silence
For the longest time I’ve been working on my computer with a headset on.
Most of the time it’s music, lately it’s been podcasts, but I keep going back and forth.
For years now I have been able to work without any issue while listening to music, in fact, I find it very hard to work without it.Posted in TechnologyKarma, Mocha, End to End Testing or Unit Testing?
I was recently asked by a good friend of mine whether or not Unit Testing are a must, or should he just stick to End to End Testing.
Posted in TechnologyDouble event calling problem in Meteor
Recently, when working with Meteor methods, I've stumbled upon an odd problem.
While going into debug mode:1
meteor debug
Posted in Technology