ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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 nodejs | |
curl -sL https://deb.nodesource.com/setup | sudo bash - | |
sudo apt-get install nodejs | |
# Install git for bower | |
sudo apt-get install git | |
sudo npm install -g bower | |
sudo npm install -g gulp |
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
/** | |
* mule-uploader.js | |
* | |
* Copyright 2012-2014, Gabriel Purcaru | |
* Released under GPL License. | |
* License: http://www.gnu.org/copyleft/gpl.html | |
*/ | |
(function(namespace){ |
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
#!/bin/bash | |
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
# Inspired from https://gist.github.com/faleev/3435377 | |
# Remove any existing packages: | |
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
# Setting up apt-get search list for the dependencies | |
sudo vim /etc/apt/sources.list |
Code examples from this stack overflow answer.
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
# Use this one for Mac OS | |
# Install preriquisite? | |
git clone https://github.com/yyuu/pyenv.git ~/.pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile | |
# install virtualenv |
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
# Prepare dependencies | |
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates | |
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual | |
# Add new GPG Key | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
# Open the /etc/apt/sources.list.d/docker.list file in your favorite editor. | |
# If the file doesn’t exist, create it. |
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
# Make sure you have python and virtualenv installed | |
# You can refer to this gist https://gist.github.com/indrasantosa/521c890b4f82d30365f77e109c51b39e | |
# Install dependencies | |
sudo apt-get install build-essential libssl-dev libffi-dev python-dev libgmp3-dev libpq-dev python-dev | |
sudo pip install cryptography pyopenssl ndg-httpsclient pyasn1 | |
# Download and install pgadmin | |
wget https://ftp.postgresql.org/pub/pgadmin3/pgadmin4/v1.0/pip/pgadmin4-1.0-py2-none-any.whl | |
pip install pgadmin4-1.0-py2-none-any.whl |
If you're looking at this in 2016, I strongly recommend investigating real headless Chrome: https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
#If you're on Ubuntu or working with a Linux VM...
SSH into your server as a root or do sudo -i.
OlderNewer