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
#!/bin/sh | |
cd /tmp | |
wget https://downloads.bitwig.com/5.1.2/bitwig-studio-5.1.2.deb | |
mkdir bitwig | |
dpkg-deb -xv bitwig-studio-5.1.2.deb /tmp/bitwig | |
cd /tmp/bitwig/opt/bitwig-studio/ | |
./bitwig-studio |
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 __future__ import print_function | |
from __future__ import unicode_literals | |
import musicbrainzngs | |
import sys | |
musicbrainzngs.set_useragent( | |
"python-musicbrainzngs-example", | |
"0.1", |
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
#EXTM3U | |
#EXTINF:-1,ARD | |
https://mcdn.daserste.de/daserste/de/master.m3u8 | |
#EXTINF:-1,ARD ONE | |
https://mcdn.one.ard.de/ardone/hls/master.m3u8 | |
#EXTINF:-1,ARD Alpha | |
https://mcdn.br.de/br/fs/ard_alpha/hls/de/master.m3u8 | |
#EXTINF:-1,ARD Tagesschau | |
https://tagesschau.akamaized.net/hls/live/2020115/tagesschau/tagesschau_1/master.m3u8 | |
#EXTINF:-1,ZDF |
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): |
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
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
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
#!/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
#!/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 -*- | |
from PyQt5.QtWidgets import (QMainWindow, QApplication, | |
QToolButton, QTableWidget, | |
QTableWidgetItem, QFileDialog, QStyle) | |
from PyQt5.QtCore import Qt, QSize | |