Check your Git config settings to ensure you have the right name/email for your committing process.
git config --get-regexp user
<?php | |
/** | |
* Convert d7 media to Backdrop media | |
* | |
* bee php-script convert-d7media2backdrop.php | |
* | |
* @todo add batching. | |
*/ |
<?php | |
/** | |
* Convert Field Collection to Paragraphs | |
* | |
* bee php-script convert-fc2p.php | |
* | |
* @todo add batching. | |
* | |
* - Both field_collection and paragraphs need to be enabled. |
# Opinionated Lando + Backdrop + XDebug sandbox configuration file. | |
name: sandbox | |
# Use existing Backdrop recipe, then customise below. | |
recipe: backdrop | |
config: | |
# Where Backdrop resides, relative to this file. | |
webroot: web | |
# Prefer MariaDB over MySQL. |
/********************************************************************************* | |
* Setting a global default size and color in Drupal Commerce product displays. | |
* | |
* Include this in your custom module (renaming the function appropriately), | |
* it is not a full custom module on its own. | |
*********************************************************************************/ | |
function MYMODULE_commerce_product_reference_default_delta_alter(&$delta, $products) { | |
$firstproduct = reset($products); | |
// Replace SmartObject’s Content and Save as JPG | |
// 2017, use it at your own risk | |
// Via @Circle B: https://graphicdesign.stackexchange.com/questions/92796/replacing-a-smart-object-in-bulk-with-photoshops-variable-data-or-scripts/93359 | |
// JPG code from here: https://forums.adobe.com/thread/737789 | |
#target photoshop | |
if (app.documents.length > 0) { | |
var myDocument = app.activeDocument; | |
var theName = myDocument.name.match(/(.*)\.[^\.]+$/)[1]; | |
var thePath = myDocument.path; |