July 2012

Generate a UUID string with ARC enabled and __bridge_transfer [#iosdev]

Needed to safely generate a GUID in iOS using ARC, which, unfortunately, requires the use of Core Foundation classes, so this Stack Overflow post was very helpful: Generate a UUID string with ARC enabled CFUUIDRef uuid = CFUUIDCreate(NULL); NSString *uuidStr = (__bridge_transfer NSString *)CFUUIDCreateString(NULL, uuid); CFRelease(uuid);

Generate a UUID string with ARC enabled and __bridge_transfer [#iosdev] Read More »

How to delete all .svn folders in Linux / Mac [#iosdev #git #svn]

I found this useful recently when receiving a batch of code from a client who still uses Subversion… How to delete all .svn folders in Linux / Mac? – Techie Corner To delete all .svn folder in Linux just follow the steps below: Start Terminal Change your current directory to your project folder (ex: /Users/me/Sites/project_a)

How to delete all .svn folders in Linux / Mac [#iosdev #git #svn] Read More »

Github Tip: What to do if Github is asking for Username and Password

Recently I had a strange thing happen with a new project hosted by Github, by which every transaction with the server requried a username and password. Thankfully, this Stackoverflow post helped me resolve it. If Github is constantly asking for your credentials when you do a clone, pull, or push, and you know you have your

Github Tip: What to do if Github is asking for Username and Password Read More »