Skip to content

Instantly share code, notes, and snippets.

View boldsuck's full-sized avatar

boldsuck boldsuck

View GitHub Profile
@developius
developius / README.md
Last active April 25, 2024 22:15
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

Create a new repository, or reuse an existing one.

Generate a new SSH key:

ssh-keygen -t rsa -C "your_email@example.com"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings (https://github.com/settings/keys).

Test SSH key:

#!/bin/bash
rm -rf ~/temp/git/tari
mkdir ~/temp/git
cd ~/temp/git
git clone https://github.com/tari-project/tari.git
git checkout development
cd tari
NOW=$(date +"%Y-%m-%d")
COMMIT=$(git log --pretty=format:'%h' -n 1)
OUTDIR=~/build/nightly/$NOW-$COMMIT