Skip to content

Instantly share code, notes, and snippets.

View damarowen's full-sized avatar
🎯
Focusing

Damar Owen damarowen

🎯
Focusing
View GitHub Profile

Utiliser PhpMyAdmin avec Docker

Prérequis :

  • 🐳 Docker

Commençons 🚦

@harrisonturton
harrisonturton / queue.go
Last active August 21, 2024 10:04
RabbitMQ client that automatically reconnects when the connection fails, and has a confirmed push method (i.e. the server is guaranteed to recieve the message)
package main
import (
"errors"
"github.com/streadway/amqp"
"log"
"os"
"time"
)

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@Kartones
Kartones / postgres-cheatsheet.md
Last active December 20, 2024 16:58
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)