Skip to content

Instantly share code, notes, and snippets.

@brianclements
brianclements / Commit Formatting.md
Last active June 28, 2024 16:12
Angular Commit Format Reference Sheet

Commit Message Format

This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].

We have very precise rules over how our Git commit messages must be formatted. This format leads to easier to read commit history.

Each commit message consists of a header, a body, and a footer.

@zacwest
zacwest / ios-font-sizes.swift
Last active June 17, 2024 01:38
iOS default font sizes - also available on https://www.iosfontsizes.com
let styles: [UIFont.TextStyle] = [
// iOS 17
.extraLargeTitle, .extraLargeTitle2,
// iOS 11
.largeTitle,
// iOS 9
.title1, .title2, .title3, .callout,
// iOS 7
.headline, .subheadline, .body, .footnote, .caption1, .caption2,
]
@andrewfinnell
andrewfinnell / Calculations.md
Last active January 7, 2023 18:15
Heroes of the Storm - MVP Calculation
  • add kills

  • add assists x [LostVikings=0.75, Abathur=0.8, other=1]

  • add (timeSpentDead / gameLength) x 100 x [Murky=-1, Gall=-1, Cho=-0.85, other=-0.5]

  • add 1 if player has top hero damage of his team

  • add 1 if player has top hero damage of the match

@mehmetsefabalik
mehmetsefabalik / nginx-https-local.md
Last active June 21, 2024 14:26
Enable https on your local environment with nginx

enable https on your local environment

install mkcert and create certificates

brew install mkcert
mkcert -install