Skip to content

Instantly share code, notes, and snippets.


Evgeny Rodionov evgenyrodionov

View GitHub Profile
evgenyrodionov / gist:edfe9dea12196056467f
Last active Jan 6, 2021
Clean up all cached pages in from console
View gist:edfe9dea12196056467f
var cleanUp = function() {
$.ajax({method: "GET", url: ""}).success(function(response) {
var total = response,
lastChecked = 1;
console.log("total: " + response.length);
for(var i = 0; i < total.length; i++) {
method: "DELETE",
evgenyrodionov /
Last active Nov 27, 2020
Тестовое задание в

Тестовое задание в

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

Пока не ищем!


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

View fetch-api.js
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;
evgenyrodionov /
Last active Jul 30, 2020
Тестовое задание на фронтэнд-разработчика
View responsive-grid.css
.row {
box-sizing: border-box;
display: flex;
margin-right: -15px;
margin-left: -15px;
[class*="col-xs-"] {
box-sizing: border-box;
padding-right: 15px;
evgenyrodionov / index.html
Last active Mar 22, 2020
Minimally working version of SSR (react, react-router, react-helmet, styled-components; implying use of react-scripts without eject)
View index.html
<!doctype html>
<html lang="ru">
<meta charset="utf-8">
<meta name="$helmet-placeholder$">
<meta name="$sc-placeholder$">
View Remark


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


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

Sync with Dropbox

Initial setup
mkdir Dropbox/Sublime\ Text\ 2

cp -r ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages ~/Dropbox/Sublime\ Text\ 2
cp -r ~/Library/Application\ Support/Sublime\ Text\ 2/Packages ~/Dropbox/Sublime\ Text\ 2
cp -r ~/Library/Application\ Support/Sublime\ Text\ 2/Pristine\ Packages ~/Dropbox/Sublime\ Text\ 2

ln -s ~/Dropbox/Sublime\ Text\ 2/Installed\ Packages ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages
ln -s ~/Dropbox/Sublime\ Text\ 2/Packages ~/Library/Application\ Support/Sublime\ Text\ 2/Packages