This post has been deleted.
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
#!/bin/bash | |
# The name of the file is passed as parameter by $1 | |
ext='.java' | |
file=$1$ext | |
if [ -f $file ]; | |
then | |
javac $file | |
java $1 |
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
#!/bin/bash | |
#Download Maya from here: http://download.autodesk.com/us/support/files/maya_2016_service_pack_6/Autodesk_Maya_2016_SP6_EN_Linux_64bit.tgz | |
#Get a student License from: http://www.autodesk.com/education/free-software/maya | |
#Log in and select maya 2016, your language and an OS. Either should work. | |
# !!!!!! IMPORTANT !!!!!! | |
# BEFORE RUNNING, REPLACE "USER" AND "HOME" AT THE BOTTOM OF THIS SCRIPT WITH YOUR USERNAME AND HOME FOLDER | |
# !!!!!! IMPORTANT !!!!!! |
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
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
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
<script> | |
// Let's wrap everything inside a function so variables are not defined as globals | |
(function(){ | |
// This is gonna our percent buckets ( 10%-90% ) | |
var divisor = 10; | |
// We're going to save our players status on this object. | |
var videos_status = {}; | |
// This is the funcion that is gonna handle the event sent by the player listeners | |
function eventHandler(e){ | |
switch(e.type) { |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)