Skip to content

Instantly share code, notes, and snippets.

View ludoo0d0a's full-sized avatar

LudoO ludoo0d0a

View GitHub Profile
@ludoo0d0a
ludoo0d0a / setup.sh
Last active October 18, 2021 04:14 — forked from bradp/setup.sh
LudoO's Mac Setup Script
VERSION=1.0
[email protected]
echo "Creating an SSH key for you..."
ssh-keygen -t rsa -b 4096 -C "$EMAIL"
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
@ludoo0d0a
ludoo0d0a / GitCloneHere.sh
Created June 12, 2019 18:03 — forked from donarb/GitCloneHere.sh
Automator service to clone Git repos in Mac Finder
# Use this to quickly create a git repo in a Mac Finder folder
#
# You need to create an Automator service:
# - Open Automator, choose to create a new Service
# - At the top, select Service receives selected "Folders" in "Finder"
# - From the list at the left, choose Library/Utilities, then drag the
# Run Shell Script action to the workarea
# - Paste the script below into the script area
# - Make sure you set the 'Pass input:' selection to "as arguments"
# - Save the service with an easy to find name, I used "Git Clone Here"
@ludoo0d0a
ludoo0d0a / gist:2704333073b56742510e328b5d055271
Created September 4, 2017 20:26 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream