Skip to content

Instantly share code, notes, and snippets.

View horaciomuller's full-sized avatar
🔥
Working from home

Horacio M M horaciomuller

🔥
Working from home
  • Pinterest
  • England
View GitHub Profile
@horaciomuller
horaciomuller / consolelog.js
Created April 10, 2024 17:40 — forked from leo-bianchi/consolelog.js
Js file with good practices tips.
// DEBUG
// Printing objects on console
const foo = {name: 'tom', age: 30};
const bar = {name: 'harry', age: 50};
const baz = {name: 'john', age: 19};
console.log({ foo, bar, baz }) // To show objects names on console.
// Styling with css
console.logo('%c My friends', 'color: orange; font-weight: bold');
// Console table
@horaciomuller
horaciomuller / conventional_commit_messages.md
Last active December 26, 2024 16:24 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Types

  • feat Commits, that adds or remove a new feature
  • fix Commits, that fixes a bug
  • refactor Commits, that rewrite/restructure your code, however does not change any API behaviour
  • perf Commits are special refactor commits, that improve performance
  • style Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)
  • test Commits, that add missing tests or correcting existing tests
  • docs Commits, that affect documentation only
  • build Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...
  • ops Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...