Skip to content

Instantly share code, notes, and snippets.

View adrianovcar's full-sized avatar
🎯
Focusing

Adriano Carrijo adrianovcar

🎯
Focusing
View GitHub Profile

Conventional Commit Messages

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

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@adrianovcar
adrianovcar / VEGETA.md
Last active April 11, 2023 23:16
Vegeta (Attack) How To Example

Vegeta

Vegeta is a versatile HTTP load testing tool built out of a need to drill HTTP services with a constant request rate. It can be used both as a command line utility and a library.

https://github.com/tsenart/vegeta

Homebrew on Mac OS X

@adrianovcar
adrianovcar / laravel-pint-phpstorm.md
Last active March 15, 2024 10:53
Laravel Pint - PHPStorm Auto Formatter

I'm assuming you already have installed Laravel Pint on your project, if not, follow the official installation guide

To set up the integration with Laravel Pint, open your PHPStorm and proceed to SettingsPHPQuality Tools and unfold the Laravel Pint segment.

If you are working on a pre-existing project, I recommend checking the option Reformat only uncommitted files.

Additionally, you have the option to designate Laravel Pint as your preferred external formatter. This facilitates the correction of all problems identified by Laravel Pint simultaneously using the Reformat Code ⌘⌥ L command.

To activate Laravel Pint for inspection within PhpStorm, navigate to SettingsEditorInspections and mark the checkbox for Laravel Pint Validation found under PHPQuality Tools.

@adrianovcar
adrianovcar / laravel-pint-vscode.md
Created March 15, 2024 10:49
Laravel Pint - VS Code Auto Formatter

I'm assuming you already have installed Laravel Pint on your project, if not, follow the official installation guide

To set up the integration with Laravel Pint, you have 2 options:

  1. VS Code Plugin: Just install Laravel Pint Formatter
  2. Creating VS Code task

Creating a VS Code task

  • Create a .vscode directory in the root of your project;
  • Create a file tasks.json to the .vscode directory