TIL

The TIL (Today I Learned) page gathers short tips and pieces of information that I don’t want to loose, but that are not enough to write a dedicated article about. They can be about software engineering and coding, about digital everyday tools, career related… (Thank you to Julia Evans who shared about TILs!)

I created another page to save useful links regarding software development, career, soft skills, wellbeing, online tools… You might also be interested in my Cheat Sheets on GitHub (Docker, Git, Kotlin, Kubernetes, Linux, Postgres…)

Replacing French«» quotation marks by English“” quotation marks on WordPress

In the function.php file, add the following code:

/**
* Write some documentation to remember why you added this ;)
**

function start_modify_html() {
    ob_start();
}

function end_modify_html() {
    $html = ob_get_clean(); 
    $html = str_replace(['«','»'], '"', $html);
    echo $html;
}

add_action( 'wp_head', 'start_modify_html' );
add_action( 'wp_footer', 'end_modify_html' );

Preventing Google search from triggering AI generated answers

Just suffix your search term with “-ai”. One downside is that you can’t use the expression “ai” elsewhere in your search.

Knowing which photos are not in an album in Google Photos

To get a clear view of your “loose” photos in Google Photos, you can Archive the pictures after you added them to an album. That way, they don’t appear anymore on the general page, but are not removed from albums either.

Sharing your “liked songs” Spotify playlist with someone

Cannot be done as is, but you can easily duplicate your Like songs playlist into a custom playlist that is shareable. Both playlists won’t be dynamically linked, so you’ll have to update both playlists over time.

Moving objects freely in Canva

Sometimes items seem to be sticking to an invisible grid when you try to move them. To be able to move them totally freely, hold the Ctrl key while dragging the item.