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
<? | |
// Задача 1 | |
$bmw = array( | |
"model" => "x5", | |
"speed" => 120, | |
"doors" => 5, | |
"year" => "2006" | |
); | |
$toyota = array( |
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 /** @noinspection PhpUndefinedMethodInspection PhpUnused */ | |
/*************************************************************************************************************************************************************************** | |
* Разработчик Хакимов Александр https://github.com/hackimov * | |
* Данный класс занимается получением данных из подписи формата pkcs7 ГНК РУз. * | |
* Подпись расшифровывается с помощью phpseclib из X509 вытаскивается BER формат далее декодируется через ASN1 * | |
* Существует ещё дофига OID политик, можно их дополнить в маппинге но я использовал только самые нужные. * | |
* |
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
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
} |
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
input:-webkit-autofill, | |
input:-webkit-autofill:hover, | |
input:-webkit-autofill:focus, | |
textarea:-webkit-autofill, | |
textarea:-webkit-autofill:hover, | |
textarea:-webkit-autofill:focus, | |
select:-webkit-autofill, | |
select:-webkit-autofill:hover, | |
select:-webkit-autofill:focus { | |
-webkit-text-fill-color: white; |
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
create or replace function doc_counters( | |
mailbox_id_in text, | |
profile_id_in text, | |
structure_id_in text | |
) | |
RETURNS json | |
AS | |
$$ | |
DECLARE owner_reaction integer; | |
DECLARE partner_reaction integer; |
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 | |
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); | |
Bitrix\Main\Loader::includeModule('main'); | |
class SomeComponent extends \CBitrixComponent | |
{ | |
private function getRequest($id): array | |
{ | |
$result = []; |
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
SELECT maintable.* | |
FROM TABLE_NAME maintable | |
LEFT OUTER JOIN TABLE_NAME temporarytable | |
ON maintable.GROUPING_BY_COLUMN = temporarytable.GROUPING_BY_COLUMN | |
AND maintable.COLUMN_WHERE_THE_MAXIMUM_IS_NEEDED < temporarytable.COLUMN_WHERE_THE_MAXIMUM_IS_NEEDED | |
WHERE temporarytable.COLUMN_WHERE_THE_MAXIMUM_IS_NEEDED IS NULL | |
ORDER BY PRIMARY_KEY_COLUMN DESC | |
LIMIT 50; |
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 | |
/** | |
* Created by Najmiddinov Nizamiddin | |
* Developer Full Name: Najmiddinov Nizamiddin | |
* Developer Mail: [email protected] | |
* Github: https://github.com/nizom333 | |
* Telegram: @nizomiddin_n | |
* Resume page: https://dev.1c-bitrix.ru/learning/resume.php?ID=36871542-1260669 | |
*/ |
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 | |
class XmlWriter | |
{ | |
private $file = ''; | |
private $charset = ''; | |
private $tab = 0; | |
private $f = null; | |
private $lowercaseTag = false; |
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
import React from "react"; | |
export default function App() { | |
const [list, setState] = React.useState([ | |
{ | |
id: 1, | |
title: "List item 1" | |
}, | |
{ | |
id: 2, |
OlderNewer