Tuesday, January 07, 2014

Useful scripts and hacks

Over the years, I've run into hundreds of little hacks/scripts/nuggets of things that I find useful.  And I have no centralized spot to store/share them.

Time to fix that!  Here, for posterity, is a list of common hacks/scripts/nuggets that I've run into and need to hold on to!

Perforce

 p4 diff -sd //branch | p4 -x -sync -f  ||| looks for missing file in //branch and force syncs them.
 p4 changes -m1 #have                   ||| run from a folder, tells you what the current changelist is.

Actually, I'm going to move these over to gists in github.  Find them here: https://gist.github.com/Nuclearfossil