I was looking for a quick way to reference PHP documentation from within Vim. The PHP Manual Vim Plugin allows me to do just that.
I spend a lot of time working in issue trackers (e.g. GitHub), which involves writing a lot of markdown. Sometimes, perhaps I write too much information and it would be nice to allow the person reading to optionally skip some details. Traditionally, I accomplish this with a “Summary” section but now with collapsible sections in GitHub Issues, I can write even tidier comments.
Did you hear about the astronomer who showered with a tiny hamburger slider?
He upgraded to a quarter pound burger because wanted a “meatier shower”.
In one of my other posts I am displaying some URLs on their own line as part of the content however the WordPress oEmbed functionality is turning these into rich HTML. I was able to suppress this by wrapping the URLs in HTML span tags.
On a WordPress project, I wanted to display the full post on the blog archive unless a manual excerpt had been created for the post (in which case I wanted to use the manual excerpt). Here is the code I used to make this happen.
If I were named Mervin, I would start a podcast where I explore the wisdom of Benjamin Franklin.
It would be called, “Franklin Sense and Merv”.
I came across a gif recently on a website that loaded fine in most browsers but failed to load in IE (Internet Explorer). Fortunately, I remembered a similar problem in the past (that I spent way too long figuring out).
On a recent project, I had to trigger a certain behavior when a native HTML5 video had completed playing (i.e. reached the end of the video, manually stopping it should not trigger the behavior).
When creating 301 redirects, I often want to check multiple URLs quickly from the command line (to avoid the manual clicking in the browser and browser caching of results). I’ve written this script to speed up my process.
When faced with a folder full of gzipped files, I found I was unable to use my usual go to program grep to search for text in the files. However, zgrep came to my rescue.