aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2fff0d43c3d849ca4ea7dfaa4a596e60a1eedd4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Event
=====

Notify by email if there are any event today or next week. This program has to
be launched everyday, with cron for example.

Required dependencies
---------------------

- `cabal2nix`
- `nix-shell`
- `cabal-install`

Usage
-----

```
cabal2nix --shell . > shell.nix
nix-shell -I ~ --command 'cabal configure'
cabal run
```

Events
------

```
[January]

30, 1955: Henry Brown

[May]

# Comment
08, 1980: Alexander Khan
16, 2003: Wedding

[August]

02, 1976: Violet Koval
02, 1976: Jude Martinez

[October]

23, 1982: Katie Clarke
```


Mail Notification example
-------------------------

### Subject

“Hey, there are 3 events today and there will be 2 events next week!”

### Body

“Today, Katie Clarke is 19 years old, Henry Brown is 34 years old and Alexander
Khan is 22 years old. Next week, Violet Koval will be 65 years old on thirsday
and Jude Martinez will be 12 years old on friday.”