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
| import request from 'superagent'; | |
| /* | |
| * given files is an array of File Objects: | |
| * | |
| * sendAsHtmlForm("/api/posts", | |
| * "post", {title: "a title", body. "a body"}, files) | |
| * | |
| */ | |
| function sendAsHtmlForm(url, method, json, files) { |
| require "spec" | |
| macro on_all_child_classes(&block) | |
| macro injection | |
| {{block && block.body}} | |
| end | |
| macro inject | |
| injection | |
| macro inherited | |
| injection |
| # coding: utf-8 | |
| require "git"; | |
| # open repo | |
| repo = Git::Repo.open "./" | |
| # get tree | |
| tree = repo.head.to_commit.to_tree | |
| paths = [] of String |
| proxy_request = ->(env : HTTP::Server::Context) do | |
| req = env.request | |
| req.path = "some_prefix" + req.path | |
| req.headers.delete("Accept-Encoding") | |
| req.headers.delete("X-Auth-Token") | |
| response = HTTP::Client.new( | |
| "new_host", 443, true |
| ;; | |
| ;; jump to thing on M-. | |
| ;; | |
| (defun mu4e-jump-to-thing (u) | |
| "jump to thing under point (should work with addresses, dates, tags)" | |
| (interactive "P") | |
| (let* | |
| ( | |
| (type (string-remove-suffix ":" (first (split-string (thing-at-point 'line))))) | |
| ( |
| Operation | Webdav | REST |
|---|