Skip to content

Instantly share code, notes, and snippets.

View surgiie's full-sized avatar
🔥
Ok

Sergio Compean surgiie

🔥
Ok
View GitHub Profile
@surgiie
surgiie / conventional-commits-cheatsheet.md
Created January 13, 2025 17:50 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@surgiie
surgiie / toQueryString.js
Last active January 20, 2023 23:42
Javascript function to recursively build a query string from an object.
/**
* Variation of https://gist.github.com/luk-/2722097
*/
function toQueryString(obj, recursiveKey) {
if(obj == null || typeof obj !== "object"){
return "";
}
let keys = Object.keys(obj);