Skip to content

Instantly share code, notes, and snippets.

View jamescowie's full-sized avatar

James Cowie jamescowie

View GitHub Profile
@jamescowie
jamescowie / warden-env.yaml
Created December 13, 2020 13:00
PHP 8 with Warden
version: "3.5"
services:
php8-fpm:
hostname: "${WARDEN_ENV_NAME}-php-fpm"
image: markoshust/magento-php:8.0-fpm-develop
environment:
- TRAEFIK_DOMAIN
- TRAEFIK_SUBDOMAIN
- COMPOSER_MEMORY_LIMIT=-1
volumes:
{
"name": "jamescowie/meta-package",
"type": "metapackage",
"require": {
"composer/composer": "^1.9",
"ext-bcmath": "*",
"ext-ctype": "*",
"ext-curl": "*",
"ext-dom": "*",
"ext-gd": "*",
<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>
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
{
"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 February 6, 2016 15:25
Magento 2 autoload serc
"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 December 22, 2015 15:47
Magento 2 MageCasts CLI setup
# Attach to docker container
docker exec -i -t 75975d676f01 bash
# PHPSPec in composer
"phpspec/phpspec" : "2.*"
# PHPSpec configuration
suites:
default:
@jamescowie
jamescowie / -
Created November 11, 2015 02:21
test
@jamescowie
jamescowie / -
Created November 11, 2015 02:20
test