Skip to content

Instantly share code, notes, and snippets.

View Yiannis128's full-sized avatar
🎯
Focusing

Yiannis Charalambous Yiannis128

🎯
Focusing
View GitHub Profile
@Yiannis128
Yiannis128 / gist:dce0674ff9c17108695514ad6891f985
Last active June 11, 2024 00:16
[yt-dlp] GUI Download Music Python
#!/usr/bin/env python3
# Author: Yiannis Charalambous
# Simple GUI for YT-DLP Downloading Music
import tkinter as tk
from tkinter import ttk
import pathlib
from subprocess import PIPE, STDOUT, run, CompletedProcess
@Yiannis128
Yiannis128 / nextcloud-theme.css
Last active February 28, 2023 01:22
Updated to 25.0.4
/* Hide the dashboard button from the app menu */
.app-menu-entry[data-app-id="dashboard"]{
visibility: collapse;
}
/*
_________ __ __ _____
\_ ___ \ ____ _____/ |______ _____/ |_ / \ ____ ____ __ __
/ \ \/ / _ \ / \ __\__ \ _/ ___\ __\ / \ / \_/ __ \ / \| | \
\ \___( <_> ) | \ | / __ \\ \___| | / Y \ ___/| | \ | /
@Yiannis128
Yiannis128 / youtube-rss-subscriptions
Last active May 16, 2021 12:24
This is a python script that extracts your YouTube subscriptions into an RSS feed. Simply provide as an argument to the script, the path where you have the html file saved of the https://www.youtube.com/feed/channels make sure to check the whole page is saved because the script can only see the channels that are in that file.
#!/usr/bin/env python3
# Licence: GPLV3
import requests
from bs4 import BeautifulSoup as soup
from sys import argv as argv
from time import sleep
def get_channel_id(url):