How to transfer files from your GoPro to your computer via WiFi

There is an iOS and Android App available to transfer files directly from a GoPro camera to a mobile device. Those apps transcode files and compress them for easier viewing, and to save storage space.

While that approach gets footage onto my iPhone, I still need to transfer the files to my Mac for editing. Plus, there’s an additional compression step involved which can’t be good for picture quality. Besides, it takes forever to do its job.

A much more useful approach would be to hook directly into the GoPro and transfer files that way. This leaves the SD card place and doesn’t disturb the (sometimes hard to reach or difficult to recreate) position of the camera.

Here’s how to do it.

Read more

How to centre an element in CSS

In the olden days of HTML development, in the late 90ies, we only had inline styles. Centring an element was done using the <center> property. That approach isn’t very elegant anymore in modern CSS 🙂 Today we can use something like this: #your-id .your-class { display: block; margin-left: auto; margin-right: auto; } It’s slightly more … Read more

How to add something to the_content in WordPress using PHP

Sometimes we need to add additional text or elements to the_content in WordPress. This can include links, icons, shout outs, author biographies, and so forth. I wanted to add an Apple Podcasts badge underneath each post in my podcast categories, adding a link to the badge, depending on the category. I’ll elaborate how I did this in a later post.

Right now, let’s have a look at how we can add elements to the content retrieved from WordPress. This should work independently of your theme, and no theme-file-hacking is necessary to accomplish this.

All we need to do is intercept the_content as it is requested, append our elements and return an amended version of the_content. Let’s see how this works.

Read more

How to find your Public Profile on Amazon

As much as I like Amazon, UI design isn’t their strong point. They have so many links to so many things hiding in their interface that it’s difficult to find what you’re looking for at times. Your Public Profile is one of those hidden gems.

It’s a collection of all your community activity you’ve engaged in on Amazon, such as post reviews or videos, your wish lists, Spark posts, Reviewer Ranking and so forth. Here’s a screenshot of what mine currently looks like:

Read more

ZAFFIRO Lapel Microphone comparison B074SF96X9 vs B0765NGK4N

In this episode I’m taking a look at two lapel microphones by ZAFFIRO. They’re both called “Lavalier Lapel Microphone”, and the description is more or less identical on both items – yet there are significant differences between these products.

I bought both of them back in March 2018, and given the sound quality and amount of accessories you get, for less than $20 each, these mics are good bargains for casual users. But no matter how detailed (or vague) their shop descriptions are, and no matter how hip the people in those pictures look, you can only really judge a microphone by what it sounds like.

In this review I’ll tell you all that I’ve learnt in my six months with the ZAFFIRO lapel mics.

Read more

How to bring back the date on Sticky Posts in TwentyThirteen

By default, the TwentyThirteen theme suppresses the date byline when a post is marked as Sticky (in which case, it’ll always be displayed at the top of the posts list).

That’s usually great, because Sticky Posts are often timeless announcements, and the fact that they’re a year or two out of date doesn’t look as handsome as if the date byline would simply be removed. I like this as a default behaviour.

Here’s what a default sticky post looks like, without the date displayed:

But of course, every now and again you may want to break the rules and shake up the whole universe. I did this on my iOS Dev Diary recently, where an announcement post would have been very helpful with the date displayed (I didn’t intent to keep it there for long).

So how do we bring back the date on Sticky Posts in TwentyThirteen? Let’s find out!

Read more

How to bring back the Author Byline in TwentyThirteen

I could have sworn that when I started using Automattic’s TwentyThirteen theme over five years ago, it displayed an Author Byline in the meta description. That’s the text right underneath the title of a post, the same line that displays the post date, categories and tags.

I remember this because there were many an instance on which I had to hide that Author Byline, because on single author websites, crediting yourself over and over again just leads to a cluttered reading experience. Furthermore, if you have several tags and categories to display, the meta line can easily run over into a second line, adding to more clutter than we want to see.

Turns out that over time, the WordPress team have had a lot of feedback about the Author Byline, and it turns out that nine times out of ten, people just didn’t want to see it. So they decided to invisibilise it by default.

Thanks to David Greene and P. Chandra for bringing this to my attention.

Let’s take a look at two options that can bring it back in TwentyThirteen.

Read more