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
#!/bin/env python | |
""" | |
This is a test script to simulate a memcached instance on a server | |
that has gone south and is accepting connections, but generally not | |
responding. | |
The goal of this script is to help test/develop correct client | |
side settings for timeouts/failure scenarios |
package com.developerb.dropbot; | |
import com.developerb.dropbot.instrumentation.MethodInvocationTimingInterceptor; | |
import com.google.inject.AbstractModule; | |
import com.yammer.metrics.annotation.Timed; | |
import static com.google.inject.matcher.Matchers.annotatedWith; | |
import static com.google.inject.matcher.Matchers.any; | |
/** |
description "service" | |
start on filesystem | |
stop on runlevel S | |
respawn | |
respawn limit 10 5 | |
oom never | |
kill timeout 86400 #If it's given a stop order, this is how long it will take to stop. |
OSX Apps | |
- Total Spaces, for keeping X11 in different space and faster switching | |
- MenuAndDockless for hidding topbar menu | |
X11 - Macports | |
- sudo port install xorg-server | |
- sudo port install xinit | |
- sudo port install terminus-font dejavu-fonts bitstream-fonts | |
Suckless - suckless.org |
package org.yourcompany.test; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.SortedSet; | |
import javax.sql.DataSource; |
public class CurrentUserLoggingFilter implements Filter { | |
public static final String MDC_CURRENT_ACCOUNT_ID_KEY = "CurrentAccountId"; | |
@Context | |
HttpContext context; | |
@Override | |
public void init(FilterConfig filterConfig) throws ServletException { /* unused */ } |
public class MultiTenantDataSource implements ManagedDataSource { | |
private final ManagedDataSource managedDataSource; | |
private final SchemaResolver schemaResolver; | |
public MultiTenantDataSource( final ManagedDataSource managedDataSource, final SchemaResolver schemaResolver ) | |
{ | |
this.managedDataSource = managedDataSource; | |
this.schemaResolver = schemaResolver; | |
} |
#!/usr/bin/env boot | |
;; or `BOOT_FILE=ec2query.boot boot repl' for interactive use | |
(set-env! :dependencies '[[amazonica "0.3.23"] | |
[com.datomic/datomic-free "0.9.5344"]]) | |
(require '[amazonica.aws.ec2 :as ec2] | |
'[amazonica.core :refer [defcredential]] | |
'[boot.cli :refer [defclifn]] | |
'[boot.util :refer [info]] |