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
- (void)awakeFromNib | |
{ | |
[self.tableView setaccessibilityLabel:@"first_table"]; | |
[super awakeFromNib]; | |
} |
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
var host = UIATarget.localTarget().host(); | |
var timeout = 5; // seconds | |
var args = ['test_channel', 'test-event', '{"hello":"world"}']; | |
var scriptPath = "/Users/home/me/pusher_script"; | |
var result = host.performTaskWithPathArgumentsTimeout(scriptPath,args,timeout); |
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
#!/usr/bin/env bash | |
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then | |
source "$HOME/.rvm/scripts/rvm" | |
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then | |
source "/usr/local/rvm/scripts/rvm" | |
else | |
printf "ERROR: An RVM installation was not found.\n" | |
fi |
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
RKObjectManager *manager = [RKObjectManager sharedManager]; | |
RKObjectMapping *mapping = [manager.mappingProvider objectMappingForKeyPath:@"BWCDRepository"]; | |
[manager loadObjectsAtResourcePath:@"/repositories.json" | |
objectMapping:mapping | |
delegate:nil]; |
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
module Cucumber | |
RETAINED_OBJECTS_FOR_CUCUMBER = [] | |
end | |
Before('@release') do | |
module ActiveRecord | |
class Base | |
def create_with_cucumber *args | |
Cucumber::RETAINED_OBJECTS_FOR_CUCUMBER << self | |
create_without_cucumber *args |
NewerOlder