Skip to content

Instantly share code, notes, and snippets.

<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['setUserId', "id=guest; visitor-id=3218416"]);
_paq.push(['setConversionAttributionFirstReferrer', false]);
_paq.push(['trackPageView']);
(function() {
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['setUserId', "id=guest; visitor-id=3218416"]);
_paq.push(['setConversionAttributionFirstReferrer', false]);
_paq.push(['trackPageView']);
(function() {
MIME-Version: 1.0
Received: from HE1PR07MB1403.eurprd07.prod.outlook.com (10.169.122.13) by
AM4PR07MB1393.eurprd07.prod.outlook.com (10.165.248.8) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
15.1.669.5 via Mailbox Transport; Thu, 13 Oct 2016 08:43:46 +0000
Received: from HE1PR07MB1148.eurprd07.prod.outlook.com (10.163.178.14) by
HE1PR07MB1403.eurprd07.prod.outlook.com (10.169.122.13) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
15.1.679.4; Thu, 13 Oct 2016 08:43:45 +0000
Received: from AM5PR0701CA0002.eurprd07.prod.outlook.com (10.168.161.12) by
Return-Path: <vvelykyi@oroinc.com>
Received: from [192.168.0.100] ([178.136.135.57])
by smtp.gmail.com with ESMTPSA id n72sm4024567wmd.11.2016.10.21.05.43.52
for <QA@orocrm.onmicrosoft.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Fri, 21 Oct 2016 05:43:53 -0700 (PDT)
From: Valentyn Velykyi <vvelykyi@oroinc.com>
Content-Type: multipart/mixed;
boundary="Apple-Mail=_36D59D47-096C-4018-9810-F2FD5F554432"
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\))
dic_cars_type_types - справочник исключений (дополнений) влияет на очередь заказов!!! (отдельные очереди)
dic_cars_type_types.dic_cars_type_id
dic_cars_type_types.dic_cars_types_id
штраф водителя может быть если он отказался, либо ничего не делает по истечению времен (задается в настройках)
app\controllers\admin\DriversMapController - карта с водителями онлайн
@hugeval
hugeval / todo.html
Created October 19, 2018 12:02
todo.html
<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 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
<Directory "/var/www/html/web-mainapp-taxichat/app/web">
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
</Directory>
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
@hugeval
hugeval / tuning.txg
Last active November 21, 2018 09:44
tuning.txt
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