Skip to content

Instantly share code, notes, and snippets.

View ramon-src's full-sized avatar
🎯
Focused in learn Scalable Architectures

Ramon Schmidt Rocha ramon-src

🎯
Focused in learn Scalable Architectures
View GitHub Profile
@pasupulaphani
pasupulaphani / after_res_hooks.js
Last active May 1, 2024 20:37
Mongoose connection best practices
var db = mongoose.connect('mongodb://localhost:27017/DB');
// In middleware
app.use(function (req, res, next) {
// action after response
var afterResponse = function() {
logger.info({req: req}, "End request");
// any other clean ups
@staltz
staltz / introrx.md
Last active July 19, 2024 22:21
The introduction to Reactive Programming you've been missing
@rasheedamir
rasheedamir / DDD, CQRS & ES.md
Last active January 25, 2022 12:09
DDD, CQRS & ES!

To implement command processing we need the following pieces:

  • Commands which request that something should happen, i.e. some state change
  • Events which indicate that something has happened
  • Aggregates that handles Commands and generates Events based on the current state
  • Event store which stores all events that has happened
  • Application services that receives Commands and routes it to the appropriate aggregate

https://github.com/rasheedamir/event-sourcing-in-practice

@PurpleBooth
PurpleBooth / README-Template.md
Last active July 22, 2024 02:29
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

<template>
<fieldset>
<div class="field">
<label>Rua</label>
<input type="text" :value="data.street" @change="event => $emit('input', { street: street })" />
</div>
...
</fieldset>
</template>
@mikepfeiffer
mikepfeiffer / stress.sh
Created January 27, 2019 21:05
Install Stress Utility on Amazon Linux 2
sudo amazon-linux-extras install epel -y
sudo yum install stress -y
@dwildt
dwildt / openhackrs-principios.txt
Last active August 10, 2023 15:42
Open Hack RS - Funcionamento base e princípios.
/// OpenHackRS - Open Hack Rio Grande do Sul
/// https://www.meetup.com/OpenHackRS/
TL;DR; Queremos fazer eventos para desenvolver software. Reunir pessoas
interessadas em desenvolvimento de software, interessadas em aprender
novas tecnologias. Quer participar de eventos?
Se inscreva no https://www.meetup.com/OpenHackRS/.
Quer ajudar a organizar eventos? Procura pelo dwildt no Telegram.