This file contains 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
# Hi there, | |
# I made this gist to share any discount links for products or services which I find useful. | |
# By using these links you would also support me and my work. | |
# Digital Ocean | |
#Everyone who uses this link to setup a new account on Digital Ocean gets $100 in credit over 60 days: | |
https://m.do.co/c/405fab589f89 |
This file contains 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
# install phantomjs | |
cd /usr/local/share | |
sudo wget https://github.com/ariya/phantomjs/archive/2.1.1.tar.gz | |
sudo tar -xzvf 2.1.1.tar.gz | |
sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs; sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs; sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs | |
sudo apt-get install fontconfig | |
# install casperjs | |
mkdir -m777 /var/www # Make sure the folder exists | |
cd /var/www/ |