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 February 14, 2026 23:01
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 February 27, 2026 08:08
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 February 15, 2026 16:27
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@derhuerst
derhuerst / _.md
Last active February 17, 2026 12:37
List of HAFAS API Endpoints