Run :
adb shell getevent -pl
Search for : "ABS_MT_TRACKING_ID" - example :
http://sed.sourceforge.net/sed1line.txt | |
------------------------------------------------------------------------- | |
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005 | |
Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5 | |
Latest version of this file (in English) is usually at: | |
http://sed.sourceforge.net/sed1line.txt | |
http://www.pement.org/sed/sed1line.txt |
inotifywait --monitor --timefmt '%F %T' --format '%T %w %e' --recursive $1 |
/** | |
* Default WooCommerce Single Product Hooks | |
*/ | |
/** | |
* Hook: woocommerce_before_single_product_summary. | |
* | |
* @hooked woocommerce_show_product_sale_flash - 10 | |
* @hooked woocommerce_show_product_images - 20 | |
* | |
* Hook: woocommerce_single_product_summary. |
$wp_customize->add_control( | |
new WP_Customize_Latest_Post_Control( | |
$wp_customize, | |
'featpost_control', | |
array( | |
'label' => __( 'Select A Featured Post', 'mytheme' ), | |
'section' => 'header_section', | |
'settings' => 'featured_post', | |
'post_type' => 'page' | |
) |
<?php | |
/** | |
* Make Elementor the default editor, not the WordPress Editor (Gutenberg or Classic) | |
* Clicking the page title will take you to the Elementor editor directly | |
* Even non-Elementor-edited pages will become Elementor-edited pages now | |
* You can revert by clicking the "Back to WordPress Editor" button | |
* | |
* Author: Joe Fletcher, https://fletcherdigital.com | |
* URL: https://gist.github.com/heyfletch/7c59d1c0c9c56cbad51ef80290d86df7 |
find . -printf '%s %p\n'| sort -nr | head -10
<?php | |
/** | |
* Plugin Name: TOPTAL WP-CLI Commands | |
* Version: 0.1 | |
* Plugin URI: https://n8finch.com/ | |
* Description: Some rando wp-cli commands to make life easier... | |
* Author: Nate Finch | |
* Author URI: https://n8finch.com/ | |
* Text Domain: toptal-wpcli | |
* Domain Path: /languages/ |
<?php | |
/** | |
* Plugin Name: WordPress Importer Post ID Preservation | |
* Description: When importing posts make sure that post ID from the original site is used on the destination site. This should only be used when first setting up an environment, or if the destination site is not canonical (e.g. a dev or staging environment). | |
* Author: Weston Ruter, XWP | |
*/ | |
/** | |
* Force WordPress Importer to never honor the post_exists() check, since we want to override existing posts. | |
* |