Skip to content
View spmason's full-sized avatar

Block or report spmason

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. GitHub "open PR" script. Add somewhe... GitHub "open PR" script. Add somewhere in your path, then opening a PR is as easy as typing `pr` on the branch you want to open a PR for
    1
    #!/usr/bin/env bash
    2
    
                  
    3
    # GitHub "Open Pull Request" script
    4
    #
    5
    # Add somewhere in your path, then opening a PR is as easy as typing `pr` while you're
  2. Command for working with k8s context... Command for working with k8s contexts without needing to use kubectx or similar
    1
    #!/bin/bash
    2
    set -ue -o pipefail
    3
    
                  
    4
    CLUSTER=$1
    5
    shift
  3. Checkout PRs. I'm not sure where I g... Checkout PRs. I'm not sure where I got this from but I can't take credit for it
    1
    # Checks out a PR to a pr/<number> local branch
    2
    # Usage: git pr <number> [<upstream>]
    3
    git config --global alias.pr '!git fetch -fu ${2:-upstream} refs/pull/$1/head:pr/$1 && git checkout pr/$1 && :'
    4
    
                  
    5
    # Deletes pr/<number> branches
  4. Kubernetes helper scripts Kubernetes helper scripts
    1
    #!/bin/bash
    2
    #
    3
    # A generic command that makes it easy to run k9s against a specific cluster 
    4
    # - without messing around with contexts (like kubectx does), eg:
    5
    #
  5. BrandwatchLtd/kafka-pod-autoscaler BrandwatchLtd/kafka-pod-autoscaler Public

    Java 1 1