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.digitalocean.com/community/tutorials/how-to-rewrite-urls-with-mod_rewrite-for-apache-on-ubuntu-16-04 |
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
PROCEDIMENTOS DO PHP | |
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install -y php7.0 |
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
#!/bin/bash | |
################################################################### | |
# Nome : backup_mysql.sh | |
# Script para Backup dos dados do MySQL # | |
# Criação : 05/09/2019 - Jocinardo Rodrigues # | |
# Ultima modificação : 05/09/2019 - Jocinardo Rodrigues # | |
################################################################### | |
# Changelog |
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
Alterar /var/temp/dir para /var/sentora/temp |
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
PostgreSQL database server provides pg_dump and psql utilities for backup and restore databases. This article will describe various ways to use of pg_dump command to backup database. Also you will learn how to restore datbase backup. | |
Backup and Restore Database in PostgreSQL | |
Below is some connections options which you can use for connecting remote server or authenticated server with all queries given in this article. | |
-d, –dbname=DBNAME database name | |
-h, –host=HOSTNAME database server hostname or ip | |
-p, –port=PORT database server port number (default: 5432) | |
-U, –username=NAME connect as specified database user | |
-W, –password force password prompt |
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
public void Processar() | |
{ | |
if (Fabricante == 1) | |
{ | |
using (var context = new RD2_Context()) | |
{ | |
ProdutoRepository repository = new ProdutoRepository(context); | |
List<Produto> produtos = repository.Todos_Produtos_Sem_Limit(); |
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
#!/bin/bash | |
#################### SCRIPT PARA BACKUP MYSQL #################### | |
# Definindo parametros do Email | |
# editar somente este cabecalho | |
DB_NAME='nome_do_banco' | |
DB_USER='usuario_do_banco' | |
DB_PASS='senha_do_banco' | |
VPS_NAME='Nome_da_sua_vps_ou_empresa' |
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
Como Resolver MMI Inválido? Olá caros leitores muitos de vocês estão se deparando com esse erro ou tá com esse erro por isto está aqui, então iremos colocar algumas truques e dicas que pode resolver seu problema. | |
Muitas vezes isso acontece com aparelhos que usa 2 CHIPS para seguir com o passo deixe só o chip que está apresentando esse erro. | |
A principal causa do erro é, portanto, alguma falha na comunicação entre o seu aparelho e o computador da sua operadora em algumas vezes pode ser causado por alguns aplicativos ou configurações feitas por alterações na hora de instalar ou até mesmo na desinstalação de um aplicativo que pode fazer alguma alteração e pode afetar no funcionamento do seu chip com a operadora. | |
ERRO NA CONEXÃO OU CÓDIGO MMI INVÁLIDO TIM, CLARO, VIVO, OI, CADASTRAR CHIP | |
Passo 1: | |
1-Desligue o aparelho e deixe só o chip que deseja |
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
Este tutorial explica como permitir conexões remotas ao servidor MySQL / MariaDB no Ubuntu 18.04. O comportamento padrão do Ubuntu MySQL Server bloqueia todas as conexões remotas. O que nos impede de acessar o servidor de banco de dados de fora. | |
Note que para permitir conexões remotas mysql, precisamos editar o arquivo de configuração principal do MySQL. Se você estiver usando o servidor de banco de dados MariaDB, o arquivo de configuração será "/etc/mysql/mariadb.conf.d/50-server.cnf" , se você instalou o arquivo de configuração do servidor de banco de dados MySQL, será: "/ etc / mysql / mysql .conf.d / mysqld.cnf " . | |
Abra o arquivo /etc/mysql/mariadb.conf.d/50-server.cnf (ou /etc/mysql/mysql.conf.d/mysqld.cnf ). | |
sudo vim /etc/mysql/mariadb.conf.d/50-server.cnf | |
Sob a seção [mysqld], localize a linha: | |
bind-address = 127.0.0.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
http://rafaelcouto.com.br/chat-simples-utilizando-websocket-vue-js-e-php/ |