php -d memory_limit=1024M
This file contains 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
#!/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" |
This file contains 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
<?php | |
$setup->getConnection()->addColumn( | |
$setup->getTable('sales_order'), | |
'preorder_enable', | |
[ | |
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_INTEGER, | |
'nullable' => false, | |
'comment' => 'Pre-Venta', | |
] | |
); |
This file contains 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
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); |
This file contains 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
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/ |
NewerOlder