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
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 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
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 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
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 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
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 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
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 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
\b[A-Z0-9._%+-]+@((apple|filemaker|braeburncapital|euro\.apple|asia\.apple)+\.)+com |
NewerOlder