How to enable GZIP compression using .htaccess

Add the following to the top of your .htaccess file in the root public folder of your website: <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE...

HTTP security for Divi WordPress websites

To improve the security of your website extra headers can be added to your website using .htaccess. If you’re using Divi in your WordPress website, add the following to your .htaccess file (at the top). # Server Security <IfModule mod_headers.c> Header set...

25 Motivational Quotes To Fill Your Day With Happiness

“Be happy with what you have. Be excited about what you want.”— Alan Cohen “Happiness is when what you think, what you say, and what you do are in harmony.”— Mahatma Gandhi “Doing what you like is freedom. Liking what you do is happiness.”— Frank Tyger “We tend to...

React Native CLI error: Failed to install the app. Please accept all necessary Android SDK licenses using Android SDK Manager: “$ANDROID_HOME/tools/bin/sdkmanager –licenses”. Run CLI with –verbose flag for more details.

You need to accept the licenses through the terminal/prompt e.g on linux: cd ~/Library/Android/sdk/tools/bin/ Run the sdkmanager as follows: ./sdkmanager –licenses e.g on Windows: cd /d “%ANDROID_SDK_ROOT%/tools/bin” Run the sdkmanager as follows:...

How can I update NPM to the next version?

How do I update npm? npm install -g npm Please note that this command will remove your current version of npm. Make sure to use sudo npm install -g npm if on a Mac. You can also update all outdated local packages by doing npm update without any arguments, or global...

How to make a Divi full width slider full height also

If you’re using Elegant Theme’s Divi, and you have a full width slider at the top of your page you wish to extend down to the bottom of the view port, at first add a css class name to< that particular slider module, say: my_slider. After that add the...