Skip to content

Instantly share code, notes, and snippets.

@ragerdl
ragerdl / setup.md
Last active October 19, 2017 23:18 — forked from developius/README.md
Set up GitHub push with SSH keys

Create a repo. Make sure there is at least one file in it (even just the README) Generate ssh key:

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

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings. Test SSH key:

ssh -T git@github.com
@ragerdl
ragerdl / Git.md
Created July 13, 2016 22:58 — forked from deanrather/Git.md
Git Commands I Use a Lot

git status lets you know which branch your on, whether the working tree is modified does not let you know whether there are upstream changes

git fetch recursively pulls down all commits in all branches and submodules does not modify your working tree

tig --all list all commits and all branches, highlights your current checked out commit in cyan

@ragerdl
ragerdl / phabricator_readme.md
Last active June 6, 2016 17:37 — forked from sparrc/phabricator_readme.md
Phabricator Ubuntu Installation Guide

Phabricator Ubuntu Installation Guide

This is a supplement to the official Phabricator Installation Guide, because their guide will leave you with all kinds of permission and config errors and ~15,000 setup issues on startup.

Install bonus packages:

# apt-get install mercurial subversion python-pygments sendmail imagemagick

Create necessary users and add phd-user to sudoers: