sábado, 30 de março de 2019

Transferência de Custódia entre corretoras

Tem que preencher um formulário com os dados, tem que ser enviado assinado e com firma reconhecida para a sua assinatura para sua corretora atual (reconhecimento por autenticidade, não poderá ser por semelhança). Custou perto de R$ 6 cada firma.

Não precisa colocar o valor em reais, apenas a quantidade.
No tipo, coloquei cota para fundo imobiliário e tesouro direto.
Assinei lá no cartório.

Banco do Brasil taxas

Os caras cobram 10,18 reais para fazer TED entre bancos diferente para a conta de serviços essenciais, tá louco!

Não vale muito a pena ter conta no banco do brasil, melhor deixar lah só pra quando precisar sacar mais fácil.

sexta-feira, 29 de março de 2019

draftsight - paste to original coordinates

Colar para as coordenadas orginais:

_paste@sourceposition

ou

colar@posiçãoorigem

sexta-feira, 25 de janeiro de 2019

BricsCAD no Manjaro Linux

yaourt -S bricscad

Erro:
/opt/bricscad-legacy/bricscad/bricscad: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory

pacman -S lib32-gdk-pixbuf2 lib32-libcups lib32-gtk2 lib32-libgcrypt15

Na pasta: bricscad-legacy
ln -s /usr/lib32/libgdk-x11-2.0.so
ln -s /usr/lib32/libgnutls.so libgnutls.so.26
ln -s /usr/lib32/libgcrypt.so.11

Erro:
/opt/bricscad-legacy/bricscad/bricscad: /opt/bricscad-legacy/bricscad/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib32/libpng16.so.16)

Entrar na pasta briscad-legacy/bricscad
Remover o arquivo rm libz.so.1
ln -s /usr/lib32/libz.so.1

domingo, 9 de dezembro de 2018

converter de m4a para mp3, todos os arquivos de um diretorio

for f in *.m4a; do ffmpeg -i "$f" -acodec libmp3lame -ab 128k "${f%.m4a}.mp3"; done

sábado, 8 de dezembro de 2018

Metatrader 5 - Rico corretora

Usando o metatrader 5 para conta de daytrade na rico, fiquei impossibilitado de usar o homebroker e também o aplicativo da rico para android para fazer operação de posição ou swing trade. Fica complicado assim, ter que escolher entre day trade e posição.

Outro ponto complicado é que no metatrader o cursor em cruz não anda de tick em tick, isso dificulta para vc comprar em determinado preço, tem que ficar prestando bastante atenção nos números quebrados. Não sei se há opção para fazer o cursor em cruz andar de tick em tick, não achei.

Resumo da história: metatrader 5 cancelado.

sábado, 10 de novembro de 2018

Mouse HP X900 é ruim

Mouse não funciona direito em qualquer superfície, papel sulfite e mesa lisa não rola. Mouse ruim, não recomendo.

segunda-feira, 8 de outubro de 2018

Qgis 3.2.3 - Google maps

Adicionar google maps no layer do qgis

Tem que adicionar o XYZ Tiles
Preencher com URLs:

Roadmap
http://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z} 
Terrain
http://mt0.google.com/vt/lyrs=p&hl=en&x={x}&y={y}&z={z}
Altered roadmap
http://mt0.google.com/vt/lyrs=r&hl=en&x={x}&y={y}&z={z}
Satellite only
http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}
Terrain only
http://mt0.google.com/vt/lyrs=t&hl=en&x={x}&y={y}&z={z}
Hybrid
http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}


Para exportar para GeoTiff tem que clicar em cima da camada e ir em salvar como.

sábado, 22 de setembro de 2018

Pra que serve flush na comunicação serial

"The data is held in a memory buffer because memory is faster than disk i/o. Your data would be written to the file once you close the file, but I guess you want to read it wile you're writing it? To do that, the f.flush() suggested by @Gerard will cause the memory buffer to be written to your file; or at least to the system's disk cache if it's using one. You may also wish to consider adding an os.fsync(f) following the f.flush. This will ensure that the system's disk cache is also written to the file, and avoid data loss in the event of an "unexpected event".
As a general practice, I think I would avoid using a zero-sized buffer for your file. That would defeat the purpose of using memory buffers, which is to keep things moving briskly forward. But feel free to try it - the performance reduction may be irrelevant, depending upon your application: f=open("myFile.txt","w+",0)"

terça-feira, 28 de agosto de 2018

u blox 7

BU-353S4 VK-162

Anyone has any experience about trying to make the uBlox 7 receiver work
with RTKLib? 


 "u-blox 7 does not provide T-version of the module
at this moment.

RTKLIB requires T-version like LEA-5T or LEA-6T
to utilize raw pseudorange and carrier-phase.

So you cannot use u-blox 7 with RTKLIB. You had
better to wait for T-version of u-blox 7 or future 8.

regards,

Tomoji TAKAS"

Não rodou com rtklib mesmo deixando como solução Simples.
Ntrip com a RBMC-IP deu certo, mas precisa de outro receptor.




" Please let me explain some details to the actual and upcoming L1 receivers which are enabled with carrier phase raw data output to prevent any confusion here...



The u-blox NEO-6P is able to deliver RTKLIB capable raw data with 5 Hz update rate (officially and in fact up to 10 Hz) as well as the NEO-6T which is the classic timing receiver module.
Both receiver variants are ROM versions, that means their firmware is not upgradeable (in opposite to the newer LEA-6T which contains flash for user upgradeable firmware but is unfortunately limited in a very poor update rate of less than 2 Hz).

The NEO-6P is significantly more expansive than the NEO-6T, due to its integrated PPP feature (which is quite useless in RTKLIB application scenarios).
But anyway, this PPP goodie (in fact a smart implementation of SBAS together with a "carrier smoothing") makes that the NEO-6P is the most bang for the buck in autonomous operation modes.


The successor (NEO-7P) is flash based but nevertheless ready for an official update rate of 10 Hz, and is finally ready to use RTCM input instead resp. additional to SBAS.
So far, so good, but unfortunately it seems that there's still no GLONASS carrier phase raw data output.


So if I should try to give a short conclusion and recommendation, I'd like to say that NVS is still the first choice at the moment, if you want to realize any "pure RTKLIB" applications...

Best regards from Eastern Germany,
Hagen"



"The M8 only supports RXM-RAWX and RXM-SFRBX, not the older forms, you will need to use a version of RTKLIB that supports that, or modify it too."

 "he fact is that u-blox does not _want_ you to use M8F/M8N/M8Q with rtklib. And don't take everything that this guy writes in his blog for granted."

"he fact is that u-blox does not _want_ you to use M8F/M8N/M8Q with rtklib. And don't take everything that this guy writes in his blog for granted."

"Do I need CORS data for the relative position to be accurate ? My closest CORS station is 27km away. Although I have access to an RTVRN network that works well. but I haven't done too much real time with it yet.
-  No, but it's not clear what you've actually tried beyond just "reading" the tutorials. Once you've established what the "process" is you can apply it to your own situation, and other unique things you might want to do without needing the specific use case mapped out."

"raw data from an M8N running 3.01 firmware, Nice!"

"I have tried to enable TRK-MEAS & TRK-SFRBX on my 3.01 M8N, and I don’t get any output. Is there a different command to enable them than there was on 2.01?"

"You'd use UBX-CFG-MSG (06 01) to enable message TRK-MEAS (03 10), use the UBX-??-?? (custom) dialog"

"MAX-M8 does not support the SFRBX messages.  Only the NEO-M8T and LEA-M8T precise timing receivers provide SFRBX messages.  This is described in the document: u-blox M8 Receiver Description and Protocol Specification under UBX-RXM-SFRBX."

"CFG-GNSS behaviour on MAX-M8Q-0-10 ROM CORE 3.01 (107888)"





sábado, 2 de junho de 2018

pao de queijo


0,5 kg de polvilho azedo
260 ml de leite
130 ml de óleo
1 colher de sal (aquela menorzinha)
2 ovos
120 gramas de queijo ralado


Ferver o leite com o óleo e o sal e jogar em cima do polvilho.
Deixe esfriar
Misture os ovos e o queijo ralado.
Sove bem a massa até a massa ficar homogênea e sem grudar. Se precisar coloque um fio de óleo ou leite.
Caso esteja grudando, passe margarina nas mãos. Normalmente a massa não fica grudando.

Unte a forma com margarina, e coloque os paezinhos nela.

No forno pré-aquecido, deixe por mais uns 30 minutos (até ficar coradinho).


obs. Fiz uma vez com uns 80g de queijo ralado e ficou igual pedra.



sábado, 5 de maio de 2018

eCAC Receita Federal

Site reclama de certificado de segurança inválido.

O servidor www1.cav.receita.fazenda.gov.br usa um certificado de segurança inválido.

O certificado não é considerado confiável porque o certificado do expedidor é desconhecido.
(Código do erro: sec_error_unknown_issuer)

Para corrigir, é necessário instalar os certificados de segurança:

http://idg.receita.fazenda.gov.br/orientacao/tributaria/senhas-e-procuracoes/senhas/certificados-digitais/alerta-de-pagina-nao-confiavel-atualizacao-da-cadeia-de-certificacao

-----------------

Para instalar as novas cadeias de certificados, clique nos links abaixo, de acordo com a cadeia de certificação do seu Certificado Digital:
.gov.br/credenciadas/RAIZ/ICP-Brasilv2.crt>
  • Autoridade Certificadora da Secretaria da Receita Federal v3 icpbrasil
  • .gov.br/credenciadas/RFB/v2/p/AC_Secretaria_da_Receita_Federal_do_Brasil_v3.crt>
  • Autoridade Certificadora do SERPRORFB v4  icpbrasil
  • .gov.br/credenciadas/RFB/v2/AC_Serpro_RFB_v4.crt> e
  • Autoridade Certificadora SERPRORFBSSL icpbrasil
  • .gov.br/credenciadas/RFB/v2/Autoridade_Certificadora_do_SERPRO_RFB_SSL.crt> .gov.br/credenciadas/RAIZ/ICP-Brasilv5.crt>
  • Autoridade Certificadora Secretaria da Receita Federal do Brasil v4 icpbrasil
  • .gov.br/credenciadas/RFB/v5/p/AC_Secretaria_da_Receita_Federal_do_Brasil_v4.crt>
  • Autoridade Certificadora SerproRFB v5 icpbrasil
  • .gov.br/credenciadas/RFB/v5/p/AC_Secretaria_da_Receita_Federal_do_Brasil_v4.crt>

    terça-feira, 1 de maio de 2018

    banco do brasil - sms

    adicionar celular para recebimento de sms e liberar computador

    Clicar em outros no terminal de auto-atendimento até aparecer a opção Segurança --> Adicionar número para receber SMS --> Novo Dispositivo.

    warsaw banco do brasil manjaro

    instalar o warsaw:

    yaourt -S warsaw
    systemctl start warsaw.service
    systemctl enable warsaw.service
    systemctl status warsaw.service

    Reiniciar o sistema.

    segunda-feira, 23 de abril de 2018

    VITAMINA D3 NOS ESTADOS UNIDOS

    SITE CONFIÁVEL PARA IMPORTAR SUPLEMENTOS PARA O BRASIL.
    POSSUI DIVERSOS PRODUTOS.
    TENTE NÃO USAR O MODO DE ENVIO DHL PARA NÃO SER TAXADO NO BRASIL

    USE O CÓDIGO DKB836 NO MOMENTO DA COMPRA E OBTENHA DESCONTO

    https://br.pipingrock.com/?rwcode=DKB836

    sábado, 14 de abril de 2018

    Manjaro pkgfile e xev

    Descobrir em qual pacote um determinado programa está.
    Encontrar pacote com programa

    pacman -S pkgfile

    pkgfile --update

    Qual pacote instalar para ter o xev?

    pkgfile xev
    --> extra/xorg-xev

    pacman -S xorg-xev

    ------------------------------------------------

    Mouse dando clique duplo quando acionado clique simples.
    Verificar se há problema com o mouse usando xev

    xev | grep ButtonRelease

    -------------------------------------------------

    Detectado vários acionamentos do mouse quando mantendo constante o botão direito do pressionado. Mouse microsoft foi-se. Problema chato pra cacete, solucionado.

    sábado, 7 de abril de 2018

    BOINC no Manjaro

    Erro de conexão, não foi possível conectar ao localhost 127.0.0.1

    Problema de permissão.

    Deve-se adicionar o usuário ao grupo boinc.

    # sudo usermod -a -G boinc usuario

    Deve-se dar permissão ao arquivo gui_rpc_auth.cfg
    # cd ~/
    # chmod 640 gui_rpc_auth.cfg

    Para usar a GPU tem que adicionar video ao grupo boinc
    # sudo gpasswd -a boinc video
    
    
    
    
    
    
    
    

    terça-feira, 3 de abril de 2018

    Virtualenv Pycharm


    virtualenv cria uma pasta com as bibiotecas que vocẽ precisa para o seu programa sem modificar as bibliotecas globais que estão no sistema, uma vez que o virtualenv cria um sistema isolado. Mas aqui deu erro por causa do "Á" da Área de trabalho.

    Instalar:
    pip install virtualenv

    Criar um virtualenv chamado de venv:
    virtualenv venv -p python2.7

    Ativar o virtualenv criado anteriormente (venv)
    cd venv
    source activate

    Cuidado com nome da pasta se contém caractere especial:
    virtualenv vm -p python2.7
    Running virtualenv with interpreter /usr/bin/python2.7
    New python executable in /home/dclarks/Área de trabalho/TRANSCOR/vm/bin/python2.7
    Also creating executable in /home/dclarks/Área de trabalho/TRANSCOR/vm/bin/python
    Traceback (most recent call last):
      File "", line 1, in
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14: ordinal not in range(128)
    ERROR: The executable /home/dclarks/Área de trabalho/TRANSCOR/vm/bin/python2.7 is not functioning
    ERROR: It thinks sys.prefix is u'/home/dclarks/\xc1rea de trabalho/TRANSCOR' (should be u'/home/dclarks/\xc1rea de trabalho/TRANSCOR/vm')
    ERROR: virtualenv is not compatible with this system or executable

    domingo, 1 de abril de 2018

    Instalar o pulseaudio-equalizer no Manjaro

    Instalar o pulseaudio-equalizer.

    yaourt -S pulseaudio-equalizer

    Executar com o comando:

    qpaeq

    Caso dê o erro abaixo:

    There was an error connecting to pulseaudio, please make sure you have the pulseaudio dbus module loaded, exiting.

    Executar o comando:

    pulseaudio --kill

    pactl load-module  module-dbus-protocol

    pulseaudio --start

    qpaeq

    Para deixar permanente, adicionar a linha seguinte no arquivo /etc/pulse/default.pa

    load-module module-dbus-protocol


    usando dd para gravar no pendrive

    sudo dd if=/home/mint/Desktop/manjaro-xfce-17.1.6-stable-x86_64.iso of=/dev/sdb bs=16M && sync

    Testado e aprovado