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
<template> | |
<div class=" col-md-6 "> | |
<br> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Авторизация</div> | |
<div class="panel-body"> | |
<div class="form-group"> | |
<label>Логин</label> | |
<input v-model="body.email" class="form-control" type="text"> | |
</div> |
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
public static function get($url, $controllerAndAction, $option) | |
{ | |
self::parseOptions() | |
self::add(...) | |
} | |
protected static function parseOptions($options){ | |
... | |
} |
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
function readURL(input) { | |
if (input.files && input.files[0]) { | |
var reader = new FileReader(); | |
console.log('test2') | |
reader.onload = function (e) { | |
$('#image-view').attr('src', e.target.result); | |
} | |
reader.readAsDataURL(input.files[0]); | |
} |
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 App\Models; | |
use App\Models\Product\Product; | |
use Illuminate\Support\Facades\Session; | |
class Cart | |
{ |
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 | |
interface AutoInterface | |
{ | |
public function __construct($marka, $type); | |
public function getMarka(); | |
public function getType(); | |
} |
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 Tumba | |
{ | |
protected $box = []; | |
function __construct($yashik) | |
{ | |
for ($i = 0; $i < $yashik; $i++) { |
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
Show hidden characters
{ | |
"presets": ["es2015", "stage-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
1. | |
homstead.yaml | |
.... | |
to: pathSymfony/web | |
2. | |
rename /web/app_dev.php to /web/index.php |
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
View headers of request - | |
curl -I site.com |
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' => 3, | |
'teams' => [ | |
[ | |
'players' => [ | |
235235233, | |
763435235 | |
], | |
'winner' => true |
OlderNewer