My desk

A Day in the life of a Happiness Engineer

All the cool kids are doing it, so I guess I should too! These past few days, a few Happiness Engineers have been writing about what we do on a daily basis at Automattic. If you’re interested in reading more you can follow the tag #a8cday.

Although I don’t really have a typical day, here is a small preview of what I do at work.

Continue reading

Semicolon Theme

Semicolon: use Jetpack’s Custom CSS libs in your theme

Yet another good example of how to use libraries bundled with Jetpack on your site!

My colleague Konstantin Kovshenin recently released the Semicolon theme. It uses the libraries used in Jetpack’s Custom CSS module to compile its stylesheet (yay Sass!), and to correct the contrast of the colors you’ve picked in the theme options. So if you pick bad contrasting colors, Semicolon will lighten or darken them until a contrast ratio threshold is reached. This guarantees a certain level of readability.

You can read more about it in Konstantin’s post: Color Options vs. Decisions in WordPress Themes.

Jetpack Logo

Color Posts plugin: how to use Jetpack libs in your own plugin

I’ve talked about customizing Jetpack in the past, and I also mentioned how you can integrate Jetpack features in your theme.

How about including these features in a plugin? As a proof of concept I just released Color Posts, a plugin that uses 2 very useful classes that are bundled with Jetpack.

Continue reading

Cinema: Interstellar

Interstellar is scheduled to be released on November 7 of this year, and looks very promising. Directed by Christopher Nolan (Inception, the last Batman trilogy), starring Michael Caine, and Matthew McConaughey as an engineer sent to space to find us a new home: need I say more?

I really like Matthew McConaughey: I discovered him in The Lincoln Lawyer, and I saw him again in True Detective earlier this year. His accent and his rough looks make him a good fit for such roles, and if the movie is as good as the trailer, he’ll be great in Interstellar too!

If you need to see more, here is the first teaser trailer that was released a couple of months ago.

 

Reallife Comics, July 15, 2014)

Ingress comes to iOS: double or nothing?

I started playing Ingress a few months ago, and from the start I heard rumours about Ingress coming to iOS “soon”. When Niantic Labs (the startup behind Ingress) announced that they had submitted the app to the App Store, no one held their breath.

It was confirmed a few days later: Ingress became available on iOS on July 14, and Niantic made a big change in the gameplay to level the playing field and make it easier for new iOS players to join a game already populated with high level players.

Continue reading

On Repeat Today: Sad Robot, Pornophonique

Boulet is probably my favourite cartoonist today. He’s talented, and he’s great at drawing our daily routines. Watching him draw is amazing, and if you’re not much into watching people draw you can watch the results on his blog.

Today I’m listening to the music he used for one of his drawings, FormicaPunk.

Sad Robot, by Pornophonique. Enjoy!

And if you like his style, here is a small selection:

Caps Lock

Jetpack: change og:title value to be all uppercase

Caps Lock

Some blog owners would like their post titles to be displayed in all caps, to attract more clicks on Facebook. Here is how to change Jetpack’s Open Graph meta tags to use an uppercase og:title tag:

/*
 * Plugin Name: Uppercase og:title for Jetpack 
 * Plugin URI: http://wordpress.org/extend/plugins/jetpack/
 * Description: Removes Jetpack's default og:title tag, and replaces it with an uppercase og:title 
 * Author: Jeremy Herve
 * Version: 1.0
 * Author URI: http://jeremy.hu
 * License: GPL2+
 */
function jeherve_capital_title_og( $tags ) {
        global $post;
 
        if ( is_singular() && $post ) {
                unset( $tags['og:title'] );
 
                $tags['og:title'] = strtoupper( get_the_title( $post->ID ) );
        }
        return $tags;
}
add_filter( 'jetpack_open_graph_tags', 'jeherve_capital_title_og' );

To be pasted in your theme’s functions.php file, or in a functionality plugin.