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
require 'rubygems' | |
require 'chargify_api_ares' | |
require 'cgi' | |
Chargify.configure do |c| | |
c.subdomain = 'acme' | |
c.api_key = 'x' | |
end |
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
#define YOUR_MODEL_SAVED @"YOUR_MODEL_SAVED_NOTIFICATION" |
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
<!-- BAD --> | |
<script> | |
$("#main").load("_partial.html"); | |
</script> | |
<!-- GOOD --> | |
<script> | |
$("#main").load("partial.html"); | |
</script> |
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
<!-- BAD --> | |
<link rel="stylesheet" href="css/screen.css?v1.0"> | |
<!-- GOOD --> | |
<link rel="stylesheet" href="css/screen.css"> |
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
The .Bar file is here: | |
/Blackberry/Apps | |
The bbwp is her: | |
/Blackberry/bbwp | |
The deploy tool is here: | |
/BackBerry/bbwp/blackberry-tablet-sdk/bin | |
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
body {background: #ffffff; padding: 0; margin: 0; font-size: 14px;} | |
body * {margin: 0; padding: 0; font-family: "Lucida Grande", helvetica, sans-serif;} | |
.mainbox{ | |
border-style:solid; | |
border-width:2px; | |
width:900px; | |
-moz-border-radius: 15px 15px 0px 0px; | |
border-radius: 15px 15px 0px 0px;; | |
margin:auto; |
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 <Foundation/Foundation.h> | |
#import "KIFTestController.h" | |
@interface AQTestController : KIFTestController | |
@end | |
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 "AQTestController.h" | |
#import "KIFTestScenario.h" | |
#import "KIFTestScenario+AQAdditions.h" | |
@implementation AQTestController | |
- (void)initializeScenarios { | |
[self addScenario:[KIFTestScenario scenarioToOpenAndCloseTheLogin]]; | |
[self addScenario:[KIFTestScenario scenarioToOpenAndCloseTheCreateActivityScreen]]; | |
[self addScenario:[KIFTestScenario scenarioToEnterTextIntoTheWhereBox]]; |
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
{ | |
"Latitude": 31.550837, | |
"Longitude": -97.116265, | |
"Description": "Drop dirties by 1pm in the laundry cart near front desk.", | |
"Weekday": 3, | |
"StartTime": "/Date(1329535556148)/", | |
"EndTime": "/Date(1329535556148)/", | |
"Dorms": [ | |
"South Russell" | |
], |
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
- (UIColor *)colorForHexColor:(id)hexColor{ | |
if (hexColor == [NSNull null]) { | |
return [UIColor blackColor]; | |
} else { | |
NSScanner *scanner2 = [NSScanner scannerWithString:hexColor]; | |
unsigned int hex; | |
[scanner2 scanHexInt:&hex]; | |
return UIColorFromRGB(hex); | |
} | |
} |
OlderNewer