Skip to content

Instantly share code, notes, and snippets.

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
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
#!/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.