Skip to content

Instantly share code, notes, and snippets.

View dpaola2's full-sized avatar

Dave Paola dpaola2

View GitHub Profile
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
/Users/dpaola2/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
Gem files will remain installed in /Users/dpaola2/.rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.7.2 for inspection.
Results logged to /Users/dpaola2/.rvm/gems/ruby-1.9.2-p290/gems/capybara-webkit-0.7.2/./gem_make.out
course-name: How to build a URL shortener
other-metadata: foobar
author: dave paola
chapters:
chapter:
name: chapter 1
markdown: chapters/chapter1.md
command: rspec whatever.rspec
chapter:
name: chapter 2
~ $ cat config/
database.yml .env
~ $ cat config/database.yml
<%
require 'cgi'
require 'uri'
begin
uri = URI.parse(ENV["DATABASE_URL"])
# common()
rake db:migrate
# production
maintenance mode on
git push heroku master
common()
maintenance mode off

I think these are the things we should be thinking and talking about post-LAUNCH:

  1. Revenue and pricing model -- free users behave very differently than paying users, and we need to ensure we're keeping both types in mind. We need to be very careful that we aren't optim
    izing around our free users.
  2. Customer acquisition -- collecting data about 60 uniques per day is not enough. We need 6000, or 60,000. Not unrealistic. Codecademy has millions of users -- we need to kick their ass.
    Making product decisions around a small number of free
(global-hl-line-mode 1)
(set-face-background 'hl-line "#262626")
(defun awesome-color-theme ()
(interactive)
(color-theme-install
'(awesome-color-theme
((background-color . "#000000")
(background-mode . light)
(border-color . "#1a1a1a")
** script/start **
bundle exec rackup -p 3000 -s thin
** Makefile **
local:
BLOC_BASE_URI=http://localhost:5000 script/start
staging:
echome:
echo $(CSS_BUILD)
gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.8/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 --with-iconv-include=/usr/local/Cellar/libiconv/1.13.1/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.13.1/lib
it "should have status 'true'" do
click_button :submit
Task.status.should_be(true)
end