The following debugging information was generated by Atom Beautify
on Wed Jan 29 2020 15:17:33 GMT+0100 (CET)
.
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
class AnyPromise { | |
constructor(promises) { | |
this.promises = promises; | |
this.successes = []; | |
this.errors = []; | |
this.thenCallback = () => { console.error('then not defined'); }; | |
this.catchCallback = () => { console.error('catch not defined'); }; | |
this.finallyCallback = () => {}; | |
this.awaitPromises(); | |
} |
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
export default class AnySuccessfulPromise { | |
constructor(promises) { | |
this.promises = promises; | |
this.successes = []; | |
this.errors = []; | |
this.thenCallbacks = []; | |
this.catchCallback = () => { | |
console.error("catch not defined"); | |
}; | |
this.finallyCallbacks = []; |
I hereby claim:
- I am stefanwallin on github.
- I am stefan_wallin (https://keybase.io/stefan_wallin) on keybase.
- I have a public key ASCt8QiLBDzHRzjy0V0PvNTeOqG_lW_eFB8lv-YkPpmptgo
To claim this, I am signing this object:
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
MIT License | |
Copyright (c) 2015 - present Stefan Wallin | |
All rights reserved. | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
Avinstallera Docker Desktop:
- Välj Troubleshoot från menyn
- Klicka på Uninstall valet i dialogen som dyker upp Installera colima
brew install docker
brew install colima
[[ $(uname -m) == "arm64" ]] && curl -L --create-dirs https://github.com/docker/buildx/releases/download/v0.7.1/buildx-v0.7.1.darwin-arm64 --output ~/.docker/cli-plugins/docker-buildx && chmod +x ~/.docker/cli-plugins/docker-buildx
chmod +x ~/.docker/cli-plugins/docker-buildx
colima start
# Colima tar lång tid, 20 min typ har rapporterats, för mig tog det 2 minuter. ☕
User --all requests--> LoadBalancer
LoadBalancer --authenticated requests--> jwtmiddleware
jwtMiddleware --get user--> DB
DB --user--> jwtMiddleware
jwtMiddleware --validJWTUser--> rbacMiddleware
rbacMiddleware --authorizedUser--> endpointHandler
endpointHandler --result--> User
OlderNewer