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
#IN THE .zshrc DOTFILE, ADD THE FOLLOWING CODE | |
#git branch stuff | |
function parse_git_branch() { | |
git branch 2> /dev/null | sed -n -e 's/^\* \(.*\)/(\1)/p' | |
} | |
setopt PROMPT_SUBST | |
export PROMPT='${PWD} $(parse_git_branch) $ ' |
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
Rails.application.configure do | |
# Settings specified here will take precedence over those in config/application.rb. | |
# Code is not reloaded between requests. | |
config.cache_classes = true | |
# Eager load code on boot. This eager loads most of Rails and | |
# your application in memory, allowing both threaded web servers | |
# and those relying on copy on write to perform better. | |
# Rake tasks automatically ignore this option for performance. |
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
development: | |
adapter: redis | |
url: redis://localhost:6379/1 | |
test: | |
adapter: async | |
staging: | |
adapter: redis | |
url: <%= "redis://#{ENV['REDIS_ADDRESS']}:6379/1"%> |
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
user nginx; | |
worker_processes {{ workers }}; | |
error_log {{ deploy_to }}/shared/log/nginx_error.log; | |
{% if dynamic_modules == true %} | |
include modules-enabled/*.conf; | |
{% endif %} | |
events { | |
worker_connections 1024; | |
{% if passenger != true %} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.