OpenLiteSpeed + Redis Object Cache

Adding Redis to OpenLiteSpeed introduces an additional caching layer, enhancing the performance of your WordPress websites. The first step is to verify your PHP version. This can be done through phpinfo() or via the OpenLiteSpeed web panel. In my case is PHP 7.4 In SSH Now that Redis is installed and operational, let’s proceed to … Read more

WordPress Optimization: Switching from Apache to OpenLiteSpeed

Fast like Nginx and configurable via a web interface, OpenLiteSpeed offers peak performance for caching WordPress sites Choosing the right web server software is crucial for hosting WordPress sites efficiently. OpenLiteSpeed emerges as a superior choice over traditional servers like Apache or Nginx for several compelling reasons. Firstly, OpenLiteSpeed is renowned for its exceptional performance, … Read more

Duplicate the customer user roles in woocommerce via code

In particular cases, it can be useful to add a user roles group cloned.As you know the default groups in Worpress are Administrator, Editor, Author, Contributor, Subscriber.Woocommerce adds the following: Shop manager and Customer.The following code lets you create a new User Roles group base on cloning the customer roles: Questions? Suggestions? Please leave a … Read more

Text to Speech crash on unity 5

I’m working on a stable and updated text to speech for unity 5 click here for description examples and code If you are trying the “DaG_II first attempt (here)” to make unity talk on windows, using MSDN SAPI, your build version may crash Joffle from the forum unity3d figure out how to solve it: when GetVoices is called, the CustomMarshalers.dll … Read more

Scene pause Unity 5 (c#)

Pausing a scene using UnityEngine; using System.Collections; //Finalmarco.com public class PausaGioco : MonoBehaviour { bool paused = false; void Update () { if(Input.GetKeyDown(“p”)) { gamePaused(); } } void OnGUI() { if (paused == true) { GUILayout.Label(“GAME IS PAUSED”); if(GUILayout.Button (“CLICK TO UNPAUSE”)) { gamePaused(); } } } void gamePaused() { if (Time.timeScale == 1) { … Read more