Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeroen Boersma JeroenBoersma

View GitHub Profile
@JeroenBoersma
JeroenBoersma / 1. README.md
Last active May 13, 2020
Magento 2.3.5-p1 project-community-edtion
View 1. README.md

Magento 2.3.5-p1 update

Magento root plugin doesn't work with the latest Magento 2.3.5-1 so you have to manualy compare the magento/project-communtiy-edtion with your local installation. Added composer.json below.

Update Magento

Head over to your project

# before you start, update all packages
composer update

# Switch Magento version
View gist:abda493d1fc2b013ffad58c8586ed841
Verifying that "jeroenboersma.id" is my Blockstack ID. https://onename.com/jeroenboersma
@JeroenBoersma
JeroenBoersma / delete-merge-branches-with-master.sh
Last active Dec 14, 2016
Delete merged branches with origing/master
View delete-merge-branches-with-master.sh
#/bin/sh
# Configurable
remote='origin';
master='master';
days=0;
unmerged=0;
eval set -- `getopt -l master: -l remote: -l days: -l help -l unmerged -- 'm:?r:?d:?u?h?' "$@"`;
@JeroenBoersma
JeroenBoersma / Amasty Product Feed - Local File disclosure.md
Last active Oct 21, 2016
Amasty Product Feed - Local file disclosure
View Amasty Product Feed - Local File disclosure.md

Amasty Product Feed - Local file disclosure

  • Affects: Amasty (Product-) Feed (Magento 1)
  • Date: 2016-07-20 (updated: 2016-07-26)
  • Author: Jeroen Boersma

Affected versions:

View keybase.md

Keybase proof

I hereby claim:

  • I am jeroenboersma on github.
  • I am srcoder (https://keybase.io/srcoder) on keybase.
  • I have a public key whose fingerprint is 85DE 175D C837 2C7D 64E1 7A66 5B1B D648 9492 C40A

To claim this, I am signing this object:

@JeroenBoersma
JeroenBoersma / gist:60a4acb8e56498bce41c
Created Mar 11, 2015
Magento cleanup unused product images
View gist:60a4acb8e56498bce41c
<?php
/**
* Cleanup images from Magento
*/
require 'app/Mage.php';
if (!Mage::isInstalled()) {
echo "Application is not installed yet, please complete install wizard first.";
exit;
You can’t perform that action at this time.