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
sudo apt-get update | |
sudo apt-get install -y ruby1.9.1 ruby1.9.1-dev nodejs gcc build-essential g++ make | |
sudo gem install jekyll |
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 | |
# NOTE: This was tested on ami-06d12671 | |
set -e | |
sudo apt-get update --fix-missing | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y |
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 | |
set -e | |
# Assumes that you run update_kernel.sh (another gist of mine) | |
# export URL=url to open (e.g. http://54.195.58.117/webrtc.html?port=8801) | |
# export VIDEODEV=video device to send test video stream to (e.g. /dev/video0) | |
if [ -z "$URL" ]; then |
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 | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y build-essential fish |
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/sh | |
if [ $# -lt 1 ]; then | |
echo "No destination defined. Usage: $0 destination" >&2 | |
exit 1 | |
elif [ $# -gt 1 ]; then | |
echo "Too many arguments. Usage: $0 destination" >&2 | |
exit 1 | |
elif [ ! -d "$1" ]; then | |
echo "Invalid path: $1" >&2 |
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 | |
sudo apt-get install -y libav-tools | |
sudo add-apt-repository -y ppa:gstreamer-developers/ppa | |
sudo apt-get -y update | |
sudo apt-get -y install gstreamer1.0* |
NewerOlder