Grayscale profile picture

Patrique Ouimet

Developer

Tips & Tricks

Common Laravel performance mistakes

In this article we will discuss some common performance mistakes that developers make when working w

Published on Thu, Feb 15, 2024 8:16 AM

#laravel #eloquent #php #performance
MySQL Dump from Remote Server

A quick tip on setting up remote MySQL dumps NOTE This is not a tip for security but a short example

Published on Sun, Apr 11, 2021 11:18 AM

#mysql #backup #devops
PHP Imagick Webp Error

If imagick shows an error similar to this ERROR unable to open file tmpmagick7508Zd2ThTGmaMOK No suc

Published on Sat, Dec 5, 2020 4:32 PM

#php #imagick #images
Git Stash

Explanation From the output of git stash help Use git stash when you want to record the current stat

Published on Sun, Jul 26, 2020 9:18 AM

#git #stash
PHP Common Regex

This tip will contain common regex examples for PHP This tip will be updated as I find more examples

Published on Wed, May 13, 2020 4:46 PM

#php #regex
PHP Composer Package Testing

When youre making changes to a package and want to test it in another project theres a few options

Published on Thu, Apr 23, 2020 6:38 AM

#git #composer #package
Git Workflow

Heres a basic git workflow Ive come to appreciate Theres a few assumptions made with this workflow

Published on Wed, Apr 22, 2020 8:38 AM

#git #workflow
Emoji Support for PHPStorm on Ubuntu

Quick tip on how to enable emojis on Ubuntu 1804 and likely other versionsdistros sudo aptget instal

Published on Fri, Apr 3, 2020 10:49 AM

#ubuntu #emoji #phpstorm #jetbrains
Virtualbox Screenshots

A simplest way to take screenshots from a running virtualbox through terminal is as follows vboxmana

Published on Thu, Apr 2, 2020 11:37 AM

#virtualbox #vboxmanage #screenshots
Suppressing PHP Psalm Errors

Recently Ive been tickering with writing a routing packagehttpsgithubcompatouirouter While writing i

Published on Mon, Dec 16, 2019 8:42 AM

#php #psalm
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

Intro This can be a little confusing as the syntax barely changes but it makes a big difference Usi

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

#laravel #eloquent #php #performance