I go to a lot of technical conferences and get a lot of promotional t-shirts. Many of them are never worn (or only a handful of times) and then donated – this is a very poor return of investment (ROI) for the company handing them out. There are some promotional t-shirts that I come back to again and again. I wanted to outline some of the characteristics of those t-shirts that get a lot of wear.
The WordPress plugin repository at wordpress.org/plugins is a great resource. I often use WP CLI to install plugins on my WordPress site from there, however, sometimes I want to install other plugins with WP CLI.
When using Git, sometimes (often) I find myself forgetting to delete local branches after merging them. This command deletes this branches (and I’ve included a Git alias to make it easy to use in the future).
When creating new posts for a video demonstration, I wanted to display a consistent date. While my first thought was to reset my system clock, this snippet overrides the date when the post is first created, which worked for me.
When creating slides for my talks I use Reveal.js, which allows me to create slides using HTML. These are my general notes about creating presentations this way.
I use Reveal.js when creating slides for my presentations. Often I want persistent elements on all of the slides (for example my twitter handle @salcode or the conference hash tag). I’ve found the easiest way to do this is by adding a little bit markup and custom CSS.
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.