This is a list:
- Item 1
- Item 2
- Item 3
Or like this:
gem 'dotenv-rails' | |
group :development do | |
gem 'time_difference' | |
gem 'pry-rails' | |
gem 'better_errors' | |
gem 'binding_of_caller' | |
gem 'annotate' | |
gem 'bullet' | |
gem 'debugger' |
# Update Gemfile | |
gem "resque", "~> 2.0.0.pre.1", github: "KNEIP/resque" | |
bundle install | |
bundle update | |
resque work |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
https://github.com/rspec/rspec | |
http://www.codeschool.com/courses/testing-with-rspec | |
http://en.wikipedia.org/wiki/RSpec | |
http://rspec.info/ | |
https://relishapp.com/rspec/rspec-core/docs | |
http://betterspecs.org/ |
# User seed | |
u1 = User.create(name: "Taylor Hollis", profile_image_url: 'http://images.wikia.com/warhammer40kfanon/images/0/05/Jackie-chan-meme.jpg') | |
u2 = User.create(name: "Randy Lacey", profile_image_url: 'http://www.webmasternerd.com/wp-content/uploads/2013/08/2.jpg') | |
u3 = User.create(name: "Cary Ocean", profile_image_url: 'http://weknowmemes.com/wp-content/uploads/2011/10/great-scott-doc-back-to-the-future-drawing.jpg') | |
u4 = User.create(name: "Sam Skyler", profile_image_url: 'http://wallgood.com/wp-content/uploads/2013/07/Forever-Alone-Meme-Template.jpg') | |
u5 = User.create(name: "Sal Rowan", profile_image_url: 'http://3.bp.blogspot.com/-3LSV-ioauvU/UPnPspEglDI/AAAAAAAAAJY/cuIC5kBIJA8/s200/meme-faces_00040376.jpg') | |
# Item seed | |
i1 = Product.create( name: "The Mountain Three Wolf Moon Short Sleeve Tee", | |
description: "Hand dyed shirt featuring a stunning screen print of 3 wolves howling at a moon on a preshrunk, 100% cotton tee dyed and printed by the mountain.") |
# config/unicorn.rb | |
worker_processes 3 | |
timeout 30 | |
preload_app true | |
before_fork do |server, worker| | |
Signal.trap 'TERM' do | |
puts 'Unicorn master intercepting TERM and sending myself QUIT instead' | |
Process.kill 'QUIT', Process.pid |