Skip to content

Instantly share code, notes, and snippets.

@davefarthing
davefarthing / valet-plus-install
Created October 28, 2019 09:48 — forked from dannygsmith/valet-plus-install
Install valet-plus
#!/usr/bin/env bash
#styles
VP_NONE='\033[00m'
VP_RED='\033[01;31m'
VP_GREEN='\033[01;32m'
VP_YELLOW='\033[01;33m'
VP_PURPLE='\033[01;35m'
VP_CYAN='\033[01;36m'
VP_WHITE='\033[01;37m'
@davefarthing
davefarthing / reset-cl.sql
Created August 6, 2015 07:46
Magento EE - Index Changelog reset
truncate `catalog_category_flat_cl`;
truncate `catalog_category_product_cat_cl`;
truncate `catalog_category_product_index_cl`;
truncate `catalog_product_flat_cl`;
truncate `catalog_product_index_price_cl`;
truncate `cataloginventory_stock_status_cl`;
truncate `catalogsearch_fulltext_cl`;
truncate `enterprise_url_rewrite_category_cl`;
truncate `enterprise_url_rewrite_product_cl`;
truncate `enterprise_url_rewrite_redirect_cl`;