Skip to content

Instantly share code, notes, and snippets.

View kjhollen's full-sized avatar

kate hollenbach kjhollen

View GitHub Profile
@jonjack
jonjack / add-update-refresh-github-access-token-on-mac.md
Last active July 23, 2024 09:33
Adding & Updating GitHub Access Token on Mac

Using an Access Token for the first time

Follow the instructions on Github to Create an Access Token in Github

Configure Git to use the osxkeychain

By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.

You can tell Git you want to store credentials in the osxkeychain by running the following:-

@brysonian
brysonian / Mounting Raspberry Pi Drive via Vagrant.md
Created February 24, 2017 08:25
Mounting Raspberry Pi Drive via Vagrant

#Mounting Raspberry Pi Drive via Vagrant

Install Vagrant

Find instructions here Vagrant. Probably not a bad idea to run the getting started and make sure it works.

Identify your USB device

With your pi drive mounted (e.g. via a microsd reader) run VBoxManage list usbhost. This will print a list of UDB devices available to VirtualBox. Look for one that matches your device, this will probably have a manufacturer name of "Generic". Once you find it, note the VendorId and ProductId.

Configure Your Vagrant Project

Make a new directory and run vagrant init. This will create a Vagrantfile. Open this in a text editor and replace everything with this: