Skip to content

Instantly share code, notes, and snippets.

View pLogicador's full-sized avatar
🕵️
Currently exploring microservices architecture

Pedro Miranda pLogicador

🕵️
Currently exploring microservices architecture
View GitHub Profile
@pLogicador
pLogicador / extensions-list.txt
Created December 14, 2024 01:29
My list of extensions for VS Code
# CSS Formatter - Formats CSS files automatically
aeschli.vscode-css-formatter
# Django - Adds support for Django framework
batisteo.vscode-django
# Tailwind CSS IntelliSense - Autocompletes Tailwind CSS classes
bradlc.vscode-tailwindcss
# ESLint - Integrates ESLint for linting JavaScript/TypeScript code
@pLogicador
pLogicador / settings.json
Last active June 13, 2025 19:44
My custom VS Code settings for productivity and organization
{
// Window
"workbench.iconTheme": "symbols",
"workbench.colorTheme": "OM Theme (Default Dracula Italic)",
"workbench.startupEditor": "newUntitledFile",
"workbench.activityBar.location": "bottom",
"workbench.editor.labelFormat": "short",
"workbench.statusBar.visible": true,
// Editor and breadcrumbs
"editor.fontFamily": "JetBrains Mono",
@luizomf
luizomf / README.md
Last active September 26, 2025 21:13
Useful Linux/Unix commands.

Se você usa MacOS

O macOs roda sobre Darwin OS (kernel XNU), que é um sistema UNIX-like. Então, todos os comandos abaixo também funcionam normalmente no MacOS. Recomendo utilizar o gerenciador de pacotes homebrew caso necessário instalar algo. Se quiser o mesmo terminal que eu (ZSH com Oh My ZSH), utilize este vídeo para configurar https://youtu.be/bs1-Wxb_KIc

Se você usa Windows

No Windows é possível utilizar o wsl2 e instalar uma versão do linux para acompanhar. Eu fiz alguns vídeos para você usar o Linux no Windows.

@luizomf
luizomf / useContext.jsx
Created February 16, 2021 16:36
React Hook useContext - Curso React
import { useContext, createContext, useState } from 'react';
import './App.css';
const globalState = {
title: 'O título que contexto',
body: 'O body do contexto',
counter: 0,
};
const GlobalContext = createContext();
@luizomf
luizomf / github-e-chaves-ssh-windows
Created February 13, 2021 19:24
Comandos para configurar chaves SSH no Windows para Github
# Criar chaves ssh
ssh-keygen -t rsa -f "/c/Users/seu-usuario/.ssh/nome-chave" -C 'seu-email@email.com'
# Quando fechar o terminal preciso executar isso
eval "$(ssh-agent -s)"
ssh-add /c/Users/seu-usuario/.ssh/nome-chave
# Iniciando o git
git init
git config --global user.name "SEU NOME"
@luizomf
luizomf / postgresql_13_pgadmin_4_ubuntu_20_04.sh
Last active March 24, 2025 15:58
PostgreSQL 13 on Ubuntu 20.04
# Update all your packages
sudo apt update
sudo apt upgrade -y
# Add postgresql repository and key
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# Update again