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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| /** | |
| * Grab the closest store location via geolocation | |
| */ | |
| getClosestStoreLocation: function() { | |
| var delegate = this; | |
| var successCallback = function(position) { | |
| //console.log('success: '+position); | |
| services.get({ | |
| id: "locations", | |
| data: { |
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
| -(BOOL) validateAphabetic: (NSString *) Valpha | |
| { | |
| if([Valpha isEqualToString:@""]||[Valpha isEqualToString:@" "]||[Valpha isEqualToString:@"-"]||[Valpha isEqualToString:@"."]||[Valpha isEqualToString:@"'"]) | |
| { | |
| return YES; | |
| } | |
| else { | |
| NSString *emailRegex = @"[a-zA-z0-9]"; | |
| NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegex]; | |
| BOOL isValid = [emailTest evaluateWithObject:Valpha]; |
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
| jQuery17202593815438449383_1339173175875({ | |
| "serviceStatus":"SUCCESS", | |
| "data":[ | |
| { | |
| "drinkItems":[ | |
| { | |
| "familyId":"8", | |
| "id":"257", | |
| "name":"Nestlé® Pure Life® Bottled Water", | |
| "nutritionInfo":{ |
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
| jQuery17202593815438449383_1339173175884({ | |
| "serviceStatus":"SUCCESS", | |
| "data":[ | |
| { | |
| "entreeItem":{ | |
| "familyId":"2", | |
| "id":"119", | |
| "name":"Spicy Chicken Sandwich", | |
| "nutritionInfo":{ | |
| "calcium":8.0, |
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
| Request: | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <SOAP-ENV:Body> | |
| <ns0:getColorsOfPalette xmlns:ns0="http://soap.services.color.common.sherwinwilliams.com"> | |
| <ns0:brandId>2</ns0:brandId> | |
| <ns0:collectionOrPaletteId>1006</ns0:collectionOrPaletteId> | |
| </ns0:getColorsOfPalette> |
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
| * SWONE-30 | |
| SWONE-7 | |
| master | |
| remotes/origin/HEAD -> origin/master | |
| remotes/origin/SWONE-10_PaintCalculator | |
| remotes/origin/SWONE-30 | |
| remotes/origin/SWONE-5 | |
| remotes/origin/SWONE-7 | |
| remotes/origin/kkaiser | |
| remotes/origin/master |