I hereby claim:
- I am paulscott on github.
- I am scott_paul (https://keybase.io/scott_paul) on keybase.
- I have a public key ASD35NnHUzlCL2WJLQYfe8pC_ipE_BKiR6fABKJhYExJMQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| if [ "$#" != "1" ]; then | |
| echo "$0 requires a size argument. ex: 100k." | |
| exit 1 | |
| fi | |
| sizeParam="+${1}" | |
| filesOverSize=$( find . -size ${sizeParam} | grep -v /.git | sed 's/^.\///g' ) |
| #!/bin/bash | |
| git for-each-ref refs/heads/ "--format=%(refname:short)" | | |
| while read branch; do | |
| mergeBase=$(git merge-base HEAD "${branch}" ) | |
| tree=$(git rev-parse "${branch}^{tree}") | |
| tempCommit=$(git commit-tree "${tree}" -p "${mergeBase}" -m "_" ) | |
| if [[ $(git cherry HEAD "${tempCommit}") == "-"* ]]; then | |
| echo "git branch -D ${branch}" | |
| fi |
| #!/bin/bash | |
| # A one line description of what the command does | |
| # | |
| # Usage: | |
| # commandName | |
| # what this command does with no arguments | |
| # commandName --argument [--optionalArg=value] | |
| # what this command does with these arguments. one of them is optional. | |
| # |
| #!/bin/bash | |
| color() { | |
| out="" | |
| saved_in="$@" | |
| saved_in=${saved_in[@]//test} # remove the word 'test' | |
| while [ "${1-}" != "" ]; do | |
| PARAM=`echo $1 | awk -F= '{print $1}'` | |
| VALUE=`echo $1 | awk -F= '{print $2}'` |
| #!/bin/bash | |
| # gives a changelog from the most recent tag to the current HEAD, with blank lines removed | |
| currentHead='HEAD' | |
| lastTag=$(git describe --tags --abbrev=0 2>/dev/null) | |
| if [ -z "${lastTag}" ]; then | |
| fromType="initial commit" | |
| lastTag=$(git rev-list HEAD --max-parents=0 | cut -c 1-10) | |
| fi |
Having been encouraged by clients to adopt a written code of conduct, the SQLite developers elected to govern their interactions with each other, with their clients, and with the larger SQLite user community in accordance with the "instruments of good works" from chapter 4 of The Rule of St. Benedict. This code of conduct has proven its mettle in thousands of diverse communities for over 1,500 years, and has served as a baseline for many civil law codes since the time of Charlemagne.
This rule is strict, and none are able to comply perfectly. Grace is readily granted for minor transgressions. All are encouraged to follow this rule closely, as in so doing they may expect to live happier, healthier, and more productive lives. The entire rule is good and wholesome, and yet we make no enforcement of the more introspective aspects.
Everyone is free to use the SQLite source code, object code, and/or documentation regardless of their opinion of and adherence to this rule. SQLite
| #!/bin/bash | |
| argstring=${@} | |
| grep -riI "$argstring" * |
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo 'usage: git contains <commit|object>' | |
| exit 1 | |
| fi | |
| if [ ! $(git rev-parse --is-inside-work-tree 2>/dev/null) ]; then | |
| echo "fatal: Not a git repository" | |
| exit 1 |
| #!/bin/bash | |
| # gives a changelog from the last build branch to the feature branch | |
| currentBranch=$(git rev-parse --abbrev-ref HEAD) | |
| currentBranch=${currentBranch#"build/"} | |
| buildBranch="build/${currentBranch}" | |
| # if no args, $buildBranch..$currentBranch | |
| # if one arg, $1..$currentBranch |