This file contains hidden or 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
Ext.define('Project.view.mski.requests.profile.tabEfficiencyCriterion.TariffGrowthRateGrid', { | |
extend: 'Project.ux.form.field.ValidationGrid', | |
alias: 'widget.mskiRequestsProfileTabEfficiencyCriterionTariffGrowthRateGrid', | |
title: 'Темп роста тарифа по годам, %', | |
height: 235, | |
requires: [ | |
'Project.ux.grid.column.TextAction', | |
'Project.model.mski.requests.profile.efficiencyCriterion.TariffGrowthRate', |
This file contains hidden or 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 Rgkh\Ais\Application\Controller; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Doctrine\ORM\Query\Expr\Join; | |
use Rgkh\Common\Authorization\Entity\User; | |
use Rgkh\Common\Authorization\Repository\UserRepository; | |
use Rgkh\Common\House\Entity\Houses; | |
use Rgkh\Common\House\Repository\HouseRepository; |
This file contains hidden or 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
WITH cte_table1_1 AS ( | |
SELECT | |
mo.name AS mo_name, | |
sf.name AS t1_1, | |
mo.name AS t1_2, | |
vpd.documents_name AS t1_3, | |
vpd.efficiency_indicator AS t1_4, | |
vpd.rating AS t1_5, | |
string_agg(DISTINCT vpdt.tech_name, ', ') AS t1_6, | |
opf.name AS t1_7, |
This file contains hidden or 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 Rgkh\Common\Doctrine\Factory; | |
use Doctrine\DBAL\Schema\Schema; | |
use Exception; | |
use Rgkh\Common\Doctrine\Migration\AbstractMigration; | |
use Rgkh\Common\Main\Entity\Reference; | |
use Rgkh\Common\Main\Entity\ReferenceCatalog; | |
use Rgkh\Common\Main\Repository\ReferenceRepository; |
This file contains hidden or 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 | |
// Переключает из каптива сафари для жаровни | |
// header('location: https://cabinet.prime-hill.com/get_card_generator/da5f987f23f2334a99fda1a0d6a168d5', true, 302); | |
// return; | |
if (isset($_GET['redirect_url'])) { | |
header('location: https://cabinet.prime-hill.com/get_card_generator/da5f987f23f2334a99fda1a0d6a168d5', true, 302); | |
return; | |
} | |
?> |
This file contains hidden or 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
# очистка и пересборка кеша | |
# rclear | |
# остановка контейнеров | |
# rstop | |
# запуск контйнеров п просмотр возможных ключей | |
# rstart -h | |
echo '#!/bin/bash |
This file contains hidden or 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
{ | |
"Id": 40, | |
"Success": true, | |
"ByCategories": { | |
"Total": 0, | |
"Merchant": 0, | |
"Precent": 0, | |
"Categories": [] | |
}, | |
"ByCities": [ |
This file contains hidden or 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
# Обновление системы | |
apt update | |
apt upgrade | |
apt dist upgrade | |
# Установка пакетов | |
apt install -y sudo mc net-tools openssh-server nginx php7.0-fpm git qemu-guest-agent ntpdate curl libpq-dev dirmngr ffmpeg apt-transport-https | |
touch /etc/apt/sources.list.d/pgdg.list | |
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > /etc/apt/sources.list.d/pgdg.list | |
chown root:root /etc/apt/sources.list.d/pgdg.list |
This file contains hidden or 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
iptables -t nat -A PREROUTING -d 94.130.217.168/32 -i vmbr0 -p tcp -m tcp --dport 905 -j DNAT --to-destination 192.168.1.105:22 | |
iptables.up.rules | |
-A PREROUTING -d 94.130.217.168/32 -i vmbr0 -p tcp -m tcp --dport 905 -j DNAT --to-destination 192.168.1.105:22 | |
apt update | |
apt-get upgrage | |
dpkg-reconfigure locales | |
dpkg-reconfigure tzdata | |
apt install qemu-guest-agent |
This file contains hidden or 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
Считываем хеш 100 блока (POW) | |
$ Trittiumd getblockhash 100 | |
0000001ce1545895454905c6a2e38c0b5f822b9879831f2ed7b7f6b5de505d1a | |
Читаем блок | |
$ Trittiumd getblock 0000001ce1545895454905c6a2e38c0b5f822b9879831f2ed7b7f6b5de505d1a | |
{ | |
"hash" : "0000001ce1545895454905c6a2e38c0b5f822b9879831f2ed7b7f6b5de505d1a", | |
"confirmations" : 2070, | |
"size" : 203, |