Skip to content

Instantly share code, notes, and snippets.

View abenevaut's full-sized avatar
🤯
Boum Headshot! Boum Headshot! Boum Headshot!!!

Antoine B. abenevaut

🤯
Boum Headshot! Boum Headshot! Boum Headshot!!!
View GitHub Profile
@abenevaut
abenevaut / # How to setup Traefik reverse proxy on Windows ? .md
Last active March 10, 2024 00:02
How to setup a basic Traefik reverse proxy on Windows ?
@abenevaut
abenevaut / gist:f5a027d2882e4fed386aaf7acdca4f34
Created September 20, 2023 14:02
Laravel Passport with sql serv
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Passport\Passport;
class AppServiceProvider extends ServiceProvider
{
/**
@abenevaut
abenevaut / # SQL Server Cheat Sheet.md
Last active March 9, 2024 22:39
SQL Server Cheat Sheet
  • F5 to execute the query in console
  • CTRL+l to execute equivalent of MySQL EXPLAIN
@abenevaut
abenevaut / # Enable docker windows containers on windows.md
Last active March 9, 2024 23:04
Enable docker windows containers on windows
  • Enable docker windows containers on windows

In PHPStorm, go to: SETTINGS -> TOOLS -> TERMINAL

In environment variables configuration

MSYSTEM=MINGW64;CHERE_INVOKING=1;MSYS2_PATH_TYPE=inherit;

In shell path configuration

C:\msys64\usr\bin\bash.exe --login -i
- You have to use rewrite plugin https://www.iis.net/downloads/microsoft/url-rewrite
@abenevaut
abenevaut / # brew Mac, fix icu4c issue.md
Last active March 9, 2024 22:51
dyld: Library not loaded: libicudata.71.dylib
@abenevaut
abenevaut / # xdebug php 7.4 on windows.md
Last active March 9, 2024 22:54
xdebug php 7.4 on windows
  • go to https://xdebug.org/download/historical
  • download php_xdebug-3.1.6-7.4-vc15-nts-x86_64.dll
  • paste to c:\PATH_TO_PHP\ext
  • rename php_xdebug-3.1.6-7.4-vc15-nts-x86_64.dll to php_xdebug.dll
@abenevaut
abenevaut / # CircleCi Parallelized jobs and tests.md
Last active March 9, 2024 22:53
Parallelized jobs workflow and "test" job parallelized
  • Parallelized jobs workflow and "test" job parallelized