Grayscale profile picture

Patrique Ouimet

Developer

Tips & Tricks

Canadian Postal Code Regex in JavaScript

A simple javascript regex test to verify if a string is a valid postal code in Canada javascriptfunc

Published on Fri, Oct 25, 2019 12:55 PM

#javascript #regex
Navigating and Highlighting Text

Navigating Words MacOS Action Keys Single Word OPTION LEFTRIGHT ARROW StartEnd of Line CMD

Published on Tue, Oct 15, 2019 9:13 AM

#macos #windows #linux #editing #shortcuts
Convert MOV to MP4 with FFMPEG

Intro A simple bash function to convert an MOV or mov to MP4 or mp4 You simply type the function nam

Published on Wed, Oct 9, 2019 11:34 AM

#terminal #mov #mp4 #ffmpeg
PHP Annotations Cheat Sheet

Foreword Work in progress compiling a list of possible php annotations varUsed to describe a variab

Published on Thu, Aug 15, 2019 8:33 AM

#php #annotation #annotations
Laravel Valet cURL Errors Between Sites

Laravel Valet cURL Error If youre experiencing curl errors when using Laravel Valet and trying to co

Published on Mon, Apr 8, 2019 2:07 PM

#laravel #valet #curl
Installing PHP and PECL Extensions on MacOS

Install PHP with Homebrew brew install php Fixing broken directories On a fresh MacOS installation

Published on Wed, Apr 3, 2019 9:47 PM

#php #homebrew #pecl #mac #macos
Laravel Query Tricks

Intro A quick post on some of my favourite Laravel query tricks Where In With a Subquery phpDBtable

Published on Tue, Mar 12, 2019 9:05 PM

#laravel #query
Adding Custom Headers to Laravel Mail Notifications

Setup Well need a few things to get this going First well add a notification class php artisan maken

Published on Mon, Feb 18, 2019 3:24 PM

#laravel #mail #headers #header
Dot Notation for Laravel Config Files

Using Dot Notation for Config Files Theres a few ways to access the nested data in configs consider

Published on Mon, Feb 18, 2019 9:55 AM

#laravel #config #helper
Fluid Eloquent Queries

Fluid Eloquent Queries This is a simple example of how to write fluid or chained eloquent queries ra

Published on Mon, Jan 28, 2019 9:21 PM

#laravel #eloquent #php #fluent
Laravel Eloquent vs Collection Count

Laravel Eloquent vs Collection Count This can be a little confusing as the syntax barely changes but

Published on Sat, Jan 26, 2019 12:38 PM

#laravel #eloquent #php #performance