Shut the fuck up and go and build something

Check out this interview with Ghost founder John O’Nolan. It was interesting to read about the history of the project, but I thought this was a fantastic takeaway –

What’s your advice for indie hackers who are just starting out?

Honestly my single piece of advice would probably be to stop looking for so much advice. Shut the fuck up and go and build something.

I see so many people devouring startup books and blog posts and talking about them incessantly. They try to just endlessly research and talk about what works, because they’re too afraid to actually jump in and do something.

If you feel like you have no idea what you’re doing, well, welcome to the club. None of us have any idea what the fuck we’re doing, and anyone who says otherwise is lying. All of us are just guessing, experimenting, trying things. Not a single one of us was ever “sure” or “ready” or “confident” at any point. At a certain point you just have to jump.

Stop reading. Start building.

Stop reading, start building. No doubt! Well, I’ll never stop reading, but I get the point. 🙂

-via Hacker News

Posters of your GitHub contributions

One would have to be a pretty major geek to want to buy a poster of their GitHub contribution heat map… Pretty cool, I think I’m going to get mine in blue! 🙂 CommitPrint – via Hacker News

On Getting Old(er) In Tech

This was a great read, full of sage advice for kids of all ages (and professions). 🙂 My main takeaways – Keep learning, keep growing, stay healthy, be yourself. On Getting Old(er) in Tech, by Don Denoncourt -via Hacker News

GitHub Audio

Listen to music generated by events happening across GitHub 🙂 Awesome! – via hacker news

A little function for oEmbed + ACF

We’ve been doing a lot of videos on our sites lately. Well, we’ve always done a lot of videos on our sites. The model is usually an on-page embed, either directly in page or via a modal, and we set the back-end up to use the oEmbed field in Advanced Custom Fields Pro. It gives a great back-end experience – and why use WordPress if it’s not going to be user configurable, right?

Anyway, in almost every case we need to disable the display of related videos. The problem has already been solved, but I’m doing this often enough that I wrote this simple, but handy little function to take care of it. Configure the parameters in the function itself, and just pass it your field name. Outputs the URL and everything in the $params array gets passed in on the tail end as a query string.

 * oEmbed Attributes
 * Add parameters to oEmbed query string. Useful for
 * turning off related videos and such.
 * Basic field use: $video = videoLink('your_field_name');
 * Add second param if in a repeater: $video - videoLink('your_subfield_name', true);
 * @see
 * @param $field
 * @param bool $repeater defaults to false / true if repeater
 * @return mixed  embed HTML
function videoLink($field, $repeater = false) {

  global $post;

  // get current post ID
  $id = $post->ID;

  if(!$repeater) {
    // get the field
    $videoFrame  = get_field( $field, $id );
  } else {
    // if we are in a repeater
    $videoFrame  = get_sub_field( $field, $id );

  // use preg_match to find iframe src
  preg_match('/src="(.+?)"/', $videoFrame, $matches);
  $src = $matches[1];

  // add extra params to iframe src
  $params = array(
    'rel'    => 0

  $new_src = add_query_arg($params, $src);
  $videoLink = str_replace($src, $new_src, $videoFrame);

  return $videoLink;


To use it somewhere just pass it your field name. So, if your ACF field is my_video:

echo videoLink('my_video');

If you’re rolling with a repeater, just set the second parameter to true.

echo videoLink('my_video', true);

GitHub Gist

Read Post