-
brew install gnupg, pinentry-mac
(this includes gpg-agent and pinentry) -
Generate a key:
$ gpg --gen-key
-
Take the defaults. Whatevs
-
Tell gpg-agent to use pinentry-mac:
$ vim ~/.gnupg/gpg-agent.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Vendor\Module\Block\Adminhtml\Widget; | |
class ImageChooser extends \Magento\Backend\Block\Template | |
{ | |
/** | |
* @var \Magento\Framework\Data\Form\Element\Factory | |
*/ | |
protected $_elementFactory; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<< DOC | |
Usae: | |
mage2_module_scaffold <vendor> <module> | |
Note: | |
This command is destructive — it will ovewrite app/code/<vendor>/<module>/etc/module.xml | |
DOC | |
mage2_module_scaffold() { | |
local vendor=$1 |
Install Docker for Mac (http://beta.docker.com)
Install docker-machine-driver-xhyve (https://github.com/zchee/docker-machine-driver-xhyve)
brew install docker-machine-driver-xhyve
sudo chown root:wheel
docker run -d --privileged -p 8080:8080 --name=rancher-server rancher/server:latest
OlderNewer