Skip to content

Instantly share code, notes, and snippets.

@donnyquixotic
donnyquixotic / verifyTag.sh
Last active November 30, 2023 23:57
creates git alias 'vtag' that signs, verifies, and pushes local tag to remote
#!/bin/bash
# description:
# creates git alias 'vtag' that signs, verifies, and pushes local tag to remote
# usage: `git vtag <tag-name> [<target branch>]` e.g. `git vtag v1.2.3`
# params:
# <tag name> name of tag e.g. 'v1.2.3'
# <target branch> optional argument, branch to be tagged e.g. 'feature-branch', default is 'master'
@donnyquixotic
donnyquixotic / gitSweep.sh
Last active December 1, 2023 04:03
creates git alias `sweep` to prune dead local branches
#!/bin/bash
# description:
# creates git alias 'sweep' that prunes all local branches merged
# into master and optionally, via -f flag, branches that have been merged into
# current branch.
# usage: `git sweep [-f]`
# create alias:

Keybase proof

I hereby claim:

  • I am donnyquixotic on github.
  • I am donp (https://keybase.io/donp) on keybase.
  • I have a public key ASBwjS0ukZP-pEXfKrXTywUp2JB1NjzY6x7dIzyWR38l4Qo

To claim this, I am signing this object:

vagrantfile:
target: local
vm:
provider:
local:
box: puphpet/ubuntu1604-x64
box_url: 'false'
box_version: '0'
chosen_virtualizer: virtualbox
virtualizers:
# -*- mode: ruby -*-
vagrant_home = (ENV['VAGRANT_HOME'].to_s.split.join.length > 0) ?
ENV['VAGRANT_HOME'] :
"#{ENV['HOME']}/.vagrant.d"
vagrant_dot = (ENV['VAGRANT_DOTFILE_PATH'].to_s.split.join.length > 0) ?
ENV['VAGRANT_DOTFILE_PATH'] :
"#{dir}/.vagrant"
provider = data['vm']['provider']['local']