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/python3 | |
from PyQt5.QtCore import (pyqtSignal, QAbstractItemModel, | |
QFileInfo, QModelIndex, Qt, QTime, QUrl, QSettings) | |
from PyQt5.QtGui import QIcon | |
from PyQt5.QtMultimedia import (QMediaContent, QMediaMetaData, QMediaPlayer, QMediaPlaylist) | |
from PyQt5.QtWidgets import (QApplication, QFileDialog, | |
QHBoxLayout, QLabel, QListView, QMessageBox, QPushButton, | |
QSlider, QStyle, QToolButton, QVBoxLayout, QWidget, QStatusBar) | |
import os |
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
ARD Olympia 1 | |
https://ndrspezial-lh.akamaihd.net/i/spezial_1@430235/master.m3u8 | |
ARD Olympia 2 | |
https://ndrspezial-lh.akamaihd.net/i/spezial_2@430236/master.m3u8 | |
ARD Olympia 3 | |
https://ndrspezial-lh.akamaihd.net/i/spezial_3@430237/master.m3u8 | |
ARD Olympia 4 | |
https://ndrspezial-lh.akamaihd.net/i/spezial_4@430238/master.m3u8 | |
ARD Olympia 5 | |
https://ndrspezial-lh.akamaihd.net/i/spezial_5@430239/master.m3u8 |
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/python3 | |
import gi | |
gi.require_versions({'Gtk': '3.0','XApp': '1.0'}) | |
from gi.repository import Gtk, XApp | |
import warnings | |
warnings.filterwarnings("ignore") | |
class MyStatusIconApp: |
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/python3 | |
# -*- coding: utf-8 -*- | |
from PyQt5.QtWidgets import (QMainWindow, QApplication, | |
QToolButton, QTableWidget, | |
QTableWidgetItem, QFileDialog, QStyle) | |
from PyQt5.QtCore import Qt, QSize | |
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/python3 | |
# -*- coding: utf-8 -*- | |
import requests | |
import time | |
import locale | |
from datetime import date | |
import webbrowser | |
header = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |
<html><head><meta name="qrichtext" content="1" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><style type="text/css"> |
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/python3 | |
# -*- coding: utf-8 -*- | |
import gi | |
gi.require_version("Gtk", "3.0") | |
gi.require_version("Gdk", "3.0") | |
from gi.repository import Gtk, Gdk, GLib | |
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
import zenipy | |
myfile = "/path/to/file.csv" | |
csv = open(myfile, "r").read().splitlines() | |
header = "\n".join(csv[:1]) | |
columns = header.split("\t") | |
t = "" |
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
import QtQuick 2.2 | |
import QtQuick.Window 2.2 | |
import QtMultimedia 5.0 | |
import QtQuick.Controls 1.1 | |
import QtQuick.Dialogs 1.0 | |
ApplicationWindow { | |
id: window | |
flags: Qt.Window | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint | |
visible: true |
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/python3 | |
# -*- coding: utf-8 -*- | |
from PyQt5.QtWidgets import (QWidget, QApplication, QVBoxLayout, QPushButton, | |
QDesktopWidget, QLabel, QGridLayout, QMainWindow) | |
from PyQt5.QtCore import Qt, QTimer, QSize, QRect | |
from PyQt5.QtGui import QIcon | |
import sys | |
class Message(QWidget): | |
def __init__(self, title, message, parent=None): |
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/python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
from PyQt5.QtCore import QPoint, Qt | |
from PyQt5.QtWidgets import QApplication, QPlainTextEdit, QMainWindow, QLabel, QPushButton, QLineEdit | |
btn_size = 14 | |
class MainWindow(QMainWindow): |