This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| _die() { | |
| echo "$*" >&2 | |
| exit 1 | |
| } | |
| bold=$(tput bold) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| VERSION="20170125" | |
| OUTPUT_FILE="./RELEASE_NOTES.md" | |
| usage() { | |
| cat << __EOF | |
| git tagrelease usage: | |
| git tagrelease [options] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # generate an SHA-256 password hash base64 encoded | |
| echo -n "password" | openssl dgst -sha256 -binary | openssl base64 | |
| # better yet, use pepper (suffix the password with the pepper) | |
| echo -n "passwordpepper" | openssl dgst -sha256 -binary | openssl base64 | |
| # better yet, use salt (prefix the password with the salt) | |
| echo -n "saltpassword" | openssl dgst -sha256 -binary | openssl base64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Make sure libxml2-devel, libxslt-devel and libiconv-devel are installed: | |
| $ gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib --with-xslt-dir=/usr/include/libxslt --with-iconv-include=/usr/include --with-iconv-lib=/usr/lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| VERSION="20200421.1" | |
| _usage() { | |
| cat << __EOF | |
| $0 usage: |