Skip to content

Instantly share code, notes, and snippets.

View TomRadford's full-sized avatar

Tom Radford TomRadford

View GitHub Profile
@dianjuar
dianjuar / i3-shortcuts-screenshot.md
Last active May 7, 2025 09:50
My i3 shortcuts to take screenshots

Requirements

  • maim
  • xclip

Set-up

Set this on your i3 config file ~/.i3/config

# Screenshots
@joeytwiddle
joeytwiddle / async-await-forEach-alternatives.md
Last active May 29, 2025 09:23
Do not use forEach with async-await

Do not use forEach with async-await

TLDR: Use for...of instead of forEach() in asynchronous code.

For legacy browsers, use for(...;...;...) or [].reduce()

To execute the promises in parallel, use Promise.all([].map(...))

The problem

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 4, 2025 19:26
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

@jimmywarting
jimmywarting / readme.md
Last active May 29, 2025 17:05
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers