Skip to content

Instantly share code, notes, and snippets.

Loaded suite test_chop
Started
.
Finished in 0.002076 seconds.
1 tests, 19 assertions, 0 failures, 0 errors
@itstommymorgan
itstommymorgan / Virtual Book Club
Created November 2, 2010 18:17
Some basic ideas for the "virtual book club" that was pitched earlier. All are open to discussion.
Name:
We may want to pick something just so that we have a unique identifier
we can use on the interwebs.
Focus:
We're mostly coders, so it makes sense that we'd have a focus on comp sci
and programming related books. I don't know that we necessarily need to
stay there, though. There are plenty of other books - fiction and non - that
the group as a whole might be interested in reading and discussing. To that
end, I don't think it's necessary to create an explicit scope.
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
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

Keybase proof

I hereby claim:

  • I am wellbredgrapefruit on github.
  • I am duwanis (https://keybase.io/duwanis) on keybase.
  • I have a public key whose fingerprint is AF72 03C8 BCD9 D42F 8444 A597 858F 6D93 980B FBC7

To claim this, I am signing this object:

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFb6zZ4Z6VJyCIZGEvnXC9bhLA8PgGRKqaAa5tD35LmC tmorgan@crystalknows.com
@itstommymorgan
itstommymorgan / my_macbook_install.sh
Last active August 26, 2022 15:38
Install script for my_macbook
#!/bin/bash
mkdir -p ~/projects/itstommymorgan
root_path=~/projects/itstommymorgan/my_mackbook
git clone git@github.com:itstommymorgan/my_macbook.git ${root_path}
pip3 install --upgrade pip
pip3 install ansible
# Set the path so that the ansible commands are accessible
python_dir=/Users/`whoami`/Library/Python
cd $python_dir