Skip to content

Instantly share code, notes, and snippets.

View MathieuLoutre's full-sized avatar

Mathieu Triay MathieuLoutre

View GitHub Profile

Minimum Viable Async with Node 6

With the release of Node 6.0.0, the surface of code that needs transpilation to use ES6 features has been reduced very dramatically.

This is what my current workflow looks like to set up a minimalistic and fast microservice using micro and async + await.

The promise

From e95af80064ec8e20790daeb002d8de1d74e3bf80 Mon Sep 17 00:00:00 2001
From: Vianney Petit <[email protected]>
Date: Sun, 6 Nov 2016 17:26:41 +0100
Subject: [PATCH] Add plugins cache hack
---
SupRuntime/src/index.ts | 46 +++++++++++++------
plugins/default/typescript/runtime/script.ts | 69 +++++++++++++++++++++-------
2 files changed, 83 insertions(+), 32 deletions(-)
@dgoguerra
dgoguerra / homebrew-dynamodb-local.md
Last active November 5, 2023 11:15
Install dynamodb-local through Homebrew (custom formula)

Install dynamodb-local through Homebrew

An official formula for dynamodb-local existed, but was removed since dynamodb-local is not open source and stopped having versions.

Now its available either through a Cask, or by installing it as a formula from an unofficial tap (third party repo).

When installed as a cask dynamodb-local cannot be exposed as a service, so here we are installing it as a formula. It has been forked from rjcoelho/homebrew-boneyard and updated to be a head-only formula, to avoid checksum erros on new versions. It is available at dgoguerra/homebrew-boneyard.

# dynamodb-local depends on Java 6+