Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save busterbenson/0c9028c0f017328154177a07d52cb211 to your computer and use it in GitHub Desktop.
Save busterbenson/0c9028c0f017328154177a07d52cb211 to your computer and use it in GitHub Desktop.
Life by weeks, specific dates and eras.
@specific_dates = {
# Life expectancy
'2052-08-05' => [{:class => 'death',
:tip => "Life expectancy expiration date."}],
# Family
'1978-10-29' => [{:class => 'family',
:tip => "My sister was born."}],
'1993-10-30' => [{:class => 'family',
:tip => "My father passed away."}],
'2006-12-31' => [{:class => 'family',
:tip => "I met Kellianne."}],
'2007-03-04' => [{:class => 'family',
:tip => "First kiss with Kellianne."}],
'2008-10-04' => [{:class => 'family',
:tip => "I married Kellianne."}],
'2010-05-10' => [{:class => 'family',
:tip => "Niko is born."}],
'2014-05-09' => [{:class => 'family',
:tip => "I met Rodney, my half brother, for the first time."}],
'2016-08-06' => [{:class => 'family',
:tip => "Louie is born."}],
# School
'1982-08-25' => [{:class => 'school',
:tip => "I started elementary at Glenmeade in Chino Hills."}],
'1984-09-02' => [{:class => 'school',
:tip => "I transfered to Stonecreak Elementary in Irvine."}],
'1988-09-10' => [{:class => 'school',
:tip => "I started junior high at Lakeside Middle."}],
'1990-09-02' => [{:class => 'school',
:tip => "I started high school at Woodbridge."}],
'1994-05-15' => [{:class => 'school',
:tip => "I graduated from Woodbridge High School."}],
'1994-08-19' => [{:class => 'school',
:tip => "First day of college at UC Berkeley."}],
'1995-09-25' => [{:class => 'school',
:tip => "First day at University of Washington after transfer."}],
'1998-06-13' => [{:class => 'school',
:tip => "I graduated from UW with a degree in creative writing."}],
# World
'2000-01-01' => [{:class => 'world',
:tip => "Y2K happened."}],
'2001-09-11' => [{:class => 'world',
:tip => "9/11 happened."}],
'2007-06-29' => [{:class => 'world',
:tip => "First iPhone released."}],
'2008-11-04' => [{:class => 'world',
:tip => "Obama wins election."}],
'2008-09-15' => [{:class => 'world',
:tip => "Financial crisis caused by subprime meltdown."}],
'2016-11-08' => [{:class => 'world',
:tip => "Trump wins election."}],
# General
'1994-08-07' => [{:class => 'general',
:tip => "I moved to Berkeley, California."}],
'1995-08-01' => [{:class => 'general',
:tip => "I moved to Seattle, Washington."}],
'2004-11-01' => [{:class => 'general',
:tip => "Bought my Belltown condo."}],
'2013-01-04' => [{:class => 'general',
:tip => "Kellianne, Niko, and I moved to Berkeley, California."}],
'2013-12-23' => [{:class => 'general',
:tip => "Sold our Belltown condo in Seattle."}],
'2014-09-09' => [{:class => 'general',
:tip => "Bought our Berkeley house"}],
# Career
'1998-11-02' => [{:class => 'career',
:tip => "My first day at Amazon, doing night shift customer service."}],
'2000-05-23' => [{:class => 'career',
:tip => "Transferred to a web developer position on Amazon's personalization team."}],
'2003-08-05' => [{:class => 'career',
:tip => "I self-published my novel, Man Versus Himself."}],
'2004-09-01' => [{:class => 'career',
:tip => "The Robot Co-op is founded."}],
'2005-01-01' => [{:class => 'career',
:tip => "43things.com launches."}],
'2006-12-31' => [{:class => 'career',
:tip => "McLeod Residence's New Year's Eve opening party."}],
'2008-10-31' => [{:class => 'career',
:tip => "McLeod Residence's last day in business."}],
'2009-03-17' => [{:class => 'career',
:tip => "Locavore, an iPhone app, launches."}],
'2009-12-16' => [{:class => 'career',
:tip => "750words.com launches."}],
'2010-09-01' => [{:class => 'career',
:tip => "healthmonth.com launches."}],
'2011-07-01' => [{:class => 'career',
:tip => "Habit Labs is founded."}],
'2012-03-13' => [{:class => 'career',
:tip => "Habit Labs launches Budge."}],
'2012-07-11' => [{:class => 'career',
:tip => "Habit Labs closes down."}],
'2012-09-21' => [{:class => 'career',
:tip => "My first day at Twitter."}],
'2015-06-03' => [{:class => 'career',
:tip => "My last day at Twitter."}],
'2015-06-08' => [{:class => 'career',
:tip => "My first day at Slack."}],
'2015-12-15' => [{:class => 'career',
:tip => "Slack Platform launches."}],
# Goals
'2076-05-28' => [{:class => 'goal',
:tip => "Goal: ride a bike on my 100th birthday."}],
# Neutral stuff
'2000-06-07' => [{:class => 'neutral',
:tip => "I married Kharis."}],
'2004-02-17' => [{:class => 'neutral',
:tip => "I divorced Kharis."}],
'1999-10-03' => [{:class => 'neutral',
:tip => "First blog post that's saved somewhere."}],
}
@era_dates = [
{:start => '1976-05-28', :end => '1982-08-24',
:text => 'Brain forming, creating my fundamental model of the world in my head.'},
{:start => '1982-08-25', :end => '1983-08-25',
:text => 'First grade. Glenmeade Elementary in Chino.'},
{:start => '1983-08-25', :end => '1984-09-01',
:text => 'Second grade. Glenmeade Elementary in Chino.'},
{:start => '1984-09-02', :end => '1985-09-01',
:text => 'Third grade. Stonecreek Elementary in Woodbridge.'},
{:start => '1985-09-02', :end => '1986-09-01',
:text => 'Fourth grade. Stonecreek Elementary in Woodbridge.'},
{:start => '1986-09-02', :end => '1987-09-01',
:text => 'Fifth grade. Stonecreek Elementary in Woodbridge.'},
{:start => '1987-09-02', :end => '1988-09-09',
:text => 'Sixth grade. Stonecreek Elementary in Woodbridge.'},
{:start => '1988-09-10', :end => '1989-09-09',
:text => 'Seventh grade. Lakeside Middle School.'},
{:start => '1989-09-10', :end => '1990-09-01',
:text => 'Eigth grade. Lakeside Middle School.'},
{:start => '1990-09-02', :end => '1991-09-01',
:text => 'Ninth grade. Woodbridge High School.'},
{:start => '1991-09-02', :end => '1992-09-01',
:text => 'Tenth grade. Woodbridge High School.'},
{:start => '1992-09-02', :end => '1993-09-01',
:text => 'Eleventh grade. Woodbridge High School.'},
{:start => '1993-09-02', :end => '1994-05-15',
:text => 'Twelfth grade. Woodbridge High School.'},
{:start => '1994-08-19', :end => '1995-07-31',
:text => 'First year of college. UC Berkeley.'},
{:start => '1995-08-19', :end => '1996-08-18',
:text => 'Second year of college. University of Washington.'},
{:start => '1996-08-19', :end => '1997-08-18',
:text => 'Third year of college. University of Washington.'},
{:start => '1997-08-19', :end => '1998-06-13',
:text => 'Second year of college. University of Washington.'},
{:start => '1998-06-14', :end => '1998-11-01',
:text => 'Spend some time in Japan after graduating from college and before starting work.'},
{:start => '1998-11-02', :end => '2004-08-30',
:text => 'Working at Amazon.com.'},
{:start => '2004-09-01', :end => '2009-05-28',
:text => 'Working at the Robot Co-op.'},
{:start => '2009-05-29', :end => '2011-06-30',
:text => 'Working as an independant app developer.'},
{:start => '2011-07-01', :end => '2012-09-21',
:text => 'Working at Habit Labs.'},
{:start => '2012-07-01', :end => '2015-06-03',
:text => 'Working at Twitter.'},
{:start => '2015-06-08', :end => Date.today.to_s,
:text => 'Working at Slack.'},
{:start => '2000-06-07', :end => '2004-02-17',
:text => 'Married to Kharis.'},
{:start => '2008-10-04', :end => '2009-10-03',
:text => 'Married to Kellianne.'},
{:start => '2009-10-04', :end => '2010-10-03',
:text => 'Married to Kellianne one year.'},
{:start => '2010-10-04', :end => '2011-10-03',
:text => 'Married to Kellianne two years.'},
{:start => '2011-10-04', :end => '2012-10-03',
:text => 'Married to Kellianne three years.'},
{:start => '2012-10-04', :end => '2013-10-03',
:text => 'Married to Kellianne four years.'},
{:start => '2013-10-04', :end => '2014-10-03',
:text => 'Married to Kellianne five years.'},
{:start => '2014-10-04', :end => '2015-10-03',
:text => 'Married to Kellianne six years.'},
{:start => '2015-10-04', :end => '2016-10-03',
:text => 'Married to Kellianne seven years.'},
{:start => '2016-10-04', :end => '2017-10-03',
:text => 'Married to Kellianne eight years.'},
{:start => '2017-10-04', :end => '2018-10-03',
:text => 'Married to Kellianne nine years.'},
{:start => '2018-10-04', :end => '2019-10-03',
:text => 'Married to Kellianne ten years!'},
{:start => '2010-05-15', :end => '2011-05-14',
:text => 'Niko is zero years old.'},
{:start => '2011-05-15', :end => '2012-05-14',
:text => 'Niko is one year old.'},
{:start => '2012-05-15', :end => '2013-05-14',
:text => 'Niko is two years old.'},
{:start => '2013-05-15', :end => '2014-05-14',
:text => 'Niko is three years old.'},
{:start => '2014-05-15', :end => '2015-05-14',
:text => 'Niko is four years old.'},
{:start => '2015-05-15', :end => '2016-05-14',
:text => 'Niko is five years old.'},
{:start => '2016-05-15', :end => '2017-05-14',
:text => 'Niko is six years old.'},
{:start => '2017-05-15', :end => '2018-05-14',
:text => 'Niko is seven years old.'},
{:start => '2018-05-15', :end => '2019-05-14',
:text => 'Niko is eight years old.'},
{:start => '2016-08-06', :end => '2017-08-05',
:text => 'Louie is zero years old.'},
{:start => '2017-08-06', :end => '2018-08-05',
:text => 'Louie is one year old.'},
{:start => '2018-08-06', :end => '2019-08-05',
:text => 'Louie is two years old.'},
{:start => '1995-08-01', :end => '2013-01-01',
:text => 'Living in Seattle.'},
{:start => '2013-01-01', :end => Date.today.to_s,
:text => 'Living in Berkeley.'},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment