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 | |
namespace App\Http\Controllers; | |
use App\Providers\Onec; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Http\Request; | |
use Illuminate\Http\Resources\Json\JsonResource; | |
use Illuminate\Support\Carbon; |
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 | |
namespace App\Http\Controllers; | |
use App\ImageSet; | |
use App\PuzzleImage; | |
use Exception; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Storage; | |
use Illuminate\Support\Facades\Log; |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
<!Left:: | |
Send, {Home} | |
return | |
<!+Left:: |
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
export function scrollToElement(domEl) { | |
if (domEl) { | |
let offset = Math.min( | |
Math.round((domEl.offsetHeight - window.innerHeight) / 2), | |
0 | |
); | |
while (domEl.offsetParent) { | |
// console.log(domEl, domEl.offsetParent); | |
offset += domEl.offsetTop; |
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 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
#Область БазоваяФункциональность | |
Функция ПолучитьМаркиPDF417(Знач ДанныеОМарках, РегистрироватьОшибкиВЖурнале = Ложь) Экспорт | |
Если ДанныеОМарках = Неопределено Или ДанныеОМарках.Количество() = 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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:V8Exch="http://www.1c.ru/V8/1CV8DtUD/" xmlns:core="http://v8.1c.ru/data" xmlns:v8="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<xsl:attribute-set | |
name = "type"> | |
<xsl:attribute name="xsi:type"><xsl:value-of select="@xsi:type"/></xsl:attribute> | |
</xsl:attribute-set> | |
<xsl:attribute-set |
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
Абыр = "Абырвалг"; | |
Итераций = 1000000; | |
ИФ = ПолучитьИмяВременногоФайла(); | |
Начало = ТекущаяУниверсальнаяДатаВМиллисекундах(); | |
ЗТ = Новый ЗаписьТекста(ИФ); | |
Для Сч = 1 по Итераций Цикл | |
ЗТ.Записать(Абыр); | |
ЗТ.Записать(Абыр); |
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 | |
/** | |
* Description of DBStatement | |
* | |
* @author antonio | |
*/ | |
class DBStatement { | |
/* @var $statement mysqli_stmnt */ | |
protected $statement; | |
public function __construct($query) { |
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 | |
/** | |
* Обертка над БД | |
* | |
* @author Fragster | |
*/ | |
class DB extends PDO { | |
/** |
NewerOlder