Skip to content

Instantly share code, notes, and snippets.

View mavyfaby's full-sized avatar
🌴
On vacation

Maverick Fabroa mavyfaby

🌴
On vacation
View GitHub Profile
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active August 31, 2026 16:52
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@nicolasdao
nicolasdao / open_source_licenses.md
Last active August 19, 2026 16:10
What you need to know to choose an open source license.
@kottenator
kottenator / simple-pagination.js
Created July 13, 2015 20:44
Simple pagination algorithm
// Implementation in ES6
function pagination(c, m) {
var current = c,
last = m,
delta = 2,
left = current - delta,
right = current + delta + 1,
range = [],
rangeWithDots = [],
l;