Sam James's Articles – Page 3
Discover expert insights from Sam James on Architecture, CI/CD, Adobe Commerce, Artificial Intelligence, AI-Assisted Development. Stay updated with the latest trends, practical guides, and in-depth analysis in Magento & Ecommerce.
How to debug Magento Javascript components in DevTools
Delete All GitHub Actions Artifacts in One Command (gh CLI)
One-liner to bulk-delete all GitHub Actions artifacts using the GitHub CLI. No third-party actions needed — works from the terminal or directly inside a workflow for automated nightly cleanup.
Blocking TOR exit routes
How do we go about blocking TOR / Onion traffic to our site?
Simple 2 line fix for Polyfill.io Malware in Magento 2
A quick and easy two line fix configuration fix for the Polyfill.io Magento 2 Malware
CosmicSting (CVE-2024-34102): Check and Patch Your Magento Store
Free validator tool to check if your Magento 2 store is vulnerable to CosmicSting (CVE-2024-34102) — 6,500+ stores tested, 2,300+ found vulnerable. Step-by-step patching guide included.
Flushing Magento 2 Varnish Like a Pro
How to delete spam customer accounts in Magento2
A collection of SQL queries to help identify and delete Magento 2 spam customer accounts in 2024
How to install & configure PHP SPX in Warden for Magento 2
A simple installer script to allow you to setup and configure PHP SPX in a Warden environment for Magento 2
Anonymizing Magento 2 Databases with Warden
A simple guide for anonymizing Magento 2 databases in Warden to either pass off to other developers or move forward into staging/ephemeral environments