Skip to content

Instantly share code, notes, and snippets.

View rammazzoti2000's full-sized avatar
:octocat:
Happy learning!

Alex rammazzoti2000

:octocat:
Happy learning!
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@rammazzoti2000
rammazzoti2000 / postgresql_configuration_on_ubuntu_for_rails.md
Last active May 21, 2020 10:06 — forked from p1nox/postgresql_configuration_on_ubuntu_for_rails.md
PostgreSQL configuration without password on Ubuntu for Rails

Abstract

You could have postgre installed on localhost with password (or without user or password seted after instalation) but if we are developing we really don't need password, so configuring postgre server without password for all your rails project is usefull.

Install Postgre packages

  • postgresql
  • postgresql-client
  • libpq-dev
@rammazzoti2000
rammazzoti2000 / sum.rb
Created March 20, 2020 09:29 — forked from ProfAvery/sum.rb
15 ways to sum an array in Ruby
#!/usr/bin/env ruby
require 'test/unit'
class TestSums < Test::Unit::TestCase
def setup
@a = [2, 5, 18, 27]
@sum = 0
end