Skip to content

Instantly share code, notes, and snippets.

View gearmobile's full-sized avatar
🇷🇺
Working remotely

Valery Semenenko gearmobile

🇷🇺
Working remotely
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Одна большая компания</title>
<link
class Map extends React.Component {
constructor(props) {
super(props);
this.map = undefined;
this.markers = [];
}
removeMarkers = () => {
this.markers.forEach(marker => marker.setMap(null));
.field {
width: 100%;
padding: 6px 12px;
height: 50px;
font-size: 14px;
background-color: #f4f7f6;
border: 1px solid #ddd;
}
.form-field {
<form class="form">
<div class="form-field">
<input type="search" class="field" placeholder="Search...">
<button type="submit" class="button"></button>
</div>
</form>
@gearmobile
gearmobile / file.css
Created April 20, 2019 05:40
footer styles
.footer {
margin-bottom: 33px;
}
.footer-wrapper {
width: 1170px;
margin: 0 auto;
padding: 0 15px;
}
@gearmobile
gearmobile / fiel.html
Created April 20, 2019 05:38
footer html
<footer class="footer">
<div class="footer-wrapper">
<address class="footer-block">
<ul class="footer-socials">
<li class="socials-item">
<a href="#0" class="socials-link socials-link-twitter">
<span class="socials-link-text">twitter</span>
</a>
</li>
<li class="socials-item">
import { CommonModule } from '@angular/common';
import { async, ComponentFixture, TestBed, inject } from '@angular/core/testing';
import { HttpClient } from '@angular/common/http';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { FormsModule } from '@angular/forms';
import { ENDPOINTS } from '@api/constants/endpoints';
import { endpoint } from '@api/endpoint/endpoint.service';
import { Distributor } from '@api/contracts/distributor.class';
@gearmobile
gearmobile / netology_org.md
Created March 20, 2019 14:43
Кто есть кто в Нетологии

Кто есть кто в Нетологии

Менеджер по работе с преподавателями — Мария Горошко Вы можете писать мне по любому поводу. Все что касается расписания, оплат, недовольств, проблем, радости, замен, переносов и т.д. Даже если я не в силах буду решить ваш вопрос, я передам его тем, кто компетентен в данном случае.

Координаторы и курсы:

  • Старший координатор — Анна Попова, курирует професси FS, FE, FD, PD.
  • Мария Ушакова — GIT, PB, HJ, RA
  • Татьяна Демьяненко — JS, BHJ
  • Оксана Махонина — HTML, MQ, BJS
  • Вероника Лобанова — PY, DJ, ADPY
  • Мария Горошко — AN, AJS, AHJ
@gearmobile
gearmobile / gist:2bd1b6285511794275d5dc15adb26cd4
Last active February 19, 2019 12:37 — forked from lttlrck/gist:9628955
Rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@gearmobile
gearmobile / angular-testing
Created February 19, 2019 07:58
angular-testing
Тему тестирования по Angular только осваиваю (Karma+Jasmine). Есть точная копия компонента contributor, вырванного из контекста - https://stackblitz.com/edit/angular-xldsny
Проблема для меня заключается в следующем.
Если закомментировать блок кода в компоненте (стр. 152):
```js
const rulesTreeSecondary = Object.keys(namesMapSecondary).map(child => {
const temp: any = filter(rules['references'], el => el.name.toLowerCase() === child)[0];
return {