Skip to content

Instantly share code, notes, and snippets.

View diogonicoleti's full-sized avatar

Diogo Nicoleti diogonicoleti

  • Itajaí
  • 05:00 (UTC -03:00)
View GitHub Profile
@diogonicoleti
diogonicoleti / post-mortem-template.md
Created November 29, 2017 22:38
Template de Postmortem

Data

YYYY-MM-dd

Autores

  • @fulano
  • @ciclano

CheckPoints

@diogonicoleti
diogonicoleti / postgres-cheatsheet.md
Created June 26, 2017 13:26 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

If run with -E flag, it will describe the underlaying queries of the \ commands (cool for learning!).

Most \d commands support additional param of __schema__.name__ and accept wildcards like *.*

{
"savingAccountData": [
{
"name": "Poupança Gold",
"balance": 15643.65,
"transactions": [
{
"description": "Saldo Anterior",
"value": 2325.06,
"date": "01/08/2016"
@Stateless
public class EjbA {
@Inject
private EjbB b;
public void call() {
b.one();
b.two();
}