Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

des1roer des1roer

🎯
Focusing
View GitHub Profile
View scenario.feature
Scenario: Create page layout
Given there are no page layouts
And there is an event named "Race F1" identified by "2f47d32f-b534-4571-939e-a5162c8ce54f"
When I create page layout identified by "22f91e8b-fb19-4e7b-a9a2-15d2a2b7b44d"
And I link page layout identified by "22f91e8b-fb19-4e7b-a9a2-15d2a2b7b44d" to event identified by "2f47d32f-b534-4571-939e-a5162c8ce54f"
Then I see page layout identified by "22f91e8b-fb19-4e7b-a9a2-15d2a2b7b44d" from event identified by "2f47d32f-b534-4571-939e-a5162c8ce54f"
Scenario: Update page layout
Given there is a page layout identified by "22f91e8b-fb19-4e7b-a9a2-15d2a2b7b44d"
And there is an event named "Race F1" identified by "2f47d32f-b534-4571-939e-a5162c8ce54f"
@des1roer
des1roer / RefundValidateRequestTest.php
Created Sep 13, 2019
RefundValidateRequestTest.php
View RefundValidateRequestTest.php
<?php
namespace tests\Tasks;
use App\Buffers\RefundBuffer;
use App\Tasks\Pin\SaveRefund;
use Laravel\Lumen\Testing\DatabaseMigrations;
use Laravel\Lumen\Testing\DatabaseTransactions;
use PHPUnit\Framework\TestCase;
View log
a:11:{s:6:"config";a:5:{s:10:"phpVersion";s:8:"7.1.19-1";s:10:"yiiVersion";s:6:"2.0.15";s:11:"application";a:8:{s:3:"yii";s:6:"2.0.15";s:4:"name";s:12:"sima-land.ru";s:7:"version";s:3:"1.0";s:8:"language";s:5:"ru-RU";s:14:"sourceLanguage";s:5:"en-US";s:7:"charset";s:5:"UTF-8";s:3:"env";s:3:"dev";s:5:"debug";b:1;}s:3:"php";a:5:{s:7:"version";s:8:"7.1.19-1";s:6:"xdebug";b:1;s:3:"apc";b:1;s:8:"memcache";b:0;s:9:"memcached";b:0;}s:10:"extensions";a:43:{s:22:"yiisoft/yii2-bootstrap";a:3:{s:4:"name";s:22:"yiisoft/yii2-bootstrap";s:7:"version";s:11:"9999999-dev";s:5:"alias";a:1:{s:14:"@yii/bootstrap";s:43:"/var/www/html/vendor/yiisoft/yii2-bootstrap";}}s:29:"2amigos/yii2-selectize-widget";a:3:{s:4:"name";s:29:"2amigos/yii2-selectize-widget";s:7:"version";s:11:"9999999-dev";s:5:"alias";a:1:{s:20:"@dosamigos/selectize";s:54:"/var/www/html/vendor/2amigos/yii2-selectize-widget/src";}}s:31:"alexandernst/yii2-device-detect";a:3:{s:4:"name";s:31:"alexandernst/yii2-device-detect";s:7:"version";s:8:"0.0.11.0";s:5:"alias";a:1
View aaa
[16:23:01]
Array
(
[0] => Array
(
[file] => /var/www/html/frontend/components/httpService/HeaderService.php
[line] => 26
[function] => getHeader
[class] => common\components\httpService\HeaderService
[type] => ->
View gist:55af35d50daae354152c0061071e1258
[
{
"id": 93,
"name": "Одежда, обувь и аксессуары",
"icon_url": "",
"category_id": null,
"category_url": null,
"link_name": "null",
"childs": {
"397": {
View rabit
<?php
public function actionSend()
{
$connection = new AMQPStreamConnection(
'***',
***,
'**',
'**',
'**'
View debug
[15:14:44]
Array
(
[0] => 1
[1] => Array
(
[0] => Array
(
[file] => /var/www/html/common/models/delivery/DeliveryType.php
[line] => 402
View i.php
$arr = [ 92=>211129, 94=>21110709, 97=>21110705, 126=>211126, 132=>501, 135=>501, 183=>2005, 186=>150410, 187=>150410, 188=>150410, 189=>150410, 190=>150410, 191=>150410, 196=>180602, 204=>1911, 205=>1911, 311=>15030701, 334=>211129, 335=>211129, 450=>15230432, 460=>181010, 461=>181010, 462=>181010, 463=>181010, 465=>181010, 466=>181010, 467=>181010, 1208=>2605, 1211=>2605, 1217=>2605, 1220=>2605, 1230=>2605, 1233=>2605, 1235=>2605, 1242=>2605, 1243=>2605, 1244=>2605, 1246=>2605, 1247=>2605, 1249=>2605, 1250=>2605, 1252=>2634, 1267=>2653, 1274=>2629, 1278=>2629, 1290=>2629, 1298=>2629, 1304=>2629, 1310=>2605, 1313=>2605, 1330=>2614, 1336=>2614, 1345=>2614, 1353=>2614, 1355=>2614, 1359=>2614, 1363=>2614, 1366=>2614, 1371=>2614, 1372=>2614, 1373=>2614, 1374=>2614, 1375=>2614, 1376=>2614, 1377=>2614, 1378=>2623, 1380=>2634, 1381=>2634, 1382=>2634, 1383=>2634, 1578=>2606, 1579=>2606, 1580=>2606, 1582=>2606, 1584=>2606, 1586=>2606, 1588=>2606, 1590=>2606, 1592=>2606, 1594=>2606, 1597=>2606, 1603=>2606, 1605=>260
View search_help.sql
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
View adminindex.php
<!DOCTYPE html>
<html>
<head>
<title>Serials</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment-with-locales.min.js"></script>
<link rel="icon" href="http://faviconka.ru/ico/faviconka_ru_30.ico" type="image/x-icon" />
You can’t perform that action at this time.