This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| #!/bin/bash | |
| # FILTERS="-filter:v crop=504:374:6:4,unsharp=5:5:1.0:5:5:0.0"; | |
| FILTERS=""; | |
| RESIZE="960x540"; | |
| VIDEO_BITRATE="2048k"; | |
| AUDIO_BITRATE="96k"; | |
| ############################################################ | |
| for f in "$@" | |
| do |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| using terms from application "Quicksilver" | |
| on process text log_text | |
| set theDate to (do shell script "date '+%m-%d-%Y %H:%M'") | |
| set theText to log_text | |
| set theText to theDate & " " & theText & " | |
| " | |
| set thePosixFilePath to "/Users/ts/Dropbox/Sync/todo.txt" as string | |
| set theFilePath to POSIX file thePosixFilePath | |
| set theFileReference to open for access theFilePath with write permission | |
| write theText to theFileReference starting at eof |