Skip to content

Instantly share code, notes, and snippets.

View fvena's full-sized avatar
⚒️
Crafting new projects

Francisco Vena fvena

⚒️
Crafting new projects
View GitHub Profile
@fvena
fvena / work-with-multiple-github-accounts.md
Last active May 15, 2025 08:48
How To Work With Multiple Github Accounts

How to Work with Multiple GitHub Accounts on a Single Machine

This tutorial will guide you through setting up multiple GitHub accounts on the same machine. We'll use a personal account as the primary account and a work account as the secondary account.

Suppose you have two GitHub accounts:

  • https://github.com/fvena-personal (personal - will be configured as primary)
  • https://github.com/fvena-office (work - will be configured as secondary)

You can extend this logic to any number of accounts. The setup involves generating separate SSH keys, configuring your SSH client, and setting per‑repository user information.

@fvena
fvena / updatePackages.md
Created December 15, 2024 10:12
Checking and Updating NPM Packages

🔄 Checking and Updating npm Packages

This is a quick rundown on how to check and update npm packages and package.json:

  • npm outdated: Check for outdated packages.
  • npm update --save: Update packages and save to package.json.
  • npm update --save --save-dev: Update dependencies and devDependencies.
  • npm update -g: Update global packages.

Alternatively, you can use npm-check-updates to check and update packages:

@fvena
fvena / terminal-prompt-git-branch-zsh.md
Created December 11, 2024 13:33
Add Git Branch Name to Terminal Prompt (MacOS zsh)

Add Git Branch Name to Terminal Prompt (zsh)

Captura de pantalla 2024-12-11 a las 14 20 27

Theme

Install

  1. Download the One Dark theme for Terminal
  2. Double-click the scheme/terminal/One Dark.terminal. This will automatically open the Mac terminal with the One Dark theme applied temporarily.
  3. To make it permanent, go to Terminal Preferences (⌘ + ,).
@fvena
fvena / CODE_OF_CONDUCT.md
Created December 6, 2024 08:49
GitHub Issue Templates, Contributing, Code of Conduct and Repository Configuration

Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, gender, gender identity and expression, sex characteristics, disability, ethnicity, level of experience, education, socio-economic status, nationality, personal appearance, body size, race, religion (or lack thereof), or sexual identity and orientation.

Our Standards

Examples of behavior that contributes to creating a positive environment include:

@fvena
fvena / commit-convention-en.md
Last active December 6, 2024 07:45
Guide to Git Commit Messages ES/EN

[Project Name]'s Guide to Git Commit Messages

This guide is an adaptation of Angular's commit convention.

Semantic commit messages follow a specific format to describe changes in a clear, structured, and consistent way. This helps developers and tools understand the purpose of each change and enables automated versioning systems like semantic-release.

General Commit Message Format

A commit message consists of a header, a body, and a footer.

@fvena
fvena / README.md
Last active January 14, 2025 22:03
README template

⭐   to the project if you like it ↗️:

@fvena
fvena / CONTRIBUTING.md
Created December 7, 2023 02:04
Contributing template

Contribuciones a [Nombre de tu Proyecto]

¡Gracias por tu interés en contribuir a [Nombre de tu Proyecto]! Este proyecto es un esfuerzo comunitario, y tu ayuda es esencial para su crecimiento y mejora.

Nuestra Visión

[Nombre de tu Proyecto] se dedica a [breve descripción del propósito y objetivos del proyecto]. Creemos firmemente en el poder del trabajo en equipo y en la mejora continua a través de las contribuciones de nuestra comunidad.

Compartiendo en Redes Sociales ❤️

@fvena
fvena / git-config.md
Created December 7, 2023 01:37
Configuración global de Git

Configuración global de Git

La configuración global de Git te permite establecer opciones personalizadas aplicables a todos los repositorios en tu sistema.

Configuración Básica

Establecer tu nombre y correo electrónico

Git utiliza estas credenciales para asociar tus commits con tu identidad.

@fvena
fvena / git-log.md
Last active December 7, 2023 01:21
Awesome custom git log alias for commit history

Git Log Enhanced Visualization

These aliases create customized graphical views of the commit history, tailored for different needs and project types.

To simulate git history

git init example
cd example
git commit --allow-empty -m "initial empty commit"