use Magento\Catalog\Api\ProductRepositoryInterface;
use Magento\Catalog\Api\Data\ProductInterfaceFactory;You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228
This command searches for exploitation attempts in uncompressed files in folder /var/log and all sub folders
sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log| const mix = require('laravel-mix'); | |
| const url = 'http://lab.tinypixel.test'; | |
| const app = './src'; | |
| const config = './config'; | |
| const resources = './resources'; | |
| const assets = './resources/assets'; | |
| const dist = './dist'; | |
| const externals = { |
| . | |
| .. | |
| ........ | |
| @ | |
| * | |
| *.* | |
| *.*.* | |
| 🎠|
| fromInvoiceId = 418 | |
| fromOrderId = 371 | |
| DELETE FROM sales_invoice WHERE entity_id >= 418; | |
| ALTER TABLE sales_invoice AUTO_INCREMENT = 418; | |
| DELETE FROM sales_invoice_grid WHERE entity_id >= 418; | |
| ALTER TABLE sales_invoice_grid AUTO_INCREMENT = 418; | |
| DELETE FROM sales_invoice_item WHERE parent_id >= 418; |
| 'use strict'; | |
| function sayHello() { | |
| if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) { | |
| var args = ['\n %c Made with ♥ by Dogstudio %c %c %c http://www.dogstudio.be/ %c %c🐶 \n\n', 'color: #fff; background: #b0976d; padding:5px 0;', 'background: #494949; padding:5px 0;', 'background: #494949; padding:5px 0;', 'color: #fff; background: #1c1c1c; padding:5px 0;', 'background: #fff; padding:5px 0;', 'color: #b0976d; background: #fff; padding:5px 0;']; | |
| window.console.log.apply(console, args); | |
| } else if (window.console) { | |
| window.console.log('Made with love ♥ Dogstudio - http://www.dogstudio.be/ 🐶'); | |
| } |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "debian/jessie64" | |
| config.vm.network "private_network", ip: "10.0.0.7" | |
| config.vm.hostname = "magento2.local" | |
| config.vm.provider "virtualbox" do |vb| | |
| # Display the VirtualBox GUI when booting the machine |
This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft,elem.offsetTop,elem.offsetWidth,elem.offsetHeight,elem.offsetParent