Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"> | |
<BODY> | |
<B>Build wurde mit dem Ergebnis <I>${build.result}</I> abgeschlossen.</B><BR/> | |
Dauer: ${build.durationString}.<BR/><BR/> | |
<TABLE> | |
<TR><TD><B>Konsolenausgabe</B></TD></TR> | |
<j:forEach var="line" items="${build.getLog(100)}"> | |
<TR><TD>${line}</TD></TR> | |
</j:forEach> |
sudo cp -rv /home/ec2-user/.ssh /root/ | |
# /etc/ssh/sshd_config | |
# Change | |
PermitRootLogin forced-commands-only | |
# To | |
PermitRootLogin yes | |
sudo service sshd reload |
<?php | |
// PHP Fatal error: Call to a member function getFrontNameByRoute() on a non-object in /var/www/magento-testing/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 199 | |
// Seems like $routesinfo does not contain admin and standard | |
// Mage_Core_Controller_Varien_Front | |
// This hack would work: | |
$routersInfo = Mage::app()->getConfig()->getNode('default/web/routers')->asArray(); | |
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit convertErrorsToExceptions="true" convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" stopOnFailure="false" backupGlobals="false" syntaxCheck="true" colors="true"> | |
<testsuite name="Test Suite"> | |
<directory>./</directory> | |
</testsuite> | |
<filter> | |
<whitelist> | |
<directory suffix=".php">.</directory> |
[{ | |
"requestKey": "XX1", | |
"method": "create", | |
"entity": "coupon", | |
"body": { "title": "bloopark discount 10%" } | |
}, { | |
"requestKey": "XX2", | |
"method": "create", | |
"entity": "coupon", | |
"body": { "title": "bloopark discount 20%" } |
[{ | |
"requestKey": "XX2", | |
"code": 1000, | |
"body": { "id": "5" } | |
}, { | |
"requestKey": "XX1", | |
"code": 1000, | |
"body": { "id": "6" } | |
}] |
[{ "requestKey": "jds", "entity": "coupon", "method": "create", "body": { "foo": "bar" }},] |
var mongoose = require('mongoose'); | |
var db = mongoose.createConnection('localhost', 'test'); | |
var TestSchema = mongoose.Schema({ | |
createdAt: { | |
type: 'date', | |
default: new Date() | |
} | |
}); |
VAT: 20%
Price including VAT: 35 €
Price excluding VAT: 29.17 €
Calculating incl. VAT using {{ price | times: 1.2 | money }}