Skip to content

Instantly share code, notes, and snippets.

View filiafobico's full-sized avatar
:octocat:
Sapere aude

Luiç filiafobico

:octocat:
Sapere aude
  • Stone co
  • Brazilian
View GitHub Profile
@filiafobico
filiafobico / README.md
Last active December 18, 2025 15:25
A simple Node.js script to move messages between AMQP queues using the RabbitMQ Management API.

AMQP Message Mover

A simple Node.js script to move messages between AMQP queues using the RabbitMQ Management API.

Description

This script allows you to move messages from one queue to another in a RabbitMQ instance. It fetches messages from the origin queue and publishes them to the destination queue using the RabbitMQ HTTP API.

Prerequisites

@filiafobico
filiafobico / possibilities.js
Created April 13, 2022 12:16
array com todas as possibilidades de jogadas a partir de peças iniciais
This file has been truncated, but you can view the full file.
const playerPieces = [
[ 2, 20 ], [ 0.1, 5 ],
[ 0.25, 20 ], [ 0.5, 200 ],
[ 0.05, 5 ], [ 20, 0.25 ],
[ 0, 2 ], [ 50, 200 ],
[ 200, 5 ], [ 0.25, 0.5 ],
[ 0, 20 ], [ 200, 0 ],
[ 0.5, 0.05 ]
]
const piecesObjective = [ [ 2, 10 ], [ 0.25, 10 ] ]
@filiafobico
filiafobico / sistemas_distribuidos_contratros.md
Last active August 23, 2021 18:31
Anotação para a aula de sistemas distribuidos

SafeHelp: Serviço de compras e entregas para pessoas positivadas pelo vírus COVID-19

1. Análise do sistema

1.1 Funcionamento

  • Serviço de compras e entregas pela Internet
  • Cadastro de prestadores de serviço
  • Cadastro de usuários do serviço
  • Chat entre usuário e o prestador de serviço
  • Cadastro dos serviços
  • Divulgação do serviço pelo usuário
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@filiafobico
filiafobico / PilhaDePilhas.c
Last active May 25, 2019 00:53
Implementação de uma pilha para inverter palavras de uma frase
#include <stdio.h>
#define TAM_PALAVRA 20
#define QTD_PALAVRAS 10
#define DELIMITADOR '\n'
// Define a estrutura da Pilha
typedef struct {
int pos;
int pilha[TAM_PALAVRA];