Posted to the git mailing list:
# Given a controller in need of refactoring into multiple controllers, how | |
# can I redirect to new controller actions based upon a feature flag? | |
# | |
# The current code "works" but doesn't exercise the controller action. | |
# | |
# Rails 2.3 or 3.0 methods accepted | |
class BetterController | |
def overview | |
# .. a small amount of auth/permissions code |
Question for you: how much fun can a company have and still get things done?
At Box, culture is a priority second to none. Entering our HQ, you’ll probably see someone spiral down the yellow slide and roll away on a tricked-out scooter. If it’s a Thursday, you might catch Beer Club run by Tim, QE manager and brew connoisseur; the Indoor Soccer Club preparing for battle; and SWAT Club, a casual hack night for all those exciting ideas you’re toying with but haven’t gotten around to. Better yet, stop by during a company-wide hackathon for 24 hours of unadulterated creativity (mischief and shenanigans go without saying...). And don’t forget to give a high-five to our new VP of Engineering coming from Google, Sam Schillace!
<%= kss_block '11.1' do %> | |
<div style="background:#4183c4;" class="styleguide-color">$brand-linkBlue</div> | |
<div style="background:#999;" class="styleguide-color">$brand-lightGrey</div> | |
<div style="background:#666;" class="styleguide-color">$brand-medGrey</div> | |
<div style="background:#333;" class="styleguide-color">$brand-darkGrey</div> | |
<div style="background:#6CC644;" class="styleguide-color">$brand-green</div> | |
<div style="background:#BD2C00;" class="styleguide-color">$brand-red</div> | |
<div style="background:#f93;" class="styleguide-color">$brand-orange</div> | |
<% end %> |
(This is the text of the keynote I gave at Startup Riot 2009. Will update when video becomes available.)
Hi everyone, I'm Chris Wanstrath, and I'm one of the co-founders of GitHub.
GitHub, if you haven't heard of it, has been described as "Facebook for developers." Which is great when talking about GitHub as a website, but not so great when describing GitHub as a business. In fact, I think we're the polar opposite of Facebook as a business: we're small, never took investment, and actually make money. Some have even called us successful.
Which I've always wondered about. Success is very vague, right? Probably even relative. How do you define it?
After thinking for a while I came up with two criteria. The first is profitability. We employ four people full time, one person part time, have thousands of paying customers, and are still growing. In fact, our rate of growth is increasing - which means January was our best month so far, and February is looking pretty damn good.
###25 Lusk
- This fine gem is perfect or two, or a large group. Great for familiy-style ordering, or just an appetizer, entrée and dessert.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