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 June 24, 2024 03:00
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 June 26, 2024 16:47
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 July 12, 2024 20:11
Instalaciones recomendadas para el curso de Nest.js
@Klerith
Klerith / README.md
Last active June 18, 2024 02:23
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 July 19, 2024 16:07
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 July 22, 2024 21:06
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á',