Generate Github release link

A bash script to easily generate a link for Github to create a new release with a new tag on the main branch.

Read More

Generate github compare link

A bash script to easily generate a compare link for Github between current and previous branch

Read More

Hide default address book in Thunderbird

If you’re using an external address book in Thunderbird, all contact actions are still done on the default build-in address book, and there’s no option to mark another address book as being the default one.

Read More

Reset file permissions

From time to time (for instance when using docker) your file permissions might be changed, but you don’t want to commit those changes to your repository.

Read More

Ubuntu 17 hibernate

By default Ubuntu 17.10 has hibernate disabled since most of the time it does not really work.

I followed the instructions at How to enable hibernate and it works for me

Read More

Styling radio buttons

Styling radio button labels based on the state and disabled without the need for class name or id.

Read More

Export base field and instance for use in Drupal 7 install

The following snippet used inside devel/php to export field base and instance settings.

It exports the base field definition, adds a wrapper to make sure the field does not yet exist.

It also exports the field instance settings, even allowing to select extra bundles to add the field to.

Read More

Add toggle for Drupal exposed views filters

The following snippet can be added into your theme javascript file and it will add a toggle option around views exposed filters,
so you save some screen estate.

Read More