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
| #!/usr/local/bin/bash | |
| source ~/.bash_profile | |
| cd ~/"Apps/SickRage" | |
| git remote set-url origin https://donna.devices.wvvw.me/sickrage/sickrage.git | |
| git remote set-branches --add origin master | |
| git remote update | |
| git fetch origin | |
| git checkout master | |
| git branch --set-upstream-to origin/master | |
| git reset --hard 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
| from PySide import QtGui | |
| def grab_widget(widget=None, filepath=None): | |
| """This is a test and is not proofed for production | |
| Note: | |
| See QPixmap members being obsolete in Qt5: | |
| http://doc.qt.io/qt-5/qpixmap-obsolete.html | |
| """ |
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
| brew install Qt4 | |
| brew install openssl | |
| brew install cmake | |
| git clone https://github.com/PySide/pyside-setup.git --recurse-submodules | |
| cd pyside-setup | |
| # The following must be executed in a bash shell | |
| python setup.py bdist_wheel --ignore-git --qmake=/usr/local/Cellar/qt/4.8.7_2/bin/qmake --openssl=/usr/local/Cellar/openssl/1.0.2h_1/bin/openssl --cmake=/usr/local/Cellar/cmake/3.5.2/bin/cmake |
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 PySide.QtCore as QtCore | |
| import PySide.QtGui as QtGui | |
| from nukescripts import panels | |
| class PanelTest(QtGui.QWidget): | |
| def __init__(self, parent=None): | |
| QtGui.QWidget.__init__(self, parent) | |
| self.setLayout(QtGui.QVBoxLayout()) | |
| self.myTable = QtGui.QTableWidget() | |
| self.myTable.header = ['Date', 'Files', 'Size', 'Path' ] |
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 PySide import QtCore, QtGui | |
| import sys | |
| app = QtGui.QApplication(sys.argv) | |
| QtGui.qApp = app | |
| folderTree = QtGui.QTreeWidget() | |
| header = QtGui.QTreeWidgetItem(["Virtual folder tree","Comment"]) | |
| #... |
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
| upstream plex-upstream { | |
| # change plex-server.example.com:32400 to the hostname:port of your plex server. | |
| # this can be "localhost:32400", for instance, if Plex is running on the same server as nginx. | |
| server plex-server.example.com:32400; | |
| } | |
| server { | |
| listen 80; | |
| # server names for this server. |