Skip to content

Instantly share code, notes, and snippets.

View westphalen's full-sized avatar

Sune Westphalen westphalen

  • London, United Kingdom
View GitHub Profile
@Zekfad
Zekfad / conventional-commits.md
Last active December 7, 2025 18:30
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
@westphalen
westphalen / RouteParam.php
Last active February 21, 2022 12:44
Get, set and forget route parameters on Lumen's array-based Request Router, avoiding `$request->route($key)` problem.
<?php
/**
* Created by PhpStorm.
* User: sune
* Date: 09/03/2017
* Time: 17.30
*/
namespace App\Support;
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active December 12, 2025 05:41
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S