start new:
tmux
start new with session name:
tmux new -s myname
| # Inspirations: | |
| # http://mutelight.org/practical-tmux | |
| # http://zanshin.net/2013/09/05/my-tmux-configuration/ | |
| # http://files.floriancrouzat.net/dotfiles/.tmux.conf | |
| # http://stackoverflow.com/questions/9628435/tmux-status-bar-configuration | |
| # https://github.com/Lokaltog/powerline | |
| # https://github.com/remiprev/teamocil | |
| # http://superuser.com/questions/74492/whats-the-best-prefix-escape-sequence-for-screen-or-tmux | |
| # http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/ | |
| # |
| { | |
| "states": [ | |
| { | |
| "uf": "AC", | |
| "name": "Acre", | |
| "cities": [ | |
| "Acrelândia", | |
| "Assis Brasil", | |
| "Brasiléia", | |
| "Bujari", |
| # Exclude the files ajax, upload and WP CRON scripts from authentication | |
| <FilesMatch "(admin-ajax\.php|media-upload\.php|async-upload\.php|wp-cron\.php|xmlrpc\.php)$"> | |
| Order allow,deny | |
| Allow from all | |
| Satisfy any | |
| </FilesMatch> |
| <!DOCTYPE html> | |
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cidade por Estado</title> | |
| </head> | |
| <body> | |
| <select name="estados" id="estados"></select> |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.
NOTE: This logic can be extended to more than two accounts also. :)
The setup can be done in 5 easy steps: