$ uname -r
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Contact Request | |
| =============== | |
| Here's what they had to say: | |
| Name: <%= @contact[:first_name] %> <%= @contact[:last_name]%> | |
| Company: <%= @contact[:company] %> | |
| Email: <%= @contact[:email] %> | |
| Phone: <%= @contact[:phone] %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="row"> | |
| <%= form_tag("/contact", method: "post") do %> | |
| <label class="control-label">First Name</label> | |
| <input type="text" name="contact[first_name]" /> | |
| <label class="control-label">Last Name</label> | |
| <input type="text" name="contact[last_name]" /> | |
| <label class="control-label">Company Name</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Hookable | |
| extend ActiveSupport::Concern | |
| def perform_post | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| description "Unicorn" | |
| # starting unicorn with bundler, and a user contained rvm: | |
| start on filesystem or runlevel [2345] | |
| stop on runlevel [!2345] | |
| chdir /path/to/current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # 1) Install HomeBrew | |
| # 2) brew install openssl [email protected] rbenv | |
| # 3) Setup rbenv | |
| CC=gcc-4.9 \ | |
| CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls -I$(brew --prefix openssl)/include" \ | |
| LDFLAGS="-L$(brew --prefix openssl)/lib" \ | |
| rbenv install 1.8.7-p375 |
OlderNewer