######################################################################
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
/* ------------------------------------------------------------------------------ | |
* | |
* # Gulp file | |
* | |
* | |
* Autor: Alex Ishida | |
* Versão: 1.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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Teste JSONP - API do GITHUB</title> | |
<link rel="shortcut icon" href="/favicon.ico" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
<script src='https://code.jquery.com/jquery-3.1.0.min.js'></script> |
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
https://help.ubuntu.com/community/Boot-Repair |
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
sudo apt-get install sendmail | |
sudo sendmailconfig | |
sudo pico /etc/hosts | |
127.0.0.1 197b43000208 localhost localhost.localdomain | |
::1 197b43000208 localhost ip6-localhost ip6-loopback | |
fe00::0 ip6-localnet | |
ff00::0 ip6-mcastprefix |
######################################################################
https://medium.com/@ageitgey/machine-learning-is-fun-80ea3ec3c471
https://medium.com/@ageitgey/machine-learning-is-fun-part-2-a26a10b68df3
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
sudo sh -c "echo -n 'usuario:' >> /etc/nginx/.htpasswd" | |
sudo sh -c "openssl passwd senha >> /etc/nginx/.htpasswd" | |
cat /etc/nginx/.htpasswd | |
# Config do nginx | |
server { |
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
# Gerando certificados para SSL Self Signed | |
openssl req \ | |
-newkey rsa:4096 -nodes -sha256 -keyout domain.key \ | |
-x509 -days 3650 -out domain.crt | |
# Gerando CSR | |
openssl req \ |
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
# Adicionar em conf\tomcat-users.xml | |
<?xml version="1.0" encoding="UTF-8"?> | |
<tomcat-users> | |
<role rolename="manager-script"/> | |
<user username="admin" password="admin" roles="manager-script"/> | |
</tomcat-users> |
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
server { | |
listen 80; | |
server_name seusite.com; | |
return 301 http://www.seusite.com$request_uri; | |
} | |
server { |
OlderNewer