There're a lot of combinations to manage your email with emacs, but this works for me. I've a backup and I can manage my daily email.
The stack:
- emacs
- offlineimap
- mu
- mu4e
(add-hook 'hack-local-variables-hook 'run-local-vars-mode-hook) | |
(defun run-local-vars-mode-hook () | |
"Run a hook for the major-mode after the local variables have been processed." | |
(run-hooks (intern (concat (symbol-name major-mode) "-local-vars-hook")))) | |
(defun detect_buffer_venv (buffer-name) | |
(let ((buffer-dir (file-name-directory buffer-name))) |
############################################################################## | |
# | |
# General Settings | |
# | |
############################################################################## | |
OFFLINE=True | |
TRACK_DEPENDS=False | |
DATABASE_PASSWORD=admin | |
RABBIT_PASSWORD=admin |
TL;DR
Create a backup:
pg_dumpall > mybackup.sql
Perform the upgrade:
sudo pg_dropcluster 9.4 main --stop
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE DeriveGeneric #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE PolyKinds #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeOperators #-} | |
import Control.Applicative | |
import Control.Monad.IO.Class | |
import Data.Aeson |