dot

packages and services management
Log | Files | Refs | README

commit fde8605215418a03b52b134ace295439f8c06d3b
parent 9790c7136cca5666f29550155fc39dd08ea9b185
Author: josuah <mail@josuah.net>
Date:   Sun, 19 Feb 2017 13:30:17 +0100

Updated scripts

Diffstat:
Mbin/ii-server | 1+
Abin/mfilter | 98+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 99 insertions(+), 0 deletions(-)

diff --git a/bin/ii-server b/bin/ii-server @@ -9,6 +9,7 @@ ii -n josuah -k IIPASS -s irc.freenode.net & tee -a ~/irc/irc.freenode.net/in << EOF /privmsg nickserv IDENTIFY IIPASS /j ##networking +/j ##c /j #2f30 /j #cat-v /j #breizh-entropy diff --git a/bin/mfilter b/bin/mfilter @@ -0,0 +1,98 @@ +#!/bin/sh + + +filter() +{ + mlist "$MAIL" | magrep "$1" | while IFS='' read -r mail + do + mkdir -p "${MAIL%/*}/$2/{cur,new,tmp}" + mv "$mail" "${MAIL%/*}/$2/cur" + done +} + + +main() +{ + minc "$MAIL" + + + # Social networking + + filter from:'lobste.rs' lobsters + + filter from:'reddit' reddit + + filter from:'disqus' disqus + + filter from:'nixers.net' nixers + + filter from:'researchgate' researchgate + + + # Mailing lists + + filter from:'sachachua.com' sachachua + + filter cc:'mmh@marmaro.de' mmh + filter to:'mmh@marmaro.de' mmh + + filter subject:'\[gobolinux-' gobolinux + + filter from:'suckless.org' suckless + filter to:'suckless.org' suckless + filter cc:'suckless.org' suckless + + filter from:'fsf.org' fsf + + filter to:'listes.etudiant.univ-rennes1.fr' univ-rennes1 + filter List-Id:'foad.univ-rennes1.fr' univ-rennes1 + filter Received:'vmsympa1.univ-rennes1.fr' univ-rennes1 + filter Return-Path:'listes.univ-rennes1.fr' univ-rennes1 + + filter from:'amnesty' amnesty + + filter List-Id:'breizh-entropy.org' breizh-entropy + + + # Services + + filter subject:'\[repo.or.cz\]' repo.or.cz + + filter from:'github.com' github + + filter from:'stackexchange.com' stackexchange + + filter from:'bandcamp.com' bandcamp + filter from:'Cryo Chamber' bandcamp + + filter from:'keybase.io' keybase + filter :rom 'wordpress.com' wordpress + + filter from:'google.com' google + + + # Payments + + filter from:'@free-mobile.fr' utilities + + filter from:'@paypal' payment + filter from:'coinbase.com' payment + + filter from:'gandi.net' webservices + + filter from:'@amazon' webstores + + filter from:'crous-rennes.fr' housing + + filter from:'sncf.com' transports + filter from:'captaintrain.com' transports + filter from:'flixbus' transports + filter from:'megabus' transports + filter from:'ouigo' transports + filter from:'ouibus' transports + filter from:'keolis.com' transports + filter from:'BlaBlaCar' transports +} + + +main '$@'