-
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:
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.
-
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:
1NotImplementedError: Use module Crypto.Signature.pkcs1_15 insteadThere wasn’t much information related to this error in regards to Paramiko.
Eventually I was able to “fix” it by running:
123sudo -H pip uninstall paramikosudo -H pip uninstall pycryptosudo -H pip install paramiko