-
Se ainda não tens... instala o python https://www.python.org/downloads/
-
depois fazes download do ficheiro validar.py
-
e também do saftpt1.04_01.xsd
-
mete ambos numa pasta
-
para ser mais simples arrasta o ficheiro do saft para cima do validar.py
-
o processo de validação vai iniciar, caso haja algum erro aparece o motivo do erro e o valor com erro!
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
xsd maindoc\UBL-ApplicationResponse-2.1.xsd common\UBL-CommonAggregateComponents-2.1.xsd common\UBL-CommonBasicComponents-2.1.xsd common\UBL-CommonExtensionComponents-2.1.xsd common\UBL-QualifiedDataTypes-2.1.xsd common\UBL-UnqualifiedDataTypes-2.1.xsd common\CCTS_CCT_SchemaModule-2.1.xsd /classes /namespace:UBL_ACAMPOS /nologo /order |
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
apt install curl apt-transport-https gnupg | |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
curl https://packages.microsoft.com/config/debian/10/prod.list | tee /etc/apt/sources.list.d/msprod.list | |
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | tee /etc/apt/sources.list.d/msprod.list | |
apt-get update | |
apt-get install -y mssql-server mssql-tools unixodbc-dev | |
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile | |
source ~/.bashrc | |
/opt/mssql/bin/mssql-conf setup | |
# follow the steps! |
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
# install apache | |
apt-get install apache2 | |
# install MariaDB | |
apt install mariadb-server | |
# configure MariaDb root Password | |
mysql_secure_installation | |
# install php and configure apache | |
apt install php libapache2-mod-php php-gd php-mysql php-pear libgd-tools |
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
[Unit] | |
Description=MyService Description | |
[Service] | |
WorkingDirectory=/path/to/app/ | |
ExecStart=/usr/bin/dotnet /path/to/app/App.dll | |
Restart=always | |
# Restart service after 10 seconds if the dotnet service crashes: | |
RestartSec=10 | |
KillSignal=SIGINT |
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
#Depending on version one of the following files must exist | |
root@host:/ nano /etc/fail2ban/action.d/iptables-blocktype.conf | |
or | |
root@host:/ nano /etc/fail2ban/action.d/iptables-common.conf | |
comment the line |
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/