I hereby claim:
- I am markshust on github.
- I am markshust (https://keybase.io/markshust) on keybase.
- I have a public key ASAl4N1-B72cg7xyoNwDOiw6IiuhGbFYYi-8SssbIiA6owo
To claim this, I am signing this object:
| #!/bin/bash | |
| curl -s "file:////Users/markshust/Sites/docker-magento/lib/template" | bash |
| <?xml version="1.0"?> | |
| <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> | |
| <module name="Macademy_SomethingMoreComplex"/> | |
| </config> |
| <?xml version="1.0"?> | |
| <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
| <body> | |
| <referenceContainer name="content"> | |
| <referenceBlock name="checkout.root"> | |
| <arguments> | |
| <argument name="jsLayout" xsi:type="array"> | |
| <item name="components" xsi:type="array"> | |
| <item name="checkout" xsi:type="array"> | |
| <item name="children" xsi:type="array"> |
| # Mark Shust's Docker Configuration for Magento | |
| # (https://github.com/markshust/docker-magento) | |
| # | |
| # Version 40.0.0 | |
| version: "3" | |
| services: | |
| app: | |
| image: markoshust/magento-nginx:1.18-5 |
| <?php | |
| return [ | |
| 'backend' => [ | |
| 'frontName' => 'admin' | |
| ], | |
| 'remote_storage' => [ | |
| 'driver' => 'file' | |
| ], | |
| 'queue' => [ | |
| 'consumers_wait_for_messages' => 1, |
| // Docs on event and context https://www.netlify.com/docs/functions/#the-handler-method | |
| const handler = async () => { | |
| try { | |
| // Note that time will always show 5 hours longer than prod, that is normal & expected. | |
| const dateFuture = new Date(new Date().getFullYear(), 1, 5, 5); // UTC is 5 hours ahead ET | |
| const dateNow = new Date(); | |
| const seconds = Math.floor((dateFuture - (dateNow))/1000); | |
| const minutes = Math.floor(seconds/60); | |
| const hours = Math.floor(minutes/60); | |
| const hoursMinutes = minutes - hours * 60 |
| code[class*="language-"], | |
| pre[class*="language-"] { | |
| text-align: left; | |
| word-spacing: normal; | |
| word-wrap: normal; | |
| color: #c3cee3; | |
| background: #263238; | |
| font-family: Hack, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; | |
| font-size: 1.1em; | |
| line-height: 1.6em; |
I hereby claim:
To claim this, I am signing this object:
| cd /tmp | |
| curl -O https://files.magerun.net/n98-magerun2.phar | |
| chmod +x ./n98-magerun2.phar | |
| XDG_CONFIG_HOME="/tmp" ./n98-magerun2.phar dev:console --root-dir=$MAGENTO_CLOUD_DIR |
| <?xml version="1.0"?> | |
| <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
| <head> | |
| <link src="Foo_Bar::js/my-js-file.js"/> | |
| </head> | |
| </page> |