This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function __hero_get_remote_names | |
git config --get-regexp 'remote.*.url' heroku.com | sed -E 's/^remote\.([^\.]*)\.url .*$/\1/' | |
end | |
function __hero_heroku_app_for | |
git config --get remote.$argv[1].url | sed -E 's/^[email protected]:([^.]*)\.git/\1/' | |
end | |
function __hero_completion | |
__hero_get_remote_names $argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface UIImage (ImageEffects) | |
- (UIImage *)applyLightEffect; | |
- (UIImage *)applyExtraLightEffect; | |
- (UIImage *)applyDarkEffect; | |
- (UIImage *)applyTintEffectWithColor:(UIColor *)tintColor; | |
- (UIImage *)applyBlurWithRadius:(CGFloat)blurRadius tintColor:(UIColor *)tintColor saturationDeltaFactor:(CGFloat)saturationDeltaFactor maskImage:(UIImage *)maskImage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by azu on 2013/06/09. | |
// License MIT | |
#import <Foundation/Foundation.h> | |
#import "KWMatcher.h" | |
typedef NS_ENUM(NSUInteger, KWDateInequalityType){ | |
KWDateInequalityTypeEqualToDateIgnoringTime,// ≒ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (UIFont *)bodyFont | |
{ | |
UIFont *dynamicTextFont = [UIFont preferredFontForTextStyle:UIFontTextStyleBody]; | |
UIFont *customFont = [UIFont fontWithName:@"Avenir" size:dynamicTextFont.pointSize]; | |
return customFont; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running migrations for locations: | |
- Migrating forwards to 0004_auto__chg_field_location_modified_by. | |
> locations:0001_initial | |
FATAL ERROR - The following SQL query failed: CREATE TABLE "locations_location" ("id" serial NOT NULL PRIMARY KEY, "woeid" integer NULL, "longitude" double precision NULL, "latitude" double precision NULL, "zoom_level" integer NULL); | |
The error was: relation "locations_location" already exists | |
Error in migration: locations:0001_initial | |
Traceback (most recent call last): | |
File "/home/user/projects/world/bauhaus/manage.py", line 24, in <module> | |
execute_from_command_line(sys.argv) |
NewerOlder