We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 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
id;numero;titulo;personagem;editora | |
11;24;"MEMORIA APAGADA";WOLVERINE;"MARVEL COMICS" | |
12;26;"ENTERRADO VIVO";WOLVERINE;"MARVEL COMICS" | |
13;3;"SAMURAIS EM GUERRA";WOLVERINE;"MARVEL COMICS" | |
14;39;"CODINOME WOLVERINE";WOLVERINE;"MARVEL COMICS" | |
15;44;"MORTE EM FAMÍLIA";WOLVERINE;"MARVEL COMICS" | |
1;1;"A MORTE DO SUPERMAN";SUPERMAN;"DC COMICS" | |
2;2;"A MORTE DO SUPERMAN";SUPERMAN;"DC COMICS" | |
3;3;"A MORTE DO SUPERMAN";SUPERMAN;"DC COMICS" | |
4;2002;"CORPORAÇÃO DO SUPERMAN";SUPERMAN;"DC COMICS" |
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
import numpy as np | |
import pydataset | |
#Criação de um dicionário com dados de alunos | |
alunos_dic = { | |
'nome': ['João', 'Maria', 'José', np.nan, 'Pedro', 'Judas', 'Tiago'], | |
'sexo': ['M', 'F', 'M', np.nan, 'M', 'M', np.nan], | |
'idade': [14, 13, np.nan, np.nan, 15, 13, 14], | |
'nota': [4, 10, 7, np.nan, 8, 9, 7] | |
} |
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
import pandas as pd | |
# Trabalhando com nomes de colunas | |
estados = pd.DataFrame([ | |
['AC', 'Acre', 'Rio Branco'], ['AL', 'Alagoas', 'Maceió'],['AP', 'Amapá', 'Macapá'], | |
['AM', 'Amazonas', 'Manaus'],['BA', 'Bahia', 'Salvador'],['CE', 'Ceara', 'Fortaleza'], | |
['DF', 'Distrito Federal', 'Brasília'],['ES', 'Espírito Santo', 'Vitória'], | |
['GO', 'Goiás', 'Goiânia'], ['MA', 'Maranhão', 'São Luiz'], ['MT', 'Mato Grosso', 'Cuiabá'], | |
['MS', 'Mato Grosso do Sul', 'Campo Grande'], ['MG', 'Minas Gerais', 'Belo Horizonte'], | |
['PA', 'Pará', 'Belém'],['PB', 'Paraíba', 'João Pessoa'],['PR', 'Paraná', 'Curitiba'], |
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
Delete from Custas; | |
Delete from CustasPublicas; | |
INSERT INTO `CustasPublicas` (`id`,`idCustaPublica`,`interior`,`nome`,`tipoSelo`,`vigenciaFim`,`vigenciaIni`) VALUES (5,8,0,'Ato Notarial - Tabela I (capital)','NOTARIAL','2020-12-31 00:00:00','2009-05-27 00:00:00'); | |
INSERT INTO `CustasPublicas` (`id`,`idCustaPublica`,`interior`,`nome`,`tipoSelo`,`vigenciaFim`,`vigenciaIni`) VALUES (6,25,0,'Reconhecimeto de Firma (capital)','RECFIRMA','2020-12-31 00:00:00','2009-05-27 00:00:00'); | |
INSERT INTO `CustasPublicas` (`id`,`idCustaPublica`,`interior`,`nome`,`tipoSelo`,`vigenciaFim`,`vigenciaIni`) VALUES (7,27,0,'Autenticação Notas (capital)','AUTENTICACAO','2020-12-31 00:00:00','2009-05-27 00:00:00'); | |
INSERT INTO `CustasPublicas` (`id`,`idCustaPublica`,`interior`,`nome`,`tipoSelo`,`vigenciaFim`,`vigenciaIni`) VALUES (8,36,0,'Procuração Tabelionato de Notas (capital)','PROCURACAO','2020-12-31 00:00:00','2009-05-27 00:00:00'); | |
INSERT INTO `Custas` VALUES (1,17525.75,9999999999.99,900000.01,'Item I - Escrituras Públicas |
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
# Passo 1: Faça o fork do repositório: https://github.com/buritech/buriapp | |
# Passo 2: Clone o seu fork | |
$ git clone git@github.com:marciopalheta/buriapp.git | |
# Passo 3: Entre na nova pasta | |
$ cd buriapp | |
# Passo 4: consultar branchs gerados (opicional) | |
$ git branch | |
# Passo 5: Adicionar repositório da buritech | |
$ git remote add "buritech" git@github.com:buritech/buriapp.git | |
# Passo 5.5: consultar repositorios remotos: |
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 gnome-keyring gdebi gdebi-core | |
sudo apt-get install gtk2-engines:i386 libart-2.0-2:i386 libcairo2:i386 libcanberra-gtk0:i386 libdatrie1:i386 libgail-common:i386 libgconf2-4:i386 libgtk2.0-0:i386 liblua5.1-0:i386 libpango1.0-0:i386 libpixman-1-0:i386 libqt4-network:i386 libqt4-test:i386 libqtcore4:i386 libthai0:i386 libbonobo2-0:i386 libglade2-0:i386 libgnomecanvas2-0:i386 libidl0:i386 liborbit2:i386 libwmf0.2-7:i386 gtk2-engines-murrine:i386 libxml2:i386 libxslt1.1:i386 libxt6:i386 lib32nss-mdns libnspr4-0d:i386 libnss3-1d:i386 | |
Now, download AdobeAIRInstaller.bin (http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin) version 2.6 | |
and MockupsForDesktop64bit.deb (http://builds.balsamiq.com/b/mockups-desktop/MockupsForDesktop64bit.deb) | |
cd ~/Downloads | |
chmod +x AdobeAIRInstaller.bin # make Adobe AIR executable | |
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu ./AdobeAIRInstaller.bin # install Adobe AIR |
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 add-apt-repository ppa:nilarimogard/webupd8 | |
sudo apt-get update | |
sudo apt-get install update-java |
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
The problem | |
Since Glassfish version 3.1, the server could be only administrated remotely, when the secure admin feature is enabled (see here). | |
New since 3.1.2+ is, that every administration account must have a password if you want to enabled remote secure admin. | |
The next steps are all done in the asadmin console. You can start this under | |
Linux | |
[code]./<GlassfishDirectory>/bin/asadmin[/code] | |
Windows |
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
Se, ao tentar atualizar a lista de pacotes no Ubuntu, | |
você se deparar com as seguintes mensagens de erro (ou similares): | |
W: Um erro ocorreu durante a verificação da assinatura. O repositório não foi atualizado e o índice anterior de arquivo será usado. Erro GPG: http://extras.ubuntu.com oneiric Release:As seguintes assinaturas eram inválidas: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com> | |
W: Erro GPG: http://archive.canonical.com oneiric Release: As seguintes assinaturas eram inválidas: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com> | |
W: Erro GPG: http://ppa.launchpad.net oneiric Release: As seguintes assinaturas eram inválidas: BADSIG 9B0BBF00E2D0EBE9 Launchpad PPA for RAVEfinity Project | |
Aqui, funcionou com a seguinte sequência de comandos no terminal: |
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
CREATE DATABASE IF NOT EXISTS `rh` /*!40100 DEFAULT CHARACTER SET latin1 */; | |
USE `rh`; | |
-- MySQL dump 10.13 Distrib 5.5.34, for debian-linux-gnu (x86_64) | |
-- | |
-- Host: localhost Database: rh | |
-- ------------------------------------------------------ | |
-- Server version 5.5.34-0ubuntu0.13.04.1 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
NewerOlder