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
{"version":1,"resource":"file:///home/vidy/www/wshop.code-workspace","entries":[{"id":"J4V7.code-workspace","timestamp":1655104173437}]} |
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 | |
$cachePath = '/tmp/t.php'; | |
$put = function($cachePath){ | |
$code = '<?php'; | |
$code .= "\n\n"; | |
$code .= 'return ' . var_export([], true) . ';'; | |
file_put_contents($cachePath, $code, LOCK_EX); | |
}; |
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 QueryBuilder(array $criteria, array $depths = []): QueryBuilder | |
{ | |
$builder = QueryBuilder::for(Order::class); | |
$condition = $depths['condition'] ?? ''; | |
$with = [ | |
'urgentType', | |
// 'orderItems', | |
// 'orderLogisticsFeatures', | |
'orderItemsField', |
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
//! A CSS Grid widget based on Taffy | |
use iced::advanced::layout; | |
use iced::advanced::layout::Node; | |
use iced::advanced::overlay; | |
use iced::advanced::renderer::{self, Renderer}; | |
use iced::advanced::widget::{ | |
tree::{self, Tree}, | |
Operation, | |
}; |