You ever wanted to print a result of records in a fancier way? With this simple class you can print tables like this: records = Post.includes(:user).where(user_id: [1,2]) attributes = [:created_at, :title, {user: :name}] TablePrinter.new(records, ...
There are several good reasons to put Cloudfront in front of your load balancers, as exposed here Performance Cacheable Content. Global Reach. Persistent Connections. Collapsed Forwarding. Security Distributed Denial of Service (DDOS) Encryption...
Quick and dirty, this is my recipe for local development of elixir phoenix apps using docker and docker-compose. 3 important files: Dockerfile docker-compose.yml dev.exs Dockerfile FROM bitwalker/alpine-elixir-phoenix:latest # Cache elixir deps AD...
I'll show how to get travis-ci run your test suit and then upload the coverage report to codecov. All this, being shown on github pull request checks for reference. Something I've been doing more extensively lately is Unit Testing, not necessarily do...
If you come from Ruby on Rails for example, it's very common to have rvm to manage your Ruby versions, but also you would probably need to install nvm to manage versions for Node.js too (since Rails now has webpack assets pipeline). This same story ...