Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
| !!! 5 | |
| html(class='no-js') | |
| head | |
| meta(charset='utf-8') | |
| meta(http-equiv='X-UA-Compatible', content='IE=edge') | |
| title | |
| meta(name='description', content='') | |
| meta(name='viewport', content='width=device-width, initial-scale=1') |
| javascript:var addTask=function(a,b,c,d,e){window.location="thehitlist:///"+c+"/tasks?method=POST&title="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&startDate="+d+"&priority="+e};addTask(document.title,window.location,"inbox","t") |
| on alfred_script(q) | |
| tell application "iTerm" | |
| activate | |
| try | |
| set _term to last terminal | |
| on error | |
| set _term to (make new terminal) | |
| end try | |
| // .sass syntax | |
| // NOTE: This Sass stylesheet is dependent on the Custom Sass Function, convert-number-to-word, | |
| // which is available here, https://gist.github.com/1439296 | |
| /* Arfully Masterminded by ZURB | |
| /* Grid :: This is the mobile-friendly, responsive grid that lets Foundation work much of its magic. | |
| // Using Default Number of Columns that Foundation starts off with, 12 columns |
| #!/usr/bin/osascript | |
| on run | |
| if not (application "Mail" is running and application "The Hit List" is running) then | |
| return | |
| end if | |
| tell application "Mail" | |
| repeat with _account in imap accounts | |
| set _inbox to _account's mailbox "INBOX" | |
| set _messages to (a reference to (every message of _inbox whose flagged status is true)) | |
| -- We must use this workaround, because the reference will self-update once we unflag a message, and that will get us just one of two flagged messages imported |
| <?php | |
| // get the post UID from the URL | |
| $uid = param('post'); | |
| if(!$uid) die(a::json(array( | |
| 'status' => 'error', | |
| 'msg' => 'The post could not be found', | |
| ))); |
| { | |
| "bold_folder_labels": true, | |
| "color_scheme": "Packages/User/Espresso Soda.tmTheme", | |
| "ensure_newline_at_eof_on_save": true, | |
| "file_exclude_patterns": | |
| [ | |
| ".DS_Store", | |
| ".gitkeep", | |
| "dump.rdb" | |
| ], |
| tell application "Safari" to set recipeurl to URL of front document | |
| tell application "Safari" to set recipetitle to name of front document | |
| set ingredients to (do shell script "curl http://recipedistiller.com/recipe/classify/?recipeurl=" & recipeurl & " | textutil -convert txt -stdin -stdout | grep '.' | sed 's/ • DELETE//g'") | |
| set my text item delimiters to "VIEW RECIPE" | |
| set ingredients to text item 2 of ingredients | |
| set my text item delimiters to "©" | |
| set ingredients to text item 1 of ingredients |