Let’s say we want to create an Employee class that has the below mandatory and optional attributes.
The Employee class and its constructor looks like below
I was recently creating my responsive portfolio website and was testing it on my mobile. I wanted to inspect few elements. I thought there is no way to do that. But I came to know that there is a way. In this article, we will see how to debug a website on a mobile device.
In modern years, many Digital Creators like Youtubers, Blog Writers, Ghost Writers have emerged a lot. There are so many ways to monetize their content. For example, Youtube has a Patreon option where subscribers can donate money to the Youtubers. But there are very limited options for other content creators to get support from the audience.
Here comes the lifesaver, Buy Me a Coffee. It offers seamless integration with our portfolio sites, share on Twitter and Facebook, etc. In this article, we will be creating a Buy Me a Coffee account and integrate it with the portfolio site.
First, we will start by adding an HTML file with a canvas tag
Python is one of the easiest languages to learn. I got attracted by Python during my college because of its simplicity and ease of learning. Though it is simple to learn, it is one of the powerful languages too. It is quite famous for complex tasks like Machine Learning, Image Processing, NLP, etc.
In this article, we will be looking into the 10 hidden and coolest features of python which many people (I was one of them 😉) may not have heard of.
We all knew about the if-else in programming. …
This is the continuation of the previous article where we saw 5 coolest features of Python. Please do read it here if you haven’t read it. In this article, we will be seeing another 5 coolest features of Python
Dictionary Comprehension is similar to List Comprehension. Here we use dictionaries instead of lists.
Consider we want to generate the squares of N numbers in the form of a dictionary, where the key…
Last year, I started writing blogs on Medium. During that time I was searching for ways to create my own site for listing my blogs. All I ended up with was setting up a Wordpress site which has both free and premium version. Personally, I did not like the themes provided in the free version. So, I created my own portfolio site, where I added the blogs that I wrote on Medium.
Recently, I came to know about Hashnode, a simple and easy platform to set up a blog site in minutes. You can even customize your hashnode site to…
Host static websites with a custom domain and free SSL certificate
Hello everyone. In this article, we will host my personal portfolio site using Github Pages, map a custom domain name and add a free SSL certificate.
Recently, I came across an article, where must-read top 10 books of 2020 were listed. Atomic Habits ranked #1 on the list. I thought of giving it a try and bought the book from Amazon India. I wouldn't myself a good reader and to be honest, this is the first book I finished in my life.
I have read many articles on building habits, which tell things that feel theoretically easy but are very difficult to follow. But it is very different in the case of Atomic Habits. …
In this article, we are going to create a minimal custom Switch Widget in Flutter. Flutter provides a built-in “Switch Widget” which looks simple. We are going to create our own “Flat Style” switch widget.
We will start writing code for the base and the knob separately.
The base is nothing but the background of the switch which is in a rounded rectangle shape.
Software Engineer @ Optum. ✍️ Blog Writer 🔸 👨💻 Full Stack Developer