Skip to content

Instantly share code, notes, and snippets.

James Cowie jamescowie

Block or report user

Report or block jamescowie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Missing data attr for remove item
<a href="#" data-bind="attr: {'data-cart-item': item_id, title: $t('Remove item')}" class="action delete" data-cart-item="42" title="Remove item">
<span data-bind="i18n: 'Remove'">Remove</span>
</a>
View gist:2f672cbf9f278b47bab89455db9a5505
Adyen Test Card Numbers
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform.
For all cards use the following expiration and CVV2/CVC2/or CID for Amex.
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
06/2016 OR 08/2018 737 7373
View composer.json
{
"name": "Jcowie/HelloWorldModule",
"description": "A Magento 2 module that creates a new page",
"type": "magento2-module",
"version": "1.0.0",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
@jamescowie
jamescowie / composer.json
Created Feb 6, 2016
Magento 2 autoload serc
View composer.json
"autoload": {
"psr-4": {
"Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\": "setup/src/Magento/Setup/",
"Magento\\": "app/code/Magento/",
"Jcowie\\": "src/Jcowie/",
"Jcowie\\HelloWorldModule\\": "src/jcowie/HelloWorldModule"
},
"psr-0": {
"Jcowie\\": "src/jcowie/",
@jamescowie
jamescowie / gist:679974a04816b2bef206
Last active Dec 22, 2015
Magento 2 MageCasts CLI setup
View gist:679974a04816b2bef206
# Attach to docker container
docker exec -i -t 75975d676f01 bash
# PHPSPec in composer
"phpspec/phpspec" : "2.*"
# PHPSpec configuration
suites:
default:
View keybase.md

Keybase proof

I hereby claim:

  • I am jamescowie on github.
  • I am jcowie (https://keybase.io/jcowie) on keybase.
  • I have a public key whose fingerprint is C346 4D1C AC9F 12F9 E85B C081 F5DA 2598 AFEB 95E8

To claim this, I am signing this object:

@jamescowie
jamescowie / magento2.markdown
Last active Aug 29, 2015
Installing Magento 2 / Magento 2 module workflow.
View magento2.markdown

Installing Magento 2

Im exploring the different ways that can be used to install Magento 2 both locally for extension development and then how this could be deployed into production.

Warning this will be a evolving living gist as I have time to play around.

Using composer to create the project

I found that I could run:

composer create project magento/project-community-edition=dev-master magento2

You can’t perform that action at this time.