RSS Feed Total posts: 65

Automatic dark or light theme selection for Bootstrap 5

Oct 30, 2023 | Bootstrap
Dark theme support was added in bootstrap in version 5.3.0. You can set the theme for your bootstrap components at the website level by adding the data-bs-theme attribute to the html element. You can also switch between the dark and the light themes by modifying this value at any time.

How to pair and connect to Official Rubik's Bluetooth speaker

Oct 23, 2023 | How to
This blog post refers to the Rubik’s speaker that is from the official source. Pairing steps The speaker contains a button near the micro USB port on the opposite side of the Speaker grill. Press the button and hold it for 3 seconds to turn on the speaker.

Adding Cloudfare CDN to Azure Storage

Jul 30, 2022 | Azure Cloudfare CDN
Azure Blob storage is a great way to host all the images, videos, documents, and other files required for your website. But you’ll need to use a CDN along with the blob storage. Otherwise you’ll end up making a lot of requests directly to the storage service result in high costs.

How to use bootstrap tables in Hugo

Mar 20, 2022 | Hugo Bootstrap
If you are using Hugo with Bootstrap, you would have noticed that any tables generated from markdown by Hugo will not have any Bootstrap styles in them. This is because Bootstrap requires specific classes to be added to the HTML table tag which is not present in the HTML from Hugo.

How to delete all events from's main calendar

Sep 12, 2021 | How to
I recently messed up with some imports to my calendar and discovered that you cannot delete your main calendar associate with your account. You see, with Google calendar the easiest way to clear all events from the main calendar is to delete the calendar itself and Google will create a new calendar for you.

My Productivity Setup (a to-do list, a journal and a calendar)

Aug 24, 2021 | Productivity
After switching around with a lot of apps and methods I have finally settled on a system for keeping track of my tasks and goals. I have been using it for 8 months since the start of this year and still feel it is good.

Creating table of contents in Hugo

Aug 2, 2021 | Hugo
Adding table of contents to a Hugo page is a easy as Hugo automatically parses a markdown file and generates a index and stores it in a TableOfContents variable for each page. You can call it by using, {{ .Page.TableOfContents }} which will be replaced by a nav section similar to the following,

Using Firefox Multi-account containers for improving Privacy

Jul 30, 2021 | Privacy Mozilla Firefox
Firefox’s multi account container is a feature that provides isolated containers or profiles within Firefox. Each container has separate cookie, cache, etc… and are isolated from one another. If I log into Google in one container the other container will not have any details of that Google account.

Thoughts on Mi Band 5

Jul 22, 2021 | Opinion Mi Band
I recently purchased a Mi Band 5 for fitness and tracking and here is a summary of my experience with using it for ~2 months. I only used the device for fitness and tracking and didn’t use other things like notifications, alarms, etc… so this blog post covers only that and it is not a full review.

Formatting numeric literals using digit separators in C#

Jul 14, 2021 | C Sharp
I came to know about this just recently that you can format the number in your declaration statement in C#. It is a really nice trick. This feature was first introduced in C# 7 and it allows you to use underscore as a digit separator.

Creating responsive images in Hugo

Jul 11, 2021 | Hugo SEO
If this is the first time you are hearing about responsive image I recommend you to check out this MDN article first. It is a great read. My website already uses Bootstrap so I will be taking advantages of Bootstrap’s classes in addition to the Hugo’s image processing.

Alternatives for Google Analytics

Jul 8, 2021 | Analytics
I wanted to remove the cookie banner on my blog and so I was removing all the cookie usage one by one Disqus comments, Google Ads and the next step was Google Analytics. Although, I had Personal data tracking off, Google Analytics still collected a lot of info and used cookies.

Implementing local site search in Hugo using Jets.js

Jul 6, 2021 | Hugo
When I first implemented search for my blog I went straight for the good old Google custom search. After all, I did my BE final project based on it and I already know how to set it up for my blog.

Windows 11 is here and here is my thoughts on it

Jun 25, 2021 | Windows Opinion
Microsoft just announced Windows 11 and it changes the way we will use Windows. Sure it’s main focus is in the User Interface but it is just not a UI improvement that many speculated based on the leaked builds. Here are the most important things about Windows 11 in my opinion,

Switching my blog from Jekyll to Hugo

Jun 24, 2021 | Jekyll Hugo
I recently switched my blog from Jekyll to Hugo. I have been hearing about Hugo for a few months now and almost everyone was really positive about it. I decided to give it a try. It has been incredibly great so far.