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
[UIView beginAnimations:nil context:nil]; | |
[UIView setAnimationDuration:0.35]; | |
if (self.isFlipped) { | |
[self.textView resignFirstResponder]; | |
self.keyboard.transform = CGAffineTransformMakeRotation(0); | |
self.showHideButton.transform = CGAffineTransformMakeRotation(0); | |
} else { | |
[self.textView becomeFirstResponder]; | |
self.keyboard.transform = CGAffineTransformMakeRotation(M_PI); |
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
using terms from application "Quicksilver" | |
on process text _text | |
try | |
set the _encodedUrl to _urlEncode(_text) of me | |
set curlCMD to "curl --stderr /dev/null \"http://api.longurl.org/v2/expand?url=" & _encodedUrl & "\"" | |
tell me to set _longURL to (do shell script curlCMD) | |
set AppleScript's text item delimiters to "CDATA[" |
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 laststatus=2 " always show the status line | |
let statusHead ="%-.50f\ %h%m%r" | |
let statusBreakPoint ="%<" | |
let statusSeparator ="|" | |
let statusFileType ="%{((&ft\ ==\ \"help\"\ \|\|\ &ft\ ==\ \"\")?\"\":\"[\".&ft.\"]\")}" | |
let statusFileFormat ="[%{(&ff\ ==\ \"unix\")?\"u\":\"d\"}]" | |
let statusAscii ="\{%b:0x%B\}" | |
let statusCwd ="%-.50{getcwd()}" | |
let statusBody =statusFileType.statusFileFormat.statusSeparator.statusAscii.statusSeparator."\ ".statusBreakPoint.statusCwd | |
let statusEncoding ="[%{(&fenc\ ==\ \"\"?&enc:&fenc).(&bomb?\",BOM\":\"\")}]" |
NewerOlder