Some javascript magic to make this nifty little parallax hero.
A Pen by Dominic Magnifico on CodePen.
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> |
curl -L github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh |
# Application Settings | |
set :application, "your_application_name" | |
set :user, "deploy" | |
set :deploy_to, "/home/#{user}/apps/#{application}" | |
set :rails_env, "test" | |
set :keep_releases, 5 | |
# Git Settings | |
set :scm, :git | |
set :branch, 'development' |
## Capistrano v3 | |
# /config/deploy.rb | |
set :application, '<site_name>' #example.com | |
set :use_sudo, false | |
set :build_dir, "build" | |
set :ssh_login, "<login_details>" #[email protected] | |
set :deploy_dir, "/var/www/#{fetch(:application)}" | |
namespace :middleman do |
set :repository, "[email protected]:repo/repo.git" | |
set :user, "deploy" | |
set :use_sudo, false | |
set :scm, :git | |
set :keep_releases, 5 | |
set :domain, "000.000.000.000" | |
set :application, "my_app" | |
set :rails_env, "production" | |
set :branch, "master" | |
set :deploy_to, "/var/www/#{application}" |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
class Account < ActiveRecord::Base | |
has_many :users | |
end |
Some javascript magic to make this nifty little parallax hero.
A Pen by Dominic Magnifico on CodePen.
# a simple/configurable rake task that generates some random fake data for the app (using faker) at various sizes | |
# NOTE: requires the faker or ffaker gem | |
# sudo gem install faker - http://faker.rubyforge.org | |
# OR | |
# sudo gem install ffaker - http://github.com/EmmanuelOga/ffaker | |
require 'faker' | |
class Fakeout |