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
{ | |
"list": [ | |
{ | |
"id": 1, | |
"parent_id": null, | |
"name": "Мадина Тулепкулова", | |
"value": 12.4 | |
}, | |
{ | |
"id": 2, |
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 | |
use PHPUnit\Framework\TestCase; | |
include 'get_next.php'; | |
final class UnitTest extends TestCase | |
{ | |
/** | |
* @dataProvider invalidDataProvider |
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 | |
use PHPUnit\Framework\TestCase; | |
include 'hayk.php'; | |
final class UnitNumberTest extends TestCase | |
{ | |
/** | |
* @dataProvider invalidDataProvider |
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
input { | |
file { | |
path => "/var/www/laravel-project/storage/logs/laravel.log" | |
codec => multiline { | |
pattern => "^\[%{TIMESTAMP_ISO8601:timestamp}\]" | |
what => "previous" | |
negate => true | |
} | |
} | |
} |
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 | |
$list = [ | |
[1, 2], | |
[2, 1], | |
[3, 1], | |
[4, 1], | |
[5, 2], | |
[6, 3], | |
[7, 3], |
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 | |
class x { | |
public $sum = 0; | |
public function __invoke($num = 0) | |
{ | |
$this->sum += $num; | |
return $this; | |
} |
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
<html> | |
<head> | |
<script src="https://cdn.pubnub.com/pubnub-3.7.13.min.js"></script> | |
<script type="text/javascript"> | |
var isFreeze = false; | |
function freeze() { | |
$('#freezeModal').modal({ | |
backdrop: 'static', |
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 | |
class x { | |
public $sum = 0; | |
public function __invoke($num = 0) | |
{ | |
$this->sum += $num; | |
return $this; | |
} |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<title>HTML Email Layout for Reports</title> | |
</head> | |
<body bgcolor="#E0E0E0" style="font-family: Arial, Helvetica; margin: 0; padding: 0; min-width: 100%!important;"> | |
<table width="100%" bgcolor="#E0E0E0" border="0" cellpadding="0" cellspacing="0" style="font-family: Arial, Helvetica; color: #757575;"> | |
<tr> | |
<td> |
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 | |
class Converse { | |
const CURRENCY_AMD = '051'; | |
const CURRENCY_AMD = 'hy'; | |
protected $endpoint = 'https://xxx/payment/rest/register.do'; | |
protected $username = ''; | |
protected $password = ''; |
NewerOlder