Skip to content

Instantly share code, notes, and snippets.

View nalbertcerqueira's full-sized avatar
🎯
Focusing

Nalbert Cerqueira nalbertcerqueira

🎯
Focusing
View GitHub Profile
@michalpulpan
michalpulpan / next-intl-parser.ts
Last active June 19, 2025 04:21
Simple (and a bit naive) parser generating i18n JSON files for namespaces and translation keys found in `.ts` and `.tsx` files within the project utilizing `next-intl`.
import * as fs from "fs";
import * as path from "path";
import { glob } from "glob";
import * as parser from "@babel/parser";
import * as t from "@babel/types";
import traverse from "@babel/traverse";
// Types for translation extraction
type Translations = Record<string, string>;
type NamespaceTranslations = Record<string, string[]>;
@alejandro-martin
alejandro-martin / multiple-ssh-keys-git.adoc
Last active July 3, 2025 14:10
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory:

@felquis
felquis / top-portfolio-front-end.md
Last active June 7, 2025 14:26
Portifólios legais de desenvolvedores Front-end que encontrei por ai

Developer's Web Sites, Portfolio and blogs

Os links aqui estão sem nenhum tipo de ordenação, então o que esta por ultimo não é necessariamente o mais ruim na minha opinião e o que esta primeiro não necessariamente é o melhor, sabendo disso, vamos a lista.

@JamieMason
JamieMason / html-languages.txt
Created September 19, 2012 08:50
HTML lang attribute / ISO language code reference / Culture names
CULTURE SPEC.CULTURE ENGLISH NAME
--------------------------------------------------------------
Invariant Language (Invariant Country)
af af-ZA Afrikaans
af-ZA af-ZA Afrikaans (South Africa)
ar ar-SA Arabic
ar-AE ar-AE Arabic (U.A.E.)
ar-BH ar-BH Arabic (Bahrain)
ar-DZ ar-DZ Arabic (Algeria)
ar-EG ar-EG Arabic (Egypt)