Blog
Showing 15 out of 63 blog posts
Adding Cloudfare CDN to Azure Storage
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
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 Outlook.com's main calendar
Sep 12, 2021 |
How to
I recently messed up with some imports to my outlook.com calendar and discovered that you cannot delete your main calendar associate with your outlook.com 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
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
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
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
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.
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.