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
\b[A-Z0-9._%+-]+@((apple|filemaker|braeburncapital|euro\.apple|asia\.apple)+\.)+com |
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
diff --git a/External/jrfeedbackprovider/lib/JRFeedbackController.m b/External/jrfeedbackprovider/lib/JRFeedbackController.m | |
--- a/External/jrfeedbackprovider/lib/JRFeedbackController.m | |
+++ b/External/jrfeedbackprovider/lib/JRFeedbackController.m | |
@@ -9,6 +9,7 @@ | |
#import <AddressBook/AddressBook.h> | |
#import "NSURLRequest+postForm.h" | |
#import <SystemConfiguration/SCNetwork.h> | |
+#import <SystemConfiguration/SystemConfiguration.h> | |
#if USE_GROWL |
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
NS_IMETHODIMP | |
nsChildView::BeginSecureKeyboardInput() | |
{ | |
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT; | |
nsresult rv = nsBaseWidget::BeginSecureKeyboardInput(); | |
if (NS_SUCCEEDED(rv)) | |
::EnableSecureEventInput(); | |
return rv; |
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
set the ApiVersion to "2.0.1" | |
set the ApiLogin to "carpeaqua" | |
set the ApiKey to "1234567890" | |
set the ClipURL to (the clipboard as string) | |
ignoring case | |
if ((characters 1 through 4 of ClipURL as string) is not "http") then | |
return "Malformed URL." | |
else | |
set the EncodedClipURL to urlencode(ClipURL) of me |
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
on nextMonday from theDate | |
theDate - (theDate - (date "Monday, January 8, 1000 12:00:00 AM")) mod weeks + weeks | |
end nextMonday | |
nextMonday from current date | |
set dateX to result | |
set A to ((month of dateX as number) + 100) as string |
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
set the ClipURL to (the clipboard as string) | |
ignoring case | |
if ((characters 1 through 4 of ClipURL as string) is not "http") then | |
return "Malformed URL." | |
else | |
set curlCMD to ¬ | |
"curl --stderr /dev/null \"http://tinyurl.com/api-create.php?url=" & ClipURL & "\"" | |
-- Run the script and get the result: |
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
NSString *alertMessage = NSLocalizedString(@"Are you sure you want to sign out?", nil); | |
SGAlertView *alertView = [[SGAlertView alloc] initWithTitle:nil message:alertMessage]; | |
[alertView addButtonWithTitle:NSLocalizedString(@"Cancel", nil) block:^{}]; | |
[alertView addButtonWithTitle:NSLocalizedString(@"Sign out", nil) block:^{ | |
// Handle the sign out stuff | |
}]; | |
[alertView show]; | |
[alertView release]; |
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 "PDFpenPro" | |
tell document 1 | |
set theImprint to make new text field with properties {rich text:"Fez"} at end of imprints of page 1 | |
set font of attribute run 1 of rich text of theImprint to "LucidaGrande-Bold" | |
set size of attribute run 1 of rich text of theImprint to 30 | |
set color of theImprint to {1, 1, 1} | |
end tell | |
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
-- This script places a page number in the bottom left corner of each page. | |
tell application "PDFpenPro" | |
if (count documents) > 0 then | |
set pageCount to count (pages of document 1) | |
repeat with pageNumber from 1 to pageCount | |
set thePage to page pageNumber of document 1 | |
set theImprint to make new text imprint at end of imprints of thePage with properties {rich text:pageNumber as rich text, x position:36, y position:36, height:16, width:30} | |
set font of attribute run 1 of rich text of theImprint to "LucidaGrande-Bold" | |
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
https://phobos.apple.com/WebObjects/MZFinance.woa/wa/freeProductCodeWizard?code=%fill:code% |
OlderNewer