Skip to content

Instantly share code, notes, and snippets.

View juicyluv's full-sized avatar
💭
"A programming is not just an end product, it is the process of evolution"

Ilya juicyluv

💭
"A programming is not just an end product, it is the process of evolution"
View GitHub Profile
@erwindev
erwindev / scalable-web.md
Last active May 22, 2023 09:38
Strategies Scalable Web Architecture

Strategies for a Scalable Web Application

highly scalable architecture

Scale Up vs Scale Out

Scale Up (Vertical Scaling)

  • Add more CPU’s or add faster CPU’s to a single server

Scale Out (Horizontal Scaling)

@asukakenji
asukakenji / 0-go-os-arch.md
Last active March 29, 2025 10:55
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@huyinghuan
huyinghuan / encrypt_file_pkcs5_pkcs7.go
Created May 31, 2017 07:44
golang encrypt with pkcs5 and pkcs7
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"errors"
"io"
"io/ioutil"
@zmts
zmts / tokens.md
Last active April 1, 2025 11:18
Про токены, JSON Web Tokens (JWT), аутентификацию и авторизацию. Token-Based Authentication

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

Last major update: 25.08.2020

  • Что такое авторизация/аутентификация
  • Где хранить токены
  • Как ставить куки ?
  • Процесс логина
  • Процесс рефреш токенов
  • Кража токенов/Механизм контроля токенов
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active February 27, 2025 20:09
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html