I've been writing online since 2019, mostly about web development, Data Science and Productivity tips. In total, I've written 27 articles on this site. Use the search below to filter by title.
How to open sublime text from the windows command line
Sublime Text is a light-weight IDE for quick development. We can open Sublime text from the command line just like VS Code.
October 23, 2021
Mnist handwritten digit classification using CNN
Mnist dataset is used as an introduction to neural network for beginners. Convolutional Neural Networks (CNNs) are the current state-of-art architecture mainly used for the image classification tasks.
October 17, 2021
Sentiment analysis flask web app using python and NLTK
Sentiment analysis in python is really simple because of the NLTK library and it's pretrained model called VADER(Valence Aware Dictionary for Sentiment Reasoning)
September 23, 2021
Difference between sort() and sorted() in python
sorted() and sort() are build in pyhon methods for sorting a python list
September 22, 2021
Find unique elements in python list
Using set() property of Python, we can easily check for the unique values. Set only stores a value once even if it is inserted more then once.
September 21, 2021
CSS to ignore parent padding in 4 lines
You need a full-width container element because the design has a background-color that goes from edge-to-edge horizontally. But the content inside doesn’t necessarily need to be edge-to-edge.
September 18, 2021
The complete Anaconda cheatsheet
Anaconda is a python package manager and it is really amazing, it is popular because it brings many of the tools used in data science and machine learning with just one install.
September 17, 2021
Mnist handwritten digit classification using tensorflow
Mnist dataset is used as an introduction to neural network for beginners. In this article I use Tensorflow and keras to build a neural network.
September 16, 2021
The ultimate guide to confusion matrix in machine learning
This article explains some of the very important terms in Machine learning such as Accuracy, Precision, Recall and Confusion matrix.
September 15, 2021
Create Random String and strong Passwords in Python in 4 lines of code
The secrets module is used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets.
September 14, 2021
How to build a Spam Classifier in python and sklearn
The upsurge in the volume of unwanted emails called spam has created an intense need for the development of more dependable and robust antispam filters. This tutorial will help to build a simple spam classifier using python.
September 13, 2021
Introduction to Word Frequency in NLP using python
Natural language processing (NLP) refers to the branch of computer science—and more specifically, the branch of artificial intelligence or AI—concerned with giving computers the ability to understand text and spoken words in much the same way human beings can.
September 12, 2021
Mushroom dataset analysis and classification in python
Mushroom classification is a machine learning problem and the objective is to correctly classify if the mushroom is edible or poisonous by it's specifications like cap shape, cap color, gill color, etc. using different classifiers.
September 10, 2021
How to Use Filter in PostgreSQL with example
Postgres 9.4 was released in December 2014 adding the `FILTER` clause to aggregate functions and this clause is quite useful when you want to count or sum specific records when executing group by.
September 06, 2021
How to use python virtual environment with conda
A virtual environment is a Python environment such that the Python interpreter, libraries and scripts installed into it are isolated from those installed in other virtual environments.
August 21, 2021
Install jupyter notebook on ubuntu 20.04 using virtualenv
Jupyter Notebook is an essential software used by data scientists, it lets you create and share interactive code, visualisations, and more.
August 07, 2021
Add ellipses to overflowing text and truncate the text using CSS
The text-overflow property specifies how overflowed content that is not displayed should be signaled to the user. It can be clipped, display an ellipsis (...), or display a custom string. If you don't want text to wrap and add ellipses to overflowing text this is how to do it.
July 22, 2021
Using Redis to make your website 30-40% faster
Redis is a type of database and it can be added to your production level application to make it more performant.
July 11, 2021
How to add Next.js 11 image component to your website
How we can blur image while loading in version 11 next.js? Showing low quality placeholder till the high quality image loads with coding examples.
June 26, 2021
How to return value from image.onload function
June 16, 2021
June 12, 2021
How to convert existing react website into progressive web app (PWA)
Progressive Web Apps (PWAs) are web apps that use service workers, manifests, and other web-platform features in combination with progressive enhancement to give users an experience on par with native apps.
May 26, 2021
Introduction to Progressive Web Apps
Progressive Web Apps (PWAs) are web apps that use service workers, manifests, and other web-platform features in combination with progressive enhancement to give users an experience on par with native apps. In this article I will show you how easy it is to make your website PWA compatible
May 25, 2021
Create react code snippet component
How Create a component for displaying codeblocks in a react website. This is a port of highlight.js.
May 22, 2021
How to build a React drag-and-drop component for file upload
React DnD is a set of React utilities to help you build complex drag and drop interfaces while keeping your components decoupled. In this article, we'll learn how to create our own drag-and-drop component in React, and we'll use the HTML5 native DnD API for this.
May 22, 2021
8 underrated git commands every programmer should know
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. These are some of the most useful git commands that helped me during my programming journey
May 22, 2021