git config --global user.name "Usuario" # Nombre de usuario
git config --global user.email ejemplo@ejemplo.com # e-mail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'pg' # gem install pg | |
| # Wraps pg library calls | |
| # Version: 1.2 | |
| # Use: | |
| # 1) Methods of the class | |
| # Example: postgres_connection.execute_query(sql_statement) | |
| # | |
| # 2) Use a pg library call with `interact` method and `connection` instance variable | |
| # Example: postgres_connection.interact { postgres_connection.connection.pg_method } |
NewerOlder