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

AI Assisted Coding Materials [Draft]

by Vrezh Oganisyan

Coding tools

I strongly advise to use either Cursor or Claude Code. These are the 2 ai assisted coding tools that i think will stay and strive. Cursor has better UI/UX and Claude Code better at coding but shittiest UX.

  • for VSCode users

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 }) {