Skip to content

Instantly share code, notes, and snippets.

View rajivjhoomuck's full-sized avatar
🎯
Vertiefungsgebiet-λ

Rajiv Jhoomuck rajivjhoomuck

🎯
Vertiefungsgebiet-λ
View GitHub Profile
@rajivjhoomuck
rajivjhoomuck / README.md
Created March 26, 2025 16:42 — forked from IsaacXen/README.md
(Almost) Every WWDC videos download links for aria2c.
@rajivjhoomuck
rajivjhoomuck / README.md
Created December 23, 2024 14:54 — forked from brennanMKE/README.md
Create SSH Key on Mac for Xcode

Create SSH Key on Mac for Xcode

The docs for GitHub show a command to create a key with the ed25519 encryption method which is not allowed by Xcode. Even if you are not using the Source Control features in Xcode you will often need to use an account with GitHub when you are consuming Swift packages which are pulled from GitHub.

For SSH keys there are 4 algorithms.

  • 🚨 DSA: This is an older algorithm which is no longer supported and is superceded with more modern algorithms.
  • ⚠️ RSA: This algorithm was an improvement but it is now outdated and a more modern method should be used.
  • 👀 ECDSA: Another improvement which is dependent on your computer's ability to generate random numbers.
  • ✅ Ed25519: The most recommended public-key algorithm today which you should use with GitHub.
@rajivjhoomuck
rajivjhoomuck / multiple-ssh-keys-git.adoc
Created April 15, 2024 18:50 — forked from alejandro-martin/multiple-ssh-keys-git.adoc
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory:

@rajivjhoomuck
rajivjhoomuck / multiple_ssh_setting.md
Created September 23, 2021 17:10 — 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 "[email protected]"
func canFail() -> Result<Int, Error> {
Bool.random()
? .success(7)
: .failure(NSError())
}
func neverFail() -> Result<Int, Never> { .success(9) }
func absurd<A>(_ never: Never) -> A {}