sed -n 's#ssh-rsa.*OLD_KEY_ID#NEW_KEY# p' .ssh/authorized_keys
sed -n '#ssh-rsa.*KEY_ID# p' .ssh/authorized_keys
#!/bin/bash | |
export ACCOUNT_ROOT="account root" | |
export WEB_ROOT="${ACCOUNT_ROOT}/web/content" | |
export DB_HOST="db host" | |
export DB_USER="db user" | |
export DB_PASSWORD="db password" | |
export DB_NAME="db name" | |
echo "Rotating backups..." |
## Prepare ################################################################### | |
# Remove RVM | |
rvm implode | |
# Ensure your homebrew is working properly and up to date | |
brew doctor | |
brew update | |
## Install ################################################################### |
set :application, "multio" | |
set :scm, :git | |
set :repository, "[email protected]:cearls/multio.git" | |
set :domain, "web310.webfaction.com" | |
set :user, "cearls" | |
set :scm_username, "cearls" | |
set :use_sudo, false | |
default_run_options[:pty] = true | |
set :ssh_options, {:forward_agent => true} |
ps -u $USER -o rss,command | grep -v peruser | awk '{sum+=$1} END {print sum/1024}' |
load 'deploy' | |
set :application, "ashcraft" | |
set :domain, "XXX.XX.XX.XXX" | |
set :deploy_to, "/home/admin/public_html/ashcraft/www" | |
set :scm, :git | |
set :repository, "[email protected]:flex360/ashcraft.git" | |
set :branch, "master" |
[ | |
{ | |
"class": "title_bar", | |
"bg": "#2e3440", | |
"fg": "#cbccc6" | |
}, | |
{ | |
"class": "title_bar", | |
"settings": [ | |
"ui_native_titlebar" |