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
<?xml version="1.0" encoding="utf-8"?> | |
<PEDIDO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<cabecalho> | |
<id>17</id> | |
<id_aplicativo>19</id_aplicativo> | |
<id_empresa>1</id_empresa> | |
<id_vendedor>1</id_vendedor> | |
<id_tabela>0</id_tabela> | |
<id_rota>0</id_rota> | |
<data>2020-02-05</data> |
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
https://www.converttoany.com/convert-sql-table-to-class |
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
https://computingforgeeks.com/how-to-install-php-7-3-on-centos-7-fedora/ |
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
<VirtualHost *:80> | |
DocumentRoot "/www/example1" | |
ServerName blackdog.straight8.com | |
ServerAlias whitedog.straight8.com | |
# Other directives here | |
</VirtualHost> |
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
datasets: [{ | |
label: "Faturamento", | |
lineTension: 0.3, | |
backgroundColor: "rgba(78, 115, 223, 0.05)", | |
borderColor: "rgba(78, 115, 223, 1)", | |
pointRadius: 3, | |
pointBackgroundColor: "rgba(78, 115, 223, 1)", | |
pointBorderColor: "rgba(78, 115, 223, 1)", | |
pointHoverRadius: 3, | |
pointHoverBackgroundColor: "rgba(78, 115, 223, 1)", |
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
// Localizo o objeto no vanco de dados | |
var Objeto = context.Set<Identificadores>().FirstOrDefault(u => u.EmpresaId == EmpresaId); | |
// Faço as modanças que desejo fazer | |
Objeto.Contador = 1323; | |
// Atacho | |
context.Set<Identificadores>().Attach(Objeto); | |
// Inforço os campos que foram alterados |
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
CREATE TABLE `tb_nf_entrada` ( | |
`ID_COMPRA` int(11) NOT NULL AUTO_INCREMENT, | |
`CRT` longtext, | |
`modFrete` int(11) NOT NULL, | |
`indFinal` int(11) NOT NULL, | |
`idDest` int(11) NOT NULL, | |
`indPres` int(11) NOT NULL, | |
`indPag` int(11) NOT NULL, | |
`tpAmb` int(11) NOT NULL, | |
`Fornecedor_Id` int(11) NOT NULL, |
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 postgis-2.4 | |
sudo -u postgres psql | |
CREATE EXTENSION adminpack; | |
CREATE DATABASE dbms_refood; | |
\connect dbms_refood; | |
CREATE SCHEMA postgis; |
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
setenforce 0 | |
setsebool -P httpd_can_network_connect_db on |
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
mcedit /etc/apache2/apache2.conf | |
DocumentRoot "/var/www/html/laravel/public/" | |
<Directory "/var/www/html/laravel/public"> | |
Allowoverride All mudar para all | |
</Directory> | |
salvar e reiniciar o serviço |