Created
June 28, 2011 19:47
-
-
Save panozzaj/1052017 to your computer and use it in GitHub Desktop.
@baird_rt asked me what else I could be except for 'Definitely Alive!'
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
- if @last_tweet_time.nil? || @last_checkin_time.nil? | |
.header.hmm | |
Had problems querying services. Try again later. | |
- else | |
- last_action = @last_tweet_time > @last_checkin_time ? @last_tweet_time : @last_checkin_time | |
- if last_action > 2.hours.ago | |
.header.alive | |
Anthony is definitely alive! | |
- elsif last_action > 6.hours.ago | |
.header.alive | |
Anthony is almost certainly alive. | |
- elsif last_action > 1.day.ago | |
.header.alive | |
Anthony is more than likely alive. | |
- elsif last_action > 2.days.ago | |
.header.probably_alive | |
Anthony is probably alive. | |
- elsif last_action > 7.days.ago | |
.header.questionable | |
Anthony is of questionable nature. Check his latest statuses to see if he went hiking or something... | |
- else | |
.header.problematic | |
Well, I hoped it would never get like this... |
shipstar
commented
Jun 29, 2011
via email
I may be Jill-less that weekend -- I think she might be headed down to Evansville -- so I'm guessing I'd be free, but probably wouldn't throw any parties involving all of our friends. I'll keep you posted, though.
We should sync up on the LSC stuff before you head out, and definitely keep me posted on your plans for when you get back. I'm still actively searching for my next thing, and I'd love to put some lean principles into action beyond a single day.
Kyle
…On Tuesday, June 28, 2011 at 9:09 PM, panozzaj wrote:
I considered something like that, but didn't feel like trying it out at the
time (wanted to ship.) Can take a look at that as a simplification the next
time I go into the code. Thanks! (I guess this is why open source works. :)
)
You having any parties or anything like that? I think the ultimate
tournament I was interested in going to on July 9-10 might be cancelled. At
the least, I might have a foosball night or something if it truly is
cancelled.
I'll be by Dev Town tomorrow around 5 to chat with Michael (will be by
earlier to grab some of my stuff from the area (including some hot items I
purchased from RS.))
Anthony
On Tue, Jun 28, 2011 at 17:45, shipstar <
***@***.*** ***@***.***)>wrote:
> L5: Would ***@***.***_tweet_time, @last_checkin_time].max work?
> ##
>
> Reply to this email directly or view it on GitHub:
> https://gist.github.com/1052017
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/1052017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment