Skip to content

Instantly share code, notes, and snippets.

As outlined here, there are a couple of situations where you need to authenticate with GitHub by using an Acces Token:-

  1. If you have Two-Factor Authentication (2FA) enabled.
  2. You are accessing an organisations protected content using SAML Single-Sign On (SSO).

Create an Access Token

In your GitHub account, go to Settings / Developer settings / Personal access tokens and select Generate New Token. Make a note of the token somewhere safe since this is the only chance you get to see it.

Add the token to your local OSX Key Chain

@noelboss
noelboss / git-deployment.md
Last active March 21, 2026 00:09
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.

@VineetReynolds
VineetReynolds / AngularJS Scaffolding Usage Notes.md
Last active December 17, 2015 08:59
AngularJS Scaffold-X Plugin usage notes

#Prerequisites

Install Forge

Copy the ZIP distribution to a directory and unzip it. This is your new FORGE_HOME:

$ export FORGE_HOME=<the location of the extracted build>
@mojavelinux
mojavelinux / tutorial.asciidoc
Created January 19, 2012 03:10
JBoss Java EE workshop

JBoss Java EE 6 Workshop