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
| # The following ignores... | |
| # Miscellaneous Hudson litter | |
| *.log | |
| *.tmp | |
| *.old | |
| *.bak | |
| *.jar | |
| *.json | |
| # Generated Hudson state |
| upstream uwsgi { | |
| ip_hash; | |
| server 127.0.0.1:40000; | |
| } | |
| server { | |
| listen 80; | |
| server_name www.domain.com; | |
| root /sites/mysite/; | |
| access_log /sites/mysite/log/nginx/access.log; |
| LINK_DETECTION_REGEX = /(([a-z]+:\/\/)?(([a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|local|internal))(:[0-9]{1,5})?(\/[a-z0-9_\-\.~]+)*(\/([a-z0-9_\-\.]*)(\?[a-z0-9+_\-\.%=&]*)?)?(#[a-zA-Z0-9!$&'()*+.=-_~:@/?]*)?)(\s+|$)/gi | |
| EMOJI_DIRECTORY = "/path/to/assets/emoji/20x20" | |
| # Handlebars is presumed, but you could swap out | |
| ESCAPE_EXPRESSION_FUNCTION = Handlebars.Utils.escapeExpression | |
| MARKSAFE_FUNCTION = (str) -> new Handlebars.SafeString(str) | |
| # Emoji unicode chars become images. |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.ComponentModel.Composition; | |
| using System.Deployment.Application; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Reactive.Linq; | |
| using System.Timers; | |
| using System.Windows; |
| (println (clojure.string/join "\n" (seq (.getURLs (java.lang.ClassLoader/getSystemClassLoader))))) |
| from cProfile import Profile | |
| from django.core.management.base import BaseCommand | |
| class ProfileEnabledBaseCommand(BaseCommand): | |
| """Enable profiling a command with --profile. | |
| Requires child class to define _handle instead of handle. | |
| via https://gist.github.com/dfrankow | |
| """ |
| LOGGING = { | |
| 'version': 1, | |
| 'disable_existing_loggers': False, | |
| 'filters': { | |
| 'require_debug_false': { | |
| '()': 'django.utils.log.RequireDebugFalse' | |
| } | |
| }, | |
| 'formatters':{ | |
| 'simple': { |
| <!doctype html> | |
| <html ng-app="Demo" ng-controller="DemoController"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Rendering DOM Elements With ngRepeat In AngularJS</title> | |
| </head> | |
| <body> | |
| <h1> |