...

Command line

aws Automatic create and delete snapshot script

hey guys, If you want to create the snapshot daily of you aws instance this article is for you, previously I was use aws cli to make snapshot daily…

...

Command line

Recursively delete all files of a specific extension

Usually we all use "rm" command to delete or remove the files and folder on linux, but if we want to delete the specific type of content/files then…

...

PHP

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 54 bytes)

Sometimes we get this php error on long page load or load many files are at once Fatal error: Allowed memory size of 134217728 bytes exhausted (…

...

PHP

check if a string contains a specific word with PHP

n PHP sometimes we need to find the specific word in the string for the programitically use the code, there is a function called "strpos()" will help…

...

Drupal

Getting permission error when installing CiviCRM under Drupal with Xampp

If you are getting permission error while installing CiviCRM on xampp then, its is default CiviCRM user permission error, Just comment the…

...

Drupal

Create Node drupal 8 programmatically with image upload using custom module

As we know drupal 8 use symphony, so module structure of drupal 8 is change and workflow functionality of doing thing also change. we can make Drupal…

...

Command line

Install Apache Solr on Ubuntu

Install Apache Solr 7.7 on Ubuntu 18.04 & 16.04 LTS This tutorials explains how to install solr 7 on ubuntu system 1) Install or Check Java…

...

Drupal

Send file as Email attachment using hook_mail_alter drupal 7 programmatically (example webform submit)

Hi guys, In this tutorial we can see how we can send files as attachments in drupal 7 on webform submit using a hook_mail_alter  1) For this we…

...

Drupal

Render menu on page template in custom way Drupal 8

If you want to render the menu items in custom way in page or node twig template of drupal 8 then this article is for you :   At man place where…