####On the VM, Zero out the virtual disk
sudo dd if=/dev/zero of=/EMPTY bs=1M
sudo rm -f /EMPTY
####Clear bash history
cat /dev/null > ~/.bash_history && history -c && exit
####Package
# Prerequisite: Ubuntu 18.04.4 Desktop (minimal installation with VirtualBox Guest Additions) | |
# Dependencies | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install -y \ | |
build-essential software-properties-common \ | |
gcc-8 g++-8 cmake \ | |
glew-utils freeglut3-dev libsoil1 \ | |
libxrandr-dev libxinerama-dev xorg-dev libcurl4-openssl-dev libgdal-dev libxcursor-dev \ |
#!/usr/bin/env bash | |
apt-get --yes install mercurial | |
OUTPUT_DIR=downloads/ffmpeg_sources | |
rm -r ${OUTPUT_DIR} | |
mkdir -p ${OUTPUT_DIR} | |
cd ${OUTPUT_DIR} |
#!/usr/bin/env bash | |
# Install ffmpeg dependencies | |
mkdir -p /var/tmp/ffmpeg_build | |
apt-get --yes install \ | |
autoconf automake build-essential libass-dev libfreetype6-dev \ | |
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \ | |
libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev \ | |
cmake |
#!/usr/bin/env bash | |
branch_name=$1 | |
branch_base_name=$2 | |
git checkout ${branch_name} | |
merge_base=`git merge-base ${branch_name} ${branch_base_name}` | |
branch_commit_date=`git show --summary ${merge_base} --pretty=tformat:'%aI'` | |
echo ${branch_name} Branched off ${branch_base_name} at: ${merge_base} | |
echo ${branch_name} Branch Point Commit Date: ${branch_commit_date} |
find /path -type d -name "node_modules" -exec rm -rf '{}' + |
sudo apt remove virtualbox virtualbox-5.0 virtualbox-4.* | |
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list' | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
sudo apt update | |
sudo apt install virtualbox-5.1 |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
sudo apt-get --yes update | |
sudo apt-get --yes install google-chrome-stable |
####On the VM, Zero out the virtual disk
sudo dd if=/dev/zero of=/EMPTY bs=1M
sudo rm -f /EMPTY
####Clear bash history
cat /dev/null > ~/.bash_history && history -c && exit
####Package