Skip to content

Instantly share code, notes, and snippets.

View fabiotatsuo's full-sized avatar

Fabio Tatsuo fabiotatsuo

View GitHub Profile
@fabiotatsuo
fabiotatsuo / kafka mqtt install.md
Last active February 18, 2021 04:38
Kafka 2.7.0 install Mac OS, Mqtt connector
@fabiotatsuo
fabiotatsuo / vernemq.md
Last active January 20, 2021 00:56
Vernemq install Mac OS
@fabiotatsuo
fabiotatsuo / emqx install.md
Last active January 28, 2021 22:07
EMQX install binary or source Mac OS

Quickstart

https://docs.emqx.io/en/broker/latest/getting-started/install.html

Download binary

Brew option conflict if Cassandra installed, also use nodetool.

$ https://github.com/emqx/emqx/releases
@fabiotatsuo
fabiotatsuo / intelbras-vip-3230-w.md
Last active September 15, 2020 10:34
Configurar câmera Intelbrás Vip 3230 w no NVD 3116

Configurar câmera

  1. Abrir tampa embaixo da câmera e clicar por 10-15 segundos no botão ao lado do slot do cartão SD.

    Caso a câmera seja nova, não precisa resetar.

  2. Com o computador perto da câmera conecte pelo wifi na câmera a ser configurada.

    Caso fique alternando e desconectando da câmera e conectando a rede internet, apague a rede internet para não conectar automaticamente.

@fabiotatsuo
fabiotatsuo / rollup-async-await.md
Last active May 26, 2020 02:33
Rollup 2.10.9 async/await
@fabiotatsuo
fabiotatsuo / yugabyte.md
Last active January 13, 2022 22:29
Yugabyte

Quickstart

https://docs.yugabyte.com/latest/quick-start/

Download

curl -O https://downloads.yugabyte.com/releases/2.11.1.0/yugabyte-2.11.1.0-b305-darwin-x86_64.tar.gz

tar xvfz yugabyte-2.11.1.0-b305-darwin-x86_64.tar.gz && cd yugabyte-2.11.1.0/
@fabiotatsuo
fabiotatsuo / rust.md
Last active May 20, 2024 00:03
Install Rust, Cargo and Rustup Toolchain inside FreeBSD 12 Jail
  1. Install rust

    jail-app is name of jail.

    $ jexec jail-app
    $ pkg install curl
    

    Download and install rustup
    $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

List all users
SELECT user, host FROM mysql.user;
Delete user
DROP USER 'user'@'host';
Create user
CREATE USER 'username'@'host' IDENTIFIED WITH mysql_native_password BY 'psswd';
Grant privileges on db
Files
1) ~/.iterm2_shell_integration.bash
2) vim ~/.profile
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"