• Development

    Sort “Select an existing field” options in Drupal by Label instead of Type

    Normally Drupal sorts the “Select an existing field” select list by the field types. Here’s an example of what this looks like:

    2016-04-22_11-40-52

    This looks good at first glance, but often it’s hard to quickly find the field you want to reuse. Most of the time you’re scanning the list for the name (label) of the field you want to reuse. Wouldn’t it make more sense to put the field label at the beginning and sort by that? I thought it would, so I made it happen with a quick userscript.

  • Development

    Paramiko error: Use module Crypto.Signature.pkcs1_15 instead

    Recently I started getting the following error in a script that never had any problems in the past:

    There wasn’t much information related to this error in regards to Paramiko.

    Eventually I was able to “fix” it by running: