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
This is a brief outline of the steps followed to setup TidalCycles inside a VM - I am using a Linux Host and GnomeBoxes, however the basic procedure should translate mostly independendt of the host specs | |
1. Install clean Ubuntu 20.04 Gnome Box - I create a user called tidal during the install, but can use whatever you want | |
2. Boot the VM and perform all system updates that appear after first boot | |
3. Install main dependencies: | |
a. sudo apt-get install build-essential cabal-install git jackd2 emacs-nox haskell-mode | |
i. select "Yes" when asked about condifguring jackd for realtime process priority | |
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
""" | |
Test Qt Frameless Window resizing with QSizeGrip | |
Maxwell Grady, September 2017. | |
""" | |
import sys | |
from PyQt5 import QtCore, QtWidgets | |
from qtmodern.styles import dark | |
from qtmodern.windows import ModernWindow |
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
"""QuantumWise GUI Software Developer Application. | |
Maxwell Grady | |
June 2017 | |
Usage: | |
python example.py | |
""" | |
import sys |
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 numpy as np | |
import pyqtgraph as pqg | |
import sys | |
from PyQt5 import QtWidgets | |
class TestWindow(QtWidgets.QWidget): | |
def __init__(self, parent=None): | |
super(TestWindow, self).__init__(parent) | |
self.layout = QtWidgets.QVBoxLayout() |
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/env python | |
# Check reddit.com/r/nhlstreams for a game thread for a given team | |
# | |
# based on: | |
# https://gist.github.com/cheesinglee/49add283073a9a517771 | |
import argparse | |
import praw | |
import time |