Skip to content

Instantly share code, notes, and snippets.

View indrasantosa's full-sized avatar

Indra Santosa indrasantosa

View GitHub Profile
@indrasantosa
indrasantosa / Jenkins_Protractor_Headless_Chrome_Setup_Ubuntu_14.04.md
Created October 21, 2016 09:58 — forked from praphull27/Jenkins_Protractor_Headless_Chrome_Setup_Ubuntu_14.04.md
Jenkins, Protractor and Headless Chrome Browser Setup on Ubuntu 14.04

Jenkins, Protractor and Headless Chrome Browser Setup on Ubuntu 14.04

Update Ubuntu

sudo apt-get update
sudo apt-get upgrade

Install Java

@indrasantosa
indrasantosa / Ubuntu.sh
Last active October 29, 2016 18:30
Docker installation
# 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.
@indrasantosa
indrasantosa / Python Setup for mac.sh
Last active October 22, 2016 18:15
Env setup collection for python
# 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
@indrasantosa
indrasantosa / README.md
Created June 14, 2016 04:27 — forked from balupton/README.md
Node.js Best Practice Exception Handling
#!/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
/**
* mule-uploader.js
*
* Copyright 2012-2014, Gabriel Purcaru
* Released under GPL License.
* License: http://www.gnu.org/copyleft/gpl.html
*/
(function(namespace){
@indrasantosa
indrasantosa / ubuntu-basicnode.sh
Created September 5, 2014 04:36
A quick snippets to install your basic node.js needs for Ubuntu
# 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