Skip to content

Instantly share code, notes, and snippets.

View miguelSantirso's full-sized avatar

Miguel Santirso miguelSantirso

View GitHub Profile
@mikezs
mikezs / UIDeviceHardware.h
Created December 17, 2012 13:09 — forked from Jaybles/UIDeviceHardware.h
Find the Apple model identifier and give a string representation of it
//
// UIDeviceHardware.h
//
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
+ (NSString *) platform;
@daredude
daredude / setup_p4merge.cmd
Created November 9, 2011 08:36
Setup p4merge as mergetool and difftool for git in windows (found here: http://stackoverflow.com/questions/426026/git-on-windows-how-do-you-set-up-a-mergetool)
git config --global merge.tool p4merge
git config --global mergetool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'
git config --global diff.tool p4merge
git config --global difftool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'