Francisco Ripoli's Blog A blog about tech and general stuff

Stopping MongoDB from automatically starting up on Ubuntu

Edit the file /etc/default/mongod - you'll probably have to create it

add the line


restart =)

Habilitando chamadas SIP/VoIP nativo no Motorola Moto G

O celular Motorola Moto G por padrão não permite fazer chamadas pela internet usando SIP/VoIP.

Com esse guia iremos habilitar esse tipo de chamada sem termos que instalar nenhum app para isso.

Os requisitos básicos são:

  • Bootloader desbloqueado
  • Root
  • Um gerenciador de arquivos com permissões root

Uma vez que seu sistema esteja pronto, navegue até a pasta


e abra o arquivo

no final do arquivo, onde diz

    <feature name="" />

adicione uma linha para que fique da seguinte forma

    <feature name="" />
    <feature name=""/>

Salve o arquivo e reinicie o celular.

Para configurar seu serviço VoIP abra a tela para fazer chamada, abra o menu e selecione configurações de chamada. Em configurações de chamadas de internet configure sua conta.

Configure também quando você quer ser perguntado para fazer chamadas usando seu serviço VoIP.

Pronto, agora você pode selecionar chamadas pela internet quando ligar para alguém.

Updating ssh host key on Windows

If, like me, you are unlucky enough to work in a project where you have no choice but use Windows as your OS you might run into this.

When attempting to ssh, or perform a git action also using ssh, and the host you connect to was, for whatever reason, updated and got a new ssh host key you get this error:

The server's host key does not match the one PuTTY has
cached in the registry. This means that either the
server administrator has changed the host key, or you
have actually connected to another computer pretending
to be the server.
The new rsa2 key fingerprint is:
ssh-rsa 1024 xx:xx:xx...:xx
Connection abandoned.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

To fix this

Windows run -> regedit

Navigate to


Delete the key with the respective host name

Now you might need to add the new host key. In my case I got it working with plink (PuTTY command line tool)

plink -P PORT_NUMBER -v

What's Jekyll?

Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From the project's readme:

Jekyll is a simple, blog aware, static site generator. It takes a template directory [...] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.

It's an immensely useful tool and one we encourage you to use here with Hyde.

Find out more by visiting the project on GitHub.