Skip to content

Instantly share code, notes, and snippets.

@mattc321
mattc321 / .bash_profile
Created October 8, 2019 17:21
Git Branch Cleaning House Function. Iterate through local brances and prompt for delete
function cb() {
git branch | grep -v "master\|staging" > ~/branches
GB=$'\e[32m'
RB=$'\e[31m'
E=$'\e[0m'
while read p
do
read -p "Delete branch ${GB}$p${E}? (y|N):" input < /dev/tty
if [ -z "$input" ] ; then
echo "..Skipping $p"

Keybase proof

I hereby claim:

  • I am mattc321 on github.
  • I am mattc321 (https://keybase.io/mattc321) on keybase.
  • I have a public key ASCcgIbaPQaMwk_aQieBc6MvxJLecgYmvKZTVAw2APkqCwo

To claim this, I am signing this object:

<?php
namespace Drupal\afc_commerce\EventSubscriber;
use Drupal\state_machine\Event\WorkflowTransitionEvent;
use Drupal\Core\Language\LanguageManagerInterface;
use Drupal\Core\Mail\MailManagerInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
Sub cashAPP()
Dim barFile As Variant, paymentFile As Variant, barBook As Workbook, paymentBook As Workbook, payments As Worksheet, billing As Worksheet
Dim x As Integer, y As Integer, outputCounter As String, m As String, cashAPP As Workbook
Set cashAPP = ActiveWorkbook
'User sets billing file
barFile = Application.GetOpenFilename(FileFilter:="Excel Files (*.xls; *.xlsx), *.xls;*.xlsx", Title:="SELECT BILLING FILE")
Set barBook = Workbooks.Open(barFile)