Composer --ignore-platform-reqs
composer install --ignore-platform-reqs
composer install --ignore-platform-reqs
rabbitmqctl add_user test test
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
openssl s_client -connect <url>:443
openssl x509 -text -noout -in certificate.crt
bin/magento setup:config:set --backend-frontname=admin
SELECT p.sku, u.request_path FROM url_rewrite u, catalog_product_entity p WHERE u.entity_id = p.entity_id AND u.request_path REGEXP '[^a-zA-Z0-9\-\.\/\(\)]' ORDER BY p.sku, u.request_path;
docker ps -a
docker update --restart=no my-container
php bin/magento setup:install \ | |
--admin-firstname=Marcos \ | |
--admin-lastname=Matamala \ | |
--admin-email=mmatamala1982@gmail.com \ | |
--admin-user=admin \ | |
--admin-password='MMatamala123' \ | |
--base-url=http://prueba.ecomsur.marcosmatamala \ | |
--base-url-secure=https://prueba.ecomsur.marcosmatamala \ | |
--backend-frontname=admin_demo \ | |
--db-host=mysql-mmatamala \ |
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/ |
SELECT facturas.id, SUM(detalle.cantidad*detalle.valor) FROM facturas, detalle WHERE facturas.id = detalle.factura_id GROUP BY facturas.id |
<?php | |
/* codigo ... */ | |
function svg_mime_type($mime_types){ | |
$mime_types['svg'] = 'image/svg+xml'; | |
return $mime_types; | |
} | |
add_filter('upload_mimes', 'svg_mime_type', 1, 1); |