Skip to content

Instantly share code, notes, and snippets.

View nneuberger1's full-sized avatar

Nick Neuberger nneuberger1

View GitHub Profile
@AquaGeek
AquaGeek / APIClient.h
Created May 1, 2012 17:08
AFNetworking with XML request body
#import <Foundation/Foundation.h>
#import "AFHTTPClient.h"
@interface APIClient : AFHTTPClient
+ (APIClient *)sharedClient;
@end
@matthewmccullough
matthewmccullough / gist:988077
Created May 24, 2011 03:02
Visualize Git Orphans via gitk and log
# Put this in your .gitconfig file under the alias section
orphank = !gitk --all `git reflog | cut -c1-7`&
# Then run it by typing 'git orphank' on the command line.
# A text version of the same is
orphanl = !git --pretty=oneline --abbrev-commit --graph --decorate `git reflog | cut -c1-7`