- Release Date: 26/04/2012
- End of Life date: 28/04/2017
- indent-guide-improved
- open-in-browser
- pigments
- open-recent
- file-icons
- ask-stack
- pane-layout-plus
- multi-wrap-guide
- atom-flask
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 script extrai os dados públicos de um servidor contidos no portal da transparencia: portaltransparencia.gov.br/servidores | |
# ultima atualizacao: 14/11/18 - Antonio Rodrigo dos Santos Silva | |
from urllib.request import Request, urlopen | |
from bs4 import BeautifulSoup | |
URL='http://www.portaltransparencia.gov.br/servidores/2506291' | |
page = urlopen(URL) | |
soup = BeautifulSoup(page, "html.parser") | |
data1 = soup.find(class_='dados-tabelados') | |
data2 = data1.find_all('span') |
Details:
- Apache version is 2.0 - https://archive.apache.org/dist/httpd/binaries/win32/apache_2.0.35-win32-x86-no_ssl.msi
- Apache dir is: C:\apache
- Put it on <apache_dir>\conf
# Based upon the NCSA server configuration files originally by Rob McCool.
#
- Put it on C:\Windows as php.ini.
- PHP version is: 5.0 - http://museum.php.net/php5/php-5.0.0-Win32.zip
- PHP folder is: C:\php5
- Copy php5ts.dll from C:\php5 to C:\Windows\System and C:\Windows\System32
Access Prompt and input:
mysqld -u
On mysql prompt, input:
UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
Enter:
C:\Windows\System32\drivers\etc
Edit "hosts" file:
# Blocklist for use with hosts files to block ads, trackers, and other nasty things
#
Este é um passo a passo que ilustra como disponibilizar um aplicativo Flask usando uma Gunicorn e Supervisor.
- Flask: Server backend
- Nginx: Reverse proxy
- Gunicorn: Deploy flask app
- Supervisor: Monitor and control gunicorn process
NewerOlder