Skip to content

Instantly share code, notes, and snippets.

View moezkorkmaz's full-sized avatar

Murat Özkorkmaz moezkorkmaz

  • Mainz, Germany
View GitHub Profile

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@moezkorkmaz
moezkorkmaz / README.md
Created March 21, 2022 19:59 — forked from tobiashm/README.md
Setting up local domain for Docker

Example for setting up <whatever>.docker as a local domain (for Docker services)

What to do:

  • Install dnsmasq for resolving hostnames
  • Configure dnsmasq to resolve .docker requests to localhost
  • Configure macOS to send .docker requests to dnsmasq
brew install dnsmasq
# Create config files
@moezkorkmaz
moezkorkmaz / sonar-project.properties
Created June 4, 2021 14:08 — forked from yash-perennial/sonar-project.properties
This is a sample sonar-project.properties file for PHP.
sonar.projectKey=ProjectNameInCamelCase-php-dev-DevName
sonar.projectName=ProjectName-php-Dev-DevName
sonar.issuesReport.html.enable=true
sonar.report.export.path=sonar-report.json
sonar.projectVersion=1.0.0
sonar.sources=app
#sonar.language=php
sonar.sourceEncoding=UTF-8
@moezkorkmaz
moezkorkmaz / Doctrine-Multi-Tenancy.md
Created February 20, 2020 08:54 — forked from CarlosEduardo/Doctrine-Multi-Tenancy.md
Multi-Tenancy (tenant) Strategy for Doctrine ORM
@moezkorkmaz
moezkorkmaz / gist:efce0223d958faaf2270976cf35a76f8
Created December 5, 2019 10:21 — forked from discordier/gist:ed4b9cba14652e7212f5
options for phpStorm @noinspection annotation
javascript
ES6ValidationInspection
JSAccessibilityCheckInspection
JSBitwiseOperatorUsageInspection
JSCheckFunctionSignaturesInspection
JSClosureCompilerSyntaxInspection
JSCommentMatchesSignatureInspection
JSComparisonWithNaNInspection
JSConsecutiveCommasInArrayLiteralInspection
@moezkorkmaz
moezkorkmaz / docker-cleanup-resources.md
Created May 22, 2017 14:01 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm