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.
May 9, 2021 | Jekyll
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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).
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?
Nov 11, 2020 | General Programming Concepts
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.
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.
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.
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).
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.
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.
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.
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 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.
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.
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.
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.
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.
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.
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