Skip to content

Instantly share code, notes, and snippets.

View 3v0k4's full-sized avatar

Riccardo 3v0k4

View GitHub Profile
@3v0k4
3v0k4 / what-the-version.md
Last active February 17, 2022 08:28
Version ranges in different languages (Ruby, JavaScript, Rust)

What The Version aka WTV?

Version ranges in different languages: Ruby, JavaScript, Rust.

It's clear what >, >=, <, or <= mean. But what about those other cryptic symbols?

Npm (package.json)

Version Equal To Only Highlighted Result
@jonlabelle
jonlabelle / change_default_git_branch_to_master.md
Last active May 13, 2025 16:21
Change GitHub default branch from master to main.

Change GitHub default branch from master to main

5 simple steps that I tested and used to make the change in under 1 minute.

  1. Move the master branch to main

    git branch --move master main