Skip to content

Instantly share code, notes, and snippets.

View evgeniidatsiuk's full-sized avatar
🦸‍♂️
IT Iron Man

Yevhenii Datsiuk evgeniidatsiuk

🦸‍♂️
IT Iron Man
View GitHub Profile
@oleksiilevzhynskyi
oleksiilevzhynskyi / grammarly_web_frontend_resources.md
Last active September 18, 2024 17:04
Grammarly web front-end resources
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active November 19, 2024 12:12
crack activate Office on mac with license file
@zmts
zmts / tokens.md
Last active November 19, 2024 17:23
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

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

Last major update: 25.08.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов
@brennanMKE
brennanMKE / hero.ts
Last active September 21, 2024 23:00
Example of Mongoose with TypeScript and MongoDb
import * as mongoose from 'mongoose';
export let Schema = mongoose.Schema;
export let ObjectId = mongoose.Schema.Types.ObjectId;
export let Mixed = mongoose.Schema.Types.Mixed;
export interface IHeroModel extends mongoose.Document {
name: string;
power: string;
@jtadeulopes
jtadeulopes / server.md
Last active March 29, 2024 10:23
Server setup with ubuntu, nginx and puma for rails app.

Update and upgrade the system

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
sudo reboot

Configure timezone