Showing posts from December, 2017

Higlight code on Blogger with highlight.js

While redesigning my blog a little, I've realized that having no code highlighting on a blog aboud code sounds silly. After looking around, I decided to attach this great highlight.js library to my blog engine. As there is a bunch of articles on how to do that, I'll bet on making mine short. There are 2 steps you need to do to enable code highlighting in your blog: 1. Add highlight.js assets to the bottom of your site's template, e.g. > Your Blog > Theme > Edit HTML : ... <!-- highlight.js --> <link href='' rel='stylesheet'/> <script src=''></script> <script>hljs.initHighlightingOnLoad();</script> </body> </html> (replace default.min.css with theme you prefer ) 2. Wrap your code into pre/code tag

CircleCI CLI on Windows

Yesterday I was setting up a continuous integration for my recent project , and at two of the most popular tools supporting GitHub: Travis CI and CircleCI . Travis is the popular out there, but I really liked the idea behind CircleCI of running builds witin containers, and I jumped into an opportunity to play with contriners so.