Skip to content

Instantly share code, notes, and snippets.

@spsneo
spsneo / gist:6361517f0c135afc8481303465928093
Created December 14, 2018 10:12 — forked from zackdever/gist:8701478
arc diff off another diff
taken directly from https://sites.google.com/a/khanacademy.org/forge/for-developers/code-review-policy/using-phabricator
Advanced topic: Dependent Phabricator reviews
Say you have an upstream called master, and a feature branch F1, and a second change that depends on F1, (call it F2).
git checkout master
git checkout -b F1
# work work
git commit -a
arc diff
@spsneo
spsneo / .gitconfig
Created July 16, 2018 14:49
Gitconfig
[user]
name = Siddharth Prakash Singh
email = spsneo@gmail.com
[core]
editor = vi
[color]
ui = true
[alias]
tags = tag -l --sort=v:refname -n99
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
@spsneo
spsneo / .vimrc
Created June 6, 2018 08:29
Vimrc
syntax enable
set tabstop=2
set softtabstop=2
set expandtab
set number
set cursorline
filetype plugin indent on
set wildmenu
set lazyredraw
set showmatch
@spsneo
spsneo / .bashrc
Last active June 6, 2018 08:35
Bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac