Skip to content

Instantly share code, notes, and snippets.

View veganstraightedge's full-sized avatar
🐢
Computers were a mistake.

Shane Becker veganstraightedge

🐢
Computers were a mistake.
View GitHub Profile
@veganstraightedge
veganstraightedge / gist:1138430
Created August 10, 2011 22:18 — forked from evanphx/gist:1138429
Rubinius HTML Profile
$ rbx -Xprofile -Xprofiler.json=glob.json scratch/big_glob.rb
$ rbx render_profile glob.json glob.html
or
$ RBXOPT="-Xprofile -Xprofiler.json=glob.json" rails s
$ rbx render_profile glob.json glob.html
@brianmario
brianmario / config.ru.rb
Created April 21, 2011 06:11
minimal rails3 app
# minimal rails3 app
require 'action_controller'
Router = ActionDispatch::Routing::RouteSet.new
Router.draw do
root :to => 'site#index'
end
class SiteController < ActionController::Metal
defaults write com.macromates.textmate OakDefaultLanguage E00B62AC-6B1C-11D9-9B1F-000D93589AF6
bin_path "vendor/bundled/bin"
bundle_path "vendor/bundled"
disable_system_gems
gem "aasm", "= 2.1.1" # stateful models
gem "acts_as_reportable" # CSV downloads
gem "flacinfo-rb", "= 0.4.0" # read/write FLAC metadata
gem "haml" # ugh
gem "intercession", "= 2.0.0" # session as model
- simple
- public over private
- personal vanity
- internet is global
- permalinks
- one important item per page
- don't break the browser
- don't be busy with technology
- a medium is not a grande
- break convention for your users
@defunkt
defunkt / startupriot.markdown
Last active September 15, 2023 18:11
Startup Riot 2009 Keynote

(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.