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
-- | |
-- A simple AppleScript droplet that uploads files and/or folders | |
-- dropped on it to App.net, and then creates a new outgoing | |
-- Mail.app message pre-populated with App.net's public links | |
-- to those files/folders. | |
-- | |
-- REQUIRES FileBase 0.8. (Free beta at http://filebase.co) | |
-- | |
-- REQUIRES OS X 10.9, only for the 'display notification' | |
-- command which could easily be deleted if use on 10.8 |
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
-- | |
-- An AppleScript to download a subset of App.net photos | |
-- into a folder on your local computer. | |
-- | |
-- By default, it downloads everything to '~/Pictures/ADN Photos' | |
-- | |
-- It remembers which photos have been downloaded and | |
-- which have not (via FileBase's tagging feature), | |
-- making it suitable to run every day via a calendar | |
-- event or cron job or equivalent. |
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
If you: | |
a) Hilight **multiple files at the same time** in the FileBase interface | |
-and- | |
b) Click the Download button or pick Download from the File menu (but **not** if | |
you download by dragging and dropping) | |
FileBase will clobber the permissions (but not the owner) of the **folder you're |
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
#add git branch to prompt; paste at the end of your .bash_profile | |
function parse_git_branch_and_add_brackets { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\[\1\]/' | |
} | |
PS1="\h:\W\[\033[0;31m\]\$(parse_git_branch_and_add_brackets)\[\033[0m\] \u\$ " |
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
# Get onto godaddy.com to change your nameservers: | |
# In /etc/hosts add | |
208.109.4.201 godaddy.com | |
208.109.4.201 www.godaddy.com | |
216.69.149.215 mya.godaddy.com | |
216.69.149.90 idp.godaddy.com |