Skip to content

Instantly share code, notes, and snippets.

View patarkf's full-sized avatar

Patrick Ferreira patarkf

View GitHub Profile

Step by step to install Scala + Play Framework in Ubuntu 14.04 with Activator.

Install Scala

sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.6.deb
sudo dpkg -i scala-2.11.6.deb
sudo apt-get update
sudo apt-get install scala
/* A little snippet to see how to integrate another ajax request data with Google Chart API using JQuery */
var = DOM {
/**
* Function that initialize all
* @return {[void]}
*/
onReady: function() {
@patarkf
patarkf / git_to_deploy
Last active August 29, 2015 14:15
GIT to deploy website
Hey, folks. Below, the steps that I followed (after a little search on the web) to deploy my application
(website) using GIT, on the cleanest and easiest way. The advantage of this method is that any small
change pushed to remote repo will be published in your live website.
Step 1: Create the local GIT repository
$ cd /var/www/project/
$ git init
$ git add *