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
{ | |
"name":"testproject2/testproject2", | |
"type":"magento-module", | |
"license":"OSL-3.0", | |
"homepage":"http://blah.bla", | |
"description":"Makes it impossible for a customer to log in until the accou$ | |
"authors":[ | |
{ | |
"name":"Vinai Kopp", | |
"email":"[email protected]" |
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
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer |
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
composer install |
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
#nano ~/bashrc | |
#add following code add the end of the file | |
fancyscript() { | |
php /path/to/your/php/script.php "$@" | |
} | |
export -f fancyscript |
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
environment = dev | |
[dev] | |
filesystem.documentroot = /var/www/magento | |
sampledata.install = 1 | |
debug = true | |
database.host = localhost |
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
git clone https://github.com/pboethig/vagrant_puppet_magento | |
cd vagrant vagrant_puppet_magento | |
vagrant up |
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 | |
$widgetParameters = array( | |
'width_attrib' => '250', | |
'height_attrib' => '200', | |
'group_key' => '1' | |
); | |
$instance = Mage::getModel('widget/widget_instance')->setData(array( | |
'type' => 'workflow/task_widget_news', |
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 | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/osl-3.0.php |
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
<applicationid translate="label"> | |
<label>Unique Id of the application</label> | |
<frontend_type>yourCustomFormElement</frontend_type> | |
<sort_order>5</sort_order> | |
<show_in_default>1</show_in_default> | |
<show_in_website>1</show_in_website> | |
<show_in_store>1</show_in_store> | |
<comment>default value is the default encryptionkey from /app/etc/local.xml</comment> | |
</applicationid> |
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
<VirtualHost *:80> | |
# The ServerName directive sets the request scheme, hostname and port that | |
# the server uses to identify itself. This is used when creating | |
# redirection URLs. In the context of virtual hosts, the ServerName | |
# specifies what hostname must appear in the request's Host: header to | |
# match this virtual host. For the default virtual host (this file) this | |
# value is not decisive as it is used as a last resort host regardless. | |
# However, you must set it for any further virtual host explicitly. | |
ServerName magento2.localhost |
OlderNewer