rm -rf .git
git init
git add .
git commit -m "๐ Initial commit"
git remote add origin git@github.com:<username>/<repo>.git
git push -u --force origin master
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
| import urllib.parse | |
| from pymongo import MongoClient | |
| from pymongo.collection import Collection | |
| from pymongo.database import Database | |
| from typing import Optional, Any | |
| from os import environ as env | |
| # <editor-fold desc="[Globals]"> | |
| mUser = urllib.parse.quote_plus(str(env.get('MONGO_USER'))) | |
| mPass = urllib.parse.quote_plus(str(env.get('MONGO_PASS'))) |
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
| /* | |
| * Author: Saadat Baig, <saadatdev@googlemail.com> | |
| * License: AGPL v3 | |
| */ | |
| import org.checkerframework.checker.nullness.qual.NonNull; | |
| import org.checkerframework.checker.nullness.qual.Nullable; | |
| import java.io.BufferedInputStream; | |
| import java.io.FileInputStream; |
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
| from __future__ import unicode_literals | |
| import youtube_dl | |
| class Logger(object): | |
| """ | |
| Custom Logger for Youtube-DL | |
| (Based off the example provided) | |
| ref: https://github.com/ytdl-org/youtube-dl/blob/master/README.md#embedding-youtube-dl |