Skip to content

Instantly share code, notes, and snippets.

View extract-jira-issues.sh
#!/usr/bin/env bash
# Usage: ./extract-jira-issues.sh <git revision/tag/branch> <git revision/tag/branch>
START_REV=$1
END_REV=$2
JIRA_STATUSES="Done,\"Ready for QA\""
JIRA_URL="https://my-jira-url.atlassian.net"
ISSUES=$(
View keybase.md

Keybase proof

I hereby claim:

  • I am Bazze on github.
  • I am bazze (https://keybase.io/bazze) on keybase.
  • I have a public key whose fingerprint is 2FF3 D3EA FA72 BD91 6F06 4FBE 3C18 DCF8 E7AD EAD0

To claim this, I am signing this object:

@Bazze
Bazze / Input.jsx
Last active Jan 25, 2017
I use this class as drop-in replacement for the "Input" class after it got deprecated in react-bootstrap version 0.29.0.
View Input.jsx
import React, { PropTypes } from 'react';
import ReactDOM from 'react-dom';
import { FormGroup, ControlLabel, FormControl, HelpBlock } from 'react-bootstrap';
class Input extends React.Component {
static propTypes = {
children: PropTypes.any,
help: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
id: PropTypes.string,
label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
@Bazze
Bazze / setup.sh
Last active May 18, 2019
Bash script for setting up symlinked git hooks (that works)
View setup.sh
#!/usr/bin/env bash
# 1. Save this script in your repo as "hooks/setup.sh"
# 2. Save your git hooks in "hooks/git/<hook name>"
# 3. Execute this script with bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${DIR}/.."
@Bazze
Bazze / .bash_profile
Last active Jul 26, 2016
.bash_profile
View .bash_profile
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
# Yes, I'm lazy
alias ls='ls -laGFh'
# Always do vagrant up with --provision
vagrant() { if [[ $@ == "up" ]]; then command vagrant up --provision | more; else command vagrant "$@"; fi; }
@Bazze
Bazze / .gitconfig
Last active May 4, 2016
My .gitconfig
View .gitconfig
[color]
ui = auto
[color "branch"]
# good looking colors i copy/pasted from somewhere
current = green bold
local = green
remote = red bold
[color "diff"]
# good looking colors i copy/pasted from somewhere
meta = yellow bold
You can’t perform that action at this time.