Jason Conroy

How to get Spotlight to index .md files

I’ve been doing a lot of writing in markdown lately and only just noticed that Spotlight wasn’t indexing my *.md files. Googling for an answer there were quite a few hit’n’miss solutions that didn’t quite seem to work. One being A Yosemite Markdown Spotlight Importer which seemed perfect but for some reason didn’t nail it […]

Read More

Browser Redirect Limits

Different browsers have different redirect limits. Most are around the 20-21 mark but IE and Safari are different (I can’t vouch for accuracy of these): Chrome 49, 21 redirects Chrome Canary 49, 21 redirects Chrome Canary 51, 21 redirects Firefox 43, 20 redirects Firefox 45, 20 redirects IE 8, 11 redirects (webpagetest.org) 😱 IE 9, […]

Read More

Overriding Systemd confs using drop-ins

Despite a bunch of answers on stackoverflow for the best way to set the umask for Apache and/or php-fpm Ubuntu the only approach that I found to really work in Xenial was to modify the Systemd service configs (because Apache etc inherits its umask from its parent process). From the Ubuntu wiki the best way […]

Read More

Blank WooCommerce PayPal Debug Log

When trying to view the WooCommerce PayPal debug logs through the dashboard log viewer you will sometimes just get a blank file. 😢 This usually just means that the log file is too large to be displayed. If you have access to the host via SFTP or SSH you can just grab the file directly […]

Read More

Emoji in WP

WordPress has had emoji support since 4.2. 🚀💃😻 Instead of using the emoji codes Slack and a number of services use e.g. :thumbsup: it depends on the os/platform you are using (see https://codex.wordpress.org/Emoji. When editing a post on Mac you can bring up the Emoji & Symbols keyboard by: Clicking the Edit menu Selecting “Emoji […]

Read More

Markdown in WP

<php echo ‘Hello World!’; ?> The JP Markdown plugin works really quite well. We may need to do some style adjustments – but it’ll do for now. Lets do this. 🚀

Read More