Skip to content

Instantly share code, notes, and snippets.

View mastazi's full-sized avatar

Marco Stazi mastazi

  • Sydney, Australia
View GitHub Profile
// M4L .als files are just gzipped XMLs, so you can either have in git the uncompressed versions
// (just gunzip everything after saving and before add and commit, and in .gitignore add *.als),
// or
// you can have a .gitattributes file in the root of your git project with the following line in it:
*.als diff=gzip
// Now you can view diffs as textual diffs of XML files, and you can view log output similarly.
// source: https://www.ableton.com/answers/i-want-to-use-git-with-live (comment from user "blear")
# This is inspired by the fantastic guide https://github.com/saiprashanths/dl-setup
# I have just updated the python-related commands so that everything works in Python 3.
# Tested on Xubuntu 16.04.
# First of all let's update the repos:
sudo apt-get update
# Only if you have a CUDA-compatible Nvidia card, install CUDA.
# Check on the Nvidia website what is the latest driver version which supports your card.
# At the time of this writing it was 367.
@mastazi
mastazi / .jshintrc
Created February 19, 2016 01:11
This is a .jshintrc which ignores all warnings but prints all errors (list is correct as of date published, based on https://github.com/jshint/jshint/blob/master/src/messages.js)
{
"-W001": false,
"-W002": false,
"-W003": false,
"-W004": false,
"-W005": false,
"-W006": false,
"-W007": false,
"-W008": false,
"-W009": false,