Instantly share code, notes, and snippets.

🎹
Cause, remember: no matter where you go... there you are.

Luke Cavanagh lukecav

View GitHub Profile
View User meta fields
pv_paypal
pv_shop_name
pv_shop_slug
pv_shop_description
pv_seller_info
_wcv_store_city
_wcv_store_state
_wcv_store_country
_wcv_store_postcode
_wcv_shipping
View Filters
lazyload_is_enabled
lazyload_images_placeholder_image
jetpack_lazy_images_new_attributes
View Cron jobs
wp_ewwwio_ngg2_optimize_cron_interval
wp_ewwwio_ngg_optimize_cron_interval
wp_ewwwio_flag_optimize_cron_interval
wp_ewwwio_media_optimize_cron_interval
wp_ewwwio_image_optimize_cron_interval
View Command
wp cron event list
View Examples
tar --show-defaults
The default blocking factor is typically 20 (i.e., 10240 bytes), but can be specified at installation.
--record-size=SIZE SIZE bytes per record, multiple of 512
--record-size=32K
--record-size=64K
--record-size=128K
--record-size=256K
View wp-config.php
define( 'EWWW_IMAGE_OPTIMIZER_SCAN_MODE_B', true );
View Commands
-k, --keep-old-files don't replace existing files when extracting
--keep-newer-files don't replace existing files that are newer than
their archive copies
--no-overwrite-dir preserve metadata of existing directories
--overwrite overwrite existing files when extracting
--overwrite-dir overwrite metadata of existing directories when
extracting (default)
--recursive-unlink empty hierarchies prior to extracting directory
--remove-files remove files after adding them to the archive
View wp-config.php
define('WP_MEMORY_LIMIT', '512M');
View Commands
uname -r
3.13.0-139-generic
lsb_release -a
Ubuntu 14.04.5 LTS
View Command
wp plugin install woocommerce --version=3.2.6 --force