Creating a blog archive page in Jekyll

10 May 2021 | Jekyll
In this post, I’ll explain about creating a archive page for your blog that arranges post by the published year. Creating a archive page in Jekyll is quite easy. Jekyll stores all your blog post related information in site.posts, which we will use to generate the archive. First we’ll start...

Enabling Code Syntax Highlighting in Jekyll

09 May 2021 | Jekyll
TLDR: You need to add some CSS. Sometime ago I switched from embedding code form GitHub on my blogs to have the code directly in HTML. I did for performance reasons and cutting out some JavaScript. And the change helped in increasing the performance of the page for sure. But...

Disable Google's FLOC on your website

Google introduced in Mar 2021, a new cross-site tracking method called Federated Learning of Cohorts(FLoC) to aid advertisers target ads. The idea is that Chrome will track and analyse the browsing behaviour of a user and place them into groups or Cohorts. For example, a cohort may tell that you...

Signing your GitHub commits using GPG keys on Windows

29 Apr 2021 | Git GitHub Security
Why should you sign a git commit? By default, git takes the author information for a commit from the git configuration. This means that someone can edit their git config to impersonate me. All you need to do is to edit your commit email and name in git config to...

Give Azure Data Studio a try, if you are a user of SSMS

17 Apr 2021 | SQL Azure Data Studio SSMS
When I first heard about Azure Data Studio and saw it in some YouTube videos I thought that it is just a modified VS Code instance that is useful for Linux and MAC users who don’t have SSMS(SQL Server Management Studio). I thought “Why would anyone use it over SSMS?”....

Creating & Managing custom blocklists in the Azure Content Moderator service

In my previous blog post I explained about using Azure Content moderator service to identify personal information and explicit content in a given text and using it for moderating comments. In this blog post we will look into another feature of the Azure Content Moderator service called the terms list....

Moderate comments on your website using Azure Content Moderator

In this post we are going to see in detail about how Azure Content Moderator can be used to moderate comments on your website/blog. For those who prefer to view code instead of reading through blog post, here is the GitHub Link to my article. First, what is Azure Content...

Customizing Windows Terminal with Oh my Posh 3

Oh my Posh is an excellent tool to customize your Windows Terminal. I started customizing my Windows Terminal with Oh my Posh 2 and Posh git based on an excellent blog post by Scott Hanselman. However with the release of Oh my Posh 3 a lot has changed & the...

Publishing an IIS site to Azure App Service

01 Mar 2021 | Azure .NET IIS
Recently I was tasked with deploying an IIS website on Azure for internal use. The normal way to do this is to create a VM and deploy the website to the IIS server within the VM. I have been using App services for a few years now, and I think...

What is GitHub Profile Readme & How to create one?

13 Jan 2021 | GitHub
If you have used GitHub you might have noticed the importance of a Readme file. For those who are unfamiliar, it is the a markdown or a text file whose contents are rendered automatically by GitHub. A Readme file at the root folder of your repo will contain the information...

Rules / Filters in Emails are awesome even if you don't receive a ton of emails

10 Jan 2021 | Productivity
I have heard a lot about creating Filters in Gmail or Outlook to automate tasks such as organizing your email into folders. But I have never used a filter until a few months back. You see, I don’t receive a lot of emails. My old email routine is a simple...

Debloating Samsung M01s

19 Dec 2020 | Android
While Samsung’s One UI is not as bloated as some other Android skins, it still contains a lot of apps & services that we don’t use and don’t have an option to uninstall. Removing Apps It is now possible to remove apps from mobile phone without rooting the mobile thank...

Goodbye Google Fonts

14 Dec 2020 | SEO
I have been using Google Fonts since I started creating websites. They are really useful. Their performance is great, you get a free cdn and so on. But a lot has changed since those early days. Hosting provides have started offering free CDNs, internet have become a lot faster, caching...

Call stack & Stack overflow explained

Call stack, recursion and stack overflow(not the website, but the stack overflow exception) are some of the words you would have heard in interviews. In this post, we will see what are they, how they behave in C# and how to avoid the stack overflow exception in your code. What...

Adding app shortcuts / Jumplist shortcuts to PWA

06 Nov 2020 | PWA Web Technologies
Have you ever used Android’s app shortcuts or the Jump lists in Windows? They are handy links to go to a particular section of an application directly. I use them often particularly on Windows and find them greatly useful. It is now possible to do the same for your PWA...

Deploying NuGet package using GitHub Actions (without any marketplace actions)

06 Oct 2020 | CI/CD GitHub Actions Nuget
GitHub Actions is one of the things I came to love about GitHub. Managing CI/CD within your code repo is a great thing. I started using GitHub Actions for many things from label management to publishing this website. So, I decided to try out publishing a Nuget package using GitHub...

Debloating my Xiaomi Redmi 8

11 Sep 2020 | Android
It is no secret that MiUi is bloated with a lot of apps and has ads all over the place. Here is how to debloat MiUi. This debloating does not affect any core features or system update. Removing Apps It is now possible to remove apps from mobile phone without...

Creating Atom (RSS Like) feed for Jekyll blog

10 Aug 2020 | Jekyll
Jekyll is a great platform for developing your blog. It has many features that are geared towards the usage of blogs. It was a surprise to me when I found that the Jekyll blog does not have any RSS/Atom feed by default. But fortunately it is easy to add a...

Minifying & Optimizing static websites using GitHub actions

If you are using GitHub to host the repository for your static websites, you can use GitHub actions and GitHub marketplace apps to optimize your static automatically. The GitHub actions is a great CI/CD tool and here is how I use it to minify my static sites such as this...

Improving the performance of Disqus (Lazy loading, selective loading)

02 Aug 2020 | Disqus SEO
Disqus is a great commenting platform. It provides a great deal of control and it’s free tier is not heavily limited making it an ideal choice for small and medium size blogs. After trying out few of the alternatives, I decided to implement Disqus on this blog. After installing Disqus,...

Publishing PWA to Microsoft Store

As you might have noticed, this blog is a PWA. Since, it is now possible to publish PWAs into Windows Store I thought why not publish my blog. It is not super useful to anyone but hey, it is a PWA and why not try it. It went well and...

Cons of using a Stateless password manager

17 Jun 2020 | Opinion Security
What are Stateless Password Managers? They are password managers that generate password based on certain values. For example, they will generate password using your email, website / app name and a secret phrase. The idea being that you will only need to remember a single secret phrase and the passwords...

Migrating from .Net Core 2 to 3

04 May 2020 | .NET
I recently migrated my .Net Core Boilerplate template from .Net Core 2.2 to 3.1. It is a relatively easy process. If you are planning to upgrade the .Net Core version in your project then I recommend checking this awesome guide from Microsoft. Some of the major things to look out...

Using GitHub security policy

20 Apr 2020 | GitHub Security
Why do we need security policies? We cannot receive security issues the same way we receive bugs. That way our security issues will become visible to all before we fix it. That’s why GitHub allows you to create a security policy. Using security policy Security policy is a markdown file...

Getting free js.org subdomains for your JavaScript projects

19 Apr 2020 | JavaScript
Do you know you can obtain a free sub-domain under js.org like your-project.js.org for your JavaScript projects. I obtained it for one of my projects. It is one of the coolest sub-domains you can get for free. But your project must be related to JavaScript to avail the subdomain. Here...