Blog

Creating a blog archive page in Jekyll

May 10, 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.

Enabling Code Syntax Highlighting in Jekyll

May 9, 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.

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.

Signing your GitHub commits using GPG keys on Windows

Apr 29, 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 match mine and your commits will be shown as mine.

Give Azure Data Studio a try, if you are a user of 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).

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.

How to save bandwidth in Windows 10 using delivery optimization?

Mar 20, 2021 | Windows
Delivery Optimization is a Windows 10 feature that improves the Windows update experience. It is extremely useful when you have a local network with multiple computers running Windows 10. The settings app says the following about Delivery optimization, If you have an unreliable internet connection or updating multiple devices, allowing downloads from other PCs can help speed up the process.

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 old workflow is no longer working.

Publishing an IIS site to Azure App Service

Mar 1, 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 it is great.

What is GitHub Profile Readme & How to create one?

Jan 13, 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 that is shown when a user visits your repo.

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

Jan 10, 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.

Debloating Samsung M01s

Dec 19, 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 to Android Debug Bridge (ADB).

Goodbye Google Fonts

Dec 14, 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 process has changed, etc… Is Google Fonts still useful today as it used to be?

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.

Adding app shortcuts / Jumplist shortcuts to PWA

Nov 6, 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 and send users directly into their desired section of your webapp directly.

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

Oct 6, 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 Actions.

Debloating my Xiaomi Redmi 8

Sep 11, 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 rooting the mobile thank to Android Debug Bridge (ADB).

Creating Atom (RSS Like) feed for Jekyll blog

Aug 10, 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.

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 blog.

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

Aug 2, 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.

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.

How to change the password of JioFi 4 device

Jul 9, 2020 | JioFi Security
It is always safe to change your default Wi-Fi password of your router or hotspot. Here is how you can change the default password for your JioFi 4 device. Connect your phone or computer to JioFi. Open the URL: http://jiofi.

Speeding up your Windows PC

Jun 29, 2020 | Windows
Windows can get really slow when you are running it on a budget computer. There are certain things & tweaks than can slightly boost the speed on your PC. Disable unwanted startup programs Programs like Adobe Creative Cloud, Spotify, etc.. start in along with Windows and run in the background.

Disabling OEM services in Windows

Jun 23, 2020 | Windows
Windows laptops usually come with a lot pre-installed software. Most of them are bloatware, but the software by OEM, provides some nice features as well. Things like tweaking backlight in keyboard, controlling fan speed, etc… may require the OEM software. However, these software also run a bunch of services in the background whether or not you use it.

Cons of using a Stateless password manager

Jun 17, 2020 | Opinion Security
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 need not to be stored anywhere.

Migrating from .Net Core 2 to 3

May 4, 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.

Using GitHub security policy

Apr 20, 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.

Getting free js.org subdomains for your JavaScript projects

Apr 19, 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.

Decreasing Jekyll build time

Jan 19, 2020 | Jekyll
I have started using Jekyll for my personal website sometime ago. As I started to add more and more pages the build time for Jekyll started to increase. I started looking for ways to decrease the time taken for build. Here is what I have done so far to improve the build speed