Install Scala 2.11.8
$ sudo apt-get remove scala-library scala
$ sudo wget www.scala-lang.org/files/archive/scala-2.11.8.deb
$ sudo dpkg -i scala-2.11.8.deb
Check Scala version
$ scala -version
| <?php | |
| namespace App\Http\Controllers\Auth; | |
| use App\Http\Controllers\Controller; | |
| use App\Transformers\Json; | |
| use App\User; | |
| use Illuminate\Foundation\Auth\SendsPasswordResetEmails; | |
| use Illuminate\Http\Request; |
Install Scala 2.11.8
$ sudo apt-get remove scala-library scala
$ sudo wget www.scala-lang.org/files/archive/scala-2.11.8.deb
$ sudo dpkg -i scala-2.11.8.deb
Check Scala version
$ scala -version
| @echo off | |
| FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm %%i | |
| FOR /f "tokens=*" %%i IN ('docker images --format "{{.ID}}"') DO docker rmi %%i |
| # config valid only for current version of Capistrano | |
| lock '3.4.0' | |
| set :application, "Your app name" # EDIT your app name | |
| set :repo_url, "https://github.com/laravel/laravel.git" # EDIT your git repository | |
| set :deploy_to, "/var/www/my-app" # EDIT folder where files should be deployed to | |
| set :keep_releases, 5 | |
| # set :linked_files, %w{.env} #EDIT uncomment this line once you have a .env file in :deploy_to/shared |
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh