Skip to content

Instantly share code, notes, and snippets.

@geedmo
geedmo / mbsync-notify.sh
Created November 19, 2023 04:31 — forked from jt0in3e/mbsync-notify.sh
Sync emails with mbsync and get notifications on new emails
#!/usr/bin/bash
#
# Script to notify user for new mails.
# Crontab ex:
# */3 * * * * $HOME/.local/scripts/mbsync-notify.sh [acc_name]
#
# do not duplicate
killall mbsync &>/dev/null
@geedmo
geedmo / coop.ledger
Created December 6, 2020 12:46 — forked from lackac/coop.ledger
C 1.0000d = 8h ; 8-hour work days
D £1,000.00 ; default currency and formatting
; First approach: automatically set value for work delivered by person at their
; current rate
; Issue: since time is seconds-based the day rate needs to be divided by 1 day
; to arrive at the 'second rate'. This somehow is rounded to two decimals which
; means that the below is incorrect when being used. It will result in a
; multiplier that's either `0.01` or `0.02`.
= /^Work:Client:Project:Alice/
Copyright (c) 2011 ZURB, http://www.zurb.com/