I hereby claim:
- I am spriz on github.
- I am spriz (https://keybase.io/spriz) on keybase.
- I have a public key whose fingerprint is 2857 1F5B 8277 0A10 409E 9226 8E67 364C A349 43ED
To claim this, I am signing this object:
<?php | |
namespace App\Pdf\Engine; | |
use CakePdf\Pdf\CakePdf; | |
use CakePdf\Pdf\Engine\AbstractPdfEngine; | |
use Cake\Core\Exception\Exception; | |
use Cake\Utility\Text; | |
/** | |
* TexToPdfEngine for the CakePdf Plugin |
<?php | |
namespace App\Controller\Component; | |
use Cake\Controller\Component\PaginatorComponent; | |
use Cake\Datasource\RepositoryInterface; | |
use Cake\Network\Exception\NotFoundException; | |
use Cake\ElasticSearch\Query; | |
class ElasticPaginatorComponent extends PaginatorComponent |
$query->leftJoinWith('TicketExecutors') | |
->where(['TicketExecutors.id' => $options['request']['restrictByUserId']]) | |
->leftJoinWith('TicketOwners') | |
->orWhere(['TicketOwners.id' => $options['request']['restrictByUserId']]); |
I hereby claim:
To claim this, I am signing this object:
After cloning APFS drives using Disk Utility it usually ends with a volume containing ContainerToInvert file with the size of a cloned partition. | |
Don't be afraid, using the following steps you can mount this file as APFS container and get all partitions. | |
1. Requirements | |
We need FUSE and xmount installed | |
2. Terminal | |
Open Terminal app and type the following: | |
$ sudo mkdir /Volumes/apfs_image/ |
//If inputData.rawMessage does not contain "just signed" - abort | |
if (!inputData.rawMessage.includes("just signed")) { | |
return; | |
} | |
const emojis = [ | |
"rocket", | |
"success", | |
"tada", | |
"v", |
<?php | |
private function fillVendorProductsData(ConsoleIo $io) | |
{ | |
$client = Typesense::getTypesenseClient(true); | |
/** @var \App\Model\Table\VendorProductsTable $table */ | |
$table = $this->getTableLocator()->get('VendorProducts'); | |
$collection = $client->getCollections()['vendor_products']; | |
assert($collection instanceof \Typesense\Collection); |