##Xcode Locations
###Xcode Provisioning Profiles:
~/Library/MobileDevice/Provisioning\ Profiles
###Xcode Font and Color Schemes:
~/Library/Developer/Xcode/UserData/FontAndColorThemes
| group :test do | |
| gem 'rspec-rails' | |
| gem 'capybara' | |
| gem 'pdf-reader' | |
| end |
##Xcode Locations
###Xcode Provisioning Profiles:
~/Library/MobileDevice/Provisioning\ Profiles
###Xcode Font and Color Schemes:
~/Library/Developer/Xcode/UserData/FontAndColorThemes
| ps aux | grep _sim | grep -v grep | awk '{print $2}' | xargs kill -9 2>/dev/null |
| find . -type f -name "* conflicted *" -exec rm -f {} \; |
| git tag -d 12345 | |
| git push origin :refs/tags/12345 |
This gist accompanies the blog post Building NSURL Queries with NSURLQueryItems and NSURLComponents.
Apple quietly introduced a whole new suite of public API methods to NSCalendar in iOS 8 titled “Calendrical Calculations”. For some reason they seemed to have forgotten to include them in the public documentation on their developer site. Fortunately, digging in to the header file in Xcode reveals lots of descriptive comments about how to use these powerful new ways of interacting with NSDate objects.
| [alias] | |
| yesterday = log --graph --decorate --oneline --after='yesterday' --until='today midnight’ |
| #import <Foundation/Foundation.h> | |
| @interface ABVFormatter : NSObject | |
| - (NSString *)formattedABV:(NSNumber *)abv; | |
| @end |
| typedef void(^BackgroundCompletion)(); | |
| @interface Backgrounder : NSObject | |
| - (void)executeInBackground:(BackgroundCompletion)completion; | |
| @end |