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
def on_unsubscribe(incoming) | |
@payload = incoming.payload | |
# puts fired_at | |
# puts action | |
# puts reason | |
# puts id | |
# puts list_id | |
# puts email | |
# puts email_type | |
# puts payload_with_email |
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
def show | |
["twitter", "facebook", "tumblr"].each do |service| | |
account_name = Authentication.where(:provider => service, :user_id => current_user.id).first.try(:accountname) | |
self.instance_variable_set("@#{service}", account_name) | |
end | |
end |
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
#!/bin/sh | |
HOST=cdmwebs.homedns.org | |
SOURCE=/Users/chris | |
INCLUDE=/Users/chris/bin/include.txt | |
PATHTOBACKUP=/media/storage/backups/panthera | |
PID=`pidof -s /bin/sh /Users/chris/bin/time_machine.sh` | |
# No more changes. | |