const groupBy = key => array =>
array.reduce((objectsByKeyValue, obj) => {
const value = obj[key];
objectsByKeyValue[value] = (objectsByKeyValue[value] || []).concat(obj);
return objectsByKeyValue;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/schema", | |
"id": "https://github.com/angular/angular-cli/blob/master/packages/@angular/cli/lib/config/schema.json#CliConfig", | |
"title": "Angular CLI Config Schema", | |
"type": "object", | |
"properties": { | |
"$schema": { | |
"type": "string" | |
}, | |
"project": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const logger = require('winston'); | |
const invalidate = require('invalidate-module'); | |
const { resolve } = require('path'); | |
const chokidar = require('chokidar'); | |
process.on('unhandledRejection', (reason, p) => { | |
logger.error('Unhandled Rejection at: Promise ', p, reason); | |
}); | |
const src = (...args) => resolve(__dirname, ...args); |
https://www.keycloak.org/getting-started/getting-started-zip
- Download the latest released keycloak-12.0.4 as it on our Downloads folder
- Extracting Keycloak .tar file
bboy:~$ pwd
/home/bboy
bboy:~$ cd /opt/
bboy:/opt$ sudo tar -xzf /home/bboy/Downloads/keycloak-12.0.4.tar.gz
OlderNewer