How to get current year in Jekyll

Get The Current Year In Jekyll Like many others, I put a copyright notice with the current year at the bottom of the page in my websites. In my personal website, I noticed that the date stucks and doesn’t automatically update on every year. So, I opened the template in the _include folder and I added this code to the[…]

Read more

How to use a Random SQLite calling in Android

SQLiteDatabase is your friend On Android systems, default database is SQLite. It is a nice way to save and use data, it’s also so similar to SQL and it’s opensource. SQLite supports standard relational database features like SQL syntax, transactions and prepared statements. SQLiteDatabase Android Reference provides a huge reference to implement it in your Android application.Exposes methods to manage[…]

Read more

Disqus comments for Jekyll

Enable Disqus comments on the blog I wanted to enable Disqus comments on the blog, but only on the post pages. So, to do that, I modified the file _layouts/post.html to include, after the post code, the line: {% include comments.html %} To enable Disqus comments, I have created a file _includes/comments.html that includes the universal code founded on my[…]

Read more