- Guess
- Empirical testing, not theory
- Lean canvas is good to snapshot and define
By the end of the program, I expect it to be a mess, full of scribbled out assumptions that were wrong. Be very willing to tweak it
<div class="container"> | |
<div class="row"> | |
<div class="col-lg-4"> | |
</div> | |
<div class="col-lg-4" align="center"> |
<div class="col-lg-4"> | |
<h2>Heading</h2> | |
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p> | |
<p><a class="btn btn-primary" href="#">View details »</a></p> | |
</div> |
<div class="container" style="padding-top:100px"> | |
</div> | |
<footer align="center"> | |
<p>© 2013 Company, Inc. · <a href="#">Privacy</a> · <a href="#">Terms</a></p> | |
</footer> |
<div class="jumbotron"> | |
<h1>Landing page</h1> | |
<p>This example is of a quick landing page where you can track views and conversions. Edit the content to make it your own.</p> | |
<p>Interested? Find out more!</p> | |
<p> | |
<a class="btn btn-lg btn-primary" href="../../components/#navbar">More info »</a> | |
</p> | |
</div> |
<div class="navbar navbar-inverse navbar-fixed-top"> | |
<div class="container"> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<a class="navbar-brand" href="#">Project name</a> | |
</div> |
± gem install eventmachine | |
Building native extensions. This could take a while... | |
ERROR: Error installing eventmachine: | |
ERROR: Failed to build gem native extension. | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb | |
checking for rb_trap_immediate in ruby.h,rubysig.h... yes | |
checking for rb_thread_blocking_region()... yes | |
checking for inotify_init() in sys/inotify.h... yes | |
checking for writev() in sys/uio.h... yes |
require 'sinatra' | |
require 'json' | |
require 'sinatra/cross_origin' | |
require 'rest-client' | |
require './sinatra/tinder_helpers' | |
class Tinder < Sinatra::Base | |
helpers Sinatra::TinderHelpers | |
before do |
<!doctype html> | |
<html> | |
<head> | |
<title>Tinder Data Mining</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> | |
<script src="js/tinder.js"></script> | |
</head> | |
<body> | |
<div id="fb-root"></div> | |
<script> |
Preloader for /srv/www/faxattach/current started on PID 4749, listening on unix:/tmp/passenger.1.0.926/generation-0/backends/preloader.4749 | |
TypeError - can't convert nil into String: | |
/srv/www/faxattach/shared/bundle/ruby/1.9.1/bundler/gems/docsplit-6cff4e717f89/lib/docsplit/transparent_pdfs.rb:11:in `extname' | |
/srv/www/faxattach/shared/bundle/ruby/1.9.1/bundler/gems/docsplit-6cff4e717f89/lib/docsplit/transparent_pdfs.rb:11:in `block in ensure_pdfs' | |
/srv/www/faxattach/shared/bundle/ruby/1.9.1/bundler/gems/docsplit-6cff4e717f89/lib/docsplit/transparent_pdfs.rb:10:in `map' | |
/srv/www/faxattach/shared/bundle/ruby/1.9.1/bundler/gems/docsplit-6cff4e717f89/lib/docsplit/transparent_pdfs.rb:10:in `ensure_pdfs' | |
/srv/www/faxattach/shared/bundle/ruby/1.9.1/bundler/gems/docsplit-6cff4e717f89/lib/docsplit.rb:44:in `extract_text' | |
/srv/www/faxattach/releases/20130719151647/sinatra/faxattach_helpers.rb:20:in `extractCode' | |
/srv/www/faxattach/releases/20130719151647/faxattach.rb:60:in `block in <class:FaxAttach>' |