Shut down session on “Broken pipe” in terminal
So, you’re connected to a server via SSH, doing your wizardry and dark magic. Suddenly, a wild Pidgey appears. Just kidding.
Change Magento 2 admin url
If you’re like me, you probably just fly through the Magento 2 installation, without actually reading anything. Usually, this is not an issue (especially if you’ve done it several times), but recently Magento has an addition with creating an administration url.
“repeat your email address” validation in Magento
What can we do to implement a repeat email frontend validation?
Make immutable objects in javascript
Cool thing I ran into when watching Douglas Crockford’s talk on Javascript: the good parts was a different way of creating objects, with lot more options than usual way I was doing it. More specifically, I found it interesting to see that we can set certain properties as non-writeable ie. immutable.
Reindex manually in Magento 2
Maybe you’ve noticed that Magento 2 does not allow you to reindex data from the administration side. Additionally, there is no script called ‘indexer.php’ or something like that, that you would usually call. How do you reindex manually then? Use magento command line tool: