Skip to content

Instantly share code, notes, and snippets.

@n0nick
n0nick / .vmail.sh
Created April 16, 2012 10:36 — forked from joefiorini/.vmail.sh
Shell function to support multiple accounts for vmail (http://danielchoi.com/software/vmail.html) using one command.
mail() {
ACCT="$1"
shift
if [[ $ACCT = "p" ]]; then
sh -c cd ~/.vmail ; vmail -c ~/.vmailrc-p "$@"
elif [[ $ACCT = "w" ]]; then
sh -c cd ~/.vmail ; vmail -c ~/.vmailrc-w "$@"
else
echo "Please specify an account."
fi
<!DOCTYPE html>
<html>
<head>
<script>
L_PREFER_CANVAS = true;
</script>
<script src='http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js'></script>
<link href='http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.css' rel='stylesheet' />
<!--[if lte IE 8]>