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
@implementation MercadoPago | |
-(NSString *) generateMercadoPagoURL:{ | |
NSMutableURLRequest *request = nil; | |
NSError *errorReturned = nil; | |
NSURLResponse *theResponse =[[NSURLResponse alloc]init]; | |
//we build the dictionary with the post's parameters | |
NSMutableDictionary *aDictionary = [[NSMutableDictionary alloc] init]; |
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
tell application "Finder" | |
set os_version to version as number | |
end tell |
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
--tx to pfbruno | |
on growlNotify(message) | |
tell application "System Events" | |
set isRunning to count of (every process whose bundle identifier is "com.Growl.GrowlHelperApp") > 0 | |
end tell | |
if isRunning then | |
tell application id "com.Growl.GrowlHelperApp" | |
notify with name "General" title "General" description message application name "General" |
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
--explode © 2008 ljr (http://applescript.bratis-lover.net) | |
on explode(delimiter, input) | |
local delimiter, input, ASTID | |
set ASTID to AppleScript's text item delimiters | |
try | |
set AppleScript's text item delimiters to delimiter | |
set input to text items of input | |
set AppleScript's text item delimiters to ASTID | |
return input --> list | |
on error eMsg number eNum |