Skip to content

Instantly share code, notes, and snippets.

View doostinharrell's full-sized avatar

Dustin Harrell doostinharrell

View GitHub Profile
@doostinharrell
doostinharrell / drupal-commerce-clean.php
Created February 9, 2017 21:55
Clean out a Drupal Commerce installation
<?php
// Deletes all user, term, node, and commerce data to clean out a website.
$entity_types = array(
'user' => array(
'entity_type' => 'user',
'id_field' => 'uid',
),
'taxonomy_term' => array(

Keybase proof

I hereby claim:

  • I am doostinharrell on github.
  • I am doostinharrell (https://keybase.io/doostinharrell) on keybase.
  • I have a public key ASD4R1d5CCiXHiVZDP21rtPRxYC7T-QRdjjXSVIyvMHLaQo

To claim this, I am signing this object:

@doostinharrell
doostinharrell / .bash_profile
Created February 27, 2019 16:10
AshevilleWebsiteHosting.net Bash Profile
// Create Aliases for Composer Dependencies
PATH=$PATH:$HOME/bin:$HOME/vendor/bin
export PATH
@doostinharrell
doostinharrell / wp-config.php
Created March 20, 2019 19:20
lando wp-config.php
<?php
/**
* Local configuration information.
*
* If you are working in a local/desktop development environment and want to
* keep your config separate, we recommend using a 'wp-config-local.php' file,
* which you should also make sure you .gitignore.
*/
if (file_exists(dirname(__FILE__) . '/wp-config-local.php')) {