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 | |
namespace Report\Adapter; | |
use Zend\Paginator\Adapter\DbSelect; | |
use Zend\Db\Sql\Select; | |
class PaginatorAdapter extends DbSelect { | |
public function count() | |
{ |
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 | |
require '/var/www/html/app/Mage.php'; | |
Mage::app(); | |
$outputDir = "/home/sslol/images"; | |
$products = Mage::getModel('catalog/product')->getCollection()->addAttributeToSelect('sku'); | |
foreach ($products as $product) { |
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
Deploy Arch Linux | |
#### Download Image | |
#### Create Bootable USB | |
* unmount drive - `umount /dev/sdb1` or some other way | |
* `lsblk` to find drive without number **after unmounting** | |
* `sudo dd bs=4M if=archlinux-2020.10.01-x86_64.iso of=/dev/sdb status=progress oflag=sync` | |