Skip to content

Instantly share code, notes, and snippets.

View tomhapbia's full-sized avatar

Truong PD tomhapbia

  • FPT Telecom
  • Ha Noi, Viet Nam
View GitHub Profile
@tomhapbia
tomhapbia / mamp-php-gmp.md
Created March 22, 2024 10:08 — forked from rasmuscnielsen/mamp-php-gmp.md
How to install GMP extension for PHP 7.4.2 using MAMP

Installing GMP extension for PHP 7.4 using MAMP

You have to build the GMP extension from the PHP source code. First install Autoconf and GMP using Homebrew.

brew install autoconf gmp

Download and unpack PHP.

@tomhapbia
tomhapbia / pint.json
Created June 30, 2023 04:16 — forked from hungthai1401/pint.json
My Laravel Pint configuration
{
"preset": "laravel",
"rules": {
"align_multiline_comment": true,
"array_syntax": true,
"combine_consecutive_issets": true,
"combine_consecutive_unsets": true,
"concat_space": true,
"declare_parentheses": true,
"declare_strict_types": true,
{"version":1,"resource":"file:///Users/Tom/Sites/FPT/ncp-cms/src/components/organisms/advertisement/AdvertisementFormConfigForm.vue","entries":[{"id":"12mr.vue","timestamp":1681360177984},{"id":"lJT6.vue","timestamp":1681360501817}]}