Skip to content

Instantly share code, notes, and snippets.

View qqqrppp's full-sized avatar
😡
grrrrrryaaaa!!!! tututu!!! pay pay pay

axell qqqrppp

😡
grrrrrryaaaa!!!! tututu!!! pay pay pay
View GitHub Profile
@patricktunez123
patricktunez123 / Jest_GitLab_CI.md
Created April 23, 2022 11:03 — forked from rishitells/Jest_GitLab_CI.md
Setting up Jest tests and coverage in GitLab CI

Configuring Jest Tests in GitLab CI

1. Add GitLab CI configuration file in the root

In the root of your project, add .gitlab-ci.yml with the configuration below.

image: node:latest

stages:
@zmts
zmts / tokens.md
Last active May 2, 2024 15:03
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

Last major update: 25.08.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов
@TheHatSky
TheHatSky / webpack.config.js
Last active November 6, 2021 21:29
Шаблон webpack.config.js
'use strict';
const fs = require('fs');
const path = require('path');
const glob = require("glob");
const webpack = require("webpack");
const spawn = require('child_process').spawnSync;
const webpackConfigPartName = 'webpack.config.part.js';