- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| ; Sample supervisor config file. | |
| [unix_http_server] | |
| file=/tmp/supervisor.sock ; (the path to the socket file) | |
| ;chmod=0700 ; sockef file mode (default 0700) | |
| ;chown=nobody:nogroup ; socket file uid:gid owner | |
| ;username=user ; (default is no username (open server)) | |
| ;password=123 ; (default is no password (open server)) | |
| ;[inet_http_server] ; inet (TCP) server disabled by default |
| /* | |
| Overview | |
| -------- | |
| To run a query using anorm you need to do three things: | |
| 1. Connect to the database (with or without a transaction) | |
| 2. Create an instance of `anorm.SqlQuery` using the `SQL` string interpolator | |
| 3. Call one of the methods on `SqlQuery` to actually run the query |