Skip to content

Instantly share code, notes, and snippets.

View rvargs's full-sized avatar
💯

Ruben V. rvargs

💯
View GitHub Profile
@rvargs
rvargs / gist0.js
Created July 5, 2023 20:05 — forked from amb101/gist0.js
Nginx / Node Frontend / Load Balancer / Static Assets Caching
upstream project {
server 22.22.22.2:3000;
server 22.22.22.3:3000;
server 22.22.22.5:3000;
}
server {
listen 80;
location / {
@rvargs
rvargs / my-mac-setup.sh
Created March 14, 2020 18:38 — forked from nickytonline/my-mac-setup.sh
Mac Setup Scripts
#!/bin/sh
# More Mac setup at https://mac.iamdeveloper.com
# Log file
timestamp=$(date +%s)
logFile="./my-mac-setup-$timestamp.log"
# if true is passed in, things will reinstall
reinstall=$1
@rvargs
rvargs / setup.sh
Created March 14, 2020 02:25 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install