• Skip to main content
  • Skip to footer

Notes to Self

  • Aviation Weather from NOAA Plugin
    • KZZV
    • Bad Shortcode
    • Simple Metar
  • Meetings
  • Meetings Map

Mark Chouinard / October 28, 2020

Connect PhpStorm to Local MySQL on Mac.

There’s some info out there about connecting to MySQL via socket using something called junixsocket. All the instructions were pretty straight forward but I continued to get an error, something about socket length or some such thing. Turns out we need a user with access via 127.0.0.1 so we can connect via port as opposed […]

Mark Chouinard / September 14, 2020

Marvel Movies Chronologically

Captain America: The First Avenger (takes place during WWII) Captain Marvel (takes place in 1995) Iron Man (takes place in 2010) Iron Man 2 (takes place after Iron Man) The Incredible Hulk (time unspecified, pre-Avengers) Thor (takes place six months before Avengers) The Avengers (takes place in 2012) Iron Man 3 (takes place six months […]

Mark Chouinard / August 5, 2020

Fix Inaccessible Dock When Firefox is Full Screen on 2nd Monitor

    In about:config change full-screen-api.macos-native-full-screen to true.

Mark Chouinard / March 2, 2020

Superscript ordinal date numbers with PHP

Only need to escape the superscript tag when formatting a date string. March 2nd, 2020 date(‘F j\<\s\u\p\>S\<\/\s\u\p\>, Y’)

Mark Chouinard / February 1, 2020

Change Vim Cursor in Different Modes

To change the shape of the cursor in different modes, you can add the following into your .vimrc:

Mark Chouinard / December 18, 2019

How I Enabled HTTP/2 with Apache on Ubuntu 18.04

Switch from mod_php to FPM: sudo apt install php7.4-fpm sudo a2enmod proxy_fcgi sudo a2enconf php7.4-fpm sudo a2dismod php7.4 sudo a2dismod mpm_prefork sudo a2enmod mpm_event sudo systemctl restart apache2 Enable mod_http2: sudo a2enmod http2 sudo systemctl restart apache2 Add this to /etc/apache2/apache2.conf to enable HTTP/2: Protocols h2 http/1.1 Verify at https://http2.pro/

« Previous Page
Next Page »

Footer

Copyright © 2022 · machouinard · Log in