start new:
tmux
start new with session name:
tmux new -s myname
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Switch between background command line and MC: Ctrl + o | |
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
from django.core.files.uploadhandler import TemporaryFileUploadHandler | |
from django.core.files.base import File | |
from dropbox.client import DropboxClient | |
from dropbox.session import DropboxSession | |
from django.conf import settings | |
import os | |
class DropboxFileUploadHandler(TemporaryFileUploadHandler): | |
def __init__(self, *args, **kwargs): | |
super(DropboxFileUploadHandler, self).__init__(*args, **kwargs) |
As configured in my dotfiles.
start new:
tmux
start new with session name:
[supervisord] | |
nodaemon=true | |
[supervisorctl] | |
serverurl=unix://supervisor.sock | |
[unix_http_server] | |
file=supervisor.sock | |
[rpcinterface:supervisor] |