| Status Code | Status Message | Symbol |
|---|---|---|
| 100 | Continue | :continue |
| 101 | Switching Protocols | :switching_protocols |
| 102 | Processing | :processing |
| Status Code | Status Message | Symbol |
|---|
| sudo apt-get update | |
| sudo apt-get install -y libevent-dev libncurses-dev make | |
| wget https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz | |
| tar xvzf tmux-2.2.tar.gz | |
| cd tmux-2.2/ | |
| ./configure && make | |
| sudo make install |
| *.aux | |
| *.glo | |
| *.idx | |
| *.log | |
| *.toc | |
| *.ist | |
| *.acn | |
| *.acr | |
| *.alg | |
| *.bbl |
| unless Rails.env.production? | |
| connection = ActiveRecord::Base.connection | |
| connection.tables.each do |table| | |
| connection.execute("TRUNCATE #{table}") unless table == "schema_migrations" | |
| end | |
| sql = File.read('db/import.sql') | |
| statements = sql.split(/;$/) | |
| statements.pop |
As configured in my dotfiles.
start new:
tmux
start new with session name: