New Know How
To begin customizing your site go to Appearance -> Customizer and select Theme Options. Here's you'll find custom options to help build your site.
To begin customizing your site go to Appearance -> Customizer and select Theme Options. Here's you'll find custom options to help build your site.
To add a slider go to Theme Options -> Homepage and choose page slider. The slider will use the page title, excerpt and featured image for the slides.
To add featured content go to Theme Options -> Homepage (Featured) and turn the switch on then add the content you want for each section.
You can configure your virtual host using WebAdmin. But if you prefer, the terminal way, then follow the following steps. The virtual host configuration is mainly kept in directory: In the above directory you can see a file named: ‘httpd_config.conf’. Which is the main configuration file for the litespeed server. Every virtual configuration file has
Update: For latest steps. Visit Here. LiteSpeedServer is better then Apache server in terms of handling high visitor count. So today I will posting how I installed the ListSpeedServer, PHP 8 and Maria DB (MySQL) server on CentOS 8. Sit tight as it would not take long as long as you have terminal access to
I have created a rpm with latest source of aria2. This rpm is built for centos 8 and may not work on other versions of CentOS. You can download the latest rpm from link below: https://dl.dropboxusercontent.com/s/cxzijq4dwaxxg4o/aria2-1.35.0-0.x86_64_centos8.rpm If you have CentOS 7 then please visit: Install on CentOS 7 To install use the following command: The
Below are the commands you should run in order to upgrade to PHP 8 You may face issue like In that case simply remove the old extension. For example to resolve above error I had to remove mysql extension by using following command: And now you can check the php version by using following command
Today, I was debugging a .net core API. It was taking more than a minute to execute for a simple query which was fetching two-three related entities also. When I started going through the console for the generated SQL, I figured out that the query is split into three parts and each part was taking
This is a simple pattern that will provide react hook and react higher component to get the state from redux and register the actions. First create a ts file with an initial state, reducers, and saga effects: In the above code, the namespace must be the first part of the type in effects and reducers
Using the content-disposition header property, we can tell the browser if to download or to show image in browser: “content-disposition: attachment” will download the file while “content-disposition: inline” will display the file in the browser if supported.
Right now creat-react-app supports SASS by default. So to add less support we need to eject first and then edit “webpack.config.js” file. To eject configuration run following command: And install less loader and less Now search following: And replace with Now we need to replace SASS loader with less loader. Find the following lines: in
Choose the version: https://nodejs.org/dist/ On Centos7 choose “x64” .gz linux build archive. And run following command
A new version of aria2 is now available and I have created the rpm for this version too. It was compiled on centos7. Download link for aria2 1.35.0 rpm is given below: https://www.dropbox.com/s/5qveuq0i3nj4bf1/aria2-1.35.0-0.x86_64.rpm?dl=0 gpgcheck have to be turned off because rpm is not signed. Run following command to install aria2 : Install the rpm using: