Skip to content

Instantly share code, notes, and snippets.

View pmutua's full-sized avatar
🐲
Focus mode

Philip Mutua pmutua

🐲
Focus mode
View GitHub Profile
@pmutua
pmutua / article.md
Created March 13, 2024 06:58 — forked from mugan86/article.md
Article information - ESLint + Prettier + Husky + Gitflow in Angular

El objetivo principal de este artículo es proporcionar los pasos a seguir con las instrucciones detalladas y necesarias para poder configurar un proyecto de Angular con las herramientas que nos va a ayudar a trabajar con buenas prácticas.

Estas buenas prácticas que queremos aplicar se realizarán tanto en la escritura del código, siguiendo una línea estable de escritura con unas normas preestablecidas y también en lo que respecta a la adición de mensajes de commit donde realizaremos las configuraciones necesarias con el objetivo de respetar la convención para escribir los mensajes de commit siguiendo una estructura común que se usará en infinidad de proyectos, con lo que esto proporcionará una forma de trabajar estable y correcta mediante git flow escribiendo mensajes de commit.

Preparativos para empezar a trabajar

El tutorial **se desarrollará con una aplicación Angular en la ver

@pmutua
pmutua / esm-package.md
Created March 12, 2024 06:37 — forked from sindresorhus/esm-package.md
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@pmutua
pmutua / video-playlist.json
Last active February 6, 2024 08:18
My Diverse Playlist Selection 🎵✨
[
{
"title": "Kid Cudi - Angel (Visualizer)",
"url": "https://youtu.be/b26Kdj620e4"
},
{
"title": "Shadow Fight 3 -Ost- The Arsenal",
"url": "https://youtu.be/z8dYIsxqiNE?si=bhl1ZIHuZjlKU0wK"
},
{
@pmutua
pmutua / coding-playlist.md
Created January 22, 2024 05:32
Coding Playlist
  1. Prince of Persia 2008 Soundtrack Suite & Ambience - https://www.youtube.com/watch?v=aBAjKYdNphU
  2. Aubrey Ashburn - Love Song (Dragon Age) - https://www.youtube.com/watch?v=FYfMJQ_lfmo
  3. Skyrim - Music & Ambience - Night - https://www.youtube.com/watch?v=aK4JSwhdcdE
  4. Lord of The Rings Ambient Music | Rivendell - https://www.youtube.com/watch?v=y6A46bB3meU
  5. Jeremy Soule (The Elder Scrolls V - Skyrim) — “Masser” [Extended with “Night” Ambience] - https://www.youtube.com/watch?v=Bb5TL16oO3c&t=64s
  6. Fantasy Bard/Tavern Music Compilation || Vol 1 - https://www.youtube.com/watch?v=wLlovxa3VJ0&t=412s
  7. Tavern/Inn Music - Fantasy Medieval Music - https://www.youtube.com/watch?v=roABNwbjZf4&t=14s
  8. Damascus - Ancient Journey Fantasy Music - Beautiful Ambient Oud for Reading, Studying and Focus- https://www.youtube.com/watch?v=sefb1UhPX9I

Will continously update this

@pmutua
pmutua / docs.currency-conversion.swagger.json
Created January 12, 2024 09:50
Example Swagger 2.0 JSON file for a Currency Conversion API with 10 entries (endpoints):
{
"swagger": "2.0",
"info": {
"title": "Currency Conversion API",
"description": "Convert between different currencies at real-time rates.",
"version": "1.0.0"
},
"basePath": "/api",
"schemes": ["http", "https"],
"paths": {
@pmutua
pmutua / docs.loan-eligibility-api.swagger.json
Created January 12, 2024 09:49
Example Swagger 2.0 JSON file for a Loan Eligibility API with 10 entries (endpoints):
{
"swagger": "2.0",
"info": {
"title": "Loan Eligibility API",
"description": "Check customer eligibility for different loan products.",
"version": "1.0.0"
},
"basePath": "/api",
"schemes": ["http", "https"],
"paths": {
@pmutua
pmutua / docs.chat-bot-assistance-api.swagger.json
Created January 12, 2024 09:47
Example Swagger 2.0 JSON file for a Chatbot Assistance API with 10 entries (endpoints):
{
"swagger": "2.0",
"info": {
"title": "Chatbot Assistance API",
"description": "Provide customer support and assistance using chatbots.",
"version": "1.0.0"
},
"basePath": "/api",
"schemes": ["http", "https"],
"paths": {
@pmutua
pmutua / credit-card-reward.swagger.json
Created January 12, 2024 09:45
Example Swagger 2.0 JSON file for a Credit Card Rewards API with 10 entries (endpoints):
{
"swagger": "2.0",
"info": {
"title": "Credit Card Rewards API",
"description": "Manage credit card rewards programs and redeem points.",
"version": "1.0.0"
},
"basePath": "/api",
"schemes": ["http", "https"],
"paths": {
@pmutua
pmutua / docs.branch-locator.swagger.json
Created January 12, 2024 09:43
Example Swagger 2.0 JSON file for a Branch Locator API with 10 entries (endpoints):
{
"swagger": "2.0",
"info": {
"title": "Branch Locator API",
"description": "Locate nearby bank branches and their operating hours.",
"version": "1.0.0"
},
"basePath": "/api",
"schemes": ["http", "https"],
"paths": {
@pmutua
pmutua / docs.bill-payment-api.swagger.json
Created January 12, 2024 09:42
Example Swagger 2.0 JSON file for a Bill Payment API with 10 entries (endpoints):
{
"swagger": "2.0",
"info": {
"title": "Bill Payment API",
"description": "Facilitate bill payments for various services and utilities.",
"version": "1.0.0"
},
"basePath": "/api",
"schemes": ["http", "https"],
"paths": {