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 AirlockScheme { | |
| constructor(auth, options) { | |
| this.$auth = auth; | |
| this.name = options._name; | |
| this.options = Object.assign({}, DEFAULTS, options); | |
| } | |
| mounted() { | |
| this.$auth.ctx.app.$axios.defaults.withCredentials = 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
| #!/usr/bin/env bash | |
| set -eu | |
| # Solves the problem with open ports with docker and ufw | |
| # As Docker uses the nat table, the filter table FORWARD chain is used and does not touch ufw-input chains as expected. | |
| # Even for ufw-forward chains it would not work, as DOCKER chains are inserted in front. | |
| # This is a simple fix that worked for me. | |
| # https://github.com/moby/moby/issues/4737#issuecomment-420264979 | |
| # Unfortunately this fix stops forwarding users origin ip to host mode configured service |
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
| //Notes | |
| // | |
| //For mapping the 100-900 colors we have mapped as follows: | |
| //darkest:900 | |
| //darker:700 | |
| //dark:600 | |
| //base:500 | |
| //light:400 | |
| //lighter:300 | |
| //lightest:100 |
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
| $TTL 60 | |
| dev. IN SOA icecream root.icecream.dev ( | |
| 472 ; Serial | |
| 10 ; Refresh | |
| 10 ; Retry | |
| 120 ; Expire | |
| 120 ) ; Negative Cache TTL | |
| ; | |
| dev. IN NS icecream.dev. |