Category

tutorials

160 posts

Understanding and Solving pylint errors for Python 3

Understanding and Solving pylint errors for Python 3

Pylint is an excellent tool to have good quality code. This post is not about…

Eclipse/STS IDE showing compilation errors in java code inspite of all dependencies installed

Eclipse/STS IDE showing compilation errors in java code inspite of all dependencies installed

I have a Java project and dependencies are being managed through maven. I have…

Docker: unauthorized: incorrect username or password.

Docker: unauthorized: incorrect username or password.

While running docker commands with some images, I started getting error: The…

Python: How to generate string of arbitrary length of any alphabet characters

Python: How to generate string of arbitrary length of any alphabet characters

I was testing a bug where a field was limited to 255 characters only. I needed…

Mac showing strange incorrect month name

Mac showing strange incorrect month name

Introduction to problem So, on my mac, I’ev set timezone to my local city i.e…

How to Use Google Fonts in Website design with Bootstrap

How to Use Google Fonts in Website design with Bootstrap

If you are using Bootstrap, the default font that comes with the package is…

How to Fetch JSON of all Videos of a Youtube Channel

How to Fetch JSON of all Videos of a Youtube Channel

Youtube APIs are great way to fetch details about video or channels. I’ve…

How to Make Sticky Block in Sidebar using Bootstrap

How to Make Sticky Block in Sidebar using Bootstrap

Note: This is based on bootstrap-4 If you are using multi column design in your…

Drupal 8: Bootstrap Sticky is not sticky in Drupal 8 - Solved

Drupal 8: Bootstrap Sticky is not sticky in Drupal 8 - Solved

Bootstrap has a simple solution to have sticky blocks in your html. I’ve given a…

How to Protect Git branch and Enforce Restrictions

How to Protect Git branch and Enforce Restrictions

In previous article: Effective Git Branching Strategy, I discussed Git branching…

An Effective GIT Branching Strategy

An Effective GIT Branching Strategy

Its essential to prepare a git branching strategy. This helps greatly in…

How to Renew Lets Encrypt SSL Certificate

How to Renew Lets Encrypt SSL Certificate

Introduction to problem This post is applicable for those who has already an SSL…

Python - Dont Use Static or Class variables with Self

Python - Dont Use Static or Class variables with Self

While doing code review of one of junior, I encountered following code: What…

Resolving Checkmarx issues reported

Resolving Checkmarx issues reported

So, here we are using input variable String[] args without any validation…

How to solve - Apache Ftp Client library is printing password on console

How to solve - Apache Ftp Client library is printing password on console

The problem comes while using FTPS. When developer uses login method of this…

How to enable syslog in Drupal websites (Performance Optimization)

How to enable syslog in Drupal websites (Performance Optimization)

You can either do tail -f drupal.log or open it in an editor like vim.

Static Website Hosting with AWS S3 and Cloudflare

Static Website Hosting with AWS S3 and Cloudflare

Static websites have several advantages over dyanamic websites. If you are…

Drupal 8: How to Export and Import View

Drupal 8: How to Export and Import View

You have created some views, and want to port it to your production environment…

Curl - Your friend for Rest APIs/Calls - Basic Commands

Curl - Your friend for Rest APIs/Calls - Basic Commands

Curl is a wonderful tool for initiate REST APIs or calls. Or, you can literally…

Drupal Code: Fetch Link, Title, Category names, tag names from every article

Drupal Code: Fetch Link, Title, Category names, tag names from every article

See the code below: The output will be 4 columns separated by comma. You can…

Common used Elastic Search queries

Common used Elastic Search queries

Listing down the commonly used Elastic Search queries. You can get search…