Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A look at where Birthday wishes come from

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.textile
Octocat-spinner-32 marks_birthday.rb
Octocat-spinner-32 wish.rb
Octocat-spinner-32 wishes.txt
README.textile

Birthday Wishes!

An idea to look at where birthday wishes come from. Yes, I wrote this on my Birthday.

Usage

Create your own “wishes.txt” file.
Create your own “YOUR_NAME_birthday.rb” file based on the “marks_birthday.rb” template
run “ruby YOUR_NAME_birthday.rb”

Mark’s 29th Birthday Breakdown

I appreciate each and every one of these :)

Total Birthday Wishes: 38
================================

Breakdown by Medium
================================
live         |   7 |  18%
phone        |   1 |   2%
sms          |   3 |   7%
twitter      |   3 |   7%
facebook     |  22 |  57%
email        |   1 |   2%
github       |   1 |   2%

Breakdown by Relationship
================================
family       |  15 |  39%
friend       |  17 |  44%
professional |   6 |  15%

Todo

Use twitter api to pull in wishes
Use facebook api to pull in wishes

But honestly, if you have enough friends/family where you can’t enter these things manually and you HAVE to use the APIs…well then look at you…

Something went wrong with that request. Please try again.