Skip to content

Instantly share code, notes, and snippets.

View gvangool's full-sized avatar

Gert Van Gool gvangool

View GitHub Profile
@gnarf
gnarf / ..git-pr.md
Last active January 27, 2025 01:56
git pr - Global .gitconfig aliases for Pull Request Managment

Install

Either copy the aliases from the .gitconfig or run the commands in add-pr-alias.sh

Usage

Easily checkout local copies of pull requests from remotes:

  • git pr 4 - creates local branch pr/4 from the github upstream(if it exists) or origin remote and checks it out
  • git pr 4 someremote - creates local branch pr/4 from someremote remote and checks it out
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
This file contains a list of everyone who is authorized to release Django.
When we issue an official release of Django, it'll come with a checksum file
for the release. That file will be signed by one of the authorized users
listed below, and will contain instructions on how to verify that the release
hasn't been tampered with.
This releasers document is itself signed by a master key with key ID
# All bindings refer to the current screen.
config defaultToCurrentScreen true
# Nudge/resize commands refer to % of screen sice.
config nudgePercentOf screenSize
config resizePercentOf screenSize
# my old divvy bindings (might wanna replace these some day?)
# corners: q/e/z/c for nw/ne/sw/se, quarter screen
alias resize-quarter resize:screenSizeX/2;screenSizeY/2
@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@rmm5t
rmm5t / README.md
Created August 19, 2008 23:38
Locale override examples for the timeago jQuery plugin (http://timeago.yarp.com)

This gist is now deprecated

Please visit the locales directory inside the main timeago repository intead.