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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
th:first-child, td:first-child { | |
position:sticky; | |
left:0px; | |
background-color:grey; | |
} | |
</style> |
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
<referenceContainer name="content"> | |
<block class="Cuborubo\Catalog\Block\Product\DoFilterProductsByAttributes" name="cuborubo.product.list.filter" | |
as="product_listy_filter" before="category.cms"> | |
<action method="setAttributesToFilter"> | |
<argument name="attributes" xsi:type="array"> | |
<item name="stretch" xsi:type="string">1</item> | |
</argument> | |
</action> | |
</block> | |
</referenceContainer> |
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 | |
//$pattern = '/^(.*)\[(p|m|v)_(.*)\]/i'; | |
//preg_match($pattern, '331-60905/5106[p_0].JPG', $matches); | |
// | |
//var_dump($matches); | |
$orig = [2.2, 2, 0.7]; | |
$sQty = 4.2; | |
$new = array_fill(0, count($orig), 0); |
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
[2019-04-29 14:43:54] main.INFO: data_to_proces {"token":"ui19vpl74tgdk5elcgfo3ol3h9sgfmic","product":[{"1c_id":"1404547528","product_related":["1404020029"],"model":"430-34898/33081gf","short_model":"430 | |
-34898","sku":"1404547528","ean":"4303489833081","minimum":"0","subtract":"1","stock_status_id":"7","date_available":"2019-04-29","price":"340","status":"1","width":"dl.0,80","pantone":"","product_color": | |
"","product_description":[{"name":"430-34898/33081gf ?.о?.?.е dl.0,80 Ши?.он \"маки,?.ома?.,?.?.л?.пан?.\" 1,45"}],"product_attribute":"","uom":"1","qty_increments":"0","min_sale_qty":"0" | |
}]} [] | |
[2019-04-30 08:02:22] main.INFO: data_to_proces {"token":"ui19vpl74tgdk5elcgfo3ol3h9sgfmic","product":[{"1c_id":"1404547528","product_category":["1404012282"],"product_related":["1404020029"],"model":"430 | |
-34898/33081gf","short_model":"430-34898","sku":"1404547528","ean":"4303489833081","minimum":"0","subtract":"1","stock_status_id":"7","date_available":"2019-04-30","price":"340","status":"1","width":"dl.0 | |
,80","pa |
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-fpm: | |
memory_limit=4G | |
mysql | |
innodb_buffer_pool_size=1G | |
table_open_cache=4096 | |
table_definition_cache=4096 | |
thread_cache_size=256 | |
query_cache_size=64M | |
query_cache_type=1 | |
sort_buffer_size=16M |
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
access_compat.load -> ../mods-available/access_compat.load | |
lrwxrwxrwx 1 root root 28 сен 27 10:17 alias.conf -> ../mods-available/alias.conf | |
lrwxrwxrwx 1 root root 28 сен 27 10:17 alias.load -> ../mods-available/alias.load | |
lrwxrwxrwx 1 root root 33 сен 27 10:17 auth_basic.load -> ../mods-available/auth_basic.load | |
lrwxrwxrwx 1 root root 33 сен 27 10:17 authn_core.load -> ../mods-available/authn_core.load | |
lrwxrwxrwx 1 root root 33 сен 27 10:17 authn_file.load -> ../mods-available/authn_file.load | |
lrwxrwxrwx 1 root root 33 сен 27 10:17 authz_core.load -> ../mods-available/authz_core.load | |
lrwxrwxrwx 1 root root 33 сен 27 10:17 authz_host.load -> ../mods-available/authz_host.load | |
lrwxrwxrwx 1 root root 33 сен 27 10:17 authz_user.load -> ../mods-available/authz_user.load | |
lrwxrwxrwx 1 root root 32 сен 27 10:17 autoindex.conf -> ../mods-available/autoindex.conf |
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
<Directory "/var/www/html/web-mainapp-taxichat/app/web"> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . index.php | |
</Directory> |
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
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See http://httpd.apache.org/docs/2.4/ for detailed information about | |
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific | |
# hints. | |
# | |
# | |
# Summary of how the Apache 2 configuration works in Debian: | |
# The Apache 2 web server configuration in Debian is quite different to | |
# upstream's suggested way to configure the web server. This is because Debian's |
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
<ul><li><u><strong>Set limits in queries.</strong></u><ul><li><u><strong>app\controllers\admin\BillingController::actionGetDrivers()</strong></u></li><li><u><strong>app\controllers\admin\BonusesController::actionGetClients()</strong></u></li><li><u><strong>verify other raw queries.</strong></u></li></ul></li><li><u><strong>Create foreign keys.</strong></u></li><li><u><strong>Create indexes.</strong></u></li><li><u><strong>Implement transactions.</strong></u></li><li><u><strong>Fix cs notes with phpfixer.</strong></u></li><li><u><strong>Verify whole project by cs and md and fix notes.</strong></u></li><li><u><strong>Replace global variables with appropriate Yii components. ($_SESSION, $_POST etc.).</strong></u></li><li><u><strong>Implement container configuration as config file.</strong></u></li><li><u><strong>Remove new object instance creation with DI.</strong></u></li><li><u>Create single schema installation script as one schema migration (before any stable version is done).</u></li><li><u>Create single dat |
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
dic_cars_type_types - справочник исключений (дополнений) влияет на очередь заказов!!! (отдельные очереди) | |
dic_cars_type_types.dic_cars_type_id | |
dic_cars_type_types.dic_cars_types_id | |
штраф водителя может быть если он отказался, либо ничего не делает по истечению времен (задается в настройках) | |
app\controllers\admin\DriversMapController - карта с водителями онлайн | |
NewerOlder