02 Feb How to keep a git feature branch in sync with the master or main branch
git checkout master git pull git checkout mobiledevicesupport git merge master ...
git checkout master git pull git checkout mobiledevicesupport git merge master ...
db.collection.find().forEach(function(myDocument) { db.collection.update( { _id: myDocument._id }, { "$set": { "fieldToUpdate": [myDocument.fieldToUpdate] } } ); }) ...
To exclude a category simple include this code snippet in your Wordpress theme's functions.php file. It is best practice to add this to your child theme as the change will be lost when you update your theme. function exclude_category_home( $query ) { if ( $query->is_home ) { $query->set(...
Sometimes when you're developing, the node.js process will keep running even though it has been stopped in the terminal. This calls for some drastic measures to kill the node processes. This process is slightly different on Windows vs Linux machines. How to kill all node.js processes on...
We do a lot of projects using Gravity Forms. When AJAX is enabled on form submission the spinner is very small and unobtrusive. The ideal is having a nice full screen loader icon that is overlays on a semi-transparent background and gives your site that...