Skip to content

Instantly share code, notes, and snippets.

View gh4m21's full-sized avatar
🏠
Working from home

Yves Gervens Constant gh4m21

🏠
Working from home
View GitHub Profile
@gh4m21
gh4m21 / openvpn-setup.sh
Created October 11, 2021 02:11 — forked from XMB5/openvpn-setup.sh
Easy automatic OpenVPN setup for Ubuntu Server
#!/bin/bash
#easy openvpn server setup for ubuntu
read -p "port (1-65535): " PORT
read -p "protocol (udp or tcp): " PROTOCOL
read -p "encrypt (y or n): " ENCRYPT
read -p "hmac (y or n): " HMAC
read -p "xor scramble (y or n): " SCRAMBLE
read -p "compress (y or n): " COMPRESS_YN
read -p "network number (0-255): " NETWORK_NUM
@gh4m21
gh4m21 / countries.json
Created August 8, 2021 18:01 — forked from Yizack/countries.json
List of countries in english and spanish with phone and country codes in JSON. Lista de países en inglés y en español con código de teléfono y código de país en JSON.
{
"countries": [
{
"name_en": "Afghanistan",
"name_es": "Afganistán",
"dial_code": "+93",
"code": "AF"
},
{
"name_en": "Albania",
@gh4m21
gh4m21 / System Design.md
Created June 16, 2021 04:28 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?