Mastodon

Blog

RSS Feed Total posts: 65

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 Galaxy

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.