Replace Paragraph Break with Line Break in LibreOffice Writer with these simple steps.
Author: Abhineet Mittal
Whitelist all sub-sites for wp_safe_redirect in WordPress Multisite
This article shows how to add all the domains/sub-domains of a WordPress multisite network to allow safe redirects through wp_safe_redirect function.
Make Javascript sequential with “async” and “await”
Javascript code can be easily made sequential with the help of two simple, yet very powerful keywords “async” and “await”.
Javascript: Loop over querySelectorAll without error
In Javascript, there are a lot of instances when you want to find multiple elements on a page to apply a common operation to all of them. Suppose you want to hide elements of a particular class present on your web page. To do this, first get an array of all such elements using querySelectorAll…
Where to add custom code in WordPress
Writing custom code for WordPress may be easy, but you should carefully add your code at the correct place to keep it clean and easily maintainable.
How to create a WordPress plugin
Easily create a simple WordPress plugin without any complex setup or need of FTP/SSH to your hosting server.
How to use PHP built-in web server
You can use the PHP built-in webserver to test your PHP code, without the need to set up complex WAMP or LAMP software on your desktop.
Enable Gzip compression in WordPress with htaccess
Gzip compression speeds up your Wordpress website by compressing the resources at the server level using simple .htaccess configuration in Apache server.
Correct file permissions for WordPress on Apache
Let us set up correct file permissions (chmod) for your Wordpress website to ensure the flawless functioning of your website and security from attacks.
Customize your link preview on Facebook
Facebook & Twitter support Open Graph Protocol to transforms your blog post into a rich social object, allowing you to decide the appearance of your post's link preview on their respective platforms.
JSON-LD: Add Structured Data to improve SEO
Add structured data JSON-LD to your blog or website for better search engine optimization (SEO). It helps Google to understand your content better and helps your website to get a better search ranking.
Social Sharing Buttons without Javascript
Add social sharing buttons to your website without any Javascript with these simple code snippets.
Add url rewriting router to PHP built-in server
PHP built-in server provides an excellent option to rewrite URLs through router.php. It is very convenient when testing a small PHP application on your machine without the worries of setting up a full server stack.
Enable browser caching in WordPress using htaccess
Browser caching for all types of files can be easily done using Apache's .htaccess file. This simple configuration results in a faster website, less consumption of bandwidth and better user experience.
Should you quit your job for CAT Preparation?
Why people quit their jobs to prepare for CAT? Most of the time it is a bad manager, less salary or disillusionment with the current job. It makes sense to leave something for something much better. But you have to decide the right time to do it.
How to count words in Unicode string using PHP
How to count words in Unicode string using PHP? This sounds too easy. After all, PHP has so many string manipulation functions. To count words, we can simply use str_word_count and we are good to go. But there is a problem. While this function works fine for English strings, developers find this function unpredictable as sometimes…
I missed you too
It was the best she ever looked. She was determined to fix everything today. Her flowing hair shining like gold fluttered through the breeze. Once again she looked at her cellphone mirror. “Perfect. He would love to see me.” She said to herself. It was a bright day, full of sunshine. As she walked by…
List of Important CAT Preparation Books
A lot of candidates ask me about the important books to be referred while preparing for CAT. They are also confused about whether to join any coaching center or not. If yes, then which CAT coaching institute to join.
In this post, I will try to clear these doubts. I will give you important books list for CAT Preparation. Also, I will share some good resources/material which will help you a lot in your CAT preparation.
My Idea of a Peaceful Dream Vacation
Two things which are very famous in Ooty are homemade chocolates and tea factory. The tea factory manufactures so many varieties of tea including chocolate flavored tea. One can buy a ticket to even visit the factory and witness the whole production process. At various points, they offer you sample tea of different flavors which is a delight to taste. I will not be able to leave that place without buying at least a few kilos of tea powder.
“New IIM” vs “Old” Private B-School
There has been a history of highly inflated and misrepresented placement figures by many private non-IIM B-schools. Though, in case of an IIM, you can try filing RTI to get true information.