The useEffect Hook is React’s main approach to handling Side Effects. Side Effects refer to anything that affects something outside the scope of the function being executed.
https://www.thoughtworks.com/radar/techniques/micro-frontends
NX + NextJS + module federation
https://valor-software.com/articles/nx-next-js-and-module-federation#_next_js_module_federation
https://app.privjs.com/buy/packageDetail?pkg=@module-federation/nextjs-ssr#whats-shared-by-default
Module Federaion Docs \ https://github.com/sokra/slides/blob/master/content/ModuleFederationWebpack5.md
This is quick howto for installing vault on AWS Linux, mostly to remind myself. At the end of this tutorial, you'll have a working vault server, using s3 for the backend, self signed certificates for tls, and supervisord to ensure that the vault server is always running, and starts on reboot.
First things first, let's set up an s3 bucket to use as the storage backend for our s3 instance.
-
From the AWS Mangement Console, go to the S3 console.
-
Click on the
Create Bucket
button
Being new to Cypher and Neo4j, I am having trouble constructing my query for my use-case. I am building a simple ACL (access control list) and am looking for a path through permission relationships an up a hierarchy as well. A picture may better explain it:
Key:
EXTRACT - returns a list containing the values resulting from an expression which has been applied to each element in a list | |
================================================================================================================== | |
MATCH p =(a)-->(b)-->(c) | |
WHERE a.name = 'Alice' AND b.name = 'Bob' AND c.name = 'Daniel' | |
RETURN extract(n IN nodes(p)| n.age) AS extracted |
MATCH (s) | |
WHERE ID(s) = 85 | |
DETACH DELETE s | |
MATCH (f1:File {name:'Home'}) , (f2:File {name:'t1.txt'}) | |
CREATE (f1)-[:CHILD]->(f2) | |
CREATE (f2)-[:PARENT]->(f1) |
COLLECT - Gathers data into a List | |
======================================== | |
match (a {name:"Daniel"}), (b {name:"Jerry"}) | |
with a,b | |
match s = shortestPath(a-[]-b) | |
unwind nodes(s) as n | |
with collect(n) as m | |
return head(m) |
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 10.x | |
#more :http://sukharevd.net/wildfly-8-installation.html | |
#author :Dmitriy Sukharev | |
#date :2016-06-18T02:45-0700 | |
#usage :/bin/bash wildfly-install.sh | |
#tested-version1 :10.0.0.CR3 | |
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
#tested-version2 :10.0.0.Final |