Resources
https://cyberpanel.net/blog/2021/04/28/how-to-find-wordpress-performance-bottlenecks/
| # restart only those docker container which are exited | |
| docker restart $(docker container ls -f status=exited -a -q) |
If curl extension is not found, you can Install it using the following command.
apt-get install lsphpXX-curlAnswer from link: https://forum.openlitespeed.org/threads/curl-issue-on-debian-and-ubuntu-in-1click-install.2576/#post-4333
(This may work on windows CMD terminal as well.)
Quick fix command that needs to be used.
sudo scp -i /mnt/d/PuttyKey/live_open_ssh -r /mnt/d/ixi\ backup/November_29_acf8a2576fd1cce99287_20211129171850_archive.zip [email protected]:/var/www/html
When you will run this you may get
| import pandas as pd | |
| from tqdm import tqdm | |
| from selenium.webdriver import Chrome | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| from selenium.common.exceptions import NoSuchElementException | |
| from selenium.common.exceptions import TimeoutException | |
| from time import sleep | |
| data = pd.read_csv("D:\Scrape\WooCommerce Plugin\woocommerce_resultData.csv") |
PHP INI changes:
upload_max_filesize = 64M
max_file_uploads = 200
post_max_size = 64M
memory_limit = 2000M
max_execution_time = 120
This gist will contain all the learnings gathered while working with WooCommerce which we can come back in case of confusion.
Get all the possible materials for a particular type of product which have $maincatergory (say Mens | product_cat) marked in them.
public static function getMaterials($search_term, $maincategory) {
$return_arr = a(array());
$terms = a(array());
$args = array(| <?php | |
| namespace App; | |
| use App\Product; | |
| use function Arrayy\create as a; | |
| function categoryProductSearch() { | |
| // check_ajax_referer('ajax-nonce', 'nonce'); | |
| $maincategory = sanitize_text_field($_POST['mainCategory']); |