Skip to content

Instantly share code, notes, and snippets.

View morjuax's full-sized avatar
🎯
Focusing

Juan morjuax

🎯
Focusing
View GitHub Profile
@morjuax
morjuax / versiones.md
Last active April 8, 2024 14:01
Tabla versiones NX + Nestjs
NX nestjs axios @jscutlery/semver @nestjs/axios @nestjs/config @nestjs/event-emitter @nestjs/typeorm
14 8 1.3.5 2 2
15 9
16 10 1.6.8 3.0.2 3 2.0.4 10.0.2
17 1.6.8 4 3.0.2
18 1.6.8 5 3.0.2
@morjuax
morjuax / instalaciones-angular-openai.md
Created January 29, 2024 23:54 — forked from Klerith/instalaciones-angular-openai.md
Instalaciones recomendadas para el curso de OpenAI con Angular y Nest

OpenAI Logo

Instalaciones recomendadas

Curso de OpenAI con Angular y NestJS

Necesarias

@morjuax
morjuax / nvm.txt
Last active August 25, 2023 16:17
nvm commands
1) List available versions
nvm ls-remote
1.1) list installed versions
nvm list
2) Install a specific version
nvm install 8.16.2
2.1) Install the latest release
nvm install node
@morjuax
morjuax / types_convetional_commits.txt
Created August 1, 2023 18:17
Types conventional commits
build:
chore:
ci:
docs:
style:
refactor:
perf:
test:
<header className="flex items-center bg-gray-800 px-28 py-3">
<Link href="/">
<h1 className="font-black text-3xl text-white">Title</h1>
</Link>
<div className="flex-grow text-right">
<button
className="bg-green-500 hover:bg-green-400 px-5 py-2 text-gray font-bold rounded-sm inline-flex items-center"
onClick={() => router.push("/new")}
@morjuax
morjuax / links_tools_dev.md
Last active September 23, 2023 22:22
Links tools DEV
git stash: guarda los cambios temporalmente en memoria cuando no quieres hacer un commit aun
git stash save “mensaje”: guarda un stach con mensaje
git stash list: muestra la lista de cambios temporales
git stash pop: trae de vuelta los cambios que teníamos guardados en el ultimo stash
git stash apply stash@{n}: trae el stash que necesites con indicar su número dentro de las llaves
git stash drop: borra el ultimo stash
git stash clear: borra todos los stash
@morjuax
morjuax / validateDateRegex.js
Created July 4, 2022 17:42
Validate date with regex
const date_regex = /^(0[1-9]|1\d|2\d|3[01])\/(0[1-9]|1[0-2])\/(19|20)\d{2}$/; // dd/mm/yyyy
const date_regex2 = /^(0[1-9]|1[0-2])\/(0[1-9]|1\d|2\d|3[01])\/(19|20)\d{2}$/; // mm/dd/yyyy
const testDate = '13/06/2022';
date_regex.test('01/12/2022')
date_regex2.test('12/30/2022')
@morjuax
morjuax / @inputWithSet
Last active July 30, 2021 17:46
Input angular with set
@Input()
set parameterInput({ prop1, prop2 }: Interface) {
this.prop1 = prop1;
this.prop2 = prop2;
}
@morjuax
morjuax / gist:116cfef39c7dc15a5636251a0e8155bd
Created December 22, 2020 19:14
Design responsive template email
https://webdesign.tutsplus.com/es/articles/creating-a-simple-responsive-html-email--webdesign-12978