Skip to content

Instantly share code, notes, and snippets.

View vre2h's full-sized avatar
😈
i was thinking about status almost an hour and haven't come up with smth cool...

Vrezh Oganisyan vre2h

😈
i was thinking about status almost an hour and haven't come up with smth cool...
View GitHub Profile

Homework Tasks

Map

Your function must use map method

  • Write a function which returns array of usernames.

    const users = [
      {

Grokking Algorithms

Aditya Bhargava

Note, you can find all my solutions to tasks.

Chapter 1. Intro to algorithms

Algorithms — is a set of instructions to accomplish the task.

@vre2h
vre2h / 0.NodeJS.Simply.md
Last active February 20, 2020 12:29
Node.js course
@vre2h
vre2h / nodejs-simply.md
Last active February 4, 2020 11:32
NodeJS-Simply.md
@vre2h
vre2h / ilya-klimov-component.md
Last active March 22, 2020 02:03
Ilya's tips on good react code.

Tips

Note, all fields tagged with (?) symbol are my assumptions and can be discussed.

The component is good if it has good goals.

  • Criterias
    • Encapsulation
      • Private fields (?)
      • Closure (?)
  • Normalization

Project Setup

  • Eslint
  • Prettier
  • jscpd
  • Precommit hooks
  • Maybe makefile to extract everything from package.json
import { ApolloClient } from 'apollo-client';
import { ApolloLink, from } from 'apollo-link';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { HttpLink } from 'apollo-link-http';
import { onError } from 'apollo-link-error';
import { setContext } from 'apollo-link-context';
import { RetryLink } from 'apollo-link-retry';
import { loadState } from './localStorage';
export default function generateGraphqlClient({ typeDefs, resolvers }) {
@vre2h
vre2h / jsconf2019.md
Last active October 17, 2019 17:45
topic description

JS Conf 2019

Hey guys, Now I'm working on my slides and they're not ready yet but I've made some draft for you to familiarize with topic.

I'm going to speak about my experience as a junior developer, about two generation of Interns that I've been mentoring at Simply Technologies and about my experience as a JS Instructor at ACA. I've noticed tons of tips that I can share with others, also there are a lot of things