How to securely store passwords ? Saving user names and passwords is really a nightmare. As the number of online services we are using increases it'll become very difficult to remember the passwords including the user names. The most
HTTP/2 with Express - Compatibility Issues Since NodeJS is shipped with inbuilt module for HTTP/2, there has been a wide acceptance in adopting HTTP2 protocol across the world of web. ExpressJS is one of the most popular frameworks
How to view the theme details in Drupal 7 Getting the template information in Drupal 7 is very easy. Enable theme debugging Run the following command from the terminal. drush variable-set theme_debug 1 or drush vset theme_debug 1 If Drush
Serving Robots.txt through Node/Express Server from Drupal [Roboxts.txt|http://www.robotstxt.org/] file plays an important role in SEO. Which tells the search engines to what all URLs can be crawled and not crawlable. Serving robots.txt is quite
nodeJS Serving Sitemap.xml from Headless Drupal to NodeJS/Express Server Implementing API in Drupal 8 is quite easy when we are going into headless mode. But implementing sitemap.xml and robots.txt is quite challenging. Since both systems are disconneted and altering API
git More realistic Git workflow and branching strategy One of the major issue while using git is setting the workflow and branch creation/merge strategy. The complexity increases as the number of developers and no. of parallel feature development increases. Atlassian
Drupal : The Page title is using the following invalid tokens: [node:title], [current-page:pager], [site:name] While creating or updating any content in node add page I started getting the below error The Page title is using the following invalid tokens: [node:title], [current-page:pager], [site:name]. The Description
expressJS How to enable browser caching with express JS When considering performance optimization, browser caching is considered to be one of the best practices. It's very easy to enable browser caching in express JS. Ususally browser caching is preferable for static assets
Info Upcoming holidays in Kerala List of holidays in KeralaPlan your vacation with upcoming holidays. Here is a list of upcoming holidays in Kerala. Holiday Day Date Comments Bakrid Monday August 12, 2019 Long weekend Independence Day Thursday
Info Upcoming holidays in India List of holidays in India Plan your vacation with upcoming holidays. Here is a list of upcoming holidays in India. Holiday Day Date Comments Bakrid Monday August 12, 2019 Long weekend Independence Day
Quick Concept What is code splitting ? Before start about code splitting we should know more about "Bundling". There are many tools used for Bundling and code splitting. But here I am going to write the concept with
git How to create git command aliases From the inception of git, it is the favorite version control system for most of the developers. Git is very flexible to manage the development workflow and collaborate with other developers. Most modern
git How to view my current branch in git If you are usig git branch in your terminal and ended up with a long list branches and struggling to find the active branch ? Here is a quick way to do that. Hey
How to add custom scripts via configuration in wordpress Many a times while working with wordpress sites it becomes important to add third party scripts in our sites. Normally this will be done by modifying template files but this can be done
Technology Free SSL certificate/HTTPS protection for your website After Google announced HTTPS as a ranking symbol there was a tremendous requirement in procurring SSL certificates. But people have to pay for it. A minimum of 10 USD per year is required
Technology Shortcuts to clear cache on web browsers While working with website development it becomes necessary to clear browser cache so that new changes in site gets reflected in site if the old data is cached in your web browser. Old
Technology Clear Drupal cache Drupal stores the site data in cache table so a to improve performance. It speeds up the page load time as the query requests to database tables are minimized, but many a times
Technology Tell me about yourself How to crack frequently asked question in an interview "Tell me about yourself"? This is usually the first question asked in an interview because it lets the interviewer know more about
Drupal SOLVED: Recoverable fatal error: Argument 2 passed to Symfony\Component\Routing\Route::__construct() must be of the type array, null given in Drupal 8 I got the following error while trying to install a new custom module Recoverable fatal error: Argument 2 passed to Symfony\Component\Routing\Route::__construct() must be of the type array, null given
Drupal Create custom module in Drupal 8 I wanted to create a module named "my_module" which list out a simple form, I achieved this in drupal 8 with the following steps Create a folder named "my_
Drupal Reset user password in Drupal 8 If you are unable to login to your drupal 8 site then reset the password for your user using the following steps In your Drupal root folder execute the following command $ core/scripts/
Technology Custom form in Drupal 8 Suppose you have a custom module called my_module in which you want to create the form. Step 1: Intially we will need to add the menu for form in my_module.routing.
Drupal - How to print data/array in watchdog Many a times for debugging the codes which are running in background it becomes necessary to print data in logs. Follow the below steps for printing data in watchdog Enable dblog module in
Technology Drupal 8 - How to render a block programatically If you have a requirement to display a block in your custom page or form in drupal 8 it can be accomplished using block entity objects. First you need to get the block
Drupal Drupal 8 - How to load node object from URL alias Here is a quick snippet which helps to load the node object based on the URL alias. //Your custom URL (alias). $my_url_alias = 'about-me'; // This line will return corresponding system path. // Lets