Skip to content

Instantly share code, notes, and snippets.

@imevro
imevro / frontend.md
Last active April 30, 2022 22:58
Тестовое задание на фронтэнд-разработчика
hr {
border: 0;
height: 1px;
background-image: linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -o-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -moz-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -webkit-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -ms-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -webkit-gradient(
@imevro
imevro / readme.md
Last active February 7, 2021 05:52
Тестовое задание в https://gotovo.ru

Тестовое задание в gotovo.ru

Кстати, мы активно нанимаем! Ищем фронтэнд-разработчиков, подробнее тут.

Пока не ищем!

Стек

Файрбейз (Firestore, Auth, без firebase-ui), Тайпскрипт, Реакт, Лоудэш, Аплоадкейр

@imevro
imevro / gist:edfe9dea12196056467f
Last active January 6, 2021 05:19
Clean up all cached pages in prerender.io from console
var cleanUp = function() {
$.ajax({method: "GET", url: "https://prerender.io/api/cached-pages?page=0&pageSize=1000000"}).success(function(response) {
var total = response,
lastChecked = 1;
console.log("total: " + response.length);
for(var i = 0; i < total.length; i++) {
$.ajax({
method: "DELETE",
import { JSONToQueryParams } from '@dtrussia/utils.js';
const basicUrl = '/api/v1';
function checkStatus(response) {
if (response.status >= 200 && response.status < 300) {
return response;
}
const { status, body } = response;
.row {
box-sizing: border-box;
display: flex;
margin-right: -15px;
margin-left: -15px;
}
[class*="col-xs-"] {
box-sizing: border-box;
padding-right: 15px;
@imevro
imevro / index.html
Last active March 22, 2020 19:22
Minimally working version of SSR (react, react-router, react-helmet, styled-components; implying use of react-scripts without eject)
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="$helmet-placeholder$">
<meta name="$sc-placeholder$">
<style>
@imevro
imevro / Remark API.md
Last active January 21, 2020 13:34
Remark API

Users

  • /users
    • GET — получить список пользователей
    • POST — новый пользователь
    • /{id}
      • GET — информация по пользователю
      • POST — обновить данные пользователя
      • DELETE — удалить пользователя

Apps

@imevro
imevro / .gitconfig
Created May 11, 2017 20:30
aliases for .gitconfig
[alias]
co = checkout
c = commit
st = status
br = branch
pl = pull
p = push
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short