bin/magento maintenance:enable
bin/magento c:c
bin/magento c:f
bin/magento maintenance:disable
#!/bin/bash | |
sudo apt install -y tree bc vim htop curl wget ubuntu-restricted-extras rar unrar p7zip-full p7zip-rar ubuntu-gnome-desktop gnome-session gdm3 chrome-gnome-shell terminator docker docker-compose git php-cli php-curl rsync gnome-tweaks | |
sudo snap install vlc | |
sudo update-alternatives --config editor | |
git config --global color.ui true | |
git config --global color.diff.meta "yellow bold" | |
git config --global color.diff.old "red bold" | |
git config --global color.diff.new "green bold" | |
git config --global color.status.added "green bold" | |
git config --global color.status.changed "yellow" |
<?php | |
$setup->getConnection()->addColumn( | |
$setup->getTable('sales_order'), | |
'preorder_enable', | |
[ | |
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER, | |
'nullable' => false, | |
'comment' => 'Pre-Venta', | |
] | |
); |
public function add_instagram_profile(){ | |
$filename = sprintf('/tmp/profile.clapesuc.%s.json', date('Ymd')); | |
if (file_exists($filename)) { | |
$json = json_decode(file_get_contents($filename)); | |
} else { | |
$url = 'https://api.instagram.com/v1/users/'.$this->instagram_uid.'?access_token='.$this->instagram_token; | |
$text = file_get_contents($url); | |
$json = json_decode($text); |
http://cycom.cl/ | |
http://electronicadelsurltda.cl/ | |
http://kowka.cl/ | |
http://rambal.com/ | |
http://www.electronica.cl/productos/ | |
http://www.hmtechtronic.cl/ | |
http://www.hubot.cl/ | |
http://www.maxelectronica.cl/ | |
http://www.mcielectronics.cl/ | |
http://www.mundoreballing.cl/ |