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
| copy = { File src,File dest-> | |
| def input = src.newDataInputStream() | |
| def output = dest.newDataOutputStream() | |
| output << input | |
| input.close() | |
| output.close() | |
| } |
| /** | |
| * config.h | |
| * ALT + F11 | F12 | |
| */ | |
| static const char *upvol[] = { "amixer", "set", "Master", "3+", NULL }; | |
| static const char *downvol[] = { "amixer", "set", "Master", "3-", NULL }; | |
| static const char *mutevol[] = { "amixer", "set", "Master", "toggle", NULL }; | |
| static Key keys[] = { |
| task(console, dependsOn: 'classes', type: JavaExec) { | |
| main = 'groovy.ui.Console' | |
| classpath = sourceSets.main.runtimeClasspath | |
| } |
NOTE: a more up-to-date version of this can be found on my blog
A few days ago, version 1.9 of the Nix package manager was released. From the release notes:
nix-shell can now be used as a #!-interpreter. This allows you to write scripts that dynamically fetch their own dependencies.