-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.rb
More file actions
37 lines (33 loc) · 790 Bytes
/
config.rb
File metadata and controls
37 lines (33 loc) · 790 Bytes
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
TRIGGERS = {
"GMail" => {
"accounts" => [
{"username" => "enter your gmail",
"password" => "enter your gmail password",
},
],
"keep" => ["[Reminder]", "[important]"],
"ignore" => ["spam"],
"limit" => 2, # max number of emails pushed at once per gmail account
"period" => 5 # polling period in minutes
},
"Web" => {
"period" => 5,
"sites" => [
{
# "url" => "https://www.google.com",
# "alert_any_not_exist" => ['google'],
},
],
}
}
SLEEP = [2330, 900]
RECEIVERS = [
# "enter your iphone number", # iPhone phone number here
]
GTALK_SENDER = {
"username"=>"enter your secondary gmail",
"password" => "enter your secondary gmail password",
}
GTALK_RECEIVERS = [
"enter your primary gmail",
]