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
| use Magento\Framework\App\Helper\AbstractHelper; | |
| use Magento\Framework\App\Helper\Context; | |
| use Magento\Store\Model\StoreManagerInterface; | |
| use Magento\Catalog\Model\Product; | |
| use Magento\Catalog\Api\ProductRepositoryInterface; | |
| class Data extends AbstractHelper | |
| { | |
| protected $productModel; | |
| protected $productRepository; |
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
| sudo lsof -i -P -n | grep LISTEN | |
| sudo netstat -tulpn | grep LISTEN | |
| sudo ss -tulpn | grep LISTEN | |
| sudo lsof -i:22 ## see a specific port such as 22 ## | |
| sudo nmap -sTU -O IP-address-Here |
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
| https://www.dannyenglander.com/blog/drupal-9-devops-recipe-for-setting-up-xdebug-3-with-lando-and-phpstorm/ | |
| https://docs.lando.dev/guides/lando-phpstorm.html#xdebug-3-x-php-7-3 |
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
| \Magento\Framework\App\ObjectManager::getInstance() | |
| ->get(\Psr\Log\LoggerInterface::class)->debug('your message') | |
| PHPSTORM template | |
| \Magento\Framework\App\ObjectManager::getInstance() | |
| ->get(\Psr\Log\LoggerInterface::class)->debug($END$) |
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
| nginx -t | |
| /opt/bitnami/nginx/conf/nginx.conf | |
| /opt/bitnami/nginx/conf/vhosts/lando.conf |
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
| Setup | |
| Before starting you need xcode installed with the cli tools. Also, you will need VS Code installed with the code command in your system path. | |
| xcode-select --install | |
| And, homebrew. | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
| OpenSSL | |
| Install OpenSSL. |
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
| https://bootstrap-vue.org/ |
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
| Apache – /var/log/httpd/ | |
| IIS – C:\inetpub\wwwroot\ | |
| Node.js – /var/log/nodejs/ | |
| nginx – /var/log/nginx/ | |
| Passenger – /var/app/support/logs/ |
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
| <style type="text/css"> | |
| .smagic39-messages { position: fixed; bottom: 0; right: 0; z-index: 999999; } | |
| .smagic39-messages-outer { position: relative; } | |
| #hisella-minimize { background: #3b5998; font-size: 14px; color: #fff; padding: 3px 10px; position: absolute; top: -34px; left: -1px; border: 1px solid #E9EAED; cursor: pointer; } | |
| @media screen and (max-width:768px){ #hisella-facebook { opacity:0; } .smagic39-messages { bottom: -300px; right: -135px; } } | |
| </style> | |
| <div id='fb-root'></div> | |
| <script> | |
| (function($) { $(document).ready(function(){ $( '#hisella-minimize' ).click( function() { if( $( '#hisella-facebook' ).css( 'opacity' ) == 0 ) { $( '#hisella-facebook' ).css( 'opacity', 1 ); $( '.smagic39-messages' ).animate( { right: '0' } ).animate( { bottom: '0' } ); } else { $( '.smagic39-messages' ).animate( { bottom: '-300px' } ).animate( { right: '-135px' }, 400, function(){ $( '#hisella-facebook' ).css( 'opacity', 0 ) } ); } } ) }); })(jQuery); | |
| (function(d, s, id) { |
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
| TỜ RƠI A3: KÍCH THƯỚC 29,7CM X 43CM | |
| TỜ RƠI A4: KÍCH THƯỚC 21CM X 29,7CM | |
| TỜ RƠI A5: KÍCH THƯỚC 10,5CM X 14,8CM || 14,8CM X 21CM | |
| TỜ RƠI NHỠ: KÍCH THƯỚC 10CM X 20CM |
NewerOlder