This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define('WP_REDIS_CONFIG', [ | |
| 'token' => 'e279430effe043b8c17d3f3c751c4c0846bc70c97f0eaaea766b4079001c', | |
| 'host' => '127.0.0.1', | |
| 'port' => 6379, | |
| 'database' => 1, // change for each site | |
| 'timeout' => 0.5, | |
| 'read_timeout' => 0.5, | |
| 'retry_interval' => 10, | |
| 'maxttl' => 3600 * 24, | |
| 'retries' => 3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Updated package.json: | |
| { | |
| "dependencies": { | |
| "@whiskeysockets/baileys": "^6.7.18", | |
| "pino": "^8.0.0", | |
| "axios": "^1.3.6", | |
| "cors": "^2.8.5", | |
| "express": "^4.18.2", | |
| "ip": "^1.1.8", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace PixelPlus\Elementor\Widget; | |
| if ( ! defined( 'ABSPATH' ) ) { | |
| exit; // Exit if accessed directly. | |
| } | |
| use Elementor\Widget_Base; | |
| use Elementor\Controls_Manager; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Services; | |
| use App\Libraries\AppLibrary; | |
| use Dipokhalder\EnvEditor\EnvEditor; | |
| use Exception; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Facades\Artisan; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Dán đoạn code dưới đây vào file functions.php của theme | |
| function sharexcode_set_reviews_allowed( $product ) { | |
| $product->set_reviews_allowed( true ); | |
| } | |
| add_action( 'woocommerce_admin_process_product_object', 'sharexcode_set_reviews_allowed', 99999 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $args = array( | |
| 'taxonomy' => 'product_cat', // truyền category/custom taxonomy name vào đây. | |
| 'parent' => get_queried_object_id(), | |
| ); | |
| $getterms = get_terms( $args ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Hướng dẫn tại: https://namncn.com/chua-phan-loai/huong-dan-chuyen-huong-htaccess-redirect-301-ten-mien-cu-sang-ten-mien-moi/ | |
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} ^tenmiencu.com$ [OR] | |
| RewriteCond %{HTTP_HOST} ^www.tenmiencu.com$ | |
| RewriteRule ^(.*)$ https://tenmienmoi.com/$1 [R=301,L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * In order to enable this script, follow these steps: | |
| *** Open the Google Sheet you want to use, | |
| ** From the Tools menu select "Script Editor" | |
| * Paste this script into code editor and hit Save. | |
| * | |
| *** Then click: | |
| ** "Publish" & select "Deploy as web app... | |
| *** Select: | |
| ** Execute the app as: Me (youremail@gmail.com) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| - /license/api.php: 28 | |
| private static function remote_post( $body_args = [] ) { | |
| return array( | |
| 'success' => true, | |
| 'license' => 'valid', | |
| 'item_id' => false, | |
| 'item_name' => 'Elementor Pro', | |
| 'checksum' => 'd18890f8c194876c54e58d2f221e5332', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| How to Fix Could not get lock /var/lib/dpkg/lock Error on UbuntuHow to Fix Could not get lock /var/lib/dpkg/lock Error on Ubuntu | |
| sudo kill -9 8808 | |
| sudo dpkg --configure -a |
NewerOlder