Skip to content

Instantly share code, notes, and snippets.

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

hector vinicio lopez hectorlopezv

🏠
Working from home
View GitHub Profile
@hectorlopezv
hectorlopezv / caddy_ec2_ubuntu22_04.sh
Created June 20, 2024 23:09 — forked from abhishek77in/caddy_ec2_ubuntu22_04.sh
Script to install caddy on ubuntu 22.04 aws ec2
#!/bin/bash
sudo apt update
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
caddy version
sudo systemctl status caddy
sudo systemctl enable caddy
@hectorlopezv
hectorlopezv / multiple_ssh_setting.md
Created August 16, 2023 17:56 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"