Skip to content

Instantly share code, notes, and snippets.

View viartemev's full-sized avatar
🚀
work hard

Vyacheslav Artemyev viartemev

🚀
work hard
View GitHub Profile

2021 Retrospective

Based on An End of the Year Retrospective by Pat Kua.

What happened during your year?

Go through your planning tools (e.g. personal and work calendars, to-do lists, journals, etc) and list any events or activities (by month) of significance to you. Capture these as if you were a neutral bystander.

Examples might include: “Moved house”, “Took part in a virtual panel”, or “Read Lord of the Rings for the 2nd time”

package main
import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"strings"
@viartemev
viartemev / nhl.go
Last active March 21, 2022 09:51
NHL recap downloader
package main
import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"strings"
public class ReversedView<E> extends AbstractList<E>{
public static <E> List<E> of(List<E> list) {
return new ReversedView<>(list);
}
private final List<E> backingList;
private ReversedView(List<E> backingList){
this.backingList = backingList;
fun <K, V: Any> Map<K, V?>.filterValuesNotNull(): Map<K, V> {
val map = HashMap(this)
val result = LinkedHashMap<K, V>()
for (entry in map) {
if (entry.value != null) {
result[entry.key] = entry.value
}
}
return result
}
tap 'homebrew/cask'
brew 'bash' # Latest Bash version
brew 'bat' # "cat" on steroids
brew 'coreutils' # Those that come with macOS are outdated
brew 'ffmpeg'
brew 'git'
brew 'grep'
cask 'alfred'
| title | url | name |
| :--- | :--- | :--- |
| Льюис Хэмилтон | lyuis-khemilton | Автоспорт |
| Станислава Константинова | stanislava-konstantinova | Фигурное катание |
| Кайса Мякяряйнен | kaysa-myakyaryaynen | Биатлон |
| Резиуан Мирзов | reziuan-mirzov | Футбол |
| Даниил Лесовой | lisovyy-daniil | Футбол |
| Йоханнес Клэбо | yokhannes-klebo | Другие виды спорта |
| Юрий Газинский | yuriy-gazinskiy | Футбол |
| Мартин Шкртел | shkrtel-martin | Футбол |
fun main() {
val mapper = jacksonObjectMapper()
val personData = MainDataData("name", "surname", 19)
val foo = Foo(personData, "foo")
val bar = Bar(personData, "bar")
println(mapper.writeValueAsString(foo))
println(mapper.writeValueAsString(bar))
}
interface MainData {
1. Описание проекта
- построен аутсорсерами
- неравномерная пиковая нагрузка
- состав команды
2. Технический аудит проекта:
- причины для проведения аудита (проблемы проекта)
- Преждем чем что-то делать нужно делать замеры ДО и ПОСЛЕ (но только после того, как ты исправил критические проблемы)
- "Начинаем релиз, возможны временные баги"
- five why
- CI/CD - ошибки при релизах, релизы идут долго в ручном режиме -> автоматизация релизов
openapi: 3.0.1
servers:
- url: 'https://mobile.sport24.ru/v1'
info:
description: >-
Sport24 Mobile API
version: 1.0.0
title: Sport24 Mobile API
contact:
name: Sport24 Tech