ffmpeg and Homebrew

Quick note on how to install ffmpeg (using Homebrew) for mp4 format converisons.

Read more...

Bash on Ubuntu on Windows

This is a quick intro to – and some personal notes on working with – Bash in Windows 10 (Anniversary Update or Insider build requred). This will be updated on a sporadic basis.

Read more...

A treasure trove of learning Python videos

Here’s a fantastic resource for anyone who wish they could learn from a Python professional rather than reading a book: Corey Schafer’s Python Tutorials

Among Cory’s other playlists there are playlists covering how to set up a Python developer environment, object oriented programming with Python and general programming terms which also apply to Python.

All in all, a fantastic starting point for anyone wanting to get into Python as well as wrapping your head around certain concepts which take you from beginner to intermediate Python developer.

Testing and sandboxing with Docker

A quick way to enter an interactive docker container:

docker run --rm --interactive --tty -v /localfolder:/containerfolder centos:7

On Windows, use forward slashes for the directory mapping.

For a more complex setup, have a look at sandbox-docker.

Compiling PySide2 from source

Here’s how to compile PySide2 on Linux, Mac OS X and Windows.

Maya 2017 shipped with PySide2 (2.0.0~alpha0) built against Qt 5.6.1, so that’s the version of Qt I’m using in this guide as well as 64-bit Python.

Note #1: Before reading on, you may want to skip this alltogether and go directly to my pre-built Python wheels.

Note #2: This article was edited on 2017-01-19 to clarify the state of Python 2.x/3.5 with PySide2.

Read more...