Скрипт для проверок заданий на скайпро
Запускать так
python3 start-review.py https://github.com/EkaterinaDolgova/env_home_work8/pull/1
Скрипт для проверок заданий на скайпро
Запускать так
python3 start-review.py https://github.com/EkaterinaDolgova/env_home_work8/pull/1
| package course2.coursework_2.servise; | |
| import course2.coursework_2.Question; | |
| import course2.coursework_2.exception.QuestionEmptyCollectionException; | |
| import course2.coursework_2.exception.QuestionExistsException; | |
| import course2.coursework_2.exception.QuestionNotFoundException; | |
| import org.springframework.stereotype.Service; | |
| import java.util.*; |
| import java.time.LocalDate; | |
| import java.util.Arrays; | |
| import java.util.Scanner; | |
| public class Scratch { | |
| // Название метода не соотвествует содержимому в методе, он просто проверяет год, но на что проверяет не понятно | |
| public static void checkYear(int year) { | |
| // Для человека не знакомого с сутью проверки не очень понятно что означает 4, 100, 400? Это называется | |
| // "магические перменные", так же я бы выделил это условие на разные логические соотвляющие с префиксом is |
| const readline = require('readline'); | |
| const rl = readline.createInterface({ input: process.stdin , output: process.stdout }); | |
| const getLine = (function () { | |
| const getLineGen = (async function* () { | |
| for await (const line of rl) { | |
| yield line; | |
| } | |
| })(); |
| 'use strict'; | |
| const express = require('express'); | |
| const server = express(); | |
| const client = require('prom-client'); | |
| const Counter = client.Counter; | |
| const register = client.register; | |
| //Non push Alarm metrics | |
| const c = new Counter({ |
| #include <iostream> | |
| #include <string> | |
| #include <unistd.h> | |
| #include <cstdio> | |
| using namespace std; | |
| int** create2DArray(unsigned height, unsigned width) | |
| { | |
| int** array2D = 0; |
| func fixedOrientation() -> UIImage { | |
| if imageOrientation == UIImageOrientation.Up { | |
| return self | |
| } | |
| var transform: CGAffineTransform = CGAffineTransformIdentity | |
| switch imageOrientation { | |
| case UIImageOrientation.Down, UIImageOrientation.DownMirrored: |
| package io.github.rmuhamedgaliev; | |
| import java.io.BufferedWriter; | |
| import java.io.File; | |
| import java.io.FileWriter; | |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.Paths; | |
| import java.util.*; | |
| import java.util.regex.Matcher; |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| __author__ = 'rmuhamedgaliev' | |
| from bs4 import BeautifulSoup | |
| import urllib2 | |
| def get_html_site(): |