This is a test Did it suceeded?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Deklarálok egy listát a hét napjaival, az első elem azért "noday" mert a lista első indexe 0, viszont a hét napjait 1-7ig számozza | |
declare -a week_days=(noday Hétfő Kedd Szerda Csütörtök Péntek Szombat Vasárnap) | |
# A dátomból kiszedem a hét számát | |
week_number=$(date +%V) | |
# Illetve azt, hogy milyen nap van (1-7 az 1. a Hétfő) | |
today=$(date +%u) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
reporter.py provides a generic Reporter class, a SlackReporter and an MSTeamsReporter child classes | |
which are capable of sending messages via webhooks to channels in their respective services. | |
''' | |
import requests | |
import pymsteams | |
class SlackError(Exception): | |
pass |