Skip to content

Instantly share code, notes, and snippets.

View Kvnyu's full-sized avatar
😛

Kevin Yu Kvnyu

😛
View GitHub Profile
@PJUllrich
PJUllrich / big-o.md
Last active September 9, 2025 15:54
Big-O Time Complexities for Elixir Data Structures

Big-O Time Complexities for Elixir data structures

Map [1]

Operation Time Complexity
Access O(log n)
Search O(log n)
Insertion O(n) for <= 32 elements, O(log n) for > 32 elements [2]
Deletion O(n) for <= 32 elements, O(log n) for > 32 elements
@Zekfad
Zekfad / conventional-commits.md
Last active October 24, 2025 17:56
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
@jonjack
jonjack / add-update-refresh-github-access-token-on-mac.md
Last active October 6, 2025 09:37
Adding & Updating GitHub Access Token on Mac

Using an Access Token for the first time

Follow the instructions on Github to Create an Access Token in Github

Configure Git to use the osxkeychain

By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.

You can tell Git you want to store credentials in the osxkeychain by running the following:-

@carlessanagustin
carlessanagustin / Nginx_Cheat_Sheet.md
Last active September 27, 2025 01:59
Nginx Cheat Sheet