SSH into Root
$ ssh [email protected]
Change Root Password
SSH into Root
$ ssh [email protected]
Change Root Password
| // | |
| // Top Bar Variables | |
| // | |
| $include-html-classes: true; | |
| $include-html-top-bar-classes: $include-html-classes; | |
| // Background color for the top bar | |
| $topbar-bg-color: $oil; | |
| $topbar-bg: $topbar-bg-color; |
| class MyImage extends React.Component { | |
| render () { | |
| return ( | |
| <img src="<%= asset_url('path/to/image.png') %>" /> | |
| ); | |
| } | |
| } |
| # 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 |
Some javascript magic to make this nifty little parallax hero.
A Pen by Dominic Magnifico on CodePen.
| class Account < ActiveRecord::Base | |
| has_many :users | |
| end |
| # 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 -> |
| 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}" |
| ## 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 |