Skip to content

Instantly share code, notes, and snippets.

View IgorHalfeld's full-sized avatar
🍀
Making my own luck every day.

Igor Luiz Halfeld IgorHalfeld

🍀
Making my own luck every day.
View GitHub Profile
local M = {}
M.colors = {
bg = "#0a0a0a",
fg = "#dadada",
light_grey = "#747474",
grey = "#7f8c98",
purple = "#dabaff",
pink = "#ff7ab2",
orange = "#ff8170",
@faustoct1
faustoct1 / wcdt-tweet.js
Created May 3, 2024 00:46
Tweet text & images via api
const admin = require("firebase-admin")
/*
const serviceAccount = require("./../key.json");
const { exit } = require("process");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount)
})
*/

Roadmap de estudos de SQL

Aviso: Muitas vezes detalhes de várias operações podem variar de banco para banco. Em questões onde fiquei em dúvida, este documento segue o funcionamento do PostgreSQL, pois é o banco que conheço melhor.

Pré-requisito: Álgebra Relacional básica

Antes de começar a escrever SQL, você precisa entender o modelo de como um banco de dados relacional funciona. Não precisa se aprofundar muito, mas você precisa entender como que dados e relacionamentos entre eles são representados. (Nota importante: Relacionamento e relação não são a

@natterstefan
natterstefan / README.md
Last active January 31, 2026 10:09
NODE | macOS fix node-gyp

Research | macOS fix node-gyp

visitors

Node

Update asdf

asdf plugin-update --all
@gustavohenrique
gustavohenrique / lxd-snippets.md
Last active July 18, 2024 14:05
Basic commands to run LXD containers

install

sudo snap install lxd && lxd init

Init

lxd init --preseed <<EOF
@bgauduch
bgauduch / 0 - Multiple git identities on one machine.md
Last active September 3, 2026 11:59
Multiple git identities on one machine: config per folder and per provider (personal vs work). Every command verified.

Multiple git identities on one machine

One machine, several git identities (personal vs work, GitHub vs GitLab, two accounts on one provider). Each repository picks its own name, email and credentials. In a hurry: Appendix B, once per rule.

A wrong identity does not fail: git commits and pushes under the wrong author. Part 1 ends with the check that catches it.

Requirements

Feature Minimum git
@staltz
staltz / introrx.md
Last active September 1, 2026 09:40
The introduction to Reactive Programming you've been missing
@letanure
letanure / estados-cidades.json
Last active August 28, 2026 18:59
JSON estados cidades do brasil, dividido por estados. segunda lista atualizada em 2020, dados do IBGE
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",