Skip to content

Instantly share code, notes, and snippets.

@gfixler
gfixler / maya2017install.sh
Last active December 26, 2017 14:04 — forked from borgfriend/maya2017install.sh
Maya 2017 Installation on Ubuntu 16.04
#!/bin/bash
# Make sure the tgz file is in the home directory
# Original script downloaded educational version,
# whereas I need to use the full, paid-for version
# https://forums.autodesk.com/t5/installation-licensing/maya-2018-ubuntu-16-04-lts-start-up-errors/m-p/7446146
FILE=Autodesk_Maya_2017_EN_JP_ZH_Linux_64bit.tgz
if [ ! -f ~/$FILE ]; then
echo Cannot find ~/$FILE
exit
@gfixler
gfixler / MyState.hs
Last active August 29, 2015 14:23 — forked from merijn/MyState.hs
data MyState s a = MyState (s -> (a, s))
get :: MyState s s
get = undefined
put :: s -> MyState s ()
put = undefined
modify :: (s -> s) -> MyState s ()
modify = undefined
#!/bin/bash
#Heith Seewald 2012
#Feel free to extend/modify to meet your needs.
#Maya on Ubuntu v.1
#This is the base installer... I’ll add more features in later versions.
#if you have any issues, feel free email me at [email protected]
#### Lets run a few checks to make sure things work as expected.
#Make sure we’re running with root permissions.
if [ `whoami` != root ]; then