Skip to content

Instantly share code, notes, and snippets.

View ffroliva's full-sized avatar

Flavio Oliva ffroliva

View GitHub Profile
@aoudiamoncef
aoudiamoncef / README.md
Last active February 15, 2024 20:47
Reactor "expand" and "expandDeep" in action

When exploring directory structures in a reactive programming environment, the strategies of breadth-first and depth-first traversal play a crucial role. In the context of the ReactorFileUtils class, these strategies are employed by the expand and expandDeep methods to traverse and emit paths in a reactive stream. Let's delve into these strategies and understand how they work:

Breadth-First (expand Method):

Breadth-First (expand)

       A
     /   \
    B     C
@bcnzer
bcnzer / postman-pre-request.js
Last active April 16, 2025 06:21
Postman pre-request script to automatically get a bearer token from Auth0 and save it for reuse
const echoPostRequest = {
url: 'https://<my url>.auth0.com/oauth/token',
method: 'POST',
header: 'Content-Type:application/json',
body: {
mode: 'application/json',
raw: JSON.stringify(
{
client_id:'<your client ID>',
client_secret:'<your client secret>',