Nouveau does not appear to support Pascal cards right now, so you should use the proprietary NVIDIA driver, available from the Additional Drivers applet.
Panel Dithering
# stdlib modules | |
import sys | |
import time | |
# third party modules | |
from PySide2 import QtCore, QtWidgets | |
class AbstractProgressBar(QtCore.QObject): | |
# signals |
# restart service | |
sudo su - | |
/usr/syno/sbin/synoservice --list | |
/usr/syno/sbin/synoservice --restart <service_name> | |
# passwordless ssh | |
#1. fix /etc/ssh/sshd_config | |
AuthorizedKeyFile .ssh/authorized_keys | |
#2. fix acl | |
chmod 755 <home_directory> |
"""Store function on node | |
Usage example: | |
.. code-block:: | |
# Control node | |
ctrl_node_name = 'MY_SCRIPT_NODE' # if None, store on nuke.root() | |
# Define your functions and add them to the dictionary |
""" | |
Example of using a proxy model to apply custom | |
filtering to a QFileSystemModel | |
RE: https://groups.google.com/d/topic/python_inside_maya/a2QM_KvgfeI/discussion | |
Justin Israel | |
[email protected] | |
""" | |
from PySide import QtCore, QtGui |
# -*- coding: utf-8 -*- | |
import logging | |
from PySide import QtGui | |
from PySide import QtCore | |
def delete_instances(widget_type): | |
"""Search for all instances of widget_type and delete them. We find them | |
by class name instead of type since this is safer with all the reload() action |
#!/bin/bash | |
# Clears finished downloads from Transmission. | |
# Version: 1.1 | |
# | |
# Newest version can always be found at: | |
# https://gist.github.com/pawelszydlo/e2e1fc424f2c9d306f3a | |
# | |
# Server string is resolved in this order: | |
# 1. TRANSMISSION_SERVER environment variable |
""" | |
This script checks the time accuracy of MoviePy. | |
First, a one-hour video is generated, where the frame | |
at time t displays t (in seconds, e.g. '1200.50') in white | |
on a black baground. | |
Then we ask MoviePy to open this video file, fetch | |
different times (1200.5, 850.2, 2000.3, 150.25, 150.25), | |
extract the corresponding frame as a JPEG image file, and |
Last updated: 2017-03-18
exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .
###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs
#!/usr/bin/env python | |
# Script to dump as much information as possible about the current platform, | |
# Python, PySide, and Qt. | |
# | |
# On platforms with wget, you may run with: | |
# | |
# wget -q -O - https://gist.githubusercontent.com/seanfisk/9194547/raw/pyside_version.py | python - | |
# |