• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Notes to Self

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

Development

Mark Chouinard / February 27, 2021

Disable that Damn ‘Welcome to the Block Editor’ Message.

This requires the @wordpress/scripts package but I don’t have the time to get into that now.

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 / 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 / September 3, 2019

Swift – Convert json to plist

plutil -convert xml1 in.json -o out.plist xml1 – x-ray mike lima 1 From SO

Mark Chouinard / June 9, 2017

Fix Redirect Loop After Genesis Upgrade

Add remove_action( ‘genesis_upgrade’, ‘genesis_upgrade_redirect’ ); to functions.php, reload admin without ?page=genesis-upgraded in URL, clear cache, re-save Genesis settings, remove added code.

Next Page »

Primary Sidebar

Footer

Copyright © 2021 · machouinard · Log in