Skip to content

Instantly share code, notes, and snippets.

View alejandrobabio's full-sized avatar
🏠
Working from home

Alejandro Babio alejandrobabio

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am alejandrobabio on github.
  • I am alejandrobabio (https://keybase.io/alejandrobabio) on keybase.
  • I have a public key whose fingerprint is 98F7 03BC F3B8 EF14 3C60 F3D7 E618 5CEC C03F FA24

To claim this, I am signing this object:

@alejandrobabio
alejandrobabio / install-vim-8-with-python-ruby-lua-ubuntu.sh
Created March 22, 2019 11:21 — forked from erickpatrick/install-vim-8-with-python-ruby-lua-ubuntu.sh
Install Vim 8 with Python, Python 3, Ruby (2.5) and Lua support on Ubuntu
# remove current vim
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
# removes current link for vim
sudo rm -rf /usr/local/share/vim /usr/bin/vim
# add ppa for newest version of ruby (currently, as of 06/06/2017, ruby v2.4)
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update

Business Logic / Domain Model structures for Ruby, Rails

@alejandrobabio
alejandrobabio / app.Dockerfile
Last active July 16, 2023 20:06 — forked from satendra02/app.DockerFile
docker+rails+puma+nginx+postgres (Production ready)
FROM ruby:2.3.1
# Install dependencies
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
# Set an environment variable where the Rails app is installed to inside of Docker image:
ENV RAILS_ROOT /var/www/app_name
RUN mkdir -p $RAILS_ROOT
# Set working directory, where the commands will be ran: