This file contains 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
board_name OMNIBUSF4 | |
manufacturer_id AIRB | |
mcu_id 002c00493337511332343333 | |
signature | |
# reset configuration to default settings | |
defaults nosave | |
# name |
This file contains 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
char yn; | |
while (yn != n) { | |
// ask user things, do math stuff | |
cout << "Continue? (y/n): "; | |
cin >> yn; | |
} |
This file contains 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
//In my app delegate after I setup routes and such: | |
[[NSNotificationCenter defaultCenter] addObserver:myTableViewController | |
selector:@selector(mergeChangesFromContextDidSaveNotification:) | |
name:NSManagedObjectContextDidSaveNotification | |
object:[RKObjectManager sharedManager].objectStore.managedObjectContext]; | |
//In myTableViewController: | |
- (void)mergeChangesFromContextDidSaveNotification:(NSNotification *)notification | |
{ | |
NSLog(@"THIS NEVAR HAPPENZ!@#"); |