Browse all Posts

Python 3 - Magical Methods and Tricks with extremely useful methods

This post will show some really awesome tricks in python.

Git shortcuts - Helpful shortcuts for git users

Github is an awesome place of storing your code. Now, it also allows you to have private repositories for free....

Python 3 - Fun with Python String

This post some useful tips of using strings, and some issues while dealing with strings

Python 3 - Format String fun

This post is dedicated for cases where we intend to append a variable value in a string, whether in logs,...

Drupal 8 - How to show view user data to owner user only

Introduction to Problem I have some data related to users. For example: which are the files users have downloaded. This...

Understanding and Solving pylint errors for Python 3

Pylint is an excellent tool to have good quality code. This post is not about how pylint works. Lets see...

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 installed all dependencies, and each library...

Docker: unauthorized: incorrect username or password.

While running docker commands with some images, I started getting error: unauthorized: incorrect username or password.

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 to generate a string...

Mac showing strange incorrect month name

Introduction to problem So, on my mac, I’ev set timezone to my local city i.e. Delhi (India). Still, the name...

How to Use Google Fonts in Website design with Bootstrap

If you are using Bootstrap, the default font that comes with the package is pretty simple and is not classy....

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 written a nodejs module for youtube api,...

How to Make Sticky Block in Sidebar using Bootstrap

Note: This is based on bootstrap-4

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 simple example in my previous...

How to Protect Git branch and Enforce Restrictions

In previous article: Effective Git Branching Strategy, I discussed Git branching strategy and how you can follow best practices to...

An Effective GIT Branching Strategy

Its essential to prepare a git branching strategy. This helps greatly in preparing a build management plan and deployment plans....

How to Renew Lets Encrypt SSL Certificate

Introduction to problem This post is applicable for those who has already an SSL certificate from Lets Encrypt. And, wants...

Python - Dont Use Static or Class variables with Self

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

Resolving Checkmarx issues reported

Unnormalize Input String It complains that you are using input string argument without normalize. By normalizing means, do some refinement...

How to enable syslog in Drupal websites (Performance Optimization)

Introduction Drupal default installation comes with “Database logging” module enabled. Which facilitates you to see the logs on the website...

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

Problem Statement Apache provides lot of libraries for common utility functions for Java. One such common library is FTP library...

Static Website Hosting with AWS S3 and Cloudflare

Static websites have several advantages over dyanamic websites. If you are running your personal blog or portfolio or small websites....

Drupal 8: How to Export and Import View

Introduction It’s always a good practice to have a development environment and production environment for any kind of development. This...

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

Curl is a wonderful tool for initiate REST APIs or calls. Or, you can literally open any web URL through...

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

Problem Statement You have bunch of articles, say 250 or more. You hired a freelancer to do some SEO stuff....

Common used Elastic Search queries

Listing down the commonly used Elastic Search queries. To see all available Index names GET /_cat/indices?v Output: health status index...

ElasticSearch: Validation Failed: 1: script or doc is missing

While dealing with ELastic Search documents, you faced this issue while updating document: ElasticSearch: Validation Failed: 1: script or doc...

SEO and Aesthetics - The Web-fonts Balance

Often while designing websites, and writing articles, images not just help in adding to the aesthetics but also cutting through...

Drupal: How to block a user by email programatically

Many times, while administering your drupal website, you must have encountered some spam emails. And, you have no way to...

php55w-common conflicts with php-common-5.* | Php issues while installing libraries

I was trying to install mongo extension with pecl. pecl install mongo