Skip to content

Instantly share code, notes, and snippets.

View Rolave's full-sized avatar

Rodrigo Olave Carrasco Rolave

  • Globant
  • Toronto, Canada
View GitHub Profile
//Object.assign(target, sources... ) method
// used to copy objects OR
// to merge objects
let obj1 = {"arms":true, "armCount":2};
let obj2 = {"weapons":['missle launcher', 'reciprocating saw']};
let obj3 = {"canMove":true, "legs":0, "treads":2};
let arms = Object.assign({'hasHands':true, "arms": false}, obj1);
console.log( arms );
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 5, 2026 08:44
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

@AdamMarsden
AdamMarsden / sassas.md
Last active February 12, 2026 09:13
Sass Architecture Structure

Sass Architecture Structure

sass/
|
|– base/
|   |– _reset.scss       # Reset/normalize
|   |– _typography.scss  # Typography rules
|   ...                  # Etc…
|