sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove
sudo reboot
set backspace=2 " backspace in insert mode works like normal editor | |
syntax on " syntax highlighting | |
filetype indent on " activates indenting for files | |
set autoindent " auto indenting | |
set number " line numbers | |
colorscheme desert " colorscheme desert | |
set nobackup " get rid of anoying ~file |
server 'localhost', port: 3000, roles: [:web, :app, :db], primary: true | |
set :repo_url, 'https://github.com/plombix/Group_app.git' | |
set :application, 'Group_app' | |
set :user, 'deploy' | |
set :puma_threads, [4, 16] | |
set :puma_workers, 0 | |
# Don't change these unless you know what you're doing | |
set :pty, true | |
set :use_sudo, false | |
set :stage, :production |
# **************************************************************************** # | |
# # | |
# ::: :::::::: # | |
# views_com.rb :+: :+: :+: # | |
# +:+ +:+ +:+ # | |
# By: sballet <sballet@student.42.fr> +#+ +:+ +#+ # | |
# +#+#+#+#+#+ +#+ # | |
# Created: 2016/07/04 14:47:15 by sballet #+# #+# # | |
# Updated: 2016/07/13 18:17:29 by sballet ### ########.fr # | |
# # |
class String | |
def erb? | |
self[-3..-1] == "erb" | |
end | |
end |