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
Задача на стейк с двумя пивами: | |
Есть игровое поле 5x5 | |
X X X X X | |
X X X X X | |
X X X X X | |
X X X X X | |
При нажатии на клетку из игры, должны занятся и соседние клетки тоже |
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
# Yarn | |
alias yarnbd='yarn build-dev' | |
alias yarnb:d='yarn build:dev' | |
# Composer | |
alias compi='composer install' | |
# PM2 | |
alias pm2checklogs='pm2 logs checkout --raw --lines 50' | |
alias pm2new_design='pm2 logs checkout --raw --lines 50' | |
# Dir's hacks | |
alias ..="cd .." |
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
{"lastUpload":"2021-09-17T13:46:27.874Z","extensionVersion":"v3.4.3"} |
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 | |
// Simple container | |
// Простая реализация контейнера. | |
namespace System\Container; | |
use Psr\Container\ContainerInterface; | |
use ReflectionClass; | |
use ReflectionException; |
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
<template> | |
<div> | |
<div class="row"> | |
<div class="col-sm-12"> | |
<div class="content-header">Цветок</div> | |
</div> | |
</div> | |
<section id="grid-option"> | |
<div class="row"> |
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
├── components | |
│ ├── model-list | |
│ │ ├── model-list.component.html | |
│ │ ├── model-list.component.scss | |
│ │ ├── model-list.component.spec.ts | |
│ │ └── model-list.component.ts | |
│ ├── models3d-layout | |
│ │ ├── models3d-layout.component.spec.ts | |
│ │ └── models3d-layout.component.ts | |
│ └── upload-model |
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 checkbox-group="true" type="checkbox" id="checkbox-toogle-all"> | |
<div id="checkBoxContainer" ng-repeat="selectedItem in list"> | |
<input type="checkbox" checkbox-group/> | |
<label class="">{{selectedItem.value}}</label> | |
</div> |
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
[].forEach.call(document.querySelectorAll('form'), function (input) { | |
var table = []; | |
console.group('HTMLForm "' + input.name + '": ' + input.action); | |
console.log('Element: ', input, '\nName: ' + | |
input.name + '\nMethod: ' + input.method.toUpperCase() + | |
'\nAction: ' + input.action || 'null'); | |
['input', 'textarea', 'select'].forEach(function (control) { | |
[].forEach.call(input.querySelectorAll(control), function (node) { |