Skip to content

Instantly share code, notes, and snippets.

View aarkerio's full-sized avatar
🐵
Echando rostro en Ixtapa.

Manuel Montoya aarkerio

🐵
Echando rostro en Ixtapa.
View GitHub Profile
@aackerman
aackerman / gist:93d86b780ef7e951b59351dcc99af1b1
Last active April 15, 2021 07:45
Parameter Store Config
'use strict'
const EventEmitter = require('events')
// default expiry 3 mins
const DEFAULT_EXPIRY = 3 * 60 * 1000
const create = ({ keys, ssm, keyPrefix = '', expiryMs = DEFAULT_EXPIRY }) => {
let isRefreshing = false
if (!keys || !Array.isArray(keys) || keys.length === 0) {
throw new Error('Provide a non-empty array of config keys')
@kohyama
kohyama / README.md
Last active March 3, 2018 20:44
Example to operate DOM in ClojureScript via Browser REPL