sudo apt-get update
sudo apt-get install gcc g++ git vim
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 | |
INPUT_VIDEO="input.mp4" | |
OUTPUT_VIDEO="output.mp4" | |
SPEED_UP=20 | |
RESIZE=1280:960 | |
mencoder "$INPUT_VIDEO" -speed $SPEED_UP -vf scale=$RESIZE -ovc lavc -o "$OUTPUT_VIDEO" |
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 | |
# basic | |
sudo apt-get install -y gcc g++ | |
sudo apt-get install -y git | |
# node.js | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt-get install -y nodejs |
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
# General | |
pip install numpy scipy matplotlib ipython jupyter pandas sympy nose argparse tqdm | |
# Machine Learning | |
pip install tensorflow keras Theano sklearn scikit-image | |
# OpenCV | |
pip install opencv-python | |
# Natural Language Processing |
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
desktop = com.mathworks.mde.desk.MLDesktop.getInstance; | |
desktop.restoreLayout('Default'); |
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
#!/usr/bin/env python | |
""" | |
derivatives.py | |
CasADi derivatives example. | |
""" | |
__version__ = "1.0.0" | |
__author__ = "David Qiu" | |
__email__ = "dq@cs.cmu.edu" |
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
set root=(hd0,gpt7) | |
linux /vmlinuz root=/dev/sda7 | |
initrd /initrd.img | |
boot |