Skip to content

Instantly share code, notes, and snippets.

View Gabriel-Paulucci's full-sized avatar
🕹️
Code ever

Gabriel Paulucci Gabriel-Paulucci

🕹️
Code ever
View GitHub Profile
@Gabriel-Paulucci
Gabriel-Paulucci / color.css
Created February 17, 2022 20:59
Cores para usar
:root {
--dark-color-ligth: #8f90a6;
--dark-color: #555770;
--dark-color-dark: #28293d;
--dark-color-dark-plus: #1b1b27;
--ligth-color-ligth: #fafafc;
--ligth-color: #f2f2f5;
--ligth-color-dark: #ebebf0;
--red-color-ligth: #ff8080;
--red-color: #ff5c5c;
@Gabriel-Paulucci
Gabriel-Paulucci / hash.rs
Created December 15, 2021 16:43
Hash Password and Salt in Rust
use std::fmt::Display;
use chrono::Utc;
use sha3::Sha3_512;
use uuid::Uuid;
use crate::errors::HashError;
struct HashedElement(Box<[u8]>);
@Gabriel-Paulucci
Gabriel-Paulucci / nginxloadbalancer.conf
Created September 16, 2021 01:37
Nginx loadbalancer
upstream loadbalancer {
least_conn;
server 127.0.0.2 weight=5;
server 127.0.0.3 weight=5;
server 127.0.0.4;
server 127.0.0.5;
}
server {
listen 80;