Skip to content

Instantly share code, notes, and snippets.

View tatosjb's full-sized avatar
🌎
Working from home

Altair J. Fernandes tatosjb

🌎
Working from home
View GitHub Profile
@tatosjb
tatosjb / configure_alias.sh
Last active March 11, 2024 23:54
Create alias for docker compose to docker-compose
# This process establishes an alias for the new docker compose command to ensure compatibility with the previous docker-compose command.
sudo touch /usr/bin/docker-compose
echo 'docker compose --compatibility "$@"' | sudo tee /usr/bin/docker-compose
sudo chmod +x /usr/bin/docker-compose
@tatosjb
tatosjb / souce_accounts.md
Created April 28, 2023 20:49
blueonion/saved_data

Source accounts

Production

INSERT INTO public.source_accounts
(id, company_id, integration_id, source_id, metadata, created_at, updated_at)
VALUES(8, 716, 2245, 234, '{}'::jsonb, '2023-04-14 14:23:39.429', '2023-04-14 14:23:39.429');
INSERT INTO public.source_accounts
(id, company_id, integration_id, source_id, metadata, created_at, updated_at)
@tatosjb
tatosjb / MANJARO_TIPS.md
Last active August 24, 2022 15:39
Manjaro tips

Headset is not loading

Context:

  • My audio is working but manjaro is not rocognizing my headset speaker(sound output) or headset microphone(sound input)
  • How to reset my audio configuration in manjaro
  • How rollback manjor's audio configuration

Solution

@tatosjb
tatosjb / Política de privacidade.md
Last active January 20, 2021 15:16
Política de privacidade do app Contagem de Estoque

Política de privacidade

SEÇÃO 1 - O QUE FAREMOS COM ESTA INFORMAÇÃO?

Quando você usa sua câmera para ler um codigo de barras, processamos as imagens de sua câmera para identificarmos o código de barras e atualizar os devidos itens na base de dados local do aplicativo.

SEÇÃO 2 - CONSENTIMENTO

Como vocês obtêm meu consentimento? Quando você usa o app entendemos que temos seu consentimento para processar as imagens de sua camera com o unico propósito de identificar codigos de barras localmente.

Quando você nos fornece um arquivo em formato CSV com os dados, entendemos que você nos permite processar e salvar estes dados em um banco de dados dentro do seu telefone.

@tatosjb
tatosjb / TODO
Last active March 2, 2020 18:34
‎‎​
iTterm2 > Preferences > Profiles > Advanced > Triggers [Edit]
install https://github.com/julienXX/terminal-notifier
(Alternatively, you can use the native option using only \1 on Parameters field)
Expressão: PASS\s*.*\/(.*\/.*\/.*)\/.*js
Action: Run command
Parameters: $HOME/.asdf/shims/terminal-notifier -title "✅ JEST" -message "\1"
Instant: True
@tatosjb
tatosjb / .zshrc
Last active December 5, 2022 14:11
zsh config
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes