Skip to content

Instantly share code, notes, and snippets.

View facundo-moran's full-sized avatar
🎯
Focusing

Facundo Morán facundo-moran

🎯
Focusing
View GitHub Profile
@turbo
turbo / std.md
Last active September 6, 2024 19:46
Git Commit Message Standard

Merged from https://github.com/joelparkerhenderson/git_commit_message and https://chris.beams.io/posts/git-commit/

General Rules

  • Commit messages must have a subject line and may have body copy. These must be separated by a blank line.
  • The subject line must not exceed 50 characters
  • The subject line should be capitalized and must not end in a period
  • The subject line must be written in imperative mood (Fix, not Fixed / Fixes etc.)
  • The body copy must be wrapped at 72 columns
  • The body copy must only contain explanations as to what and why, never how. The latter belongs in documentation and implementation.
@Klerith
Klerith / instalaciones.md
Created August 20, 2019 19:35
Curso de Dart - Instalaciones
@Klerith
Klerith / hex-color.js
Last active September 2, 2024 16:25
Color HEX aleatorio
const color = '#xxxxxx'.replace(/x/g, y=>(Math.random()*16|0).toString(16));
@Klerith
Klerith / instalaciones.md
Created August 25, 2021 21:31
Instalaciones necesarias para el curso de Git y GitHub
@Klerith
Klerith / instalaciones-nestjs.md
Last active November 8, 2024 19:34
Instalaciones recomendadas para el curso de Nest.js
@Klerith
Klerith / README.md
Last active August 26, 2024 02:18
Deprecated Method - Decorador

@Deprecated - Method Decorator

En la definición del método, se puede marcar como obsoleto (deprecated) con la justificación. Esto ayudará a que otros developers sepán que deben de utilizar ya la alternativa.

@Deprecated('Most use speak2 method instead')
 speak() {
      console.log(`${ this.name }, ${ this.name }!`)
 }
@Klerith
Klerith / tarea-pg-admin.md
Last active November 14, 2024 20:49
Tarea sobre PGAdmin y Postgres

Docker Hub images

Postgres

pgAdmin

1. Crear un volumen para almacenar la información de la base de datos

docker COMANDO CREAR postgres-db

2. Montar la imagen de postgres así

OJO: No hay puerto publicado -p, lo que hará imposible acceder a la base de datos con TablePlus

export const firstNameAndLastnamePattern: string = '([a-zA-Z]+) ([a-zA-Z]+)';
export const emailPattern: string = "^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$";
@Klerith
Klerith / flutter-instalaciones.md
Last active November 19, 2024 19:46
Instalaciones del curso de Flutter - Móvil de cero a experto
@Klerith
Klerith / interfaces.ts
Last active February 26, 2024 22:55
Marcadores - Curso Angular cero a experto
interface House {
title: string;
description: string;
lngLat: [number, number];
}
const houses: House[] = [
{
title: 'Casa residencial, Canadá',