This file contains hidden or 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
Prayer from Pope Francis 26.01.2022 | |
Saint Joseph, you are the man who dreams, | |
teach us to recover the spiritual life | |
as the inner place where God manifests Himself and saves us. | |
Remove from us the thought that praying is useless; | |
help each one of us to correspond to what the Lord shows us. | |
May our reasoning be illuminated by the light of the Spirit, | |
our hearts encouraged by His strength | |
and our fears saved by His mercy. Amen. |
This file contains hidden or 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
Other 1 hr 2 mins βββββββββββββββββββββ 94.5% | |
JSON 3 mins βββββββββββββββββββββ 5.5% |
This file contains hidden or 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
""" | |
Convert YouTube subtitles(vtt) to human readable text. | |
Download only subtitles from YouTube with youtube-dl: | |
youtube-dl --skip-download --convert-subs vtt <video_url> | |
Note that default subtitle format provided by YouTube is ass, which is hard | |
to process with simple regex. Luckily youtube-dl can convert ass to vtt, which | |
is easier to process. |
This file contains hidden or 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
# | |
# Display, in console, latest pipelines from each project in a given group | |
# | |
# python display-latest-pipelines.py --group-id=8784450 [--watch] [--token=$GITLAB_TOKEN] [--host=gitlab.com] [--exclude='TPs Benoit C,whatever'] [--stages-width=30] | |
# | |
import argparse | |
from datetime import datetime | |
from enum import Enum | |
import os | |
import pytz |
OlderNewer