I hereby claim:
- I am charrisbc on github.
- I am charris000 (https://keybase.io/charris000) on keybase.
- I have a public key whose fingerprint is C9D8 AD90 C4D8 E781 DBC6 20D0 93EB A4BD 77EE 3D92
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #/usr/local/bin/zsh | |
| # Credit to http://snippets.freerobby.com/post/491644841/remove-merged-branches-in-git for the script on which this is based | |
| current_branch=$(git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') | |
| if [ "$current_branch" != "master" ]; then | |
| echo "WARNING: You are on branch $current_branch, NOT master." | |
| fi | |
| echo "Fetching merged branches..." | |
| git remote prune origin | |
| local_branches=$(git branch --merged | grep -v 'master$' | grep -v "$current_branch$") |
| module InteractorVisitor | |
| extend ActiveSupport::Concern | |
| included do | |
| around do |interactor| | |
| binding.pry | |
| '' | |
| interactor.call | |
| binding.pry | |
| '' |
| module OrganizerVisitor | |
| extend ActiveSupport::Concern | |
| included do | |
| def call | |
| self.class.organized.each do |interactor| | |
| binding.pry | |
| '' | |
| interactor.call!(context) | |
| binding.pry |
| javascript:(function(){var e=document.getElementsByName("pull_request[body]")[0];if(e){if(e.value!==""){e.value+="\n\n"}var t=document.getElementById("pull_request_title");if(t){var n=t.value.split(":")[0]}if(n){e.value+="Jira: ["+n+"](https://jira.bigcommerce.com/browse/"+n+")\n\n"}e.value+="## What? Why?\n\n\n## Additional Deploy Steps?\nNone\n\n\n## How was it tested?\n\n\n"}})() |
| function gen_self_signed_cert() { | |
| passkeyfile=$(mktemp /tmp/pass.XXXXXXXXX) | |
| keyfile=$(mktemp /tmp/key.XXXXXXXXX) | |
| csrfile=$(mktemp /tmp/csr.XXXXXXXXX) | |
| crtfile=$(mktemp /tmp/crt.XXXXXXXXX) | |
| openssl genrsa -des3 -passout pass:x -out $passkeyfile 2048 | |
| openssl rsa -passin pass:x -in $passkeyfile -out $keyfile | |
| openssl req -new -key $keyfile -out $csrfile | |
| openssl x509 -req -days 365 -in $csrfile -signkey $keyfile -out $crtfile |