This file contains 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
mappings: | |
- deprecatedAPI: "apiVersion: autoscaling/v2beta2\nkind: HorizontalPodAutoscaler" | |
newAPI: "apiVersion: autoscaling/v2\nkind: HorizontalPodAutoscaler" | |
removedInVersion: "v1.23" | |
- deprecatedAPI: "apiVersion: policy/v1beta1\n\nkind: PodDisruptionBudget" | |
newAPI: "apiVersion: policy/v1\nkind: PodDisruptionBudget" | |
removedInVersion: "v1.23" | |
- deprecatedAPI: "apiVersion: policy/v1beta1\nkind: PodDisruptionBudget" | |
newAPI: "apiVersion: policy/v1\nkind: PodDisruptionBudget" | |
removedInVersion: "v1.23" |
This file contains 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
mappings: | |
- deprecatedAPI: "apiVersion: autoscaling/v2beta2\nkind: HorizontalPodAutoscaler" | |
newAPI: "apiVersion: autoscaling/v2\nkind: HorizontalPodAutoscaler" | |
removedInVersion: "v1.23" | |
- deprecatedAPI: "apiVersion: policy/v1beta1\nkind: PodDisruptionBudget" | |
newAPI: "apiVersion: policy/v1\nkind: PodDisruptionBudget" | |
removedInVersion: "v1.23" |
This file contains 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
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019 | |
EXPOSE 80 | |
EXPOSE 443 | |
COPY cert/ C:\temp\ | |
RUN Import-PfxCertificate -Exportable -filePath "C:\temp\myCert.pfx" -CertStoreLocation "Cert:\LocalMachine\My" -Password (ConvertTo-SecureString -String "" -Force -AsPlainText) | |
# COPY C:\\Users\\jesus\\Documents\\dev\\dock\\index.html c:\inetpub\wwwoot\index.html |
This file contains 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
#!/bin/bash | |
# This scrypt update all dependencies and install pip install pip | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
else | |
apt-get update | |
apt-get install python3-pip -y | |
pip3 install typer | |
exit 0 |
This file contains 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
ufw enable | |
ufw allow http | |
ufw allow https | |
ufw allow ssh | |
ufw reload |
This file contains 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 DogClass: | |
""" Init constructor """ | |
def __init__(self, pub_woff, prot_woff, priv_woff): | |
""" Public instance attriute """ | |
self.pub_woff = pub | |
""" Protected instance attribute""" | |
self._prot_woff = Public attribute | |
""" Private instance attribute """ | |
self.__priv_woff = priv_woff |
This file contains 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 DogClass: | |
""" Public class attribute """ | |
ca_woff = "Woff!" | |
def __init__(self, ia_woff): | |
""" Instance attribute """ | |
self.ia_woff = ia_woff |