Copy from MongoDB shell in compass use Select all by ctrl+a Copy does not work so use the cut command ctrl+x For paste use ctrl+v
Read more// delete branch locally git branch - d localBranchName // delete branch remotely git push origin -- delete remoteBranchName // refresh branch li…
Read moreWhere school-id != 84 SELECT COUNT (*) FROM wp_ntt_contact_form_addon WHERE form_value NOT LIKE '%\"school-id\";s:2:\"84\"…
Read more// Syntax for mysqldump mysqldump -u[database_username] -p[database_password] [database_name] > [path-to-export/filename.sql] // example mysqldump -uro…
Read more<?php add_action ( 'wpcf7_before_send_mail' , 'action__wpcf7_before_send_mail' , 20 , 3 ); function …
Read moreUbuntu URL NOT found issue in php folder 1 - Use terminal to open this file ``` sudo gedit /etc/apache2/apache2.conf ``` 2 - Find the below line in that …
Read morefunction getCF7FormField ( $form_id ) { $return = []; $return [ 'success' ] = false ; $donor_form_field = WPCF7_ContactForm :: ge…
Read moreNode Cron Without Timezone const cron = require ( "node-cron" ); //IST 2:00 AM == 8:30 PM UTC cron . schedule ( "30 8 * * *" , asyn…
Read moreHow to add some value or replace a new value when contact form 7 is render. < label > Your name [text* your-name] </ label > [hidden sch…
Read morefunction insert_multiple_rows ( $table , $request ) { global $wpdb ; $column_keys = '' ; $column_values = '' ; $sq…
Read moreStep 2: Creating a local environment variable with Gatsby Our next step is to create a local environment and add a change that will let us see that it wor…
Read moreadd the code in wp-config.php: define ( 'FS_METHOD' , 'direct' );
Read more1. You may also need to modify apache2.conf file. sudo nano /etc/apache2/apache2.conf 2. Change your web directory override rule to AllowOve…
Read moreOpen a Terminal window and type: `sudo visudo` In the bottom of the file, need to add the following line: `$USER ALL=(ALL) NOPASSWD: ALL` Where $USER is…
Read morewarn Attempted import error: './header.module.scss' does not contain a default export (imported as 'headerStyles'). import headerStyle…
Read more