Skip to content

Instantly share code, notes, and snippets.

production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

Photohop Migration Plan

This plan is to perform the site migration from Photohop's current environment on Linode to the one on Engine Yard.

Task List

  1. Lower TTL for domain (Photohop)
  2. Put up maintentance page for existing site (Photohop)
  3. Take fresh database dump from live site (Photohop)
  4. Load DB dump into Engine Yard (EY)

Done

DONE:

  # NEW 20040713 /images and /banners are local
  # CHANGED 20060123 added feeds-local
  # CHANGED 20060216 added css & js
  # CHANGED 20080324 blog (new) is local
  # 20080701 For-pay demo is local

if ( $uri =~ m#^/(images|banners|feeds-local|css|js|blog|w3c)/# ) {

set -g prefix C-a # Make C-a the prefix instead of default
bind C-a send-prefix # Send to application
unbind C-b # Unbind C-b
set -sg escape-time 1 # Remove delay for keystrokes
setw -g mode-keys vi # Use vi mode
### Mouse mode ###
setw -g mode-mouse on # Toggle mouse mode globally
set -g mouse-select-pane on # Select pane using mouse
set -g prefix C-a # Make C-a the prefix instead of default
bind C-a send-prefix # Send to application
unbind C-b # Unbind C-b
set -sg escape-time 1 # Remove delay for keystrokes
setw -g mode-keys vi # Use vi mode
### Mouse mode ###
setw -g mode-mouse on # Toggle mouse mode globally
set -g mouse-select-pane on # Select pane using mouse
@emachnic
emachnic / fstab
Created August 26, 2013 13:01
Automatically mount Apple Extreme hard drive in Raspberry PI running XBian using fstab.
#/etc/fstab
//10.0.1.1/My\040Passport\040for\040Mac /media/Passport cifs rw,username=xbian,pass=********,sec=ntlm 0 0
@emachnic
emachnic / .vimrc
Last active December 15, 2015 21:09
"""""""""" General Settings """"""""""
set nocompatible " be iMproved
filetype off " required!
filetype plugin indent on " required!
set clipboard=unnamed
set shiftwidth=2
set tabstop=2
"""""""""" End General Settings """"""""""
"""""""""" Vundle """"""""""
Unfortunately, a fatal error has occurred. Please see the Bundler 
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

/Users/emachnic/.rvm/rubies/ruby-2.0.0-head/lib/ruby/2.0.0/net/http.rb:917:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
        from /Users/emachnic/.rvm/rubies/ruby-2.0.0-head/lib/ruby/2.0.0/net/http.rb:917:in `block in connect'
        from /Users/emachnic/.rvm/rubies/ruby-2.0.0-head/lib/ruby/2.0.0/timeout.rb:51:in `timeout'
        from /Users/emachnic/.rvm/rubies/ruby-2.0.0-head/lib/ruby/2.0.0/net/http.rb:917:in `connect'
        from /Users/emachnic/.rvm/rubies/ruby-2.0.0-head/lib/ruby/2.0.0/net/http.rb:861:in `do_start'
 from /Users/emachnic/.rvm/rubies/ruby-2.0.0-head/lib/ruby/2.0.0/net/http.rb:856:in `start'
# ~/.working_man.yml
#
# Default applications for startup and shutdown.
# Add/remove applications to customize
apps:
- 'Google Chrome'
- 'Propane'
- 'Skype'
- 'X-Lite'
- 'OmniFocus'