Skip to content

Instantly share code, notes, and snippets.

View SergiusAC's full-sized avatar

Sergey Ch. SergiusAC

  • Kazakhstan, Nur-Sultan
View GitHub Profile
@SergiusAC
SergiusAC / yieder.py
Created November 23, 2023 09:04 — forked from homm/yieder.py
import time
import collections
import functools
import itertools
TIMES = 200
N = 200
M = 10
@SergiusAC
SergiusAC / nginx-minio-static.md
Created January 8, 2022 08:11 — forked from harshavardhana/nginx-minio-static.md
How to configure static website using Nginx with MinIO ?

How to configure static website using Nginx with MinIO ?

1. Install nginx

2. Install minio

3. Install mc client

4. Create a bucket:

$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
@SergiusAC
SergiusAC / tokens.md
Created May 26, 2020 23:15 — forked from zmts/tokens.md
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

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

Last major update: 20.04.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов