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 January 15, 2026 13:31
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 October 24, 2025 14: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 January 25, 2026 19:59
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 January 22, 2026 20:43
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@derhuerst
derhuerst / _.md
Last active January 4, 2026 11:54
List of HAFAS API Endpoints