giraffeee.dev
  • Home
Sign in Subscribe

Stefan Hück

How to store your GitHub Passphrase, so Cursor doesn't keep asking

How to store your GitHub Passphrase, so Cursor doesn't keep asking

To stop Cursor (or your terminal) from asking for the SSH key passphrase every time, you need to add your key to the SSH agent and optionally store it in the macOS Keychain. Here’s how: Start a SSH Agent Run the following command in your terminal: eval "$(ssh-agent
20 Mar 2025 1 min read
How to center a viewAligned ScrollView in SwiftUI
SwiftUI

How to center a viewAligned ScrollView in SwiftUI

By default a ScrollView with  .scrollTargetBehavior(.viewAligned) is aligned to the leading edge. To get a .viewAligned ScrollView centered, you can use combination of .containerRelativeFrame, constant spacing, and optionally .contentMargins and .safeAreaPadding.
17 Nov 2024 2 min read
Page 1 of 1
giraffeee.dev © 2025
  • Sign up
Powered by Ghost