arp -na | grep -i b8:27:eb
Read more on: stackoverflow
arp -na | grep -i b8:27:eb
Read more on: stackoverflow
https://magento.stackexchange.com/questions/125354/how-to-get-store-phone-number-in-magento-2
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$storeInformation = $objectManager->create('Magento/Store/Model/Information');
$storeInfo = $storeInformation->getStoreInformationObject($store);
<?php
namespace Kodal\BindingShape\Plugin;
if(!function_exists("d")){
function d($data = array(), $die = true){
echo '<pre>'.print_r($data, true).'</pre>';
if($die){
die();
<?php
//use a raw query to fid the row or rows
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$resource = $objectManager->get('Magento\Framework\App\ResourceConnection');
$connection = $resource->getConnection();
$sql = " select * from `eav_attribute_option_swatch` where option_id in(".$option_img_id.") " ;
<?php
/* Using Direct Object Manager */
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$storeManager = $objectManager->get('\Magento\Store\Model\StoreManagerInterface');
//$baseUrl = $storeManager->getStore()->getBaseUrl();
$mediaUrl = $storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA);
//$statiContenteUrl = $storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_STATIC);
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/public/pub;
index index.php index.html index.htm index.nginx-debian.html;
server_name _;