My email ID (with gmail) contains. .
Like ab.cd@gmail.com.
Usually with Google/gmail it is not a problem - login etc work as usual if I skip the .
ab.cd@gmail.com abcd@gmail.com
On Gmail, both are equivalemt. Login works with both, as Google ignores dots in Gmail addresses.
But for GitHub it is not the case.
I had GH setup with ab.cd@gmail.com I was using commit email without the dot, i.e. git config user....
Save Your Images to imgur and use URL in blog
When creating blog posts on my Hugo site, I used to run into requirement of adding image - there are 2 choices:
Put the image as static file in my site Should I use a public URL from a quick Google search (hosted by someone else!) I decided to go with a 3rd option - host my own image on cloud and use its URL.
Doing it with imgur.
It allows unlimited storage with limit of 50 uploads per hour....
How to kill all Chrome processes on Windows
Sometimes all those open Chrome tabs may be too much for your RAM to handle.
Use the following on your Powershell to kill all chrome services:
taskkill /F /IM chrome.exe
How to Write Multiline Text in YML File
YML is a document (plain text file) that is used generally as configuration file, just like json file would be used. It is meant to be more human readable and have minimal syntax. Refer this Quickstart guide on YML.
You can write strings without " " and I wanted to write a multiline string, but faced a problem.
I tried this SO, first problem I faced is - in yml corrent indentation is important else you get errors like:...
Creating a Blog with Next.js and Markdown - Part 2
This is in continuation to Part 1 What is great about the way we did this (using Next.js) is - we can now export this as a static website. The static website can be deployed anywhere now!
Update build script - use next export Notice in package.json, there is a command called build. This is build script.
npm run build npm run build will build for production, but there is one more command called next export that will export you site as a static website....